@everymatrix/cashier-method-details 1.69.0 → 1.69.2

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.
Files changed (32) hide show
  1. package/components/{CashierError-SVNe4t75.js → CashierError-CPr2CtwU.js} +1 -1
  2. package/components/{CashierError-DUTIaWmP.js → CashierError-Cr_kHw7o.js} +1 -1
  3. package/components/{CashierError-DtaTjZ6C.cjs → CashierError-DVbWiIXC.cjs} +1 -1
  4. package/components/{CashierHeader-Bq8B4uSb.cjs → CashierHeader-B1U_KaE6.cjs} +1 -1
  5. package/components/{CashierHeader-8k60mA2q.js → CashierHeader-CKqAv1vl.js} +1 -1
  6. package/components/{CashierHeader-B4YRoHAG.js → CashierHeader-DmZHwWlI.js} +1 -1
  7. package/components/{CashierIframeRedirect-DKHsdD8g.js → CashierIframeRedirect-Bxbt-jxd.js} +2 -2
  8. package/components/{CashierIframeRedirect-DbV2tAtA.cjs → CashierIframeRedirect-CVbgR46P.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-ylBe6ICa.js → CashierIframeRedirect-D1UxsUxa.js} +2 -2
  10. package/components/{CashierMethodDetails-BaMssroB.js → CashierMethodDetails-Bt7xKdnx.js} +201 -200
  11. package/components/{CashierMethodDetails-H50U4l6j.cjs → CashierMethodDetails-DRgOakIA.cjs} +9 -8
  12. package/components/{CashierMethodDetails-BxtYTabv.js → CashierMethodDetails-NTOu26W1.js} +13 -12
  13. package/components/{CashierReceiptPage-Cu9N62ev.cjs → CashierReceiptPage-AVOF-iSv.cjs} +1 -1
  14. package/components/{CashierReceiptPage-BP1GeDMf.js → CashierReceiptPage-CJbJi34Q.js} +2 -2
  15. package/components/{CashierReceiptPage-l-I1js69.js → CashierReceiptPage-DvCvk4dP.js} +2 -2
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-D5_8Vwfn.cjs → index-97d17652-CjAagVjG.cjs} +1 -1
  21. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-D1-6d0Bk.js} +1 -1
  22. package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-IdX2D3yt.js} +1 -1
  23. package/stencil/{ui-image-CmwNU-jf.js → ui-image-C6J6vPTv.js} +2 -2
  24. package/stencil/{ui-image-CMb1eK44.cjs → ui-image-CpMjzwxS.cjs} +1 -1
  25. package/stencil/{ui-image-CQQDA5b0.js → ui-image-DT3VkYPr.js} +2 -2
  26. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-C2NxBIqB.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-CSbk4a-_.js} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DtQlRvK7.cjs} +1 -1
  29. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-BjVQzUTV.js} +63 -43
  30. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-CaETIZEN.js} +63 -43
  31. package/stencil/ui-image_2-gOIKmeIr.cjs +73 -0
  32. package/stencil/ui-image_2-YkYxLKu7.cjs +0 -73
@@ -1,4 +1,4 @@
1
- "use strict";var da=Object.defineProperty,fa=Object.defineProperties;var ca=Object.getOwnPropertyDescriptors;var ct=Object.getOwnPropertySymbols;var ma=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable;var mt=(n,a,e)=>a in n?da(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e,Gn=(n,a)=>{for(var e in a||(a={}))ma.call(a,e)&&mt(n,e,a[e]);if(ct)for(var e of ct(a))pa.call(a,e)&&mt(n,e,a[e]);return n},pt=(n,a)=>fa(n,ca(a));const t=require("./CashierConfirmModal-CiWxBakF.cjs"),Fe=require("./CashierError-DtaTjZ6C.cjs");require("../stencil/ui-image-CMb1eK44.cjs");let Qn=Fe.writable(null);function ht(n,a){Fe.addMessages(n,a)}function ha(n){Fe.init({fallbackLocale:"en"}),Fe.$locale.set(n)}const gt={en:{loading:"Loading...",amountLabel:"Amount",amountMultiplier:"Please be aware that amount should be multiple of {multiplier}",redirectTitle:"You are redirected to the payment's provider page",redirectMessage:"Please complete your transaction on the payment's provider page.",backToPayment:"CLOSE",retryText:"Please note that your popup blocker may prevent the payment window from appearing",retryButton:"RETRY",processingButton:"PROCESSING...",generalMin:"Min:",generalMax:"Max:",amountPlaceholder:" ",change:"Change",errorEmptyField:"Please enter data",minAmountError:"Amount cannot be smaller than {amount} {currency}",maxAmountError:"Amount cannot be bigger than {amount} {currency}",amountMultiplierError:"Amount should be multiple of {multiplier}",amountIntError:"Amount should be integer value",amountDecimalError:"Amount should have 2 or less digits after decimal point",invalidFieldError:"{field} is invalid",backToMethodList:"BACK TO PAYMENT METHODS"},tr:{loading:"Yükleniyor...",amountLabel:"Tutar",amountMultiplier:"Miktar {multiplier} ve katları olmalıdır",redirectTitle:"Ödeme sağlayıcısı sayfasına yönlendirilirsiniz",redirectMessage:"Lütfen ödeme sağlayıcısı sayfasında işleminizi tamamlayın.",backToPayment:"KAPALI",retryText:"Açılır pencere engelleyicinizin ödeme penceresinin görünmesini engelleyebileceğini lütfen unutmayın",retryButton:"Yeniden Dene",processingButton:"İŞLEME...",generalMin:"Min:",generalMax:"Maks:",amountPlaceholder:" ",change:"Değiştir",errorEmptyField:"Lütfen verileri girin",minAmountError:"Tutar {amount} {currency}'den küçük olamaz",maxAmountError:"Tutar {amount} {currency}'den büyük olamaz",amountMultiplierError:"Lütfen miktarın {multiplier} ve katları olmasına dikkat edin.",amountIntError:"Tutar tam sayı olmalıdır",amountDecimalError:"Tutarın ondalık noktadan sonra 2 veya daha az hanesi olmalıdır",invalidFieldError:"{field} geçersiz",backToMethodList:"ÖDEME YÖNTEMLERİNE GERİ DÖN"}};if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierIframeRedirect-DbV2tAtA.cjs")).then(({default:a})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierConfirmModal-CiWxBakF.cjs")).then(a=>a.CashierConfirmModal_ce).then(({default:a})=>{!customElements.get("cashier-confirm-modal")&&customElements.define("cashier-confirm-modal",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierNotifications-C5Z_cNID.cjs")).then(({default:a})=>{!customElements.get("cashier-notifications")&&customElements.define("cashier-notifications",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierError-DtaTjZ6C.cjs")).then(a=>a.CashierError_ce).then(({default:a})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierModal-yskXp9fE.cjs")).then(({default:a})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierReceiptPage-Cu9N62ev.cjs")).then(({default:a})=>{!customElements.get("cashier-receipt-page")&&customElements.define("cashier-receipt-page",a.element)})}var it=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Dn={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console!="undefined"&&console.warn(n)},getWeek:function(n){var a=new Date(n.getTime());a.setHours(0,0,0,0),a.setDate(a.getDate()+3-(a.getDay()+6)%7);var e=new Date(a.getFullYear(),0,4);return 1+Math.round(((a.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Pn={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var a=n%100;if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Le=function(n,a){return a===void 0&&(a=2),("000"+n).slice(a*-1)},Re=function(n){return n===!0?1:0};function wt(n,a){var e;return function(){var r=this,s=arguments;clearTimeout(e),e=setTimeout(function(){return n.apply(r,s)},a)}}var ot=function(n){return n instanceof Array?n:[n]};function Ae(n,a,e){if(e===!0)return n.classList.add(a);n.classList.remove(a)}function le(n,a,e){var r=window.document.createElement(n);return a=a||"",e=e||"",r.className=a,e!==void 0&&(r.textContent=e),r}function Zn(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function zt(n,a){if(a(n))return n;if(n.parentNode)return zt(n.parentNode,a)}function $n(n,a){var e=le("div","numInputWrapper"),r=le("input","numInput "+n),s=le("span","arrowUp"),u=le("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?r.type="number":(r.type="text",r.pattern="\\d*"),a!==void 0)for(var p in a)r.setAttribute(p,a[p]);return e.appendChild(r),e.appendChild(s),e.appendChild(u),e}function Pe(n){try{if(typeof n.composedPath=="function"){var a=n.composedPath();return a[0]}return n.target}catch(e){return n.target}}var lt=function(){},nt=function(n,a,e){return e.months[a?"shorthand":"longhand"][n]},ga={D:lt,F:function(n,a,e){n.setMonth(e.months.longhand.indexOf(a))},G:function(n,a){n.setHours((n.getHours()>=12?12:0)+parseFloat(a))},H:function(n,a){n.setHours(parseFloat(a))},J:function(n,a){n.setDate(parseFloat(a))},K:function(n,a,e){n.setHours(n.getHours()%12+12*Re(new RegExp(e.amPM[1],"i").test(a)))},M:function(n,a,e){n.setMonth(e.months.shorthand.indexOf(a))},S:function(n,a){n.setSeconds(parseFloat(a))},U:function(n,a){return new Date(parseFloat(a)*1e3)},W:function(n,a,e){var r=parseInt(a),s=new Date(n.getFullYear(),0,2+(r-1)*7,0,0,0,0);return s.setDate(s.getDate()-s.getDay()+e.firstDayOfWeek),s},Y:function(n,a){n.setFullYear(parseFloat(a))},Z:function(n,a){return new Date(a)},d:function(n,a){n.setDate(parseFloat(a))},h:function(n,a){n.setHours((n.getHours()>=12?12:0)+parseFloat(a))},i:function(n,a){n.setMinutes(parseFloat(a))},j:function(n,a){n.setDate(parseFloat(a))},l:lt,m:function(n,a){n.setMonth(parseFloat(a)-1)},n:function(n,a){n.setMonth(parseFloat(a)-1)},s:function(n,a){n.setSeconds(parseFloat(a))},u:function(n,a){return new Date(parseFloat(a))},w:lt,y:function(n,a){n.setFullYear(2e3+parseFloat(a))}},cn={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},On={Z:function(n){return n.toISOString()},D:function(n,a,e){return a.weekdays.shorthand[On.w(n,a,e)]},F:function(n,a,e){return nt(On.n(n,a,e)-1,!1,a)},G:function(n,a,e){return Le(On.h(n,a,e))},H:function(n){return Le(n.getHours())},J:function(n,a){return a.ordinal!==void 0?n.getDate()+a.ordinal(n.getDate()):n.getDate()},K:function(n,a){return a.amPM[Re(n.getHours()>11)]},M:function(n,a){return nt(n.getMonth(),!0,a)},S:function(n){return Le(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,a,e){return e.getWeek(n)},Y:function(n){return Le(n.getFullYear(),4)},d:function(n){return Le(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return Le(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,a){return a.weekdays.longhand[n.getDay()]},m:function(n){return Le(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},Bt=function(n){var a=n.config,e=a===void 0?Dn:a,r=n.l10n,s=r===void 0?Pn:r,u=n.isMobile,p=u===void 0?!1:u;return function(f,m,h){var v=h||s;return e.formatDate!==void 0&&!p?e.formatDate(f,m,v):m.split("").map(function(D,b,_){return On[D]&&_[b-1]!=="\\"?On[D](f,v,e):D!=="\\"?D:""}).join("")}},dt=function(n){var a=n.config,e=a===void 0?Dn:a,r=n.l10n,s=r===void 0?Pn:r;return function(u,p,f,m){if(!(u!==0&&!u)){var h=m||s,v,D=u;if(u instanceof Date)v=new Date(u.getTime());else if(typeof u!="string"&&u.toFixed!==void 0)v=new Date(u);else if(typeof u=="string"){var b=p||(e||Dn).dateFormat,_=String(u).trim();if(_==="today")v=new Date,f=!0;else if(e&&e.parseDate)v=e.parseDate(u,b);else if(/Z$/.test(_)||/GMT$/.test(_))v=new Date(u);else{for(var g=void 0,c=[],E=0,Y=0,j="";E<b.length;E++){var W=b[E],J=W==="\\",Q=b[E-1]==="\\"||J;if(cn[W]&&!Q){j+=cn[W];var U=new RegExp(j).exec(u);U&&(g=!0)&&c[W!=="Y"?"push":"unshift"]({fn:ga[W],val:U[++Y]})}else J||(j+=".")}v=!e||!e.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),c.forEach(function(Z){var q=Z.fn,re=Z.val;return v=q(v,re,h)||v}),v=g?v:void 0}}if(!(v instanceof Date&&!isNaN(v.getTime()))){e.errorHandler(new Error("Invalid date provided: "+D));return}return f===!0&&v.setHours(0,0,0,0),v}}};function Ne(n,a,e){return e===void 0&&(e=!0),e!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(a.getTime()).setHours(0,0,0,0):n.getTime()-a.getTime()}var wa=function(n,a,e){return n>Math.min(a,e)&&n<Math.max(a,e)},st=function(n,a,e){return n*3600+a*60+e},va=function(n){var a=Math.floor(n/3600),e=(n-a*3600)/60;return[a,e,n-a*3600-e*60]},ba={DAY:864e5};function ut(n){var a=n.defaultHour,e=n.defaultMinute,r=n.defaultSeconds;if(n.minDate!==void 0){var s=n.minDate.getHours(),u=n.minDate.getMinutes(),p=n.minDate.getSeconds();a<s&&(a=s),a===s&&e<u&&(e=u),a===s&&e===u&&r<p&&(r=n.minDate.getSeconds())}if(n.maxDate!==void 0){var f=n.maxDate.getHours(),m=n.maxDate.getMinutes();a=Math.min(a,f),a===f&&(e=Math.min(m,e)),a===f&&e===m&&(r=n.maxDate.getSeconds())}return{hours:a,minutes:e,seconds:r}}typeof Object.assign!="function"&&(Object.assign=function(n){for(var a=[],e=1;e<arguments.length;e++)a[e-1]=arguments[e];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var r=function(f){f&&Object.keys(f).forEach(function(m){return n[m]=f[m]})},s=0,u=a;s<u.length;s++){var p=u[s];r(p)}return n});var Me=function(){return Me=Object.assign||function(n){for(var a,e=1,r=arguments.length;e<r;e++){a=arguments[e];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},Me.apply(this,arguments)},vt=function(){for(var n=0,a=0,e=arguments.length;a<e;a++)n+=arguments[a].length;for(var r=Array(n),s=0,a=0;a<e;a++)for(var u=arguments[a],p=0,f=u.length;p<f;p++,s++)r[s]=u[p];return r},ya=300;function ka(n,a){var e={config:Me(Me({},Dn),he.defaultConfig),l10n:Pn};e.parseDate=dt({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=c,e._setHoursFromDate=b,e._positionCalendar=We,e.changeMonth=K,e.changeYear=ce,e.clear=ee,e.close=$,e.onMouseOver=pe,e._createElement=le,e.createDay=U,e.destroy=se,e.isEnabled=te,e.jumpToDate=j,e.updateValue=_e,e.open=je,e.redraw=Ue,e.set=Ye,e.setDate=tn,e.toggle=pn;function r(){e.utils={getDaysInMonth:function(i,o){return i===void 0&&(i=e.currentMonth),o===void 0&&(o=e.currentYear),i===1&&(o%4===0&&o%100!==0||o%400===0)?29:e.l10n.daysInMonth[i]}}}function s(){e.element=e.input=n,e.isOpen=!1,de(),Je(),mn(),Xe(),r(),e.isMobile||Q(),Y(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&b(e.config.noCalendar?e.latestSelectedDateObj:void 0),_e(!1)),f();var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&i&&We(),fe("onReady")}function u(){var i;return((i=e.calendarContainer)===null||i===void 0?void 0:i.getRootNode()).activeElement||document.activeElement}function p(i){return i.bind(e)}function f(){var i=e.config;i.weekNumbers===!1&&i.showMonths===1||i.noCalendar!==!0&&window.requestAnimationFrame(function(){if(e.calendarContainer!==void 0&&(e.calendarContainer.style.visibility="hidden",e.calendarContainer.style.display="block"),e.daysContainer!==void 0){var o=(e.days.offsetWidth+1)*i.showMonths;e.daysContainer.style.width=o+"px",e.calendarContainer.style.width=o+(e.weekWrapper!==void 0?e.weekWrapper.offsetWidth:0)+"px",e.calendarContainer.style.removeProperty("visibility"),e.calendarContainer.style.removeProperty("display")}})}function m(i){if(e.selectedDates.length===0){var o=e.config.minDate===void 0||Ne(new Date,e.config.minDate)>=0?new Date:new Date(e.config.minDate.getTime()),d=ut(e.config);o.setHours(d.hours,d.minutes,d.seconds,o.getMilliseconds()),e.selectedDates=[o],e.latestSelectedDateObj=o}i!==void 0&&i.type!=="blur"&&sn(i);var w=e._input.value;D(),_e(),e._input.value!==w&&e._debouncedChange()}function h(i,o){return i%12+12*Re(o===e.l10n.amPM[1])}function v(i){switch(i%24){case 0:case 12:return 12;default:return i%12}}function D(){if(!(e.hourElement===void 0||e.minuteElement===void 0)){var i=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,o=(parseInt(e.minuteElement.value,10)||0)%60,d=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(i=h(i,e.amPM.textContent));var w=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&Ne(e.latestSelectedDateObj,e.config.minDate,!0)===0,S=e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&Ne(e.latestSelectedDateObj,e.config.maxDate,!0)===0;if(e.config.maxTime!==void 0&&e.config.minTime!==void 0&&e.config.minTime>e.config.maxTime){var T=st(e.config.minTime.getHours(),e.config.minTime.getMinutes(),e.config.minTime.getSeconds()),B=st(e.config.maxTime.getHours(),e.config.maxTime.getMinutes(),e.config.maxTime.getSeconds()),F=st(i,o,d);if(F>B&&F<T){var G=va(T);i=G[0],o=G[1],d=G[2]}}else{if(S){var N=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;i=Math.min(i,N.getHours()),i===N.getHours()&&(o=Math.min(o,N.getMinutes())),o===N.getMinutes()&&(d=Math.min(d,N.getSeconds()))}if(w){var z=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;i=Math.max(i,z.getHours()),i===z.getHours()&&o<z.getMinutes()&&(o=z.getMinutes()),o===z.getMinutes()&&(d=Math.max(d,z.getSeconds()))}}_(i,o,d)}}function b(i){var o=i||e.latestSelectedDateObj;o&&o instanceof Date&&_(o.getHours(),o.getMinutes(),o.getSeconds())}function _(i,o,d){e.latestSelectedDateObj!==void 0&&e.latestSelectedDateObj.setHours(i%24,o,d||0,0),!(!e.hourElement||!e.minuteElement||e.isMobile)&&(e.hourElement.value=Le(e.config.time_24hr?i:(12+i)%12+12*Re(i%12===0)),e.minuteElement.value=Le(o),e.amPM!==void 0&&(e.amPM.textContent=e.l10n.amPM[Re(i>=12)]),e.secondElement!==void 0&&(e.secondElement.value=Le(d)))}function g(i){var o=Pe(i),d=parseInt(o.value)+(i.delta||0);(d/1e3>1||i.key==="Enter"&&!/[^\d]/.test(d.toString()))&&ce(d)}function c(i,o,d,w){if(o instanceof Array)return o.forEach(function(S){return c(i,S,d,w)});if(i instanceof Array)return i.forEach(function(S){return c(S,o,d,w)});i.addEventListener(o,d,w),e._handlers.push({remove:function(){return i.removeEventListener(o,d,w)}})}function E(){fe("onChange")}function Y(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(function(d){Array.prototype.forEach.call(e.element.querySelectorAll("[data-"+d+"]"),function(w){return c(w,"click",e[d])})}),e.isMobile){on();return}var i=wt(ke,50);if(e._debouncedChange=wt(E,ya),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&c(e.daysContainer,"mouseover",function(d){e.config.mode==="range"&&pe(Pe(d))}),c(e._input,"keydown",ue),e.calendarContainer!==void 0&&c(e.calendarContainer,"keydown",ue),!e.config.inline&&!e.config.static&&c(window,"resize",i),window.ontouchstart!==void 0?c(window.document,"touchstart",ge):c(window.document,"mousedown",ge),c(window.document,"focus",ge,{capture:!0}),e.config.clickOpens===!0&&(c(e._input,"focus",e.open),c(e._input,"click",e.open)),e.daysContainer!==void 0&&(c(e.monthNav,"click",hn),c(e.monthNav,["keyup","increment"],g),c(e.daysContainer,"click",xe)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){var o=function(d){return Pe(d).select()};c(e.timeContainer,["increment"],m),c(e.timeContainer,"blur",m,{capture:!0}),c(e.timeContainer,"click",W),c([e.hourElement,e.minuteElement],["focus","click"],o),e.secondElement!==void 0&&c(e.secondElement,"focus",function(){return e.secondElement&&e.secondElement.select()}),e.amPM!==void 0&&c(e.amPM,"click",function(d){m(d)})}e.config.allowInput&&c(e._input,"blur",oe)}function j(i,o){var d=i!==void 0?e.parseDate(i):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate<e.now?e.config.maxDate:e.now),w=e.currentYear,S=e.currentMonth;try{d!==void 0&&(e.currentYear=d.getFullYear(),e.currentMonth=d.getMonth())}catch(T){T.message="Invalid date supplied: "+d,e.config.errorHandler(T)}o&&e.currentYear!==w&&(fe("onYearChange"),P()),o&&(e.currentYear!==w||e.currentMonth!==S)&&fe("onMonthChange"),e.redraw()}function W(i){var o=Pe(i);~o.className.indexOf("arrow")&&J(i,o.classList.contains("arrowUp")?1:-1)}function J(i,o,d){var w=i&&Pe(i),S=d||w&&w.parentNode&&w.parentNode.firstChild,T=Ge("increment");T.delta=o,S&&S.dispatchEvent(T)}function Q(){var i=window.document.createDocumentFragment();if(e.calendarContainer=le("div","flatpickr-calendar"),e.calendarContainer.tabIndex=-1,!e.config.noCalendar){if(i.appendChild(M()),e.innerContainer=le("div","flatpickr-innerContainer"),e.config.weekNumbers){var o=R(),d=o.weekWrapper,w=o.weekNumbers;e.innerContainer.appendChild(d),e.weekNumbers=w,e.weekWrapper=d}e.rContainer=le("div","flatpickr-rContainer"),e.rContainer.appendChild(k()),e.daysContainer||(e.daysContainer=le("div","flatpickr-days"),e.daysContainer.tabIndex=-1),x(),e.rContainer.appendChild(e.daysContainer),e.innerContainer.appendChild(e.rContainer),i.appendChild(e.innerContainer)}e.config.enableTime&&i.appendChild(L()),Ae(e.calendarContainer,"rangeMode",e.config.mode==="range"),Ae(e.calendarContainer,"animate",e.config.animate===!0),Ae(e.calendarContainer,"multiMonth",e.config.showMonths>1),e.calendarContainer.appendChild(i);var S=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!S&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){var T=le("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(T,e.element),T.appendChild(e.element),e.altInput&&T.appendChild(e.altInput),T.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function U(i,o,d,w){var S=te(o,!0),T=le("span",i,o.getDate().toString());return T.dateObj=o,T.$i=w,T.setAttribute("aria-label",e.formatDate(o,e.config.ariaDateFormat)),i.indexOf("hidden")===-1&&Ne(o,e.now)===0&&(e.todayDateElem=T,T.classList.add("today"),T.setAttribute("aria-current","date")),S?(T.tabIndex=-1,Qe(o)&&(T.classList.add("selected"),e.selectedDateElem=T,e.config.mode==="range"&&(Ae(T,"startRange",e.selectedDates[0]&&Ne(o,e.selectedDates[0],!0)===0),Ae(T,"endRange",e.selectedDates[1]&&Ne(o,e.selectedDates[1],!0)===0),i==="nextMonthDay"&&T.classList.add("inRange")))):T.classList.add("flatpickr-disabled"),e.config.mode==="range"&&ln(o)&&!Qe(o)&&T.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&i!=="prevMonthDay"&&w%7===6&&e.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+e.config.getWeek(o)+"</span>"),fe("onDayCreate",T),T}function Z(i){i.focus(),e.config.mode==="range"&&pe(i)}function q(i){for(var o=i>0?0:e.config.showMonths-1,d=i>0?e.config.showMonths:-1,w=o;w!=d;w+=i)for(var S=e.daysContainer.children[w],T=i>0?0:S.children.length-1,B=i>0?S.children.length:-1,F=T;F!=B;F+=i){var G=S.children[F];if(G.className.indexOf("hidden")===-1&&te(G.dateObj))return G}}function re(i,o){for(var d=i.className.indexOf("Month")===-1?i.dateObj.getMonth():e.currentMonth,w=o>0?e.config.showMonths:-1,S=o>0?1:-1,T=d-e.currentMonth;T!=w;T+=S)for(var B=e.daysContainer.children[T],F=d-e.currentMonth===T?i.$i+o:o<0?B.children.length-1:0,G=B.children.length,N=F;N>=0&&N<G&&N!=(o>0?G:-1);N+=S){var z=B.children[N];if(z.className.indexOf("hidden")===-1&&te(z.dateObj)&&Math.abs(i.$i-N)>=Math.abs(o))return Z(z)}e.changeMonth(S),X(q(S),0)}function X(i,o){var d=u(),w=me(d||document.body),S=i!==void 0?i:w?d:e.selectedDateElem!==void 0&&me(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&me(e.todayDateElem)?e.todayDateElem:q(o>0?1:-1);S===void 0?e._input.focus():w?re(S,o):Z(S)}function H(i,o){for(var d=(new Date(i,o,1).getDay()-e.l10n.firstDayOfWeek+7)%7,w=e.utils.getDaysInMonth((o-1+12)%12,i),S=e.utils.getDaysInMonth(o,i),T=window.document.createDocumentFragment(),B=e.config.showMonths>1,F=B?"prevMonthDay hidden":"prevMonthDay",G=B?"nextMonthDay hidden":"nextMonthDay",N=w+1-d,z=0;N<=w;N++,z++)T.appendChild(U("flatpickr-day "+F,new Date(i,o-1,N),N,z));for(N=1;N<=S;N++,z++)T.appendChild(U("flatpickr-day",new Date(i,o,N),N,z));for(var ae=S+1;ae<=42-d&&(e.config.showMonths===1||z%7!==0);ae++,z++)T.appendChild(U("flatpickr-day "+G,new Date(i,o+1,ae%S),ae,z));var Ce=le("div","dayContainer");return Ce.appendChild(T),Ce}function x(){if(e.daysContainer!==void 0){Zn(e.daysContainer),e.weekNumbers&&Zn(e.weekNumbers);for(var i=document.createDocumentFragment(),o=0;o<e.config.showMonths;o++){var d=new Date(e.currentYear,e.currentMonth,1);d.setMonth(e.currentMonth+o),i.appendChild(H(d.getFullYear(),d.getMonth()))}e.daysContainer.appendChild(i),e.days=e.daysContainer.firstChild,e.config.mode==="range"&&e.selectedDates.length===1&&pe()}}function P(){if(!(e.config.showMonths>1||e.config.monthSelectorType!=="dropdown")){var i=function(w){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&w<e.config.minDate.getMonth()?!1:!(e.config.maxDate!==void 0&&e.currentYear===e.config.maxDate.getFullYear()&&w>e.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(var o=0;o<12;o++)if(i(o)){var d=le("option","flatpickr-monthDropdown-month");d.value=new Date(e.currentYear,o).getMonth().toString(),d.textContent=nt(o,e.config.shorthandCurrentMonth,e.l10n),d.tabIndex=-1,e.currentMonth===o&&(d.selected=!0),e.monthsDropdownContainer.appendChild(d)}}}function A(){var i=le("div","flatpickr-month"),o=window.document.createDocumentFragment(),d;e.config.showMonths>1||e.config.monthSelectorType==="static"?d=le("span","cur-month"):(e.monthsDropdownContainer=le("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),c(e.monthsDropdownContainer,"change",function(B){var F=Pe(B),G=parseInt(F.value,10);e.changeMonth(G-e.currentMonth),fe("onMonthChange")}),P(),d=e.monthsDropdownContainer);var w=$n("cur-year",{tabindex:"-1"}),S=w.getElementsByTagName("input")[0];S.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&S.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(S.setAttribute("max",e.config.maxDate.getFullYear().toString()),S.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());var T=le("div","flatpickr-current-month");return T.appendChild(d),T.appendChild(w),o.appendChild(T),i.appendChild(o),{container:i,yearElement:S,monthElement:d}}function C(){Zn(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(var i=e.config.showMonths;i--;){var o=A();e.yearElements.push(o.yearElement),e.monthElements.push(o.monthElement),e.monthNav.appendChild(o.container)}e.monthNav.appendChild(e.nextMonthNav)}function M(){return e.monthNav=le("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=le("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=le("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,C(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:function(){return e.__hidePrevMonthArrow},set:function(i){e.__hidePrevMonthArrow!==i&&(Ae(e.prevMonthNav,"flatpickr-disabled",i),e.__hidePrevMonthArrow=i)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:function(){return e.__hideNextMonthArrow},set:function(i){e.__hideNextMonthArrow!==i&&(Ae(e.nextMonthNav,"flatpickr-disabled",i),e.__hideNextMonthArrow=i)}}),e.currentYearElement=e.yearElements[0],qe(),e.monthNav}function L(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");var i=ut(e.config);e.timeContainer=le("div","flatpickr-time"),e.timeContainer.tabIndex=-1;var o=le("span","flatpickr-time-separator",":"),d=$n("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=d.getElementsByTagName("input")[0];var w=$n("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=w.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=Le(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?i.hours:v(i.hours)),e.minuteElement.value=Le(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():i.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(d),e.timeContainer.appendChild(o),e.timeContainer.appendChild(w),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");var S=$n("flatpickr-second");e.secondElement=S.getElementsByTagName("input")[0],e.secondElement.value=Le(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():i.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(le("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(S)}return e.config.time_24hr||(e.amPM=le("span","flatpickr-am-pm",e.l10n.amPM[Re((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function k(){e.weekdayContainer?Zn(e.weekdayContainer):e.weekdayContainer=le("div","flatpickr-weekdays");for(var i=e.config.showMonths;i--;){var o=le("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(o)}return O(),e.weekdayContainer}function O(){if(e.weekdayContainer){var i=e.l10n.firstDayOfWeek,o=vt(e.l10n.weekdays.shorthand);i>0&&i<o.length&&(o=vt(o.splice(i,o.length),o.splice(0,i)));for(var d=e.config.showMonths;d--;)e.weekdayContainer.children[d].innerHTML=`
1
+ "use strict";var da=Object.defineProperty,fa=Object.defineProperties;var ca=Object.getOwnPropertyDescriptors;var ct=Object.getOwnPropertySymbols;var ma=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable;var mt=(n,a,e)=>a in n?da(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e,Gn=(n,a)=>{for(var e in a||(a={}))ma.call(a,e)&&mt(n,e,a[e]);if(ct)for(var e of ct(a))pa.call(a,e)&&mt(n,e,a[e]);return n},pt=(n,a)=>fa(n,ca(a));const t=require("./CashierConfirmModal-CiWxBakF.cjs"),Fe=require("./CashierError-DVbWiIXC.cjs");require("../stencil/ui-image-CpMjzwxS.cjs");let Qn=Fe.writable(null);function ht(n,a){Fe.addMessages(n,a)}function ha(n){Fe.init({fallbackLocale:"en"}),Fe.$locale.set(n)}const gt={en:{loading:"Loading...",amountLabel:"Amount",amountMultiplier:"Please be aware that amount should be multiple of {multiplier}",redirectTitle:"You are redirected to the payment's provider page",redirectMessage:"Please complete your transaction on the payment's provider page.",backToPayment:"CLOSE",retryText:"Please note that your popup blocker may prevent the payment window from appearing",retryButton:"RETRY",processingButton:"PROCESSING...",generalMin:"Min:",generalMax:"Max:",amountPlaceholder:" ",change:"Change",errorEmptyField:"Please enter data",minAmountError:"Amount cannot be smaller than {amount} {currency}",maxAmountError:"Amount cannot be bigger than {amount} {currency}",amountMultiplierError:"Amount should be multiple of {multiplier}",amountIntError:"Amount should be integer value",amountDecimalError:"Amount should have 2 or less digits after decimal point",invalidFieldError:"{field} is invalid",backToMethodList:"BACK TO PAYMENT METHODS"},tr:{loading:"Yükleniyor...",amountLabel:"Tutar",amountMultiplier:"Miktar {multiplier} ve katları olmalıdır",redirectTitle:"Ödeme sağlayıcısı sayfasına yönlendirilirsiniz",redirectMessage:"Lütfen ödeme sağlayıcısı sayfasında işleminizi tamamlayın.",backToPayment:"KAPALI",retryText:"Açılır pencere engelleyicinizin ödeme penceresinin görünmesini engelleyebileceğini lütfen unutmayın",retryButton:"Yeniden Dene",processingButton:"İŞLEME...",generalMin:"Min:",generalMax:"Maks:",amountPlaceholder:" ",change:"Değiştir",errorEmptyField:"Lütfen verileri girin",minAmountError:"Tutar {amount} {currency}'den küçük olamaz",maxAmountError:"Tutar {amount} {currency}'den büyük olamaz",amountMultiplierError:"Lütfen miktarın {multiplier} ve katları olmasına dikkat edin.",amountIntError:"Tutar tam sayı olmalıdır",amountDecimalError:"Tutarın ondalık noktadan sonra 2 veya daha az hanesi olmalıdır",invalidFieldError:"{field} geçersiz",backToMethodList:"ÖDEME YÖNTEMLERİNE GERİ DÖN"}};if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierIframeRedirect-CVbgR46P.cjs")).then(({default:a})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierConfirmModal-CiWxBakF.cjs")).then(a=>a.CashierConfirmModal_ce).then(({default:a})=>{!customElements.get("cashier-confirm-modal")&&customElements.define("cashier-confirm-modal",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierNotifications-C5Z_cNID.cjs")).then(({default:a})=>{!customElements.get("cashier-notifications")&&customElements.define("cashier-notifications",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierError-DVbWiIXC.cjs")).then(a=>a.CashierError_ce).then(({default:a})=>{!customElements.get("cashier-error")&&customElements.define("cashier-error",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierModal-yskXp9fE.cjs")).then(({default:a})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",a.element)})}if(typeof window!="undefined"){let n=function(a){return function(...e){try{return a.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierReceiptPage-AVOF-iSv.cjs")).then(({default:a})=>{!customElements.get("cashier-receipt-page")&&customElements.define("cashier-receipt-page",a.element)})}var it=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Dn={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(n){return typeof console!="undefined"&&console.warn(n)},getWeek:function(n){var a=new Date(n.getTime());a.setHours(0,0,0,0),a.setDate(a.getDate()+3-(a.getDay()+6)%7);var e=new Date(a.getFullYear(),0,4);return 1+Math.round(((a.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Pn={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(n){var a=n%100;if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Le=function(n,a){return a===void 0&&(a=2),("000"+n).slice(a*-1)},Re=function(n){return n===!0?1:0};function wt(n,a){var e;return function(){var r=this,s=arguments;clearTimeout(e),e=setTimeout(function(){return n.apply(r,s)},a)}}var ot=function(n){return n instanceof Array?n:[n]};function Ae(n,a,e){if(e===!0)return n.classList.add(a);n.classList.remove(a)}function le(n,a,e){var r=window.document.createElement(n);return a=a||"",e=e||"",r.className=a,e!==void 0&&(r.textContent=e),r}function Zn(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function zt(n,a){if(a(n))return n;if(n.parentNode)return zt(n.parentNode,a)}function $n(n,a){var e=le("div","numInputWrapper"),r=le("input","numInput "+n),s=le("span","arrowUp"),u=le("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?r.type="number":(r.type="text",r.pattern="\\d*"),a!==void 0)for(var p in a)r.setAttribute(p,a[p]);return e.appendChild(r),e.appendChild(s),e.appendChild(u),e}function Pe(n){try{if(typeof n.composedPath=="function"){var a=n.composedPath();return a[0]}return n.target}catch(e){return n.target}}var lt=function(){},nt=function(n,a,e){return e.months[a?"shorthand":"longhand"][n]},ga={D:lt,F:function(n,a,e){n.setMonth(e.months.longhand.indexOf(a))},G:function(n,a){n.setHours((n.getHours()>=12?12:0)+parseFloat(a))},H:function(n,a){n.setHours(parseFloat(a))},J:function(n,a){n.setDate(parseFloat(a))},K:function(n,a,e){n.setHours(n.getHours()%12+12*Re(new RegExp(e.amPM[1],"i").test(a)))},M:function(n,a,e){n.setMonth(e.months.shorthand.indexOf(a))},S:function(n,a){n.setSeconds(parseFloat(a))},U:function(n,a){return new Date(parseFloat(a)*1e3)},W:function(n,a,e){var r=parseInt(a),s=new Date(n.getFullYear(),0,2+(r-1)*7,0,0,0,0);return s.setDate(s.getDate()-s.getDay()+e.firstDayOfWeek),s},Y:function(n,a){n.setFullYear(parseFloat(a))},Z:function(n,a){return new Date(a)},d:function(n,a){n.setDate(parseFloat(a))},h:function(n,a){n.setHours((n.getHours()>=12?12:0)+parseFloat(a))},i:function(n,a){n.setMinutes(parseFloat(a))},j:function(n,a){n.setDate(parseFloat(a))},l:lt,m:function(n,a){n.setMonth(parseFloat(a)-1)},n:function(n,a){n.setMonth(parseFloat(a)-1)},s:function(n,a){n.setSeconds(parseFloat(a))},u:function(n,a){return new Date(parseFloat(a))},w:lt,y:function(n,a){n.setFullYear(2e3+parseFloat(a))}},cn={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},On={Z:function(n){return n.toISOString()},D:function(n,a,e){return a.weekdays.shorthand[On.w(n,a,e)]},F:function(n,a,e){return nt(On.n(n,a,e)-1,!1,a)},G:function(n,a,e){return Le(On.h(n,a,e))},H:function(n){return Le(n.getHours())},J:function(n,a){return a.ordinal!==void 0?n.getDate()+a.ordinal(n.getDate()):n.getDate()},K:function(n,a){return a.amPM[Re(n.getHours()>11)]},M:function(n,a){return nt(n.getMonth(),!0,a)},S:function(n){return Le(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,a,e){return e.getWeek(n)},Y:function(n){return Le(n.getFullYear(),4)},d:function(n){return Le(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return Le(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,a){return a.weekdays.longhand[n.getDay()]},m:function(n){return Le(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}},Bt=function(n){var a=n.config,e=a===void 0?Dn:a,r=n.l10n,s=r===void 0?Pn:r,u=n.isMobile,p=u===void 0?!1:u;return function(f,m,h){var v=h||s;return e.formatDate!==void 0&&!p?e.formatDate(f,m,v):m.split("").map(function(D,b,_){return On[D]&&_[b-1]!=="\\"?On[D](f,v,e):D!=="\\"?D:""}).join("")}},dt=function(n){var a=n.config,e=a===void 0?Dn:a,r=n.l10n,s=r===void 0?Pn:r;return function(u,p,f,m){if(!(u!==0&&!u)){var h=m||s,v,D=u;if(u instanceof Date)v=new Date(u.getTime());else if(typeof u!="string"&&u.toFixed!==void 0)v=new Date(u);else if(typeof u=="string"){var b=p||(e||Dn).dateFormat,_=String(u).trim();if(_==="today")v=new Date,f=!0;else if(e&&e.parseDate)v=e.parseDate(u,b);else if(/Z$/.test(_)||/GMT$/.test(_))v=new Date(u);else{for(var g=void 0,c=[],E=0,Y=0,j="";E<b.length;E++){var W=b[E],J=W==="\\",Q=b[E-1]==="\\"||J;if(cn[W]&&!Q){j+=cn[W];var U=new RegExp(j).exec(u);U&&(g=!0)&&c[W!=="Y"?"push":"unshift"]({fn:ga[W],val:U[++Y]})}else J||(j+=".")}v=!e||!e.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),c.forEach(function(Z){var q=Z.fn,re=Z.val;return v=q(v,re,h)||v}),v=g?v:void 0}}if(!(v instanceof Date&&!isNaN(v.getTime()))){e.errorHandler(new Error("Invalid date provided: "+D));return}return f===!0&&v.setHours(0,0,0,0),v}}};function Ne(n,a,e){return e===void 0&&(e=!0),e!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(a.getTime()).setHours(0,0,0,0):n.getTime()-a.getTime()}var wa=function(n,a,e){return n>Math.min(a,e)&&n<Math.max(a,e)},st=function(n,a,e){return n*3600+a*60+e},va=function(n){var a=Math.floor(n/3600),e=(n-a*3600)/60;return[a,e,n-a*3600-e*60]},ba={DAY:864e5};function ut(n){var a=n.defaultHour,e=n.defaultMinute,r=n.defaultSeconds;if(n.minDate!==void 0){var s=n.minDate.getHours(),u=n.minDate.getMinutes(),p=n.minDate.getSeconds();a<s&&(a=s),a===s&&e<u&&(e=u),a===s&&e===u&&r<p&&(r=n.minDate.getSeconds())}if(n.maxDate!==void 0){var f=n.maxDate.getHours(),m=n.maxDate.getMinutes();a=Math.min(a,f),a===f&&(e=Math.min(m,e)),a===f&&e===m&&(r=n.maxDate.getSeconds())}return{hours:a,minutes:e,seconds:r}}typeof Object.assign!="function"&&(Object.assign=function(n){for(var a=[],e=1;e<arguments.length;e++)a[e-1]=arguments[e];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var r=function(f){f&&Object.keys(f).forEach(function(m){return n[m]=f[m]})},s=0,u=a;s<u.length;s++){var p=u[s];r(p)}return n});var Me=function(){return Me=Object.assign||function(n){for(var a,e=1,r=arguments.length;e<r;e++){a=arguments[e];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])}return n},Me.apply(this,arguments)},vt=function(){for(var n=0,a=0,e=arguments.length;a<e;a++)n+=arguments[a].length;for(var r=Array(n),s=0,a=0;a<e;a++)for(var u=arguments[a],p=0,f=u.length;p<f;p++,s++)r[s]=u[p];return r},ya=300;function ka(n,a){var e={config:Me(Me({},Dn),he.defaultConfig),l10n:Pn};e.parseDate=dt({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=c,e._setHoursFromDate=b,e._positionCalendar=We,e.changeMonth=K,e.changeYear=ce,e.clear=ee,e.close=$,e.onMouseOver=pe,e._createElement=le,e.createDay=U,e.destroy=se,e.isEnabled=te,e.jumpToDate=j,e.updateValue=_e,e.open=je,e.redraw=Ue,e.set=Ye,e.setDate=tn,e.toggle=pn;function r(){e.utils={getDaysInMonth:function(i,o){return i===void 0&&(i=e.currentMonth),o===void 0&&(o=e.currentYear),i===1&&(o%4===0&&o%100!==0||o%400===0)?29:e.l10n.daysInMonth[i]}}}function s(){e.element=e.input=n,e.isOpen=!1,de(),Je(),mn(),Xe(),r(),e.isMobile||Q(),Y(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&b(e.config.noCalendar?e.latestSelectedDateObj:void 0),_e(!1)),f();var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&i&&We(),fe("onReady")}function u(){var i;return((i=e.calendarContainer)===null||i===void 0?void 0:i.getRootNode()).activeElement||document.activeElement}function p(i){return i.bind(e)}function f(){var i=e.config;i.weekNumbers===!1&&i.showMonths===1||i.noCalendar!==!0&&window.requestAnimationFrame(function(){if(e.calendarContainer!==void 0&&(e.calendarContainer.style.visibility="hidden",e.calendarContainer.style.display="block"),e.daysContainer!==void 0){var o=(e.days.offsetWidth+1)*i.showMonths;e.daysContainer.style.width=o+"px",e.calendarContainer.style.width=o+(e.weekWrapper!==void 0?e.weekWrapper.offsetWidth:0)+"px",e.calendarContainer.style.removeProperty("visibility"),e.calendarContainer.style.removeProperty("display")}})}function m(i){if(e.selectedDates.length===0){var o=e.config.minDate===void 0||Ne(new Date,e.config.minDate)>=0?new Date:new Date(e.config.minDate.getTime()),d=ut(e.config);o.setHours(d.hours,d.minutes,d.seconds,o.getMilliseconds()),e.selectedDates=[o],e.latestSelectedDateObj=o}i!==void 0&&i.type!=="blur"&&sn(i);var w=e._input.value;D(),_e(),e._input.value!==w&&e._debouncedChange()}function h(i,o){return i%12+12*Re(o===e.l10n.amPM[1])}function v(i){switch(i%24){case 0:case 12:return 12;default:return i%12}}function D(){if(!(e.hourElement===void 0||e.minuteElement===void 0)){var i=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,o=(parseInt(e.minuteElement.value,10)||0)%60,d=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(i=h(i,e.amPM.textContent));var w=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&Ne(e.latestSelectedDateObj,e.config.minDate,!0)===0,S=e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&Ne(e.latestSelectedDateObj,e.config.maxDate,!0)===0;if(e.config.maxTime!==void 0&&e.config.minTime!==void 0&&e.config.minTime>e.config.maxTime){var T=st(e.config.minTime.getHours(),e.config.minTime.getMinutes(),e.config.minTime.getSeconds()),B=st(e.config.maxTime.getHours(),e.config.maxTime.getMinutes(),e.config.maxTime.getSeconds()),F=st(i,o,d);if(F>B&&F<T){var G=va(T);i=G[0],o=G[1],d=G[2]}}else{if(S){var N=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;i=Math.min(i,N.getHours()),i===N.getHours()&&(o=Math.min(o,N.getMinutes())),o===N.getMinutes()&&(d=Math.min(d,N.getSeconds()))}if(w){var z=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;i=Math.max(i,z.getHours()),i===z.getHours()&&o<z.getMinutes()&&(o=z.getMinutes()),o===z.getMinutes()&&(d=Math.max(d,z.getSeconds()))}}_(i,o,d)}}function b(i){var o=i||e.latestSelectedDateObj;o&&o instanceof Date&&_(o.getHours(),o.getMinutes(),o.getSeconds())}function _(i,o,d){e.latestSelectedDateObj!==void 0&&e.latestSelectedDateObj.setHours(i%24,o,d||0,0),!(!e.hourElement||!e.minuteElement||e.isMobile)&&(e.hourElement.value=Le(e.config.time_24hr?i:(12+i)%12+12*Re(i%12===0)),e.minuteElement.value=Le(o),e.amPM!==void 0&&(e.amPM.textContent=e.l10n.amPM[Re(i>=12)]),e.secondElement!==void 0&&(e.secondElement.value=Le(d)))}function g(i){var o=Pe(i),d=parseInt(o.value)+(i.delta||0);(d/1e3>1||i.key==="Enter"&&!/[^\d]/.test(d.toString()))&&ce(d)}function c(i,o,d,w){if(o instanceof Array)return o.forEach(function(S){return c(i,S,d,w)});if(i instanceof Array)return i.forEach(function(S){return c(S,o,d,w)});i.addEventListener(o,d,w),e._handlers.push({remove:function(){return i.removeEventListener(o,d,w)}})}function E(){fe("onChange")}function Y(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(function(d){Array.prototype.forEach.call(e.element.querySelectorAll("[data-"+d+"]"),function(w){return c(w,"click",e[d])})}),e.isMobile){on();return}var i=wt(ke,50);if(e._debouncedChange=wt(E,ya),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&c(e.daysContainer,"mouseover",function(d){e.config.mode==="range"&&pe(Pe(d))}),c(e._input,"keydown",ue),e.calendarContainer!==void 0&&c(e.calendarContainer,"keydown",ue),!e.config.inline&&!e.config.static&&c(window,"resize",i),window.ontouchstart!==void 0?c(window.document,"touchstart",ge):c(window.document,"mousedown",ge),c(window.document,"focus",ge,{capture:!0}),e.config.clickOpens===!0&&(c(e._input,"focus",e.open),c(e._input,"click",e.open)),e.daysContainer!==void 0&&(c(e.monthNav,"click",hn),c(e.monthNav,["keyup","increment"],g),c(e.daysContainer,"click",xe)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){var o=function(d){return Pe(d).select()};c(e.timeContainer,["increment"],m),c(e.timeContainer,"blur",m,{capture:!0}),c(e.timeContainer,"click",W),c([e.hourElement,e.minuteElement],["focus","click"],o),e.secondElement!==void 0&&c(e.secondElement,"focus",function(){return e.secondElement&&e.secondElement.select()}),e.amPM!==void 0&&c(e.amPM,"click",function(d){m(d)})}e.config.allowInput&&c(e._input,"blur",oe)}function j(i,o){var d=i!==void 0?e.parseDate(i):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate<e.now?e.config.maxDate:e.now),w=e.currentYear,S=e.currentMonth;try{d!==void 0&&(e.currentYear=d.getFullYear(),e.currentMonth=d.getMonth())}catch(T){T.message="Invalid date supplied: "+d,e.config.errorHandler(T)}o&&e.currentYear!==w&&(fe("onYearChange"),P()),o&&(e.currentYear!==w||e.currentMonth!==S)&&fe("onMonthChange"),e.redraw()}function W(i){var o=Pe(i);~o.className.indexOf("arrow")&&J(i,o.classList.contains("arrowUp")?1:-1)}function J(i,o,d){var w=i&&Pe(i),S=d||w&&w.parentNode&&w.parentNode.firstChild,T=Ge("increment");T.delta=o,S&&S.dispatchEvent(T)}function Q(){var i=window.document.createDocumentFragment();if(e.calendarContainer=le("div","flatpickr-calendar"),e.calendarContainer.tabIndex=-1,!e.config.noCalendar){if(i.appendChild(M()),e.innerContainer=le("div","flatpickr-innerContainer"),e.config.weekNumbers){var o=R(),d=o.weekWrapper,w=o.weekNumbers;e.innerContainer.appendChild(d),e.weekNumbers=w,e.weekWrapper=d}e.rContainer=le("div","flatpickr-rContainer"),e.rContainer.appendChild(k()),e.daysContainer||(e.daysContainer=le("div","flatpickr-days"),e.daysContainer.tabIndex=-1),x(),e.rContainer.appendChild(e.daysContainer),e.innerContainer.appendChild(e.rContainer),i.appendChild(e.innerContainer)}e.config.enableTime&&i.appendChild(L()),Ae(e.calendarContainer,"rangeMode",e.config.mode==="range"),Ae(e.calendarContainer,"animate",e.config.animate===!0),Ae(e.calendarContainer,"multiMonth",e.config.showMonths>1),e.calendarContainer.appendChild(i);var S=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!S&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){var T=le("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(T,e.element),T.appendChild(e.element),e.altInput&&T.appendChild(e.altInput),T.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function U(i,o,d,w){var S=te(o,!0),T=le("span",i,o.getDate().toString());return T.dateObj=o,T.$i=w,T.setAttribute("aria-label",e.formatDate(o,e.config.ariaDateFormat)),i.indexOf("hidden")===-1&&Ne(o,e.now)===0&&(e.todayDateElem=T,T.classList.add("today"),T.setAttribute("aria-current","date")),S?(T.tabIndex=-1,Qe(o)&&(T.classList.add("selected"),e.selectedDateElem=T,e.config.mode==="range"&&(Ae(T,"startRange",e.selectedDates[0]&&Ne(o,e.selectedDates[0],!0)===0),Ae(T,"endRange",e.selectedDates[1]&&Ne(o,e.selectedDates[1],!0)===0),i==="nextMonthDay"&&T.classList.add("inRange")))):T.classList.add("flatpickr-disabled"),e.config.mode==="range"&&ln(o)&&!Qe(o)&&T.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&i!=="prevMonthDay"&&w%7===6&&e.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+e.config.getWeek(o)+"</span>"),fe("onDayCreate",T),T}function Z(i){i.focus(),e.config.mode==="range"&&pe(i)}function q(i){for(var o=i>0?0:e.config.showMonths-1,d=i>0?e.config.showMonths:-1,w=o;w!=d;w+=i)for(var S=e.daysContainer.children[w],T=i>0?0:S.children.length-1,B=i>0?S.children.length:-1,F=T;F!=B;F+=i){var G=S.children[F];if(G.className.indexOf("hidden")===-1&&te(G.dateObj))return G}}function re(i,o){for(var d=i.className.indexOf("Month")===-1?i.dateObj.getMonth():e.currentMonth,w=o>0?e.config.showMonths:-1,S=o>0?1:-1,T=d-e.currentMonth;T!=w;T+=S)for(var B=e.daysContainer.children[T],F=d-e.currentMonth===T?i.$i+o:o<0?B.children.length-1:0,G=B.children.length,N=F;N>=0&&N<G&&N!=(o>0?G:-1);N+=S){var z=B.children[N];if(z.className.indexOf("hidden")===-1&&te(z.dateObj)&&Math.abs(i.$i-N)>=Math.abs(o))return Z(z)}e.changeMonth(S),X(q(S),0)}function X(i,o){var d=u(),w=me(d||document.body),S=i!==void 0?i:w?d:e.selectedDateElem!==void 0&&me(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&me(e.todayDateElem)?e.todayDateElem:q(o>0?1:-1);S===void 0?e._input.focus():w?re(S,o):Z(S)}function H(i,o){for(var d=(new Date(i,o,1).getDay()-e.l10n.firstDayOfWeek+7)%7,w=e.utils.getDaysInMonth((o-1+12)%12,i),S=e.utils.getDaysInMonth(o,i),T=window.document.createDocumentFragment(),B=e.config.showMonths>1,F=B?"prevMonthDay hidden":"prevMonthDay",G=B?"nextMonthDay hidden":"nextMonthDay",N=w+1-d,z=0;N<=w;N++,z++)T.appendChild(U("flatpickr-day "+F,new Date(i,o-1,N),N,z));for(N=1;N<=S;N++,z++)T.appendChild(U("flatpickr-day",new Date(i,o,N),N,z));for(var ae=S+1;ae<=42-d&&(e.config.showMonths===1||z%7!==0);ae++,z++)T.appendChild(U("flatpickr-day "+G,new Date(i,o+1,ae%S),ae,z));var Ce=le("div","dayContainer");return Ce.appendChild(T),Ce}function x(){if(e.daysContainer!==void 0){Zn(e.daysContainer),e.weekNumbers&&Zn(e.weekNumbers);for(var i=document.createDocumentFragment(),o=0;o<e.config.showMonths;o++){var d=new Date(e.currentYear,e.currentMonth,1);d.setMonth(e.currentMonth+o),i.appendChild(H(d.getFullYear(),d.getMonth()))}e.daysContainer.appendChild(i),e.days=e.daysContainer.firstChild,e.config.mode==="range"&&e.selectedDates.length===1&&pe()}}function P(){if(!(e.config.showMonths>1||e.config.monthSelectorType!=="dropdown")){var i=function(w){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&w<e.config.minDate.getMonth()?!1:!(e.config.maxDate!==void 0&&e.currentYear===e.config.maxDate.getFullYear()&&w>e.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(var o=0;o<12;o++)if(i(o)){var d=le("option","flatpickr-monthDropdown-month");d.value=new Date(e.currentYear,o).getMonth().toString(),d.textContent=nt(o,e.config.shorthandCurrentMonth,e.l10n),d.tabIndex=-1,e.currentMonth===o&&(d.selected=!0),e.monthsDropdownContainer.appendChild(d)}}}function A(){var i=le("div","flatpickr-month"),o=window.document.createDocumentFragment(),d;e.config.showMonths>1||e.config.monthSelectorType==="static"?d=le("span","cur-month"):(e.monthsDropdownContainer=le("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),c(e.monthsDropdownContainer,"change",function(B){var F=Pe(B),G=parseInt(F.value,10);e.changeMonth(G-e.currentMonth),fe("onMonthChange")}),P(),d=e.monthsDropdownContainer);var w=$n("cur-year",{tabindex:"-1"}),S=w.getElementsByTagName("input")[0];S.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&S.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(S.setAttribute("max",e.config.maxDate.getFullYear().toString()),S.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());var T=le("div","flatpickr-current-month");return T.appendChild(d),T.appendChild(w),o.appendChild(T),i.appendChild(o),{container:i,yearElement:S,monthElement:d}}function C(){Zn(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(var i=e.config.showMonths;i--;){var o=A();e.yearElements.push(o.yearElement),e.monthElements.push(o.monthElement),e.monthNav.appendChild(o.container)}e.monthNav.appendChild(e.nextMonthNav)}function M(){return e.monthNav=le("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=le("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=le("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,C(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:function(){return e.__hidePrevMonthArrow},set:function(i){e.__hidePrevMonthArrow!==i&&(Ae(e.prevMonthNav,"flatpickr-disabled",i),e.__hidePrevMonthArrow=i)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:function(){return e.__hideNextMonthArrow},set:function(i){e.__hideNextMonthArrow!==i&&(Ae(e.nextMonthNav,"flatpickr-disabled",i),e.__hideNextMonthArrow=i)}}),e.currentYearElement=e.yearElements[0],qe(),e.monthNav}function L(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");var i=ut(e.config);e.timeContainer=le("div","flatpickr-time"),e.timeContainer.tabIndex=-1;var o=le("span","flatpickr-time-separator",":"),d=$n("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=d.getElementsByTagName("input")[0];var w=$n("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=w.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=Le(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?i.hours:v(i.hours)),e.minuteElement.value=Le(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():i.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(d),e.timeContainer.appendChild(o),e.timeContainer.appendChild(w),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");var S=$n("flatpickr-second");e.secondElement=S.getElementsByTagName("input")[0],e.secondElement.value=Le(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():i.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(le("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(S)}return e.config.time_24hr||(e.amPM=le("span","flatpickr-am-pm",e.l10n.amPM[Re((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function k(){e.weekdayContainer?Zn(e.weekdayContainer):e.weekdayContainer=le("div","flatpickr-weekdays");for(var i=e.config.showMonths;i--;){var o=le("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(o)}return O(),e.weekdayContainer}function O(){if(e.weekdayContainer){var i=e.l10n.firstDayOfWeek,o=vt(e.l10n.weekdays.shorthand);i>0&&i<o.length&&(o=vt(o.splice(i,o.length),o.splice(0,i)));for(var d=e.config.showMonths;d--;)e.weekdayContainer.children[d].innerHTML=`
2
2
  <span class='flatpickr-weekday'>
3
3
  `+o.join("</span><span class='flatpickr-weekday'>")+`
4
4
  </span>
@@ -31,8 +31,8 @@
31
31
  position: absolute;
32
32
  top: 50%;
33
33
  left: 50%;
34
- width: 80px;
35
- height: 80px;
34
+ width: var(--emw--spinner-size, 32px);
35
+ height: var(--emw--spinner-size, 32px);
36
36
  transform: translate(-50%, -50%);
37
37
  z-index: 1;
38
38
  }
@@ -43,11 +43,12 @@
43
43
  }
44
44
 
45
45
  .spinner .path {
46
- stroke-dasharray: 1, 200;
47
- stroke-dashoffset: 0;
48
- animation: dash 1.5s ease-in-out infinite;
49
- stroke-linecap: round;
50
- stroke: var(--emw--color-primary, #7EC51E);
46
+ stroke-dasharray: 1, 200;
47
+ stroke-dashoffset: 0;
48
+ animation: dash 1.5s ease-in-out infinite;
49
+ stroke-linecap: round;
50
+ stroke-width: var(--emw--stroke-width, 2px);
51
+ stroke: var(--emw--spinner-color, #2dcc70);
51
52
  }
52
53
 
53
54
  @keyframes rotate {
@@ -1,6 +1,6 @@
1
1
  import { E as Lr, S as Er, b as Or, s as lr, f as Ye, c as Pr, F as Nr, n as Un, e as Z, o as T, G as Fr, m as ne, B as ge, p as Y, q as le, C as In, v as S, w as Pt, H as jr, D as J, x as Ot, y as ye, z as ke, I as ht, A as Dt, J as Pe, K as pt, L as sr, M as Ir, N as gt, r as Yn, O as We, P as Nt } from "./CashierConfirmModal-3pkCHAVZ.js";
2
- import { w as Yr, a as Hr, i as Rr, $ as Jr, c as vt, g as bt, b as Wr } from "./CashierError-SVNe4t75.js";
3
- import "../stencil/ui-image-CmwNU-jf.js";
2
+ import { w as Yr, a as Hr, i as Rr, $ as Jr, c as vt, g as bt, b as Wr } from "./CashierError-CPr2CtwU.js";
3
+ import "../stencil/ui-image-C6J6vPTv.js";
4
4
  let dt = Yr(null);
5
5
  function Ft(n, t) {
6
6
  Hr(n, t);
@@ -70,7 +70,7 @@ if (typeof window < "u") {
70
70
  }
71
71
  };
72
72
  };
73
- customElements.define = n(customElements.define), import("./CashierIframeRedirect-DKHsdD8g.js").then(({ default: t }) => {
73
+ customElements.define = n(customElements.define), import("./CashierIframeRedirect-Bxbt-jxd.js").then(({ default: t }) => {
74
74
  !customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", t.element);
75
75
  });
76
76
  }
@@ -118,7 +118,7 @@ if (typeof window < "u") {
118
118
  }
119
119
  };
120
120
  };
121
- customElements.define = n(customElements.define), import("./CashierError-SVNe4t75.js").then((t) => t.C).then(({ default: t }) => {
121
+ customElements.define = n(customElements.define), import("./CashierError-CPr2CtwU.js").then((t) => t.C).then(({ default: t }) => {
122
122
  !customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
123
123
  });
124
124
  }
@@ -150,7 +150,7 @@ if (typeof window < "u") {
150
150
  }
151
151
  };
152
152
  };
153
- customElements.define = n(customElements.define), import("./CashierReceiptPage-l-I1js69.js").then(({ default: t }) => {
153
+ customElements.define = n(customElements.define), import("./CashierReceiptPage-DvCvk4dP.js").then(({ default: t }) => {
154
154
  !customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", t.element);
155
155
  });
156
156
  }
@@ -7428,8 +7428,8 @@ function Da(n, t, e) {
7428
7428
  position: absolute;
7429
7429
  top: 50%;
7430
7430
  left: 50%;
7431
- width: 80px;
7432
- height: 80px;
7431
+ width: var(--emw--spinner-size, 32px);
7432
+ height: var(--emw--spinner-size, 32px);
7433
7433
  transform: translate(-50%, -50%);
7434
7434
  z-index: 1;
7435
7435
  }
@@ -7440,11 +7440,12 @@ function Da(n, t, e) {
7440
7440
  }
7441
7441
 
7442
7442
  .spinner .path {
7443
- stroke-dasharray: 1, 200;
7444
- stroke-dashoffset: 0;
7445
- animation: dash 1.5s ease-in-out infinite;
7446
- stroke-linecap: round;
7447
- stroke: var(--emw--color-primary, #7EC51E);
7443
+ stroke-dasharray: 1, 200;
7444
+ stroke-dashoffset: 0;
7445
+ animation: dash 1.5s ease-in-out infinite;
7446
+ stroke-linecap: round;
7447
+ stroke-width: var(--emw--stroke-width, 2px);
7448
+ stroke: var(--emw--spinner-color, #2dcc70);
7448
7449
  }
7449
7450
 
7450
7451
  @keyframes rotate {