@everymatrix/cashier-page-nd 1.69.151 → 1.69.170
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/{CashierCarousel-DX_1kfHA.js → CashierCarousel-Cf2c1vPp.js} +1608 -1358
- package/components/{CashierCarousel-DuDjKitQ.js → CashierCarousel-CsnmOP94.js} +1673 -1422
- package/components/CashierCarousel-DHmjrgBC.cjs +23 -0
- package/components/{CashierError-Dj5pdnbH.js → CashierError-BDmChuIE.js} +1 -1
- package/components/{CashierError-DIzfHVwt.js → CashierError-BIiEXbdF.js} +1 -1
- package/components/{CashierError-BsqfacSj.cjs → CashierError-CLWqWwfU.cjs} +1 -1
- package/components/{CashierHeader-CY4-An7M.cjs → CashierHeader-CP7RROYr.cjs} +1 -1
- package/components/{CashierHeader-DaXYR76f.js → CashierHeader-Cecv5g56.js} +1 -1
- package/components/{CashierHeader-Dd8FU_0m.js → CashierHeader-Dd5b4-yJ.js} +1 -1
- package/components/{CashierIframeRedirect-ClbPIVvz.cjs → CashierIframeRedirect-BXrhvi-f.cjs} +1 -1
- package/components/{CashierIframeRedirect-5JrTRMGd.js → CashierIframeRedirect-DMYVav-v.js} +3 -3
- package/components/{CashierIframeRedirect-BEgb4xvK.js → CashierIframeRedirect-reE-yTgQ.js} +3 -3
- package/components/CashierMethodDetails-DMWm-2jm.js +9918 -0
- package/components/CashierMethodDetails-Dqye22rm.cjs +85 -0
- package/components/CashierMethodDetails-wpPiw7iF.js +9878 -0
- package/components/CashierMethodsList-3cUFLT6G.js +825 -0
- package/components/CashierMethodsList-Cu_kh22f.cjs +1 -0
- package/components/CashierMethodsList-DLD2m0bS.js +810 -0
- package/components/{CashierModal-DgwBIcQT.js → CashierModal-C-jze_SD.js} +97 -96
- package/components/CashierModal-DVeVHCTj.cjs +1 -0
- package/components/{CashierModal-1XZhW-QH.js → CashierModal-Dclaqxyx.js} +106 -105
- package/components/{CashierNotifications-C1skb8Vn.js → CashierNotifications-BVUb_REU.js} +1 -1
- package/components/{CashierNotifications-DVhKuaML.js → CashierNotifications-COlT367w.js} +1 -1
- package/components/{CashierNotifications-gVlDH9gi.cjs → CashierNotifications-DdrhkPqp.cjs} +1 -1
- package/components/CashierPage-BZrMKgWP.js +3848 -0
- package/components/CashierPage-CNxxSYGB.cjs +1 -0
- package/components/CashierPage-DXq4FlWN.js +3822 -0
- package/components/{CashierReceiptPage-dW6G8UgH.js → CashierReceiptPage-BDZFgJSl.js} +586 -572
- package/components/{CashierReceiptPage-rEA-raJj.js → CashierReceiptPage-aqMEl6Er.js} +613 -583
- package/components/CashierReceiptPage-fKiQGusu.cjs +26 -0
- package/components/{CashierSessionExpirationModal-Bbe2Jpvz.js → CashierSessionExpirationModal-BqgXO3EK.js} +40 -40
- package/components/{CashierSessionExpirationModal-CHK-f59-.cjs → CashierSessionExpirationModal-UM35srIk.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-DDoD-Bbn.js → CashierSessionExpirationModal-lONAKt8s.js} +40 -40
- package/components/{CashierSpinner-BURxCyak.js → CashierSpinner-BQWOaYce.js} +1 -1
- package/components/{CashierSpinner-BHMYILka.cjs → CashierSpinner-D5McPkCt.cjs} +1 -1
- package/components/{CashierSpinner-DUpqDFsE.js → CashierSpinner-DZSuVNPM.js} +1 -1
- package/components/{CashierStepUp-BLXB3sLJ.cjs → CashierStepUp-DWd3cylJ.cjs} +1 -1
- package/components/{CashierStepUp-CaBwgsy_.js → CashierStepUp-DyfuU9cc.js} +1 -1
- package/components/{CashierStepUp-232UWyBa.js → CashierStepUp-sBUhsV5t.js} +1 -1
- package/components/{CashierTransactionHistory-BlfxmnQ4.js → CashierTransactionHistory-DG7eCAHQ.js} +106 -106
- package/components/{CashierTransactionHistory-MOjWYwaU.js → CashierTransactionHistory-EZ0xgsVJ.js} +95 -95
- package/components/{CashierTransactionHistory-CbVFavJI.cjs → CashierTransactionHistory-MUYg9ooO.cjs} +1 -1
- package/components/{CashierVerifications-7E1iKqlY.cjs → CashierVerifications-BbUQaFnO.cjs} +1 -1
- package/components/{CashierVerifications-CFpWClML.js → CashierVerifications-Cz6b5MUe.js} +16 -16
- package/components/{CashierVerifications-DCNYJqjo.js → CashierVerifications-kIOoUzVh.js} +13 -13
- package/components/{TxnStatusIcon-2fCCJ3vA.cjs → TxnStatusIcon-BhtPQm1B.cjs} +1 -1
- package/components/{TxnStatusIcon-BoQKsXYb.js → TxnStatusIcon-DMKCkAXd.js} +1 -1
- package/components/{TxnStatusIcon-CByIE77U.js → TxnStatusIcon-ty2g5_He.js} +1 -1
- package/components/{TxnTypeIcons-9fEDZE-r.js → TxnTypeIcons-B5CYl9NW.js} +1 -1
- package/components/{TxnTypeIcons-Be-sko7l.cjs → TxnTypeIcons-CyHXLkXz.cjs} +1 -1
- package/components/{TxnTypeIcons-Dol58W4_.js → TxnTypeIcons-D_bSXM7r.js} +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/CashierCarousel-CoOQIH2R.cjs +0 -23
- package/components/CashierMethodDetails-C_IE1JPV.js +0 -9656
- package/components/CashierMethodDetails-C_pwSAOD.cjs +0 -85
- package/components/CashierMethodDetails-Dmb35LVn.js +0 -9696
- package/components/CashierMethodsList-6iUrqPDI.js +0 -726
- package/components/CashierMethodsList-CJHTdfiB.cjs +0 -1
- package/components/CashierMethodsList-pNUYzgU6.js +0 -738
- package/components/CashierModal-DsYJUTP3.cjs +0 -1
- package/components/CashierPage-BGoNSnGO.js +0 -3281
- package/components/CashierPage-CZ3SgGIA.cjs +0 -1
- package/components/CashierPage-CaLazPmf.js +0 -3281
- package/components/CashierReceiptPage-CtS6WRaa.cjs +0 -26
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-CoOQIH2R.cjs"),yt=require("./CashierReceiptPage-CtS6WRaa.cjs"),Se=require("./CashierMethodDetails-C_pwSAOD.cjs");function wt(i,n){t.addMessages(i,n)}function en(i){t.init({fallbackLocale:"en"}),t.$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",sessionExpirationLoadingButton:"PROCESSING..."},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..."},"en-us":{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"CONTINUE",sessionExpirationLoadingButton:"PROCESSING..."}};/*! @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:zt,setPrototypeOf:Ct,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:V,create:Bt}=Object,{apply:Ze,construct:Qe}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});V||(V=function(n){return n});Ze||(Ze=function(n,o,r){return n.apply(o,r)});Qe||(Qe=function(n,o){return new n(...o)});const De=W(Array.prototype.forEach),xt=W(Array.prototype.pop),ye=W(Array.prototype.push),Pe=W(String.prototype.toLowerCase),Xe=W(String.prototype.toString),Rt=W(String.prototype.match),we=W(String.prototype.replace),rn=W(String.prototype.indexOf),sn=W(String.prototype.trim),Q=W(Object.prototype.hasOwnProperty),P=W(RegExp.prototype.test),Ae=an(TypeError);function W(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),l=1;l<o;l++)r[l-1]=arguments[l];return Ze(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 Qe(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe;Ct&&Ct(i,null);let r=n.length;for(;r--;){let l=n[r];if(typeof l=="string"){const f=o(l);f!==l&&(tn(n)||(n[r]=f),l=f)}i[l]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)Q(i,n)||(i[n]=null);return i}function ue(i){const n=Bt(null);for(const[o,r]of zt(i))Q(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=ue(r):n[o]=r);return n}function Ce(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return W(r.get);if(typeof r.value=="function")return W(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"]),qe=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"]),Ve=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"]),Je=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"]),vt=U(["#text"]),Mt=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"]),Ke=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"]),Ot=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"]),Ie=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=V(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mn=V(/<%[\w\W]*|[\w\W]*%>/gm),pn=V(/\${[\w\W]*}/gm),dn=V(/^data-[\-\w.\u00B7-\uFFFF]/),hn=V(/^aria-[\-\w]+$/),Gt=V(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=V(/^(?:\w+script|data):/i),gn=V(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=V(/^html$/i),En=V(/^[a-z][.\w]*(-[.\w]+)+$/i);var Nt=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:mn,TMPLIT_EXPR:pn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:_n,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const xe={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},bn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const l="data-tt-policy-suffix";o&&o.hasAttribute(l)&&(r=o.getAttribute(l));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(_){return _},createScriptURL(_){return _}})}catch(_){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!==xe.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,l=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:_,Node:N,Element:k,NodeFilter:A,NamedNodeMap:C=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:ae,DOMParser:le,trustedTypes:Y}=i,S=k.prototype,x=Ce(S,"cloneNode"),v=Ce(S,"remove"),re=Ce(S,"nextSibling"),F=Ce(S,"childNodes"),d=Ce(S,"parentNode");if(typeof _=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let p,B="";const{implementation:j,createNodeIterator:X,createDocumentFragment:R,getElementsByTagName:J}=o,{importNode:te}=r;let g={};n.isSupported=typeof zt=="function"&&typeof d=="function"&&j&&j.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:G,ERB_EXPR:K,TMPLIT_EXPR:M,DATA_ATTR:fe,ARIA_ATTR:q,IS_SCRIPT_OR_DATA:ne,ATTR_WHITESPACE:h,CUSTOM_ELEMENT:b}=Nt;let{IS_ALLOWED_URI:se}=Nt,y=null;const Re=m({},[...Lt,...qe,...Ve,...Je,...vt]);let w=null;const Le=m({},[...Mt,...Ke,...Ot,...Ie]);let a=Object.seal(Bt(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}})),T=null,Z=null,H=!0,Ue=!0,$e=!1,et=!0,me=!1,Fe=!0,ce=!1,He=!1,ze=!1,pe=!1,ve=!1,Me=!1,tt=!0,nt=!1;const Xt="user-content-";let Be=!0,Ee=!1,de={},he=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 Ge=null;const st=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Oe="http://www.w3.org/1998/Math/MathML",Ne="http://www.w3.org/2000/svg",ie="http://www.w3.org/1999/xhtml";let _e=ie,We=!1,Ye=null;const qt=m({},[Oe,Ne,ie],Xe);let Te=null;const Vt=["application/xhtml+xml","text/html"],Jt="text/html";let L=null,ge=null;const Kt=o.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},je=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ge&&ge===e)){if((!e||typeof e!="object")&&(e={}),e=ue(e),Te=Vt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Jt:e.PARSER_MEDIA_TYPE,L=Te==="application/xhtml+xml"?Xe:Pe,y=Q(e,"ALLOWED_TAGS")?m({},e.ALLOWED_TAGS,L):Re,w=Q(e,"ALLOWED_ATTR")?m({},e.ALLOWED_ATTR,L):Le,Ye=Q(e,"ALLOWED_NAMESPACES")?m({},e.ALLOWED_NAMESPACES,Xe):qt,Ge=Q(e,"ADD_URI_SAFE_ATTR")?m(ue(st),e.ADD_URI_SAFE_ATTR,L):st,ot=Q(e,"ADD_DATA_URI_TAGS")?m(ue(rt),e.ADD_DATA_URI_TAGS,L):rt,he=Q(e,"FORBID_CONTENTS")?m({},e.FORBID_CONTENTS,L):it,T=Q(e,"FORBID_TAGS")?m({},e.FORBID_TAGS,L):{},Z=Q(e,"FORBID_ATTR")?m({},e.FORBID_ATTR,L):{},de=Q(e,"USE_PROFILES")?e.USE_PROFILES:!1,H=e.ALLOW_ARIA_ATTR!==!1,Ue=e.ALLOW_DATA_ATTR!==!1,$e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,et=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=e.SAFE_FOR_TEMPLATES||!1,Fe=e.SAFE_FOR_XML!==!1,ce=e.WHOLE_DOCUMENT||!1,pe=e.RETURN_DOM||!1,ve=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,tt=e.SANITIZE_DOM!==!1,nt=e.SANITIZE_NAMED_PROPS||!1,Be=e.KEEP_CONTENT!==!1,Ee=e.IN_PLACE||!1,se=e.ALLOWED_URI_REGEXP||Gt,_e=e.NAMESPACE||ie,a=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(a.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(a.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(a.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(Ue=!1),ve&&(pe=!0),de&&(y=m({},vt),w=[],de.html===!0&&(m(y,Lt),m(w,Mt)),de.svg===!0&&(m(y,qe),m(w,Ke),m(w,Ie)),de.svgFilters===!0&&(m(y,Ve),m(w,Ke),m(w,Ie)),de.mathMl===!0&&(m(y,Je),m(w,Ot),m(w,Ie))),e.ADD_TAGS&&(y===Re&&(y=ue(y)),m(y,e.ADD_TAGS,L)),e.ADD_ATTR&&(w===Le&&(w=ue(w)),m(w,e.ADD_ATTR,L)),e.ADD_URI_SAFE_ATTR&&m(Ge,e.ADD_URI_SAFE_ATTR,L),e.FORBID_CONTENTS&&(he===it&&(he=ue(he)),m(he,e.FORBID_CONTENTS,L)),Be&&(y["#text"]=!0),ce&&m(y,["html","head","body"]),y.table&&(m(y,["tbody"]),delete T.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');p=e.TRUSTED_TYPES_POLICY,B=p.createHTML("")}else p===void 0&&(p=bn(Y,l)),p!==null&&typeof B=="string"&&(B=p.createHTML(""));U&&U(e),ge=e}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Zt=m({},["title","style","font","a","script"]),ut=m({},[...qe,...Ve,...cn]),ft=m({},[...Je,...un]),Qt=function(e){let s=d(e);(!s||!s.tagName)&&(s={namespaceURI:_e,tagName:"template"});const c=Pe(e.tagName),E=Pe(s.tagName);return Ye[e.namespaceURI]?e.namespaceURI===Ne?s.namespaceURI===ie?c==="svg":s.namespaceURI===Oe?c==="svg"&&(E==="annotation-xml"||lt[E]):!!ut[c]:e.namespaceURI===Oe?s.namespaceURI===ie?c==="math":s.namespaceURI===Ne?c==="math"&&ct[E]:!!ft[c]:e.namespaceURI===ie?s.namespaceURI===Ne&&!ct[E]||s.namespaceURI===Oe&&!lt[E]?!1:!ft[c]&&(Zt[c]||!ut[c]):!!(Te==="application/xhtml+xml"&&Ye[e.namespaceURI]):!1},$=function(e){ye(n.removed,{element:e});try{d(e).removeChild(e)}catch(s){v(e)}},ke=function(e,s){try{ye(n.removed,{attribute:s.getAttributeNode(e),from:s})}catch(c){ye(n.removed,{attribute:null,from:s})}if(s.removeAttribute(e),e==="is"&&!w[e])if(pe||ve)try{$(s)}catch(c){}else try{s.setAttribute(e,"")}catch(c){}},mt=function(e){let s=null,c=null;if(ze)e="<remove></remove>"+e;else{const O=Rt(e,/^[\r\n\t ]+/);c=O&&O[0]}Te==="application/xhtml+xml"&&_e===ie&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const E=p?p.createHTML(e):e;if(_e===ie)try{s=new le().parseFromString(E,Te)}catch(O){}if(!s||!s.documentElement){s=j.createDocument(_e,"template",null);try{s.documentElement.innerHTML=We?B:E}catch(O){}}const D=s.body||s.documentElement;return e&&c&&D.insertBefore(o.createTextNode(c),D.childNodes[0]||null),_e===ie?J.call(s,ce?"html":"body")[0]:ce?s.documentElement:D},pt=function(e){return X.call(e.ownerDocument||e,e,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT|A.SHOW_PROCESSING_INSTRUCTION|A.SHOW_CDATA_SECTION,null)},dt=function(e){return e instanceof ae&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof C)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},ht=function(e){return typeof N=="function"&&e instanceof N},oe=function(e,s,c){g[e]&&De(g[e],E=>{E.call(n,s,c,ge)})},_t=function(e){let s=null;if(oe("beforeSanitizeElements",e,null),dt(e))return $(e),!0;const c=L(e.nodeName);if(oe("uponSanitizeElement",e,{tagName:c,allowedTags:y}),e.hasChildNodes()&&!ht(e.firstElementChild)&&P(/<[/\w]/g,e.innerHTML)&&P(/<[/\w]/g,e.textContent)||e.nodeType===xe.progressingInstruction||Fe&&e.nodeType===xe.comment&&P(/<[/\w]/g,e.data))return $(e),!0;if(!y[c]||T[c]){if(!T[c]&&Et(c)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c)))return!1;if(Be&&!he[c]){const E=d(e)||e.parentNode,D=F(e)||e.childNodes;if(D&&E){const O=D.length;for(let z=O-1;z>=0;--z){const ee=x(D[z],!0);ee.__removalCount=(e.__removalCount||0)+1,E.insertBefore(ee,re(e))}}}return $(e),!0}return e instanceof k&&!Qt(e)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,e.innerHTML)?($(e),!0):(me&&e.nodeType===xe.text&&(s=e.textContent,De([G,K,M],E=>{s=we(s,E," ")}),e.textContent!==s&&(ye(n.removed,{element:e.cloneNode()}),e.textContent=s)),oe("afterSanitizeElements",e,null),!1)},gt=function(e,s,c){if(tt&&(s==="id"||s==="name")&&(c in o||c in Kt))return!1;if(!(Ue&&!Z[s]&&P(fe,s))){if(!(H&&P(q,s))){if(!w[s]||Z[s]){if(!(Et(e)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,e)||a.tagNameCheck instanceof Function&&a.tagNameCheck(e))&&(a.attributeNameCheck instanceof RegExp&&P(a.attributeNameCheck,s)||a.attributeNameCheck instanceof Function&&a.attributeNameCheck(s))||s==="is"&&a.allowCustomizedBuiltInElements&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c))))return!1}else if(!Ge[s]){if(!P(se,we(c,h,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&e!=="script"&&rn(c,"data:")===0&&ot[e])){if(!($e&&!P(ne,we(c,h,"")))){if(c)return!1}}}}}}return!0},Et=function(e){return e!=="annotation-xml"&&Rt(e,b)},Tt=function(e){oe("beforeSanitizeAttributes",e,null);const{attributes:s}=e;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:w};let E=s.length;for(;E--;){const D=s[E],{name:O,namespaceURI:z,value:ee}=D,be=L(O);let I=O==="value"?ee:sn(ee);if(c.attrName=be,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,oe("uponSanitizeAttribute",e,c),I=c.attrValue,Fe&&P(/((--!?|])>)|<\/(style|title)/i,I)){ke(O,e);continue}if(c.forceKeepAttr||(ke(O,e),!c.keepAttr))continue;if(!et&&P(/\/>/i,I)){ke(O,e);continue}me&&De([G,K,M],St=>{I=we(I,St," ")});const bt=L(e.nodeName);if(gt(bt,be,I)){if(nt&&(be==="id"||be==="name")&&(ke(O,e),I=Xt+I),p&&typeof Y=="object"&&typeof Y.getAttributeType=="function"&&!z)switch(Y.getAttributeType(bt,be)){case"TrustedHTML":{I=p.createHTML(I);break}case"TrustedScriptURL":{I=p.createScriptURL(I);break}}try{z?e.setAttributeNS(z,O,I):e.setAttribute(O,I),dt(e)?$(e):xt(n.removed)}catch(St){}}}oe("afterSanitizeAttributes",e,null)},$t=function u(e){let s=null;const c=pt(e);for(oe("beforeSanitizeShadowDOM",e,null);s=c.nextNode();)oe("uponSanitizeShadowNode",s,null),!_t(s)&&(s.content instanceof f&&u(s.content),Tt(s));oe("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(u){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,E=null,D=null;if(We=!u,We&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Ae("dirty is not a string, aborting")}else throw Ae("toString is not a function");if(!n.isSupported)return u;if(He||je(e),n.removed=[],typeof u=="string"&&(Ee=!1),Ee){if(u.nodeName){const ee=L(u.nodeName);if(!y[ee]||T[ee])throw Ae("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof N)s=mt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===xe.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!pe&&!me&&!ce&&u.indexOf("<")===-1)return p&&Me?p.createHTML(u):u;if(s=mt(u),!s)return pe?null:Me?B:""}s&&ze&&$(s.firstChild);const O=pt(Ee?u:s);for(;E=O.nextNode();)_t(E)||(E.content instanceof f&&$t(E.content),Tt(E));if(Ee)return u;if(pe){if(ve)for(D=R.call(s.ownerDocument);s.firstChild;)D.appendChild(s.firstChild);else D=s;return(w.shadowroot||w.shadowrootmode)&&(D=te.call(r,D,!0)),D}let z=ce?s.outerHTML:s.innerHTML;return ce&&y["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(z="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-DHmjrgBC.cjs"),yt=require("./CashierReceiptPage-fKiQGusu.cjs"),Se=require("./CashierMethodDetails-Dqye22rm.cjs");function wt(i,n){t.addMessages(i,n)}function en(i){t.init({fallbackLocale:"en"}),t.$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",sessionExpirationLoadingButton:"PROCESSING..."},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..."},"en-us":{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"CONTINUE",sessionExpirationLoadingButton:"PROCESSING..."}};/*! @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:zt,setPrototypeOf:Ct,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:V,create:Bt}=Object,{apply:Ze,construct:Qe}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});V||(V=function(n){return n});Ze||(Ze=function(n,o,r){return n.apply(o,r)});Qe||(Qe=function(n,o){return new n(...o)});const De=W(Array.prototype.forEach),xt=W(Array.prototype.pop),ye=W(Array.prototype.push),Pe=W(String.prototype.toLowerCase),Xe=W(String.prototype.toString),Rt=W(String.prototype.match),we=W(String.prototype.replace),rn=W(String.prototype.indexOf),sn=W(String.prototype.trim),Q=W(Object.prototype.hasOwnProperty),P=W(RegExp.prototype.test),Ae=an(TypeError);function W(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),l=1;l<o;l++)r[l-1]=arguments[l];return Ze(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 Qe(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe;Ct&&Ct(i,null);let r=n.length;for(;r--;){let l=n[r];if(typeof l=="string"){const f=o(l);f!==l&&(tn(n)||(n[r]=f),l=f)}i[l]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)Q(i,n)||(i[n]=null);return i}function ue(i){const n=Bt(null);for(const[o,r]of zt(i))Q(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=ue(r):n[o]=r);return n}function Ce(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return W(r.get);if(typeof r.value=="function")return W(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"]),qe=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"]),Ve=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"]),Je=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"]),vt=U(["#text"]),Mt=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"]),Ke=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"]),Ot=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"]),Ie=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=V(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mn=V(/<%[\w\W]*|[\w\W]*%>/gm),pn=V(/\${[\w\W]*}/gm),dn=V(/^data-[\-\w.\u00B7-\uFFFF]/),hn=V(/^aria-[\-\w]+$/),Gt=V(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=V(/^(?:\w+script|data):/i),gn=V(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=V(/^html$/i),En=V(/^[a-z][.\w]*(-[.\w]+)+$/i);var Nt=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:mn,TMPLIT_EXPR:pn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:_n,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const xe={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},bn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const l="data-tt-policy-suffix";o&&o.hasAttribute(l)&&(r=o.getAttribute(l));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(_){return _},createScriptURL(_){return _}})}catch(_){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!==xe.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,l=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:_,Node:N,Element:k,NodeFilter:A,NamedNodeMap:C=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:ae,DOMParser:le,trustedTypes:Y}=i,S=k.prototype,x=Ce(S,"cloneNode"),v=Ce(S,"remove"),re=Ce(S,"nextSibling"),F=Ce(S,"childNodes"),d=Ce(S,"parentNode");if(typeof _=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let p,B="";const{implementation:j,createNodeIterator:X,createDocumentFragment:R,getElementsByTagName:J}=o,{importNode:te}=r;let g={};n.isSupported=typeof zt=="function"&&typeof d=="function"&&j&&j.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:G,ERB_EXPR:K,TMPLIT_EXPR:M,DATA_ATTR:fe,ARIA_ATTR:q,IS_SCRIPT_OR_DATA:ne,ATTR_WHITESPACE:h,CUSTOM_ELEMENT:b}=Nt;let{IS_ALLOWED_URI:se}=Nt,y=null;const Re=m({},[...Lt,...qe,...Ve,...Je,...vt]);let w=null;const Le=m({},[...Mt,...Ke,...Ot,...Ie]);let a=Object.seal(Bt(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}})),T=null,Z=null,H=!0,Ue=!0,$e=!1,et=!0,me=!1,Fe=!0,ce=!1,He=!1,ze=!1,pe=!1,ve=!1,Me=!1,tt=!0,nt=!1;const Xt="user-content-";let Be=!0,Ee=!1,de={},he=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 Ge=null;const st=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Oe="http://www.w3.org/1998/Math/MathML",Ne="http://www.w3.org/2000/svg",ie="http://www.w3.org/1999/xhtml";let _e=ie,We=!1,Ye=null;const qt=m({},[Oe,Ne,ie],Xe);let Te=null;const Vt=["application/xhtml+xml","text/html"],Jt="text/html";let L=null,ge=null;const Kt=o.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},je=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ge&&ge===e)){if((!e||typeof e!="object")&&(e={}),e=ue(e),Te=Vt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Jt:e.PARSER_MEDIA_TYPE,L=Te==="application/xhtml+xml"?Xe:Pe,y=Q(e,"ALLOWED_TAGS")?m({},e.ALLOWED_TAGS,L):Re,w=Q(e,"ALLOWED_ATTR")?m({},e.ALLOWED_ATTR,L):Le,Ye=Q(e,"ALLOWED_NAMESPACES")?m({},e.ALLOWED_NAMESPACES,Xe):qt,Ge=Q(e,"ADD_URI_SAFE_ATTR")?m(ue(st),e.ADD_URI_SAFE_ATTR,L):st,ot=Q(e,"ADD_DATA_URI_TAGS")?m(ue(rt),e.ADD_DATA_URI_TAGS,L):rt,he=Q(e,"FORBID_CONTENTS")?m({},e.FORBID_CONTENTS,L):it,T=Q(e,"FORBID_TAGS")?m({},e.FORBID_TAGS,L):{},Z=Q(e,"FORBID_ATTR")?m({},e.FORBID_ATTR,L):{},de=Q(e,"USE_PROFILES")?e.USE_PROFILES:!1,H=e.ALLOW_ARIA_ATTR!==!1,Ue=e.ALLOW_DATA_ATTR!==!1,$e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,et=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=e.SAFE_FOR_TEMPLATES||!1,Fe=e.SAFE_FOR_XML!==!1,ce=e.WHOLE_DOCUMENT||!1,pe=e.RETURN_DOM||!1,ve=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,tt=e.SANITIZE_DOM!==!1,nt=e.SANITIZE_NAMED_PROPS||!1,Be=e.KEEP_CONTENT!==!1,Ee=e.IN_PLACE||!1,se=e.ALLOWED_URI_REGEXP||Gt,_e=e.NAMESPACE||ie,a=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(a.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(a.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(a.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(Ue=!1),ve&&(pe=!0),de&&(y=m({},vt),w=[],de.html===!0&&(m(y,Lt),m(w,Mt)),de.svg===!0&&(m(y,qe),m(w,Ke),m(w,Ie)),de.svgFilters===!0&&(m(y,Ve),m(w,Ke),m(w,Ie)),de.mathMl===!0&&(m(y,Je),m(w,Ot),m(w,Ie))),e.ADD_TAGS&&(y===Re&&(y=ue(y)),m(y,e.ADD_TAGS,L)),e.ADD_ATTR&&(w===Le&&(w=ue(w)),m(w,e.ADD_ATTR,L)),e.ADD_URI_SAFE_ATTR&&m(Ge,e.ADD_URI_SAFE_ATTR,L),e.FORBID_CONTENTS&&(he===it&&(he=ue(he)),m(he,e.FORBID_CONTENTS,L)),Be&&(y["#text"]=!0),ce&&m(y,["html","head","body"]),y.table&&(m(y,["tbody"]),delete T.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');p=e.TRUSTED_TYPES_POLICY,B=p.createHTML("")}else p===void 0&&(p=bn(Y,l)),p!==null&&typeof B=="string"&&(B=p.createHTML(""));U&&U(e),ge=e}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Zt=m({},["title","style","font","a","script"]),ut=m({},[...qe,...Ve,...cn]),ft=m({},[...Je,...un]),Qt=function(e){let s=d(e);(!s||!s.tagName)&&(s={namespaceURI:_e,tagName:"template"});const c=Pe(e.tagName),E=Pe(s.tagName);return Ye[e.namespaceURI]?e.namespaceURI===Ne?s.namespaceURI===ie?c==="svg":s.namespaceURI===Oe?c==="svg"&&(E==="annotation-xml"||lt[E]):!!ut[c]:e.namespaceURI===Oe?s.namespaceURI===ie?c==="math":s.namespaceURI===Ne?c==="math"&&ct[E]:!!ft[c]:e.namespaceURI===ie?s.namespaceURI===Ne&&!ct[E]||s.namespaceURI===Oe&&!lt[E]?!1:!ft[c]&&(Zt[c]||!ut[c]):!!(Te==="application/xhtml+xml"&&Ye[e.namespaceURI]):!1},$=function(e){ye(n.removed,{element:e});try{d(e).removeChild(e)}catch(s){v(e)}},ke=function(e,s){try{ye(n.removed,{attribute:s.getAttributeNode(e),from:s})}catch(c){ye(n.removed,{attribute:null,from:s})}if(s.removeAttribute(e),e==="is"&&!w[e])if(pe||ve)try{$(s)}catch(c){}else try{s.setAttribute(e,"")}catch(c){}},mt=function(e){let s=null,c=null;if(ze)e="<remove></remove>"+e;else{const O=Rt(e,/^[\r\n\t ]+/);c=O&&O[0]}Te==="application/xhtml+xml"&&_e===ie&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const E=p?p.createHTML(e):e;if(_e===ie)try{s=new le().parseFromString(E,Te)}catch(O){}if(!s||!s.documentElement){s=j.createDocument(_e,"template",null);try{s.documentElement.innerHTML=We?B:E}catch(O){}}const D=s.body||s.documentElement;return e&&c&&D.insertBefore(o.createTextNode(c),D.childNodes[0]||null),_e===ie?J.call(s,ce?"html":"body")[0]:ce?s.documentElement:D},pt=function(e){return X.call(e.ownerDocument||e,e,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT|A.SHOW_PROCESSING_INSTRUCTION|A.SHOW_CDATA_SECTION,null)},dt=function(e){return e instanceof ae&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof C)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},ht=function(e){return typeof N=="function"&&e instanceof N},oe=function(e,s,c){g[e]&&De(g[e],E=>{E.call(n,s,c,ge)})},_t=function(e){let s=null;if(oe("beforeSanitizeElements",e,null),dt(e))return $(e),!0;const c=L(e.nodeName);if(oe("uponSanitizeElement",e,{tagName:c,allowedTags:y}),e.hasChildNodes()&&!ht(e.firstElementChild)&&P(/<[/\w]/g,e.innerHTML)&&P(/<[/\w]/g,e.textContent)||e.nodeType===xe.progressingInstruction||Fe&&e.nodeType===xe.comment&&P(/<[/\w]/g,e.data))return $(e),!0;if(!y[c]||T[c]){if(!T[c]&&Et(c)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c)))return!1;if(Be&&!he[c]){const E=d(e)||e.parentNode,D=F(e)||e.childNodes;if(D&&E){const O=D.length;for(let z=O-1;z>=0;--z){const ee=x(D[z],!0);ee.__removalCount=(e.__removalCount||0)+1,E.insertBefore(ee,re(e))}}}return $(e),!0}return e instanceof k&&!Qt(e)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,e.innerHTML)?($(e),!0):(me&&e.nodeType===xe.text&&(s=e.textContent,De([G,K,M],E=>{s=we(s,E," ")}),e.textContent!==s&&(ye(n.removed,{element:e.cloneNode()}),e.textContent=s)),oe("afterSanitizeElements",e,null),!1)},gt=function(e,s,c){if(tt&&(s==="id"||s==="name")&&(c in o||c in Kt))return!1;if(!(Ue&&!Z[s]&&P(fe,s))){if(!(H&&P(q,s))){if(!w[s]||Z[s]){if(!(Et(e)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,e)||a.tagNameCheck instanceof Function&&a.tagNameCheck(e))&&(a.attributeNameCheck instanceof RegExp&&P(a.attributeNameCheck,s)||a.attributeNameCheck instanceof Function&&a.attributeNameCheck(s))||s==="is"&&a.allowCustomizedBuiltInElements&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c))))return!1}else if(!Ge[s]){if(!P(se,we(c,h,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&e!=="script"&&rn(c,"data:")===0&&ot[e])){if(!($e&&!P(ne,we(c,h,"")))){if(c)return!1}}}}}}return!0},Et=function(e){return e!=="annotation-xml"&&Rt(e,b)},Tt=function(e){oe("beforeSanitizeAttributes",e,null);const{attributes:s}=e;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:w};let E=s.length;for(;E--;){const D=s[E],{name:O,namespaceURI:z,value:ee}=D,be=L(O);let I=O==="value"?ee:sn(ee);if(c.attrName=be,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,oe("uponSanitizeAttribute",e,c),I=c.attrValue,Fe&&P(/((--!?|])>)|<\/(style|title)/i,I)){ke(O,e);continue}if(c.forceKeepAttr||(ke(O,e),!c.keepAttr))continue;if(!et&&P(/\/>/i,I)){ke(O,e);continue}me&&De([G,K,M],St=>{I=we(I,St," ")});const bt=L(e.nodeName);if(gt(bt,be,I)){if(nt&&(be==="id"||be==="name")&&(ke(O,e),I=Xt+I),p&&typeof Y=="object"&&typeof Y.getAttributeType=="function"&&!z)switch(Y.getAttributeType(bt,be)){case"TrustedHTML":{I=p.createHTML(I);break}case"TrustedScriptURL":{I=p.createScriptURL(I);break}}try{z?e.setAttributeNS(z,O,I):e.setAttribute(O,I),dt(e)?$(e):xt(n.removed)}catch(St){}}}oe("afterSanitizeAttributes",e,null)},$t=function u(e){let s=null;const c=pt(e);for(oe("beforeSanitizeShadowDOM",e,null);s=c.nextNode();)oe("uponSanitizeShadowNode",s,null),!_t(s)&&(s.content instanceof f&&u(s.content),Tt(s));oe("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(u){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,E=null,D=null;if(We=!u,We&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Ae("dirty is not a string, aborting")}else throw Ae("toString is not a function");if(!n.isSupported)return u;if(He||je(e),n.removed=[],typeof u=="string"&&(Ee=!1),Ee){if(u.nodeName){const ee=L(u.nodeName);if(!y[ee]||T[ee])throw Ae("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof N)s=mt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===xe.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!pe&&!me&&!ce&&u.indexOf("<")===-1)return p&&Me?p.createHTML(u):u;if(s=mt(u),!s)return pe?null:Me?B:""}s&&ze&&$(s.firstChild);const O=pt(Ee?u:s);for(;E=O.nextNode();)_t(E)||(E.content instanceof f&&$t(E.content),Tt(E));if(Ee)return u;if(pe){if(ve)for(D=R.call(s.ownerDocument);s.firstChild;)D.appendChild(s.firstChild);else D=s;return(w.shadowroot||w.shadowrootmode)&&(D=te.call(r,D,!0)),D}let z=ce?s.outerHTML:s.innerHTML;return ce&&y["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(z="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
|
|
2
2
|
`+z),me&&De([G,K,M],ee=>{z=we(z,ee," ")}),p&&Me?p.createHTML(z):z},n.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};je(u),He=!0},n.clearConfig=function(){ge=null,He=!1},n.isValidAttribute=function(u,e,s){ge||je({});const c=L(u),E=L(e);return gt(c,E,s)},n.addHook=function(u,e){typeof e=="function"&&(g[u]=g[u]||[],ye(g[u],e))},n.removeHook=function(u){if(g[u])return xt(g[u])},n.removeHooks=function(u){g[u]&&(g[u]=[])},n.removeAllHooks=function(){g={}},n}var kt=Yt();function Sn(i){t.append_styles(i,"svelte-1kolxtb",'*,*::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);width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3)}.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%)}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);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}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align: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);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:20px}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 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;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height: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%;text-align:center}.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);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #f9c405)}.CashierErrorButton:hover{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);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}}')}const yn=i=>({}),Dt=i=>({}),wn=i=>({}),It=i=>({}),An=i=>({}),Pt=i=>({}),Cn=i=>({}),Ut=i=>({class:"CashierSessionExpirationIcon"});function Ft(i){let n,o,r,l,f,_=i[8]("sessionExpirationHeader")+"",N,k,A,C,ae,le,Y,S,x,v,re,F,d,p,B;const j=i[22].icon,X=t.create_slot(j,i,i[21],Ut),R=X||xn(i),J=i[22].title,te=t.create_slot(J,i,i[21],Pt),g=te||Rn(i),G=i[22].text,K=t.create_slot(G,i,i[21],It),M=K||Ln(i),fe=[Mn,vn],q=[];function ne(h,b){return h[6]?0:1}return x=ne(i),v=q[x]=fe[x](i),{c(){n=t.element("div"),o=t.element("div"),r=t.element("div"),l=t.element("div"),f=t.element("div"),N=t.text(_),k=t.space(),A=t.element("div"),C=t.element("div"),R&&R.c(),ae=t.space(),g&&g.c(),le=t.space(),M&&M.c(),Y=t.space(),S=t.element("button"),v.c(),t.attr(f,"class","CashierSessionExpirationModalHeaderTitle"),t.attr(l,"class","CashierSessionExpirationModalHeader"),t.attr(S,"type","button"),S.disabled=i[6],t.attr(S,"class","CashierSessionExpirationButton"),t.attr(C,"class","CashierSessionExpiration"),t.attr(A,"class","CashierSessionExpirationModalContainer"),t.attr(r,"class","CashierSessionExpirationModalWrapper"),t.attr(o,"class","CashierSessionExpirationModalWindow"),t.attr(o,"id","CashierSessionExpirationModal"),t.add_render_callback(()=>i[24].call(o))},m(h,b){t.insert(h,n,b),t.append(n,o),t.append(o,r),t.append(r,l),t.append(l,f),t.append(f,N),t.append(r,k),t.append(r,A),t.append(A,C),R&&R.m(C,null),t.append(C,ae),g&&g.m(C,null),t.append(C,le),M&&M.m(C,null),t.append(C,Y),t.append(C,S),q[x].m(S,null),i[23](C),re=t.add_iframe_resize_listener(o,i[24].bind(o)),i[25](n),d=!0,p||(B=[t.listen(S,"click",i[9]),t.listen(o,"click",i[10])],p=!0)},p(h,b){i=h,(!d||b[0]&256)&&_!==(_=i[8]("sessionExpirationHeader")+"")&&t.set_data(N,_),X?X.p&&(!d||b[0]&2097152)&&t.update_slot_base(X,j,i,i[21],d?t.get_slot_changes(j,i[21],b,Cn):t.get_all_dirty_from_scope(i[21]),Ut):R&&R.p&&(!d||b[0]&8)&&R.p(i,d?b:[-1,-1]),te?te.p&&(!d||b[0]&2097152)&&t.update_slot_base(te,J,i,i[21],d?t.get_slot_changes(J,i[21],b,An):t.get_all_dirty_from_scope(i[21]),Pt):g&&g.p&&(!d||b[0]&256)&&g.p(i,d?b:[-1,-1]),K?K.p&&(!d||b[0]&2097152)&&t.update_slot_base(K,G,i,i[21],d?t.get_slot_changes(G,i[21],b,wn):t.get_all_dirty_from_scope(i[21]),It):M&&M.p&&(!d||b[0]&384)&&M.p(i,d?b:[-1,-1]);let se=x;x=ne(i),x===se?q[x].p(i,b):(t.group_outros(),t.transition_out(q[se],1,1,()=>{q[se]=null}),t.check_outros(),v=q[x],v?v.p(i,b):(v=q[x]=fe[x](i),v.c()),t.transition_in(v,1),v.m(S,null)),(!d||b[0]&64)&&(S.disabled=i[6])},i(h){d||(t.transition_in(R,h),t.transition_in(g,h),t.transition_in(M,h),t.transition_in(v),h&&t.add_render_callback(()=>{d&&(F||(F=t.create_bidirectional_transition(o,yt.fade,{duration:i[2]},!0)),F.run(1))}),d=!0)},o(h){t.transition_out(R,h),t.transition_out(g,h),t.transition_out(M,h),t.transition_out(v),h&&(F||(F=t.create_bidirectional_transition(o,yt.fade,{duration:i[2]},!1)),F.run(0)),d=!1},d(h){h&&t.detach(n),R&&R.d(h),g&&g.d(h),M&&M.d(h),q[x].d(),i[23](null),re(),h&&F&&F.end(),i[25](null),p=!1,t.run_all(B)}}}function Ht(i){let n,o;return{c(){n=t.element("img"),t.src_url_equal(n.src,o=`${i[3]}/set-timeout-icon.png`)||t.attr(n,"src",o),t.attr(n,"width","300px"),t.attr(n,"alt","error")},m(r,l){t.insert(r,n,l)},p(r,l){l[0]&8&&!t.src_url_equal(n.src,o=`${r[3]}/set-timeout-icon.png`)&&t.attr(n,"src",o)},d(r){r&&t.detach(n)}}}function xn(i){let n,o=i[3]&&Ht(i);return{c(){o&&o.c(),n=t.empty()},m(r,l){o&&o.m(r,l),t.insert(r,n,l)},p(r,l){r[3]?o?o.p(r,l):(o=Ht(r),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(r){r&&t.detach(n),o&&o.d(r)}}}function Rn(i){let n,o=i[8]("sessionExpirationTitle")+"",r;return{c(){n=t.element("span"),r=t.text(o),t.attr(n,"class","CashierSessionExpirationTitle")},m(l,f){t.insert(l,n,f),t.append(n,r)},p(l,f){f[0]&256&&o!==(o=l[8]("sessionExpirationTitle")+"")&&t.set_data(r,o)},d(l){l&&t.detach(n)}}}function Ln(i){let n,o=kt.sanitize(i[8]("sessionExpirationGeneralText",{values:{second:i[7]}}))+"";return{c(){n=t.element("span"),t.attr(n,"class","CashierSessionExpirationText")},m(r,l){t.insert(r,n,l),n.innerHTML=o},p(r,l){l[0]&384&&o!==(o=kt.sanitize(r[8]("sessionExpirationGeneralText",{values:{second:r[7]}}))+"")&&(n.innerHTML=o)},d(r){r&&t.detach(n)}}}function vn(i){let n;const o=i[22].button,r=t.create_slot(o,i,i[21],Dt),l=r||On(i);return{c(){l&&l.c()},m(f,_){l&&l.m(f,_),n=!0},p(f,_){r?r.p&&(!n||_[0]&2097152)&&t.update_slot_base(r,o,f,f[21],n?t.get_slot_changes(o,f[21],_,yn):t.get_all_dirty_from_scope(f[21]),Dt):l&&l.p&&(!n||_[0]&256)&&l.p(f,n?_:[-1,-1])},i(f){n||(t.transition_in(l,f),n=!0)},o(f){t.transition_out(l,f),n=!1},d(f){l&&l.d(f)}}}function Mn(i){let n,o,r,l,f,_=i[8]("sessionExpirationLoadingButton")+"",N;return{c(){n=t.element("div"),o=t.svg_element("svg"),r=t.svg_element("path"),l=t.space(),f=t.element("span"),N=t.text(_),t.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"),t.attr(r,"fill","white"),t.attr(o,"class","CashierSessionExpirationButtonSpinner"),t.attr(o,"xmlns","http://www.w3.org/2000/svg"),t.attr(o,"width","15"),t.attr(o,"height","14"),t.attr(o,"viewBox","0 0 15 14"),t.attr(o,"fill","none"),t.attr(f,"class","CashierSessionExpirationButtonText")},m(k,A){t.insert(k,n,A),t.append(n,o),t.append(o,r),t.append(n,l),t.append(n,f),t.append(f,N)},p(k,A){A[0]&256&&_!==(_=k[8]("sessionExpirationLoadingButton")+"")&&t.set_data(N,_)},i:t.noop,o:t.noop,d(k){k&&t.detach(n)}}}function On(i){let n,o=i[8]("sessionExpirationGeneralButton")+"",r;return{c(){n=t.element("span"),r=t.text(o),t.attr(n,"class","CashierSessionExpirationButtonText")},m(l,f){t.insert(l,n,f),t.append(n,r)},p(l,f){f[0]&256&&o!==(o=l[8]("sessionExpirationGeneralButton")+"")&&t.set_data(r,o)},d(l){l&&t.detach(n)}}}function Nn(i){let n,o,r=i[5]&&Ft(i);return{c(){r&&r.c(),n=t.empty()},m(l,f){r&&r.m(l,f),t.insert(l,n,f),o=!0},p(l,f){l[5]?r?(r.p(l,f),f[0]&32&&t.transition_in(r,1)):(r=Ft(l),r.c(),t.transition_in(r,1),r.m(n.parentNode,n)):r&&(t.group_outros(),t.transition_out(r,1,1,()=>{r=null}),t.check_outros())},i(l){o||(t.transition_in(r),o=!0)},o(l){t.transition_out(r),o=!1},d(l){l&&t.detach(n),r&&r.d(l)}}}const kn=90;function Dn(i,n,o){let r,l;t.component_subscribe(i,Se.xPaymentSessionToken,a=>o(20,r=a)),t.component_subscribe(i,t.$format,a=>o(8,l=a));let{$$slots:f={},$$scope:_}=n;Se.dayjs.extend(Se.utc);let{clientstyling:N=""}=n,{clientstylingurl:k=""}=n,{width:A}=n,{height:C}=n,{duration:ae=200}=n,{assetsurl:le=""}=n,{lang:Y="en"}=n,{translationurl:S=""}=n,{endpoint:x}=n,{currency:v}=n,{customerid:re}=n,{selectedpaymentmethodname:F}=n,{mbsource:d=""}=n,p,B=!1,j=!1,X,R,J,te,g;var G;(function(a){a.PlayerSessionIsNotValid="PlayerSessionIsNotValid",a.Success="Success",a.JwtTokenError="JwtTokenError"})(G||(G={}));const K=a=>{a.data.type==="StartSessionCountdown"&&(te=a.data.paymentMethodName)},M=a=>{try{return JSON.parse(atob(a.split(".")[1]))}catch(T){return null}},fe=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:g},window.location.href)},q=a=>{o(5,B=!1);const T=M(a);T&&(R=T==null?void 0:T.exp,o(7,X=R),J&&clearInterval(J),J=setInterval(()=>{const Z=Math.floor(new Date().getTime()/1e3);o(7,X=R-Z),X<=kn&&o(5,B=!0),Z>=R&&(ne(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},ne=()=>{o(7,X=0),o(5,B=!1),clearInterval(J)},h=()=>{if(j)return;const a=new URL(`${x}/v1/player/${re}/payment/GetPaymentMethod`),T=new Headers;o(6,j=!0),T.append("accept","application/json"),T.append("Content-Type","application/json"),T.append("X-Client-Request-Timestamp",Se.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const Z={method:"POST",mode:"cors",headers:T,body:JSON.stringify({PaymentMethodName:te||F,Currency:v,XPaymentSessionToken:r})};fetch(a,Z).then(H=>H.json()).then(H=>{if(H.error){window.postMessage({type:"ShowSessionError",error:H.error},window.location.href),ne();return}if(H.ResponseCode===G.PlayerSessionIsNotValid||H.ResponseCode===G.JwtTokenError){g=H.ResponseCode,ne(),fe();return}if(H.ResponseCode!==G.Success){g=H.ResponseCode,ne();return}H.XPaymentSessionToken&&Se.xPaymentSessionToken.set(H.XPaymentSessionToken)}).finally(()=>o(6,j=!1))},b=a=>{const T=a.currentTarget;a.target===T&&h()},se=()=>{fetch(S).then(T=>T.json()).then(T=>{Object.keys(T).forEach(Z=>{wt(Z,T[Z])})}).catch(T=>{console.log(T)})};Object.keys(At).forEach(a=>{wt(a,At[a])});const y=()=>{en(Y)};t.onMount(()=>(window.addEventListener("message",K,!1),()=>{window.removeEventListener("message",K)})),t.onDestroy(()=>{clearInterval(J)});function Re(a){t.binding_callbacks[a?"unshift":"push"](()=>{p=a,o(4,p)})}function w(){A=this.clientWidth,C=this.clientHeight,o(0,A),o(1,C)}function Le(a){t.binding_callbacks[a?"unshift":"push"](()=>{p=a,o(4,p)})}return i.$$set=a=>{"clientstyling"in a&&o(11,N=a.clientstyling),"clientstylingurl"in a&&o(12,k=a.clientstylingurl),"width"in a&&o(0,A=a.width),"height"in a&&o(1,C=a.height),"duration"in a&&o(2,ae=a.duration),"assetsurl"in a&&o(3,le=a.assetsurl),"lang"in a&&o(13,Y=a.lang),"translationurl"in a&&o(14,S=a.translationurl),"endpoint"in a&&o(15,x=a.endpoint),"currency"in a&&o(16,v=a.currency),"customerid"in a&&o(17,re=a.customerid),"selectedpaymentmethodname"in a&&o(18,F=a.selectedpaymentmethodname),"mbsource"in a&&o(19,d=a.mbsource),"$$scope"in a&&o(21,_=a.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&1048576&&q(r),i.$$.dirty[0]&8192&&Y&&y(),i.$$.dirty[0]&2064&&N&&p&&t.setClientStyling(p,N),i.$$.dirty[0]&4112&&k&&p&&t.setClientStylingURL(p,k),i.$$.dirty[0]&524304&&d&&p&&t.setStreamStyling(p,`${d}.Style`),i.$$.dirty[0]&16384&&S&&se()},[A,C,ae,le,p,B,j,X,l,h,b,N,k,Y,S,x,v,re,F,d,r,_,f,Re,w,Le]}class jt extends t.SvelteComponent{constructor(n){super(),t.init$1(this,n,Dn,Nn,t.safe_not_equal,{clientstyling:11,clientstylingurl:12,width:0,height:1,duration:2,assetsurl:3,lang:13,translationurl:14,endpoint:15,currency:16,customerid:17,selectedpaymentmethodname:18,mbsource:19},Sn,[-1,-1])}get clientstyling(){return this.$$.ctx[11]}set clientstyling(n){this.$$set({clientstyling:n}),t.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),t.flush()}get width(){return this.$$.ctx[0]}set width(n){this.$$set({width:n}),t.flush()}get height(){return this.$$.ctx[1]}set height(n){this.$$set({height:n}),t.flush()}get duration(){return this.$$.ctx[2]}set duration(n){this.$$set({duration:n}),t.flush()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(n){this.$$set({assetsurl:n}),t.flush()}get lang(){return this.$$.ctx[13]}set lang(n){this.$$set({lang:n}),t.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(n){this.$$set({translationurl:n}),t.flush()}get endpoint(){return this.$$.ctx[15]}set endpoint(n){this.$$set({endpoint:n}),t.flush()}get currency(){return this.$$.ctx[16]}set currency(n){this.$$set({currency:n}),t.flush()}get customerid(){return this.$$.ctx[17]}set customerid(n){this.$$set({customerid:n}),t.flush()}get selectedpaymentmethodname(){return this.$$.ctx[18]}set selectedpaymentmethodname(n){this.$$set({selectedpaymentmethodname:n}),t.flush()}get mbsource(){return this.$$.ctx[19]}set mbsource(n){this.$$set({mbsource:n}),t.flush()}}t.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Cn, i as Rn, $ as Ln, S as vn, b as Mn, s as On, f as j, c as Nn, e as me, t as fe, g as le,
|
|
2
|
-
import { f as Wt } from "./CashierReceiptPage-
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Cn, i as Rn, $ as Ln, S as vn, b as Mn, s as On, f as j, c as Nn, e as me, t as fe, g as le, a6 as un, a7 as fn, k as pe, r as mn, p as It, q as kn, af as Dn, d as We, a0 as In, ag as Pt, L as Ut, v as qe, u as Ye, h as je, j as Xe, l as x, a8 as Pn, x as Ft, m as G, w as Je, n as ke, o as E, y as zt, G as Ht, X as Bt, z as Gt, B as Un, C as Fn, D as zn, E as Hn, F as Bn } from "./CashierCarousel-Cf2c1vPp.js";
|
|
2
|
+
import { f as Wt } from "./CashierReceiptPage-aqMEl6Er.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-wpPiw7iF.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
Cn(n, t);
|
|
6
6
|
}
|
|
@@ -60,7 +60,7 @@ ut || (ut = function(t, i, o) {
|
|
|
60
60
|
ft || (ft = function(t, i) {
|
|
61
61
|
return new t(...i);
|
|
62
62
|
});
|
|
63
|
-
const Be = X(Array.prototype.forEach),
|
|
63
|
+
const Be = X(Array.prototype.forEach), Jt = X(Array.prototype.pop), Le = X(Array.prototype.push), Ve = X(String.prototype.toLowerCase), st = X(String.prototype.toString), Kt = X(String.prototype.match), ve = X(String.prototype.replace), Vn = X(String.prototype.indexOf), qn = X(String.prototype.trim), te = X(Object.prototype.hasOwnProperty), U = X(RegExp.prototype.test), Me = Jn(TypeError);
|
|
64
64
|
function X(n) {
|
|
65
65
|
return function(t) {
|
|
66
66
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
|
|
@@ -68,7 +68,7 @@ function X(n) {
|
|
|
68
68
|
return ut(n, t, o);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Jn(n) {
|
|
72
72
|
return function() {
|
|
73
73
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
74
74
|
i[o] = arguments[o];
|
|
@@ -89,7 +89,7 @@ function f(n, t) {
|
|
|
89
89
|
}
|
|
90
90
|
return n;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Kn(n) {
|
|
93
93
|
for (let t = 0; t < n.length; t++)
|
|
94
94
|
te(n, t) || (n[t] = null);
|
|
95
95
|
return n;
|
|
@@ -97,7 +97,7 @@ function Jn(n) {
|
|
|
97
97
|
function _e(n) {
|
|
98
98
|
const t = dn(null);
|
|
99
99
|
for (const [i, o] of pn(n))
|
|
100
|
-
te(n, i) && (Array.isArray(o) ? t[i] =
|
|
100
|
+
te(n, i) && (Array.isArray(o) ? t[i] = Kn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = _e(o) : t[i] = o);
|
|
101
101
|
return t;
|
|
102
102
|
}
|
|
103
103
|
function Oe(n, t) {
|
|
@@ -191,7 +191,7 @@ function _n() {
|
|
|
191
191
|
let m, W = "";
|
|
192
192
|
const {
|
|
193
193
|
implementation: q,
|
|
194
|
-
createNodeIterator:
|
|
194
|
+
createNodeIterator: J,
|
|
195
195
|
createDocumentFragment: L,
|
|
196
196
|
getElementsByTagName: Q
|
|
197
197
|
} = i, {
|
|
@@ -204,7 +204,7 @@ function _n() {
|
|
|
204
204
|
ERB_EXPR: $,
|
|
205
205
|
TMPLIT_EXPR: O,
|
|
206
206
|
DATA_ATTR: Ee,
|
|
207
|
-
ARIA_ATTR:
|
|
207
|
+
ARIA_ATTR: K,
|
|
208
208
|
IS_SCRIPT_OR_DATA: se,
|
|
209
209
|
ATTR_WHITESPACE: d,
|
|
210
210
|
CUSTOM_ELEMENT: T
|
|
@@ -234,7 +234,7 @@ function _n() {
|
|
|
234
234
|
enumerable: !0,
|
|
235
235
|
value: !1
|
|
236
236
|
}
|
|
237
|
-
})), b = null, ee = null, H = !0,
|
|
237
|
+
})), b = null, ee = null, H = !0, Ke = !0, mt = !1, pt = !0, Te = !1, Ze = !0, ge = !1, Qe = !1, $e = !1, be = !1, Pe = !1, Ue = !1, dt = !0, ht = !1;
|
|
238
238
|
const En = "user-content-";
|
|
239
239
|
let et = !0, xe = !1, Se = {}, we = null;
|
|
240
240
|
const gt = f({}, ["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"]);
|
|
@@ -267,7 +267,7 @@ function _n() {
|
|
|
267
267
|
// eslint-disable-line indent
|
|
268
268
|
v
|
|
269
269
|
// eslint-disable-line indent
|
|
270
|
-
) : Et, we = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt, b = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, v) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, v) : {}, Se = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1,
|
|
270
|
+
) : Et, we = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt, b = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, v) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, v) : {}, Se = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1, Ke = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ze = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, be = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, dt = e.SANITIZE_DOM !== !1, ht = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, xe = e.IN_PLACE || !1, ue = e.ALLOWED_URI_REGEXP || hn, ye = e.NAMESPACE || re, r = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (r.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (r.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (r.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Ke = !1), Pe && (be = !0), Se && (w = f({}, Qt), y = [], Se.html === !0 && (f(w, Zt), f(y, $t)), Se.svg === !0 && (f(w, rt), f(y, ct), f(y, Ge)), Se.svgFilters === !0 && (f(w, at), f(y, ct), f(y, Ge)), Se.mathMl === !0 && (f(w, lt), f(y, en), f(y, Ge))), e.ADD_TAGS && (w === De && (w = _e(w)), f(w, e.ADD_TAGS, v)), e.ADD_ATTR && (y === Ie && (y = _e(y)), f(y, e.ADD_ATTR, v)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, v), e.FORBID_CONTENTS && (we === gt && (we = _e(we)), f(we, e.FORBID_CONTENTS, v)), et && (w["#text"] = !0), ge && f(w, ["html", "head", "body"]), w.table && (f(w, ["tbody"]), delete b.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
271
271
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
272
272
|
throw Me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
273
273
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -322,7 +322,7 @@ function _n() {
|
|
|
322
322
|
if ($e)
|
|
323
323
|
e = "<remove></remove>" + e;
|
|
324
324
|
else {
|
|
325
|
-
const N =
|
|
325
|
+
const N = Kt(e, /^[\r\n\t ]+/);
|
|
326
326
|
l = N && N[0];
|
|
327
327
|
}
|
|
328
328
|
Ce === "application/xhtml+xml" && ye === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
@@ -342,7 +342,7 @@ function _n() {
|
|
|
342
342
|
const I = s.body || s.documentElement;
|
|
343
343
|
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null), ye === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : I;
|
|
344
344
|
}, Ct = function(e) {
|
|
345
|
-
return
|
|
345
|
+
return J.call(
|
|
346
346
|
e.ownerDocument || e,
|
|
347
347
|
e,
|
|
348
348
|
// eslint-disable-next-line no-bitwise
|
|
@@ -390,8 +390,8 @@ function _n() {
|
|
|
390
390
|
}, Mt = function(e, s, l) {
|
|
391
391
|
if (dt && (s === "id" || s === "name") && (l in i || l in wn))
|
|
392
392
|
return !1;
|
|
393
|
-
if (!(
|
|
394
|
-
if (!(H && U(
|
|
393
|
+
if (!(Ke && !ee[s] && U(Ee, s))) {
|
|
394
|
+
if (!(H && U(K, s))) {
|
|
395
395
|
if (!y[s] || ee[s]) {
|
|
396
396
|
if (
|
|
397
397
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
@@ -416,7 +416,7 @@ function _n() {
|
|
|
416
416
|
}
|
|
417
417
|
return !0;
|
|
418
418
|
}, Ot = function(e) {
|
|
419
|
-
return e !== "annotation-xml" &&
|
|
419
|
+
return e !== "annotation-xml" && Kt(e, T);
|
|
420
420
|
}, Nt = function(e) {
|
|
421
421
|
ae("beforeSanitizeAttributes", e, null);
|
|
422
422
|
const {
|
|
@@ -465,7 +465,7 @@ function _n() {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
try {
|
|
468
|
-
B ? e.setAttributeNS(B, N, P) : e.setAttribute(N, P), Rt(e) ? ne(e) :
|
|
468
|
+
B ? e.setAttributeNS(B, N, P) : e.setAttribute(N, P), Rt(e) ? ne(e) : Jt(t.removed);
|
|
469
469
|
} catch {
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -535,7 +535,7 @@ function _n() {
|
|
|
535
535
|
typeof e == "function" && (g[c] = g[c] || [], Le(g[c], e));
|
|
536
536
|
}, t.removeHook = function(c) {
|
|
537
537
|
if (g[c])
|
|
538
|
-
return
|
|
538
|
+
return Jt(g[c]);
|
|
539
539
|
}, t.removeHooks = function(c) {
|
|
540
540
|
g[c] && (g[c] = []);
|
|
541
541
|
}, t.removeAllHooks = function() {
|
|
@@ -555,13 +555,13 @@ function ln(n) {
|
|
|
555
555
|
const q = (
|
|
556
556
|
/*#slots*/
|
|
557
557
|
n[22].icon
|
|
558
|
-
),
|
|
558
|
+
), J = We(
|
|
559
559
|
q,
|
|
560
560
|
n,
|
|
561
561
|
/*$$scope*/
|
|
562
562
|
n[21],
|
|
563
563
|
an
|
|
564
|
-
), L =
|
|
564
|
+
), L = J || di(n), Q = (
|
|
565
565
|
/*#slots*/
|
|
566
566
|
n[22].title
|
|
567
567
|
), oe = We(
|
|
@@ -579,23 +579,23 @@ function ln(n) {
|
|
|
579
579
|
/*$$scope*/
|
|
580
580
|
n[21],
|
|
581
581
|
sn
|
|
582
|
-
), O = $ || gi(n), Ee = [Ei, _i],
|
|
582
|
+
), O = $ || gi(n), Ee = [Ei, _i], K = [];
|
|
583
583
|
function se(d, T) {
|
|
584
584
|
return (
|
|
585
585
|
/*showLoaderButton*/
|
|
586
586
|
d[6] ? 0 : 1
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
|
-
return R = se(n), M =
|
|
589
|
+
return R = se(n), M = K[R] = Ee[R](n), {
|
|
590
590
|
c() {
|
|
591
|
-
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k =
|
|
591
|
+
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k = Je(h), D = ke(), A = G("div"), C = G("div"), L && L.c(), de = ke(), g && g.c(), he = ke(), O && O.c(), V = ke(), S = G("button"), M.c(), E(u, "class", "CashierSessionExpirationModalHeaderTitle"), E(a, "class", "CashierSessionExpirationModalHeader"), E(S, "type", "button"), S.disabled = /*showLoaderButton*/
|
|
592
592
|
n[6], E(S, "class", "CashierSessionExpirationButton"), E(C, "class", "CashierSessionExpiration"), E(A, "class", "CashierSessionExpirationModalContainer"), E(o, "class", "CashierSessionExpirationModalWrapper"), E(i, "class", "CashierSessionExpirationModalWindow"), E(i, "id", "CashierSessionExpirationModal"), Ut(() => (
|
|
593
593
|
/*div5_elementresize_handler*/
|
|
594
594
|
n[24].call(i)
|
|
595
595
|
));
|
|
596
596
|
},
|
|
597
597
|
m(d, T) {
|
|
598
|
-
pe(d, t, T), x(t, i), x(i, o), x(o, a), x(a, u), x(u, k), x(o, D), x(o, A), x(A, C), L && L.m(C, null), x(C, de), g && g.m(C, null), x(C, he), O && O.m(C, null), x(C, V), x(C, S),
|
|
598
|
+
pe(d, t, T), x(t, i), x(i, o), x(o, a), x(a, u), x(u, k), x(o, D), x(o, A), x(A, C), L && L.m(C, null), x(C, de), g && g.m(C, null), x(C, he), O && O.m(C, null), x(C, V), x(C, S), K[R].m(S, null), n[23](C), ce = Pn(
|
|
599
599
|
i,
|
|
600
600
|
/*div5_elementresize_handler*/
|
|
601
601
|
n[24].bind(i)
|
|
@@ -617,9 +617,9 @@ function ln(n) {
|
|
|
617
617
|
p(d, T) {
|
|
618
618
|
n = d, (!p || T[0] & /*$_*/
|
|
619
619
|
256) && h !== (h = /*$_*/
|
|
620
|
-
n[8]("sessionExpirationHeader") + "") && qe(k, h),
|
|
620
|
+
n[8]("sessionExpirationHeader") + "") && qe(k, h), J ? J.p && (!p || T[0] & /*$$scope*/
|
|
621
621
|
2097152) && Ye(
|
|
622
|
-
|
|
622
|
+
J,
|
|
623
623
|
q,
|
|
624
624
|
n,
|
|
625
625
|
/*$$scope*/
|
|
@@ -676,9 +676,9 @@ function ln(n) {
|
|
|
676
676
|
) : O && O.p && (!p || T[0] & /*$_, timeLeft*/
|
|
677
677
|
384) && O.p(n, p ? T : [-1, -1]);
|
|
678
678
|
let ue = R;
|
|
679
|
-
R = se(n), R === ue ?
|
|
680
|
-
|
|
681
|
-
}), fn(), M =
|
|
679
|
+
R = se(n), R === ue ? K[R].p(n, T) : (un(), fe(K[ue], 1, 1, () => {
|
|
680
|
+
K[ue] = null;
|
|
681
|
+
}), fn(), M = K[R], M ? M.p(n, T) : (M = K[R] = Ee[R](n), M.c()), le(M, 1), M.m(S, null)), (!p || T[0] & /*showLoaderButton*/
|
|
682
682
|
64) && (S.disabled = /*showLoaderButton*/
|
|
683
683
|
n[6]);
|
|
684
684
|
},
|
|
@@ -697,7 +697,7 @@ function ln(n) {
|
|
|
697
697
|
) }, !1)), z.run(0)), p = !1;
|
|
698
698
|
},
|
|
699
699
|
d(d) {
|
|
700
|
-
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d),
|
|
700
|
+
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d), K[R].d(), n[23](null), ce(), d && z && z.end(), n[25](null), m = !1, In(W);
|
|
701
701
|
}
|
|
702
702
|
};
|
|
703
703
|
}
|
|
@@ -749,7 +749,7 @@ function hi(n) {
|
|
|
749
749
|
), o;
|
|
750
750
|
return {
|
|
751
751
|
c() {
|
|
752
|
-
t = G("span"), o =
|
|
752
|
+
t = G("span"), o = Je(i), E(t, "class", "CashierSessionExpirationTitle");
|
|
753
753
|
},
|
|
754
754
|
m(a, u) {
|
|
755
755
|
pe(a, t, u), x(t, o);
|
|
@@ -853,7 +853,7 @@ function Ei(n) {
|
|
|
853
853
|
), k;
|
|
854
854
|
return {
|
|
855
855
|
c() {
|
|
856
|
-
t = G("div"), i = Bt("svg"), o = Bt("path"), a = ke(), u = G("span"), k =
|
|
856
|
+
t = G("div"), i = Bt("svg"), o = Bt("path"), a = ke(), u = G("span"), k = Je(h), E(o, "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(o, "fill", "white"), E(i, "class", "CashierSessionExpirationButtonSpinner"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "width", "15"), E(i, "height", "14"), E(i, "viewBox", "0 0 15 14"), E(i, "fill", "none"), E(u, "class", "CashierSessionExpirationButtonText");
|
|
857
857
|
},
|
|
858
858
|
m(D, A) {
|
|
859
859
|
pe(D, t, A), x(t, i), x(i, o), x(t, a), x(t, u), x(u, k);
|
|
@@ -877,7 +877,7 @@ function Ti(n) {
|
|
|
877
877
|
), o;
|
|
878
878
|
return {
|
|
879
879
|
c() {
|
|
880
|
-
t = G("span"), o =
|
|
880
|
+
t = G("span"), o = Je(i), E(t, "class", "CashierSessionExpirationButtonText");
|
|
881
881
|
},
|
|
882
882
|
m(a, u) {
|
|
883
883
|
pe(a, t, u), x(t, o);
|
|
@@ -928,7 +928,7 @@ function wi(n, t, i) {
|
|
|
928
928
|
It(n, jt, (r) => i(20, o = r)), It(n, Bn, (r) => i(8, a = r));
|
|
929
929
|
let { $$slots: u = {}, $$scope: h } = t;
|
|
930
930
|
Yt.extend(Gn);
|
|
931
|
-
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: C } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: S = "" } = t, { endpoint: R } = t, { currency: M } = t, { customerid: ce } = t, { selectedpaymentmethodname: z } = t, { mbsource: p = "" } = t, m, W = !1, q = !1,
|
|
931
|
+
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: C } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: S = "" } = t, { endpoint: R } = t, { currency: M } = t, { customerid: ce } = t, { selectedpaymentmethodname: z } = t, { mbsource: p = "" } = t, m, W = !1, q = !1, J, L, Q, oe, g;
|
|
932
932
|
var Y;
|
|
933
933
|
(function(r) {
|
|
934
934
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -949,18 +949,18 @@ function wi(n, t, i) {
|
|
|
949
949
|
},
|
|
950
950
|
window.location.href
|
|
951
951
|
);
|
|
952
|
-
},
|
|
952
|
+
}, K = (r) => {
|
|
953
953
|
i(5, W = !1);
|
|
954
954
|
const b = O(r);
|
|
955
|
-
b && (L = b?.exp, i(7,
|
|
955
|
+
b && (L = b?.exp, i(7, J = L), Q && clearInterval(Q), Q = setInterval(
|
|
956
956
|
() => {
|
|
957
957
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
958
|
-
i(7,
|
|
958
|
+
i(7, J = L - ee), J <= Si && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
959
959
|
},
|
|
960
960
|
1e3
|
|
961
961
|
));
|
|
962
962
|
}, se = () => {
|
|
963
|
-
i(7,
|
|
963
|
+
i(7, J = 0), i(5, W = !1), clearInterval(Q);
|
|
964
964
|
}, d = () => {
|
|
965
965
|
if (q)
|
|
966
966
|
return;
|
|
@@ -1037,7 +1037,7 @@ function wi(n, t, i) {
|
|
|
1037
1037
|
"clientstyling" in r && i(11, k = r.clientstyling), "clientstylingurl" in r && i(12, D = r.clientstylingurl), "width" in r && i(0, A = r.width), "height" in r && i(1, C = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14, S = r.translationurl), "endpoint" in r && i(15, R = r.endpoint), "currency" in r && i(16, M = r.currency), "customerid" in r && i(17, ce = r.customerid), "selectedpaymentmethodname" in r && i(18, z = r.selectedpaymentmethodname), "mbsource" in r && i(19, p = r.mbsource), "$$scope" in r && i(21, h = r.$$scope);
|
|
1038
1038
|
}, n.$$.update = () => {
|
|
1039
1039
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1040
|
-
1048576 &&
|
|
1040
|
+
1048576 && K(o), n.$$.dirty[0] & /*lang*/
|
|
1041
1041
|
8192 && V && w(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1042
1042
|
2064 && k && m && Un(m, k), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1043
1043
|
4112 && D && m && Fn(m, D), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -1051,7 +1051,7 @@ function wi(n, t, i) {
|
|
|
1051
1051
|
m,
|
|
1052
1052
|
W,
|
|
1053
1053
|
q,
|
|
1054
|
-
|
|
1054
|
+
J,
|
|
1055
1055
|
a,
|
|
1056
1056
|
d,
|
|
1057
1057
|
T,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as h, b as m, s as f, f as o, c as y, G as c, e as d, k as g, m as p, o as k, q as b, y as S, B as x, C as v, D as w, E as C } from "./CashierCarousel-
|
|
1
|
+
import { S as h, b as m, s as f, f as o, c as y, G as c, e as d, k as g, m as p, o as k, q as b, y as S, B as x, C as v, D as w, E as C } from "./CashierCarousel-Cf2c1vPp.js";
|
|
2
2
|
function _(e) {
|
|
3
3
|
y(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-DHmjrgBC.cjs");function h(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function d(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function f(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i;t.onMount(()=>()=>{});function u(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`)},[i,l,o,a,u]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,d,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as h, b as m, s as f, f as o, c as y, G as c, e as d, k as g, m as p, o as k, q as b, y as S, B as x, C as v, D as w, E as C } from "./CashierCarousel-
|
|
1
|
+
import { S as h, b as m, s as f, f as o, c as y, G as c, e as d, k as g, m as p, o as k, q as b, y as S, B as x, C as v, D as w, E as C } from "./CashierCarousel-CsnmOP94.js";
|
|
2
2
|
function _(e) {
|
|
3
3
|
y(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
4
4
|
}
|