@everymatrix/cashier-page 1.93.40 → 1.93.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierMethodDetails-RvdJ1C5s.js → CashierMethodDetails-BrlBDyIX.js} +1 -1
- package/components/{CashierMethodDetails-KWA_Sq4l.cjs → CashierMethodDetails-DLCEFTpO.cjs} +1 -1
- package/components/{CashierMethodDetails-D5zqf686.js → CashierMethodDetails-DU55y4Rq.js} +1 -1
- package/components/{CashierMethodsList-lFN0tDnv.js → CashierMethodsList-CsZkLAGV.js} +44 -36
- package/components/CashierMethodsList-D6dEg4zv.cjs +1 -0
- package/components/{CashierMethodsList-Cbh3LWkT.js → CashierMethodsList-DuiE7pDZ.js} +53 -45
- package/components/{CashierPage-2KmHM6zH.js → CashierPage-BtrYOlrz.js} +7 -7
- package/components/{CashierPage-CD2qxexq.js → CashierPage-XewFlLFL.js} +144 -144
- package/components/CashierPage-ZwlEVQK1.cjs +1 -0
- package/components/{CashierReceiptPage-yyz93m_1.js → CashierReceiptPage-BHUK-JH2.js} +2 -2
- package/components/{CashierReceiptPage-DECgCKrA.cjs → CashierReceiptPage-Ur_cm9GB.cjs} +1 -1
- package/components/{CashierReceiptPage-BHu7eFQe.js → CashierReceiptPage-ooyhUTMT.js} +2 -2
- package/components/{CashierSessionExpirationModal-DulGbuH9.js → CashierSessionExpirationModal-C0KV3SHR.js} +2 -2
- package/components/{CashierSessionExpirationModal-DSlaopTF.js → CashierSessionExpirationModal-DlbWG4xD.js} +2 -2
- package/components/{CashierSessionExpirationModal-Chi9ZGEw.cjs → CashierSessionExpirationModal-WrH-ardc.cjs} +1 -1
- package/components/{CashierTransactionHistory-CThHgzsf.js → CashierTransactionHistory-DSJAL5H2.js} +2 -2
- package/components/{CashierTransactionHistory-SwiU26Df.cjs → CashierTransactionHistory-Dk0b66AC.cjs} +1 -1
- package/components/{CashierTransactionHistory-BbYNhBtq.js → CashierTransactionHistory-Dt-gnylu.js} +2 -2
- package/components/{CashierVerifications-BbrGxnsr.js → CashierVerifications-BUcxHXrG.js} +1 -1
- package/components/{CashierVerifications-DC27ce9g.js → CashierVerifications-Byj-MslV.js} +1 -1
- package/components/{CashierVerifications-WhS-2imA.cjs → CashierVerifications-f5t-nR--.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierMethodsList-Bgo_LwHP.cjs +0 -1
- package/components/CashierPage-xLl95GUo.cjs +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),wt=require("./CashierPage-xLl95GUo.cjs"),Me=require("./CashierMethodDetails-KWA_Sq4l.cjs");function St(i,n){e.addMessages(i,n)}function en(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const At={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d’expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:Ft,setPrototypeOf:xt,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:Q,create:zt}=Object,{apply:$e,construct:et}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});$e||($e=function(n,o,r){return n.apply(o,r)});et||(et=function(n,o){return new n(...o)});const Fe=V(Array.prototype.forEach),Ct=V(Array.prototype.pop),Re=V(Array.prototype.push),Ge=V(String.prototype.toLowerCase),qe=V(String.prototype.toString),vt=V(String.prototype.match),ke=V(String.prototype.replace),rn=V(String.prototype.indexOf),sn=V(String.prototype.trim),ne=V(Object.prototype.hasOwnProperty),P=V(RegExp.prototype.test),Oe=an(TypeError);function V(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return $e(i,n,r)}}function an(i){return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return et(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ge;xt&&xt(i,null);let r=n.length;for(;r--;){let a=n[r];if(typeof a=="string"){const f=o(a);f!==a&&(tn(n)||(n[r]=f),a=f)}i[a]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function be(i){const n=zt(null);for(const[o,r]of Ft(i))ne(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=be(r):n[o]=r);return n}function De(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return V(r.get);if(typeof r.value=="function")return V(r.value)}i=nn(i)}function o(){return null}return o}const Lt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),cn=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mt=U(["#text"]),Rt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),kt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ze=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pn=Q(/<%[\w\W]*|[\w\W]*%>/gm),mn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),hn=Q(/^aria-[\-\w]+$/),Gt=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gn=Q(/^(?:\w+script|data):/i),_n=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=Q(/^html$/i),En=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ot=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:pn,TMPLIT_EXPR:mn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:gn,ATTR_WHITESPACE:_n,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const Ne={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},yn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(r=o.getAttribute(a));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(g){return g},createScriptURL(g){return g}})}catch(g){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Ne.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,a=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:w,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:H}=i,B=T.prototype,ge=De(B,"cloneNode"),ie=De(B,"remove"),F=De(B,"nextSibling"),ue=De(B,"childNodes"),q=De(B,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,S="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:z}=o,{importNode:te}=r;let C={};n.isSupported=typeof Ft=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:re,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:ye}=Ot;let{IS_ALLOWED_URI:X}=Ot,p=null;const _e=m({},[...Lt,...Ze,...Je,...Ke,...Mt]);let A=null;const Ee=m({},[...Rt,...Qe,...kt,...ze]);let E=Object.seal(zt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,d=!0,N=!0,L=!1,G=!0,me=!1,K=!0,se=!1,b=!1,x=!1,ae=!1,Ie=!1,Pe=!1,tt=!0,nt=!1;const Xt="user-content-";let We=!0,Ce=!1,we={},Se=null;const it=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ot=null;const rt=m({},["audio","video","img","source","image","track"]);let Ye=null;const st=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",He="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let Ae=de,je=!1,Xe=null;const Vt=m({},[Ue,He,de],qe);let ve=null;const qt=["application/xhtml+xml","text/html"],Zt="text/html";let M=null,xe=null;const Jt=o.createElement("form"),at=function(t){return t instanceof RegExp||t instanceof Function},Ve=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xe&&xe===t)){if((!t||typeof t!="object")&&(t={}),t=be(t),ve=qt.indexOf(t.PARSER_MEDIA_TYPE)===-1?Zt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Ge,p=ne(t,"ALLOWED_TAGS")?m({},t.ALLOWED_TAGS,M):_e,A=ne(t,"ALLOWED_ATTR")?m({},t.ALLOWED_ATTR,M):Ee,Xe=ne(t,"ALLOWED_NAMESPACES")?m({},t.ALLOWED_NAMESPACES,qe):Vt,Ye=ne(t,"ADD_URI_SAFE_ATTR")?m(be(st),t.ADD_URI_SAFE_ATTR,M):st,ot=ne(t,"ADD_DATA_URI_TAGS")?m(be(rt),t.ADD_DATA_URI_TAGS,M):rt,Se=ne(t,"FORBID_CONTENTS")?m({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?m({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?m({},t.FORBID_ATTR,M):{},we=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,d=t.ALLOW_ARIA_ATTR!==!1,N=t.ALLOW_DATA_ATTR!==!1,L=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,se=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ie=t.RETURN_DOM_FRAGMENT||!1,Pe=t.RETURN_TRUSTED_TYPE||!1,x=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,We=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,X=t.ALLOWED_URI_REGEXP||Gt,Ae=t.NAMESPACE||de,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(N=!1),Ie&&(ae=!0),we&&(p=m({},Mt),A=[],we.html===!0&&(m(p,Lt),m(A,Rt)),we.svg===!0&&(m(p,Ze),m(A,Qe),m(A,ze)),we.svgFilters===!0&&(m(p,Je),m(A,Qe),m(A,ze)),we.mathMl===!0&&(m(p,Ke),m(A,kt),m(A,ze))),t.ADD_TAGS&&(p===_e&&(p=be(p)),m(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(A===Ee&&(A=be(A)),m(A,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&m(Ye,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(Se===it&&(Se=be(Se)),m(Se,t.FORBID_CONTENTS,M)),We&&(p["#text"]=!0),se&&m(p,["html","head","body"]),p.table&&(m(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=yn(H,a)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));U&&U(t),xe=t}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Kt=m({},["title","style","font","a","script"]),ut=m({},[...Ze,...Je,...cn]),ft=m({},[...Ke,...un]),Qt=function(t){let s=q(t);(!s||!s.tagName)&&(s={namespaceURI:Ae,tagName:"template"});const c=Ge(t.tagName),y=Ge(s.tagName);return Xe[t.namespaceURI]?t.namespaceURI===He?s.namespaceURI===de?c==="svg":s.namespaceURI===Ue?c==="svg"&&(y==="annotation-xml"||lt[y]):!!ut[c]:t.namespaceURI===Ue?s.namespaceURI===de?c==="math":s.namespaceURI===He?c==="math"&&ct[y]:!!ft[c]:t.namespaceURI===de?s.namespaceURI===He&&!ct[y]||s.namespaceURI===Ue&&!lt[y]?!1:!ft[c]&&(Kt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&Xe[t.namespaceURI]):!1},le=function(t){Re(n.removed,{element:t});try{q(t).removeChild(t)}catch(s){ie(t)}},Be=function(t,s){try{Re(n.removed,{attribute:s.getAttributeNode(t),from:s})}catch(c){Re(n.removed,{attribute:null,from:s})}if(s.removeAttribute(t),t==="is"&&!A[t])if(ae||Ie)try{le(s)}catch(c){}else try{s.setAttribute(t,"")}catch(c){}},pt=function(t){let s=null,c=null;if(x)t="<remove></remove>"+t;else{const R=vt(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&Ae===de&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const y=h?h.createHTML(t):t;if(Ae===de)try{s=new Te().parseFromString(y,ve)}catch(R){}if(!s||!s.documentElement){s=ee.createDocument(Ae,"template",null);try{s.documentElement.innerHTML=je?S:y}catch(R){}}const O=s.body||s.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),Ae===de?z.call(s,se?"html":"body")[0]:se?s.documentElement:O},mt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},dt=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},ht=function(t){return typeof w=="function"&&t instanceof w},he=function(t,s,c){C[t]&&Fe(C[t],y=>{y.call(n,s,c,xe)})},gt=function(t){let s=null;if(he("beforeSanitizeElements",t,null),dt(t))return le(t),!0;const c=M(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!ht(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===Ne.progressingInstruction||K&&t.nodeType===Ne.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Et(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(We&&!Se[c]){const y=q(t)||t.parentNode,O=ue(t)||t.childNodes;if(O&&y){const R=O.length;for(let W=R-1;W>=0;--W){const ce=ge(O[W],!0);ce.__removalCount=(t.__removalCount||0)+1,y.insertBefore(ce,F(t))}}}return le(t),!0}return t instanceof T&&!Qt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(me&&t.nodeType===Ne.text&&(s=t.textContent,Fe([re,j,pe],y=>{s=ke(s,y," ")}),t.textContent!==s&&(Re(n.removed,{element:t.cloneNode()}),t.textContent=s)),he("afterSanitizeElements",t,null),!1)},_t=function(t,s,c){if(tt&&(s==="id"||s==="name")&&(c in o||c in Jt))return!1;if(!(N&&!l[s]&&P(Z,s))){if(!(d&&P(k,s))){if(!A[s]||l[s]){if(!(Et(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,s)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(s))||s==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!Ye[s]){if(!P(X,ke(c,J,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&t!=="script"&&rn(c,"data:")===0&&ot[t])){if(!(L&&!P(D,ke(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&vt(t,ye)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:s}=t;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A};let y=s.length;for(;y--;){const O=s[y],{name:R,namespaceURI:W,value:ce}=O,Le=M(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Le,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){Be(R,t);continue}if(c.forceKeepAttr||(Be(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){Be(R,t);continue}me&&Fe([re,j,pe],bt=>{I=ke(I,bt," ")});const yt=M(t.nodeName);if(_t(yt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(Be(R,t),I=Xt+I),h&&typeof H=="object"&&typeof H.getAttributeType=="function"&&!W)switch(H.getAttributeType(yt,Le)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),dt(t)?le(t):Ct(n.removed)}catch(bt){}}}he("afterSanitizeAttributes",t,null)},$t=function u(t){let s=null;const c=mt(t);for(he("beforeSanitizeShadowDOM",t,null);s=c.nextNode();)he("uponSanitizeShadowNode",s,null),!gt(s)&&(s.content instanceof f&&u(s.content),Tt(s));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,y=null,O=null;if(je=!u,je&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Oe("dirty is not a string, aborting")}else throw Oe("toString is not a function");if(!n.isSupported)return u;if(b||Ve(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=M(u.nodeName);if(!p[ce]||v[ce])throw Oe("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof w)s=pt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===Ne.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!ae&&!me&&!se&&u.indexOf("<")===-1)return h&&Pe?h.createHTML(u):u;if(s=pt(u),!s)return ae?null:Pe?S:""}s&&x&&le(s.firstChild);const R=mt(Ce?u:s);for(;y=R.nextNode();)gt(y)||(y.content instanceof f&&$t(y.content),Tt(y));if(Ce)return u;if(ae){if(Ie)for(O=fe.call(s.ownerDocument);s.firstChild;)O.appendChild(s.firstChild);else O=s;return(A.shadowroot||A.shadowrootmode)&&(O=te.call(r,O,!0)),O}let W=se?s.outerHTML:s.innerHTML;return se&&p["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),wt=require("./CashierPage-ZwlEVQK1.cjs"),Me=require("./CashierMethodDetails-DLCEFTpO.cjs");function St(i,n){e.addMessages(i,n)}function en(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const At={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d’expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:Ft,setPrototypeOf:xt,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:Q,create:zt}=Object,{apply:$e,construct:et}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});$e||($e=function(n,o,r){return n.apply(o,r)});et||(et=function(n,o){return new n(...o)});const Fe=V(Array.prototype.forEach),Ct=V(Array.prototype.pop),Re=V(Array.prototype.push),Ge=V(String.prototype.toLowerCase),qe=V(String.prototype.toString),vt=V(String.prototype.match),ke=V(String.prototype.replace),rn=V(String.prototype.indexOf),sn=V(String.prototype.trim),ne=V(Object.prototype.hasOwnProperty),P=V(RegExp.prototype.test),Oe=an(TypeError);function V(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return $e(i,n,r)}}function an(i){return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return et(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ge;xt&&xt(i,null);let r=n.length;for(;r--;){let a=n[r];if(typeof a=="string"){const f=o(a);f!==a&&(tn(n)||(n[r]=f),a=f)}i[a]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function be(i){const n=zt(null);for(const[o,r]of Ft(i))ne(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=be(r):n[o]=r);return n}function De(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return V(r.get);if(typeof r.value=="function")return V(r.value)}i=nn(i)}function o(){return null}return o}const Lt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),cn=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mt=U(["#text"]),Rt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),kt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ze=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pn=Q(/<%[\w\W]*|[\w\W]*%>/gm),mn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),hn=Q(/^aria-[\-\w]+$/),Gt=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gn=Q(/^(?:\w+script|data):/i),_n=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=Q(/^html$/i),En=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ot=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:pn,TMPLIT_EXPR:mn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:gn,ATTR_WHITESPACE:_n,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const Ne={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},yn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(r=o.getAttribute(a));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(g){return g},createScriptURL(g){return g}})}catch(g){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Ne.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,a=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:w,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:H}=i,B=T.prototype,ge=De(B,"cloneNode"),ie=De(B,"remove"),F=De(B,"nextSibling"),ue=De(B,"childNodes"),q=De(B,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,S="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:z}=o,{importNode:te}=r;let C={};n.isSupported=typeof Ft=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:re,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:ye}=Ot;let{IS_ALLOWED_URI:X}=Ot,p=null;const _e=m({},[...Lt,...Ze,...Je,...Ke,...Mt]);let A=null;const Ee=m({},[...Rt,...Qe,...kt,...ze]);let E=Object.seal(zt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,d=!0,N=!0,L=!1,G=!0,me=!1,K=!0,se=!1,b=!1,x=!1,ae=!1,Ie=!1,Pe=!1,tt=!0,nt=!1;const Xt="user-content-";let We=!0,Ce=!1,we={},Se=null;const it=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ot=null;const rt=m({},["audio","video","img","source","image","track"]);let Ye=null;const st=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",He="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let Ae=de,je=!1,Xe=null;const Vt=m({},[Ue,He,de],qe);let ve=null;const qt=["application/xhtml+xml","text/html"],Zt="text/html";let M=null,xe=null;const Jt=o.createElement("form"),at=function(t){return t instanceof RegExp||t instanceof Function},Ve=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xe&&xe===t)){if((!t||typeof t!="object")&&(t={}),t=be(t),ve=qt.indexOf(t.PARSER_MEDIA_TYPE)===-1?Zt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Ge,p=ne(t,"ALLOWED_TAGS")?m({},t.ALLOWED_TAGS,M):_e,A=ne(t,"ALLOWED_ATTR")?m({},t.ALLOWED_ATTR,M):Ee,Xe=ne(t,"ALLOWED_NAMESPACES")?m({},t.ALLOWED_NAMESPACES,qe):Vt,Ye=ne(t,"ADD_URI_SAFE_ATTR")?m(be(st),t.ADD_URI_SAFE_ATTR,M):st,ot=ne(t,"ADD_DATA_URI_TAGS")?m(be(rt),t.ADD_DATA_URI_TAGS,M):rt,Se=ne(t,"FORBID_CONTENTS")?m({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?m({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?m({},t.FORBID_ATTR,M):{},we=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,d=t.ALLOW_ARIA_ATTR!==!1,N=t.ALLOW_DATA_ATTR!==!1,L=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,se=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ie=t.RETURN_DOM_FRAGMENT||!1,Pe=t.RETURN_TRUSTED_TYPE||!1,x=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,We=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,X=t.ALLOWED_URI_REGEXP||Gt,Ae=t.NAMESPACE||de,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(N=!1),Ie&&(ae=!0),we&&(p=m({},Mt),A=[],we.html===!0&&(m(p,Lt),m(A,Rt)),we.svg===!0&&(m(p,Ze),m(A,Qe),m(A,ze)),we.svgFilters===!0&&(m(p,Je),m(A,Qe),m(A,ze)),we.mathMl===!0&&(m(p,Ke),m(A,kt),m(A,ze))),t.ADD_TAGS&&(p===_e&&(p=be(p)),m(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(A===Ee&&(A=be(A)),m(A,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&m(Ye,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(Se===it&&(Se=be(Se)),m(Se,t.FORBID_CONTENTS,M)),We&&(p["#text"]=!0),se&&m(p,["html","head","body"]),p.table&&(m(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=yn(H,a)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));U&&U(t),xe=t}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Kt=m({},["title","style","font","a","script"]),ut=m({},[...Ze,...Je,...cn]),ft=m({},[...Ke,...un]),Qt=function(t){let s=q(t);(!s||!s.tagName)&&(s={namespaceURI:Ae,tagName:"template"});const c=Ge(t.tagName),y=Ge(s.tagName);return Xe[t.namespaceURI]?t.namespaceURI===He?s.namespaceURI===de?c==="svg":s.namespaceURI===Ue?c==="svg"&&(y==="annotation-xml"||lt[y]):!!ut[c]:t.namespaceURI===Ue?s.namespaceURI===de?c==="math":s.namespaceURI===He?c==="math"&&ct[y]:!!ft[c]:t.namespaceURI===de?s.namespaceURI===He&&!ct[y]||s.namespaceURI===Ue&&!lt[y]?!1:!ft[c]&&(Kt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&Xe[t.namespaceURI]):!1},le=function(t){Re(n.removed,{element:t});try{q(t).removeChild(t)}catch(s){ie(t)}},Be=function(t,s){try{Re(n.removed,{attribute:s.getAttributeNode(t),from:s})}catch(c){Re(n.removed,{attribute:null,from:s})}if(s.removeAttribute(t),t==="is"&&!A[t])if(ae||Ie)try{le(s)}catch(c){}else try{s.setAttribute(t,"")}catch(c){}},pt=function(t){let s=null,c=null;if(x)t="<remove></remove>"+t;else{const R=vt(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&Ae===de&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const y=h?h.createHTML(t):t;if(Ae===de)try{s=new Te().parseFromString(y,ve)}catch(R){}if(!s||!s.documentElement){s=ee.createDocument(Ae,"template",null);try{s.documentElement.innerHTML=je?S:y}catch(R){}}const O=s.body||s.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),Ae===de?z.call(s,se?"html":"body")[0]:se?s.documentElement:O},mt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},dt=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},ht=function(t){return typeof w=="function"&&t instanceof w},he=function(t,s,c){C[t]&&Fe(C[t],y=>{y.call(n,s,c,xe)})},gt=function(t){let s=null;if(he("beforeSanitizeElements",t,null),dt(t))return le(t),!0;const c=M(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!ht(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===Ne.progressingInstruction||K&&t.nodeType===Ne.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Et(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(We&&!Se[c]){const y=q(t)||t.parentNode,O=ue(t)||t.childNodes;if(O&&y){const R=O.length;for(let W=R-1;W>=0;--W){const ce=ge(O[W],!0);ce.__removalCount=(t.__removalCount||0)+1,y.insertBefore(ce,F(t))}}}return le(t),!0}return t instanceof T&&!Qt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(me&&t.nodeType===Ne.text&&(s=t.textContent,Fe([re,j,pe],y=>{s=ke(s,y," ")}),t.textContent!==s&&(Re(n.removed,{element:t.cloneNode()}),t.textContent=s)),he("afterSanitizeElements",t,null),!1)},_t=function(t,s,c){if(tt&&(s==="id"||s==="name")&&(c in o||c in Jt))return!1;if(!(N&&!l[s]&&P(Z,s))){if(!(d&&P(k,s))){if(!A[s]||l[s]){if(!(Et(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,s)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(s))||s==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!Ye[s]){if(!P(X,ke(c,J,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&t!=="script"&&rn(c,"data:")===0&&ot[t])){if(!(L&&!P(D,ke(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&vt(t,ye)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:s}=t;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A};let y=s.length;for(;y--;){const O=s[y],{name:R,namespaceURI:W,value:ce}=O,Le=M(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Le,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){Be(R,t);continue}if(c.forceKeepAttr||(Be(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){Be(R,t);continue}me&&Fe([re,j,pe],bt=>{I=ke(I,bt," ")});const yt=M(t.nodeName);if(_t(yt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(Be(R,t),I=Xt+I),h&&typeof H=="object"&&typeof H.getAttributeType=="function"&&!W)switch(H.getAttributeType(yt,Le)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),dt(t)?le(t):Ct(n.removed)}catch(bt){}}}he("afterSanitizeAttributes",t,null)},$t=function u(t){let s=null;const c=mt(t);for(he("beforeSanitizeShadowDOM",t,null);s=c.nextNode();)he("uponSanitizeShadowNode",s,null),!gt(s)&&(s.content instanceof f&&u(s.content),Tt(s));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,y=null,O=null;if(je=!u,je&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Oe("dirty is not a string, aborting")}else throw Oe("toString is not a function");if(!n.isSupported)return u;if(b||Ve(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=M(u.nodeName);if(!p[ce]||v[ce])throw Oe("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof w)s=pt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===Ne.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!ae&&!me&&!se&&u.indexOf("<")===-1)return h&&Pe?h.createHTML(u):u;if(s=pt(u),!s)return ae?null:Pe?S:""}s&&x&&le(s.firstChild);const R=mt(Ce?u:s);for(;y=R.nextNode();)gt(y)||(y.content instanceof f&&$t(y.content),Tt(y));if(Ce)return u;if(ae){if(Ie)for(O=fe.call(s.ownerDocument);s.firstChild;)O.appendChild(s.firstChild);else O=s;return(A.shadowroot||A.shadowrootmode)&&(O=te.call(r,O,!0)),O}let W=se?s.outerHTML:s.innerHTML;return se&&p["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
|
|
2
2
|
`+W),me&&Fe([re,j,pe],ce=>{W=ke(W,ce," ")}),h&&Pe?h.createHTML(W):W},n.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ve(u),b=!0},n.clearConfig=function(){xe=null,b=!1},n.isValidAttribute=function(u,t,s){xe||Ve({});const c=M(u),y=M(t);return _t(c,y,s)},n.addHook=function(u,t){typeof t=="function"&&(C[u]=C[u]||[],Re(C[u],t))},n.removeHook=function(u){if(C[u])return Ct(C[u])},n.removeHooks=function(u){C[u]&&(C[u]=[])},n.removeAllHooks=function(){C={}},n}var Dt=Yt();function bn(i){e.append_styles(i,"svelte-1kjup2o",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}')}const wn=i=>({}),Nt=i=>({}),Sn=i=>({}),It=i=>({}),An=i=>({}),Pt=i=>({}),xn=i=>({}),Ut=i=>({class:"CashierSessionExpirationIcon"});function Ht(i){let n,o,r,a,f,g,w,T,_,Y,$,Te,H=i[8]("sessionExpirationHeader")+"",B,ge,ie,F,ue,q,h,S,ee,oe,fe,z,te,C,re=i[8]("sessionExpirationEnd")+"",j,pe,Z,k,D,J,ye,X,p,_e,A;const Ee=i[23].icon,E=e.create_slot(Ee,i,i[22],Ut),v=E||Cn(i),l=i[23].title,d=e.create_slot(l,i,i[22],Pt),N=i[23].text,L=e.create_slot(N,i,i[22],It),G=L||vn(i),me=[Mn,Ln],K=[];function se(b,x){return b[6]?0:1}return k=se(i),D=K[k]=me[k](i),{c(){n=e.element("div"),o=e.element("div"),r=e.element("div"),a=e.element("div"),f=e.svg_element("svg"),g=e.svg_element("defs"),w=e.svg_element("mask"),T=e.svg_element("circle"),_=e.svg_element("rect"),Y=e.svg_element("circle"),$=e.svg_element("circle"),Te=e.space(),B=e.text(H),ge=e.space(),ie=e.element("div"),F=e.svg_element("svg"),ue=e.svg_element("path"),q=e.space(),h=e.element("div"),S=e.element("div"),v&&v.c(),ee=e.space(),d&&d.c(),oe=e.space(),G&&G.c(),fe=e.space(),z=e.element("div"),te=e.element("button"),C=e.element("span"),j=e.text(re),pe=e.space(),Z=e.element("button"),D.c(),e.attr(T,"cx","100"),e.attr(T,"cy","100"),e.attr(T,"r","90"),e.attr(_,"x","88"),e.attr(_,"y","40"),e.attr(_,"width","24"),e.attr(_,"height","80"),e.attr(_,"rx","12"),e.attr(_,"fill","black"),e.attr(Y,"cx","100"),e.attr(Y,"cy","150"),e.attr(Y,"r","14"),e.attr(Y,"fill","black"),e.attr(w,"id","exclamation-mask"),e.attr($,"cx","100"),e.attr($,"cy","100"),e.attr($,"r","90"),e.attr($,"mask","url(#exclamation-mask)"),e.attr(f,"viewBox","0 0 200 200"),e.attr(f,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"class","CashierSessionExpirationModalHeaderTitle"),e.attr(ue,"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"),e.attr(F,"xmlns","http://www.w3.org/2000/svg"),e.attr(F,"viewBox","0 0 13 13"),e.attr(F,"fill","none"),e.attr(F,"class","CloseButton"),e.attr(ie,"class","ModalCloseIcon"),e.attr(r,"class","CashierSessionExpirationModalHeader"),e.attr(C,"class","CashierSessionExpirationButtonText"),e.attr(te,"type","button"),e.attr(te,"class","ModalButton Secondary"),e.attr(Z,"type","button"),e.attr(Z,"class",J="ModalButton Primary "+(i[6]?"Disabled":"")),e.attr(z,"class","ButtonsContainer"),e.attr(S,"class","CashierSessionExpiration"),e.attr(h,"class","CashierSessionExpirationModalContainer"),e.attr(o,"class","CashierSessionExpirationModalWrapper"),e.attr(n,"class","CashierSessionExpirationModalWindow"),e.attr(n,"id","CashierSessionExpirationModal"),e.add_render_callback(()=>i[25].call(n))},m(b,x){e.insert(b,n,x),e.append(n,o),e.append(o,r),e.append(r,a),e.append(a,f),e.append(f,g),e.append(g,w),e.append(w,T),e.append(w,_),e.append(w,Y),e.append(f,$),e.append(a,Te),e.append(a,B),e.append(r,ge),e.append(r,ie),e.append(ie,F),e.append(F,ue),e.append(o,q),e.append(o,h),e.append(h,S),v&&v.m(S,null),e.append(S,ee),d&&d.m(S,null),e.append(S,oe),G&&G.m(S,null),e.append(S,fe),e.append(S,z),e.append(z,te),e.append(te,C),e.append(C,j),e.append(z,pe),e.append(z,Z),K[k].m(Z,null),i[24](S),ye=e.add_iframe_resize_listener(n,i[25].bind(n)),p=!0,_e||(A=[e.listen(F,"click",i[11]),e.listen(te,"click",i[11]),e.listen(Z,"click",i[9]),e.listen(n,"click",i[10])],_e=!0)},p(b,x){i=b,(!p||x[0]&256)&&H!==(H=i[8]("sessionExpirationHeader")+"")&&e.set_data(B,H),E?E.p&&(!p||x[0]&4194304)&&e.update_slot_base(E,Ee,i,i[22],p?e.get_slot_changes(Ee,i[22],x,xn):e.get_all_dirty_from_scope(i[22]),Ut):v&&v.p&&(!p||x[0]&8)&&v.p(i,p?x:[-1,-1]),d&&d.p&&(!p||x[0]&4194304)&&e.update_slot_base(d,l,i,i[22],p?e.get_slot_changes(l,i[22],x,An):e.get_all_dirty_from_scope(i[22]),Pt),L?L.p&&(!p||x[0]&4194304)&&e.update_slot_base(L,N,i,i[22],p?e.get_slot_changes(N,i[22],x,Sn):e.get_all_dirty_from_scope(i[22]),It):G&&G.p&&(!p||x[0]&384)&&G.p(i,p?x:[-1,-1]),(!p||x[0]&256)&&re!==(re=i[8]("sessionExpirationEnd")+"")&&e.set_data(j,re);let ae=k;k=se(i),k===ae?K[k].p(i,x):(e.group_outros(),e.transition_out(K[ae],1,1,()=>{K[ae]=null}),e.check_outros(),D=K[k],D?D.p(i,x):(D=K[k]=me[k](i),D.c()),e.transition_in(D,1),D.m(Z,null)),(!p||x[0]&64&&J!==(J="ModalButton Primary "+(i[6]?"Disabled":"")))&&e.attr(Z,"class",J)},i(b){p||(e.transition_in(v,b),e.transition_in(d,b),e.transition_in(G,b),e.transition_in(D),b&&e.add_render_callback(()=>{p&&(X||(X=e.create_bidirectional_transition(n,wt.fade,{duration:i[2]},!0)),X.run(1))}),p=!0)},o(b){e.transition_out(v,b),e.transition_out(d,b),e.transition_out(G,b),e.transition_out(D),b&&(X||(X=e.create_bidirectional_transition(n,wt.fade,{duration:i[2]},!1)),X.run(0)),p=!1},d(b){b&&e.detach(n),v&&v.d(b),d&&d.d(b),G&&G.d(b),K[k].d(),i[24](null),ye(),b&&X&&X.end(),_e=!1,e.run_all(A)}}}function Bt(i){let n,o;return{c(){n=e.element("img"),e.src_url_equal(n.src,o=`${i[3]}/set-timeout-icon.png`)||e.attr(n,"src",o),e.attr(n,"width","300px"),e.attr(n,"alt","error")},m(r,a){e.insert(r,n,a)},p(r,a){a[0]&8&&!e.src_url_equal(n.src,o=`${r[3]}/set-timeout-icon.png`)&&e.attr(n,"src",o)},d(r){r&&e.detach(n)}}}function Cn(i){let n,o=i[3]&&Bt(i);return{c(){o&&o.c(),n=e.empty()},m(r,a){o&&o.m(r,a),e.insert(r,n,a)},p(r,a){r[3]?o?o.p(r,a):(o=Bt(r),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(r){r&&e.detach(n),o&&o.d(r)}}}function vn(i){let n,o,r=i[8]("sessionExpirationTitle")+"",a,f,g,w=Dt.sanitize(i[8]("sessionExpirationGeneralText",{values:{second:i[7]}}))+"";return{c(){n=e.element("span"),o=e.element("p"),a=e.text(r),f=e.space(),g=e.element("p"),e.attr(n,"class","CashierSessionExpirationText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,a),e.append(n,f),e.append(n,g),g.innerHTML=w},p(T,_){_[0]&256&&r!==(r=T[8]("sessionExpirationTitle")+"")&&e.set_data(a,r),_[0]&384&&w!==(w=Dt.sanitize(T[8]("sessionExpirationGeneralText",{values:{second:T[7]}}))+"")&&(g.innerHTML=w)},d(T){T&&e.detach(n)}}}function Ln(i){let n;const o=i[23].button,r=e.create_slot(o,i,i[22],Nt),a=r||Rn(i);return{c(){a&&a.c()},m(f,g){a&&a.m(f,g),n=!0},p(f,g){r?r.p&&(!n||g[0]&4194304)&&e.update_slot_base(r,o,f,f[22],n?e.get_slot_changes(o,f[22],g,wn):e.get_all_dirty_from_scope(f[22]),Nt):a&&a.p&&(!n||g[0]&256)&&a.p(f,n?g:[-1,-1])},i(f){n||(e.transition_in(a,f),n=!0)},o(f){e.transition_out(a,f),n=!1},d(f){a&&a.d(f)}}}function Mn(i){let n,o,r,a,f,g=i[8]("sessionExpirationLoadingButton")+"",w;return{c(){n=e.element("div"),o=e.svg_element("svg"),r=e.svg_element("path"),a=e.space(),f=e.element("span"),w=e.text(g),e.attr(r,"d","M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"),e.attr(r,"fill","white"),e.attr(o,"class","CashierSessionExpirationButtonSpinner"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","14"),e.attr(o,"viewBox","0 0 15 14"),e.attr(o,"fill","none"),e.attr(f,"class","CashierSessionExpirationButtonText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,r),e.append(n,a),e.append(n,f),e.append(f,w)},p(T,_){_[0]&256&&g!==(g=T[8]("sessionExpirationLoadingButton")+"")&&e.set_data(w,g)},i:e.noop,o:e.noop,d(T){T&&e.detach(n)}}}function Rn(i){let n,o=i[8]("sessionExpirationGeneralButton")+"",r;return{c(){n=e.element("span"),r=e.text(o),e.attr(n,"class","CashierSessionExpirationButtonText")},m(a,f){e.insert(a,n,f),e.append(n,r)},p(a,f){f[0]&256&&o!==(o=a[8]("sessionExpirationGeneralButton")+"")&&e.set_data(r,o)},d(a){a&&e.detach(n)}}}function kn(i){let n,o,r=i[5]&&Ht(i);return{c(){n=e.element("div"),r&&r.c()},m(a,f){e.insert(a,n,f),r&&r.m(n,null),i[26](n),o=!0},p(a,f){a[5]?r?(r.p(a,f),f[0]&32&&e.transition_in(r,1)):(r=Ht(a),r.c(),e.transition_in(r,1),r.m(n,null)):r&&(e.group_outros(),e.transition_out(r,1,1,()=>{r=null}),e.check_outros())},i(a){o||(e.transition_in(r),o=!0)},o(a){e.transition_out(r),o=!1},d(a){a&&e.detach(n),r&&r.d(),i[26](null)}}}const On=90;function Dn(i,n,o){let r,a;e.component_subscribe(i,Me.xPaymentSessionToken,l=>o(21,r=l)),e.component_subscribe(i,e.$format,l=>o(8,a=l));let{$$slots:f={},$$scope:g}=n;Me.dayjs.extend(Me.utc);let{clientstyling:w=""}=n,{clientstylingurl:T=""}=n,{width:_}=n,{height:Y}=n,{duration:$=200}=n,{assetsurl:Te=""}=n,{lang:H="en"}=n,{translationurl:B=""}=n,{endpoint:ge}=n,{currency:ie}=n,{customerid:F}=n,{selectedpaymentmethodname:ue}=n,{mbsource:q=""}=n,h,S=!1,ee=!1,oe,fe,z,te,C,re;var j;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(j||(j={}));const pe=l=>{l.data.type==="StartSessionCountdown"&&(te=l.data.paymentMethodName)},Z=l=>{try{return JSON.parse(atob(l.split(".")[1]))}catch(d){return null}},k=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:C},window.location.href)},D=l=>{o(5,S=!1);const d=Z(l);d&&(fe=d==null?void 0:d.exp,o(7,oe=fe),z&&clearInterval(z),z=setInterval(()=>{const N=Math.floor(new Date().getTime()/1e3);o(7,oe=fe-N),oe<=On&&o(5,S=!0),N>=fe&&(J(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},J=()=>{o(7,oe=0),o(5,S=!1),clearInterval(z)},ye=()=>{if(ee)return;const l=new URL(`${ge}/v1/player/${F}/payment/GetPaymentMethod`),d=new Headers;o(6,ee=!0),d.append("accept","application/json"),d.append("Content-Type","application/json"),d.append("X-Client-Request-Timestamp",Me.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const N={method:"POST",mode:"cors",headers:d,body:JSON.stringify({PaymentMethodName:te||ue,Currency:ie,XPaymentSessionToken:r})};fetch(l,N).then(L=>L.json()).then(L=>{if(L.error){window.postMessage({type:"ShowSessionError",error:L.error},window.location.href),J();return}if(L.ResponseCode===j.PlayerSessionIsNotValid||L.ResponseCode===j.JwtTokenError){C=L.ResponseCode,J(),k();return}if(L.ResponseCode!==j.Success){C=L.ResponseCode,J();return}L.XPaymentSessionToken&&Me.xPaymentSessionToken.set(L.XPaymentSessionToken)}).finally(()=>o(6,ee=!1))},X=l=>{const d=l.currentTarget;l.target===d&&ye()},p=()=>{fetch(B).then(d=>d.json()).then(d=>{Object.keys(d).forEach(N=>{St(N,d[N])})}).catch(d=>{console.log(d)})},_e=()=>{window.postMessage({type:"Cashier:goToHome"},window.location.href),o(5,S=!1)};Object.keys(At).forEach(l=>{St(l,At[l])});const A=()=>{en(H)};e.onMount(()=>(window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe)})),e.onDestroy(()=>{clearInterval(z)});function Ee(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}function E(){_=this.clientWidth,Y=this.clientHeight,o(0,_),o(1,Y)}function v(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}return i.$$set=l=>{"clientstyling"in l&&o(12,w=l.clientstyling),"clientstylingurl"in l&&o(13,T=l.clientstylingurl),"width"in l&&o(0,_=l.width),"height"in l&&o(1,Y=l.height),"duration"in l&&o(2,$=l.duration),"assetsurl"in l&&o(3,Te=l.assetsurl),"lang"in l&&o(14,H=l.lang),"translationurl"in l&&o(15,B=l.translationurl),"endpoint"in l&&o(16,ge=l.endpoint),"currency"in l&&o(17,ie=l.currency),"customerid"in l&&o(18,F=l.customerid),"selectedpaymentmethodname"in l&&o(19,ue=l.selectedpaymentmethodname),"mbsource"in l&&o(20,q=l.mbsource),"$$scope"in l&&o(22,g=l.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&2097152&&D(r),i.$$.dirty[0]&16384&&H&&A(),i.$$.dirty[0]&4112&&w&&h&&e.setClientStyling(h,w),i.$$.dirty[0]&8208&&T&&h&&e.setClientStylingURL(h,T),i.$$.dirty[0]&1048592&&q&&h&&e.setStreamStyling(h,`${q}.Style`,re),i.$$.dirty[0]&32768&&B&&p()},[_,Y,$,Te,h,S,ee,oe,a,ye,X,_e,w,T,H,B,ge,ie,F,ue,q,r,g,f,Ee,E,v]}class jt extends e.SvelteComponent{constructor(n){super(),e.init$1(this,n,Dn,kn,e.safe_not_equal,{clientstyling:12,clientstylingurl:13,width:0,height:1,duration:2,assetsurl:3,lang:14,translationurl:15,endpoint:16,currency:17,customerid:18,selectedpaymentmethodname:19,mbsource:20},bn,[-1,-1])}get clientstyling(){return this.$$.ctx[12]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get width(){return this.$$.ctx[0]}set width(n){this.$$set({width:n}),e.flush()}get height(){return this.$$.ctx[1]}set height(n){this.$$set({height:n}),e.flush()}get duration(){return this.$$.ctx[2]}set duration(n){this.$$set({duration:n}),e.flush()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(n){this.$$set({assetsurl:n}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(n){this.$$set({lang:n}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}get endpoint(){return this.$$.ctx[16]}set endpoint(n){this.$$set({endpoint:n}),e.flush()}get currency(){return this.$$.ctx[17]}set currency(n){this.$$set({currency:n}),e.flush()}get customerid(){return this.$$.ctx[18]}set customerid(n){this.$$set({customerid:n}),e.flush()}get selectedpaymentmethodname(){return this.$$.ctx[19]}set selectedpaymentmethodname(n){this.$$set({selectedpaymentmethodname:n}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}}e.create_custom_element(jt,{clientstyling:{},clientstylingurl:{},width:{},height:{},duration:{},assetsurl:{},lang:{},translationurl:{},endpoint:{},currency:{},customerid:{},selectedpaymentmethodname:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=jt;
|
package/components/{CashierTransactionHistory-CThHgzsf.js → CashierTransactionHistory-DSJAL5H2.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as it, $ as at, i as lt, S as nt, b as rt, s as ot, f as z, c as ct, e as R, t as B, g as P, a6 as ye, a7 as _e, k as A, m as h, o as m, p as ut, q as mt, Z as $, a4 as He, v as H, W as ee, l as r, n as S, w, G as M, A as Q, y as dt, ae as ft, L as Ke, af as Qe, x as Ae, r as $e, ah as ke, z as Fe, X as De, ai as et, aj as tt, ak as st, B as pt, C as ht, D as vt, E as gt, F as xt } from "./CashierCarousel-DwrGzk7c.js";
|
|
2
|
-
import { f as Pe } from "./CashierPage-
|
|
3
|
-
import { d as te } from "./CashierMethodDetails-
|
|
2
|
+
import { f as Pe } from "./CashierPage-BtrYOlrz.js";
|
|
3
|
+
import { d as te } from "./CashierMethodDetails-DU55y4Rq.js";
|
|
4
4
|
import "../stencil/ui-image-CNaRr0ax.js";
|
|
5
5
|
import { T as yt } from "./TxnTypeIcons-B84nFRMh.js";
|
|
6
6
|
import { T as _t } from "./TxnStatusIcon-BwvCa-Ig.js";
|
package/components/{CashierTransactionHistory-SwiU26Df.cjs → CashierTransactionHistory-Dk0b66AC.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),he=require("./CashierPage-xLl95GUo.cjs"),O=require("./CashierMethodDetails-KWA_Sq4l.cjs");require("../stencil/ui-image-IJc7Zz_R.cjs");const je=require("./TxnTypeIcons-CTQXT_j5.cjs"),Ie=require("./TxnStatusIcon-CWkyVMIU.cjs");e.init({fallbackLocale:"en"});function _e(a,t){e.addMessages(a,t)}function Ae(a){e.$locale.set(a)}const ve={en:{transactionHistoryTitle:"Transaction History",transactionCodeTitle:"ID",transactionDateTitle:"Date",transactionDateTimeTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Status",transactionStatusIconTitle:"Status",transactionTypeIconTitle:"Type",copyTransactionId:"Transaction Id copied to clipboard",transactionAmountTitle:"Amount",transactionPaymentMethodTitle:"Payment Method",transactionRejectionNoteTitle:"Rejection Note",transactionStatus:{Authorized:"Authorized",Success:"Success",Failed:"Failed",Rejected:"Rejected",Pending:"Pending"},transactionType:{Deposit:"Deposit",Withdraw:"Withdraw"}},tr:{transactionHistoryTitle:"İşlem Geçmişi",transactionIdTitle:"İşlem ID'si",transactionDateTitle:"Tarih",transactionDateTimeTitle:"Tarih",transactionTypeTitle:"Tip",transactionStatusTitle:"Durum",transactionStatusIconTitle:"Durum",transactionTypeIconTitle:"Tip",transactionAmountTitle:"Tutar",transactionRejectionNoteTitle:"Reddetme Notu",transactionPaymentMethodTitle:"Ödeme Yöntemi",copyTransactionId:"İşlem ID’si kopyalandı",transactionStatus:{Authorized:"Onaylandı",Success:"Başarılı",Failed:"Başarısız",Rejected:"Reddedildi",Pending:"Beklemede"},transactionType:{Deposit:"Para Yatır",Withdraw:"Çekim"}},fr:{transactionHistoryTitle:"Historique des transactions",transactionCodeTitle:"ID",transactionDateTitle:"Date",transactionDateTimeTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Statut",transactionStatusIconTitle:"Statut",transactionTypeIconTitle:"Type",copyTransactionId:"ID de transaction copié dans le presse-papiers",transactionAmountTitle:"Montant",transactionPaymentMethodTitle:"Moyen de paiement",transactionRejectionNoteTitle:"Motif du rejet",transactionStatus:{Authorized:"Autorisé",Success:"Succès",Failed:"Échec",Rejected:"Rejeté",Pending:"En attente"},transactionType:{Deposit:"Dépôt",Withdraw:"Retrait"}}};function Pe(a){e.append_styles(a,"svelte-1xsmrqu",'.svelte-1xsmrqu.svelte-1xsmrqu,.svelte-1xsmrqu.svelte-1xsmrqu::before,.svelte-1xsmrqu.svelte-1xsmrqu::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1xsmrqu.svelte-1xsmrqu{width:50%;max-width:400px;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, rgba(249, 196, 5, 0.6078431373));transform:translateX(-50%);color:var(--emw--color-typography-button, #000000);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:2;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2)}.CashierTransactionHistoryContainer.svelte-1xsmrqu.svelte-1xsmrqu{position:relative;width:calc(100% - 20px);margin:auto}.CashierTransactionHistory.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1xsmrqu thead tr.svelte-1xsmrqu{color:var(--emw--color-primary, #F9C405);font-size:12px;height:50px;background-color:rgba(255, 255, 255, 0.05)}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:12px;font-weight:200}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu:not(:last-child):not(.Expanded){border-bottom:1px solid rgba(232, 233, 235, 0.2117647059)}.CashierTransactionHistory.svelte-1xsmrqu .TypeIcon.svelte-1xsmrqu{display:flex}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon svg.svelte-1xsmrqu{flex:0 0 auto;width:18px;height:18px}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon span.svelte-1xsmrqu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:80px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{max-width:250px;vertical-align:middle;height:40px;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu td:last-child .CashierTransactionHistoryStatusText.svelte-1xsmrqu{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:first-child{text-align:left;border-radius:10px 0 0 10px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:last-child{border-radius:0 10px 10px 0}.CashierTransactionHistory.svelte-1xsmrqu td .ExpandedContent.svelte-1xsmrqu{line-height:100%}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu{position:relative}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu:not(.ExpandedRow):not(.CashierTransactionHistoryHeader):not(.AllowExpand):hover{background:var(--emw--color-gray-50, #F7F8FA)}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1xsmrqu .CopyTooltip.svelte-1xsmrqu{width:100%}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:has(.Code){max-width:135px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1xsmrqu .CashierTransactionHistoryWrapper.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.column-TypeIcon.svelte-1xsmrqu:first-child{width:40px;text-align:left}.CashierTransactionHistory.svelte-1xsmrqu td.column-Code.svelte-1xsmrqu:first-child{max-width:60px;text-align:left}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{table-layout:fixed}.CashierTransactionHistory.svelte-1xsmrqu table td.svelte-1xsmrqu{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:100%;box-sizing:border-box;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:10px;z-index:1}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-black, #000000) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 60%, var(--emw--color-white, #f5f5f5) 95%);opacity:0.2}.CashierTransactionHistoryTitle.svelte-1xsmrqu.svelte-1xsmrqu{display:none;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.Code.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;line-height:inherit;display:inline}.StatusIcon.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-x-small, 6px)}.StatusIcon.svelte-1xsmrqu .StatusIconText.svelte-1xsmrqu{width:100px}.CashierTransactionHistoryStatus.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;gap:5px}.Amount.Withdraw.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"-"}.Amount.Deposit.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"+"}.Amount.Deposit.Success.svelte-1xsmrqu.svelte-1xsmrqu{color:var(--emw--color-primary-dark, #4b975d)}.CashierTransactionHistoryStatusText.svelte-1xsmrqu.svelte-1xsmrqu{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1xsmrqu.svelte-1xsmrqu{width:100%;overflow:auto}.CashierTransactionHistoryIcon.svelte-1xsmrqu.svelte-1xsmrqu{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}.TransactionHistoryRow.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer}.ShortHistory.svelte-1xsmrqu .CashierTransactionHistoryTitle.svelte-1xsmrqu{display:inline-block;margin:10px;font-weight:500}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu{cursor:auto}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu:hover{background:unset}.ExpandedContent.svelte-1xsmrqu.svelte-1xsmrqu{padding:var(--emw--spacing-large, 30px) var(--emw--spacing-small, 12px);position:relative;display:flex;flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.ExpandedContent.svelte-1xsmrqu .DetailsLogo.svelte-1xsmrqu{width:65px;position:absolute;top:var(--emw--spacing-large, 30px);right:var(--emw--spacing-small, 12px)}.StaticDetails.svelte-1xsmrqu.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;gap:var(--emw--spacing-small, 12px);width:100%}.StaticDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);padding-right:6px}.StaticDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 12px);font-weight:200;white-space:normal;overflow-wrap:break-word;max-width:100%;word-break:normal}.DetailsRow.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;flex-wrap:wrap;word-break:normal;overflow-wrap:break-word;white-space:normal}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code){max-width:250px}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code):hover{background:rgba(255, 255, 255, 0.2);border-radius:10px}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu{display:inline-flex;gap:6px;align-items:center;cursor:pointer;border-radius:var(--mmw--border-radius-medium-plus, 6px);padding:4px 6px;max-width:60%}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu:hover{background:var(--emw--color-primary, rgba(249, 196, 5, 0.4117647059))}.CopyCode.svelte-1xsmrqu span.svelte-1xsmrqu{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.CopyCode.svelte-1xsmrqu svg.svelte-1xsmrqu{flex-shrink:0}')}function ge(a,t,n){const s=a.slice();return s[45]=t[n],s[47]=n,s}function xe(a,t,n){const s=a.slice();return s[48]=t[n][0],s[49]=t[n][1],s}function ye(a,t,n){const s=a.slice();return s[52]=t[n],s[47]=n,s}function qe(a,t,n){const s=a.slice();return s[52]=t[n],s[47]=n,s}function ze(a){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",a[1]),e.set_custom_element_data(t,"clientstyling",a[0]),e.set_custom_element_data(t,"class","svelte-1xsmrqu")},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",n[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",n[0])},i:e.noop,o:e.noop,d(n){n&&e.detach(t)}}}function Fe(a){let t,n,s,i,u=a[12]("transactionHistoryTitle")+"",c,o,l,h,x,p,d,_,g,y=a[8]&&Te(a),D=e.ensure_array_like(a[10]),w=[];for(let m=0;m<D.length;m+=1)w[m]=we(qe(a,D,m));let S=e.ensure_array_like(a[7]),q=[];for(let m=0;m<S.length;m+=1)q[m]=He(ge(a,S,m));const U=m=>e.transition_out(q[m],1,1,()=>{q[m]=null});return{c(){t=e.element("div"),y&&y.c(),n=e.space(),s=e.element("div"),i=e.element("h3"),c=e.text(u),o=e.space(),l=e.element("div"),h=e.element("table"),x=e.element("thead"),p=e.element("tr");for(let m=0;m<w.length;m+=1)w[m].c();d=e.space(),_=e.element("tbody");for(let m=0;m<q.length;m+=1)q[m].c();e.attr(i,"class","CashierTransactionHistoryTitle svelte-1xsmrqu"),e.attr(p,"class","CashierTransactionHistoryHeader svelte-1xsmrqu"),e.attr(x,"class","svelte-1xsmrqu"),e.attr(_,"class","svelte-1xsmrqu"),e.attr(h,"class","svelte-1xsmrqu"),e.attr(l,"class","CashierTransactionHistoryContent svelte-1xsmrqu"),e.attr(s,"class","CashierTransactionHistoryWrapper svelte-1xsmrqu"),e.attr(t,"class","CashierTransactionHistory svelte-1xsmrqu"),e.toggle_class(t,"ShortHistory",a[3]==="true")},m(m,T){e.insert(m,t,T),y&&y.m(t,null),e.append(t,n),e.append(t,s),e.append(s,i),e.append(i,c),e.append(s,o),e.append(s,l),e.append(l,h),e.append(h,x),e.append(x,p);for(let f=0;f<w.length;f+=1)w[f]&&w[f].m(p,null);e.append(h,d),e.append(h,_);for(let f=0;f<q.length;f+=1)q[f]&&q[f].m(_,null);a[32](t),g=!0},p(m,T){if(m[8]?y?(y.p(m,T),T[0]&256&&e.transition_in(y,1)):(y=Te(m),y.c(),e.transition_in(y,1),y.m(t,n)):y&&(e.group_outros(),e.transition_out(y,1,1,()=>{y=null}),e.check_outros()),(!g||T[0]&4096)&&u!==(u=m[12]("transactionHistoryTitle")+"")&&e.set_data(c,u),T[0]&5120){D=e.ensure_array_like(m[10]);let f;for(f=0;f<D.length;f+=1){const A=qe(m,D,f);w[f]?w[f].p(A,T):(w[f]=we(A),w[f].c(),w[f].m(p,null))}for(;f<w.length;f+=1)w[f].d(1);w.length=D.length}if(T[0]&32184){S=e.ensure_array_like(m[7]);let f;for(f=0;f<S.length;f+=1){const A=ge(m,S,f);q[f]?(q[f].p(A,T),e.transition_in(q[f],1)):(q[f]=He(A),q[f].c(),e.transition_in(q[f],1),q[f].m(_,null))}for(e.group_outros(),f=S.length;f<q.length;f+=1)U(f);e.check_outros()}(!g||T[0]&8)&&e.toggle_class(t,"ShortHistory",m[3]==="true")},i(m){if(!g){e.transition_in(y);for(let T=0;T<S.length;T+=1)e.transition_in(q[T]);g=!0}},o(m){e.transition_out(y),q=q.filter(Boolean);for(let T=0;T<q.length;T+=1)e.transition_out(q[T]);g=!1},d(m){m&&e.detach(t),y&&y.d(),e.destroy_each(w,m),e.destroy_each(q,m),a[32](null)}}}function Te(a){let t,n=a[12]("copyTransactionId")+"",s,i,u,c;return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","CopyTooltip svelte-1xsmrqu")},m(o,l){e.insert(o,t,l),e.append(t,s),c=!0},p(o,l){a=o,(!c||l[0]&4096)&&n!==(n=a[12]("copyTransactionId")+"")&&e.set_data(s,n)},i(o){c||(o&&e.add_render_callback(()=>{c&&(u&&u.end(1),i=e.create_in_transition(t,he.fade,{duration:100}),i.start())}),c=!0)},o(o){i&&i.invalidate(),o&&(u=e.create_out_transition(t,he.fade,{duration:a[2]})),c=!1},d(o){o&&e.detach(t),o&&u&&u.end()}}}function we(a){let t,n=a[12](`transaction${a[52]}Title`)+"",s;return{c(){t=e.element("td"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&5120&&n!==(n=i[12](`transaction${i[52]}Title`)+"")&&e.set_data(s,n)},d(i){i&&e.detach(t)}}}function Me(a){let t,n=a[45][a[52]]+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&1152&&n!==(n=i[45][i[52]]+"")&&e.set_data(s,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function Ne(a){let t=O.dayjs(a[45].DateTime).format(a[5])+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&160&&t!==(t=O.dayjs(s[45].DateTime).format(s[5])+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Ee(a){let t=O.dayjs(a[45].Date).format(a[4])+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&144&&t!==(t=O.dayjs(s[45].Date).format(s[4])+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Le(a){let t=a[12](`transactionStatus.${a[45].Status}`)+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&4224&&t!==(t=s[12](`transactionStatus.${s[45].Status}`)+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Oe(a){let t,n,s,i=a[12](`transactionStatus.${a[45].Status}`)+"",u,c;return t=new Ie.TxnStatusIcon({props:{status:a[45].Status}}),{c(){e.create_component(t.$$.fragment),n=e.space(),s=e.element("span"),u=e.text(i),e.attr(s,"class","StatusIconText svelte-1xsmrqu")},m(o,l){e.mount_component(t,o,l),e.insert(o,n,l),e.insert(o,s,l),e.append(s,u),c=!0},p(o,l){const h={};l[0]&128&&(h.status=o[45].Status),t.$set(h),(!c||l[0]&4224)&&i!==(i=o[12](`transactionStatus.${o[45].Status}`)+"")&&e.set_data(u,i)},i(o){c||(e.transition_in(t.$$.fragment,o),c=!0)},o(o){e.transition_out(t.$$.fragment,o),c=!1},d(o){o&&(e.detach(n),e.detach(s)),e.destroy_component(t,o)}}}function Ue(a){let t,n=a[45].Amount+"",s,i,u=a[45].Currency+"",c,o;return{c(){t=e.element("span"),s=e.text(n),i=e.space(),c=e.text(u),e.attr(t,"class",o="Amount "+a[45].Type+" "+a[45].Status+" svelte-1xsmrqu")},m(l,h){e.insert(l,t,h),e.append(t,s),e.append(t,i),e.append(t,c)},p(l,h){h[0]&128&&n!==(n=l[45].Amount+"")&&e.set_data(s,n),h[0]&128&&u!==(u=l[45].Currency+"")&&e.set_data(c,u),h[0]&128&&o!==(o="Amount "+l[45].Type+" "+l[45].Status+" svelte-1xsmrqu")&&e.attr(t,"class",o)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Ve(a){let t,n=a[45].Code+"",s,i,u,c;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"data-copy",i=a[45].Code),e.attr(t,"class","svelte-1xsmrqu"),e.toggle_class(t,"copied",a[8])},m(o,l){e.insert(o,t,l),e.append(t,s),u||(c=e.listen(t,"click",a[29]),u=!0)},p(o,l){l[0]&128&&n!==(n=o[45].Code+"")&&e.set_data(s,n),l[0]&128&&i!==(i=o[45].Code)&&e.attr(t,"data-copy",i),l[0]&256&&e.toggle_class(t,"copied",o[8])},i:e.noop,o:e.noop,d(o){o&&e.detach(t),u=!1,c()}}}function We(a){let t,n;return t=new je.TxnTypeIcons({props:{type:a[45].Type}}),{c(){e.create_component(t.$$.fragment)},m(s,i){e.mount_component(t,s,i),n=!0},p(s,i){const u={};i[0]&128&&(u.type=s[45].Type),t.$set(u)},i(s){n||(e.transition_in(t.$$.fragment,s),n=!0)},o(s){e.transition_out(t.$$.fragment,s),n=!1},d(s){e.destroy_component(t,s)}}}function Ye(a){let t,n=a[12](`transactionType.${a[45].Type}`)+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&4224&&n!==(n=i[12](`transactionType.${i[45].Type}`)+"")&&e.set_data(s,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function be(a){let t,n,s,i,u,c,o,l;const h=[Ye,We,Ve,Ue,Oe,Le,Ee,Ne,Me],x=[];function p(d,_){return d[52]==="Type"?0:d[52]==="TypeIcon"?1:d[52]==="Code"?2:d[52]==="Amount"?3:d[52]==="StatusIcon"?4:d[52]==="Status"?5:d[52]==="Date"?6:d[52]==="DateTime"?7:8}return s=p(a),i=x[s]=h[s](a),{c(){t=e.element("td"),n=e.element("span"),i.c(),c=e.space(),e.attr(n,"class",u=e.null_to_empty(a[52])+" svelte-1xsmrqu"),e.attr(t,"class",o=e.null_to_empty(`column-${a[52]}`)+" svelte-1xsmrqu")},m(d,_){e.insert(d,t,_),e.append(t,n),x[s].m(n,null),e.append(t,c),l=!0},p(d,_){let g=s;s=p(d),s===g?x[s].p(d,_):(e.group_outros(),e.transition_out(x[g],1,1,()=>{x[g]=null}),e.check_outros(),i=x[s],i?i.p(d,_):(i=x[s]=h[s](d),i.c()),e.transition_in(i,1),i.m(n,null)),(!l||_[0]&1024&&u!==(u=e.null_to_empty(d[52])+" svelte-1xsmrqu"))&&e.attr(n,"class",u),(!l||_[0]&1024&&o!==(o=e.null_to_empty(`column-${d[52]}`)+" svelte-1xsmrqu"))&&e.attr(t,"class",o)},i(d){l||(e.transition_in(i),l=!0)},o(d){e.transition_out(i),l=!1},d(d){d&&e.detach(t),x[s].d()}}}function Ce(a){let t,n,s,i,u,c,o=a[12]("transactionTypeTitle")+"",l,h,x,p,d=a[12](`transactionType.${a[45].Type}`)+"",_,g,y,D,w=a[12]("transactionDateTitle")+"",S,q,U,m,T=O.dayjs(a[45].DateTime).format(a[5])+"",f,A,H,N,X=a[12]("transactionPaymentMethodTitle")+"",V,ee,te,M,P=a[45].PaymentMethod+"",G,J,E,W,Z=a[12]("transactionCodeTitle")+"",se,ie,K,z,Q,$=a[45].Code+"",ne,le,F,L,r,v,C,k,Y,ae,pe,re,B,oe,ue,ce,me,de,fe,j=a[45].RejectionNote&&ke(a),I=a[45].PaymentFields&&De(a);return{c(){t=e.element("tr"),n=e.element("td"),s=e.element("div"),i=e.element("div"),u=e.element("div"),c=e.element("span"),l=e.text(o),h=e.text(" :"),x=e.space(),p=e.element("span"),_=e.text(d),g=e.space(),y=e.element("div"),D=e.element("span"),S=e.text(w),q=e.text(" :"),U=e.space(),m=e.element("span"),f=e.text(T),A=e.space(),H=e.element("div"),N=e.element("span"),V=e.text(X),ee=e.text(" :"),te=e.space(),M=e.element("span"),G=e.text(P),J=e.space(),E=e.element("div"),W=e.element("span"),se=e.text(Z),ie=e.text(" :"),K=e.space(),z=e.element("span"),Q=e.element("span"),ne=e.text($),le=e.space(),F=e.svg_element("svg"),L=e.svg_element("g"),r=e.svg_element("path"),v=e.svg_element("path"),k=e.space(),j&&j.c(),Y=e.space(),ae=e.element("div"),I&&I.c(),pe=e.space(),re=e.element("div"),B=e.element("ui-image"),me=e.space(),e.attr(c,"class","DetailsTitle svelte-1xsmrqu"),e.attr(p,"class","DetailsValue svelte-1xsmrqu"),e.attr(u,"class","DetailsRow svelte-1xsmrqu"),e.attr(D,"class","DetailsTitle svelte-1xsmrqu"),e.attr(m,"class","DetailsValue svelte-1xsmrqu"),e.attr(y,"class","DetailsRow svelte-1xsmrqu"),e.attr(N,"class","DetailsTitle svelte-1xsmrqu"),e.attr(M,"class","DetailsValue svelte-1xsmrqu"),e.attr(H,"class","DetailsRow svelte-1xsmrqu"),e.attr(W,"class","DetailsTitle svelte-1xsmrqu"),e.attr(Q,"class","svelte-1xsmrqu"),e.attr(r,"d","M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"),e.attr(r,"stroke","#666666"),e.attr(r,"stroke-linecap","round"),e.attr(r,"stroke-linejoin","round"),e.attr(r,"class","svelte-1xsmrqu"),e.attr(v,"d","M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"),e.attr(v,"stroke","#666666"),e.attr(v,"stroke-linecap","round"),e.attr(v,"stroke-linejoin","round"),e.attr(v,"class","svelte-1xsmrqu"),e.attr(L,"opacity","0.5"),e.attr(L,"class","svelte-1xsmrqu"),e.attr(F,"xmlns","http://www.w3.org/2000/svg"),e.attr(F,"width","19"),e.attr(F,"height","19"),e.attr(F,"viewBox","0 0 19 19"),e.attr(F,"fill","none"),e.attr(F,"class","svelte-1xsmrqu"),e.attr(z,"data-copy",C=a[45].Code),e.attr(z,"class","DetailsValue CopyCode svelte-1xsmrqu"),e.attr(E,"class","DetailsRow svelte-1xsmrqu"),e.attr(i,"class","StaticDetails svelte-1xsmrqu"),e.attr(ae,"class","DynamicDetails svelte-1xsmrqu"),e.src_url_equal(B.src,oe=a[45].Logo)||e.set_custom_element_data(B,"src",oe),e.set_custom_element_data(B,"class","svelte-1xsmrqu"),e.attr(re,"class","DetailsLogo svelte-1xsmrqu"),e.attr(s,"class","ExpandedContent svelte-1xsmrqu"),e.attr(n,"colspan",ce=a[10].length),e.attr(n,"class","no-padding svelte-1xsmrqu"),e.attr(t,"class","ExpandedRow svelte-1xsmrqu")},m(b,R){e.insert(b,t,R),e.append(t,n),e.append(n,s),e.append(s,i),e.append(i,u),e.append(u,c),e.append(c,l),e.append(c,h),e.append(u,x),e.append(u,p),e.append(p,_),e.append(i,g),e.append(i,y),e.append(y,D),e.append(D,S),e.append(D,q),e.append(y,U),e.append(y,m),e.append(m,f),e.append(i,A),e.append(i,H),e.append(H,N),e.append(N,V),e.append(N,ee),e.append(H,te),e.append(H,M),e.append(M,G),e.append(i,J),e.append(i,E),e.append(E,W),e.append(W,se),e.append(W,ie),e.append(E,K),e.append(E,z),e.append(z,Q),e.append(Q,ne),e.append(z,le),e.append(z,F),e.append(F,L),e.append(L,r),e.append(L,v),e.append(i,k),j&&j.m(i,null),e.append(s,Y),e.append(s,ae),I&&I.m(ae,null),e.append(s,pe),e.append(s,re),e.append(re,B),e.append(t,me),de||(fe=e.listen(z,"mousedown",a[31]),de=!0)},p(b,R){R[0]&4096&&o!==(o=b[12]("transactionTypeTitle")+"")&&e.set_data(l,o),R[0]&4224&&d!==(d=b[12](`transactionType.${b[45].Type}`)+"")&&e.set_data(_,d),R[0]&4096&&w!==(w=b[12]("transactionDateTitle")+"")&&e.set_data(S,w),R[0]&160&&T!==(T=O.dayjs(b[45].DateTime).format(b[5])+"")&&e.set_data(f,T),R[0]&4096&&X!==(X=b[12]("transactionPaymentMethodTitle")+"")&&e.set_data(V,X),R[0]&128&&P!==(P=b[45].PaymentMethod+"")&&e.set_data(G,P),R[0]&4096&&Z!==(Z=b[12]("transactionCodeTitle")+"")&&e.set_data(se,Z),R[0]&128&&$!==($=b[45].Code+"")&&e.set_data(ne,$),R[0]&128&&C!==(C=b[45].Code)&&e.attr(z,"data-copy",C),b[45].RejectionNote?j?j.p(b,R):(j=ke(b),j.c(),j.m(i,null)):j&&(j.d(1),j=null),b[45].PaymentFields?I?I.p(b,R):(I=De(b),I.c(),I.m(ae,null)):I&&(I.d(1),I=null),R[0]&128&&!e.src_url_equal(B.src,oe=b[45].Logo)&&e.set_custom_element_data(B,"src",oe),R[0]&1024&&ce!==(ce=b[10].length)&&e.attr(n,"colspan",ce)},i(b){b&&(ue||e.add_render_callback(()=>{ue=e.create_in_transition(s,a[15],{}),ue.start()}))},o:e.noop,d(b){b&&e.detach(t),j&&j.d(),I&&I.d(),de=!1,fe()}}}function ke(a){let t,n,s=a[12]("transactionRejectionNoteTitle")+"",i,u,c,o,l=a[45].RejectionNote+"",h;return{c(){t=e.element("div"),n=e.element("span"),i=e.text(s),u=e.text(" :"),c=e.space(),o=e.element("span"),h=e.text(l),e.attr(n,"class","DetailsTitle svelte-1xsmrqu"),e.attr(o,"class","DetailsValue svelte-1xsmrqu"),e.attr(t,"class","DetailsRow svelte-1xsmrqu")},m(x,p){e.insert(x,t,p),e.append(t,n),e.append(n,i),e.append(n,u),e.append(t,c),e.append(t,o),e.append(o,h)},p(x,p){p[0]&4096&&s!==(s=x[12]("transactionRejectionNoteTitle")+"")&&e.set_data(i,s),p[0]&128&&l!==(l=x[45].RejectionNote+"")&&e.set_data(h,l)},d(x){x&&e.detach(t)}}}function De(a){let t,n=e.ensure_array_like(Object.entries(a[45].PaymentFields)),s=[];for(let i=0;i<n.length;i+=1)s[i]=Se(xe(a,n,i));return{c(){for(let i=0;i<s.length;i+=1)s[i].c();t=e.empty()},m(i,u){for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(i,u);e.insert(i,t,u)},p(i,u){if(u[0]&4224){n=e.ensure_array_like(Object.entries(i[45].PaymentFields));let c;for(c=0;c<n.length;c+=1){const o=xe(i,n,c);s[c]?s[c].p(o,u):(s[c]=Se(o),s[c].c(),s[c].m(t.parentNode,t))}for(;c<s.length;c+=1)s[c].d(1);s.length=n.length}},d(i){i&&e.detach(t),e.destroy_each(s,i)}}}function Se(a){let t,n,s=a[12](`transaction${a[48]}Detail`,{default:a[48]})+"",i,u,c,o,l=a[49]+"",h,x;return{c(){t=e.element("div"),n=e.element("span"),i=e.text(s),u=e.text(" :"),c=e.space(),o=e.element("span"),h=e.text(l),x=e.space(),e.attr(n,"class","DetailsTitle svelte-1xsmrqu"),e.attr(o,"class","DetailsValue svelte-1xsmrqu"),e.attr(t,"class","DetailsRow svelte-1xsmrqu")},m(p,d){e.insert(p,t,d),e.append(t,n),e.append(n,i),e.append(n,u),e.append(t,c),e.append(t,o),e.append(o,h),e.append(t,x)},p(p,d){d[0]&4224&&s!==(s=p[12](`transaction${p[48]}Detail`,{default:p[48]})+"")&&e.set_data(i,s),d[0]&128&&l!==(l=p[49]+"")&&e.set_data(h,l)},d(p){p&&e.detach(t)}}}function He(a){let t,n,s,i,u,c,o=e.ensure_array_like(a[10]),l=[];for(let d=0;d<o.length;d+=1)l[d]=be(ye(a,o,d));const h=d=>e.transition_out(l[d],1,1,()=>{l[d]=null});function x(){return a[30](a[47])}let p=a[11]===a[47]&&Ce(a);return{c(){t=e.element("tr");for(let d=0;d<l.length;d+=1)l[d].c();n=e.space(),p&&p.c(),s=e.empty(),e.attr(t,"class","TransactionHistoryRow svelte-1xsmrqu"),e.toggle_class(t,"AllowExpand",a[3]==="true"),e.toggle_class(t,"Expanded",a[11]===a[47])},m(d,_){e.insert(d,t,_);for(let g=0;g<l.length;g+=1)l[g]&&l[g].m(t,null);e.insert(d,n,_),p&&p.m(d,_),e.insert(d,s,_),i=!0,u||(c=e.listen(t,"click",x),u=!0)},p(d,_){if(a=d,_[0]&13744){o=e.ensure_array_like(a[10]);let g;for(g=0;g<o.length;g+=1){const y=ye(a,o,g);l[g]?(l[g].p(y,_),e.transition_in(l[g],1)):(l[g]=be(y),l[g].c(),e.transition_in(l[g],1),l[g].m(t,null))}for(e.group_outros(),g=o.length;g<l.length;g+=1)h(g);e.check_outros()}(!i||_[0]&8)&&e.toggle_class(t,"AllowExpand",a[3]==="true"),(!i||_[0]&2048)&&e.toggle_class(t,"Expanded",a[11]===a[47]),a[11]===a[47]?p?(p.p(a,_),_[0]&2048&&e.transition_in(p,1)):(p=Ce(a),p.c(),e.transition_in(p,1),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},i(d){if(!i){for(let _=0;_<o.length;_+=1)e.transition_in(l[_]);e.transition_in(p),i=!0}},o(d){l=l.filter(Boolean);for(let _=0;_<l.length;_+=1)e.transition_out(l[_]);i=!1},d(d){d&&(e.detach(t),e.detach(n),e.detach(s)),e.destroy_each(l,d),p&&p.d(d),u=!1,c()}}}function Be(a){let t,n,s,i;const u=[Fe,ze],c=[];function o(l,h){return l[7].length?0:l[9]?1:-1}return~(n=o(a))&&(s=c[n]=u[n](a)),{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","CashierTransactionHistoryContainer svelte-1xsmrqu")},m(l,h){e.insert(l,t,h),~n&&c[n].m(t,null),i=!0},p(l,h){let x=n;n=o(l),n===x?~n&&c[n].p(l,h):(s&&(e.group_outros(),e.transition_out(c[x],1,1,()=>{c[x]=null}),e.check_outros()),~n?(s=c[n],s?s.p(l,h):(s=c[n]=u[n](l),s.c()),e.transition_in(s,1),s.m(t,null)):s=null)},i(l){i||(e.transition_in(s),i=!0)},o(l){e.transition_out(s),i=!1},d(l){l&&e.detach(t),~n&&c[n].d()}}}function Xe(a,t,n){let s;e.component_subscribe(a,e.$format,r=>n(12,s=r));let{endpoint:i}=t,{session:u}=t,{lang:c="en"}=t,{customerid:o}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{translationurl:x}=t,{tooltipduration:p=1e3}=t,{txncount:d}=t,{mbsource:_=""}=t,{columns:g}=t,{page:y="0"}=t,{calculateprofit:D="false"}=t,{fromdate:w=O.dayjs().subtract(3,"month")}=t,{todate:S=O.dayjs()}=t,{isshorttransactionhistory:q="false"}=t,{dateformat:U="DD.MM.YYYY"}=t,{datetimeformat:m="DD.MM.YYYY HH:mm:ss"}=t,{userroles:T=""}=t,f=[],A=!1,H,N,X,V=!1,ee=[],te=[],M;var P;(function(r){r.Deposit="deposit",r.Withdraw="withdraw",r.Refund="refund",r.Unknown="unknown",r.TaxDeduction="taxDeduction"})(P||(P={}));const G=["Authorized","Success","Failed","Rejected","PendingApprovalStage1","PendingApprovalStage2","PendingApprovalStage3","PendingNotification","PendingOfflineNotification","PendingConfirmation"];var J;(function(r){r.Authorized="Authorized",r.Success="Success",r.Failed="Failed",r.Rejected="Rejected",r.Pending="Pending"})(J||(J={})),e.onMount(()=>()=>{});const E=()=>{let r=x;if(r)return fetch(r).then(v=>v.json()).then(v=>{Object.keys(v).forEach(C=>{_e(C,v[C])})}).catch(v=>{console.log(v)})};Object.keys(ve).forEach(r=>{_e(r,ve[r])});const W=()=>{Ae(c)},Z=()=>{const r=new URL(`${i}/api/v1/mm/payment/gettransactionshistory`),v=new Headers;v.append("accept","application/json"),v.append("Content-Type","application/json"),v.append("X-SessionId",`${u}`),ee.indexOf("MM_CHANNEL_BETA")!=-1&&v.append("MM_CHANNEL","BETA");const C={method:"POST",mode:"cors",headers:v,body:JSON.stringify({language:c,customerId:o,count:+d,page:+y,fromDate:w,toDate:S,statuses:{[P.Deposit]:G,[P.Withdraw]:G,[P.Refund]:["Unknown"],[P.TaxDeduction]:["Unknown"],[P.Unknown]:["Unknown"]},calculateProfit:D==="true"})};n(9,V=!0),fetch(r,C).then(k=>k.json()).then(k=>{n(7,f=se((k==null?void 0:k.items)||[]));const Y={type:"TransactionsLoaded",total:k.total};D==="true"&&(Y.statistic=k.statistic),window.postMessage(Y,window.location.href)}).catch(k=>console.log(k)).finally(()=>n(9,V=!1))},se=r=>(n(10,te=g.split(",")),n(11,M=null),r.map(v=>{let C=v.generalFields.status;return v.generalFields.status.toLowerCase().includes("pending")&&(C=J.Pending),{Code:v.generalFields.code,Date:v.generalFields.created,DateTime:v.generalFields.created,Status:C,Type:v.generalFields.type,Amount:v.generalFields.amount,Currency:v.generalFields.currency,PaymentMethod:v.generalFields.paymentMethod,RejectionNote:v.generalFields.rejectionNote,PaymentFields:v.paymentFields&&Object.keys(v.paymentFields).length>0?v.paymentFields:null,Logo:ie(v.logos)}})||[]),ie=r=>{if(r&&r.length){const v=r.find(k=>k.logoType==="Mobile"),C=r.find(k=>k.logoType==="Desktop");return v&&v.logoUrl||C&&C.logoUrl}},K=(r,v=!0)=>{const k=r.currentTarget.dataset.copy;k&&navigator.clipboard.writeText(k).then(()=>{v&&(n(8,A=!0),clearTimeout(N),N=setTimeout(()=>{n(8,A=!1)},2e3))}).catch(Y=>{console.error("Could not copy text: ",Y)})},z=r=>{q!=="true"&&n(11,M=M===r?null:r)},Q=(r,v)=>({delay:0,duration:250,css:C=>`overflow: hidden; transform: translateY(${(1-C)*20}px); opacity: ${C}`}),$=()=>{T.length>0&&(ee=T.split(","))},ne=r=>K(r),le=r=>z(r),F=r=>K(r,!1);function L(r){e.binding_callbacks[r?"unshift":"push"](()=>{H=r,n(6,H)})}return a.$$set=r=>{"endpoint"in r&&n(16,i=r.endpoint),"session"in r&&n(17,u=r.session),"lang"in r&&n(18,c=r.lang),"customerid"in r&&n(19,o=r.customerid),"clientstyling"in r&&n(0,l=r.clientstyling),"clientstylingurl"in r&&n(1,h=r.clientstylingurl),"translationurl"in r&&n(20,x=r.translationurl),"tooltipduration"in r&&n(2,p=r.tooltipduration),"txncount"in r&&n(21,d=r.txncount),"mbsource"in r&&n(22,_=r.mbsource),"columns"in r&&n(23,g=r.columns),"page"in r&&n(24,y=r.page),"calculateprofit"in r&&n(25,D=r.calculateprofit),"fromdate"in r&&n(26,w=r.fromdate),"todate"in r&&n(27,S=r.todate),"isshorttransactionhistory"in r&&n(3,q=r.isshorttransactionhistory),"dateformat"in r&&n(4,U=r.dateformat),"datetimeformat"in r&&n(5,m=r.datetimeformat),"userroles"in r&&n(28,T=r.userroles)},a.$$.update=()=>{a.$$.dirty[0]&262144&&c&&W(),a.$$.dirty[0]&65&&l&&H&&e.setClientStyling(H,l),a.$$.dirty[0]&66&&h&&H&&e.setClientStylingURL(H,h),a.$$.dirty[0]&252641280&&i&&u&&o&&c&&w&&S&&y&&D&&Z(),a.$$.dirty[0]&1048576&&x&&E(),a.$$.dirty[0]&4194368&&_&&H&&e.setStreamStyling(H,`${_}.Style`,X),a.$$.dirty[0]&268435456&&T&&$()},[l,h,p,q,U,m,H,f,A,V,te,M,s,K,z,Q,i,u,c,o,x,d,_,g,y,D,w,S,T,ne,le,F,L]}class Re extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Xe,Be,e.safe_not_equal,{endpoint:16,session:17,lang:18,customerid:19,clientstyling:0,clientstylingurl:1,translationurl:20,tooltipduration:2,txncount:21,mbsource:22,columns:23,page:24,calculateprofit:25,fromdate:26,todate:27,isshorttransactionhistory:3,dateformat:4,datetimeformat:5,userroles:28},Pe,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get customerid(){return this.$$.ctx[19]}set customerid(t){this.$$set({customerid:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get tooltipduration(){return this.$$.ctx[2]}set tooltipduration(t){this.$$set({tooltipduration:t}),e.flush()}get txncount(){return this.$$.ctx[21]}set txncount(t){this.$$set({txncount:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get columns(){return this.$$.ctx[23]}set columns(t){this.$$set({columns:t}),e.flush()}get page(){return this.$$.ctx[24]}set page(t){this.$$set({page:t}),e.flush()}get calculateprofit(){return this.$$.ctx[25]}set calculateprofit(t){this.$$set({calculateprofit:t}),e.flush()}get fromdate(){return this.$$.ctx[26]}set fromdate(t){this.$$set({fromdate:t}),e.flush()}get todate(){return this.$$.ctx[27]}set todate(t){this.$$set({todate:t}),e.flush()}get isshorttransactionhistory(){return this.$$.ctx[3]}set isshorttransactionhistory(t){this.$$set({isshorttransactionhistory:t}),e.flush()}get dateformat(){return this.$$.ctx[4]}set dateformat(t){this.$$set({dateformat:t}),e.flush()}get datetimeformat(){return this.$$.ctx[5]}set datetimeformat(t){this.$$set({datetimeformat:t}),e.flush()}get userroles(){return this.$$.ctx[28]}set userroles(t){this.$$set({userroles:t}),e.flush()}}e.create_custom_element(Re,{endpoint:{},session:{},lang:{},customerid:{},clientstyling:{},clientstylingurl:{},translationurl:{},tooltipduration:{},txncount:{},mbsource:{},columns:{},page:{},calculateprofit:{},fromdate:{},todate:{},isshorttransactionhistory:{},dateformat:{},datetimeformat:{},userroles:{}},[],[],!0);exports.default=Re;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),he=require("./CashierPage-ZwlEVQK1.cjs"),O=require("./CashierMethodDetails-DLCEFTpO.cjs");require("../stencil/ui-image-IJc7Zz_R.cjs");const je=require("./TxnTypeIcons-CTQXT_j5.cjs"),Ie=require("./TxnStatusIcon-CWkyVMIU.cjs");e.init({fallbackLocale:"en"});function _e(a,t){e.addMessages(a,t)}function Ae(a){e.$locale.set(a)}const ve={en:{transactionHistoryTitle:"Transaction History",transactionCodeTitle:"ID",transactionDateTitle:"Date",transactionDateTimeTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Status",transactionStatusIconTitle:"Status",transactionTypeIconTitle:"Type",copyTransactionId:"Transaction Id copied to clipboard",transactionAmountTitle:"Amount",transactionPaymentMethodTitle:"Payment Method",transactionRejectionNoteTitle:"Rejection Note",transactionStatus:{Authorized:"Authorized",Success:"Success",Failed:"Failed",Rejected:"Rejected",Pending:"Pending"},transactionType:{Deposit:"Deposit",Withdraw:"Withdraw"}},tr:{transactionHistoryTitle:"İşlem Geçmişi",transactionIdTitle:"İşlem ID'si",transactionDateTitle:"Tarih",transactionDateTimeTitle:"Tarih",transactionTypeTitle:"Tip",transactionStatusTitle:"Durum",transactionStatusIconTitle:"Durum",transactionTypeIconTitle:"Tip",transactionAmountTitle:"Tutar",transactionRejectionNoteTitle:"Reddetme Notu",transactionPaymentMethodTitle:"Ödeme Yöntemi",copyTransactionId:"İşlem ID’si kopyalandı",transactionStatus:{Authorized:"Onaylandı",Success:"Başarılı",Failed:"Başarısız",Rejected:"Reddedildi",Pending:"Beklemede"},transactionType:{Deposit:"Para Yatır",Withdraw:"Çekim"}},fr:{transactionHistoryTitle:"Historique des transactions",transactionCodeTitle:"ID",transactionDateTitle:"Date",transactionDateTimeTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Statut",transactionStatusIconTitle:"Statut",transactionTypeIconTitle:"Type",copyTransactionId:"ID de transaction copié dans le presse-papiers",transactionAmountTitle:"Montant",transactionPaymentMethodTitle:"Moyen de paiement",transactionRejectionNoteTitle:"Motif du rejet",transactionStatus:{Authorized:"Autorisé",Success:"Succès",Failed:"Échec",Rejected:"Rejeté",Pending:"En attente"},transactionType:{Deposit:"Dépôt",Withdraw:"Retrait"}}};function Pe(a){e.append_styles(a,"svelte-1xsmrqu",'.svelte-1xsmrqu.svelte-1xsmrqu,.svelte-1xsmrqu.svelte-1xsmrqu::before,.svelte-1xsmrqu.svelte-1xsmrqu::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1xsmrqu.svelte-1xsmrqu{width:50%;max-width:400px;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, rgba(249, 196, 5, 0.6078431373));transform:translateX(-50%);color:var(--emw--color-typography-button, #000000);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:2;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2)}.CashierTransactionHistoryContainer.svelte-1xsmrqu.svelte-1xsmrqu{position:relative;width:calc(100% - 20px);margin:auto}.CashierTransactionHistory.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1xsmrqu thead tr.svelte-1xsmrqu{color:var(--emw--color-primary, #F9C405);font-size:12px;height:50px;background-color:rgba(255, 255, 255, 0.05)}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:12px;font-weight:200}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu:not(:last-child):not(.Expanded){border-bottom:1px solid rgba(232, 233, 235, 0.2117647059)}.CashierTransactionHistory.svelte-1xsmrqu .TypeIcon.svelte-1xsmrqu{display:flex}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon svg.svelte-1xsmrqu{flex:0 0 auto;width:18px;height:18px}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon span.svelte-1xsmrqu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:80px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{max-width:250px;vertical-align:middle;height:40px;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu td:last-child .CashierTransactionHistoryStatusText.svelte-1xsmrqu{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:first-child{text-align:left;border-radius:10px 0 0 10px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:last-child{border-radius:0 10px 10px 0}.CashierTransactionHistory.svelte-1xsmrqu td .ExpandedContent.svelte-1xsmrqu{line-height:100%}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu{position:relative}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu:not(.ExpandedRow):not(.CashierTransactionHistoryHeader):not(.AllowExpand):hover{background:var(--emw--color-gray-50, #F7F8FA)}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1xsmrqu .CopyTooltip.svelte-1xsmrqu{width:100%}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:has(.Code){max-width:135px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1xsmrqu .CashierTransactionHistoryWrapper.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.column-TypeIcon.svelte-1xsmrqu:first-child{width:40px;text-align:left}.CashierTransactionHistory.svelte-1xsmrqu td.column-Code.svelte-1xsmrqu:first-child{max-width:60px;text-align:left}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{table-layout:fixed}.CashierTransactionHistory.svelte-1xsmrqu table td.svelte-1xsmrqu{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:100%;box-sizing:border-box;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:10px;z-index:1}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-black, #000000) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 60%, var(--emw--color-white, #f5f5f5) 95%);opacity:0.2}.CashierTransactionHistoryTitle.svelte-1xsmrqu.svelte-1xsmrqu{display:none;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.Code.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;line-height:inherit;display:inline}.StatusIcon.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-x-small, 6px)}.StatusIcon.svelte-1xsmrqu .StatusIconText.svelte-1xsmrqu{width:100px}.CashierTransactionHistoryStatus.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;gap:5px}.Amount.Withdraw.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"-"}.Amount.Deposit.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"+"}.Amount.Deposit.Success.svelte-1xsmrqu.svelte-1xsmrqu{color:var(--emw--color-primary-dark, #4b975d)}.CashierTransactionHistoryStatusText.svelte-1xsmrqu.svelte-1xsmrqu{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1xsmrqu.svelte-1xsmrqu{width:100%;overflow:auto}.CashierTransactionHistoryIcon.svelte-1xsmrqu.svelte-1xsmrqu{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}.TransactionHistoryRow.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer}.ShortHistory.svelte-1xsmrqu .CashierTransactionHistoryTitle.svelte-1xsmrqu{display:inline-block;margin:10px;font-weight:500}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu{cursor:auto}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu:hover{background:unset}.ExpandedContent.svelte-1xsmrqu.svelte-1xsmrqu{padding:var(--emw--spacing-large, 30px) var(--emw--spacing-small, 12px);position:relative;display:flex;flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.ExpandedContent.svelte-1xsmrqu .DetailsLogo.svelte-1xsmrqu{width:65px;position:absolute;top:var(--emw--spacing-large, 30px);right:var(--emw--spacing-small, 12px)}.StaticDetails.svelte-1xsmrqu.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;gap:var(--emw--spacing-small, 12px);width:100%}.StaticDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);padding-right:6px}.StaticDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 12px);font-weight:200;white-space:normal;overflow-wrap:break-word;max-width:100%;word-break:normal}.DetailsRow.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;flex-wrap:wrap;word-break:normal;overflow-wrap:break-word;white-space:normal}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code){max-width:250px}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code):hover{background:rgba(255, 255, 255, 0.2);border-radius:10px}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu{display:inline-flex;gap:6px;align-items:center;cursor:pointer;border-radius:var(--mmw--border-radius-medium-plus, 6px);padding:4px 6px;max-width:60%}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu:hover{background:var(--emw--color-primary, rgba(249, 196, 5, 0.4117647059))}.CopyCode.svelte-1xsmrqu span.svelte-1xsmrqu{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.CopyCode.svelte-1xsmrqu svg.svelte-1xsmrqu{flex-shrink:0}')}function ge(a,t,n){const s=a.slice();return s[45]=t[n],s[47]=n,s}function xe(a,t,n){const s=a.slice();return s[48]=t[n][0],s[49]=t[n][1],s}function ye(a,t,n){const s=a.slice();return s[52]=t[n],s[47]=n,s}function qe(a,t,n){const s=a.slice();return s[52]=t[n],s[47]=n,s}function ze(a){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",a[1]),e.set_custom_element_data(t,"clientstyling",a[0]),e.set_custom_element_data(t,"class","svelte-1xsmrqu")},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",n[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",n[0])},i:e.noop,o:e.noop,d(n){n&&e.detach(t)}}}function Fe(a){let t,n,s,i,u=a[12]("transactionHistoryTitle")+"",c,o,l,h,x,p,d,_,g,y=a[8]&&Te(a),D=e.ensure_array_like(a[10]),w=[];for(let m=0;m<D.length;m+=1)w[m]=we(qe(a,D,m));let S=e.ensure_array_like(a[7]),q=[];for(let m=0;m<S.length;m+=1)q[m]=He(ge(a,S,m));const U=m=>e.transition_out(q[m],1,1,()=>{q[m]=null});return{c(){t=e.element("div"),y&&y.c(),n=e.space(),s=e.element("div"),i=e.element("h3"),c=e.text(u),o=e.space(),l=e.element("div"),h=e.element("table"),x=e.element("thead"),p=e.element("tr");for(let m=0;m<w.length;m+=1)w[m].c();d=e.space(),_=e.element("tbody");for(let m=0;m<q.length;m+=1)q[m].c();e.attr(i,"class","CashierTransactionHistoryTitle svelte-1xsmrqu"),e.attr(p,"class","CashierTransactionHistoryHeader svelte-1xsmrqu"),e.attr(x,"class","svelte-1xsmrqu"),e.attr(_,"class","svelte-1xsmrqu"),e.attr(h,"class","svelte-1xsmrqu"),e.attr(l,"class","CashierTransactionHistoryContent svelte-1xsmrqu"),e.attr(s,"class","CashierTransactionHistoryWrapper svelte-1xsmrqu"),e.attr(t,"class","CashierTransactionHistory svelte-1xsmrqu"),e.toggle_class(t,"ShortHistory",a[3]==="true")},m(m,T){e.insert(m,t,T),y&&y.m(t,null),e.append(t,n),e.append(t,s),e.append(s,i),e.append(i,c),e.append(s,o),e.append(s,l),e.append(l,h),e.append(h,x),e.append(x,p);for(let f=0;f<w.length;f+=1)w[f]&&w[f].m(p,null);e.append(h,d),e.append(h,_);for(let f=0;f<q.length;f+=1)q[f]&&q[f].m(_,null);a[32](t),g=!0},p(m,T){if(m[8]?y?(y.p(m,T),T[0]&256&&e.transition_in(y,1)):(y=Te(m),y.c(),e.transition_in(y,1),y.m(t,n)):y&&(e.group_outros(),e.transition_out(y,1,1,()=>{y=null}),e.check_outros()),(!g||T[0]&4096)&&u!==(u=m[12]("transactionHistoryTitle")+"")&&e.set_data(c,u),T[0]&5120){D=e.ensure_array_like(m[10]);let f;for(f=0;f<D.length;f+=1){const A=qe(m,D,f);w[f]?w[f].p(A,T):(w[f]=we(A),w[f].c(),w[f].m(p,null))}for(;f<w.length;f+=1)w[f].d(1);w.length=D.length}if(T[0]&32184){S=e.ensure_array_like(m[7]);let f;for(f=0;f<S.length;f+=1){const A=ge(m,S,f);q[f]?(q[f].p(A,T),e.transition_in(q[f],1)):(q[f]=He(A),q[f].c(),e.transition_in(q[f],1),q[f].m(_,null))}for(e.group_outros(),f=S.length;f<q.length;f+=1)U(f);e.check_outros()}(!g||T[0]&8)&&e.toggle_class(t,"ShortHistory",m[3]==="true")},i(m){if(!g){e.transition_in(y);for(let T=0;T<S.length;T+=1)e.transition_in(q[T]);g=!0}},o(m){e.transition_out(y),q=q.filter(Boolean);for(let T=0;T<q.length;T+=1)e.transition_out(q[T]);g=!1},d(m){m&&e.detach(t),y&&y.d(),e.destroy_each(w,m),e.destroy_each(q,m),a[32](null)}}}function Te(a){let t,n=a[12]("copyTransactionId")+"",s,i,u,c;return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","CopyTooltip svelte-1xsmrqu")},m(o,l){e.insert(o,t,l),e.append(t,s),c=!0},p(o,l){a=o,(!c||l[0]&4096)&&n!==(n=a[12]("copyTransactionId")+"")&&e.set_data(s,n)},i(o){c||(o&&e.add_render_callback(()=>{c&&(u&&u.end(1),i=e.create_in_transition(t,he.fade,{duration:100}),i.start())}),c=!0)},o(o){i&&i.invalidate(),o&&(u=e.create_out_transition(t,he.fade,{duration:a[2]})),c=!1},d(o){o&&e.detach(t),o&&u&&u.end()}}}function we(a){let t,n=a[12](`transaction${a[52]}Title`)+"",s;return{c(){t=e.element("td"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&5120&&n!==(n=i[12](`transaction${i[52]}Title`)+"")&&e.set_data(s,n)},d(i){i&&e.detach(t)}}}function Me(a){let t,n=a[45][a[52]]+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&1152&&n!==(n=i[45][i[52]]+"")&&e.set_data(s,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function Ne(a){let t=O.dayjs(a[45].DateTime).format(a[5])+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&160&&t!==(t=O.dayjs(s[45].DateTime).format(s[5])+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Ee(a){let t=O.dayjs(a[45].Date).format(a[4])+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&144&&t!==(t=O.dayjs(s[45].Date).format(s[4])+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Le(a){let t=a[12](`transactionStatus.${a[45].Status}`)+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&4224&&t!==(t=s[12](`transactionStatus.${s[45].Status}`)+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Oe(a){let t,n,s,i=a[12](`transactionStatus.${a[45].Status}`)+"",u,c;return t=new Ie.TxnStatusIcon({props:{status:a[45].Status}}),{c(){e.create_component(t.$$.fragment),n=e.space(),s=e.element("span"),u=e.text(i),e.attr(s,"class","StatusIconText svelte-1xsmrqu")},m(o,l){e.mount_component(t,o,l),e.insert(o,n,l),e.insert(o,s,l),e.append(s,u),c=!0},p(o,l){const h={};l[0]&128&&(h.status=o[45].Status),t.$set(h),(!c||l[0]&4224)&&i!==(i=o[12](`transactionStatus.${o[45].Status}`)+"")&&e.set_data(u,i)},i(o){c||(e.transition_in(t.$$.fragment,o),c=!0)},o(o){e.transition_out(t.$$.fragment,o),c=!1},d(o){o&&(e.detach(n),e.detach(s)),e.destroy_component(t,o)}}}function Ue(a){let t,n=a[45].Amount+"",s,i,u=a[45].Currency+"",c,o;return{c(){t=e.element("span"),s=e.text(n),i=e.space(),c=e.text(u),e.attr(t,"class",o="Amount "+a[45].Type+" "+a[45].Status+" svelte-1xsmrqu")},m(l,h){e.insert(l,t,h),e.append(t,s),e.append(t,i),e.append(t,c)},p(l,h){h[0]&128&&n!==(n=l[45].Amount+"")&&e.set_data(s,n),h[0]&128&&u!==(u=l[45].Currency+"")&&e.set_data(c,u),h[0]&128&&o!==(o="Amount "+l[45].Type+" "+l[45].Status+" svelte-1xsmrqu")&&e.attr(t,"class",o)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Ve(a){let t,n=a[45].Code+"",s,i,u,c;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"data-copy",i=a[45].Code),e.attr(t,"class","svelte-1xsmrqu"),e.toggle_class(t,"copied",a[8])},m(o,l){e.insert(o,t,l),e.append(t,s),u||(c=e.listen(t,"click",a[29]),u=!0)},p(o,l){l[0]&128&&n!==(n=o[45].Code+"")&&e.set_data(s,n),l[0]&128&&i!==(i=o[45].Code)&&e.attr(t,"data-copy",i),l[0]&256&&e.toggle_class(t,"copied",o[8])},i:e.noop,o:e.noop,d(o){o&&e.detach(t),u=!1,c()}}}function We(a){let t,n;return t=new je.TxnTypeIcons({props:{type:a[45].Type}}),{c(){e.create_component(t.$$.fragment)},m(s,i){e.mount_component(t,s,i),n=!0},p(s,i){const u={};i[0]&128&&(u.type=s[45].Type),t.$set(u)},i(s){n||(e.transition_in(t.$$.fragment,s),n=!0)},o(s){e.transition_out(t.$$.fragment,s),n=!1},d(s){e.destroy_component(t,s)}}}function Ye(a){let t,n=a[12](`transactionType.${a[45].Type}`)+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&4224&&n!==(n=i[12](`transactionType.${i[45].Type}`)+"")&&e.set_data(s,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function be(a){let t,n,s,i,u,c,o,l;const h=[Ye,We,Ve,Ue,Oe,Le,Ee,Ne,Me],x=[];function p(d,_){return d[52]==="Type"?0:d[52]==="TypeIcon"?1:d[52]==="Code"?2:d[52]==="Amount"?3:d[52]==="StatusIcon"?4:d[52]==="Status"?5:d[52]==="Date"?6:d[52]==="DateTime"?7:8}return s=p(a),i=x[s]=h[s](a),{c(){t=e.element("td"),n=e.element("span"),i.c(),c=e.space(),e.attr(n,"class",u=e.null_to_empty(a[52])+" svelte-1xsmrqu"),e.attr(t,"class",o=e.null_to_empty(`column-${a[52]}`)+" svelte-1xsmrqu")},m(d,_){e.insert(d,t,_),e.append(t,n),x[s].m(n,null),e.append(t,c),l=!0},p(d,_){let g=s;s=p(d),s===g?x[s].p(d,_):(e.group_outros(),e.transition_out(x[g],1,1,()=>{x[g]=null}),e.check_outros(),i=x[s],i?i.p(d,_):(i=x[s]=h[s](d),i.c()),e.transition_in(i,1),i.m(n,null)),(!l||_[0]&1024&&u!==(u=e.null_to_empty(d[52])+" svelte-1xsmrqu"))&&e.attr(n,"class",u),(!l||_[0]&1024&&o!==(o=e.null_to_empty(`column-${d[52]}`)+" svelte-1xsmrqu"))&&e.attr(t,"class",o)},i(d){l||(e.transition_in(i),l=!0)},o(d){e.transition_out(i),l=!1},d(d){d&&e.detach(t),x[s].d()}}}function Ce(a){let t,n,s,i,u,c,o=a[12]("transactionTypeTitle")+"",l,h,x,p,d=a[12](`transactionType.${a[45].Type}`)+"",_,g,y,D,w=a[12]("transactionDateTitle")+"",S,q,U,m,T=O.dayjs(a[45].DateTime).format(a[5])+"",f,A,H,N,X=a[12]("transactionPaymentMethodTitle")+"",V,ee,te,M,P=a[45].PaymentMethod+"",G,J,E,W,Z=a[12]("transactionCodeTitle")+"",se,ie,K,z,Q,$=a[45].Code+"",ne,le,F,L,r,v,C,k,Y,ae,pe,re,B,oe,ue,ce,me,de,fe,j=a[45].RejectionNote&&ke(a),I=a[45].PaymentFields&&De(a);return{c(){t=e.element("tr"),n=e.element("td"),s=e.element("div"),i=e.element("div"),u=e.element("div"),c=e.element("span"),l=e.text(o),h=e.text(" :"),x=e.space(),p=e.element("span"),_=e.text(d),g=e.space(),y=e.element("div"),D=e.element("span"),S=e.text(w),q=e.text(" :"),U=e.space(),m=e.element("span"),f=e.text(T),A=e.space(),H=e.element("div"),N=e.element("span"),V=e.text(X),ee=e.text(" :"),te=e.space(),M=e.element("span"),G=e.text(P),J=e.space(),E=e.element("div"),W=e.element("span"),se=e.text(Z),ie=e.text(" :"),K=e.space(),z=e.element("span"),Q=e.element("span"),ne=e.text($),le=e.space(),F=e.svg_element("svg"),L=e.svg_element("g"),r=e.svg_element("path"),v=e.svg_element("path"),k=e.space(),j&&j.c(),Y=e.space(),ae=e.element("div"),I&&I.c(),pe=e.space(),re=e.element("div"),B=e.element("ui-image"),me=e.space(),e.attr(c,"class","DetailsTitle svelte-1xsmrqu"),e.attr(p,"class","DetailsValue svelte-1xsmrqu"),e.attr(u,"class","DetailsRow svelte-1xsmrqu"),e.attr(D,"class","DetailsTitle svelte-1xsmrqu"),e.attr(m,"class","DetailsValue svelte-1xsmrqu"),e.attr(y,"class","DetailsRow svelte-1xsmrqu"),e.attr(N,"class","DetailsTitle svelte-1xsmrqu"),e.attr(M,"class","DetailsValue svelte-1xsmrqu"),e.attr(H,"class","DetailsRow svelte-1xsmrqu"),e.attr(W,"class","DetailsTitle svelte-1xsmrqu"),e.attr(Q,"class","svelte-1xsmrqu"),e.attr(r,"d","M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"),e.attr(r,"stroke","#666666"),e.attr(r,"stroke-linecap","round"),e.attr(r,"stroke-linejoin","round"),e.attr(r,"class","svelte-1xsmrqu"),e.attr(v,"d","M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"),e.attr(v,"stroke","#666666"),e.attr(v,"stroke-linecap","round"),e.attr(v,"stroke-linejoin","round"),e.attr(v,"class","svelte-1xsmrqu"),e.attr(L,"opacity","0.5"),e.attr(L,"class","svelte-1xsmrqu"),e.attr(F,"xmlns","http://www.w3.org/2000/svg"),e.attr(F,"width","19"),e.attr(F,"height","19"),e.attr(F,"viewBox","0 0 19 19"),e.attr(F,"fill","none"),e.attr(F,"class","svelte-1xsmrqu"),e.attr(z,"data-copy",C=a[45].Code),e.attr(z,"class","DetailsValue CopyCode svelte-1xsmrqu"),e.attr(E,"class","DetailsRow svelte-1xsmrqu"),e.attr(i,"class","StaticDetails svelte-1xsmrqu"),e.attr(ae,"class","DynamicDetails svelte-1xsmrqu"),e.src_url_equal(B.src,oe=a[45].Logo)||e.set_custom_element_data(B,"src",oe),e.set_custom_element_data(B,"class","svelte-1xsmrqu"),e.attr(re,"class","DetailsLogo svelte-1xsmrqu"),e.attr(s,"class","ExpandedContent svelte-1xsmrqu"),e.attr(n,"colspan",ce=a[10].length),e.attr(n,"class","no-padding svelte-1xsmrqu"),e.attr(t,"class","ExpandedRow svelte-1xsmrqu")},m(b,R){e.insert(b,t,R),e.append(t,n),e.append(n,s),e.append(s,i),e.append(i,u),e.append(u,c),e.append(c,l),e.append(c,h),e.append(u,x),e.append(u,p),e.append(p,_),e.append(i,g),e.append(i,y),e.append(y,D),e.append(D,S),e.append(D,q),e.append(y,U),e.append(y,m),e.append(m,f),e.append(i,A),e.append(i,H),e.append(H,N),e.append(N,V),e.append(N,ee),e.append(H,te),e.append(H,M),e.append(M,G),e.append(i,J),e.append(i,E),e.append(E,W),e.append(W,se),e.append(W,ie),e.append(E,K),e.append(E,z),e.append(z,Q),e.append(Q,ne),e.append(z,le),e.append(z,F),e.append(F,L),e.append(L,r),e.append(L,v),e.append(i,k),j&&j.m(i,null),e.append(s,Y),e.append(s,ae),I&&I.m(ae,null),e.append(s,pe),e.append(s,re),e.append(re,B),e.append(t,me),de||(fe=e.listen(z,"mousedown",a[31]),de=!0)},p(b,R){R[0]&4096&&o!==(o=b[12]("transactionTypeTitle")+"")&&e.set_data(l,o),R[0]&4224&&d!==(d=b[12](`transactionType.${b[45].Type}`)+"")&&e.set_data(_,d),R[0]&4096&&w!==(w=b[12]("transactionDateTitle")+"")&&e.set_data(S,w),R[0]&160&&T!==(T=O.dayjs(b[45].DateTime).format(b[5])+"")&&e.set_data(f,T),R[0]&4096&&X!==(X=b[12]("transactionPaymentMethodTitle")+"")&&e.set_data(V,X),R[0]&128&&P!==(P=b[45].PaymentMethod+"")&&e.set_data(G,P),R[0]&4096&&Z!==(Z=b[12]("transactionCodeTitle")+"")&&e.set_data(se,Z),R[0]&128&&$!==($=b[45].Code+"")&&e.set_data(ne,$),R[0]&128&&C!==(C=b[45].Code)&&e.attr(z,"data-copy",C),b[45].RejectionNote?j?j.p(b,R):(j=ke(b),j.c(),j.m(i,null)):j&&(j.d(1),j=null),b[45].PaymentFields?I?I.p(b,R):(I=De(b),I.c(),I.m(ae,null)):I&&(I.d(1),I=null),R[0]&128&&!e.src_url_equal(B.src,oe=b[45].Logo)&&e.set_custom_element_data(B,"src",oe),R[0]&1024&&ce!==(ce=b[10].length)&&e.attr(n,"colspan",ce)},i(b){b&&(ue||e.add_render_callback(()=>{ue=e.create_in_transition(s,a[15],{}),ue.start()}))},o:e.noop,d(b){b&&e.detach(t),j&&j.d(),I&&I.d(),de=!1,fe()}}}function ke(a){let t,n,s=a[12]("transactionRejectionNoteTitle")+"",i,u,c,o,l=a[45].RejectionNote+"",h;return{c(){t=e.element("div"),n=e.element("span"),i=e.text(s),u=e.text(" :"),c=e.space(),o=e.element("span"),h=e.text(l),e.attr(n,"class","DetailsTitle svelte-1xsmrqu"),e.attr(o,"class","DetailsValue svelte-1xsmrqu"),e.attr(t,"class","DetailsRow svelte-1xsmrqu")},m(x,p){e.insert(x,t,p),e.append(t,n),e.append(n,i),e.append(n,u),e.append(t,c),e.append(t,o),e.append(o,h)},p(x,p){p[0]&4096&&s!==(s=x[12]("transactionRejectionNoteTitle")+"")&&e.set_data(i,s),p[0]&128&&l!==(l=x[45].RejectionNote+"")&&e.set_data(h,l)},d(x){x&&e.detach(t)}}}function De(a){let t,n=e.ensure_array_like(Object.entries(a[45].PaymentFields)),s=[];for(let i=0;i<n.length;i+=1)s[i]=Se(xe(a,n,i));return{c(){for(let i=0;i<s.length;i+=1)s[i].c();t=e.empty()},m(i,u){for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(i,u);e.insert(i,t,u)},p(i,u){if(u[0]&4224){n=e.ensure_array_like(Object.entries(i[45].PaymentFields));let c;for(c=0;c<n.length;c+=1){const o=xe(i,n,c);s[c]?s[c].p(o,u):(s[c]=Se(o),s[c].c(),s[c].m(t.parentNode,t))}for(;c<s.length;c+=1)s[c].d(1);s.length=n.length}},d(i){i&&e.detach(t),e.destroy_each(s,i)}}}function Se(a){let t,n,s=a[12](`transaction${a[48]}Detail`,{default:a[48]})+"",i,u,c,o,l=a[49]+"",h,x;return{c(){t=e.element("div"),n=e.element("span"),i=e.text(s),u=e.text(" :"),c=e.space(),o=e.element("span"),h=e.text(l),x=e.space(),e.attr(n,"class","DetailsTitle svelte-1xsmrqu"),e.attr(o,"class","DetailsValue svelte-1xsmrqu"),e.attr(t,"class","DetailsRow svelte-1xsmrqu")},m(p,d){e.insert(p,t,d),e.append(t,n),e.append(n,i),e.append(n,u),e.append(t,c),e.append(t,o),e.append(o,h),e.append(t,x)},p(p,d){d[0]&4224&&s!==(s=p[12](`transaction${p[48]}Detail`,{default:p[48]})+"")&&e.set_data(i,s),d[0]&128&&l!==(l=p[49]+"")&&e.set_data(h,l)},d(p){p&&e.detach(t)}}}function He(a){let t,n,s,i,u,c,o=e.ensure_array_like(a[10]),l=[];for(let d=0;d<o.length;d+=1)l[d]=be(ye(a,o,d));const h=d=>e.transition_out(l[d],1,1,()=>{l[d]=null});function x(){return a[30](a[47])}let p=a[11]===a[47]&&Ce(a);return{c(){t=e.element("tr");for(let d=0;d<l.length;d+=1)l[d].c();n=e.space(),p&&p.c(),s=e.empty(),e.attr(t,"class","TransactionHistoryRow svelte-1xsmrqu"),e.toggle_class(t,"AllowExpand",a[3]==="true"),e.toggle_class(t,"Expanded",a[11]===a[47])},m(d,_){e.insert(d,t,_);for(let g=0;g<l.length;g+=1)l[g]&&l[g].m(t,null);e.insert(d,n,_),p&&p.m(d,_),e.insert(d,s,_),i=!0,u||(c=e.listen(t,"click",x),u=!0)},p(d,_){if(a=d,_[0]&13744){o=e.ensure_array_like(a[10]);let g;for(g=0;g<o.length;g+=1){const y=ye(a,o,g);l[g]?(l[g].p(y,_),e.transition_in(l[g],1)):(l[g]=be(y),l[g].c(),e.transition_in(l[g],1),l[g].m(t,null))}for(e.group_outros(),g=o.length;g<l.length;g+=1)h(g);e.check_outros()}(!i||_[0]&8)&&e.toggle_class(t,"AllowExpand",a[3]==="true"),(!i||_[0]&2048)&&e.toggle_class(t,"Expanded",a[11]===a[47]),a[11]===a[47]?p?(p.p(a,_),_[0]&2048&&e.transition_in(p,1)):(p=Ce(a),p.c(),e.transition_in(p,1),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},i(d){if(!i){for(let _=0;_<o.length;_+=1)e.transition_in(l[_]);e.transition_in(p),i=!0}},o(d){l=l.filter(Boolean);for(let _=0;_<l.length;_+=1)e.transition_out(l[_]);i=!1},d(d){d&&(e.detach(t),e.detach(n),e.detach(s)),e.destroy_each(l,d),p&&p.d(d),u=!1,c()}}}function Be(a){let t,n,s,i;const u=[Fe,ze],c=[];function o(l,h){return l[7].length?0:l[9]?1:-1}return~(n=o(a))&&(s=c[n]=u[n](a)),{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","CashierTransactionHistoryContainer svelte-1xsmrqu")},m(l,h){e.insert(l,t,h),~n&&c[n].m(t,null),i=!0},p(l,h){let x=n;n=o(l),n===x?~n&&c[n].p(l,h):(s&&(e.group_outros(),e.transition_out(c[x],1,1,()=>{c[x]=null}),e.check_outros()),~n?(s=c[n],s?s.p(l,h):(s=c[n]=u[n](l),s.c()),e.transition_in(s,1),s.m(t,null)):s=null)},i(l){i||(e.transition_in(s),i=!0)},o(l){e.transition_out(s),i=!1},d(l){l&&e.detach(t),~n&&c[n].d()}}}function Xe(a,t,n){let s;e.component_subscribe(a,e.$format,r=>n(12,s=r));let{endpoint:i}=t,{session:u}=t,{lang:c="en"}=t,{customerid:o}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{translationurl:x}=t,{tooltipduration:p=1e3}=t,{txncount:d}=t,{mbsource:_=""}=t,{columns:g}=t,{page:y="0"}=t,{calculateprofit:D="false"}=t,{fromdate:w=O.dayjs().subtract(3,"month")}=t,{todate:S=O.dayjs()}=t,{isshorttransactionhistory:q="false"}=t,{dateformat:U="DD.MM.YYYY"}=t,{datetimeformat:m="DD.MM.YYYY HH:mm:ss"}=t,{userroles:T=""}=t,f=[],A=!1,H,N,X,V=!1,ee=[],te=[],M;var P;(function(r){r.Deposit="deposit",r.Withdraw="withdraw",r.Refund="refund",r.Unknown="unknown",r.TaxDeduction="taxDeduction"})(P||(P={}));const G=["Authorized","Success","Failed","Rejected","PendingApprovalStage1","PendingApprovalStage2","PendingApprovalStage3","PendingNotification","PendingOfflineNotification","PendingConfirmation"];var J;(function(r){r.Authorized="Authorized",r.Success="Success",r.Failed="Failed",r.Rejected="Rejected",r.Pending="Pending"})(J||(J={})),e.onMount(()=>()=>{});const E=()=>{let r=x;if(r)return fetch(r).then(v=>v.json()).then(v=>{Object.keys(v).forEach(C=>{_e(C,v[C])})}).catch(v=>{console.log(v)})};Object.keys(ve).forEach(r=>{_e(r,ve[r])});const W=()=>{Ae(c)},Z=()=>{const r=new URL(`${i}/api/v1/mm/payment/gettransactionshistory`),v=new Headers;v.append("accept","application/json"),v.append("Content-Type","application/json"),v.append("X-SessionId",`${u}`),ee.indexOf("MM_CHANNEL_BETA")!=-1&&v.append("MM_CHANNEL","BETA");const C={method:"POST",mode:"cors",headers:v,body:JSON.stringify({language:c,customerId:o,count:+d,page:+y,fromDate:w,toDate:S,statuses:{[P.Deposit]:G,[P.Withdraw]:G,[P.Refund]:["Unknown"],[P.TaxDeduction]:["Unknown"],[P.Unknown]:["Unknown"]},calculateProfit:D==="true"})};n(9,V=!0),fetch(r,C).then(k=>k.json()).then(k=>{n(7,f=se((k==null?void 0:k.items)||[]));const Y={type:"TransactionsLoaded",total:k.total};D==="true"&&(Y.statistic=k.statistic),window.postMessage(Y,window.location.href)}).catch(k=>console.log(k)).finally(()=>n(9,V=!1))},se=r=>(n(10,te=g.split(",")),n(11,M=null),r.map(v=>{let C=v.generalFields.status;return v.generalFields.status.toLowerCase().includes("pending")&&(C=J.Pending),{Code:v.generalFields.code,Date:v.generalFields.created,DateTime:v.generalFields.created,Status:C,Type:v.generalFields.type,Amount:v.generalFields.amount,Currency:v.generalFields.currency,PaymentMethod:v.generalFields.paymentMethod,RejectionNote:v.generalFields.rejectionNote,PaymentFields:v.paymentFields&&Object.keys(v.paymentFields).length>0?v.paymentFields:null,Logo:ie(v.logos)}})||[]),ie=r=>{if(r&&r.length){const v=r.find(k=>k.logoType==="Mobile"),C=r.find(k=>k.logoType==="Desktop");return v&&v.logoUrl||C&&C.logoUrl}},K=(r,v=!0)=>{const k=r.currentTarget.dataset.copy;k&&navigator.clipboard.writeText(k).then(()=>{v&&(n(8,A=!0),clearTimeout(N),N=setTimeout(()=>{n(8,A=!1)},2e3))}).catch(Y=>{console.error("Could not copy text: ",Y)})},z=r=>{q!=="true"&&n(11,M=M===r?null:r)},Q=(r,v)=>({delay:0,duration:250,css:C=>`overflow: hidden; transform: translateY(${(1-C)*20}px); opacity: ${C}`}),$=()=>{T.length>0&&(ee=T.split(","))},ne=r=>K(r),le=r=>z(r),F=r=>K(r,!1);function L(r){e.binding_callbacks[r?"unshift":"push"](()=>{H=r,n(6,H)})}return a.$$set=r=>{"endpoint"in r&&n(16,i=r.endpoint),"session"in r&&n(17,u=r.session),"lang"in r&&n(18,c=r.lang),"customerid"in r&&n(19,o=r.customerid),"clientstyling"in r&&n(0,l=r.clientstyling),"clientstylingurl"in r&&n(1,h=r.clientstylingurl),"translationurl"in r&&n(20,x=r.translationurl),"tooltipduration"in r&&n(2,p=r.tooltipduration),"txncount"in r&&n(21,d=r.txncount),"mbsource"in r&&n(22,_=r.mbsource),"columns"in r&&n(23,g=r.columns),"page"in r&&n(24,y=r.page),"calculateprofit"in r&&n(25,D=r.calculateprofit),"fromdate"in r&&n(26,w=r.fromdate),"todate"in r&&n(27,S=r.todate),"isshorttransactionhistory"in r&&n(3,q=r.isshorttransactionhistory),"dateformat"in r&&n(4,U=r.dateformat),"datetimeformat"in r&&n(5,m=r.datetimeformat),"userroles"in r&&n(28,T=r.userroles)},a.$$.update=()=>{a.$$.dirty[0]&262144&&c&&W(),a.$$.dirty[0]&65&&l&&H&&e.setClientStyling(H,l),a.$$.dirty[0]&66&&h&&H&&e.setClientStylingURL(H,h),a.$$.dirty[0]&252641280&&i&&u&&o&&c&&w&&S&&y&&D&&Z(),a.$$.dirty[0]&1048576&&x&&E(),a.$$.dirty[0]&4194368&&_&&H&&e.setStreamStyling(H,`${_}.Style`,X),a.$$.dirty[0]&268435456&&T&&$()},[l,h,p,q,U,m,H,f,A,V,te,M,s,K,z,Q,i,u,c,o,x,d,_,g,y,D,w,S,T,ne,le,F,L]}class Re extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Xe,Be,e.safe_not_equal,{endpoint:16,session:17,lang:18,customerid:19,clientstyling:0,clientstylingurl:1,translationurl:20,tooltipduration:2,txncount:21,mbsource:22,columns:23,page:24,calculateprofit:25,fromdate:26,todate:27,isshorttransactionhistory:3,dateformat:4,datetimeformat:5,userroles:28},Pe,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get customerid(){return this.$$.ctx[19]}set customerid(t){this.$$set({customerid:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get tooltipduration(){return this.$$.ctx[2]}set tooltipduration(t){this.$$set({tooltipduration:t}),e.flush()}get txncount(){return this.$$.ctx[21]}set txncount(t){this.$$set({txncount:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get columns(){return this.$$.ctx[23]}set columns(t){this.$$set({columns:t}),e.flush()}get page(){return this.$$.ctx[24]}set page(t){this.$$set({page:t}),e.flush()}get calculateprofit(){return this.$$.ctx[25]}set calculateprofit(t){this.$$set({calculateprofit:t}),e.flush()}get fromdate(){return this.$$.ctx[26]}set fromdate(t){this.$$set({fromdate:t}),e.flush()}get todate(){return this.$$.ctx[27]}set todate(t){this.$$set({todate:t}),e.flush()}get isshorttransactionhistory(){return this.$$.ctx[3]}set isshorttransactionhistory(t){this.$$set({isshorttransactionhistory:t}),e.flush()}get dateformat(){return this.$$.ctx[4]}set dateformat(t){this.$$set({dateformat:t}),e.flush()}get datetimeformat(){return this.$$.ctx[5]}set datetimeformat(t){this.$$set({datetimeformat:t}),e.flush()}get userroles(){return this.$$.ctx[28]}set userroles(t){this.$$set({userroles:t}),e.flush()}}e.create_custom_element(Re,{endpoint:{},session:{},lang:{},customerid:{},clientstyling:{},clientstylingurl:{},translationurl:{},tooltipduration:{},txncount:{},mbsource:{},columns:{},page:{},calculateprofit:{},fromdate:{},todate:{},isshorttransactionhistory:{},dateformat:{},datetimeformat:{},userroles:{}},[],[],!0);exports.default=Re;
|
package/components/{CashierTransactionHistory-BbYNhBtq.js → CashierTransactionHistory-Dt-gnylu.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as it, $ as at, i as lt, S as nt, b as rt, s as ot, f as I, c as ct, e as R, t as B, g as F, a6 as ye, a7 as _e, k as A, m as h, o as m, p as ut, q as mt, Z as $, a4 as He, v as H, W as ee, l as r, n as S, w, G as M, A as Q, y as dt, ae as ft, L as Ke, af as Qe, x as Ae, r as $e, ah as ke, z as Fe, X as De, ai as et, aj as tt, ak as st, B as pt, C as ht, D as vt, E as gt, F as xt } from "./CashierCarousel-DJXsZKF9.js";
|
|
2
|
-
import { f as Pe } from "./CashierPage-
|
|
3
|
-
import { d as te } from "./CashierMethodDetails-
|
|
2
|
+
import { f as Pe } from "./CashierPage-XewFlLFL.js";
|
|
3
|
+
import { d as te } from "./CashierMethodDetails-BrlBDyIX.js";
|
|
4
4
|
import "../stencil/ui-image-BsYHwNhO.js";
|
|
5
5
|
import { T as yt } from "./TxnTypeIcons-DhwUYw-o.js";
|
|
6
6
|
import { T as _t } from "./TxnStatusIcon-ssLhQR5N.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as Fe, i as Ee, $ as He, S as Re, b as Ie, s as Ue, f as A, c as je, G as $, e as O, W as L, k as T, m as P, o as c, p as ee, q as Ne, N as We, y as Xe, A as X, Z as ie, a4 as Ye, v as fe, a3 as te, l as p, a8 as Ke, x as ue, X as Y, n as H, w as de, L as Ze, B as Ge, C as Je, D as Qe, E as $e, F as ei } from "./CashierCarousel-DwrGzk7c.js";
|
|
2
|
-
import { d as re, u as ii, x as ti } from "./CashierMethodDetails-
|
|
2
|
+
import { d as re, u as ii, x as ti } from "./CashierMethodDetails-DU55y4Rq.js";
|
|
3
3
|
function oe(r, i) {
|
|
4
4
|
Fe(r, i);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as Fe, i as Ee, $ as He, S as Re, b as Ie, s as Ue, f as A, c as je, G as $, e as L, W as B, k as O, m as b, o as c, p as ee, q as Ne, N as We, y as Xe, A as W, Z as ie, a4 as Ye, v as fe, a3 as te, l as m, a8 as Ke, x as ue, X, n as E, w as de, L as Ze, B as Ge, C as Je, D as Qe, E as $e, F as ei } from "./CashierCarousel-DJXsZKF9.js";
|
|
2
|
-
import { d as re, u as ii, x as ti } from "./CashierMethodDetails-
|
|
2
|
+
import { d as re, u as ii, x as ti } from "./CashierMethodDetails-BrlBDyIX.js";
|
|
3
3
|
function oe(r, i) {
|
|
4
4
|
Fe(r, i);
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),H=require("./CashierMethodDetails-KWA_Sq4l.cjs");function W(o,t){e.addMessages(o,t)}function _e(o){e.init({fallbackLocale:"en"}),e.$locale.set(o)}const Y={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},fr:{verificationsRequired:"Vérifications requises","verification.video.how-to":"Comment vérifier votre identité ?","verification.idenfy.referred-awaiting":"La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.","verification.message.failed":"Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.","verification.idenfy.link-name":"lien","verification.idenfy.in-progress":"Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.","verification.shuftipro.in-progress.Biometric":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.","verification.shuftipro.in-progress.Biometric.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.","verification.shuftipro.link-name.Biometric":"Biométrique","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Justificatif de domicile","verification.shuftipro.validations-started":"Après avoir terminé la vérification, veuillez procéder à la transaction."}};function be(o){e.append_styles(o,"svelte-1kmyt1l",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:var(--verifications-list-height, 0);transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function X(o,t,r){const s=o.slice();return s[58]=t[r],s}function Pe(o){let t,r=o[3].length>0&&K(o);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=K(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function Ce(o){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",o[1]),e.set_custom_element_data(t,"clientstyling",o[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function K(o){let t,r,s,a,l,u,v,P=o[9]("verificationsRequired")+"",w,_,C,D,k,g,b,B,O=`${o[8]}px`,z,x,S=e.ensure_array_like(o[3]),p=[];for(let f=0;f<S.length;f+=1)p[f]=J(X(o,S,f));let m=o[6]&&Z(o);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),u=e.space(),v=e.element("p"),w=e.text(P),_=e.space(),C=e.element("span"),C.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',D=e.space(),k=e.element("div"),g=e.element("div");for(let f=0;f<p.length;f+=1)p[f].c();b=e.space(),m&&m.c(),e.attr(s,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(C,"class","CashierVerificationChevron"),e.toggle_class(C,"ShowVerifications",o[4]),e.attr(t,"class","VerificationsHeader"),e.attr(g,"class","VerificationsListInner"),e.add_render_callback(()=>o[21].call(g)),e.attr(k,"class","VerificationsList"),e.toggle_class(k,"ShowVerifications",o[4]),e.set_style(k,"--verifications-list-height",O)},m(f,y){e.insert(f,t,y),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,u),e.append(t,v),e.append(v,w),e.append(t,_),e.append(t,C),e.insert(f,D,y),e.insert(f,k,y),e.append(k,g);for(let d=0;d<p.length;d+=1)p[d]&&p[d].m(g,null);e.append(g,b),m&&m.m(g,null),B=e.add_iframe_resize_listener(g,o[21].bind(g)),z||(x=e.listen(t,"click",o[10]),z=!0)},p(f,y){if(y[0]&512&&P!==(P=f[9]("verificationsRequired")+"")&&e.set_data(w,P),y[0]&16&&e.toggle_class(C,"ShowVerifications",f[4]),y[0]&8){S=e.ensure_array_like(f[3]);let d;for(d=0;d<S.length;d+=1){const q=X(f,S,d);p[d]?p[d].p(q,y):(p[d]=J(q),p[d].c(),p[d].m(g,b))}for(;d<p.length;d+=1)p[d].d(1);p.length=S.length}f[6]?m?m.p(f,y):(m=Z(f),m.c(),m.m(g,null)):m&&(m.d(1),m=null),y[0]&16&&e.toggle_class(k,"ShowVerifications",f[4]),y[0]&256&&O!==(O=`${f[8]}px`)&&e.set_style(k,"--verifications-list-height",O)},d(f){f&&(e.detach(t),e.detach(D),e.detach(k)),e.destroy_each(p,f),m&&m.d(),B(),z=!1,x()}}}function J(o){let t,r,s,a,l=o[58]+"";return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',s=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(u,v){e.insert(u,t,v),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(u,v){v[0]&8&&l!==(l=u[58]+"")&&(a.innerHTML=l)},d(u){u&&e.detach(t)}}}function Z(o){let t,r,s,a,l=o[9]("verification.video.how-to")+"",u,v,P;return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',s=e.space(),a=e.element("div"),u=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",o[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,_){e.insert(w,t,_),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,u),v||(P=e.listen(t,"click",o[11]),v=!0)},p(w,_){_[0]&512&&l!==(l=w[9]("verification.video.how-to")+"")&&e.set_data(u,l),_[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),v=!1,P()}}}function De(o){let t;function r(l,u){if(l[7])return Ce;if(l[3])return Pe}let s=r(o),a=s&&s(o);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",o[5])},m(l,u){e.insert(l,t,u),a&&a.m(t,null),o[22](t)},p(l,u){s===(s=r(l))&&a?a.p(l,u):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),u[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),o[22](null)}}}const Se="verification_explanation_video_widgets.MP4";function ze(o,t,r){let s,a;e.component_subscribe(o,e.$format,i=>r(9,s=i)),e.component_subscribe(o,H.xPaymentSessionToken,i=>r(31,a=i)),H.dayjs.extend(H.utc);let{endpoint:l}=t,{lang:u="en"}=t,{translationurl:v=""}=t,{clientstyling:P=""}=t,{clientstylingurl:w=""}=t,{session:_=""}=t,{customerid:C=""}=t,{playersession:D=""}=t,{userroles:k=""}=t,{mbsource:g=""}=t,b,B=new Set,O=new Set,z,x,S,p=!1,m=!0,f=!1,y="",d=!1,q,F=[],R=0,Q=window.navigator.userAgent;var L;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(L||(L={}));var I;(function(i){i.Requested="Requested"})(I||(I={}));var V;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(V||(V={}));var T;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(T||(T={}));const U=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",U),ve(),()=>{window.removeEventListener("message",U)}));const $=[V.InProgress,V.Referred,V.AwaitingForResponse],ee=()=>{let i=v;if(i)return fetch(i).then(n=>n.json()).then(n=>{Object.keys(n).forEach(c=>{W(c,n[c])})}).catch(n=>{console.log(n)})};Object.keys(Y).forEach(i=>{W(i,Y[i])});const ie=()=>{_e(u)},j=()=>{r(20,x=oe());const i=new URL(`${l}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${u}`),n=new Headers;n.append("accept","application/json"),n.append("Content-Type","application/json"),n.append("x-sessionid",`${D}`),n.append("X-Client-Request-Timestamp",H.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),Array.isArray(F)&&F.length>0&&F.indexOf("MM_CHANNEL_BETA")!=-1&&n.append("MM_CHANNEL","BETA");const c={method:"POST",headers:n,body:JSON.stringify({})};r(7,d=!0),fetch(i,c).then(h=>h.json()).then(h=>{const A=te(h==null?void 0:h.Verifications);z=ne(A),z.VerificationStatuses.forEach(E=>{E.VerificationUrlType!=="Widget"&&B.add(E.Vendor)}),r(3,S=fe())}).finally(()=>r(7,d=!1))},te=i=>i?i.sort((n,c)=>new Date(c.Created).getTime()-new Date(n.Created).getTime()):[],re=()=>{a&&j()},oe=()=>{let i=(_||a).split(".")[1];if(i){let n=JSON.parse(atob(i));return n.cdn+"/cashier/operator-assets/"+(n==null?void 0:n.mid)}return""},ne=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:V.Unverified,VerificationStatuses:[]};const n=ae(i);if(n&&n.length){const h=se(n);return{VerificationSummaryStatus:h.Status,VerificationUrl:(c=h.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:N(n,h.Status)}}else return{VerificationSummaryStatus:i.some(A=>A.Status===V.Failed)?V.Failed:V.Verified,VerificationStatuses:N(i,[V.Failed])}},se=i=>i.reduce((n,c)=>n?new Date(n)<new Date(c)?c:n:c,0),N=(i,n)=>i.filter(c=>n.includes(c.Status)).map(c=>{var h,A;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(h=c.FlowInfo)==null?void 0:h.Type,VerificationUrl:(A=c.FlowInfo)==null?void 0:A.Url}}),ae=i=>i.filter(n=>$.includes(n.Status)?n.FlowInfo&&n.FlowInfo.Url||le(n)||ce(n):!1),le=i=>{const n=i.Documents&&i.VendorName===L.Manual,c=i.Documents&&i.Documents.some(h=>h.Status===I.Requested);return n&&c},ce=i=>i.VendorName===L.ShuftiPro&&i.Status===V.Referred,fe=()=>{switch(z.VerificationSummaryStatus){case V.InProgress:const i=[];return B.forEach(n=>{i.push(ue(n))}),i;case V.Referred:return[s("verification.idenfy.referred-awaiting")];case V.Failed:return[s("verification.message.failed")]}},ue=i=>{const n=z.VerificationStatuses.filter(c=>c.Vendor===i);if(i===L.ShuftiPro)return de(n);{const c=s("verification.idenfy.link-name"),h={link:`<a href="${n[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:h})}},de=i=>{const n=[],c={},h=[T.Biometric,T.Documents,T.ProofOfAddress];i.forEach(M=>{h.includes(M.Type)&&(n.push(M.Type),c[M.Type]=pe(M,he(M.Type)))});let A=n.every(M=>O.has(M)),E=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return A?s("verification.shuftipro.validations-started"):s(E,{values:c})},pe=(i,n)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${n}</a>`,he=i=>s(`verification.shuftipro.link-name.${i}`),me=()=>{r(4,p=!p)},ve=()=>{r(5,m=!e.isMobile(Q))},ge=()=>{y=x+"/"+u+"/"+Se;try{fetch(y,{method:"HEAD"}).then(i=>{r(6,f=i.ok)})}catch(i){r(6,f=!1)}},we=()=>{k.length>0&&(F=k.split(","))},ke=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:y}}}))};function ye(){R=this.clientHeight,r(8,R)}function Ve(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,r(2,b)})}return o.$$set=i=>{"endpoint"in i&&r(12,l=i.endpoint),"lang"in i&&r(13,u=i.lang),"translationurl"in i&&r(14,v=i.translationurl),"clientstyling"in i&&r(0,P=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(15,_=i.session),"customerid"in i&&r(16,C=i.customerid),"playersession"in i&&r(17,D=i.playersession),"userroles"in i&&r(18,k=i.userroles),"mbsource"in i&&r(19,g=i.mbsource)},o.$$.update=()=>{o.$$.dirty[0]&262144&&k&&we(),o.$$.dirty[0]&8192&&u&&ie(),o.$$.dirty[0]&167936&&l&&_&&D&&j(),o.$$.dirty[0]&167936&&l&&!_&&D&&re(),o.$$.dirty[0]&16384&&v&&ee(),o.$$.dirty[0]&5&&P&&b&&e.setClientStyling(b,P),o.$$.dirty[0]&6&&w&&b&&e.setClientStylingURL(b,w),o.$$.dirty[0]&1048576&&x&&ge(),o.$$.dirty[0]&524292&&g&&b&&e.setStreamStyling(b,`${g}.Style`,q)},[P,w,b,S,p,m,f,d,R,s,me,ke,l,u,v,_,C,D,k,g,x,ye,Ve]}class G extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,ze,De,e.safe_not_equal,{endpoint:12,lang:13,translationurl:14,clientstyling:0,clientstylingurl:1,session:15,customerid:16,playersession:17,userroles:18,mbsource:19},be,[-1,-1])}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[16]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[17]}set playersession(t){this.$$set({playersession:t}),e.flush()}get userroles(){return this.$$.ctx[18]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[19]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(G,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);exports.default=G;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),H=require("./CashierMethodDetails-DLCEFTpO.cjs");function W(o,t){e.addMessages(o,t)}function _e(o){e.init({fallbackLocale:"en"}),e.$locale.set(o)}const Y={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},fr:{verificationsRequired:"Vérifications requises","verification.video.how-to":"Comment vérifier votre identité ?","verification.idenfy.referred-awaiting":"La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.","verification.message.failed":"Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.","verification.idenfy.link-name":"lien","verification.idenfy.in-progress":"Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.","verification.shuftipro.in-progress.Biometric":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.","verification.shuftipro.in-progress.Biometric.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.","verification.shuftipro.link-name.Biometric":"Biométrique","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Justificatif de domicile","verification.shuftipro.validations-started":"Après avoir terminé la vérification, veuillez procéder à la transaction."}};function be(o){e.append_styles(o,"svelte-1kmyt1l",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:var(--verifications-list-height, 0);transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function X(o,t,r){const s=o.slice();return s[58]=t[r],s}function Pe(o){let t,r=o[3].length>0&&K(o);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=K(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function Ce(o){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",o[1]),e.set_custom_element_data(t,"clientstyling",o[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function K(o){let t,r,s,a,l,u,v,P=o[9]("verificationsRequired")+"",w,_,C,D,k,g,b,B,O=`${o[8]}px`,z,x,S=e.ensure_array_like(o[3]),p=[];for(let f=0;f<S.length;f+=1)p[f]=J(X(o,S,f));let m=o[6]&&Z(o);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),u=e.space(),v=e.element("p"),w=e.text(P),_=e.space(),C=e.element("span"),C.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',D=e.space(),k=e.element("div"),g=e.element("div");for(let f=0;f<p.length;f+=1)p[f].c();b=e.space(),m&&m.c(),e.attr(s,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(C,"class","CashierVerificationChevron"),e.toggle_class(C,"ShowVerifications",o[4]),e.attr(t,"class","VerificationsHeader"),e.attr(g,"class","VerificationsListInner"),e.add_render_callback(()=>o[21].call(g)),e.attr(k,"class","VerificationsList"),e.toggle_class(k,"ShowVerifications",o[4]),e.set_style(k,"--verifications-list-height",O)},m(f,y){e.insert(f,t,y),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,u),e.append(t,v),e.append(v,w),e.append(t,_),e.append(t,C),e.insert(f,D,y),e.insert(f,k,y),e.append(k,g);for(let d=0;d<p.length;d+=1)p[d]&&p[d].m(g,null);e.append(g,b),m&&m.m(g,null),B=e.add_iframe_resize_listener(g,o[21].bind(g)),z||(x=e.listen(t,"click",o[10]),z=!0)},p(f,y){if(y[0]&512&&P!==(P=f[9]("verificationsRequired")+"")&&e.set_data(w,P),y[0]&16&&e.toggle_class(C,"ShowVerifications",f[4]),y[0]&8){S=e.ensure_array_like(f[3]);let d;for(d=0;d<S.length;d+=1){const q=X(f,S,d);p[d]?p[d].p(q,y):(p[d]=J(q),p[d].c(),p[d].m(g,b))}for(;d<p.length;d+=1)p[d].d(1);p.length=S.length}f[6]?m?m.p(f,y):(m=Z(f),m.c(),m.m(g,null)):m&&(m.d(1),m=null),y[0]&16&&e.toggle_class(k,"ShowVerifications",f[4]),y[0]&256&&O!==(O=`${f[8]}px`)&&e.set_style(k,"--verifications-list-height",O)},d(f){f&&(e.detach(t),e.detach(D),e.detach(k)),e.destroy_each(p,f),m&&m.d(),B(),z=!1,x()}}}function J(o){let t,r,s,a,l=o[58]+"";return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',s=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(u,v){e.insert(u,t,v),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(u,v){v[0]&8&&l!==(l=u[58]+"")&&(a.innerHTML=l)},d(u){u&&e.detach(t)}}}function Z(o){let t,r,s,a,l=o[9]("verification.video.how-to")+"",u,v,P;return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',s=e.space(),a=e.element("div"),u=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",o[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,_){e.insert(w,t,_),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,u),v||(P=e.listen(t,"click",o[11]),v=!0)},p(w,_){_[0]&512&&l!==(l=w[9]("verification.video.how-to")+"")&&e.set_data(u,l),_[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),v=!1,P()}}}function De(o){let t;function r(l,u){if(l[7])return Ce;if(l[3])return Pe}let s=r(o),a=s&&s(o);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",o[5])},m(l,u){e.insert(l,t,u),a&&a.m(t,null),o[22](t)},p(l,u){s===(s=r(l))&&a?a.p(l,u):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),u[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),o[22](null)}}}const Se="verification_explanation_video_widgets.MP4";function ze(o,t,r){let s,a;e.component_subscribe(o,e.$format,i=>r(9,s=i)),e.component_subscribe(o,H.xPaymentSessionToken,i=>r(31,a=i)),H.dayjs.extend(H.utc);let{endpoint:l}=t,{lang:u="en"}=t,{translationurl:v=""}=t,{clientstyling:P=""}=t,{clientstylingurl:w=""}=t,{session:_=""}=t,{customerid:C=""}=t,{playersession:D=""}=t,{userroles:k=""}=t,{mbsource:g=""}=t,b,B=new Set,O=new Set,z,x,S,p=!1,m=!0,f=!1,y="",d=!1,q,F=[],R=0,Q=window.navigator.userAgent;var L;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(L||(L={}));var I;(function(i){i.Requested="Requested"})(I||(I={}));var V;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(V||(V={}));var T;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(T||(T={}));const U=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",U),ve(),()=>{window.removeEventListener("message",U)}));const $=[V.InProgress,V.Referred,V.AwaitingForResponse],ee=()=>{let i=v;if(i)return fetch(i).then(n=>n.json()).then(n=>{Object.keys(n).forEach(c=>{W(c,n[c])})}).catch(n=>{console.log(n)})};Object.keys(Y).forEach(i=>{W(i,Y[i])});const ie=()=>{_e(u)},j=()=>{r(20,x=oe());const i=new URL(`${l}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${u}`),n=new Headers;n.append("accept","application/json"),n.append("Content-Type","application/json"),n.append("x-sessionid",`${D}`),n.append("X-Client-Request-Timestamp",H.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),Array.isArray(F)&&F.length>0&&F.indexOf("MM_CHANNEL_BETA")!=-1&&n.append("MM_CHANNEL","BETA");const c={method:"POST",headers:n,body:JSON.stringify({})};r(7,d=!0),fetch(i,c).then(h=>h.json()).then(h=>{const A=te(h==null?void 0:h.Verifications);z=ne(A),z.VerificationStatuses.forEach(E=>{E.VerificationUrlType!=="Widget"&&B.add(E.Vendor)}),r(3,S=fe())}).finally(()=>r(7,d=!1))},te=i=>i?i.sort((n,c)=>new Date(c.Created).getTime()-new Date(n.Created).getTime()):[],re=()=>{a&&j()},oe=()=>{let i=(_||a).split(".")[1];if(i){let n=JSON.parse(atob(i));return n.cdn+"/cashier/operator-assets/"+(n==null?void 0:n.mid)}return""},ne=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:V.Unverified,VerificationStatuses:[]};const n=ae(i);if(n&&n.length){const h=se(n);return{VerificationSummaryStatus:h.Status,VerificationUrl:(c=h.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:N(n,h.Status)}}else return{VerificationSummaryStatus:i.some(A=>A.Status===V.Failed)?V.Failed:V.Verified,VerificationStatuses:N(i,[V.Failed])}},se=i=>i.reduce((n,c)=>n?new Date(n)<new Date(c)?c:n:c,0),N=(i,n)=>i.filter(c=>n.includes(c.Status)).map(c=>{var h,A;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(h=c.FlowInfo)==null?void 0:h.Type,VerificationUrl:(A=c.FlowInfo)==null?void 0:A.Url}}),ae=i=>i.filter(n=>$.includes(n.Status)?n.FlowInfo&&n.FlowInfo.Url||le(n)||ce(n):!1),le=i=>{const n=i.Documents&&i.VendorName===L.Manual,c=i.Documents&&i.Documents.some(h=>h.Status===I.Requested);return n&&c},ce=i=>i.VendorName===L.ShuftiPro&&i.Status===V.Referred,fe=()=>{switch(z.VerificationSummaryStatus){case V.InProgress:const i=[];return B.forEach(n=>{i.push(ue(n))}),i;case V.Referred:return[s("verification.idenfy.referred-awaiting")];case V.Failed:return[s("verification.message.failed")]}},ue=i=>{const n=z.VerificationStatuses.filter(c=>c.Vendor===i);if(i===L.ShuftiPro)return de(n);{const c=s("verification.idenfy.link-name"),h={link:`<a href="${n[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:h})}},de=i=>{const n=[],c={},h=[T.Biometric,T.Documents,T.ProofOfAddress];i.forEach(M=>{h.includes(M.Type)&&(n.push(M.Type),c[M.Type]=pe(M,he(M.Type)))});let A=n.every(M=>O.has(M)),E=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return A?s("verification.shuftipro.validations-started"):s(E,{values:c})},pe=(i,n)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${n}</a>`,he=i=>s(`verification.shuftipro.link-name.${i}`),me=()=>{r(4,p=!p)},ve=()=>{r(5,m=!e.isMobile(Q))},ge=()=>{y=x+"/"+u+"/"+Se;try{fetch(y,{method:"HEAD"}).then(i=>{r(6,f=i.ok)})}catch(i){r(6,f=!1)}},we=()=>{k.length>0&&(F=k.split(","))},ke=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:y}}}))};function ye(){R=this.clientHeight,r(8,R)}function Ve(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,r(2,b)})}return o.$$set=i=>{"endpoint"in i&&r(12,l=i.endpoint),"lang"in i&&r(13,u=i.lang),"translationurl"in i&&r(14,v=i.translationurl),"clientstyling"in i&&r(0,P=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(15,_=i.session),"customerid"in i&&r(16,C=i.customerid),"playersession"in i&&r(17,D=i.playersession),"userroles"in i&&r(18,k=i.userroles),"mbsource"in i&&r(19,g=i.mbsource)},o.$$.update=()=>{o.$$.dirty[0]&262144&&k&&we(),o.$$.dirty[0]&8192&&u&&ie(),o.$$.dirty[0]&167936&&l&&_&&D&&j(),o.$$.dirty[0]&167936&&l&&!_&&D&&re(),o.$$.dirty[0]&16384&&v&&ee(),o.$$.dirty[0]&5&&P&&b&&e.setClientStyling(b,P),o.$$.dirty[0]&6&&w&&b&&e.setClientStylingURL(b,w),o.$$.dirty[0]&1048576&&x&&ge(),o.$$.dirty[0]&524292&&g&&b&&e.setStreamStyling(b,`${g}.Style`,q)},[P,w,b,S,p,m,f,d,R,s,me,ke,l,u,v,_,C,D,k,g,x,ye,Ve]}class G extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,ze,De,e.safe_not_equal,{endpoint:12,lang:13,translationurl:14,clientstyling:0,clientstylingurl:1,session:15,customerid:16,playersession:17,userroles:18,mbsource:19},be,[-1,-1])}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[16]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[17]}set playersession(t){this.$$set({playersession:t}),e.flush()}get userroles(){return this.$$.ctx[18]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[19]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(G,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);exports.default=G;
|
package/es2015/cashier-page.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-ZwlEVQK1.cjs")).then(e=>e.CashierPage_ce).then(({default:e})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",e.element)})}
|