@everymatrix/cashier-header 1.77.4 → 1.77.6

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.
@@ -3842,7 +3842,7 @@ function bi(e, t, r) {
3842
3842
  }
3843
3843
  }
3844
3844
  function gi(e) {
3845
- tr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3845
+ tr(e, "svelte-brbf89", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}");
3846
3846
  }
3847
3847
  const _i = (e) => ({}), mt = (e) => ({}), yi = (e) => ({}), pt = (e) => ({}), Ei = (e) => ({}), dt = (e) => ({});
3848
3848
  function bt(e) {
@@ -3879,7 +3879,7 @@ function Si(e, t, r) {
3879
3879
  }
3880
3880
  }
3881
3881
  function Ai(e) {
3882
- cr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3882
+ cr(e, "svelte-brbf89", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}");
3883
3883
  }
3884
3884
  const Oi = (e) => ({}), yt = (e) => ({}), Pi = (e) => ({}), Et = (e) => ({}), Ci = (e) => ({}), xt = (e) => ({});
3885
3885
  function vt(e) {
@@ -2,4 +2,4 @@
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,V.MISSING_INTL_API,a);var I=r.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));H=h.options[I]||h.options.other}if(!H)throw new ft(h.value,m,Object.keys(h.options),a);o.push.apply(o,le(H.value,t,r,n,i,m-(h.offset||0)));continue}}return Rn(o)}function Dn(e,t){return t?S(S(S({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=S(S({},e[n]),t[n]||{}),r},{})):e}function Gn(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Dn(e[n],t[n]),r},S({},e)):e}function Le(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Fn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Oe(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ae([void 0],r,!1)))},{cache:Le(e.number),strategy:Pe.variadic}),getDateTimeFormat:Oe(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ae([void 0],r,!1)))},{cache:Le(e.dateTime),strategy:Pe.variadic}),getPluralRules:Oe(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ae([void 0],r,!1)))},{cache:Le(e.pluralRules),strategy:Pe.variadic})}}var Zt=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(c,m){return!c.length||m.type!==x.literal||typeof c[c.length-1]!="string"?c.push(m.value):c[c.length-1]+=m.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return le(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.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 a=i||{};a.formatters;var o=Jr(a,["formatters"]);this.ast=e.__parse(t,S(S({},o),{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=Gn(e.formats,n),this.formatters=i&&i.formatters||Fn(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=In,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 jn(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 s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const C={},kn=(e,t,r)=>r&&(t in C||(C[t]={}),e in C[t]||(C[t][e]=r),r),Qt=(e,t)=>{if(t==null)return;if(t in C&&e in C[t])return C[t][e];const r=ie(t);for(let n=0;n<r.length;n++){const i=r[n],s=Xn(i,e);if(s)return kn(e,t,s)}};let ze;const ne=ge({});function Vn(e){return ze[e]||null}function Jt(e){return e in ze}function Xn(e,t){if(!Jt(e))return null;const r=Vn(e);return jn(r,t)}function Wn(e){if(e==null)return;const t=ie(e);for(let r=0;r<t.length;r++){const n=t[r];if(Jt(n))return n}}function qt(e,...t){delete C[e],ne.update(r=>(r[e]=Qr.all([r[e]||{},...t]),r))}z([ne],([e])=>Object.keys(e));ne.subscribe(e=>ze=e);const fe={};function zn(e,t){fe[e].delete(t),fe[e].size===0&&delete fe[e]}function Yt(e){return fe[e]}function Zn(e){return ie(e).map(t=>{const r=Yt(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function pe(e){return e==null?!1:ie(e).some(t=>{var r;return(r=Yt(t))==null?void 0:r.size})}function Qn(e,t){return Promise.all(t.map(n=>(zn(e,n),n().then(i=>i.default||i)))).then(n=>qt(e,...n))}const Q={};function Kt(e){if(!pe(e))return e in Q?Q[e]:Promise.resolve();const t=Zn(e);return Q[e]=Promise.all(t.map(([r,n])=>Qn(r,n))).then(()=>{if(pe(e))return Kt(e);delete Q[e]}),Q[e]}var ct=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,Yn=(e,t)=>{var r={};for(var n in e)Jn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ct)for(var n of ct(e))t.indexOf(n)<0&&qn.call(e,n)&&(r[n]=e[n]);return r};const Kn={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 ei({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${ie(e).join('", "')}".${pe(N())?`
4
4
 
5
- Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ti={fallbackLocale:null,loadingDelay:200,formats:Kn,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},J=ti;function X(){return J}function ri(e){const t=e,{formats:r}=t,n=Yn(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Zt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){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=ei:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(J,n,{initialLocale:i}),r&&("number"in r&&Object.assign(J.formats.number,r.number),"date"in r&&Object.assign(J.formats.date,r.date),"time"in r&&Object.assign(J.formats.time,r.time)),$.set(i)}const Ne=ge(!1);var ni=Object.defineProperty,ii=Object.defineProperties,si=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable,pt=(e,t,r)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ui=(e,t)=>{for(var r in t||(t={}))oi.call(t,r)&&pt(e,r,t[r]);if(mt)for(var r of mt(t))ai.call(t,r)&&pt(e,r,t[r]);return e},hi=(e,t)=>ii(e,si(t));let Ve;const de=ge(null);function dt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ie(e,t=X().fallbackLocale){const r=dt(e);return t?[...new Set([...r,...dt(t)])]:r}function N(){return Ve!=null?Ve:void 0}de.subscribe(e=>{Ve=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const li=e=>{if(e&&Wn(e)&&pe(e)){const{loadingDelay:t}=X();let r;return typeof window!="undefined"&&N()!=null&&t?r=window.setTimeout(()=>Ne.set(!0),t):Ne.set(!0),Kt(e).then(()=>{de.set(e)}).finally(()=>{clearTimeout(r),Ne.set(!1)})}return de.set(e)},$=hi(ui({},de),{set:li}),Ee=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var fi=Object.defineProperty,be=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,bt=(e,t,r)=>t in e?fi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ze=(e,t)=>{for(var r in t||(t={}))er.call(t,r)&&bt(e,r,t[r]);if(be)for(var r of be(t))tr.call(t,r)&&bt(e,r,t[r]);return e},Z=(e,t)=>{var r={};for(var n in e)er.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&be)for(var n of be(e))t.indexOf(n)<0&&tr.call(e,n)&&(r[n]=e[n]);return r};const ee=(e,t)=>{const{formats:r}=X();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ci=Ee(e=>{var t=e,{locale:r,format:n}=t,i=Z(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ee("number",n)),new Intl.NumberFormat(r,i)}),mi=Ee(e=>{var t=e,{locale:r,format:n}=t,i=Z(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ee("date",n):Object.keys(i).length===0&&(i=ee("date","short")),new Intl.DateTimeFormat(r,i)}),pi=Ee(e=>{var t=e,{locale:r,format:n}=t,i=Z(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ee("time",n):Object.keys(i).length===0&&(i=ee("time","short")),new Intl.DateTimeFormat(r,i)}),di=(e={})=>{var t=e,{locale:r=N()}=t,n=Z(t,["locale"]);return ci(Ze({locale:r},n))},bi=(e={})=>{var t=e,{locale:r=N()}=t,n=Z(t,["locale"]);return mi(Ze({locale:r},n))},gi=(e={})=>{var t=e,{locale:r=N()}=t,n=Z(t,["locale"]);return pi(Ze({locale:r},n))},_i=Ee((e,t=N())=>new Zt(e,t,X().formats,{ignoreTag:X().ignoreTag})),yi=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=N(),default:u}=a;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=(s=(i=(n=(r=X()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s: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(!o)return h;let c=h;try{c=_i(h,l).format(o)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return c},Ei=(e,t)=>gi(t).format(e),xi=(e,t)=>bi(t).format(e),vi=(e,t)=>di(t).format(e),Hi=(e,t=N())=>Qt(e,t),Bi=z([$,ne],()=>yi);z([$],()=>Ei);z([$],()=>xi);z([$],()=>vi);z([$,ne],()=>Hi);function gt(e,t){qt(e,t)}function Ti(e){ri({fallbackLocale:"en"}),$.set(e)}const _t={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function wi(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Si(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ai(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function Oi(e){mr(e,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}const Pi=e=>({}),yt=e=>({}),Ci=e=>({}),Et=e=>({}),Li=e=>({}),xt=e=>({});function vt(e){let t,r,n;return{c(){t=W("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',re(t,"class","CashierHeaderLeftButton")},m(i,s){M(i,t,s),r||(n=Ot(t,"click",e[6]),r=!0)},p:T,d(i){i&&L(t),r=!1,n()}}}function Ni(e){let t,r=e[1]&&vt(e);return{c(){r&&r.c(),t=At()},m(n,i){r&&r.m(n,i),M(n,t,i)},p(n,i){n[1]?r?r.p(n,i):(r=vt(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&L(t),r&&r.d(n)}}}function Ii(e){let t,r=e[4](e[2])+"",n;return{c(){t=W("span"),n=We(r),re(t,"class","CashierHeaderTitle")},m(i,s){M(i,t,s),ce(t,n)},p(i,s){s&20&&r!==(r=i[4](i[2])+"")&&gr(n,r)},d(i){i&&L(t)}}}function Ht(e){let t,r,n;return{c(){t=W("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',re(t,"class","CashierHeaderRightButton")},m(i,s){M(i,t,s),r||(n=Ot(t,"click",e[5]),r=!0)},p:T,d(i){i&&L(t),r=!1,n()}}}function Mi(e){let t,r=e[3]&&Ht(e);return{c(){r&&r.c(),t=At()},m(n,i){r&&r.m(n,i),M(n,t,i)},p(n,i){n[3]?r?r.p(n,i):(r=Ht(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&L(t),r&&r.d(n)}}}function $i(e){let t,r,n,i;const s=e[16].leftButton,a=ve(s,e,e[15],xt),o=a||Ni(e),l=e[16].title,u=ve(l,e,e[15],Et),h=u||Ii(e),c=e[16].rightButton,m=ve(c,e,e[15],yt),p=m||Mi(e);return{c(){t=W("div"),o&&o.c(),r=tt(),h&&h.c(),n=tt(),p&&p.c(),re(t,"class","CashierHeader")},m(f,_){M(f,t,_),o&&o.m(t,null),ce(t,r),h&&h.m(t,null),ce(t,n),p&&p.m(t,null),e[17](t),i=!0},p(f,[_]){a?a.p&&(!i||_&32768)&&Be(a,s,f,f[15],i?He(s,f[15],_,Li):Te(f[15]),xt):o&&o.p&&(!i||_&2)&&o.p(f,i?_:-1),u?u.p&&(!i||_&32768)&&Be(u,l,f,f[15],i?He(l,f[15],_,Ci):Te(f[15]),Et):h&&h.p&&(!i||_&20)&&h.p(f,i?_:-1),m?m.p&&(!i||_&32768)&&Be(m,c,f,f[15],i?He(c,f[15],_,Pi):Te(f[15]),yt):p&&p.p&&(!i||_&8)&&p.p(f,i?_:-1)},i(f){i||(ue(o,f),ue(h,f),ue(p,f),i=!0)},o(f){Se(o,f),Se(h,f),Se(p,f),i=!1},d(f){f&&L(t),o&&o.d(f),h&&h.d(f),p&&p.d(f),e[17](null)}}}function Ri(e,t,r){let n;cr(e,Bi,g=>r(4,n=g));let{$$slots:i={},$$scope:s}=t,{clientstyling:a=""}=t,{clientstylingurl:o=""}=t,{translationurl:l=""}=t,{showbackbutton:u=""}=t,{title:h="header.general"}=t,{lang:c="en"}=t,{showclosebutton:m=""}=t,{mbsource:p=""}=t,f,_=!1,v,O=!1;const P=()=>{fetch(l).then(g=>g.json()).then(g=>{Object.keys(g).forEach(Qe=>{gt(Qe,g[Qe])})}).catch(g=>{console.log(g)})};Object.keys(_t).forEach(g=>{gt(g,_t[g])});const H=()=>{Ti(c)},I=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},A=()=>{window.postMessage({type:"BackCashier"},window.location.href)},R=()=>{r(1,_=!!u&&u!=="false")},se=()=>{r(3,O=!!m&&m!=="false")},nr=()=>{r(2,v=h||"header.general")};Er(()=>()=>{});function ir(g){Ie[g?"unshift":"push"](()=>{f=g,r(0,f)})}return e.$$set=g=>{"clientstyling"in g&&r(7,a=g.clientstyling),"clientstylingurl"in g&&r(8,o=g.clientstylingurl),"translationurl"in g&&r(9,l=g.translationurl),"showbackbutton"in g&&r(10,u=g.showbackbutton),"title"in g&&r(11,h=g.title),"lang"in g&&r(12,c=g.lang),"showclosebutton"in g&&r(13,m=g.showclosebutton),"mbsource"in g&&r(14,p=g.mbsource),"$$scope"in g&&r(15,s=g.$$scope)},e.$$.update=()=>{e.$$.dirty&4096&&c&&H(),e.$$.dirty&6144&&c&&h&&nr(),e.$$.dirty&129&&a&&f&&wi(f,a),e.$$.dirty&257&&o&&f&&Si(f,o),e.$$.dirty&16385&&p&&f&&Ai(f,`${p}.Style`),e.$$.dirty&4608&&c&&l&&P(),e.$$.dirty&1024&&u&&R(),e.$$.dirty&8192&&m&&se()},[f,_,v,O,n,I,A,a,o,l,u,h,c,m,p,s,i,ir]}class rr extends Cr{constructor(t){super(),Or(this,t,Ri,$i,Tt,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},Oi)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),w()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),w()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),w()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),w()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),w()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),w()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),w()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),w()}}Pr(rr,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=rr;
5
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ti={fallbackLocale:null,loadingDelay:200,formats:Kn,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},J=ti;function X(){return J}function ri(e){const t=e,{formats:r}=t,n=Yn(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{Zt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){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=ei:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(J,n,{initialLocale:i}),r&&("number"in r&&Object.assign(J.formats.number,r.number),"date"in r&&Object.assign(J.formats.date,r.date),"time"in r&&Object.assign(J.formats.time,r.time)),$.set(i)}const Ne=ge(!1);var ni=Object.defineProperty,ii=Object.defineProperties,si=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable,pt=(e,t,r)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ui=(e,t)=>{for(var r in t||(t={}))oi.call(t,r)&&pt(e,r,t[r]);if(mt)for(var r of mt(t))ai.call(t,r)&&pt(e,r,t[r]);return e},hi=(e,t)=>ii(e,si(t));let Ve;const de=ge(null);function dt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ie(e,t=X().fallbackLocale){const r=dt(e);return t?[...new Set([...r,...dt(t)])]:r}function N(){return Ve!=null?Ve:void 0}de.subscribe(e=>{Ve=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const li=e=>{if(e&&Wn(e)&&pe(e)){const{loadingDelay:t}=X();let r;return typeof window!="undefined"&&N()!=null&&t?r=window.setTimeout(()=>Ne.set(!0),t):Ne.set(!0),Kt(e).then(()=>{de.set(e)}).finally(()=>{clearTimeout(r),Ne.set(!1)})}return de.set(e)},$=hi(ui({},de),{set:li}),Ee=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var fi=Object.defineProperty,be=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,bt=(e,t,r)=>t in e?fi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ze=(e,t)=>{for(var r in t||(t={}))er.call(t,r)&&bt(e,r,t[r]);if(be)for(var r of be(t))tr.call(t,r)&&bt(e,r,t[r]);return e},Z=(e,t)=>{var r={};for(var n in e)er.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&be)for(var n of be(e))t.indexOf(n)<0&&tr.call(e,n)&&(r[n]=e[n]);return r};const ee=(e,t)=>{const{formats:r}=X();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ci=Ee(e=>{var t=e,{locale:r,format:n}=t,i=Z(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ee("number",n)),new Intl.NumberFormat(r,i)}),mi=Ee(e=>{var t=e,{locale:r,format:n}=t,i=Z(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ee("date",n):Object.keys(i).length===0&&(i=ee("date","short")),new Intl.DateTimeFormat(r,i)}),pi=Ee(e=>{var t=e,{locale:r,format:n}=t,i=Z(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ee("time",n):Object.keys(i).length===0&&(i=ee("time","short")),new Intl.DateTimeFormat(r,i)}),di=(e={})=>{var t=e,{locale:r=N()}=t,n=Z(t,["locale"]);return ci(Ze({locale:r},n))},bi=(e={})=>{var t=e,{locale:r=N()}=t,n=Z(t,["locale"]);return mi(Ze({locale:r},n))},gi=(e={})=>{var t=e,{locale:r=N()}=t,n=Z(t,["locale"]);return pi(Ze({locale:r},n))},_i=Ee((e,t=N())=>new Zt(e,t,X().formats,{ignoreTag:X().ignoreTag})),yi=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=N(),default:u}=a;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=(s=(i=(n=(r=X()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s: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(!o)return h;let c=h;try{c=_i(h,l).format(o)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return c},Ei=(e,t)=>gi(t).format(e),xi=(e,t)=>bi(t).format(e),vi=(e,t)=>di(t).format(e),Hi=(e,t=N())=>Qt(e,t),Bi=z([$,ne],()=>yi);z([$],()=>Ei);z([$],()=>xi);z([$],()=>vi);z([$,ne],()=>Hi);function gt(e,t){qt(e,t)}function Ti(e){ri({fallbackLocale:"en"}),$.set(e)}const _t={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function wi(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Si(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ai(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function Oi(e){mr(e,"svelte-brbf89",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;stroke:var(--emw--color-primary, #3854FF)}")}const Pi=e=>({}),yt=e=>({}),Ci=e=>({}),Et=e=>({}),Li=e=>({}),xt=e=>({});function vt(e){let t,r,n;return{c(){t=W("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',re(t,"class","CashierHeaderLeftButton")},m(i,s){M(i,t,s),r||(n=Ot(t,"click",e[6]),r=!0)},p:T,d(i){i&&L(t),r=!1,n()}}}function Ni(e){let t,r=e[1]&&vt(e);return{c(){r&&r.c(),t=At()},m(n,i){r&&r.m(n,i),M(n,t,i)},p(n,i){n[1]?r?r.p(n,i):(r=vt(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&L(t),r&&r.d(n)}}}function Ii(e){let t,r=e[4](e[2])+"",n;return{c(){t=W("span"),n=We(r),re(t,"class","CashierHeaderTitle")},m(i,s){M(i,t,s),ce(t,n)},p(i,s){s&20&&r!==(r=i[4](i[2])+"")&&gr(n,r)},d(i){i&&L(t)}}}function Ht(e){let t,r,n;return{c(){t=W("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',re(t,"class","CashierHeaderRightButton")},m(i,s){M(i,t,s),r||(n=Ot(t,"click",e[5]),r=!0)},p:T,d(i){i&&L(t),r=!1,n()}}}function Mi(e){let t,r=e[3]&&Ht(e);return{c(){r&&r.c(),t=At()},m(n,i){r&&r.m(n,i),M(n,t,i)},p(n,i){n[3]?r?r.p(n,i):(r=Ht(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&L(t),r&&r.d(n)}}}function $i(e){let t,r,n,i;const s=e[16].leftButton,a=ve(s,e,e[15],xt),o=a||Ni(e),l=e[16].title,u=ve(l,e,e[15],Et),h=u||Ii(e),c=e[16].rightButton,m=ve(c,e,e[15],yt),p=m||Mi(e);return{c(){t=W("div"),o&&o.c(),r=tt(),h&&h.c(),n=tt(),p&&p.c(),re(t,"class","CashierHeader")},m(f,_){M(f,t,_),o&&o.m(t,null),ce(t,r),h&&h.m(t,null),ce(t,n),p&&p.m(t,null),e[17](t),i=!0},p(f,[_]){a?a.p&&(!i||_&32768)&&Be(a,s,f,f[15],i?He(s,f[15],_,Li):Te(f[15]),xt):o&&o.p&&(!i||_&2)&&o.p(f,i?_:-1),u?u.p&&(!i||_&32768)&&Be(u,l,f,f[15],i?He(l,f[15],_,Ci):Te(f[15]),Et):h&&h.p&&(!i||_&20)&&h.p(f,i?_:-1),m?m.p&&(!i||_&32768)&&Be(m,c,f,f[15],i?He(c,f[15],_,Pi):Te(f[15]),yt):p&&p.p&&(!i||_&8)&&p.p(f,i?_:-1)},i(f){i||(ue(o,f),ue(h,f),ue(p,f),i=!0)},o(f){Se(o,f),Se(h,f),Se(p,f),i=!1},d(f){f&&L(t),o&&o.d(f),h&&h.d(f),p&&p.d(f),e[17](null)}}}function Ri(e,t,r){let n;cr(e,Bi,g=>r(4,n=g));let{$$slots:i={},$$scope:s}=t,{clientstyling:a=""}=t,{clientstylingurl:o=""}=t,{translationurl:l=""}=t,{showbackbutton:u=""}=t,{title:h="header.general"}=t,{lang:c="en"}=t,{showclosebutton:m=""}=t,{mbsource:p=""}=t,f,_=!1,v,O=!1;const P=()=>{fetch(l).then(g=>g.json()).then(g=>{Object.keys(g).forEach(Qe=>{gt(Qe,g[Qe])})}).catch(g=>{console.log(g)})};Object.keys(_t).forEach(g=>{gt(g,_t[g])});const H=()=>{Ti(c)},I=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},A=()=>{window.postMessage({type:"BackCashier"},window.location.href)},R=()=>{r(1,_=!!u&&u!=="false")},se=()=>{r(3,O=!!m&&m!=="false")},nr=()=>{r(2,v=h||"header.general")};Er(()=>()=>{});function ir(g){Ie[g?"unshift":"push"](()=>{f=g,r(0,f)})}return e.$$set=g=>{"clientstyling"in g&&r(7,a=g.clientstyling),"clientstylingurl"in g&&r(8,o=g.clientstylingurl),"translationurl"in g&&r(9,l=g.translationurl),"showbackbutton"in g&&r(10,u=g.showbackbutton),"title"in g&&r(11,h=g.title),"lang"in g&&r(12,c=g.lang),"showclosebutton"in g&&r(13,m=g.showclosebutton),"mbsource"in g&&r(14,p=g.mbsource),"$$scope"in g&&r(15,s=g.$$scope)},e.$$.update=()=>{e.$$.dirty&4096&&c&&H(),e.$$.dirty&6144&&c&&h&&nr(),e.$$.dirty&129&&a&&f&&wi(f,a),e.$$.dirty&257&&o&&f&&Si(f,o),e.$$.dirty&16385&&p&&f&&Ai(f,`${p}.Style`),e.$$.dirty&4608&&c&&l&&P(),e.$$.dirty&1024&&u&&R(),e.$$.dirty&8192&&m&&se()},[f,_,v,O,n,I,A,a,o,l,u,h,c,m,p,s,i,ir]}class rr extends Cr{constructor(t){super(),Or(this,t,Ri,$i,Tt,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},Oi)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),w()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),w()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),w()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),w()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),w()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),w()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),w()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),w()}}Pr(rr,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=rr;
@@ -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/CashierHeader-BtBIN1GD.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",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/CashierHeader-hToGmWhi.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierHeader-sXl0iK6D.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierHeader-DT75qMz_.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-header") && customElements.define("cashier-header", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierHeader-HTo_eoDZ.js";
1
+ import { C as n } from "../components/CashierHeader-CPK9fluf.js";
2
2
  function r(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-header",
3
- "version": "1.77.4",
3
+ "version": "1.77.6",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-header.cjs",
6
6
  "module": "esnext/cashier-header.js",