@payfurl/client 3.1.3 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/sdk/favicon.ico +0 -0
  2. package/dist/sdk/icons/Addi.svg +4 -0
  3. package/dist/sdk/icons/Affirm.svg +3 -0
  4. package/dist/sdk/icons/Afterpay.svg +26 -0
  5. package/dist/sdk/icons/Alma.svg +4 -0
  6. package/dist/sdk/icons/Aplazame.svg +4 -0
  7. package/dist/sdk/icons/Aplazo.svg +4 -0
  8. package/dist/sdk/icons/Atome.svg +17 -0
  9. package/dist/sdk/icons/Billease.svg +4 -0
  10. package/dist/sdk/icons/Bkash.svg +15 -0
  11. package/dist/sdk/icons/Cashew.svg +4 -0
  12. package/dist/sdk/icons/Cashpresso.svg +4 -0
  13. package/dist/sdk/icons/Clearpay.svg +40 -0
  14. package/dist/sdk/icons/Cleo.svg +4 -0
  15. package/dist/sdk/icons/Dana.svg +4 -0
  16. package/dist/sdk/icons/Easypaisa.svg +23 -0
  17. package/dist/sdk/icons/Eraty.svg +4 -0
  18. package/dist/sdk/icons/Finvero.svg +4 -0
  19. package/dist/sdk/icons/Fupay.svg +44 -0
  20. package/dist/sdk/icons/Gcasg.svg +4 -0
  21. package/dist/sdk/icons/Grabpay.svg +74 -0
  22. package/dist/sdk/icons/Humm.svg +41 -0
  23. package/dist/sdk/icons/Kakaopay.svg +4 -0
  24. package/dist/sdk/icons/Klarna.svg +25 -0
  25. package/dist/sdk/icons/Kueskipay.svg +105 -0
  26. package/dist/sdk/icons/Lara.svg +4 -0
  27. package/dist/sdk/icons/Latitudepay.svg +4 -0
  28. package/dist/sdk/icons/Laybuy.svg +4 -0
  29. package/dist/sdk/icons/Limepay.svg +4 -0
  30. package/dist/sdk/icons/Pace.svg +4 -0
  31. package/dist/sdk/icons/Pagaleve.svg +4 -0
  32. package/dist/sdk/icons/Paribas.svg +81 -0
  33. package/dist/sdk/icons/Paybright.svg +20 -0
  34. package/dist/sdk/icons/Payflex.svg +4 -0
  35. package/dist/sdk/icons/Payjustnow.svg +4 -0
  36. package/dist/sdk/icons/Payright.svg +4 -0
  37. package/dist/sdk/icons/Paytm.svg +24 -0
  38. package/dist/sdk/icons/Paywithfour.svg +4 -0
  39. package/dist/sdk/icons/Postpay.svg +4 -0
  40. package/dist/sdk/icons/Ratepay.svg +5 -0
  41. package/dist/sdk/icons/Riverty.svg +4 -0
  42. package/dist/sdk/icons/Scalapay.svg +5 -0
  43. package/dist/sdk/icons/Sezzle.svg +78 -0
  44. package/dist/sdk/icons/Shopback.svg +6 -0
  45. package/dist/sdk/icons/Smartpay.svg +44 -0
  46. package/dist/sdk/icons/Sofinco.svg +17 -0
  47. package/dist/sdk/icons/Splitit.svg +40 -0
  48. package/dist/sdk/icons/Tabby.svg +22 -0
  49. package/dist/sdk/icons/Tamara.svg +26 -0
  50. package/dist/sdk/icons/Tendopay.svg +65 -0
  51. package/dist/sdk/icons/Touchngo.svg +157 -0
  52. package/dist/sdk/icons/Triplea.svg +4 -0
  53. package/dist/sdk/icons/Truemoney.svg +4 -0
  54. package/dist/sdk/icons/Twisto.svg +12 -0
  55. package/dist/sdk/icons/Uplift.svg +4 -0
  56. package/dist/sdk/icons/Valu.svg +4 -0
  57. package/dist/sdk/icons/Zest.svg +4 -0
  58. package/dist/sdk/icons/Zip.svg +9 -0
  59. package/dist/sdk/icons/Zoodpay.svg +4 -0
  60. package/dist/sdk/payfurl.es.js +5737 -6094
  61. package/dist/sdk/payfurl.umd.js +8 -1
  62. package/dist/sdk/style.css +1 -1
  63. package/package.json +15 -15
  64. package/dist/sdk/sdk/components/render.d.ts +0 -7
  65. package/dist/sdk/sdk/config.d.ts +0 -8
  66. package/dist/sdk/sdk/config.development.d.ts +0 -7
  67. package/dist/sdk/sdk/config.local.d.ts +0 -7
  68. package/dist/sdk/sdk/config.production.d.ts +0 -7
  69. package/dist/sdk/sdk/config.sandbox.d.ts +0 -7
  70. package/dist/sdk/sdk/formInvoker.d.ts +0 -10
  71. package/dist/sdk/sdk/httpInvoker.d.ts +0 -7
  72. package/dist/sdk/sdk/interfaces/Invoker.interface.d.ts +0 -4
  73. package/dist/sdk/sdk/interfaces/Payfurl.interface.d.ts +0 -17
  74. package/dist/sdk/sdk/interfaces/processors/CardProcessor.interface.d.ts +0 -8
  75. package/dist/sdk/sdk/interfaces/processors/PayToProcessor.interface.d.ts +0 -4
  76. package/dist/sdk/sdk/interfaces/processors/PaypalProcessor.interface.d.ts +0 -4
  77. package/dist/sdk/sdk/interfaces/processors/ThreeDsProcessor.interface.d.ts +0 -8
  78. package/dist/sdk/sdk/main.d.ts +0 -46
  79. package/dist/sdk/sdk/processors/cardProcessor.d.ts +0 -44
  80. package/dist/sdk/sdk/processors/payToProcessor.d.ts +0 -36
  81. package/dist/sdk/sdk/processors/paypalProcessor.d.ts +0 -27
  82. package/dist/sdk/sdk/processors/threeDsProcessor.d.ts +0 -39
  83. package/dist/sdk/sdk/types/Callback.type.d.ts +0 -6
  84. package/dist/sdk/sdk/types/CardIFrameOptions.type.d.ts +0 -10
  85. package/dist/sdk/sdk/types/CardOptions.type.d.ts +0 -5
  86. package/dist/sdk/sdk/types/Config.type.d.ts +0 -6
  87. package/dist/sdk/sdk/types/DropInOptions.type.d.ts +0 -10
  88. package/dist/sdk/sdk/types/Logger.type.d.ts +0 -1
  89. package/dist/sdk/sdk/types/PayToFormData.type.d.ts +0 -5
  90. package/dist/sdk/sdk/types/PayToOptions.type.d.ts +0 -4
  91. package/dist/sdk/sdk/types/PaymentOptionsCall.type.d.ts +0 -3
  92. package/dist/sdk/sdk/types/PaypalApprove.type.d.ts +0 -21
  93. package/dist/sdk/sdk/types/PaypalOptions.type.d.ts +0 -9
  94. package/dist/sdk/sdk/types/PaypalOrder.type.d.ts +0 -55
  95. package/dist/sdk/sdk/types/ThreeDSData.type.d.ts +0 -12
  96. package/dist/sdk/sdk/utils/alerts.d.ts +0 -2
  97. package/dist/sdk/sdk/utils/error.d.ts +0 -5
  98. package/dist/sdk/sdk/utils/loading.d.ts +0 -5
  99. package/dist/sdk/sdk/utils/spinner.d.ts +0 -2
  100. package/dist/sdk/utils/currency.d.ts +0 -6
  101. package/dist/sdk/utils/screen.d.ts +0 -1
  102. package/dist/sdk/utils/strings.d.ts +0 -1
  103. package/dist/sdk/utils/validate.d.ts +0 -13
@@ -1 +1,8 @@
1
- (function(fe,le){typeof exports=="object"&&typeof module!="undefined"?module.exports=le():typeof define=="function"&&define.amd?define(le):(fe=typeof globalThis!="undefined"?globalThis:fe||self,fe.payfurl=le())})(this,function(){"use strict";var bc=Object.defineProperty,vc=Object.defineProperties;var Dc=Object.getOwnPropertyDescriptors;var bi=Object.getOwnPropertySymbols;var wc=Object.prototype.hasOwnProperty,Sc=Object.prototype.propertyIsEnumerable;var On=(fe,le,ye)=>le in fe?bc(fe,le,{enumerable:!0,configurable:!0,writable:!0,value:ye}):fe[le]=ye,ct=(fe,le)=>{for(var ye in le||(le={}))wc.call(le,ye)&&On(fe,ye,le[ye]);if(bi)for(var ye of bi(le))Sc.call(le,ye)&&On(fe,ye,le[ye]);return fe},vi=(fe,le)=>vc(fe,Dc(le));var T=(fe,le,ye)=>(On(fe,typeof le!="symbol"?le+"":le,ye),ye);function fe(e,t){const s=Object.create(null),n=e.split(",");for(let r=0;r<n.length;r++)s[n[r]]=!0;return t?r=>!!s[r.toLowerCase()]:r=>!!s[r]}const ye=fe("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function An(e){return!!e||e===""}function ze(e){if(L(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=he(n)?Si(n):ze(n);if(r)for(const i in r)t[i]=r[i]}return t}else{if(he(e))return e;if(ce(e))return e}}const Di=/;(?![^(]*\))/g,wi=/:(.+)/;function Si(e){const t={};return e.split(Di).forEach(s=>{if(s){const n=s.split(wi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function is(e){let t="";if(he(e))t=e;else if(L(e))for(let s=0;s<e.length;s++){const n=is(e[s]);n&&(t+=n+" ")}else if(ce(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}function Ci(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=os(e[n],t[n]);return s}function os(e,t){if(e===t)return!0;let s=$n(e),n=$n(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=L(e),n=L(t),s||n)return s&&n?Ci(e,t):!1;if(s=ce(e),n=ce(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!os(e[o],t[o]))return!1}}return String(e)===String(t)}function Ii(e,t){return e.findIndex(s=>os(s,t))}const St=e=>he(e)?e:e==null?"":L(e)||ce(e)&&(e.toString===Nn||!R(e.toString))?JSON.stringify(e,Mn,2):String(e),Mn=(e,t)=>t&&t.__v_isRef?Mn(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r])=>(s[`${n} =>`]=r,s),{})}:as(t)?{[`Set(${t.size})`]:[...t.values()]}:ce(t)&&!L(t)&&!Un(t)?String(t):t,Z={},Ct=[],Ue=()=>{},Ti=()=>!1,Pi=/^on[^a-z]/,ls=e=>Pi.test(e),Rs=e=>e.startsWith("onUpdate:"),be=Object.assign,Ks=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},xi=Object.prototype.hasOwnProperty,W=(e,t)=>xi.call(e,t),L=Array.isArray,It=e=>cs(e)==="[object Map]",as=e=>cs(e)==="[object Set]",$n=e=>e instanceof Date,R=e=>typeof e=="function",he=e=>typeof e=="string",js=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",kn=e=>ce(e)&&R(e.then)&&R(e.catch),Nn=Object.prototype.toString,cs=e=>Nn.call(e),Ei=e=>cs(e).slice(8,-1),Un=e=>cs(e)==="[object Object]",Ws=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,us=fe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fs=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Oi=/-(\w)/g,Ye=fs(e=>e.replace(Oi,(t,s)=>s?s.toUpperCase():"")),Ai=/\B([A-Z])/g,Tt=fs(e=>e.replace(Ai,"-$1").toLowerCase()),hs=fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),zs=fs(e=>e?`on${hs(e)}`:""),Rt=(e,t)=>!Object.is(e,t),ds=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},ps=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},ms=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fn;const Mi=()=>Fn||(Fn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Je;class $i{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Je&&(this.parent=Je,this.index=(Je.scopes||(Je.scopes=[])).push(this)-1)}run(t){if(this.active){const s=Je;try{return Je=this,t()}finally{Je=s}}}on(){Je=this}off(){Je=this.parent}stop(t){if(this.active){let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.scopes)for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function ki(e,t=Je){t&&t.active&&t.effects.push(e)}const Ys=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ln=e=>(e.w&st)>0,Hn=e=>(e.n&st)>0,Ni=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=st},Ui=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const r=t[n];Ln(r)&&!Hn(r)?r.delete(e):t[s++]=r,r.w&=~st,r.n&=~st}t.length=s}},Js=new WeakMap;let Kt=0,st=1;const qs=30;let Fe;const ut=Symbol(""),Vs=Symbol("");class Xs{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,ki(this,n)}run(){if(!this.active)return this.fn();let t=Fe,s=nt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Fe,Fe=this,nt=!0,st=1<<++Kt,Kt<=qs?Ni(this):Bn(this),this.fn()}finally{Kt<=qs&&Ui(this),st=1<<--Kt,Fe=this.parent,nt=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Fe===this?this.deferStop=!0:this.active&&(Bn(this),this.onStop&&this.onStop(),this.active=!1)}}function Bn(e){const{deps:t}=e;if(t.length){for(let s=0;s<t.length;s++)t[s].delete(e);t.length=0}}let nt=!0;const Rn=[];function Pt(){Rn.push(nt),nt=!1}function xt(){const e=Rn.pop();nt=e===void 0?!0:e}function Ee(e,t,s){if(nt&&Fe){let n=Js.get(e);n||Js.set(e,n=new Map);let r=n.get(s);r||n.set(s,r=Ys()),Kn(r)}}function Kn(e,t){let s=!1;Kt<=qs?Hn(e)||(e.n|=st,s=!Ln(e)):s=!e.has(Fe),s&&(e.add(Fe),Fe.deps.push(e))}function Ge(e,t,s,n,r,i){const o=Js.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(s==="length"&&L(e))o.forEach((a,f)=>{(f==="length"||f>=n)&&l.push(a)});else switch(s!==void 0&&l.push(o.get(s)),t){case"add":L(e)?Ws(s)&&l.push(o.get("length")):(l.push(o.get(ut)),It(e)&&l.push(o.get(Vs)));break;case"delete":L(e)||(l.push(o.get(ut)),It(e)&&l.push(o.get(Vs)));break;case"set":It(e)&&l.push(o.get(ut));break}if(l.length===1)l[0]&&Zs(l[0]);else{const a=[];for(const f of l)f&&a.push(...f);Zs(Ys(a))}}function Zs(e,t){for(const s of L(e)?e:[...e])(s!==Fe||s.allowRecurse)&&(s.scheduler?s.scheduler():s.run())}const Fi=fe("__proto__,__v_isRef,__isVue"),jn=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(js)),Li=Gs(),Hi=Gs(!1,!0),Bi=Gs(!0),Wn=Ri();function Ri(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=q(this);for(let i=0,o=this.length;i<o;i++)Ee(n,"get",i+"");const r=n[t](...s);return r===-1||r===!1?n[t](...s.map(q)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...s){Pt();const n=q(this)[t].apply(this,s);return xt(),n}}),e}function Gs(e=!1,t=!1){return function(n,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?no:Qn:t?Gn:Zn).get(n))return n;const o=L(n);if(!e&&o&&W(Wn,r))return Reflect.get(Wn,r,i);const l=Reflect.get(n,r,i);return(js(r)?jn.has(r):Fi(r))||(e||Ee(n,"get",r),t)?l:pe(l)?!o||!Ws(r)?l.value:l:ce(l)?e?er(l):tn(l):l}}const Ki=zn(),ji=zn(!0);function zn(e=!1){return function(s,n,r,i){let o=s[n];if(jt(o)&&pe(o)&&!pe(r))return!1;if(!e&&!jt(r)&&(tr(r)||(r=q(r),o=q(o)),!L(s)&&pe(o)&&!pe(r)))return o.value=r,!0;const l=L(s)&&Ws(n)?Number(n)<s.length:W(s,n),a=Reflect.set(s,n,r,i);return s===q(i)&&(l?Rt(r,o)&&Ge(s,"set",n,r):Ge(s,"add",n,r)),a}}function Wi(e,t){const s=W(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&Ge(e,"delete",t,void 0),n}function zi(e,t){const s=Reflect.has(e,t);return(!js(t)||!jn.has(t))&&Ee(e,"has",t),s}function Yi(e){return Ee(e,"iterate",L(e)?"length":ut),Reflect.ownKeys(e)}const Yn={get:Li,set:Ki,deleteProperty:Wi,has:zi,ownKeys:Yi},Ji={get:Bi,set(e,t){return!0},deleteProperty(e,t){return!0}},qi=be({},Yn,{get:Hi,set:ji}),Qs=e=>e,gs=e=>Reflect.getPrototypeOf(e);function _s(e,t,s=!1,n=!1){e=e.__v_raw;const r=q(e),i=q(t);t!==i&&!s&&Ee(r,"get",t),!s&&Ee(r,"get",i);const{has:o}=gs(r),l=n?Qs:s?nn:Wt;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function ys(e,t=!1){const s=this.__v_raw,n=q(s),r=q(e);return e!==r&&!t&&Ee(n,"has",e),!t&&Ee(n,"has",r),e===r?s.has(e):s.has(e)||s.has(r)}function bs(e,t=!1){return e=e.__v_raw,!t&&Ee(q(e),"iterate",ut),Reflect.get(e,"size",e)}function Jn(e){e=q(e);const t=q(this);return gs(t).has.call(t,e)||(t.add(e),Ge(t,"add",e,e)),this}function qn(e,t){t=q(t);const s=q(this),{has:n,get:r}=gs(s);let i=n.call(s,e);i||(e=q(e),i=n.call(s,e));const o=r.call(s,e);return s.set(e,t),i?Rt(t,o)&&Ge(s,"set",e,t):Ge(s,"add",e,t),this}function Vn(e){const t=q(this),{has:s,get:n}=gs(t);let r=s.call(t,e);r||(e=q(e),r=s.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return r&&Ge(t,"delete",e,void 0),i}function Xn(){const e=q(this),t=e.size!==0,s=e.clear();return t&&Ge(e,"clear",void 0,void 0),s}function vs(e,t){return function(n,r){const i=this,o=i.__v_raw,l=q(o),a=t?Qs:e?nn:Wt;return!e&&Ee(l,"iterate",ut),o.forEach((f,d)=>n.call(r,a(f),a(d),i))}}function Ds(e,t,s){return function(...n){const r=this.__v_raw,i=q(r),o=It(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,f=r[e](...n),d=s?Qs:t?nn:Wt;return!t&&Ee(i,"iterate",a?Vs:ut),{next(){const{value:p,done:b}=f.next();return b?{value:p,done:b}:{value:l?[d(p[0]),d(p[1])]:d(p),done:b}},[Symbol.iterator](){return this}}}}function rt(e){return function(...t){return e==="delete"?!1:this}}function Vi(){const e={get(i){return _s(this,i)},get size(){return bs(this)},has:ys,add:Jn,set:qn,delete:Vn,clear:Xn,forEach:vs(!1,!1)},t={get(i){return _s(this,i,!1,!0)},get size(){return bs(this)},has:ys,add:Jn,set:qn,delete:Vn,clear:Xn,forEach:vs(!1,!0)},s={get(i){return _s(this,i,!0)},get size(){return bs(this,!0)},has(i){return ys.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:vs(!0,!1)},n={get(i){return _s(this,i,!0,!0)},get size(){return bs(this,!0)},has(i){return ys.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:vs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ds(i,!1,!1),s[i]=Ds(i,!0,!1),t[i]=Ds(i,!1,!0),n[i]=Ds(i,!0,!0)}),[e,s,t,n]}const[Xi,Zi,Gi,Qi]=Vi();function en(e,t){const s=t?e?Qi:Gi:e?Zi:Xi;return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(W(s,r)&&r in n?s:n,r,i)}const eo={get:en(!1,!1)},to={get:en(!1,!0)},so={get:en(!0,!1)},Zn=new WeakMap,Gn=new WeakMap,Qn=new WeakMap,no=new WeakMap;function ro(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function io(e){return e.__v_skip||!Object.isExtensible(e)?0:ro(Ei(e))}function tn(e){return jt(e)?e:sn(e,!1,Yn,eo,Zn)}function oo(e){return sn(e,!1,qi,to,Gn)}function er(e){return sn(e,!0,Ji,so,Qn)}function sn(e,t,s,n,r){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=io(e);if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function Et(e){return jt(e)?Et(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function tr(e){return!!(e&&e.__v_isShallow)}function sr(e){return Et(e)||jt(e)}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function nr(e){return ps(e,"__v_skip",!0),e}const Wt=e=>ce(e)?tn(e):e,nn=e=>ce(e)?er(e):e;function rr(e){nt&&Fe&&(e=q(e),Kn(e.dep||(e.dep=Ys())))}function ir(e,t){e=q(e),e.dep&&Zs(e.dep)}function pe(e){return!!(e&&e.__v_isRef===!0)}function ue(e){return lo(e,!1)}function lo(e,t){return pe(e)?e:new ao(e,t)}class ao{constructor(t,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?t:q(t),this._value=s?t:Wt(t)}get value(){return rr(this),this._value}set value(t){t=this.__v_isShallow?t:q(t),Rt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Wt(t),ir(this))}}function Ce(e){return pe(e)?e.value:e}const co={get:(e,t,s)=>Ce(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return pe(r)&&!pe(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function or(e){return Et(e)?e:new Proxy(e,co)}class uo{constructor(t,s,n,r){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Xs(t,()=>{this._dirty||(this._dirty=!0,ir(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const t=q(this);return rr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function fo(e,t,s=!1){let n,r;const i=R(e);return i?(n=e,r=Ue):(n=e.get,r=e.set),new uo(n,r,i||!r,s)}function it(e,t,s,n){let r;try{r=n?e(...n):e()}catch(i){ws(i,t,s)}return r}function Le(e,t,s,n){if(R(e)){const i=it(e,t,s,n);return i&&kn(i)&&i.catch(o=>{ws(o,t,s)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Le(e[i],t,s,n));return r}function ws(e,t,s,n=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=s;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){it(a,null,10,[e,o,l]);return}}ho(e,s,r,n)}function ho(e,t,s,n=!0){console.error(e)}let Ss=!1,rn=!1;const Oe=[];let Qe=0;const zt=[];let Yt=null,Ot=0;const Jt=[];let ot=null,At=0;const lr=Promise.resolve();let on=null,ln=null;function po(e){const t=on||lr;return e?t.then(this?e.bind(this):e):t}function mo(e){let t=Qe+1,s=Oe.length;for(;t<s;){const n=t+s>>>1;qt(Oe[n])<e?t=n+1:s=n}return t}function ar(e){(!Oe.length||!Oe.includes(e,Ss&&e.allowRecurse?Qe+1:Qe))&&e!==ln&&(e.id==null?Oe.push(e):Oe.splice(mo(e.id),0,e),cr())}function cr(){!Ss&&!rn&&(rn=!0,on=lr.then(hr))}function go(e){const t=Oe.indexOf(e);t>Qe&&Oe.splice(t,1)}function ur(e,t,s,n){L(e)?s.push(...e):(!t||!t.includes(e,e.allowRecurse?n+1:n))&&s.push(e),cr()}function _o(e){ur(e,Yt,zt,Ot)}function yo(e){ur(e,ot,Jt,At)}function an(e,t=null){if(zt.length){for(ln=t,Yt=[...new Set(zt)],zt.length=0,Ot=0;Ot<Yt.length;Ot++)Yt[Ot]();Yt=null,Ot=0,ln=null,an(e,t)}}function fr(e){if(Jt.length){const t=[...new Set(Jt)];if(Jt.length=0,ot){ot.push(...t);return}for(ot=t,ot.sort((s,n)=>qt(s)-qt(n)),At=0;At<ot.length;At++)ot[At]();ot=null,At=0}}const qt=e=>e.id==null?1/0:e.id;function hr(e){rn=!1,Ss=!0,an(e),Oe.sort((s,n)=>qt(s)-qt(n));const t=Ue;try{for(Qe=0;Qe<Oe.length;Qe++){const s=Oe[Qe];s&&s.active!==!1&&it(s,null,14)}}finally{Qe=0,Oe.length=0,fr(),Ss=!1,on=null,(Oe.length||zt.length||Jt.length)&&hr(e)}}function bo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Z;let r=s;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in n){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:p,trim:b}=n[d]||Z;b?r=s.map(w=>w.trim()):p&&(r=s.map(ms))}let l,a=n[l=zs(t)]||n[l=zs(Ye(t))];!a&&i&&(a=n[l=zs(Tt(t))]),a&&Le(a,e,6,r);const f=n[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Le(f,e,6,r)}}function dr(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!R(e)){const a=f=>{const d=dr(f,t,!0);d&&(l=!0,be(o,d))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(n.set(e,null),null):(L(i)?i.forEach(a=>o[a]=null):be(o,i),n.set(e,o),o)}function Cs(e,t){return!e||!ls(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,Tt(t))||W(e,t))}let He=null,Is=null;function Ts(e){const t=He;return He=e,Is=e&&e.type.__scopeId||null,t}function Mt(e){Is=e}function $t(){Is=null}function vo(e,t=He,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Lr(-1);const i=Ts(t),o=e(...r);return Ts(i),n._d&&Lr(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function Cc(){}function cn(e){const{type:t,vnode:s,proxy:n,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:a,emit:f,render:d,renderCache:p,data:b,setupState:w,ctx:A,inheritAttrs:K}=e;let U,B;const Y=Ts(e);try{if(s.shapeFlag&4){const oe=r||n;U=qe(d.call(oe,oe,p,i,w,b,A)),B=a}else{const oe=t;U=qe(oe.length>1?oe(i,{attrs:a,slots:l,emit:f}):oe(i,null)),B=t.props?a:Do(a)}}catch(oe){Zt.length=0,ws(oe,e,1),U=De(mt)}let ie=U;if(B&&K!==!1){const oe=Object.keys(B),{shapeFlag:de}=ie;oe.length&&de&7&&(o&&oe.some(Rs)&&(B=wo(B,o)),ie=Qt(ie,B))}return s.dirs&&(ie.dirs=ie.dirs?ie.dirs.concat(s.dirs):s.dirs),s.transition&&(ie.transition=s.transition),U=ie,Ts(Y),U}const Do=e=>{let t;for(const s in e)(s==="class"||s==="style"||ls(s))&&((t||(t={}))[s]=e[s]);return t},wo=(e,t)=>{const s={};for(const n in e)(!Rs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function So(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?pr(n,o,f):!!o;if(a&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const b=d[p];if(o[b]!==n[b]&&!Cs(f,b))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?pr(n,o,f):!0:!!o;return!1}function pr(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(t[i]!==e[i]&&!Cs(s,i))return!0}return!1}function Co({vnode:e,parent:t},s){for(;t&&t.subTree===e;)(e=t.vnode).el=s,t=t.parent}const Io=e=>e.__isSuspense;function To(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):yo(e)}function Po(e,t){if(me){let s=me.provides;const n=me.parent&&me.parent.provides;n===s&&(s=me.provides=Object.create(n)),s[e]=t}}function un(e,t,s=!1){const n=me||He;if(n){const r=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return s&&R(t)?t.call(n.proxy):t}}const mr={};function Ps(e,t,s){return gr(e,t,s)}function gr(e,t,{immediate:s,deep:n,flush:r,onTrack:i,onTrigger:o}=Z){const l=me;let a,f=!1,d=!1;if(pe(e)?(a=()=>e.value,f=tr(e)):Et(e)?(a=()=>e,n=!0):L(e)?(d=!0,f=e.some(Et),a=()=>e.map(B=>{if(pe(B))return B.value;if(Et(B))return ft(B);if(R(B))return it(B,l,2)})):R(e)?t?a=()=>it(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return p&&p(),Le(e,l,3,[b])}:a=Ue,t&&n){const B=a;a=()=>ft(B())}let p,b=B=>{p=U.onStop=()=>{it(B,l,4)}};if(es)return b=Ue,t?s&&Le(t,l,3,[a(),d?[]:void 0,b]):a(),Ue;let w=d?[]:mr;const A=()=>{if(!!U.active)if(t){const B=U.run();(n||f||(d?B.some((Y,ie)=>Rt(Y,w[ie])):Rt(B,w)))&&(p&&p(),Le(t,l,3,[B,w===mr?void 0:w,b]),w=B)}else U.run()};A.allowRecurse=!!t;let K;r==="sync"?K=A:r==="post"?K=()=>Ie(A,l&&l.suspense):K=()=>{!l||l.isMounted?_o(A):A()};const U=new Xs(a,K);return t?s?A():w=U.run():r==="post"?Ie(U.run.bind(U),l&&l.suspense):U.run(),()=>{U.stop(),l&&l.scope&&Ks(l.scope.effects,U)}}function xo(e,t,s){const n=this.proxy,r=he(e)?e.includes(".")?_r(n,e):()=>n[e]:e.bind(n,n);let i;R(t)?i=t:(i=t.handler,s=t);const o=me;Ut(this);const l=gr(r,i.bind(n),s);return o?Ut(o):_t(),l}function _r(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}function ft(e,t){if(!ce(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),pe(e))ft(e.value,t);else if(L(e))for(let s=0;s<e.length;s++)ft(e[s],t);else if(as(e)||It(e))e.forEach(s=>{ft(s,t)});else if(Un(e))for(const s in e)ft(e[s],t);return e}function Ae(e){return R(e)?{setup:e,name:e.name}:e}const fn=e=>!!e.type.__asyncLoader,yr=e=>e.type.__isKeepAlive;function Eo(e,t){br(e,"a",t)}function Oo(e,t){br(e,"da",t)}function br(e,t,s=me){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(xs(t,n,s),s){let r=s.parent;for(;r&&r.parent;)yr(r.parent.vnode)&&Ao(n,t,s,r),r=r.parent}}function Ao(e,t,s,n){const r=xs(t,e,n,!0);Vt(()=>{Ks(n[t],r)},s)}function xs(e,t,s=me,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(s.isUnmounted)return;Pt(),Ut(s);const l=Le(t,s,e,o);return _t(),xt(),l});return n?r.unshift(i):r.push(i),i}}const et=e=>(t,s=me)=>(!es||e==="sp")&&xs(e,t,s),Mo=et("bm"),kt=et("m"),$o=et("bu"),ko=et("u"),No=et("bum"),Vt=et("um"),Uo=et("sp"),Fo=et("rtg"),Lo=et("rtc");function Ho(e,t=me){xs("ec",e,t)}let hn=!0;function Bo(e){const t=wr(e),s=e.proxy,n=e.ctx;hn=!1,t.beforeCreate&&vr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:a,inject:f,created:d,beforeMount:p,mounted:b,beforeUpdate:w,updated:A,activated:K,deactivated:U,beforeDestroy:B,beforeUnmount:Y,destroyed:ie,unmounted:oe,render:de,renderTracked:_e,renderTriggered:tt,errorCaptured:Be,serverPrefetch:X,expose:j,inheritAttrs:xe,components:ae,directives:M,filters:I}=t;if(f&&Ro(f,n,null,e.appContext.config.unwrapInjectedRef),o)for(const y in o){const x=o[y];R(x)&&(n[y]=x.bind(s))}if(r){const y=r.call(s,s);ce(y)&&(e.data=tn(y))}if(hn=!0,i)for(const y in i){const x=i[y],N=R(x)?x.bind(s,s):R(x.get)?x.get.bind(s,s):Ue,J=!R(x)&&R(x.set)?x.set.bind(s):Ue,Q=Ns({get:N,set:J});Object.defineProperty(n,y,{enumerable:!0,configurable:!0,get:()=>Q.value,set:V=>Q.value=V})}if(l)for(const y in l)Dr(l[y],n,s,y);if(a){const y=R(a)?a.call(s):a;Reflect.ownKeys(y).forEach(x=>{Po(x,y[x])})}d&&vr(d,e,"c");function E(y,x){L(x)?x.forEach(N=>y(N.bind(s))):x&&y(x.bind(s))}if(E(Mo,p),E(kt,b),E($o,w),E(ko,A),E(Eo,K),E(Oo,U),E(Ho,Be),E(Lo,_e),E(Fo,tt),E(No,Y),E(Vt,oe),E(Uo,X),L(j))if(j.length){const y=e.exposed||(e.exposed={});j.forEach(x=>{Object.defineProperty(y,x,{get:()=>s[x],set:N=>s[x]=N})})}else e.exposed||(e.exposed={});de&&e.render===Ue&&(e.render=de),xe!=null&&(e.inheritAttrs=xe),ae&&(e.components=ae),M&&(e.directives=M)}function Ro(e,t,s=Ue,n=!1){L(e)&&(e=dn(e));for(const r in e){const i=e[r];let o;ce(i)?"default"in i?o=un(i.from||r,i.default,!0):o=un(i.from||r):o=un(i),pe(o)&&n?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function vr(e,t,s){Le(L(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Dr(e,t,s,n){const r=n.includes(".")?_r(s,n):()=>s[n];if(he(e)){const i=t[e];R(i)&&Ps(r,i)}else if(R(e))Ps(r,e.bind(s));else if(ce(e))if(L(e))e.forEach(i=>Dr(i,t,s,n));else{const i=R(e.handler)?e.handler.bind(s):t[e.handler];R(i)&&Ps(r,i,e)}}function wr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!r.length&&!s&&!n?a=t:(a={},r.length&&r.forEach(f=>Es(a,f,o,!0)),Es(a,t,o)),i.set(t,a),a}function Es(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Es(e,i,s,!0),r&&r.forEach(o=>Es(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=Ko[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ko={data:Sr,props:ht,emits:ht,methods:ht,computed:ht,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:ht,directives:ht,watch:Wo,provide:Sr,inject:jo};function Sr(e,t){return t?e?function(){return be(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function jo(e,t){return ht(dn(e),dn(t))}function dn(e){if(L(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ve(e,t){return e?[...new Set([].concat(e,t))]:t}function ht(e,t){return e?be(be(Object.create(null),e),t):t}function Wo(e,t){if(!e)return t;if(!t)return e;const s=be(Object.create(null),e);for(const n in t)s[n]=ve(e[n],t[n]);return s}function zo(e,t,s,n=!1){const r={},i={};ps(i,As,1),e.propsDefaults=Object.create(null),Cr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:oo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Yo(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=q(r),[a]=e.propsOptions;let f=!1;if((n||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let b=d[p];if(Cs(e.emitsOptions,b))continue;const w=t[b];if(a)if(W(i,b))w!==i[b]&&(i[b]=w,f=!0);else{const A=Ye(b);r[A]=pn(a,l,A,w,e,!1)}else w!==i[b]&&(i[b]=w,f=!0)}}}else{Cr(e,t,r,i)&&(f=!0);let d;for(const p in l)(!t||!W(t,p)&&((d=Tt(p))===p||!W(t,d)))&&(a?s&&(s[p]!==void 0||s[d]!==void 0)&&(r[p]=pn(a,l,p,void 0,e,!0)):delete r[p]);if(i!==l)for(const p in i)(!t||!W(t,p)&&!0)&&(delete i[p],f=!0)}f&&Ge(e,"set","$attrs")}function Cr(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(us(a))continue;const f=t[a];let d;r&&W(r,d=Ye(a))?!i||!i.includes(d)?s[d]=f:(l||(l={}))[d]=f:Cs(e.emitsOptions,a)||(!(a in n)||f!==n[a])&&(n[a]=f,o=!0)}if(i){const a=q(s),f=l||Z;for(let d=0;d<i.length;d++){const p=i[d];s[p]=pn(r,a,p,f[p],e,!W(f,p))}}return o}function pn(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=W(o,"default");if(l&&n===void 0){const a=o.default;if(o.type!==Function&&R(a)){const{propsDefaults:f}=r;s in f?n=f[s]:(Ut(r),n=f[s]=a.call(null,t),_t())}else n=a}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===Tt(s))&&(n=!0))}return n}function Ir(e,t,s=!1){const n=t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let a=!1;if(!R(e)){const d=p=>{a=!0;const[b,w]=Ir(p,t,!0);be(o,b),w&&l.push(...w)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!a)return n.set(e,Ct),Ct;if(L(i))for(let d=0;d<i.length;d++){const p=Ye(i[d]);Tr(p)&&(o[p]=Z)}else if(i)for(const d in i){const p=Ye(d);if(Tr(p)){const b=i[d],w=o[p]=L(b)||R(b)?{type:b}:b;if(w){const A=Er(Boolean,w.type),K=Er(String,w.type);w[0]=A>-1,w[1]=K<0||A<K,(A>-1||W(w,"default"))&&l.push(p)}}}const f=[o,l];return n.set(e,f),f}function Tr(e){return e[0]!=="$"}function Pr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function xr(e,t){return Pr(e)===Pr(t)}function Er(e,t){return L(t)?t.findIndex(s=>xr(s,e)):R(t)&&xr(t,e)?0:-1}const Or=e=>e[0]==="_"||e==="$stable",mn=e=>L(e)?e.map(qe):[qe(e)],Jo=(e,t,s)=>{const n=vo((...r)=>mn(t(...r)),s);return n._c=!1,n},Ar=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Or(r))continue;const i=e[r];if(R(i))t[r]=Jo(r,i,n);else if(i!=null){const o=mn(i);t[r]=()=>o}}},Mr=(e,t)=>{const s=mn(t);e.slots.default=()=>s},qo=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=q(t),ps(t,"_",s)):Ar(t,e.slots={})}else e.slots={},t&&Mr(e,t);ps(e.slots,As,1)},Vo=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=Z;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:(be(r,t),!s&&l===1&&delete r._):(i=!t.$stable,Ar(t,r)),o=t}else t&&(Mr(e,t),o={default:1});if(i)for(const l in r)!Or(l)&&!(l in o)&&delete r[l]};function Xt(e,t){const s=He;if(s===null)return e;const n=ks(s)||s.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,a,f=Z]=t[i];R(o)&&(o={mounted:o,updated:o}),o.deep&&ft(l),r.push({dir:o,instance:n,value:l,oldValue:void 0,arg:a,modifiers:f})}return e}function dt(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let a=l.dir[n];a&&(Pt(),Le(a,s,8,[e.el,l,e,t]),xt())}}function $r(){return{app:null,config:{isNativeTag:Ti,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Xo=0;function Zo(e,t){return function(n,r=null){R(n)||(n=Object.assign({},n)),r!=null&&!ce(r)&&(r=null);const i=$r(),o=new Set;let l=!1;const a=i.app={_uid:Xo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:bl,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&R(f.install)?(o.add(f),f.install(a,...d)):R(f)&&(o.add(f),f(a,...d))),a},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),a},component(f,d){return d?(i.components[f]=d,a):i.components[f]},directive(f,d){return d?(i.directives[f]=d,a):i.directives[f]},mount(f,d,p){if(!l){const b=De(n,r);return b.appContext=i,d&&t?t(b,f):e(b,f,p),l=!0,a._container=f,f.__vue_app__=a,ks(b.component)||b.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(f,d){return i.provides[f]=d,a}};return a}}function gn(e,t,s,n,r=!1){if(L(e)){e.forEach((b,w)=>gn(b,t&&(L(t)?t[w]:t),s,n,r));return}if(fn(n)&&!r)return;const i=n.shapeFlag&4?ks(n.component)||n.component.proxy:n.el,o=r?null:i,{i:l,r:a}=e,f=t&&t.r,d=l.refs===Z?l.refs={}:l.refs,p=l.setupState;if(f!=null&&f!==a&&(he(f)?(d[f]=null,W(p,f)&&(p[f]=null)):pe(f)&&(f.value=null)),R(a))it(a,l,12,[o,d]);else{const b=he(a),w=pe(a);if(b||w){const A=()=>{if(e.f){const K=b?d[a]:a.value;r?L(K)&&Ks(K,i):L(K)?K.includes(i)||K.push(i):b?(d[a]=[i],W(p,a)&&(p[a]=d[a])):(a.value=[i],e.k&&(d[e.k]=a.value))}else b?(d[a]=o,W(p,a)&&(p[a]=o)):pe(a)&&(a.value=o,e.k&&(d[e.k]=o))};o?(A.id=-1,Ie(A,s)):A()}}}const Ie=To;function Go(e){return Qo(e)}function Qo(e,t){const s=Mi();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:a,setText:f,setElementText:d,parentNode:p,nextSibling:b,setScopeId:w=Ue,cloneNode:A,insertStaticContent:K}=e,U=(c,u,h,g=null,m=null,D=null,P=!1,v=null,S=!!u.dynamicChildren)=>{if(c===u)return;c&&!Gt(c,u)&&(g=je(c),ee(c,m,D,!0),c=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:_,ref:$,shapeFlag:O}=u;switch(_){case _n:B(c,u,h,g);break;case mt:Y(c,u,h,g);break;case yn:c==null&&ie(u,h,g,P);break;case Me:M(c,u,h,g,m,D,P,v,S);break;default:O&1?_e(c,u,h,g,m,D,P,v,S):O&6?I(c,u,h,g,m,D,P,v,S):(O&64||O&128)&&_.process(c,u,h,g,m,D,P,v,S,Se)}$!=null&&m&&gn($,c&&c.ref,D,u||c,!u)},B=(c,u,h,g)=>{if(c==null)n(u.el=l(u.children),h,g);else{const m=u.el=c.el;u.children!==c.children&&f(m,u.children)}},Y=(c,u,h,g)=>{c==null?n(u.el=a(u.children||""),h,g):u.el=c.el},ie=(c,u,h,g)=>{[c.el,c.anchor]=K(c.children,u,h,g,c.el,c.anchor)},oe=({el:c,anchor:u},h,g)=>{let m;for(;c&&c!==u;)m=b(c),n(c,h,g),c=m;n(u,h,g)},de=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=b(c),r(c),c=h;r(u)},_e=(c,u,h,g,m,D,P,v,S)=>{P=P||u.type==="svg",c==null?tt(u,h,g,m,D,P,v,S):j(c,u,m,D,P,v,S)},tt=(c,u,h,g,m,D,P,v)=>{let S,_;const{type:$,props:O,shapeFlag:k,transition:H,patchFlag:z,dirs:ne}=c;if(c.el&&A!==void 0&&z===-1)S=c.el=A(c.el);else{if(S=c.el=o(c.type,D,O&&O.is,O),k&8?d(S,c.children):k&16&&X(c.children,S,null,g,m,D&&$!=="foreignObject",P,v),ne&&dt(c,null,g,"created"),O){for(const te in O)te!=="value"&&!us(te)&&i(S,te,null,O[te],D,c.children,g,m,we);"value"in O&&i(S,"value",null,O.value),(_=O.onVnodeBeforeMount)&&Ve(_,g,c)}Be(S,c,c.scopeId,P,g)}ne&&dt(c,null,g,"beforeMount");const G=(!m||m&&!m.pendingBranch)&&H&&!H.persisted;G&&H.beforeEnter(S),n(S,u,h),((_=O&&O.onVnodeMounted)||G||ne)&&Ie(()=>{_&&Ve(_,g,c),G&&H.enter(S),ne&&dt(c,null,g,"mounted")},m)},Be=(c,u,h,g,m)=>{if(h&&w(c,h),g)for(let D=0;D<g.length;D++)w(c,g[D]);if(m){let D=m.subTree;if(u===D){const P=m.vnode;Be(c,P,P.scopeId,P.slotScopeIds,m.parent)}}},X=(c,u,h,g,m,D,P,v,S=0)=>{for(let _=S;_<c.length;_++){const $=c[_]=v?lt(c[_]):qe(c[_]);U(null,$,u,h,g,m,D,P,v)}},j=(c,u,h,g,m,D,P)=>{const v=u.el=c.el;let{patchFlag:S,dynamicChildren:_,dirs:$}=u;S|=c.patchFlag&16;const O=c.props||Z,k=u.props||Z;let H;h&&pt(h,!1),(H=k.onVnodeBeforeUpdate)&&Ve(H,h,u,c),$&&dt(u,c,h,"beforeUpdate"),h&&pt(h,!0);const z=m&&u.type!=="foreignObject";if(_?xe(c.dynamicChildren,_,v,h,g,z,D):P||N(c,u,v,null,h,g,z,D,!1),S>0){if(S&16)ae(v,u,O,k,h,g,m);else if(S&2&&O.class!==k.class&&i(v,"class",null,k.class,m),S&4&&i(v,"style",O.style,k.style,m),S&8){const ne=u.dynamicProps;for(let G=0;G<ne.length;G++){const te=ne[G],We=O[te],Bt=k[te];(Bt!==We||te==="value")&&i(v,te,We,Bt,m,c.children,h,g,we)}}S&1&&c.children!==u.children&&d(v,u.children)}else!P&&_==null&&ae(v,u,O,k,h,g,m);((H=k.onVnodeUpdated)||$)&&Ie(()=>{H&&Ve(H,h,u,c),$&&dt(u,c,h,"updated")},g)},xe=(c,u,h,g,m,D,P)=>{for(let v=0;v<u.length;v++){const S=c[v],_=u[v],$=S.el&&(S.type===Me||!Gt(S,_)||S.shapeFlag&70)?p(S.el):h;U(S,_,$,null,g,m,D,P,!0)}},ae=(c,u,h,g,m,D,P)=>{if(h!==g){for(const v in g){if(us(v))continue;const S=g[v],_=h[v];S!==_&&v!=="value"&&i(c,v,_,S,P,u.children,m,D,we)}if(h!==Z)for(const v in h)!us(v)&&!(v in g)&&i(c,v,h[v],null,P,u.children,m,D,we);"value"in g&&i(c,"value",h.value,g.value)}},M=(c,u,h,g,m,D,P,v,S)=>{const _=u.el=c?c.el:l(""),$=u.anchor=c?c.anchor:l("");let{patchFlag:O,dynamicChildren:k,slotScopeIds:H}=u;H&&(v=v?v.concat(H):H),c==null?(n(_,h,g),n($,h,g),X(u.children,h,$,m,D,P,v,S)):O>0&&O&64&&k&&c.dynamicChildren?(xe(c.dynamicChildren,k,h,m,D,P,v),(u.key!=null||m&&u===m.subTree)&&kr(c,u,!0)):N(c,u,h,$,m,D,P,v,S)},I=(c,u,h,g,m,D,P,v,S)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?m.ctx.activate(u,h,g,P,S):C(u,h,g,m,D,P,S):E(c,u,S)},C=(c,u,h,g,m,D,P)=>{const v=c.component=hl(c,g,m);if(yr(c)&&(v.ctx.renderer=Se),dl(v),v.asyncDep){if(m&&m.registerDep(v,y),!c.el){const S=v.subTree=De(mt);Y(null,S,u,h)}return}y(v,c,u,h,m,D,P)},E=(c,u,h)=>{const g=u.component=c.component;if(So(c,u,h))if(g.asyncDep&&!g.asyncResolved){x(g,u,h);return}else g.next=u,go(g.update),g.update();else u.component=c.component,u.el=c.el,g.vnode=u},y=(c,u,h,g,m,D,P)=>{const v=()=>{if(c.isMounted){let{next:$,bu:O,u:k,parent:H,vnode:z}=c,ne=$,G;pt(c,!1),$?($.el=z.el,x(c,$,P)):$=z,O&&ds(O),(G=$.props&&$.props.onVnodeBeforeUpdate)&&Ve(G,H,$,z),pt(c,!0);const te=cn(c),We=c.subTree;c.subTree=te,U(We,te,p(We.el),je(We),c,m,D),$.el=te.el,ne===null&&Co(c,te.el),k&&Ie(k,m),(G=$.props&&$.props.onVnodeUpdated)&&Ie(()=>Ve(G,H,$,z),m)}else{let $;const{el:O,props:k}=u,{bm:H,m:z,parent:ne}=c,G=fn(u);if(pt(c,!1),H&&ds(H),!G&&($=k&&k.onVnodeBeforeMount)&&Ve($,ne,u),pt(c,!0),O&&at){const te=()=>{c.subTree=cn(c),at(O,c.subTree,c,m,null)};G?u.type.__asyncLoader().then(()=>!c.isUnmounted&&te()):te()}else{const te=c.subTree=cn(c);U(null,te,h,g,c,m,D),u.el=te.el}if(z&&Ie(z,m),!G&&($=k&&k.onVnodeMounted)){const te=u;Ie(()=>Ve($,ne,te),m)}u.shapeFlag&256&&c.a&&Ie(c.a,m),c.isMounted=!0,u=h=g=null}},S=c.effect=new Xs(v,()=>ar(c.update),c.scope),_=c.update=S.run.bind(S);_.id=c.uid,pt(c,!0),_()},x=(c,u,h)=>{u.component=c;const g=c.vnode.props;c.vnode=u,c.next=null,Yo(c,u.props,g,h),Vo(c,u.children,h),Pt(),an(void 0,c.update),xt()},N=(c,u,h,g,m,D,P,v,S=!1)=>{const _=c&&c.children,$=c?c.shapeFlag:0,O=u.children,{patchFlag:k,shapeFlag:H}=u;if(k>0){if(k&128){Q(_,O,h,g,m,D,P,v,S);return}else if(k&256){J(_,O,h,g,m,D,P,v,S);return}}H&8?($&16&&we(_,m,D),O!==_&&d(h,O)):$&16?H&16?Q(_,O,h,g,m,D,P,v,S):we(_,m,D,!0):($&8&&d(h,""),H&16&&X(O,h,g,m,D,P,v,S))},J=(c,u,h,g,m,D,P,v,S)=>{c=c||Ct,u=u||Ct;const _=c.length,$=u.length,O=Math.min(_,$);let k;for(k=0;k<O;k++){const H=u[k]=S?lt(u[k]):qe(u[k]);U(c[k],H,h,null,m,D,P,v,S)}_>$?we(c,m,D,!0,!1,O):X(u,h,g,m,D,P,v,S,O)},Q=(c,u,h,g,m,D,P,v,S)=>{let _=0;const $=u.length;let O=c.length-1,k=$-1;for(;_<=O&&_<=k;){const H=c[_],z=u[_]=S?lt(u[_]):qe(u[_]);if(Gt(H,z))U(H,z,h,null,m,D,P,v,S);else break;_++}for(;_<=O&&_<=k;){const H=c[O],z=u[k]=S?lt(u[k]):qe(u[k]);if(Gt(H,z))U(H,z,h,null,m,D,P,v,S);else break;O--,k--}if(_>O){if(_<=k){const H=k+1,z=H<$?u[H].el:g;for(;_<=k;)U(null,u[_]=S?lt(u[_]):qe(u[_]),h,z,m,D,P,v,S),_++}}else if(_>k)for(;_<=O;)ee(c[_],m,D,!0),_++;else{const H=_,z=_,ne=new Map;for(_=z;_<=k;_++){const ke=u[_]=S?lt(u[_]):qe(u[_]);ke.key!=null&&ne.set(ke.key,_)}let G,te=0;const We=k-z+1;let Bt=!1,gi=0;const rs=new Array(We);for(_=0;_<We;_++)rs[_]=0;for(_=H;_<=O;_++){const ke=c[_];if(te>=We){ee(ke,m,D,!0);continue}let Ze;if(ke.key!=null)Ze=ne.get(ke.key);else for(G=z;G<=k;G++)if(rs[G-z]===0&&Gt(ke,u[G])){Ze=G;break}Ze===void 0?ee(ke,m,D,!0):(rs[Ze-z]=_+1,Ze>=gi?gi=Ze:Bt=!0,U(ke,u[Ze],h,null,m,D,P,v,S),te++)}const _i=Bt?el(rs):Ct;for(G=_i.length-1,_=We-1;_>=0;_--){const ke=z+_,Ze=u[ke],yi=ke+1<$?u[ke+1].el:g;rs[_]===0?U(null,Ze,h,yi,m,D,P,v,S):Bt&&(G<0||_!==_i[G]?V(Ze,h,yi,2):G--)}}},V=(c,u,h,g,m=null)=>{const{el:D,type:P,transition:v,children:S,shapeFlag:_}=c;if(_&6){V(c.component.subTree,u,h,g);return}if(_&128){c.suspense.move(u,h,g);return}if(_&64){P.move(c,u,h,Se);return}if(P===Me){n(D,u,h);for(let O=0;O<S.length;O++)V(S[O],u,h,g);n(c.anchor,u,h);return}if(P===yn){oe(c,u,h);return}if(g!==2&&_&1&&v)if(g===0)v.beforeEnter(D),n(D,u,h),Ie(()=>v.enter(D),m);else{const{leave:O,delayLeave:k,afterLeave:H}=v,z=()=>n(D,u,h),ne=()=>{O(D,()=>{z(),H&&H()})};k?k(D,z,ne):ne()}else n(D,u,h)},ee=(c,u,h,g=!1,m=!1)=>{const{type:D,props:P,ref:v,children:S,dynamicChildren:_,shapeFlag:$,patchFlag:O,dirs:k}=c;if(v!=null&&gn(v,null,h,c,!0),$&256){u.ctx.deactivate(c);return}const H=$&1&&k,z=!fn(c);let ne;if(z&&(ne=P&&P.onVnodeBeforeUnmount)&&Ve(ne,u,c),$&6)Dt(c.component,h,g);else{if($&128){c.suspense.unmount(h,g);return}H&&dt(c,null,u,"beforeUnmount"),$&64?c.type.remove(c,u,h,m,Se,g):_&&(D!==Me||O>0&&O&64)?we(_,u,h,!1,!0):(D===Me&&O&384||!m&&$&16)&&we(S,u,h),g&&Re(c)}(z&&(ne=P&&P.onVnodeUnmounted)||H)&&Ie(()=>{ne&&Ve(ne,u,c),H&&dt(c,null,u,"unmounted")},h)},Re=c=>{const{type:u,el:h,anchor:g,transition:m}=c;if(u===Me){Ke(h,g);return}if(u===yn){de(c);return}const D=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:P,delayLeave:v}=m,S=()=>P(h,D);v?v(c.el,D,S):S()}else D()},Ke=(c,u)=>{let h;for(;c!==u;)h=b(c),r(c),c=h;r(u)},Dt=(c,u,h)=>{const{bum:g,scope:m,update:D,subTree:P,um:v}=c;g&&ds(g),m.stop(),D&&(D.active=!1,ee(P,c,u,h)),v&&Ie(v,u),Ie(()=>{c.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},we=(c,u,h,g=!1,m=!1,D=0)=>{for(let P=D;P<c.length;P++)ee(c[P],u,h,g,m)},je=c=>c.shapeFlag&6?je(c.component.subTree):c.shapeFlag&128?c.suspense.next():b(c.anchor||c.el),ge=(c,u,h)=>{c==null?u._vnode&&ee(u._vnode,null,null,!0):U(u._vnode||null,c,u,null,null,null,h),fr(),u._vnode=c},Se={p:U,um:ee,m:V,r:Re,mt:C,mc:X,pc:N,pbc:xe,n:je,o:e};let wt,at;return t&&([wt,at]=t(Se)),{render:ge,hydrate:wt,createApp:Zo(ge,wt)}}function pt({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function kr(e,t,s=!1){const n=e.children,r=t.children;if(L(n)&&L(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=lt(r[i]),l.el=o.el),s||kr(o,l))}}function el(e){const t=e.slice(),s=[0];let n,r,i,o,l;const a=e.length;for(n=0;n<a;n++){const f=e[n];if(f!==0){if(r=s[s.length-1],e[r]<f){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<f?i=l+1:o=l;f<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}const tl=e=>e.__isTeleport,Nr="components",Ur=Symbol();function sl(e){return he(e)?nl(Nr,e,!1)||e:e||Ur}function nl(e,t,s=!0,n=!1){const r=He||me;if(r){const i=r.type;if(e===Nr){const l=_l(i);if(l&&(l===t||l===Ye(t)||l===hs(Ye(t))))return i}const o=Fr(r[e]||i[e],t)||Fr(r.appContext[e],t);return!o&&n?i:o}}function Fr(e,t){return e&&(e[t]||e[Ye(t)]||e[hs(Ye(t))])}const Me=Symbol(void 0),_n=Symbol(void 0),mt=Symbol(void 0),yn=Symbol(void 0),Zt=[];let gt=null;function se(e=!1){Zt.push(gt=e?null:[])}function rl(){Zt.pop(),gt=Zt[Zt.length-1]||null}let Os=1;function Lr(e){Os+=e}function Hr(e){return e.dynamicChildren=Os>0?gt||Ct:null,rl(),Os>0&&gt&&gt.push(e),e}function re(e,t,s,n,r,i){return Hr(F(e,t,s,n,r,i,!0))}function Br(e,t,s,n,r){return Hr(De(e,t,s,n,r,!0))}function il(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const As="__vInternal",Rr=({key:e})=>e!=null?e:null,Ms=({ref:e,ref_key:t,ref_for:s})=>e!=null?he(e)||pe(e)||R(e)?{i:He,r:e,k:t,f:!!s}:e:null;function F(e,t=null,s=null,n=0,r=null,i=e===Me?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rr(t),ref:t&&Ms(t),scopeId:Is,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(vn(a,s),i&128&&e.normalize(a)):s&&(a.shapeFlag|=he(s)?8:16),Os>0&&!o&&gt&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&gt.push(a),a}const De=ol;function ol(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Ur)&&(e=mt),il(e)){const l=Qt(e,t,!0);return s&&vn(l,s),l}if(yl(e)&&(e=e.__vccOpts),t){t=ll(t);let{class:l,style:a}=t;l&&!he(l)&&(t.class=is(l)),ce(a)&&(sr(a)&&!L(a)&&(a=be({},a)),t.style=ze(a))}const o=he(e)?1:Io(e)?128:tl(e)?64:ce(e)?4:R(e)?2:0;return F(e,t,s,n,r,o,i,!0)}function ll(e){return e?sr(e)||As in e?be({},e):e:null}function Qt(e,t,s=!1){const{props:n,ref:r,patchFlag:i,children:o}=e,l=t?al(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Rr(l),ref:t&&t.ref?s&&r?L(r)?r.concat(Ms(t)):[r,Ms(t)]:Ms(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),el:e.el,anchor:e.anchor}}function bn(e=" ",t=0){return De(_n,null,e,t)}function Nt(e="",t=!1){return t?(se(),Br(mt,null,e)):De(mt,null,e)}function qe(e){return e==null||typeof e=="boolean"?De(mt):L(e)?De(Me,null,e.slice()):typeof e=="object"?lt(e):De(_n,null,String(e))}function lt(e){return e.el===null||e.memo?e:Qt(e)}function vn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(L(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),vn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!(As in t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:He},s=32):(t=String(t),n&64?(s=16,t=[bn(t)]):s=8);e.children=t,e.shapeFlag|=s}function al(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=is([t.class,n.class]));else if(r==="style")t.style=ze([t.style,n.style]);else if(ls(r)){const i=t[r],o=n[r];o&&i!==o&&!(L(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function Ve(e,t,s,n=null){Le(e,t,7,[s,n])}function Kr(e,t,s,n){let r;const i=s&&s[n];if(L(e)||he(e)){r=new Array(e.length);for(let o=0,l=e.length;o<l;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(ce(e))if(e[Symbol.iterator])r=Array.from(e,(o,l)=>t(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,a=o.length;l<a;l++){const f=o[l];r[l]=t(e[f],f,l,i&&i[l])}}else r=[];return s&&(s[n]=r),r}const Dn=e=>e?jr(e)?ks(e)||e.proxy:Dn(e.parent):null,$s=be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Dn(e.parent),$root:e=>Dn(e.root),$emit:e=>e.emit,$options:e=>wr(e),$forceUpdate:e=>()=>ar(e.update),$nextTick:e=>po.bind(e.proxy),$watch:e=>xo.bind(e)}),cl={get({_:e},t){const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:a}=e;let f;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(n!==Z&&W(n,t))return o[t]=1,n[t];if(r!==Z&&W(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&W(f,t))return o[t]=3,i[t];if(s!==Z&&W(s,t))return o[t]=4,s[t];hn&&(o[t]=0)}}const d=$s[t];let p,b;if(d)return t==="$attrs"&&Ee(e,"get",t),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(s!==Z&&W(s,t))return o[t]=4,s[t];if(b=a.config.globalProperties,W(b,t))return b[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return r!==Z&&W(r,t)?(r[t]=s,!0):n!==Z&&W(n,t)?(n[t]=s,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:i}},o){let l;return!!s[o]||e!==Z&&W(e,o)||t!==Z&&W(t,o)||(l=i[0])&&W(l,o)||W(n,o)||W($s,o)||W(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:W(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}},ul=$r();let fl=0;function hl(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||ul,i={uid:fl++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new $i(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ir(n,r),emitsOptions:dr(n,r),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:n.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=bo.bind(null,i),e.ce&&e.ce(i),i}let me=null;const Ut=e=>{me=e,e.scope.on()},_t=()=>{me&&me.scope.off(),me=null};function jr(e){return e.vnode.shapeFlag&4}let es=!1;function dl(e,t=!1){es=t;const{props:s,children:n}=e.vnode,r=jr(e);zo(e,s,r,t),qo(e,n);const i=r?pl(e,t):void 0;return es=!1,i}function pl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=nr(new Proxy(e.ctx,cl));const{setup:n}=s;if(n){const r=e.setupContext=n.length>1?gl(e):null;Ut(e),Pt();const i=it(n,e,0,[e.props,r]);if(xt(),_t(),kn(i)){if(i.then(_t,_t),t)return i.then(o=>{Wr(e,o,t)}).catch(o=>{ws(o,e,0)});e.asyncDep=i}else Wr(e,i,t)}else Yr(e,t)}function Wr(e,t,s){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=or(t)),Yr(e,s)}let zr;function Yr(e,t,s){const n=e.type;if(!e.render){if(!t&&zr&&!n.render){const r=n.template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=n,f=be(be({isCustomElement:i,delimiters:l},o),a);n.render=zr(r,f)}}e.render=n.render||Ue}Ut(e),Pt(),Bo(e),xt(),_t()}function ml(e){return new Proxy(e.attrs,{get(t,s){return Ee(e,"get","$attrs"),t[s]}})}function gl(e){const t=n=>{e.exposed=n||{}};let s;return{get attrs(){return s||(s=ml(e))},slots:e.slots,emit:e.emit,expose:t}}function ks(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(or(nr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in $s)return $s[s](e)}}))}function _l(e){return R(e)&&e.displayName||e.name}function yl(e){return R(e)&&"__vccOpts"in e}const Ns=(e,t)=>fo(e,t,es),bl="3.2.33",vl="http://www.w3.org/2000/svg",yt=typeof document!="undefined"?document:null,Jr=yt&&yt.createElement("template"),Dl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t?yt.createElementNS(vl,e):yt.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>yt.createTextNode(e),createComment:e=>yt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Jr.innerHTML=n?`<svg>${e}</svg>`:e;const l=Jr.content;if(n){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};function wl(e,t,s){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}function Sl(e,t,s){const n=e.style,r=he(s);if(s&&!r){for(const i in s)wn(n,i,s[i]);if(t&&!he(t))for(const i in t)s[i]==null&&wn(n,i,"")}else{const i=n.display;r?t!==s&&(n.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=i)}}const qr=/\s*!important$/;function wn(e,t,s){if(L(s))s.forEach(n=>wn(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Cl(e,t);qr.test(s)?e.setProperty(Tt(n),s.replace(qr,""),"important"):e[n]=s}}const Vr=["Webkit","Moz","ms"],Sn={};function Cl(e,t){const s=Sn[t];if(s)return s;let n=Ye(t);if(n!=="filter"&&n in e)return Sn[t]=n;n=hs(n);for(let r=0;r<Vr.length;r++){const i=Vr[r]+n;if(i in e)return Sn[t]=i}return t}const Xr="http://www.w3.org/1999/xlink";function Il(e,t,s,n,r){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(Xr,t.slice(6,t.length)):e.setAttributeNS(Xr,t,s);else{const i=ye(t);s==null||i&&!An(s)?e.removeAttribute(t):e.setAttribute(t,i?"":s)}}function Tl(e,t,s,n,r,i,o){if(t==="innerHTML"||t==="textContent"){n&&o(n,r,i),e[t]=s==null?"":s;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=s;const a=s==null?"":s;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),s==null&&e.removeAttribute(t);return}let l=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=An(s):s==null&&a==="string"?(s="",l=!0):a==="number"&&(s=0,l=!0)}try{e[t]=s}catch{}l&&e.removeAttribute(t)}const[Zr,Pl]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const s=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(s&&Number(s[1])<=53)}return[e,t]})();let Cn=0;const xl=Promise.resolve(),El=()=>{Cn=0},Ol=()=>Cn||(xl.then(El),Cn=Zr());function bt(e,t,s,n){e.addEventListener(t,s,n)}function Al(e,t,s,n){e.removeEventListener(t,s,n)}function Ml(e,t,s,n,r=null){const i=e._vei||(e._vei={}),o=i[t];if(n&&o)o.value=n;else{const[l,a]=$l(t);if(n){const f=i[t]=kl(n,r);bt(e,l,f,a)}else o&&(Al(e,l,o,a),i[t]=void 0)}}const Gr=/(?:Once|Passive|Capture)$/;function $l(e){let t;if(Gr.test(e)){t={};let s;for(;s=e.match(Gr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[Tt(e.slice(2)),t]}function kl(e,t){const s=n=>{const r=n.timeStamp||Zr();(Pl||r>=s.attached-1)&&Le(Nl(n,s.value),t,5,[n])};return s.value=e,s.attached=Ol(),s}function Nl(e,t){if(L(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const Qr=/^on[a-z]/,Ul=(e,t,s,n,r=!1,i,o,l,a)=>{t==="class"?wl(e,n,r):t==="style"?Sl(e,s,n):ls(t)?Rs(t)||Ml(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Fl(e,t,n,r))?Tl(e,t,n,i,o,l,a):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Il(e,t,n,r))};function Fl(e,t,s,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&Qr.test(t)&&R(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Qr.test(t)&&he(s)?!1:t in e}const Us=e=>{const t=e.props["onUpdate:modelValue"];return L(t)?s=>ds(t,s):t};function Ll(e){e.target.composing=!0}function ei(e){const t=e.target;t.composing&&(t.composing=!1,Hl(t,"input"))}function Hl(e,t){const s=document.createEvent("HTMLEvents");s.initEvent(t,!0,!0),e.dispatchEvent(s)}const ti={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e._assign=Us(r);const i=n||r.props&&r.props.type==="number";bt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;s?l=l.trim():i&&(l=ms(l)),e._assign(l)}),s&&bt(e,"change",()=>{e.value=e.value.trim()}),t||(bt(e,"compositionstart",Ll),bt(e,"compositionend",ei),bt(e,"change",ei))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:s,trim:n,number:r}},i){if(e._assign=Us(i),e.composing||document.activeElement===e&&(s||n&&e.value.trim()===t||(r||e.type==="number")&&ms(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},Bl={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const r=as(t);bt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>s?ms(Fs(o)):Fs(o));e._assign(e.multiple?r?new Set(i):i:i[0])}),e._assign=Us(n)},mounted(e,{value:t}){si(e,t)},beforeUpdate(e,t,s){e._assign=Us(s)},updated(e,{value:t}){si(e,t)}};function si(e,t){const s=e.multiple;if(!(s&&!L(t)&&!as(t))){for(let n=0,r=e.options.length;n<r;n++){const i=e.options[n],o=Fs(i);if(s)L(t)?i.selected=Ii(t,o)>-1:i.selected=t.has(o);else if(os(Fs(i),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Fs(e){return"_value"in e?e._value:e.value}const ni={beforeMount(e,{value:t},{transition:s}){e._vod=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):ts(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),ts(e,!0),n.enter(e)):n.leave(e,()=>{ts(e,!1)}):ts(e,t))},beforeUnmount(e,{value:t}){ts(e,t)}};function ts(e,t){e.style.display=t?e._vod:"none"}const Rl=be({patchProp:Ul},Dl);let ri;function Kl(){return ri||(ri=Go(Rl))}const ii=(...e)=>{Kl().render(...e)};function Xe(e){let t;const s=()=>{ii(null,e.el),t=void 0},n={},r=Object.keys(e.on||{}).reduce((o,l)=>{const a=l.charAt(0).toUpperCase()+l.slice(1);return o[`on${a}`]=e.on[l],o},n)||{};r.onClose||(r.onClose=()=>s());const i=vi(ct(ct({},e.props),r),{container:e.el,onVnodeUnmounted:()=>{},onVnodeMounted:()=>{}});return t=De(e.component,i),ii(t,e.el),{vnode:t,destroy:s}}var jl={baseUrl:"",cssUrl:"",url:"",apiUrl:""},Wl={baseUrl:"https://assets.payfurl.com",cssUrl:"https://assets.payfurl.com/v3.1.3/js/",url:"https://assets.payfurl.com/v3.1.3/iframe/index.html",apiUrl:"https://develop-api.payfurl.com"},zl={baseUrl:"https://assets.payfurl.com",cssUrl:"https://assets.payfurl.com/v3.1.3/js/",url:"https://assets.payfurl.com/v3.1.3/iframe/index.html",apiUrl:"https://sandbox-api.payfurl.com"},Yl={baseUrl:"https://assets.payfurl.com",cssUrl:"https://assets.payfurl.com/v3.1.3/js/",url:"https://assets.payfurl.com/v3.1.3/iframe/index.html",apiUrl:"https://api.payfurl.com"},Te;(function(e){e.LOCAL="local",e.DEVELOPMENT="development",e.SANDBOX="sandbox",e.PRODUCTION="production"})(Te||(Te={}));const oi={[Te.LOCAL]:jl,[Te.DEVELOPMENT]:Wl,[Te.SANDBOX]:zl,[Te.PRODUCTION]:Yl};function li(e){return oi[e]||oi[Te.PRODUCTION]}var Jl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ql={exports:{}};(function(e,t){(function(s,n){e.exports=n()})(Jl,function(){var s=1e3,n=6e4,r=36e5,i="millisecond",o="second",l="minute",a="hour",f="day",d="week",p="month",b="quarter",w="year",A="date",K="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,B=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},ie=function(M,I,C){var E=String(M);return!E||E.length>=I?M:""+Array(I+1-E.length).join(C)+M},oe={s:ie,z:function(M){var I=-M.utcOffset(),C=Math.abs(I),E=Math.floor(C/60),y=C%60;return(I<=0?"+":"-")+ie(E,2,"0")+":"+ie(y,2,"0")},m:function M(I,C){if(I.date()<C.date())return-M(C,I);var E=12*(C.year()-I.year())+(C.month()-I.month()),y=I.clone().add(E,p),x=C-y<0,N=I.clone().add(E+(x?-1:1),p);return+(-(E+(C-y)/(x?y-N:N-y))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:p,y:w,w:d,d:f,D:A,h:a,m:l,s:o,ms:i,Q:b}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},de="en",_e={};_e[de]=Y;var tt=function(M){return M instanceof xe},Be=function M(I,C,E){var y;if(!I)return de;if(typeof I=="string"){var x=I.toLowerCase();_e[x]&&(y=x),C&&(_e[x]=C,y=x);var N=I.split("-");if(!y&&N.length>1)return M(N[0])}else{var J=I.name;_e[J]=I,y=J}return!E&&y&&(de=y),y||!E&&de},X=function(M,I){if(tt(M))return M.clone();var C=typeof I=="object"?I:{};return C.date=M,C.args=arguments,new xe(C)},j=oe;j.l=Be,j.i=tt,j.w=function(M,I){return X(M,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var xe=function(){function M(C){this.$L=Be(C.locale,null,!0),this.parse(C)}var I=M.prototype;return I.parse=function(C){this.$d=function(E){var y=E.date,x=E.utc;if(y===null)return new Date(NaN);if(j.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var N=y.match(U);if(N){var J=N[2]-1||0,Q=(N[7]||"0").substring(0,3);return x?new Date(Date.UTC(N[1],J,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Q)):new Date(N[1],J,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Q)}}return new Date(y)}(C),this.$x=C.x||{},this.init()},I.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},I.$utils=function(){return j},I.isValid=function(){return this.$d.toString()!==K},I.isSame=function(C,E){var y=X(C);return this.startOf(E)<=y&&y<=this.endOf(E)},I.isAfter=function(C,E){return X(C)<this.startOf(E)},I.isBefore=function(C,E){return this.endOf(E)<X(C)},I.$g=function(C,E,y){return j.u(C)?this[E]:this.set(y,C)},I.unix=function(){return Math.floor(this.valueOf()/1e3)},I.valueOf=function(){return this.$d.getTime()},I.startOf=function(C,E){var y=this,x=!!j.u(E)||E,N=j.p(C),J=function(je,ge){var Se=j.w(y.$u?Date.UTC(y.$y,ge,je):new Date(y.$y,ge,je),y);return x?Se:Se.endOf(f)},Q=function(je,ge){return j.w(y.toDate()[je].apply(y.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(ge)),y)},V=this.$W,ee=this.$M,Re=this.$D,Ke="set"+(this.$u?"UTC":"");switch(N){case w:return x?J(1,0):J(31,11);case p:return x?J(1,ee):J(0,ee+1);case d:var Dt=this.$locale().weekStart||0,we=(V<Dt?V+7:V)-Dt;return J(x?Re-we:Re+(6-we),ee);case f:case A:return Q(Ke+"Hours",0);case a:return Q(Ke+"Minutes",1);case l:return Q(Ke+"Seconds",2);case o:return Q(Ke+"Milliseconds",3);default:return this.clone()}},I.endOf=function(C){return this.startOf(C,!1)},I.$set=function(C,E){var y,x=j.p(C),N="set"+(this.$u?"UTC":""),J=(y={},y[f]=N+"Date",y[A]=N+"Date",y[p]=N+"Month",y[w]=N+"FullYear",y[a]=N+"Hours",y[l]=N+"Minutes",y[o]=N+"Seconds",y[i]=N+"Milliseconds",y)[x],Q=x===f?this.$D+(E-this.$W):E;if(x===p||x===w){var V=this.clone().set(A,1);V.$d[J](Q),V.init(),this.$d=V.set(A,Math.min(this.$D,V.daysInMonth())).$d}else J&&this.$d[J](Q);return this.init(),this},I.set=function(C,E){return this.clone().$set(C,E)},I.get=function(C){return this[j.p(C)]()},I.add=function(C,E){var y,x=this;C=Number(C);var N=j.p(E),J=function(ee){var Re=X(x);return j.w(Re.date(Re.date()+Math.round(ee*C)),x)};if(N===p)return this.set(p,this.$M+C);if(N===w)return this.set(w,this.$y+C);if(N===f)return J(1);if(N===d)return J(7);var Q=(y={},y[l]=n,y[a]=r,y[o]=s,y)[N]||1,V=this.$d.getTime()+C*Q;return j.w(V,this)},I.subtract=function(C,E){return this.add(-1*C,E)},I.format=function(C){var E=this,y=this.$locale();if(!this.isValid())return y.invalidDate||K;var x=C||"YYYY-MM-DDTHH:mm:ssZ",N=j.z(this),J=this.$H,Q=this.$m,V=this.$M,ee=y.weekdays,Re=y.months,Ke=function(ge,Se,wt,at){return ge&&(ge[Se]||ge(E,x))||wt[Se].slice(0,at)},Dt=function(ge){return j.s(J%12||12,ge,"0")},we=y.meridiem||function(ge,Se,wt){var at=ge<12?"AM":"PM";return wt?at.toLowerCase():at},je={YY:String(this.$y).slice(-2),YYYY:this.$y,M:V+1,MM:j.s(V+1,2,"0"),MMM:Ke(y.monthsShort,V,Re,3),MMMM:Ke(Re,V),D:this.$D,DD:j.s(this.$D,2,"0"),d:String(this.$W),dd:Ke(y.weekdaysMin,this.$W,ee,2),ddd:Ke(y.weekdaysShort,this.$W,ee,3),dddd:ee[this.$W],H:String(J),HH:j.s(J,2,"0"),h:Dt(1),hh:Dt(2),a:we(J,Q,!0),A:we(J,Q,!1),m:String(Q),mm:j.s(Q,2,"0"),s:String(this.$s),ss:j.s(this.$s,2,"0"),SSS:j.s(this.$ms,3,"0"),Z:N};return x.replace(B,function(ge,Se){return Se||je[ge]||N.replace(":","")})},I.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},I.diff=function(C,E,y){var x,N=j.p(E),J=X(C),Q=(J.utcOffset()-this.utcOffset())*n,V=this-J,ee=j.m(this,J);return ee=(x={},x[w]=ee/12,x[p]=ee,x[b]=ee/3,x[d]=(V-Q)/6048e5,x[f]=(V-Q)/864e5,x[a]=V/r,x[l]=V/n,x[o]=V/s,x)[N]||V,y?ee:j.a(ee)},I.daysInMonth=function(){return this.endOf(p).$D},I.$locale=function(){return _e[this.$L]},I.locale=function(C,E){if(!C)return this.$L;var y=this.clone(),x=Be(C,E,!0);return x&&(y.$L=x),y},I.clone=function(){return j.w(this.$d,this)},I.toDate=function(){return new Date(this.valueOf())},I.toJSON=function(){return this.isValid()?this.toISOString():null},I.toISOString=function(){return this.$d.toISOString()},I.toString=function(){return this.$d.toUTCString()},M}(),ae=xe.prototype;return X.prototype=ae,[["$ms",i],["$s",o],["$m",l],["$H",a],["$W",f],["$M",p],["$y",w],["$D",A]].forEach(function(M){ae[M[1]]=function(I){return this.$g(I,M[0],M[1])}}),X.extend=function(M,I){return M.$i||(M(I,xe,X),M.$i=!0),X},X.locale=Be,X.isDayjs=tt,X.unix=function(M){return X(1e3*M)},X.en=_e[de],X.Ls=_e,X.p={},X})})(ql);function ai(e){return e.slice().replaceAll(/[^0-9]/g,"")}function Vl(e){let t=ai(e);return t.length>9&&(t=t.slice(t.length-9)),"0"+t}function Xl(e){const t=ai(e);return t.search(/^0[0-9]{9}$/)>-1||t.search(/^61[0-9]{9}$/)>-1}function Zl(e){return e.search(/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/)>-1}function Ft(e){return e?Array.isArray(e)?e.length>0:typeof e=="object"?Object.keys(e).length>0:Boolean(e):!1}function In(e){return!isNaN(parseFloat(e))||parseFloat(e)>0}function ci(e,t,s,n){t(e)||n&&n({error:s})}function Gl(e){const t=[10,1,3,5,7,9,11,13,15,17,19];if(e.length!==11||e.search(/\D/)>-1)return!1;let s=0,n=0;for(let r=0;r<=t.length-1;r++){n=t[r];const i=parseInt(e[r],10)-(r?0:1);s+=n*i}return s%89===0}var Ic="",Tc="",$e=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s};const Ql={class:"message"};var Pe=$e(Ae({props:{error:null},setup(e){const s=ue(e.error);return(n,r)=>(se(),re("div",Ql,St(s.value),1))}}),[["__scopeId","data-v-e78635f4"]]),xc="",ui=$e(Ae({props:{size:null,grayscale:{type:Boolean}},setup(e){const t=e,s=t.grayscale?"#2A2A2B":"#253b80",n=t.grayscale?"#555557":"#179bd7",r=t.grayscale?"#000000":"#222d65",i=`--size: ${t.size}px`;return(o,l)=>(se(),re("svg",{id:"paypal",style:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25.576353 30.177"},[F("path",{d:"m 7.2659888,29.154 0.523,-3.322 -1.165,-0.027 -5.563,0 3.866,-24.513 c 0.012,-0.074 0.051,-0.143 0.108,-0.192 0.057,-0.049 0.13,-0.076 0.206,-0.076 l 9.3800002,0 c 3.114,0 5.263,0.648 6.385,1.927 0.526,0.6 0.861,1.227 1.023,1.917 0.17,0.724 0.173,1.589 0.007,2.644 l -0.012,0.077 0,0.676 0.526,0.298 c 0.443,0.235 0.795,0.504 1.065,0.812 0.45,0.513 0.741,1.165 0.864,1.938 0.127,0.795 0.085,1.741 -0.123,2.812 -0.24,1.232 -0.628,2.305 -1.152,3.183 -0.482,0.809 -1.096,1.48 -1.825,2 -0.696,0.494 -1.523,0.869 -2.458,1.109 -0.906,0.236 -1.939,0.355 -3.072,0.355 l -0.73,0 c -0.522,0 -1.029,0.188 -1.427,0.525 -0.399,0.344 -0.663,0.814 -0.744,1.328 l -0.055,0.299 -0.924,5.855 -0.042,0.215 c -0.011,0.068 -0.03,0.102 -0.058,0.125 -0.025,0.021 -0.061,0.035 -0.096,0.035 l -4.5070002,0 z",style:ze(`fill: ${Ce(s)}`)},null,4),F("path",{d:"m 23.047989,7.667 0,0 0,0 c -0.028,0.179 -0.06,0.362 -0.096,0.55 -1.237,6.351 -5.469,8.545 -10.874,8.545 l -2.7520002,0 c -0.661,0 -1.218,0.48 -1.321,1.132 l 0,0 0,0 -1.409,8.936 -0.399,2.533 c -0.067,0.428 0.263,0.814 0.695,0.814 l 4.8810002,0 c 0.578,0 1.069,-0.42 1.16,-0.99 l 0.048,-0.248 0.919,-5.832 0.059,-0.32 c 0.09,-0.572 0.582,-0.992 1.16,-0.992 l 0.73,0 c 4.729,0 8.431,-1.92 9.513,-7.476 0.452,-2.321 0.218,-4.259 -0.978,-5.622 -0.362,-0.411 -0.811,-0.752 -1.336,-1.03 z",style:ze(`fill: ${Ce(n)}`)},null,4),F("path",{d:"m 21.753989,7.151 c -0.189,-0.055 -0.384,-0.105 -0.584,-0.15 -0.201,-0.044 -0.407,-0.083 -0.619,-0.117 -0.742,-0.12 -1.555,-0.177 -2.426,-0.177 l -7.352,0 c -0.181,0 -0.353,0.041 -0.507,0.115 C 9.9269888,6.985 9.6749888,7.306 9.6139888,7.699 l -1.564,9.906 -0.045,0.289 c 0.103,-0.652 0.66,-1.132 1.321,-1.132 l 2.7520002,0 c 5.405,0 9.637,-2.195 10.874,-8.545 0.037,-0.188 0.068,-0.371 0.096,-0.55 -0.313,-0.166 -0.652,-0.308 -1.017,-0.429 -0.09,-0.03 -0.183,-0.059 -0.277,-0.087 z",style:ze(`fill: ${Ce(r)}`)},null,4),F("path",{d:"m 9.6139888,7.699 c 0.061,-0.393 0.313,-0.714 0.6520002,-0.876 0.155,-0.074 0.326,-0.115 0.507,-0.115 l 7.352,0 c 0.871,0 1.684,0.057 2.426,0.177 0.212,0.034 0.418,0.073 0.619,0.117 0.2,0.045 0.395,0.095 0.584,0.15 0.094,0.028 0.187,0.057 0.278,0.086 0.365,0.121 0.704,0.264 1.017,0.429 0.368,-2.347 -0.003,-3.945 -1.272,-5.392 C 20.377989,0.682 17.852989,0 14.621989,0 L 5.2419888,0 c -0.66,0 -1.223,0.48 -1.325,1.133 L 0.00998882,25.898 c -0.077,0.49 0.301,0.932 0.795,0.932 l 5.79099998,0 1.454,-9.225 1.564,-9.906 z",style:ze(`fill: ${Ce(s)}`)},null,4)]))}}),[["__scopeId","data-v-6c3f4e5e"]]),Oc="";const fi=e=>(Mt("data-v-09c4ea7e"),e=e(),$t(),e),ea=[fi(()=>F("path",{d:"M1188.420307 68.911452c16.92562 0 32.642267 14.507674 32.642267 32.642267v822.101535c0 16.92562-14.507674 32.642267-32.642267 32.642267h-1088.075561c-16.92562 0-32.642267-14.507674-32.642267-32.642267v-822.101535c0-16.92562 14.507674-32.642267 32.642267-32.642267h1088.075561m0-68.911452h-1088.075561C44.731995 0 0 45.940968 0 100.344746v822.101535c0 55.612751 44.731995 100.344746 100.344746 100.344746h1088.075561c55.612751 0 100.344746-44.731995 100.344746-100.344746v-822.101535c1.208973-54.403778-44.731995-100.344746-100.344746-100.344746z"},null,-1)),fi(()=>F("path",{d:"M41.105077 252.675325h1221.062574v258.720189H41.105077zM177.719008 778.578512h174.09209v71.329398H177.719008zM432.812279 778.578512h259.929161v71.329398H432.812279z"},null,-1))];var ta=$e(Ae({props:{size:null,grayscale:{type:Boolean},color:null},setup(e){const t=e,s=ue(t.color);Ps(()=>t.color,r=>{s.value=r});const n=Ns(()=>`--size: ${t.size}px;fill:${s.value}`);return(r,i)=>(se(),re("svg",{xmlns:"http://www.w3.org/2000/svg",style:ze([{width:"1.2587890625em",height:"1em","vertical-align":"middle",overflow:"hidden"},Ce(n)]),viewBox:"0 0 1289 1024"},ea,4))}}),[["__scopeId","data-v-09c4ea7e"]]),kc="";const sa=["fill"];var na=$e(Ae({props:{size:null,grayscale:{type:Boolean}},setup(e){const t=e,s=(t.grayscale,"#000"),n=`--size: ${t.size}px`;return(r,i)=>(se(),re("svg",{id:"payto-icon",viewBox:"0 0 120 57",xmlns:"http://www.w3.org/2000/svg",style:n},[F("path",{d:"m8.285 27.63c.8 0 1.562-.06 2.285-.176a6.262 6.262 0 0 0 1.937-.624 3.529 3.529 0 0 0 1.354-1.227c.335-.52.502-1.194.502-2.025s-.169-1.463-.502-1.97a3.492 3.492 0 0 0 -1.337-1.187c-.555-.287-1.186-.473-1.897-.565a17.32 17.32 0 0 0 -2.188-.136h-3.56v7.91zm-8.285-12.04h8.945c1.573 0 2.994.144 4.258.429 1.265.288 2.349.754 3.254 1.404.902.648 1.599 1.479 2.092 2.493.488 1.012.736 2.235.736 3.663 0 1.533-.283 2.818-.853 3.858a6.956 6.956 0 0 1 -2.303 2.512c-.968.637-2.098 1.097-3.388 1.383-1.29.285-2.66.43-4.103.43h-3.76v11.415h-4.878zm32.679 19.054h-1.043c-.751 0-1.538.034-2.364.098s-1.588.207-2.283.427c-.697.223-1.279.534-1.742.937-.464.403-.696.954-.696 1.655 0 .442.095.812.29 1.11.195.3.446.54.755.721.31.183.659.311 1.045.39a5.94 5.94 0 0 0 1.161.117c1.6 0 2.813-.427 3.639-1.287.826-.857 1.238-2.026 1.238-3.505zm.078 6.156h-.116c-.466.832-1.213 1.516-2.247 2.047-1.034.532-2.206.8-3.523.8-.749 0-1.53-.099-2.343-.293a6.902 6.902 0 0 1 -2.245-.972 5.624 5.624 0 0 1 -1.705-1.793c-.45-.74-.676-1.656-.676-2.745 0-1.404.394-2.52 1.18-3.351.787-.831 1.8-1.468 3.04-1.91 1.24-.44 2.614-.732 4.124-.875a47.58 47.58 0 0 1 4.433-.215v-.47c0-1.168-.42-2.031-1.259-2.589s-1.839-.839-3-.839c-.981 0-1.923.21-2.826.624-.903.417-1.652.924-2.246 1.521l-2.4-2.844a10.478 10.478 0 0 1 3.659-2.222 12.448 12.448 0 0 1 4.203-.74c1.651 0 3.013.233 4.084.7 1.072.468 1.916 1.079 2.536 1.83a6.571 6.571 0 0 1 1.298 2.534c.245.936.369 1.869.369 2.806v11.376h-4.338v-2.377l-.002-.004zm5.719-16.325h5.15l5.189 13.599h.078l4.607-13.6h4.84l-8.791 22.717a16.433 16.433 0 0 1 -1.083 2.278 6.33 6.33 0 0 1 -1.395 1.676 5.56 5.56 0 0 1 -1.916 1.032c-.736.234-1.62.351-2.654.351-.386 0-.78-.019-1.182-.058a8.113 8.113 0 0 1 -1.219-.215l.386-4.052c.31.104.614.175.91.215s.575.058.834.058c.49 0 .902-.058 1.238-.175.337-.117.62-.298.852-.545.232-.248.438-.552.618-.917.181-.364.376-.792.582-1.286l.93-2.376-7.977-18.702zm42.808 14.279c.893 0 2.072-.328 2.536-.49v3.735c-.468.183-1.478.535-2.536.535-3.691 0-6.695-3.064-6.697-6.831v-11.228h-4.225v-3.675h4.225v-4.66h3.665v4.66h10a13.83 13.83 0 0 0 -3.625 3.675h-6.375v11.228c0 1.688 1.39 3.05 3.032 3.05zm15 3.78c-6.038 0-10.801-4.79-10.801-10.866s4.845-10.868 10.8-10.868h12.183l.004-3.376 6.267 5.245-6.278 5.256.004-3.45h-12.337c-3.775 0-6.897 3.396-6.897 7.193s3.11 7.13 7.053 7.13c3.942 0 7.053-3.163 7.053-7.13 0-1.755-.62-3.377-1.386-4.553h4.139c.65 1.402.993 3.006.993 4.553 0 6.076-4.761 10.866-10.801 10.866zm10.909-42.534h-31.031c-7.074 0-12.807 5.77-12.807 12.886v31.226c0 7.117 5.735 12.886 12.807 12.886h31.031c7.074 0 12.806-5.77 12.806-12.886v-31.226c0-7.116-5.734-12.886-12.806-12.886z",fill:Ce(s)},null,8,sa)]))}}),[["__scopeId","data-v-45e10a6c"]]),Uc="";const ra={class:"combined-container"},ia={class:"combined-tabs"},oa=["id","onClick"],la={class:"combined-components"},aa=["id"];var ca=$e(Ae({props:{elements:null},setup(e){const t=e,s=ue(0),n={};function r(a){s.value=a,setTimeout(()=>{l(a),t.elements[a].activate()},200)}function i(a){return s.value===a?"white":"black"}function o(a){return s.value===a}function l(a){!t.elements[a].render||n[a]||(t.elements[a].render(document.getElementById(`container-component${a}`)),n[a]=!0)}return kt(()=>{t.elements.forEach((a,f)=>{l(f)}),r(0)}),(a,f)=>(se(),re("div",ra,[F("div",ia,[(se(!0),re(Me,null,Kr(t.elements,(d,p)=>(se(),re("div",{class:is(["combined-tab",p===s.value?"active":""]),id:d.id||`combined-tab${p}`,onClick:b=>r(p)},[d.icon?(se(),Br(sl(d.icon),{key:0,size:20,color:i(p),grayscale:""},null,8,["color"])):Nt("",!0),bn(" "+St(d.title),1)],10,oa))),256))]),F("div",la,[(se(!0),re(Me,null,Kr(t.elements,(d,p)=>Xt((se(),re("div",{key:`container-component${p}`,class:"container-component",id:`container-component${p}`},null,8,aa)),[[ni,o(p)]])),128))])]))}}),[["__scopeId","data-v-022194b8"]]);class ss{constructor(t){T(this,"publicKey","");this.publicKey=t}invoke(t,s,n,r,i){const o=new XMLHttpRequest;o||i==null||i(0,""),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){if(o.status===200||o.status===201){r==null||r(o.status,o.responseText);return}i==null||i(o.status,o.responseText)}},o.open(s,t),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("x-publickey",this.publicKey),o.send(String(n))}}function ua(){return{email:"",amount:0,currency:"",providerId:"",cardNumber:"",cardExpiry:"",cardHolderName:"",expiryDate:"",threeDSServerTransID:""}}var Lc="",Hc="";const fa={class:"message"},ha={key:0};var da=$e(Ae({props:{message:null,token:null},setup(e){const t=e;return(s,n)=>(se(),re(Me,null,[F("div",fa,St(t.message),1),t.token?(se(),re("div",ha,"TokenId = "+St(t.token),1)):Nt("",!0)],64))}}),[["__scopeId","data-v-1f496df5"]]);function Ne(e,t){Xe({el:e,component:Pe,props:{error:t}})}function Tn(e,t,s){Xe({el:e,component:da,props:ct({message:t},s||{})})}class pa{constructor(){T(this,"iframeId","threeDsIframeMethod");T(this,"containerId","payfurlContainerFormInvoker");T(this,"iframe",null);T(this,"container",null)}createIFrame(){this.iframe||(this.container=document.createElement("div"),this.container.id=this.containerId,document.body.appendChild(this.container),this.iframe=document.createElement("iframe"),this.iframe.name=this.iframeId,this.iframe.style.display="none",this.container.appendChild(this.iframe))}invoke(t,s,n,r,i){var l;this.createIFrame();const o=document.createElement("form");o.action=t,o.target=this.iframeId,o.method="post",(l=this.container)==null||l.appendChild(o);for(let a in n){const f=document.createElement("input");f.type="hidden",f.name=a,f.value=n[a],o.appendChild(f)}o.submit()}}const hi={AED:"784",AFN:"971",ALL:"008",AMD:"051",ANG:"532",AOA:"973",ARS:"032",AUD:"036",AWG:"533",AZN:"944",BAM:"977",BBD:"052",BDT:"050",BGN:"975",BHD:"048",BIF:"108",BMD:"060",BND:"096",BOB:"068",BOV:"984",BRL:"986",BSD:"044",BTN:"064",BWP:"072",BYN:"933",BZD:"084",CAD:"124",CDF:"976",CHE:"947",CHF:"756",CHW:"948",CLF:"990",CLP:"152",CNY:"156",COP:"170",COU:"970",CRC:"188",CUC:"931",CUP:"192",CVE:"132",CZK:"203",DJF:"262",DKK:"208",DOP:"214",DZD:"012",EGP:"818",ERN:"232",ETB:"230",EUR:"978",FJD:"242",FKP:"238",GBP:"826",GEL:"981",GHS:"936",GIP:"292",GMD:"270",GNF:"324",GTQ:"320",GYD:"328",HKD:"344",HNL:"340",HRK:"191",HTG:"332",HUF:"348",IDR:"360",ILS:"376",INR:"356",IQD:"368",IRR:"364",ISK:"352",JMD:"388",JOD:"400",JPY:"392",KES:"404",KGS:"417",KHR:"116",KMF:"174",KPW:"408",KRW:"410",KWD:"414",KYD:"136",KZT:"398",LAK:"418",LBP:"422",LKR:"144",LRD:"430",LSL:"426",LYD:"434",MAD:"504",MDL:"498",MGA:"969",MKD:"807",MMK:"104",MNT:"496",MOP:"446",MUR:"480",MVR:"462",MWK:"454",MXN:"484",MXV:"979",MYR:"458",MZN:"943",NAD:"516",NGN:"566",NIO:"558",NOK:"578",NPR:"524",NZD:"554",OMR:"512",PAB:"590",PEN:"604",PGK:"598",PHP:"608",PKR:"586",PLN:"985",PYG:"600",QAR:"634",RON:"946",RSD:"941",RUB:"643",RWF:"646",SAR:"682",SBD:"090",SCR:"690",SDG:"938",SEK:"752",SGD:"702",SHP:"654",SLL:"694",SOS:"706",SRD:"968",SSP:"728",SVC:"222",SYP:"760",SZL:"748",THB:"764",TJS:"972",TMT:"934",TND:"788",TOP:"776",TRY:"949",TTD:"780",TWD:"901",TZS:"834",UAH:"980",UGX:"800",USD:"840",USN:"997",UYI:"940",UYU:"858",UYW:"927",UZS:"860",VED:"926",VES:"928",VND:"704",VUV:"548",WST:"882",XAF:"950",XAG:"961",XAU:"959",XBA:"955",XBB:"956",XBC:"957",XBD:"958",XCD:"951",XDR:"960",XOF:"952",XPD:"964",XPF:"953",XPT:"962",XSU:"994",XTS:"963",XUA:"965",XXX:"999",YER:"886",ZAR:"710",ZMW:"967",ZWL:"932"},ma={BHD:3,BIF:0,CLF:4,CLP:0,DJF:0,GNF:0,IQD:3,ISK:0,JOD:3,JPY:0,KMF:3,KRW:0,KWD:3,LYD:3,OMR:3,PYG:0,RWF:0,TND:3,UGX:0,UYI:0,UYW:4,VND:0,VUV:0,XAF:0,XOF:0,XPF:0};function di(e){return Boolean(hi[String(e).toUpperCase()])}function ga(e){return hi[String(e).toUpperCase()]||""}function _a(e){return ma[String(e).toUpperCase()]||2}function ya(){const e=[1,4,8,15,16,24,32,48];let t=screen.colorDepth;if(e.indexOf(t)==-1){let s=e[0],n=Math.abs(e[0]-t);for(let r=1;r<=e.length;r++){const i=Math.abs(e[r]-t);i<n&&(s=e[r],n=i)}t=s}return t}var Rc="";const ba={},va=e=>(Mt("data-v-ad18c358"),e=e(),$t(),e),Da={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},wa=[va(()=>F("polygon",{points:"39 10.44 37.56 9 24 22.56 10.44 9 9 10.44 22.56 24 9 37.56 10.44 39 24 25.44 37.56 39 39 37.56 25.44 24 39 10.44"},null,-1))];function Sa(e,t){return se(),re("svg",Da,wa)}var Ca=$e(ba,[["render",Sa],["__scopeId","data-v-ad18c358"]]),jc="",Wc="";const Ia=e=>(Mt("data-v-7bf4e048"),e=e(),$t(),e),Ta={class:"mask"},Pa={class:"wrapper"},xa={class:"container"},Ea=Ia(()=>F("iframe",{name:"ThreeDsChallengeIFrame"},null,-1)),Oa=["action"],Aa=["value"];var Ma=$e(Ae({props:{threeDSServerTransID:null,acsTransID:null,formAction:null},emits:["close","submit"],setup(e,{emit:t}){const s=e,n=ue(null),r=JSON.stringify({threeDSServerTransID:s.threeDSServerTransID,acsTransID:s.acsTransID,messageVersion:"2.1.0",messageType:"CReq",challengeWindowSize:"01"}),i=encodeURI(window.btoa(r).replace(/=*$/,""));return kt(()=>{var o;(o=n.value)==null||o.submit()}),(o,l)=>(se(),re("div",Ta,[F("div",Pa,[F("div",xa,[De(Ca,{onClick:l[0]||(l[0]=a=>t("close"))}),Ea,F("form",{action:s.formAction,target:"ThreeDsChallengeIFrame",method:"post",ref_key:"form",ref:n},[F("input",{type:"hidden",name:"creq",value:Ce(i)},null,8,Aa)],8,Oa)])])]))}}),[["__scopeId","data-v-7bf4e048"]]),Yc="";const pi=e=>(Mt("data-v-4280055c"),e=e(),$t(),e),$a={x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"},ka=["stop-color"],Na=["stop-color"],Ua=["stop-color"],Fa={fill:"none","fill-rule":"evenodd"},La={transform:"translate(1 1)"},Ha=pi(()=>F("path",{d:"M36 18c0-9.94-8.06-18-18-18",id:"Oval-2",stroke:"url(#a)","stroke-width":"2"},[F("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})],-1)),Ba=["fill"],Ra=[pi(()=>F("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"},null,-1))];var Ls=$e(Ae({props:{color:{default:"#1a82b7"},size:{default:50}},setup(e){const t=e,s=ue(t.color),n=ue(t.size),r=Ns(()=>`--size: ${n.value}px`);return(i,o)=>(se(),re("svg",{id:"spinner",width:"38",height:"38",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",style:ze(Ce(r))},[F("defs",null,[F("linearGradient",$a,[F("stop",{"stop-color":s.value,"stop-opacity":"0",offset:"0%"},null,8,ka),F("stop",{"stop-color":s.value,"stop-opacity":".631",offset:"63.146%"},null,8,Na),F("stop",{"stop-color":s.value,offset:"100%"},null,8,Ua)])]),F("g",Fa,[F("g",La,[Ha,F("circle",{fill:s.value,cx:"36",cy:"18",r:"1"},Ra,8,Ba)])])],4))}}),[["__scopeId","data-v-4280055c"]]);let Hs=()=>{};function Pn(e){var n;Hs();const t=e.getElementsByTagName("iframe");if(t[0]){Hs=()=>{var r;(r=t[0].contentWindow)==null||r.postMessage({type:"hide_spinner"})},(n=t[0].contentWindow)==null||n.postMessage({type:"show_spinner"});return}const s=Xe({el:e,component:Ls});Hs=()=>{s.destroy()}}function vt(e){Hs()}class Ka{constructor(t,s){T(this,"container",document.body);T(this,"iframe",null);T(this,"log");T(this,"apiUrl","");T(this,"tokenise");T(this,"failureCallback",null);T(this,"successCallback",null);T(this,"threeDSData",ua());T(this,"threeDSDestroy",null);T(this,"threeDSCompleteHandler",null);T(this,"httpInvoker",null);T(this,"formInvoker",null);this.log=t,this.apiUrl=s.apiUrl,this.tokenise=s.tokenise,this.failureCallback=s.onFailure||null,this.successCallback=s.onSuccess||null,this.httpInvoker=new ss(s.publicKey),this.formInvoker=new pa,window.addEventListener("message",this.messageHandler.bind(this))}messageHandler(t){var s,n,r,i;if(!(!((s=t==null?void 0:t.data)!=null&&s.status)||((n=t==null?void 0:t.data)==null?void 0:n.status)==="failure")){if(t.data.status==="3ds_method_invocation_complete"){t.stopPropagation(),vt(this.container),this.iframe&&(this.iframe.style.visibility="visible"),this.log("3Ds Method invocation complete",this.threeDSData),this.threeDsAuth(this.threeDSData.cardNumber,this.threeDSData.expiryDate,this.threeDSData.cardHolderName,this.threeDSData.email,this.threeDSData.amount,this.threeDSData.currency,this.threeDSData.threeDSServerTransID,!0);return}if(t.data.status==="3ds_challenge_complete"){t.stopPropagation(),vt(this.container),this.iframe&&(this.iframe.style.visibility="visible"),this.log("3Ds Challenge complete",t.data);const o=JSON.parse(window.atob(t.data.cres));this.log("cresData",o),(r=this.threeDSDestroy)==null||r.call(this),["Y","A"].includes(o.transStatus)?this.threeDsPostAuth(this.threeDSData.threeDSServerTransID):["N","U","R"].includes(o.transStatus)&&(this.log("Failed 3DS Challenge",t.data),Ne(this.container,"Authentication Failed"),(i=this.failureCallback)==null||i.call(this,{error:"Failed 3ds Challenge"}));return}}}addThreeDsWithFullParameters(t,s,n,r,i,o,l){this.log("[addThreeDsWithFullParameters]",{cardNumber:s,cardExpiry:n,cardHolderName:r,email:i,amount:o,currency:l}),this.container=t,this.threeDSData.cardNumber=s,this.threeDSData.expiryDate=n,this.threeDSData.cardHolderName=r,this.threeDSData.email=i,this.threeDSData.amount=o,this.threeDSData.currency=l,this.addThreeDs(this.container)}addThreeDs(t,s){this.log("[addThreeDs]",s,t),this.container=t,s&&(this.threeDSData=ct(ct({},this.threeDSData),s)),Pn(this.container),this.threeDsPreauth()}requestThreeDs(t,s,n,r,i){var o;this.log("[requestThreeDs]",{iframe:s,container:t,validateCard:n,threeDSData:i}),s&&(this.iframe=s,this.container=t||document.body,this.iframe.style.visibility="hidden",Pn(this.container),this.threeDSCompleteHandler=r,i&&(this.threeDSData=ct(ct({},this.threeDSData),i)),(o=s.contentWindow)==null||o.postMessage({type:"request_card",validateCard:n},"*"))}threeDsPostAuth(t){var i;this.log("[threeDsPostAuth]",t);const s=(o,l)=>{var a;this.log("unable to perform postauth for 3Ds"),Ne(this.container,"Authentication Error"),(a=this.failureCallback)==null||a.call(this,{error:"Unable to perform postauth for 3Ds",body:l})},n=(o,l)=>{var f,d;this.log("postauth success for 3Ds",l);const a=JSON.parse(l);this.log(a),(f=this.threeDSCompleteHandler)==null||f.call(this,a),(d=this.successCallback)==null||d.call(this,a)},r={threeDSServerTransID:t};(i=this.httpInvoker)==null||i.invoke(this.apiUrl+"/3ds/postauth","POST",JSON.stringify(r),n.bind(this),s.bind(this))}threeDsPreauth(){var r;this.log("[threeDsPreauth]",this.threeDSData);const t=(i,o)=>{var l;this.log("[preauthFailureCallback]",i,o),vt(this.container),this.iframe&&(this.iframe.style.visibility="visible"),this.log("unable to perform preauth for 3Ds"),Ne(this.container,"Authentication Error"),(l=this.failureCallback)==null||l.call(this,{error:"Unable to perform preauth for 3Ds",body:o})},s=(i,o)=>{this.log("[preauthSuccessCallback]",i,o),this.log("[this.threeDSData]",this.threeDSData);const l=JSON.parse(o);if(this.log(l),this.threeDSData.threeDSServerTransID=l.threeDSServerTransID,l.threeDSMethodURL){this.threeDsMethodInvoke(l.threeDSServerTransID,l.threeDSMethodURL);return}this.threeDsAuth(this.threeDSData.cardNumber,this.threeDSData.cardExpiry,this.threeDSData.cardHolderName,this.threeDSData.email,this.threeDSData.amount,this.threeDSData.currency,l.threeDSServerTransID,!1)},n={acctNumber:this.threeDSData.cardNumber,providerId:this.threeDSData.providerId};(r=this.httpInvoker)==null||r.invoke(this.apiUrl+"/3ds/preauth","POST",JSON.stringify(n),s.bind(this),t.bind(this))}threeDsMethodInvoke(t,s){var i;this.log("[threeDsMethodInvoke]",{threeDSServerTransID:t,threeDSMethodURL:s}),this.log("[this.threeDSData]",this.threeDSData);const n={threeDSServerTransID:t,threeDSMethodNotificationURL:this.apiUrl+"/3ds/method_invocation"},r=encodeURI(window.btoa(JSON.stringify(n)).replace(/=*$/,""));(i=this.formInvoker)==null||i.invoke(s,"POST",{threeDSMethodData:r})}threeDsAuth(t,s,n,r,i,o,l,a){var K;this.log("[threeDsAuth]",{cardNumber:t,cardExpiry:s,cardHolderName:n,email:r,amount:i,currency:o,threeDSServerTransID:l,isMethodPerformed:a});const f=(U,B)=>{var Y;vt(this.container),this.log("unable to perform auth for 3Ds"),Ne(this.container,"Authentication Error"),(Y=this.failureCallback)==null||Y.call(this,{error:"Unable to perform auth for 3Ds",body:B})},d=(U,B)=>{var ie;this.log("auth success for 3Ds");const Y=JSON.parse(B);Y.transStatus==="C"?this.threeDsChallenge(Y.threeDSServerTransID,Y.acsTransID,Y.acsURL):["N","U","R"].includes(Y.transStatus)?(this.log("Authentication denied"),Ne(this.container,"Authentication Error"),(ie=this.failureCallback)==null||ie.call(this,{error:"Authentication denied 3Ds",body:B})):(this.log("3DS challenge not required, tranStatus: "+Y.transStatus),this.tokenise(""))},p=ga(o),b=_a(o),w=new Date,A={acctNumber:t,notificationURL:this.apiUrl+"/3ds/auth_complete",threeDSCompInd:a?"Y":"U",threeDSRequestorURL:window.location.href,cardExpiryDate:s,email:r,threeDSRequestorAuthenticationInd:"01",cardholderName:n,deviceChannel:"02",browserJavascriptEnabled:!0,browserAcceptHeader:"text/html,application/xhtml+xml,application/xml; q=0.9,*/*;q=0.8",browserJavaEnabled:!1,browserLanguage:window.navigator.language,browserColorDepth:String(ya()),browserScreenHeight:screen.height+"",browserScreenWidth:screen.width+"",browserTZ:w.getTimezoneOffset()/60+"",browserUserAgent:navigator.userAgent,messageCategory:"01",messageType:"AReq",messageVersion:"2.1.0",purchaseAmount:i*Math.pow(10,b)+"",payTokenInd:!0,purchaseCurrency:p,purchaseExponent:b+"",purchaseDate:w.toISOString().slice(0,19).replace(/[-:T]/g,""),threeDSServerTransID:l,transType:"01"};(K=this.httpInvoker)==null||K.invoke(this.apiUrl+"/3ds/auth","POST",JSON.stringify(A),d.bind(this),f.bind(this))}threeDsChallenge(t,s,n){this.log("[threeDsChallenge]",{threeDSServerTransID:t,acsURL:n,acsTransID:s});const{destroy:r}=Xe({el:document.body,component:Ma,props:{threeDSServerTransID:t,acsTransID:s,formAction:n},on:{close:()=>{vt(this.container),r(),this.threeDSDestroy=null}}});this.threeDSDestroy=r}setAmount(t){this.threeDSData.amount=t}}var Vc="",Xc="";const ja={class:"loading"},Wa=bn(" Paypal ");var za=$e(Ae({setup(e){return(t,s)=>(se(),re("div",ja,[De(ui,{size:20,grayscale:""}),Wa,De(Ls,{size:20})]))}}),[["__scopeId","data-v-ed95d8b0"]]);const Ya=Ae({props:{log:null,el:null,form:null,clientId:null,currency:null,enablePayIn4:{type:Boolean},buttonStyle:null,checkoutId:null},emits:["approve","submit"],setup(e,{emit:t}){const s=e,n=ue(!0),r=`https://www.paypal.com/sdk/js?client-id=${s.clientId}&currency=${s.currency.toUpperCase()}&disable-funding=card${s.enablePayIn4?"&enable-funding=paylater":""}`;function i(){window.paypal.Buttons({style:{color:s.buttonStyle},createOrder:function(){return s.checkoutId},onApprove:function(l,a){t("approve",{data:l,actions:a})}}).render(s.el)}function o(l){var a;!((a=l==null?void 0:l.data)!=null&&a.status)||(s.log&&s.log("[Paypal]: message received",l.data),l.data.status==="activate"&&l.data.component==="paypal"&&(n.value=!0),l.data.status==="deactivate"&&l.data.component==="paypal"&&(n.value=!1))}return Vt(()=>{window.removeEventListener("message",o)}),kt(()=>{window.addEventListener("message",o),window.paypal=null;const l=document.createElement("script");l.src=r,l.onload=i,document.body.appendChild(l)}),(l,a)=>null}});class Ja{constructor(t,s){T(this,"container",document.body);T(this,"log");T(this,"apiUrl","");T(this,"form",null);T(this,"getPaymentOptions");T(this,"failureCallback",null);T(this,"successCallback",null);T(this,"httpInvoker",null);T(this,"paypalData",{});this.log=t,this.apiUrl=s.apiUrl,this.getPaymentOptions=s.getPaymentOptions,this.failureCallback=s.onFailure||null,this.successCallback=s.onSuccess||null,this.httpInvoker=new ss(s.publicKey)}addPaypal(t,s,n,r,i,o){if(this.log("[addPaypal]",{amount:n,currency:r,providerId:i,options:o}),this.container=t,this.form=s,!di(r))throw new Pe("invalid currency: "+r);if(!In(n))throw new Pe("invalid amount: "+n);const l=(a,f,d,p)=>{var B,Y;if(this.log("[getPaymentOptions][callback]",{hasCardProviders:a,required3dsProvider:f,providerId:d}),!d)throw new Pe("invalid providerId: "+d);const{destroy:b}=Xe({el:this.container,component:za});o||(o={hideShipping:!1,paypalButtonStyle:null,paypalEnablePayIn4:!1,transfer:null});const w=this.apiUrl+"/payment_method/checkout",A={ProviderId:d,Amount:n,Currency:r,Options:{HideShipping:o.hideShipping?"true":"false"}};(B=o.transfer)!=null&&B.amount&&(A.Transfer={Account:o.transfer.account,Amount:o.transfer.amount});const K=(ie,oe)=>{var de;throw(de=this.failureCallback)==null||de.call(this,{error:"Failed to configure paypal",body:oe}),new Pe("failed to configure paypal, error: "+oe)},U=(ie,oe)=>{const de=JSON.parse(oe);this.log("paypal success",de),b();let _e=null;try{const ae=window.atob(de.checkoutId);_e=JSON.parse(ae),this.log("decodedData",_e)}catch(ae){this.log("invalid checkoutId",ae);return}const tt=ae=>{var M;this.log("successPaypalHandler",ae),Tn(this.container,"paypal login success"),(M=this.successCallback)==null||M.call(this,{token:ae.data.tokenId})},Be=(ae,M)=>{try{const I=JSON.parse(M);this.log("[tokeniseCheckoutSuccessHandler]",I),tt({data:{tokenId:I.tokenId,payer:this.paypalData.payer}})}catch(I){this.log("error parsing tokenise response",I)}},X=ae=>{var M;Ne(this.container,"Paypal login failed"),(M=this.failureCallback)==null||M.call(this,{error:"Paypal login failed",body:ae})},j=function(ae,M){X({error:"Unable to tokenise payment information"})},xe=_e.CheckoutId;Xe({el:this.container,component:Ya,props:{log:this.log,el:this.container,form:this.form,clientId:_e.AdditionalParameters,currency:r,enablePayIn4:Boolean(o.paypalEnablePayIn4),buttonStyle:o.paypalButtonStyle,checkoutId:xe},on:{approve:({data:ae,actions:M})=>{this.log("[Paypal]: approved",{data:ae,actions:M});const I=M.order.get();this.log("[Paypal]: order",I);const C=setInterval(()=>{var E;if(this.log("[Paypal]: setInterval resolved = "+I.resolved),I.resolved){clearInterval(C),this.paypalData.payer=I.value.payer;const y=this.apiUrl+"/payment_method/tokenise/checkout?ReferenceId="+xe;(E=this.httpInvoker)==null||E.invoke(y,"POST","",Be,j)}},200)}}})};(Y=this.httpInvoker)==null||Y.invoke(w,"POST",JSON.stringify(A),U,K)};i?l(!1,"",i):this.getPaymentOptions(n,r,"","",l)}}var Gc="";const qa=["src"],Va={key:0,id:"threeDs"};var Xa=$e(Ae({props:{debug:{type:Boolean},apiUrl:null,iframeSrc:null,form:null,publicKey:null,providerId:null,amount:null,currency:null,showEmail:{type:Boolean},threeDSEnabled:{type:Boolean},showSubmitButton:{type:Boolean}},emits:["load","submit"],setup(e,{emit:t}){const s=e,n=ue(null),r=ue(s.iframeSrc+"?v="+Math.random()),i=ue(s.threeDSEnabled);ue(s.showSubmitButton);const o=ue(!1),l=ue(!0);function a(p){var b,w;if(!!((b=p==null?void 0:p.data)!=null&&b.status)){if(p.data.status==="iframe-changed"&&(p.stopPropagation(),d(((w=p.data.message)==null?void 0:w.height)||0)),p.data.status==="submit-form"){if(!s.form||!l.value)return;p.stopPropagation();const A=s.form.querySelector('input[name="token"]');if(A!=null&&A.value){s.form.submit();return}t("submit")}p.data.status==="activate"&&p.data.component==="card"&&(l.value=!0),p.data.status==="deactivate"&&p.data.component==="card"&&(l.value=!1)}}Vt(()=>{window.removeEventListener("message",a)}),kt(()=>{window.addEventListener("message",a)});function f(){t("load",n.value)}function d(p){const b=n.value,w=p||240;b==null||b.setAttribute("style",`height: ${w+20}px`),o.value=!0}return(p,b)=>(se(),re(Me,null,[F("iframe",{src:r.value,onLoad:f,ref_key:"iframe",ref:n,id:"payfurl-card-iframe"},null,40,qa),i.value?(se(),re("div",Va)):Nt("",!0)],64))}}),[["__scopeId","data-v-2a78dd48"]]);class Za{constructor(t,s){T(this,"container",document.body);T(this,"threeDsContainer",document.body);T(this,"iframe",null);T(this,"form",null);T(this,"log");T(this,"debug",!1);T(this,"environment",Te.LOCAL);T(this,"apiUrl","");T(this,"url","");T(this,"publicKey","");T(this,"getPaymentOptions");T(this,"email","");T(this,"threeDSEnabled",!1);T(this,"threeDsProcessor",null);T(this,"failureCallback",null);T(this,"successCallback",null);T(this,"httpInvoker");this.log=t,this.debug=s.debug,this.environment=s.environment||Te.LOCAL,this.url=s.url,this.apiUrl=s.apiUrl,this.publicKey=s.publicKey,this.getPaymentOptions=s.getPaymentOptions,this.failureCallback=s.onFailure||null,this.successCallback=s.onSuccess||null,this.httpInvoker=new ss(this.publicKey),window.addEventListener("message",this.messageHandler.bind(this))}addThreeDsProcessor(t){this.threeDsProcessor=t}addCard(t,s,n,r,i,o){return this.log("[addCard]",{providerId:n,amount:r,currency:i,options:o}),o!=null&&o.threeDSEnabled&&(ci(r,Ft,"missing or invalid amount option",this.failureCallback),ci(i,di,"missing or invalid currency option",this.failureCallback),this.threeDSEnabled=!0),this.container=t||document.body,this.form=s,this.email=(o==null?void 0:o.threeDSEmail)||"",Xe({el:this.container,component:Xa,props:{debug:this.debug,apiUrl:this.apiUrl,iframeSrc:this.url,form:this.form,publicKey:this.publicKey,providerId:n,amount:r,currency:i,showEmail:!Boolean(this.email),threeDSEnabled:this.threeDSEnabled,showSubmitButton:!0},on:{load:l=>{var a;this.iframe=l,(a=l==null?void 0:l.contentWindow)==null||a.postMessage({type:"init",debug:this.debug,publicKey:this.publicKey,providerId:n,apiUrl:this.apiUrl,amount:r,currency:i,showEmail:!Boolean(this.email)},"*")},submit:()=>{this.onSubmit({email:o==null?void 0:o.threeDSEmail,amount:r,currency:i,providerId:(o==null?void 0:o.threeDsProviderId)||""})}}}),this}messageHandler(t){var s,n,r;if(!!((s=t==null?void 0:t.data)!=null&&s.status)){if(this.log("[sdk][cardProcessor]: message received",t.data),t.data.status==="failure"){vt(this.container),this.log("unable to tokenise payment information",t.data),Ne(this.container,"Unable to tokenise payment information"),(n=this.failureCallback)==null||n.call(this,{error:"Unable to tokenise payment information"});return}if(t.data.status==="success"){vt(this.container),t.stopPropagation(),this.iframe=null,Tn(this.container,"Success"),this.successCallback&&this.successCallback({token:t.data.tokenId});return}if(t.data.status=="card_data"){t.stopPropagation();const i=t.data.message.expiryDate.split("/"),o={cardNumber:t.data.message.cardNumber,cardExpiry:i[1]+i[0],cardHolderName:t.data.message.cardholder};t.data.message.email&&(o.email=t.data.message.email);const l=this.threeDSEnabled?this.threeDsContainer:this.container;(r=this.threeDsProcessor)==null||r.addThreeDs(l||document.body,o);return}}}onSubmit(t){var s;if(this.log("submit card form"),!this.threeDSEnabled){Pn(this.container),setTimeout(()=>{this.tokenise(null)},500);return}this.threeDsContainer=document.getElementById("threeDs")||document.body,(s=this.threeDsProcessor)==null||s.requestThreeDs(this.threeDsContainer,this.iframe,this.environment===Te.LOCAL||this.environment===Te.DEVELOPMENT||this.environment===Te.SANDBOX,n=>{this.log("threeDs, postAuthData",n),this.tokenise(n.threeDSServerTransID)},t)}tokenise(t){var s;!this.iframe||(s=this.iframe.contentWindow)==null||s.postMessage({type:"submit",threeDSServerTransID:t},"*")}setAmount(t){var s,n;!this.iframe||((s=this.iframe.contentWindow)==null||s.postMessage({type:"set_amount",amount:t},"*"),(n=this.threeDsProcessor)==null||n.setAmount(t))}}function Ga(e){return e.charAt(0).toUpperCase()+e.slice(1)}const xn=ue(!1);function ns(){return{isLoading:xn,startLoading:()=>{xn.value=!0},stopLoading:()=>{xn.value=!1}}}const En=ue("");function mi(){return{errorMessage:En,showErrorMessage:s=>{En.value=s},hideErrorMessage:()=>{En.value=""}}}var eu="",tu="";const Lt=e=>(Mt("data-v-59338927"),e=e(),$t(),e),Qa={id:"payfurl-payto-form",class:"payfurl-form"},ec={key:0,class:"error text-normal"},tc={class:"row"},sc=Lt(()=>F("label",null,"Payer Name",-1)),nc={class:"row"},rc=Lt(()=>F("label",null,"Payer Id Type",-1)),ic=[Lt(()=>F("option",{value:"PHONE"},"Phone",-1)),Lt(()=>F("option",{value:"EMAIL"},"Email",-1)),Lt(()=>F("option",{value:"ABN"},"Abn",-1))],oc={class:"row"},lc=Lt(()=>F("label",null," Pay Id ",-1)),ac=["placeholder"],cc={key:0,class:"small"},uc={key:1,class:"error"};var fc=$e(Ae({props:{log:null},emits:["submit"],setup(e,{emit:t}){const s=e,n=ue({}),{isLoading:r}=ns(),i=ue(""),o=ue("PHONE"),l=ue(""),a=Ns(()=>o.value==="PHONE"?"0405123456 or 0212341234":Ga(o.value.toLowerCase())),f=ue(!0),{errorMessage:d}=mi();function p(){return n.value.payId="",o.value==="PHONE"&&(Xl(l.value)||(n.value.payId="Invalid phone number")),o.value==="EMAIL"&&(Zl(l.value)||(n.value.payId="Invalid email")),o.value==="ABN"&&(Gl(l.value)||(n.value.payId="Invalid ABN")),n.value.payId===""}function b(w){var A;if(!!((A=w==null?void 0:w.data)!=null&&A.status)){if(s.log&&s.log("[PayTo]: message received",w.data),w.data.status==="submit-form"){if(!f.value||(w.stopPropagation(),s.log&&s.log("[PayTo]: form submit",{payerName:i.value,payIdType:o.value,payId:l.value}),!p()))return;t("submit",{payerName:i.value,payIdType:o.value,payId:o.value==="PHONE"?Vl(l.value):String(l.value).toLowerCase()})}w.data.status==="activate"&&w.data.component==="payto"&&(f.value=!0),w.data.status==="deactivate"&&w.data.component==="payto"&&(f.value=!1)}}return kt(()=>{window.addEventListener("message",b),window.addEventListener("keypress",function(w){w.altKey&&w.code==="KeyP"&&(w.preventDefault(),i.value="test",o.value="ABN",l.value="67384721620")})}),Vt(()=>{window.removeEventListener("message",b)}),(w,A)=>(se(),re("div",Qa,[Xt(De(Ls,null,null,512),[[ni,Ce(r)]]),F("div",{class:"container-form",style:ze(`visibility: ${Ce(r)?"hidden":"visible"}`)},[Ce(d)?(se(),re("div",ec,St(Ce(d)),1)):Nt("",!0),F("div",tc,[sc,F("div",null,[Xt(F("input",{type:"text",maxlength:"100",placeholder:"Payer Name","onUpdate:modelValue":A[0]||(A[0]=K=>i.value=K)},null,512),[[ti,i.value]])])]),F("div",nc,[rc,F("div",null,[Xt(F("select",{"onUpdate:modelValue":A[1]||(A[1]=K=>o.value=K)},ic,512),[[Bl,o.value]])])]),F("div",oc,[lc,F("div",null,[Xt(F("input",{type:"text",maxlength:"100",placeholder:Ce(a),"onUpdate:modelValue":A[2]||(A[2]=K=>l.value=K),onKeyup:p},null,40,ac),[[ti,l.value]]),o.value==="PHONE"?(se(),re("div",cc,"(mobile or landline with area code)")):Nt("",!0),n.value.payId?(se(),re("p",uc,St(n.value.payId),1)):Nt("",!0)])])],4)]))}}),[["__scopeId","data-v-59338927"]]),ou="",lu="";const hc=e=>(Mt("data-v-ca368eb8"),e=e(),$t(),e),dc={id:"payfurl-payto-agreement",class:"payfurl-form"},pc=hc(()=>F("div",{class:"message"},"Approve the agreement in your banking app",-1));var mc=$e(Ae({props:{debug:{type:Boolean}},setup(e){return(t,s)=>(se(),re("div",dc,[De(Ls),pc]))}}),[["__scopeId","data-v-ca368eb8"]]);const Ht={TOKENISE:"TOKENISE",TOKEN_STATUS:"TOKEN_STATUS"},Bs=(e,t)=>({[Ht.TOKENISE]:{url:e+"/token/payto",method:"POST"},[Ht.TOKEN_STATUS]:{url:e+"/token/"+t,method:"GET"}});class gc{constructor(t,s){T(this,"container",document.body);T(this,"debug",!1);T(this,"log");T(this,"apiUrl","");T(this,"getPaymentOptions");T(this,"options",null);T(this,"providerId","");T(this,"tokenId","");T(this,"checkAgreementHandler",null);T(this,"failureCallback",null);T(this,"successCallback",null);T(this,"httpInvoker",null);T(this,"successPayToHandler",(t,s)=>{this.log("successPayToHandler",t,s);const n=JSON.parse(s);if(!n||!(n!=null&&n.tokenId))return this.failurePayToHandler(t,s);this.tokenId=n.tokenId,Xe({el:this.container,component:mc,props:{el:this.container,log:this.log}}),this.checkAgreement()});T(this,"failurePayToHandler",(t,s)=>{this.log("failurePayToHandler",t,s),ns().stopLoading(),mi().showErrorMessage("Invalid payment details")});T(this,"failurePayToAgreementHandler",(t,s)=>{var n;ns().stopLoading(),this.log("failurePayToAgreementHandler",t,s),Ne(this.container,"Agreement has been canceled"),(n=this.failureCallback)==null||n.call(this,{error:"Agreement has been canceled",body:s})});this.log=t,this.debug=s.debug,this.apiUrl=s.apiUrl,this.getPaymentOptions=s.getPaymentOptions,this.failureCallback=s.onFailure||null,this.successCallback=s.onSuccess||null,this.httpInvoker=new ss(s.publicKey)}addPayTo(t,s,n,r){if(this.log("[addPayTo]",{amount:s,providerId:n,options:r}),this.container=t,this.providerId=n,this.options=r,!In(s))throw Ne(t,"Invalid amount: "+s),new Pe("invalid amount: "+s);if(!String(r.description).trim())throw Ne(t,"Invalid description"),new Pe("invalid description");if(r.maximumAmount||(r.maximumAmount=1e3),r.maximumAmount<0||r.maximumAmount>9999)throw Ne(t,"Invalid maximum amount: "+r.maximumAmount),new Pe("invalid maximumAmount: "+r.maximumAmount);Xe({el:this.container,component:fc,props:{el:this.container,log:this.log},on:{submit:i=>{this.log("submit payto form",i),ns().startLoading(),setTimeout(()=>{this.tokenise(i)},500)}}})}tokenise(t){var n,r,i;const s={payerName:t.payerName,description:(n=this.options)==null?void 0:n.description,maximumAmount:(r=this.options)==null?void 0:r.maximumAmount,providerId:this.providerId,payerPayIdDetails:{payIdType:t.payIdType.toUpperCase(),payId:t.payId}};(i=this.httpInvoker)==null||i.invoke(Bs(this.apiUrl)[Ht.TOKENISE].url,Bs(this.apiUrl)[Ht.TOKENISE].method,JSON.stringify(s),this.successPayToHandler.bind(this),this.failurePayToHandler.bind(this))}successPayToAgreementHandler(){var t;ns().stopLoading(),this.log("success agreement",this.tokenId),Tn(this.container,"PayTo Agreement Approved"),(t=this.successCallback)==null||t.call(this,{token:this.tokenId})}checkAgreement(){var t;this.checkAgreementHandler||(this.checkAgreementHandler=setInterval(this.checkAgreement.bind(this),5e3)),(t=this.httpInvoker)==null||t.invoke(Bs(this.apiUrl,this.tokenId)[Ht.TOKEN_STATUS].url,Bs(this.apiUrl,this.tokenId)[Ht.TOKEN_STATUS].method,{},(s,n)=>{this.log("checkAgreement",s,n);const r=JSON.parse(n);if(!r)return clearInterval(this.checkAgreementHandler),this.failurePayToAgreementHandler(s,n);if(r.payToStatus!=="PENDING")return r.payToStatus==="ACTIVE"?(clearInterval(this.checkAgreementHandler),this.successPayToAgreementHandler()):(clearInterval(this.checkAgreementHandler),this.failurePayToAgreementHandler(s,""))},(s,n)=>(this.log("checkAgreement",s,n),clearInterval(this.checkAgreementHandler),this.failurePayToAgreementHandler(s,n)))}}class _c{constructor(){T(this,"container",null);T(this,"form",null);T(this,"environment",Te.LOCAL);T(this,"debug",!1);T(this,"config",li(Te.PRODUCTION));T(this,"publicKey","");T(this,"httpInvoker",null);T(this,"threeDsProcessor",null);T(this,"paypalProcessor",null);T(this,"cardProcessor",null);T(this,"payToProcessor",null);T(this,"userOnSuccess",null);T(this,"userOnFailure",null)}init(t,s,n){return this.environment=t,this.debug=n,this.publicKey=s,this.config=li(t),this.httpInvoker=new ss(s),this.cardProcessor=new Za(this.log.bind(this),{debug:this.debug,environment:this.environment,publicKey:this.publicKey,url:this.config.url,apiUrl:this.config.apiUrl,getPaymentOptions:this.getPaymentOptions.bind(this),onSuccess:r=>{var i;r.token&&(this._setToken(r.token),setTimeout(()=>{var o;this.userOnSuccess||(o=this.form)==null||o.submit()},500)),(i=this.userOnSuccess)==null||i.call(this,{token:r.token})},onFailure:r=>{var i;(i=this.userOnFailure)==null||i.call(this,{error:r.error})}}),this.threeDsProcessor=new Ka(this.log.bind(this),{debug:this.debug,publicKey:this.publicKey,apiUrl:this.config.apiUrl,tokenise:this.cardProcessor.tokenise.bind(this.cardProcessor),onSuccess:r=>{var i;r.token&&this._setToken(r.token),(i=this.userOnSuccess)==null||i.call(this,{token:r.token})},onFailure:r=>{var i;(i=this.userOnFailure)==null||i.call(this,{error:r.error})}}),this.paypalProcessor=new Ja(this.log.bind(this),{debug:this.debug,publicKey:this.publicKey,apiUrl:this.config.apiUrl,getPaymentOptions:this.getPaymentOptions.bind(this),onSuccess:r=>{var i;r.token&&this._setToken(r.token),(i=this.userOnSuccess)==null||i.call(this,{token:r.token})},onFailure:r=>{var i;(i=this.userOnFailure)==null||i.call(this,{error:r.error})}}),this.cardProcessor.addThreeDsProcessor(this.threeDsProcessor),this.payToProcessor=new gc(this.log.bind(this),{debug:this.debug,publicKey:this.publicKey,apiUrl:this.config.apiUrl,getPaymentOptions:this.getPaymentOptions.bind(this),onSuccess:r=>{var i;r.token&&(this._setToken(r.token),setTimeout(()=>{var o;this.userOnSuccess||(o=this.form)==null||o.submit()},500)),(i=this.userOnSuccess)==null||i.call(this,{token:r.token})},onFailure:r=>{var i;(i=this.userOnFailure)==null||i.call(this,{error:r.error})}}),this.loadCss(),this}loadCss(){const t=document.createElement("link");t.href=this.config.cssUrl+"style.css?v="+Math.random(),t.rel="stylesheet",t.media="screen,print",document.getElementsByTagName("head")[0].appendChild(t)}log(t,...s){!this.debug||console.log(t,s)}_initForm(t){var s;this.container=t,this.form=((s=t==null?void 0:t.parentElement)==null?void 0:s.closest("form"))||null,this.form&&this.form.addEventListener("submit",this._submitForm.bind(this))}_setToken(t){if(!this.form)return;let s=this.form.querySelector('input[name="token"]');s||(s=document.createElement("input"),s.type="hidden",s.name="token",this.form.appendChild(s)),s.value=t}_submitForm(t){if(t.preventDefault(),this.form){const s=this.form.querySelector('input[name="token"]');if(s!=null&&s.value){this.form.submit();return}}window.postMessage({status:"submit-form"},"*")}addCard(t,s,n){var i;if(!Ft(s))throw new Pe("missing parameter: providerId");const r=document.getElementById(t)||document.body;return this._initForm(r),(i=this.cardProcessor)==null||i.addCard(r,this.form,s,0,"",n),this}addCardLeastCost(t,s,n,r){var o;if(!Ft(s))throw new Pe("missing parameter: amount");const i=document.getElementById(t)||document.body;return this._initForm(i),(o=this.cardProcessor)==null||o.addCard(i,this.form,"",s,n,r),this}_addDropIn(t,s,n,r){this.log("[addDropIn]",{dropinParentId:t,amount:s,currency:n,options:r});const i=document.getElementById(t)||document.body;this._initForm(i);const o=(l,a,f,d)=>{var K;this.log("[paymentMethodsCallback]",{hasCardProviders:l,required3dsProvider:a,paypalProviderId:f,payToProviderId:d});const p=l&&f||l&&d||f&&d,b=a?{threeDSEnabled:!0,threeDsProviderId:a,threeDSEmail:(r==null?void 0:r.threeDSEmail)||""}:{threeDSEnabled:!1,threeDsProviderId:"",threeDSEmail:(r==null?void 0:r.threeDSEmail)||""},w={hideShipping:!1,paypalButtonStyle:null,paypalEnablePayIn4:!1,transfer:null},A={description:String(r==null?void 0:r.payToDescription).trim()||"",maximumAmount:(r==null?void 0:r.payToMaximumAmount)||0};if(!p&&l){const U=document.getElementById(t)||document.body;(K=this.cardProcessor)==null||K.addCard(U,this.form,(r==null?void 0:r.cardProviderId)||"",s,n,b);return}if(!p&&f){this.addPaypal(t,s,n,f,w);return}if(!p&&d){this.addPayTo(t,s,d,A);return}if(p){const U=[];l&&U.push({title:"Credit Card",icon:ta,render:B=>{var Y;(Y=this.cardProcessor)==null||Y.addCard(B,this.form,(r==null?void 0:r.cardProviderId)||"",s,n,b)},activate:()=>{window.postMessage({status:"activate",component:"card"},"*"),window.postMessage({status:"deactivate",component:"paypal"},"*"),window.postMessage({status:"deactivate",component:"payto"},"*")}}),f&&U.push({title:"Paypal",icon:ui,render:B=>{var Y;(Y=this.paypalProcessor)==null||Y.addPaypal(B,this.form,s,n,f,w)},activate:()=>{window.postMessage({status:"activate",component:"paypal"},"*"),window.postMessage({status:"deactivate",component:"card"},"*"),window.postMessage({status:"deactivate",component:"payto"},"*")}}),d&&(Ft(A.description)?U.push({title:"PayTo",icon:na,render:B=>{var Y;(Y=this.payToProcessor)==null||Y.addPayTo(B,s,d,A)},activate:()=>{window.postMessage({status:"activate",component:"payto"},"*"),window.postMessage({status:"deactivate",component:"card"},"*"),window.postMessage({status:"deactivate",component:"paypal"},"*")}}):console.log("Missing parameter: PayTo Description")),Xe({el:document.getElementById(t),component:ca,props:{elements:U}})}};return this.getPaymentOptions(s,n,(r==null?void 0:r.paypalProviderId)||"",(r==null?void 0:r.payToProviderId)||"",o),this}addDropIn(t,s,n,r){if(!Ft(t))throw new Pe("missing parameter: dropinParentId");return this._addDropIn(t,s,n,r),this}addPaypal(t,s,n,r,i){var l;const o=document.getElementById(t)||document.body;return this._initForm(o),(l=this.paypalProcessor)==null||l.addPaypal(o,this.form,s,n,r,i),this}addPayTo(t,s,n,r){var o;if(!Ft(r.description))throw new Pe("Missing parameter: description");const i=document.getElementById(t)||document.body;return this._initForm(i),(o=this.payToProcessor)==null||o.addPayTo(i,s,n,r),this}addThreeDsWithFullParameters(t,s,n,r,i,o,l){var f;const a=document.getElementById(t)||document.body;return this._initForm(a),(f=this.threeDsProcessor)==null||f.addThreeDsWithFullParameters(a,s,n,r,i,o,l),this}getPaymentOptions(t,s,n,r,i){var f;this.log("getPaymentOptions",{amount:t,currency:s,overridePaypalProviderId:n,overridePayToProviderId:r});const o=this.config.apiUrl+"/info/providers?amount="+t+"&currency="+s,l=(d,p)=>{throw this.showErrorMessage("Unable to configure SDK"),new Pe("failed to configure, error: "+p)},a=(d,p)=>{var K,U;const b=JSON.parse(p),w=n||((K=b.paypalProviders)==null?void 0:K[0])||null,A=r||((U=b.payToProviders)==null?void 0:U[0])||null;this.log("getPaymentOptions",w,A,b),i(b.hasCardProviders,b.required3dsProvider,w,A)};(f=this.httpInvoker)==null||f.invoke(o,"GET","",a,l)}setAmount(t){var s;if(!In(t))throw new Pe("missing parameter: "+t);return this.log("[setAmount]",t),(s=this.cardProcessor)==null||s.setAmount(t),this}onSuccess(t){this.userOnSuccess=t}onFailure(t){this.userOnFailure=t}showErrorMessage(t){this.log(t),Ne(this.container||document.body,t)}}var yc=new _c;return yc});
1
+ (function(Ie,he){typeof exports=="object"&&typeof module<"u"?module.exports=he():typeof define=="function"&&define.amd?define(he):(Ie=typeof globalThis<"u"?globalThis:Ie||self,Ie.payfurl=he())})(this,function(){"use strict";var Ou=Object.defineProperty;var Su=(Ie,he,Ct)=>he in Ie?Ou(Ie,he,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):Ie[he]=Ct;var b=(Ie,he,Ct)=>(Su(Ie,typeof he!="symbol"?he+"":he,Ct),Ct);function Ie(e,t){const n=Object.create(null),s=e.split(",");for(let i=0;i<s.length;i++)n[s[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}function he(e){if(z(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=me(s)?xr(s):he(s);if(i)for(const o in i)t[o]=i[o]}return t}else{if(me(e))return e;if(oe(e))return e}}const Ct=/;(?![^(]*\))/g,Mr=/:([^]+)/,Tr=/\/\*.*?\*\//gs;function xr(e){const t={};return e.replace(Tr,"").split(Ct).forEach(n=>{if(n){const s=n.split(Mr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function un(e){let t="";if(me(e))t=e;else if(z(e))for(let n=0;n<e.length;n++){const s=un(e[n]);s&&(t+=s+" ")}else if(oe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const kr=Ie("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Si(e){return!!e||e===""}function Lr(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Kn(e[s],t[s]);return n}function Kn(e,t){if(e===t)return!0;let n=xi(e),s=xi(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=dn(e),s=dn(t),n||s)return e===t;if(n=z(e),s=z(t),n||s)return n&&s?Lr(e,t):!1;if(n=oe(e),s=oe(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const r in e){const A=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(A&&!a||!A&&a||!Kn(e[r],t[r]))return!1}}return String(e)===String(t)}function jr(e,t){return e.findIndex(n=>Kn(n,t))}const Ye=e=>me(e)?e:e==null?"":z(e)||oe(e)&&(e.toString===ki||!Q(e.toString))?JSON.stringify(e,Mi,2):String(e),Mi=(e,t)=>t&&t.__v_isRef?Mi(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i])=>(n[`${s} =>`]=i,n),{})}:Rn(t)?{[`Set(${t.size})`]:[...t.values()]}:oe(t)&&!z(t)&&!Li(t)?String(t):t,ae={}.NODE_ENV!=="production"?Object.freeze({}):{},qt={}.NODE_ENV!=="production"?Object.freeze([]):[],_e=()=>{},Ti=()=>!1,Br=/^on[^a-z]/,fn=e=>Br.test(e),Un=e=>e.startsWith("onUpdate:"),ve=Object.assign,Ms=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hr=Object.prototype.hasOwnProperty,J=(e,t)=>Hr.call(e,t),z=Array.isArray,It=e=>hn(e)==="[object Map]",Rn=e=>hn(e)==="[object Set]",xi=e=>hn(e)==="[object Date]",Q=e=>typeof e=="function",me=e=>typeof e=="string",dn=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Ts=e=>oe(e)&&Q(e.then)&&Q(e.catch),ki=Object.prototype.toString,hn=e=>ki.call(e),xs=e=>hn(e).slice(8,-1),Li=e=>hn(e)==="[object Object]",ks=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fn=Ie(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zr=Ie("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Qn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Kr=/-(\w)/g,tt=Qn(e=>e.replace(Kr,(t,n)=>n?n.toUpperCase():"")),Ur=/\B([A-Z])/g,ht=Qn(e=>e.replace(Ur,"-$1").toLowerCase()),Nt=Qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ot=Qn(e=>e?`on${Nt(e)}`:""),pn=(e,t)=>!Object.is(e,t),$t=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Yn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Gn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ji;const Bi=()=>ji||(ji=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ls(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ve;class Rr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ve;try{return Ve=this,t()}finally{Ve=n}}else({}).NODE_ENV!=="production"&&Ls("cannot run an inactive effect scope.")}on(){Ve=this}off(){Ve=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function Fr(e,t=Ve){t&&t.active&&t.effects.push(e)}function Qr(){return Ve}const mn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Hi=e=>(e.w&pt)>0,zi=e=>(e.n&pt)>0,Yr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=pt},Gr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const i=t[s];Hi(i)&&!zi(i)?i.delete(e):t[n++]=i,i.w&=~pt,i.n&=~pt}t.length=n}},js=new WeakMap;let gn=0,pt=1;const Bs=30;let Se;const St=Symbol({}.NODE_ENV!=="production"?"iterate":""),Hs=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");class zs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Fr(this,s)}run(){if(!this.active)return this.fn();let t=Se,n=mt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Se,Se=this,mt=!0,pt=1<<++gn,gn<=Bs?Yr(this):Ki(this),this.fn()}finally{gn<=Bs&&Gr(this),pt=1<<--gn,Se=this.parent,mt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Se===this?this.deferStop=!0:this.active&&(Ki(this),this.onStop&&this.onStop(),this.active=!1)}}function Ki(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let mt=!0;const Ui=[];function Mt(){Ui.push(mt),mt=!1}function Tt(){const e=Ui.pop();mt=e===void 0?!0:e}function Me(e,t,n){if(mt&&Se){let s=js.get(e);s||js.set(e,s=new Map);let i=s.get(n);i||s.set(n,i=mn());const o={}.NODE_ENV!=="production"?{effect:Se,target:e,type:t,key:n}:void 0;Ks(i,o)}}function Ks(e,t){let n=!1;gn<=Bs?zi(e)||(e.n|=pt,n=!Hi(e)):n=!e.has(Se),n&&(e.add(Se),Se.deps.push(e),{}.NODE_ENV!=="production"&&Se.onTrack&&Se.onTrack(Object.assign({effect:Se},t)))}function at(e,t,n,s,i,o){const r=js.get(e);if(!r)return;let A=[];if(t==="clear")A=[...r.values()];else if(n==="length"&&z(e)){const l=Number(s);r.forEach((d,u)=>{(u==="length"||u>=l)&&A.push(d)})}else switch(n!==void 0&&A.push(r.get(n)),t){case"add":z(e)?ks(n)&&A.push(r.get("length")):(A.push(r.get(St)),It(e)&&A.push(r.get(Hs)));break;case"delete":z(e)||(A.push(r.get(St)),It(e)&&A.push(r.get(Hs)));break;case"set":It(e)&&A.push(r.get(St));break}const a={}.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:s,oldValue:i,oldTarget:o}:void 0;if(A.length===1)A[0]&&({}.NODE_ENV!=="production"?Jt(A[0],a):Jt(A[0]));else{const l=[];for(const d of A)d&&l.push(...d);({}).NODE_ENV!=="production"?Jt(mn(l),a):Jt(mn(l))}}function Jt(e,t){const n=z(e)?e:[...e];for(const s of n)s.computed&&Ri(s,t);for(const s of n)s.computed||Ri(s,t)}function Ri(e,t){(e!==Se||e.allowRecurse)&&({}.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(ve({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Vr=Ie("__proto__,__v_isRef,__isVue"),Fi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dn)),qr=Vn(),$r=Vn(!1,!0),Jr=Vn(!0),Wr=Vn(!0,!0),Qi=Xr();function Xr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=V(this);for(let o=0,r=this.length;o<r;o++)Me(s,"get",o+"");const i=s[t](...n);return i===-1||i===!1?s[t](...n.map(V)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Mt();const s=V(this)[t].apply(this,n);return Tt(),s}}),e}function Zr(e){const t=V(this);return Me(t,"has",e),t.hasOwnProperty(e)}function Vn(e=!1,t=!1){return function(s,i,o){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&o===(e?t?no:to:t?eo:Zi).get(s))return s;const r=z(s);if(!e){if(r&&J(Qi,i))return Reflect.get(Qi,i,o);if(i==="hasOwnProperty")return Zr}const A=Reflect.get(s,i,o);return(dn(i)?Fi.has(i):Vr(i))||(e||Me(s,"get",i),t)?A:Ee(A)?r&&ks(i)?A:A.value:oe(A)?e?so(A):Rs(A):A}}const eA=Yi(),tA=Yi(!0);function Yi(e=!1){return function(n,s,i,o){let r=n[s];if(vt(r)&&Ee(r)&&!Ee(i))return!1;if(!e&&(!ns(i)&&!vt(i)&&(r=V(r),i=V(i)),!z(n)&&Ee(r)&&!Ee(i)))return r.value=i,!0;const A=z(n)&&ks(s)?Number(s)<n.length:J(n,s),a=Reflect.set(n,s,i,o);return n===V(o)&&(A?pn(i,r)&&at(n,"set",s,i,r):at(n,"add",s,i)),a}}function nA(e,t){const n=J(e,t),s=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&at(e,"delete",t,void 0,s),i}function sA(e,t){const n=Reflect.has(e,t);return(!dn(t)||!Fi.has(t))&&Me(e,"has",t),n}function iA(e){return Me(e,"iterate",z(e)?"length":St),Reflect.ownKeys(e)}const Gi={get:qr,set:eA,deleteProperty:nA,has:sA,ownKeys:iA},Vi={get:Jr,set(e,t){return{}.NODE_ENV!=="production"&&Ls(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return{}.NODE_ENV!=="production"&&Ls(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},oA=ve({},Gi,{get:$r,set:tA}),rA=ve({},Vi,{get:Wr}),Us=e=>e,qn=e=>Reflect.getPrototypeOf(e);function $n(e,t,n=!1,s=!1){e=e.__v_raw;const i=V(e),o=V(t);n||(t!==o&&Me(i,"get",t),Me(i,"get",o));const{has:r}=qn(i),A=s?Us:n?Qs:vn;if(r.call(i,t))return A(e.get(t));if(r.call(i,o))return A(e.get(o));e!==i&&e.get(t)}function Jn(e,t=!1){const n=this.__v_raw,s=V(n),i=V(e);return t||(e!==i&&Me(s,"has",e),Me(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Wn(e,t=!1){return e=e.__v_raw,!t&&Me(V(e),"iterate",St),Reflect.get(e,"size",e)}function qi(e){e=V(e);const t=V(this);return qn(t).has.call(t,e)||(t.add(e),at(t,"add",e,e)),this}function $i(e,t){t=V(t);const n=V(this),{has:s,get:i}=qn(n);let o=s.call(n,e);o?{}.NODE_ENV!=="production"&&Xi(n,s,e):(e=V(e),o=s.call(n,e));const r=i.call(n,e);return n.set(e,t),o?pn(t,r)&&at(n,"set",e,t,r):at(n,"add",e,t),this}function Ji(e){const t=V(this),{has:n,get:s}=qn(t);let i=n.call(t,e);i?{}.NODE_ENV!=="production"&&Xi(t,n,e):(e=V(e),i=n.call(t,e));const o=s?s.call(t,e):void 0,r=t.delete(e);return i&&at(t,"delete",e,void 0,o),r}function Wi(){const e=V(this),t=e.size!==0,n={}.NODE_ENV!=="production"?It(e)?new Map(e):new Set(e):void 0,s=e.clear();return t&&at(e,"clear",void 0,void 0,n),s}function Xn(e,t){return function(s,i){const o=this,r=o.__v_raw,A=V(r),a=t?Us:e?Qs:vn;return!e&&Me(A,"iterate",St),r.forEach((l,d)=>s.call(i,a(l),a(d),o))}}function Zn(e,t,n){return function(...s){const i=this.__v_raw,o=V(i),r=It(o),A=e==="entries"||e===Symbol.iterator&&r,a=e==="keys"&&r,l=i[e](...s),d=n?Us:t?Qs:vn;return!t&&Me(o,"iterate",a?Hs:St),{next(){const{value:u,done:p}=l.next();return p?{value:u,done:p}:{value:A?[d(u[0]),d(u[1])]:d(u),done:p}},[Symbol.iterator](){return this}}}}function gt(e){return function(...t){if({}.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Nt(e)} operation ${n}failed: target is readonly.`,V(this))}return e==="delete"?!1:this}}function AA(){const e={get(o){return $n(this,o)},get size(){return Wn(this)},has:Jn,add:qi,set:$i,delete:Ji,clear:Wi,forEach:Xn(!1,!1)},t={get(o){return $n(this,o,!1,!0)},get size(){return Wn(this)},has:Jn,add:qi,set:$i,delete:Ji,clear:Wi,forEach:Xn(!1,!0)},n={get(o){return $n(this,o,!0)},get size(){return Wn(this,!0)},has(o){return Jn.call(this,o,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Xn(!0,!1)},s={get(o){return $n(this,o,!0,!0)},get size(){return Wn(this,!0)},has(o){return Jn.call(this,o,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Xn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Zn(o,!1,!1),n[o]=Zn(o,!0,!1),t[o]=Zn(o,!1,!0),s[o]=Zn(o,!0,!0)}),[e,n,t,s]}const[aA,lA,cA,uA]=AA();function es(e,t){const n=t?e?uA:cA:e?lA:aA;return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(J(n,i)&&i in s?n:s,i,o)}const fA={get:es(!1,!1)},dA={get:es(!1,!0)},hA={get:es(!0,!1)},pA={get:es(!0,!0)};function Xi(e,t,n){const s=V(n);if(s!==n&&t.call(e,s)){const i=xs(e);console.warn(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Zi=new WeakMap,eo=new WeakMap,to=new WeakMap,no=new WeakMap;function mA(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gA(e){return e.__v_skip||!Object.isExtensible(e)?0:mA(xs(e))}function Rs(e){return vt(e)?e:ts(e,!1,Gi,fA,Zi)}function vA(e){return ts(e,!1,oA,dA,eo)}function so(e){return ts(e,!0,Vi,hA,to)}function Wt(e){return ts(e,!0,rA,pA,no)}function ts(e,t,n,s,i){if(!oe(e))return{}.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=gA(e);if(r===0)return e;const A=new Proxy(e,r===2?s:n);return i.set(e,A),A}function xt(e){return vt(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function ns(e){return!!(e&&e.__v_isShallow)}function Fs(e){return xt(e)||vt(e)}function V(e){const t=e&&e.__v_raw;return t?V(t):e}function io(e){return Yn(e,"__v_skip",!0),e}const vn=e=>oe(e)?Rs(e):e,Qs=e=>oe(e)?so(e):e;function oo(e){mt&&Se&&(e=V(e),{}.NODE_ENV!=="production"?Ks(e.dep||(e.dep=mn()),{target:e,type:"get",key:"value"}):Ks(e.dep||(e.dep=mn())))}function ro(e,t){e=V(e);const n=e.dep;n&&({}.NODE_ENV!=="production"?Jt(n,{target:e,type:"set",key:"value",newValue:t}):Jt(n))}function Ee(e){return!!(e&&e.__v_isRef===!0)}function ie(e){return yA(e,!1)}function yA(e,t){return Ee(e)?e:new EA(e,t)}class EA{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:V(t),this._value=n?t:vn(t)}get value(){return oo(this),this._value}set value(t){const n=this.__v_isShallow||ns(t)||vt(t);t=n?t:V(t),pn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:vn(t),ro(this,t))}}function le(e){return Ee(e)?e.value:e}const DA={get:(e,t,n)=>le(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ee(i)&&!Ee(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Ao(e){return xt(e)?e:new Proxy(e,DA)}var ao;class wA{constructor(t,n,s,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[ao]=!1,this._dirty=!0,this.effect=new zs(t,()=>{this._dirty||(this._dirty=!0,ro(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const t=V(this);return oo(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}ao="__v_isReadonly";function bA(e,t,n=!1){let s,i;const o=Q(e);o?(s=e,i={}.NODE_ENV!=="production"?()=>{console.warn("Write operation failed: computed value is readonly")}:_e):(s=e.get,i=e.set);const r=new wA(s,i,o||!i,n);return{}.NODE_ENV!=="production"&&t&&!n&&(r.effect.onTrack=t.onTrack,r.effect.onTrigger=t.onTrigger),r}const kt=[];function ss(e){kt.push(e)}function is(){kt.pop()}function P(e,...t){if({}.NODE_ENV==="production")return;Mt();const n=kt.length?kt[kt.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=PA();if(s)lt(s,n,11,[e+t.join(""),n&&n.proxy,i.map(({vnode:o})=>`at <${bs(n,o.type)}>`).join(`
2
+ `),i]);else{const o=[`[Vue warn]: ${e}`,...t];i.length&&o.push(`
3
+ `,..._A(i)),console.warn(...o)}Tt()}function PA(){let e=kt[kt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function _A(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
4
+ `],...CA(n))}),t}function CA({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${bs(e.component,e.type,s)}`,o=">"+n;return e.props?[i,...IA(e.props),o]:[i+o]}function IA(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...lo(s,e[s]))}),n.length>3&&t.push(" ..."),t}function lo(e,t,n){return me(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ee(t)?(t=lo(e,V(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=V(t),n?t:[`${e}=`,t])}const Ys={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function lt(e,t,n,s){let i;try{i=s?e(...s):e()}catch(o){os(o,t,n)}return i}function qe(e,t,n,s){if(Q(e)){const o=lt(e,t,n,s);return o&&Ts(o)&&o.catch(r=>{os(r,t,n)}),o}const i=[];for(let o=0;o<e.length;o++)i.push(qe(e[o],t,n,s));return i}function os(e,t,n,s=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,A={}.NODE_ENV!=="production"?Ys[n]:n;for(;o;){const l=o.ec;if(l){for(let d=0;d<l.length;d++)if(l[d](e,r,A)===!1)return}o=o.parent}const a=t.appContext.config.errorHandler;if(a){lt(a,null,10,[e,r,A]);return}}NA(e,n,i,s)}function NA(e,t,n,s=!0){if({}.NODE_ENV!=="production"){const i=Ys[t];if(n&&ss(n),P(`Unhandled error${i?` during execution of ${i}`:""}`),n&&is(),s)throw e;console.error(e)}else console.error(e)}let yn=!1,Gs=!1;const Ne=[];let nt=0;const Xt=[];let st=null,yt=0;const co=Promise.resolve();let Vs=null;const OA=100;function SA(e){const t=Vs||co;return e?t.then(this?e.bind(this):e):t}function MA(e){let t=nt+1,n=Ne.length;for(;t<n;){const s=t+n>>>1;En(Ne[s])<e?t=s+1:n=s}return t}function rs(e){(!Ne.length||!Ne.includes(e,yn&&e.allowRecurse?nt+1:nt))&&(e.id==null?Ne.push(e):Ne.splice(MA(e.id),0,e),uo())}function uo(){!yn&&!Gs&&(Gs=!0,Vs=co.then(mo))}function TA(e){const t=Ne.indexOf(e);t>nt&&Ne.splice(t,1)}function fo(e){z(e)?Xt.push(...e):(!st||!st.includes(e,e.allowRecurse?yt+1:yt))&&Xt.push(e),uo()}function ho(e,t=yn?nt+1:0){for({}.NODE_ENV!=="production"&&(e=e||new Map);t<Ne.length;t++){const n=Ne[t];if(n&&n.pre){if({}.NODE_ENV!=="production"&&qs(e,n))continue;Ne.splice(t,1),t--,n()}}}function po(e){if(Xt.length){const t=[...new Set(Xt)];if(Xt.length=0,st){st.push(...t);return}for(st=t,{}.NODE_ENV!=="production"&&(e=e||new Map),st.sort((n,s)=>En(n)-En(s)),yt=0;yt<st.length;yt++)({}).NODE_ENV!=="production"&&qs(e,st[yt])||st[yt]();st=null,yt=0}}const En=e=>e.id==null?1/0:e.id,xA=(e,t)=>{const n=En(e)-En(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function mo(e){Gs=!1,yn=!0,{}.NODE_ENV!=="production"&&(e=e||new Map),Ne.sort(xA);const t={}.NODE_ENV!=="production"?n=>qs(e,n):_e;try{for(nt=0;nt<Ne.length;nt++){const n=Ne[nt];if(n&&n.active!==!1){if({}.NODE_ENV!=="production"&&t(n))continue;lt(n,null,14)}}}finally{nt=0,Ne.length=0,po(e),yn=!1,Vs=null,(Ne.length||Xt.length)&&mo(e)}}function qs(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>OA){const s=t.ownerInstance,i=s&&mi(s.type);return P(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let Lt=!1;const Zt=new Set;({}).NODE_ENV!=="production"&&(Bi().__VUE_HMR_RUNTIME__={createRecord:$s(go),rerender:$s(jA),reload:$s(BA)});const jt=new Map;function kA(e){const t=e.type.__hmrId;let n=jt.get(t);n||(go(t,e.type),n=jt.get(t)),n.instances.add(e)}function LA(e){jt.get(e.type.__hmrId).instances.delete(e)}function go(e,t){return jt.has(e)?!1:(jt.set(e,{initialDef:Dn(t),instances:new Set}),!0)}function Dn(e){return rr(e)?e.__vccOpts:e}function jA(e,t){const n=jt.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Dn(s.type).render=t),s.renderCache=[],Lt=!0,s.update(),Lt=!1}))}function BA(e,t){const n=jt.get(e);if(!n)return;t=Dn(t),vo(n.initialDef,t);const s=[...n.instances];for(const i of s){const o=Dn(i.type);Zt.has(o)||(o!==n.initialDef&&vo(o,t),Zt.add(o)),i.appContext.optionsCache.delete(i.type),i.ceReload?(Zt.add(o),i.ceReload(t.styles),Zt.delete(o)):i.parent?rs(i.parent.update):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}fo(()=>{for(const i of s)Zt.delete(Dn(i.type))})}function vo(e,t){ve(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function $s(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let it,wn=[],Js=!1;function bn(e,...t){it?it.emit(e,...t):Js||wn.push({event:e,args:t})}function yo(e,t){var n,s;it=e,it?(it.enabled=!0,wn.forEach(({event:i,args:o})=>it.emit(i,...o)),wn=[]):typeof window<"u"&&window.HTMLElement&&!(!((s=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||s===void 0)&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{yo(o,t)}),setTimeout(()=>{it||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Js=!0,wn=[])},3e3)):(Js=!0,wn=[])}function HA(e,t){bn("app:init",e,t,{Fragment:be,Text:On,Comment:ze,Static:vs})}function zA(e){bn("app:unmount",e)}const KA=Ws("component:added"),Eo=Ws("component:updated"),UA=Ws("component:removed"),RA=e=>{it&&typeof it.cleanupBuffer=="function"&&!it.cleanupBuffer(e)&&UA(e)};function Ws(e){return t=>{bn(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const FA=Do("perf:start"),QA=Do("perf:end");function Do(e){return(t,n,s)=>{bn(e,t.appContext.app,t.uid,t,n,s)}}function YA(e,t,n){bn("component:emit",e.appContext.app,e,t,n)}function GA(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ae;if({}.NODE_ENV!=="production"){const{emitsOptions:d,propsOptions:[u]}=e;if(d)if(!(t in d))(!u||!(Ot(t)in u))&&P(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Ot(t)}" prop.`);else{const p=d[t];Q(p)&&(p(...n)||P(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const o=t.startsWith("update:"),r=o&&t.slice(7);if(r&&r in s){const d=`${r==="modelValue"?"model":r}Modifiers`,{number:u,trim:p}=s[d]||ae;p&&(i=n.map(h=>me(h)?h.trim():h)),u&&(i=n.map(Gn))}if({}.NODE_ENV!=="production"&&YA(e,t,i),{}.NODE_ENV!=="production"){const d=t.toLowerCase();d!==t&&s[Ot(d)]&&P(`Event "${d}" is emitted in component ${bs(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ht(t)}" instead of "${t}".`)}let A,a=s[A=Ot(t)]||s[A=Ot(tt(t))];!a&&o&&(a=s[A=Ot(ht(t))]),a&&qe(a,e,6,i);const l=s[A+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[A])return;e.emitted[A]=!0,qe(l,e,6,i)}}function wo(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let r={},A=!1;if(!Q(e)){const a=l=>{const d=wo(l,t,!0);d&&(A=!0,ve(r,d))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!A?(oe(e)&&s.set(e,null),null):(z(o)?o.forEach(a=>r[a]=null):ve(r,o),oe(e)&&s.set(e,r),r)}function As(e,t){return!e||!fn(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,ht(t))||J(e,t))}let De=null,as=null;function ls(e){const t=De;return De=e,as=e&&e.type.__scopeId||null,t}function Pn(e){as=e}function _n(){as=null}function Xs(e,t=De,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&$o(-1);const o=ls(t);let r;try{r=e(...i)}finally{ls(o),s._d&&$o(1)}return{}.NODE_ENV!=="production"&&Eo(t),r};return s._n=!0,s._c=!0,s._d=!0,s}let Zs=!1;function cs(){Zs=!0}function ei(e){const{type:t,vnode:n,proxy:s,withProxy:i,props:o,propsOptions:[r],slots:A,attrs:a,emit:l,render:d,renderCache:u,data:p,setupState:h,ctx:I,inheritAttrs:T}=e;let $,ne;const F=ls(e);({}).NODE_ENV!=="production"&&(Zs=!1);try{if(n.shapeFlag&4){const G=i||s;$=Je(d.call(G,G,u,o,h,p,I)),ne=a}else{const G=t;({}).NODE_ENV!=="production"&&a===o&&cs(),$=Je(G.length>1?G(o,{}.NODE_ENV!=="production"?{get attrs(){return cs(),a},slots:A,emit:l}:{attrs:a,slots:A,emit:l}):G(o,null)),ne=t.props?a:qA(a)}}catch(G){Sn.length=0,os(G,e,1),$=Pe(ze)}let C=$,x;if({}.NODE_ENV!=="production"&&$.patchFlag>0&&$.patchFlag&2048&&([C,x]=VA($)),ne&&T!==!1){const G=Object.keys(ne),{shapeFlag:pe}=C;if(G.length){if(pe&7)r&&G.some(Un)&&(ne=$A(ne,r)),C=bt(C,ne);else if({}.NODE_ENV!=="production"&&!Zs&&C.type!==ze){const Oe=Object.keys(a),we=[],X=[];for(let q=0,Qe=Oe.length;q<Qe;q++){const Re=Oe[q];fn(Re)?Un(Re)||we.push(Re[2].toLowerCase()+Re.slice(3)):X.push(Re)}X.length&&P(`Extraneous non-props attributes (${X.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),we.length&&P(`Extraneous non-emits event listeners (${we.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&({}.NODE_ENV!=="production"&&!Po(C)&&P("Runtime directive used on component with non-element root node. The directives will not function as intended."),C=bt(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&({}.NODE_ENV!=="production"&&!Po(C)&&P("Component inside <Transition> renders non-element root node that cannot be animated."),C.transition=n.transition),{}.NODE_ENV!=="production"&&x?x(C):$=C,ls(F),$}const VA=e=>{const t=e.children,n=e.dynamicChildren,s=bo(t);if(!s)return[e,void 0];const i=t.indexOf(s),o=n?n.indexOf(s):-1,r=A=>{t[i]=A,n&&(o>-1?n[o]=A:A.patchFlag>0&&(e.dynamicChildren=[...n,A]))};return[Je(s),r]};function bo(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(ys(s)){if(s.type!==ze||s.children==="v-if"){if(t)return;t=s}}else return}return t}const qA=e=>{let t;for(const n in e)(n==="class"||n==="style"||fn(n))&&((t||(t={}))[n]=e[n]);return t},$A=(e,t)=>{const n={};for(const s in e)(!Un(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},Po=e=>e.shapeFlag&7||e.type===ze;function JA(e,t,n){const{props:s,children:i,component:o}=e,{props:r,children:A,patchFlag:a}=t,l=o.emitsOptions;if({}.NODE_ENV!=="production"&&(i||A)&&Lt||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?_o(s,r,l):!!r;if(a&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const p=d[u];if(r[p]!==s[p]&&!As(l,p))return!0}}}else return(i||A)&&(!A||!A.$stable)?!0:s===r?!1:s?r?_o(s,r,l):!0:!!r;return!1}function _o(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const o=s[i];if(t[o]!==e[o]&&!As(n,o))return!0}return!1}function WA({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const XA=e=>e.__isSuspense;function ZA(e,t){t&&t.pendingBranch?z(e)?t.effects.push(...e):t.effects.push(e):fo(e)}function ea(e,t){if(!ge)({}).NODE_ENV!=="production"&&P("provide() can only be used inside setup().");else{let n=ge.provides;const s=ge.parent&&ge.parent.provides;s===n&&(n=ge.provides=Object.create(s)),n[e]=t}}function us(e,t,n=!1){const s=ge||De;if(s){const i=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Q(t)?t.call(s.proxy):t;({}).NODE_ENV!=="production"&&P(`injection "${String(e)}" not found.`)}else({}).NODE_ENV!=="production"&&P("inject() can only be used inside setup() or functional components.")}const fs={};function Cn(e,t,n){return{}.NODE_ENV!=="production"&&!Q(t)&&P("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Co(e,t,n)}function Co(e,t,{immediate:n,deep:s,flush:i,onTrack:o,onTrigger:r}=ae){({}).NODE_ENV!=="production"&&!t&&(n!==void 0&&P('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&P('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const A=x=>{P("Invalid watch source: ",x,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},a=Qr()===(ge==null?void 0:ge.scope)?ge:null;let l,d=!1,u=!1;if(Ee(e)?(l=()=>e.value,d=ns(e)):xt(e)?(l=()=>e,s=!0):z(e)?(u=!0,d=e.some(x=>xt(x)||ns(x)),l=()=>e.map(x=>{if(Ee(x))return x.value;if(xt(x))return Bt(x);if(Q(x))return lt(x,a,2);({}).NODE_ENV!=="production"&&A(x)})):Q(e)?t?l=()=>lt(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return p&&p(),qe(e,a,3,[h])}:(l=_e,{}.NODE_ENV!=="production"&&A(e)),t&&s){const x=l;l=()=>Bt(x())}let p,h=x=>{p=F.onStop=()=>{lt(x,a,4)}},I;if(kn)if(h=_e,t?n&&qe(t,a,3,[l(),u?[]:void 0,h]):l(),i==="sync"){const x=rl();I=x.__watcherHandles||(x.__watcherHandles=[])}else return _e;let T=u?new Array(e.length).fill(fs):fs;const $=()=>{if(F.active)if(t){const x=F.run();(s||d||(u?x.some((G,pe)=>pn(G,T[pe])):pn(x,T)))&&(p&&p(),qe(t,a,3,[x,T===fs?void 0:u&&T[0]===fs?[]:T,h]),T=x)}else F.run()};$.allowRecurse=!!t;let ne;i==="sync"?ne=$:i==="post"?ne=()=>He($,a&&a.suspense):($.pre=!0,a&&($.id=a.uid),ne=()=>rs($));const F=new zs(l,ne);({}).NODE_ENV!=="production"&&(F.onTrack=o,F.onTrigger=r),t?n?$():T=F.run():i==="post"?He(F.run.bind(F),a&&a.suspense):F.run();const C=()=>{F.stop(),a&&a.scope&&Ms(a.scope.effects,F)};return I&&I.push(C),C}function ta(e,t,n){const s=this.proxy,i=me(e)?e.includes(".")?Io(s,e):()=>s[e]:e.bind(s,s);let o;Q(t)?o=t:(o=t.handler,n=t);const r=ge;tn(this);const A=Co(i,o.bind(s),n);return r?tn(r):Rt(),A}function Io(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}function Bt(e,t){if(!oe(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ee(e))Bt(e.value,t);else if(z(e))for(let n=0;n<e.length;n++)Bt(e[n],t);else if(Rn(e)||It(e))e.forEach(n=>{Bt(n,t)});else if(Li(e))for(const n in e)Bt(e[n],t);return e}function Te(e){return Q(e)?{setup:e,name:e.name}:e}const In=e=>!!e.type.__asyncLoader,ti=e=>e.type.__isKeepAlive;function na(e,t){No(e,"a",t)}function sa(e,t){No(e,"da",t)}function No(e,t,n=ge){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ds(t,s,n),n){let i=n.parent;for(;i&&i.parent;)ti(i.parent.vnode)&&ia(s,t,n,i),i=i.parent}}function ia(e,t,n,s){const i=ds(t,e,s,!0);en(()=>{Ms(s[t],i)},n)}function ds(e,t,n=ge,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Mt(),tn(n);const A=qe(t,n,e,r);return Rt(),Tt(),A});return s?i.unshift(o):i.push(o),o}else if({}.NODE_ENV!=="production"){const i=Ot(Ys[e].replace(/ hook$/,""));P(`${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const ct=e=>(t,n=ge)=>(!kn||e==="sp")&&ds(e,(...s)=>t(...s),n),oa=ct("bm"),Et=ct("m"),ra=ct("bu"),Aa=ct("u"),aa=ct("bum"),en=ct("um"),la=ct("sp"),ca=ct("rtg"),ua=ct("rtc");function fa(e,t=ge){ds("ec",e,t)}function Oo(e){zr(e)&&P("Do not use built-in directive ids as custom directive id: "+e)}function Dt(e,t){const n=De;if(n===null)return{}.NODE_ENV!=="production"&&P("withDirectives can only be used inside render functions."),e;const s=ws(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,A,a,l=ae]=t[o];r&&(Q(r)&&(r={mounted:r,updated:r}),r.deep&&Bt(A),i.push({dir:r,instance:s,value:A,oldValue:void 0,arg:a,modifiers:l}))}return e}function Ht(e,t,n,s){const i=e.dirs,o=t&&t.dirs;for(let r=0;r<i.length;r++){const A=i[r];o&&(A.oldValue=o[r].value);let a=A.dir[s];a&&(Mt(),qe(a,n,8,[e.el,A,e,t]),Tt())}}const ni="components",So=Symbol();function da(e){return me(e)?ha(ni,e,!1)||e:e||So}function ha(e,t,n=!0,s=!1){const i=De||ge;if(i){const o=i.type;if(e===ni){const A=mi(o,!1);if(A&&(A===t||A===tt(t)||A===Nt(tt(t))))return o}const r=Mo(i[e]||o[e],t)||Mo(i.appContext[e],t);if(!r&&s)return o;if({}.NODE_ENV!=="production"&&n&&!r){const A=e===ni?`
5
+ If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";P(`Failed to resolve ${e.slice(0,-1)}: ${t}${A}`)}return r}else({}).NODE_ENV!=="production"&&P(`resolve${Nt(e.slice(0,-1))} can only be used in render() or setup().`)}function Mo(e,t){return e&&(e[t]||e[tt(t)]||e[Nt(tt(t))])}function pa(e,t,n,s){let i;const o=n&&n[s];if(z(e)||me(e)){i=new Array(e.length);for(let r=0,A=e.length;r<A;r++)i[r]=t(e[r],r,void 0,o&&o[r])}else if(typeof e=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(e)&&P(`The v-for range expect an integer value but got ${e}.`),i=new Array(e);for(let r=0;r<e;r++)i[r]=t(r+1,r,void 0,o&&o[r])}else if(oe(e))if(e[Symbol.iterator])i=Array.from(e,(r,A)=>t(r,A,void 0,o&&o[A]));else{const r=Object.keys(e);i=new Array(r.length);for(let A=0,a=r.length;A<a;A++){const l=r[A];i[A]=t(e[l],l,A,o&&o[A])}}else i=[];return n&&(n[s]=i),i}function hs(e,t,n={},s,i){if(De.isCE||De.parent&&In(De.parent)&&De.parent.isCE)return t!=="default"&&(n.name=t),Pe("slot",n,s&&s());let o=e[t];({}).NODE_ENV!=="production"&&o&&o.length>1&&(P("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),o=()=>[]),o&&o._c&&(o._d=!1),ee();const r=o&&To(o(n)),A=Tn(be,{key:n.key||r&&r.key||`_${t}`},r||(s?s():[]),r&&e._===1?64:-2);return!i&&A.scopeId&&(A.slotScopeIds=[A.scopeId+"-s"]),o&&o._c&&(o._d=!0),A}function To(e){return e.some(t=>ys(t)?!(t.type===ze||t.type===be&&!To(t.children)):!0)?e:null}const si=e=>e?tr(e)?ws(e)||e.proxy:si(e.parent):null,zt=ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>({}).NODE_ENV!=="production"?Wt(e.props):e.props,$attrs:e=>({}).NODE_ENV!=="production"?Wt(e.attrs):e.attrs,$slots:e=>({}).NODE_ENV!=="production"?Wt(e.slots):e.slots,$refs:e=>({}).NODE_ENV!=="production"?Wt(e.refs):e.refs,$parent:e=>si(e.parent),$root:e=>si(e.root),$emit:e=>e.emit,$options:e=>Ai(e),$forceUpdate:e=>e.f||(e.f=()=>rs(e.update)),$nextTick:e=>e.n||(e.n=SA.bind(e.proxy)),$watch:e=>ta.bind(e)}),ii=e=>e==="_"||e==="$",oi=(e,t)=>e!==ae&&!e.__isScriptSetup&&J(e,t),xo={get({_:e},t){const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:A,appContext:a}=e;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let l;if(t[0]!=="$"){const h=r[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(oi(s,t))return r[t]=1,s[t];if(i!==ae&&J(i,t))return r[t]=2,i[t];if((l=e.propsOptions[0])&&J(l,t))return r[t]=3,o[t];if(n!==ae&&J(n,t))return r[t]=4,n[t];ri&&(r[t]=0)}}const d=zt[t];let u,p;if(d)return t==="$attrs"&&(Me(e,"get",t),{}.NODE_ENV!=="production"&&cs()),d(e);if((u=A.__cssModules)&&(u=u[t]))return u;if(n!==ae&&J(n,t))return r[t]=4,n[t];if(p=a.config.globalProperties,J(p,t))return p[t];({}).NODE_ENV!=="production"&&De&&(!me(t)||t.indexOf("__v")!==0)&&(i!==ae&&ii(t[0])&&J(i,t)?P(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===De&&P(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return oi(i,t)?(i[t]=n,!0):{}.NODE_ENV!=="production"&&i.__isScriptSetup&&J(i,t)?(P(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==ae&&J(s,t)?(s[t]=n,!0):J(e.props,t)?({}.NODE_ENV!=="production"&&P(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?({}.NODE_ENV!=="production"&&P(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(o,t,{enumerable:!0,configurable:!0,value:n}):o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let A;return!!n[r]||e!==ae&&J(e,r)||oi(t,r)||(A=o[0])&&J(A,r)||J(s,r)||J(zt,r)||J(i.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};({}).NODE_ENV!=="production"&&(xo.ownKeys=e=>(P("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function ma(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(zt).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>zt[n](e),set:_e})}),t}function ga(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:_e})})}function va(e){const{ctx:t,setupState:n}=e;Object.keys(V(n)).forEach(s=>{if(!n.__isScriptSetup){if(ii(s[0])){P(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:_e})}})}function ya(){const e=Object.create(null);return(t,n)=>{e[n]?P(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let ri=!0;function Ea(e){const t=Ai(e),n=e.proxy,s=e.ctx;ri=!1,t.beforeCreate&&ko(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:A,provide:a,inject:l,created:d,beforeMount:u,mounted:p,beforeUpdate:h,updated:I,activated:T,deactivated:$,beforeDestroy:ne,beforeUnmount:F,destroyed:C,unmounted:x,render:G,renderTracked:pe,renderTriggered:Oe,errorCaptured:we,serverPrefetch:X,expose:q,inheritAttrs:Qe,components:Re,directives:R,filters:M}=t,N={}.NODE_ENV!=="production"?ya():null;if({}.NODE_ENV!=="production"){const[y]=e.propsOptions;if(y)for(const S in y)N("Props",S)}if(l&&Da(l,s,N,e.appContext.config.unwrapInjectedRef),r)for(const y in r){const S=r[y];Q(S)?({}.NODE_ENV!=="production"?Object.defineProperty(s,y,{value:S.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[y]=S.bind(n),{}.NODE_ENV!=="production"&&N("Methods",y)):{}.NODE_ENV!=="production"&&P(`Method "${y}" has type "${typeof S}" in the component definition. Did you reference the function correctly?`)}if(i){({}).NODE_ENV!=="production"&&!Q(i)&&P("The data option must be a function. Plain object usage is no longer supported.");const y=i.call(n,n);if({}.NODE_ENV!=="production"&&Ts(y)&&P("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!oe(y))({}).NODE_ENV!=="production"&&P("data() should return an object.");else if(e.data=Rs(y),{}.NODE_ENV!=="production")for(const S in y)N("Data",S),ii(S[0])||Object.defineProperty(s,S,{configurable:!0,enumerable:!0,get:()=>y[S],set:_e})}if(ri=!0,o)for(const y in o){const S=o[y],U=Q(S)?S.bind(n,n):Q(S.get)?S.get.bind(n,n):_e;({}).NODE_ENV!=="production"&&U===_e&&P(`Computed property "${y}" has no getter.`);const se=!Q(S)&&Q(S.set)?S.set.bind(n):{}.NODE_ENV!=="production"?()=>{P(`Write operation failed: computed property "${y}" is readonly.`)}:_e,fe=We({get:U,set:se});Object.defineProperty(s,y,{enumerable:!0,configurable:!0,get:()=>fe.value,set:Ae=>fe.value=Ae}),{}.NODE_ENV!=="production"&&N("Computed",y)}if(A)for(const y in A)Lo(A[y],s,n,y);if(a){const y=Q(a)?a.call(n):a;Reflect.ownKeys(y).forEach(S=>{ea(S,y[S])})}d&&ko(d,e,"c");function B(y,S){z(S)?S.forEach(U=>y(U.bind(n))):S&&y(S.bind(n))}if(B(oa,u),B(Et,p),B(ra,h),B(Aa,I),B(na,T),B(sa,$),B(fa,we),B(ua,pe),B(ca,Oe),B(aa,F),B(en,x),B(la,X),z(q))if(q.length){const y=e.exposed||(e.exposed={});q.forEach(S=>{Object.defineProperty(y,S,{get:()=>n[S],set:U=>n[S]=U})})}else e.exposed||(e.exposed={});G&&e.render===_e&&(e.render=G),Qe!=null&&(e.inheritAttrs=Qe),Re&&(e.components=Re),R&&(e.directives=R)}function Da(e,t,n=_e,s=!1){z(e)&&(e=ai(e));for(const i in e){const o=e[i];let r;oe(o)?"default"in o?r=us(o.from||i,o.default,!0):r=us(o.from||i):r=us(o),Ee(r)?s?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:A=>r.value=A}):({}.NODE_ENV!=="production"&&P(`injected property "${i}" is a ref and will be auto-unwrapped and no longer needs \`.value\` in the next minor release. To opt-in to the new behavior now, set \`app.config.unwrapInjectedRef = true\` (this config is temporary and will not be needed in the future.)`),t[i]=r):t[i]=r,{}.NODE_ENV!=="production"&&n("Inject",i)}}function ko(e,t,n){qe(z(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,s){const i=s.includes(".")?Io(n,s):()=>n[s];if(me(e)){const o=t[e];Q(o)?Cn(i,o):{}.NODE_ENV!=="production"&&P(`Invalid watch handler specified by key "${e}"`,o)}else if(Q(e))Cn(i,e.bind(n));else if(oe(e))if(z(e))e.forEach(o=>Lo(o,t,n,s));else{const o=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(o)?Cn(i,o,e):{}.NODE_ENV!=="production"&&P(`Invalid watch handler specified by key "${e.handler}"`,o)}else({}).NODE_ENV!=="production"&&P(`Invalid watch option: "${s}"`,e)}function Ai(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,A=o.get(t);let a;return A?a=A:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(l=>ps(a,l,r,!0)),ps(a,t,r)),oe(t)&&o.set(t,a),a}function ps(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&ps(e,o,n,!0),i&&i.forEach(r=>ps(e,r,n,!0));for(const r in t)if(s&&r==="expose")({}).NODE_ENV!=="production"&&P('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const A=wa[r]||n&&n[r];e[r]=A?A(e[r],t[r]):t[r]}return e}const wa={data:jo,props:Kt,emits:Kt,methods:Kt,computed:Kt,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:Kt,directives:Kt,watch:Pa,provide:jo,inject:ba};function jo(e,t){return t?e?function(){return ve(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function ba(e,t){return Kt(ai(e),ai(t))}function ai(e){if(z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xe(e,t){return e?[...new Set([].concat(e,t))]:t}function Kt(e,t){return e?ve(ve(Object.create(null),e),t):t}function Pa(e,t){if(!e)return t;if(!t)return e;const n=ve(Object.create(null),e);for(const s in t)n[s]=xe(e[s],t[s]);return n}function _a(e,t,n,s=!1){const i={},o={};Yn(o,Es,1),e.propsDefaults=Object.create(null),Bo(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);({}).NODE_ENV!=="production"&&Ro(t||{},i,e),n?e.props=s?i:vA(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Ca(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Ia(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,A=V(i),[a]=e.propsOptions;let l=!1;if(!({}.NODE_ENV!=="production"&&Ca(e))&&(s||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let p=d[u];if(As(e.emitsOptions,p))continue;const h=t[p];if(a)if(J(o,p))h!==o[p]&&(o[p]=h,l=!0);else{const I=tt(p);i[I]=li(a,A,I,h,e,!1)}else h!==o[p]&&(o[p]=h,l=!0)}}}else{Bo(e,t,i,o)&&(l=!0);let d;for(const u in A)(!t||!J(t,u)&&((d=ht(u))===u||!J(t,d)))&&(a?n&&(n[u]!==void 0||n[d]!==void 0)&&(i[u]=li(a,A,u,void 0,e,!0)):delete i[u]);if(o!==A)for(const u in o)(!t||!J(t,u))&&(delete o[u],l=!0)}l&&at(e,"set","$attrs"),{}.NODE_ENV!=="production"&&Ro(t||{},i,e)}function Bo(e,t,n,s){const[i,o]=e.propsOptions;let r=!1,A;if(t)for(let a in t){if(Fn(a))continue;const l=t[a];let d;i&&J(i,d=tt(a))?!o||!o.includes(d)?n[d]=l:(A||(A={}))[d]=l:As(e.emitsOptions,a)||(!(a in s)||l!==s[a])&&(s[a]=l,r=!0)}if(o){const a=V(n),l=A||ae;for(let d=0;d<o.length;d++){const u=o[d];n[u]=li(i,a,u,l[u],e,!J(l,u))}}return r}function li(e,t,n,s,i,o){const r=e[n];if(r!=null){const A=J(r,"default");if(A&&s===void 0){const a=r.default;if(r.type!==Function&&Q(a)){const{propsDefaults:l}=i;n in l?s=l[n]:(tn(i),s=l[n]=a.call(null,t),Rt())}else s=a}r[0]&&(o&&!A?s=!1:r[1]&&(s===""||s===ht(n))&&(s=!0))}return s}function Ho(e,t,n=!1){const s=t.propsCache,i=s.get(e);if(i)return i;const o=e.props,r={},A=[];let a=!1;if(!Q(e)){const d=u=>{a=!0;const[p,h]=Ho(u,t,!0);ve(r,p),h&&A.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!a)return oe(e)&&s.set(e,qt),qt;if(z(o))for(let d=0;d<o.length;d++){({}).NODE_ENV!=="production"&&!me(o[d])&&P("props must be strings when using array syntax.",o[d]);const u=tt(o[d]);zo(u)&&(r[u]=ae)}else if(o){({}).NODE_ENV!=="production"&&!oe(o)&&P("invalid props options",o);for(const d in o){const u=tt(d);if(zo(u)){const p=o[d],h=r[u]=z(p)||Q(p)?{type:p}:Object.assign({},p);if(h){const I=Uo(Boolean,h.type),T=Uo(String,h.type);h[0]=I>-1,h[1]=T<0||I<T,(I>-1||J(h,"default"))&&A.push(u)}}}}const l=[r,A];return oe(e)&&s.set(e,l),l}function zo(e){return e[0]!=="$"?!0:({}.NODE_ENV!=="production"&&P(`Invalid prop name: "${e}" is a reserved property.`),!1)}function ci(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ko(e,t){return ci(e)===ci(t)}function Uo(e,t){return z(t)?t.findIndex(n=>Ko(n,e)):Q(t)&&Ko(t,e)?0:-1}function Ro(e,t,n){const s=V(t),i=n.propsOptions[0];for(const o in i){let r=i[o];r!=null&&Na(o,s[o],r,!J(e,o)&&!J(e,ht(o)))}}function Na(e,t,n,s){const{type:i,required:o,validator:r}=n;if(o&&s){P('Missing required prop: "'+e+'"');return}if(!(t==null&&!n.required)){if(i!=null&&i!==!0){let A=!1;const a=z(i)?i:[i],l=[];for(let d=0;d<a.length&&!A;d++){const{valid:u,expectedType:p}=Sa(t,a[d]);l.push(p||""),A=u}if(!A){P(Ma(e,t,l));return}}r&&!r(t)&&P('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Oa=Ie("String,Number,Boolean,Function,Symbol,BigInt");function Sa(e,t){let n;const s=ci(t);if(Oa(s)){const i=typeof e;n=i===s.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else s==="Object"?n=oe(e):s==="Array"?n=z(e):s==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:s}}function Ma(e,t,n){let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Nt).join(" | ")}`;const i=n[0],o=xs(t),r=Fo(t,i),A=Fo(t,o);return n.length===1&&Qo(i)&&!Ta(i,o)&&(s+=` with value ${r}`),s+=`, got ${o} `,Qo(o)&&(s+=`with value ${A}.`),s}function Fo(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Qo(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Ta(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Yo=e=>e[0]==="_"||e==="$stable",ui=e=>z(e)?e.map(Je):[Je(e)],xa=(e,t,n)=>{if(t._n)return t;const s=Xs((...i)=>({}.NODE_ENV!=="production"&&ge&&P(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),ui(t(...i))),n);return s._c=!1,s},Go=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Yo(i))continue;const o=e[i];if(Q(o))t[i]=xa(i,o,s);else if(o!=null){({}).NODE_ENV!=="production"&&P(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const r=ui(o);t[i]=()=>r}}},Vo=(e,t)=>{({}).NODE_ENV!=="production"&&!ti(e.vnode)&&P("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=ui(t);e.slots.default=()=>n},ka=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=V(t),Yn(t,"_",n)):Go(t,e.slots={})}else e.slots={},t&&Vo(e,t);Yn(e.slots,Es,1)},La=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,r=ae;if(s.shapeFlag&32){const A=t._;A?{}.NODE_ENV!=="production"&&Lt?ve(i,t):n&&A===1?o=!1:(ve(i,t),!n&&A===1&&delete i._):(o=!t.$stable,Go(t,i)),r=t}else t&&(Vo(e,t),r={default:1});if(o)for(const A in i)!Yo(A)&&!(A in r)&&delete i[A]};function qo(){return{app:null,config:{isNativeTag:Ti,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ja=0;function Ba(e,t){return function(s,i=null){Q(s)||(s=Object.assign({},s)),i!=null&&!oe(i)&&({}.NODE_ENV!=="production"&&P("root props passed to app.mount() must be an object."),i=null);const o=qo(),r=new Set;let A=!1;const a=o.app={_uid:ja++,_component:s,_props:i,_container:null,_context:o,_instance:null,version:Ar,get config(){return o.config},set config(l){({}).NODE_ENV!=="production"&&P("app.config cannot be replaced. Modify individual options instead.")},use(l,...d){return r.has(l)?{}.NODE_ENV!=="production"&&P("Plugin has already been applied to target app."):l&&Q(l.install)?(r.add(l),l.install(a,...d)):Q(l)?(r.add(l),l(a,...d)):{}.NODE_ENV!=="production"&&P('A plugin must either be a function or an object with an "install" function.'),a},mixin(l){return o.mixins.includes(l)?{}.NODE_ENV!=="production"&&P("Mixin has already been applied to target app"+(l.name?`: ${l.name}`:"")):o.mixins.push(l),a},component(l,d){return{}.NODE_ENV!=="production"&&hi(l,o.config),d?({}.NODE_ENV!=="production"&&o.components[l]&&P(`Component "${l}" has already been registered in target app.`),o.components[l]=d,a):o.components[l]},directive(l,d){return{}.NODE_ENV!=="production"&&Oo(l),d?({}.NODE_ENV!=="production"&&o.directives[l]&&P(`Directive "${l}" has already been registered in target app.`),o.directives[l]=d,a):o.directives[l]},mount(l,d,u){if(A)({}).NODE_ENV!=="production"&&P("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&l.__vue_app__&&P("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const p=Pe(s,i);return p.appContext=o,{}.NODE_ENV!=="production"&&(o.reload=()=>{e(bt(p),l,u)}),d&&t?t(p,l):e(p,l,u),A=!0,a._container=l,l.__vue_app__=a,{}.NODE_ENV!=="production"&&(a._instance=p.component,HA(a,Ar)),ws(p.component)||p.component.proxy}},unmount(){A?(e(null,a._container),{}.NODE_ENV!=="production"&&(a._instance=null,zA(a)),delete a._container.__vue_app__):{}.NODE_ENV!=="production"&&P("Cannot unmount an app that is not mounted.")},provide(l,d){return{}.NODE_ENV!=="production"&&l in o.provides&&P(`App already provides property with key "${String(l)}". It will be overwritten with the new value.`),o.provides[l]=d,a}};return a}}function fi(e,t,n,s,i=!1){if(z(e)){e.forEach((p,h)=>fi(p,t&&(z(t)?t[h]:t),n,s,i));return}if(In(s)&&!i)return;const o=s.shapeFlag&4?ws(s.component)||s.component.proxy:s.el,r=i?null:o,{i:A,r:a}=e;if({}.NODE_ENV!=="production"&&!A){P("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const l=t&&t.r,d=A.refs===ae?A.refs={}:A.refs,u=A.setupState;if(l!=null&&l!==a&&(me(l)?(d[l]=null,J(u,l)&&(u[l]=null)):Ee(l)&&(l.value=null)),Q(a))lt(a,A,12,[r,d]);else{const p=me(a),h=Ee(a);if(p||h){const I=()=>{if(e.f){const T=p?J(u,a)?u[a]:d[a]:a.value;i?z(T)&&Ms(T,o):z(T)?T.includes(o)||T.push(o):p?(d[a]=[o],J(u,a)&&(u[a]=d[a])):(a.value=[o],e.k&&(d[e.k]=a.value))}else p?(d[a]=r,J(u,a)&&(u[a]=r)):h?(a.value=r,e.k&&(d[e.k]=r)):{}.NODE_ENV!=="production"&&P("Invalid template ref type:",a,`(${typeof a})`)};r?(I.id=-1,He(I,n)):I()}else({}).NODE_ENV!=="production"&&P("Invalid template ref type:",a,`(${typeof a})`)}}let Nn,wt;function ut(e,t){e.appContext.config.performance&&ms()&&wt.mark(`vue-${t}-${e.uid}`),{}.NODE_ENV!=="production"&&FA(e,t,ms()?wt.now():Date.now())}function ft(e,t){if(e.appContext.config.performance&&ms()){const n=`vue-${t}-${e.uid}`,s=n+":end";wt.mark(s),wt.measure(`<${bs(e,e.type)}> ${t}`,n,s),wt.clearMarks(n),wt.clearMarks(s)}({}).NODE_ENV!=="production"&&QA(e,t,ms()?wt.now():Date.now())}function ms(){return Nn!==void 0||(typeof window<"u"&&window.performance?(Nn=!0,wt=window.performance):Nn=!1),Nn}function Ha(){const e=[];if({}.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
6
+
7
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const He=ZA;function za(e){return Ka(e)}function Ka(e,t){Ha();const n=Bi();n.__VUE__=!0,{}.NODE_ENV!=="production"&&yo(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:i,patchProp:o,createElement:r,createText:A,createComment:a,setText:l,setElementText:d,parentNode:u,nextSibling:p,setScopeId:h=_e,insertStaticContent:I}=e,T=(c,f,m,v=null,g=null,w=null,O=!1,D=null,_={}.NODE_ENV!=="production"&&Lt?!1:!!f.dynamicChildren)=>{if(c===f)return;c&&!xn(c,f)&&(v=Ze(c),de(c,g,w,!0),c=null),f.patchFlag===-2&&(_=!1,f.dynamicChildren=null);const{type:E,ref:j,shapeFlag:k}=f;switch(E){case On:$(c,f,m,v);break;case ze:ne(c,f,m,v);break;case vs:c==null?F(f,m,v,O):{}.NODE_ENV!=="production"&&C(c,f,m,O);break;case be:R(c,f,m,v,g,w,O,D,_);break;default:k&1?pe(c,f,m,v,g,w,O,D,_):k&6?M(c,f,m,v,g,w,O,D,_):k&64||k&128?E.process(c,f,m,v,g,w,O,D,_,je):{}.NODE_ENV!=="production"&&P("Invalid VNode type:",E,`(${typeof E})`)}j!=null&&g&&fi(j,c&&c.ref,w,f||c,!f)},$=(c,f,m,v)=>{if(c==null)s(f.el=A(f.children),m,v);else{const g=f.el=c.el;f.children!==c.children&&l(g,f.children)}},ne=(c,f,m,v)=>{c==null?s(f.el=a(f.children||""),m,v):f.el=c.el},F=(c,f,m,v)=>{[c.el,c.anchor]=I(c.children,f,m,v,c.el,c.anchor)},C=(c,f,m,v)=>{if(f.children!==c.children){const g=p(c.anchor);G(c),[f.el,f.anchor]=I(f.children,m,g,v)}else f.el=c.el,f.anchor=c.anchor},x=({el:c,anchor:f},m,v)=>{let g;for(;c&&c!==f;)g=p(c),s(c,m,v),c=g;s(f,m,v)},G=({el:c,anchor:f})=>{let m;for(;c&&c!==f;)m=p(c),i(c),c=m;i(f)},pe=(c,f,m,v,g,w,O,D,_)=>{O=O||f.type==="svg",c==null?Oe(f,m,v,g,w,O,D,_):q(c,f,g,w,O,D,_)},Oe=(c,f,m,v,g,w,O,D)=>{let _,E;const{type:j,props:k,shapeFlag:H,transition:Y,dirs:Z}=c;if(_=c.el=r(c.type,w,k&&k.is,k),H&8?d(_,c.children):H&16&&X(c.children,_,null,v,g,w&&j!=="foreignObject",O,D),Z&&Ht(c,null,v,"created"),we(_,c,c.scopeId,O,v),k){for(const ce in k)ce!=="value"&&!Fn(ce)&&o(_,ce,null,k[ce],w,c.children,v,g,Le);"value"in k&&o(_,"value",null,k.value),(E=k.onVnodeBeforeMount)&&ot(E,v,c)}({}).NODE_ENV!=="production"&&(Object.defineProperty(_,"__vnode",{value:c,enumerable:!1}),Object.defineProperty(_,"__vueParentComponent",{value:v,enumerable:!1})),Z&&Ht(c,null,v,"beforeMount");const ue=(!g||g&&!g.pendingBranch)&&Y&&!Y.persisted;ue&&Y.beforeEnter(_),s(_,f,m),((E=k&&k.onVnodeMounted)||ue||Z)&&He(()=>{E&&ot(E,v,c),ue&&Y.enter(_),Z&&Ht(c,null,v,"mounted")},g)},we=(c,f,m,v,g)=>{if(m&&h(c,m),v)for(let w=0;w<v.length;w++)h(c,v[w]);if(g){let w=g.subTree;if({}.NODE_ENV!=="production"&&w.patchFlag>0&&w.patchFlag&2048&&(w=bo(w.children)||w),f===w){const O=g.vnode;we(c,O,O.scopeId,O.slotScopeIds,g.parent)}}},X=(c,f,m,v,g,w,O,D,_=0)=>{for(let E=_;E<c.length;E++){const j=c[E]=D?Pt(c[E]):Je(c[E]);T(null,j,f,m,v,g,w,O,D)}},q=(c,f,m,v,g,w,O)=>{const D=f.el=c.el;let{patchFlag:_,dynamicChildren:E,dirs:j}=f;_|=c.patchFlag&16;const k=c.props||ae,H=f.props||ae;let Y;m&&Ut(m,!1),(Y=H.onVnodeBeforeUpdate)&&ot(Y,m,f,c),j&&Ht(f,c,m,"beforeUpdate"),m&&Ut(m,!0),{}.NODE_ENV!=="production"&&Lt&&(_=0,O=!1,E=null);const Z=g&&f.type!=="foreignObject";if(E?(Qe(c.dynamicChildren,E,D,m,v,Z,w),{}.NODE_ENV!=="production"&&m&&m.type.__hmrId&&gs(c,f)):O||U(c,f,D,null,m,v,Z,w,!1),_>0){if(_&16)Re(D,f,k,H,m,v,g);else if(_&2&&k.class!==H.class&&o(D,"class",null,H.class,g),_&4&&o(D,"style",k.style,H.style,g),_&8){const ue=f.dynamicProps;for(let ce=0;ce<ue.length;ce++){const ye=ue[ce],et=k[ye],cn=H[ye];(cn!==et||ye==="value")&&o(D,ye,et,cn,g,c.children,m,v,Le)}}_&1&&c.children!==f.children&&d(D,f.children)}else!O&&E==null&&Re(D,f,k,H,m,v,g);((Y=H.onVnodeUpdated)||j)&&He(()=>{Y&&ot(Y,m,f,c),j&&Ht(f,c,m,"updated")},v)},Qe=(c,f,m,v,g,w,O)=>{for(let D=0;D<f.length;D++){const _=c[D],E=f[D],j=_.el&&(_.type===be||!xn(_,E)||_.shapeFlag&70)?u(_.el):m;T(_,E,j,null,v,g,w,O,!0)}},Re=(c,f,m,v,g,w,O)=>{if(m!==v){if(m!==ae)for(const D in m)!Fn(D)&&!(D in v)&&o(c,D,m[D],null,O,f.children,g,w,Le);for(const D in v){if(Fn(D))continue;const _=v[D],E=m[D];_!==E&&D!=="value"&&o(c,D,E,_,O,f.children,g,w,Le)}"value"in v&&o(c,"value",m.value,v.value)}},R=(c,f,m,v,g,w,O,D,_)=>{const E=f.el=c?c.el:A(""),j=f.anchor=c?c.anchor:A("");let{patchFlag:k,dynamicChildren:H,slotScopeIds:Y}=f;({}).NODE_ENV!=="production"&&(Lt||k&2048)&&(k=0,_=!1,H=null),Y&&(D=D?D.concat(Y):Y),c==null?(s(E,m,v),s(j,m,v),X(f.children,m,j,g,w,O,D,_)):k>0&&k&64&&H&&c.dynamicChildren?(Qe(c.dynamicChildren,H,m,g,w,O,D),{}.NODE_ENV!=="production"&&g&&g.type.__hmrId?gs(c,f):(f.key!=null||g&&f===g.subTree)&&gs(c,f,!0)):U(c,f,m,j,g,w,O,D,_)},M=(c,f,m,v,g,w,O,D,_)=>{f.slotScopeIds=D,c==null?f.shapeFlag&512?g.ctx.activate(f,m,v,O,_):N(f,m,v,g,w,O,_):B(c,f,_)},N=(c,f,m,v,g,w,O)=>{const D=c.component=$a(c,v,g);if({}.NODE_ENV!=="production"&&D.type.__hmrId&&kA(D),{}.NODE_ENV!=="production"&&(ss(c),ut(D,"mount")),ti(c)&&(D.ctx.renderer=je),{}.NODE_ENV!=="production"&&ut(D,"init"),Xa(D),{}.NODE_ENV!=="production"&&ft(D,"init"),D.asyncDep){if(g&&g.registerDep(D,y),!c.el){const _=D.subTree=Pe(ze);ne(null,_,f,m)}return}y(D,c,f,m,g,w,O),{}.NODE_ENV!=="production"&&(is(),ft(D,"mount"))},B=(c,f,m)=>{const v=f.component=c.component;if(JA(c,f,m))if(v.asyncDep&&!v.asyncResolved){({}).NODE_ENV!=="production"&&ss(f),S(v,f,m),{}.NODE_ENV!=="production"&&is();return}else v.next=f,TA(v.update),v.update();else f.el=c.el,v.vnode=f},y=(c,f,m,v,g,w,O)=>{const D=()=>{if(c.isMounted){let{next:j,bu:k,u:H,parent:Y,vnode:Z}=c,ue=j,ce;({}).NODE_ENV!=="production"&&ss(j||c.vnode),Ut(c,!1),j?(j.el=Z.el,S(c,j,O)):j=Z,k&&$t(k),(ce=j.props&&j.props.onVnodeBeforeUpdate)&&ot(ce,Y,j,Z),Ut(c,!0),{}.NODE_ENV!=="production"&&ut(c,"render");const ye=ei(c);({}).NODE_ENV!=="production"&&ft(c,"render");const et=c.subTree;c.subTree=ye,{}.NODE_ENV!=="production"&&ut(c,"patch"),T(et,ye,u(et.el),Ze(et),c,g,w),{}.NODE_ENV!=="production"&&ft(c,"patch"),j.el=ye.el,ue===null&&WA(c,ye.el),H&&He(H,g),(ce=j.props&&j.props.onVnodeUpdated)&&He(()=>ot(ce,Y,j,Z),g),{}.NODE_ENV!=="production"&&Eo(c),{}.NODE_ENV!=="production"&&is()}else{let j;const{el:k,props:H}=f,{bm:Y,m:Z,parent:ue}=c,ce=In(f);if(Ut(c,!1),Y&&$t(Y),!ce&&(j=H&&H.onVnodeBeforeMount)&&ot(j,ue,f),Ut(c,!0),k&&_t){const ye=()=>{({}).NODE_ENV!=="production"&&ut(c,"render"),c.subTree=ei(c),{}.NODE_ENV!=="production"&&ft(c,"render"),{}.NODE_ENV!=="production"&&ut(c,"hydrate"),_t(k,c.subTree,c,g,null),{}.NODE_ENV!=="production"&&ft(c,"hydrate")};ce?f.type.__asyncLoader().then(()=>!c.isUnmounted&&ye()):ye()}else{({}).NODE_ENV!=="production"&&ut(c,"render");const ye=c.subTree=ei(c);({}).NODE_ENV!=="production"&&ft(c,"render"),{}.NODE_ENV!=="production"&&ut(c,"patch"),T(null,ye,m,v,c,g,w),{}.NODE_ENV!=="production"&&ft(c,"patch"),f.el=ye.el}if(Z&&He(Z,g),!ce&&(j=H&&H.onVnodeMounted)){const ye=f;He(()=>ot(j,ue,ye),g)}(f.shapeFlag&256||ue&&In(ue.vnode)&&ue.vnode.shapeFlag&256)&&c.a&&He(c.a,g),c.isMounted=!0,{}.NODE_ENV!=="production"&&KA(c),f=m=v=null}},_=c.effect=new zs(D,()=>rs(E),c.scope),E=c.update=()=>_.run();E.id=c.uid,Ut(c,!0),{}.NODE_ENV!=="production"&&(_.onTrack=c.rtc?j=>$t(c.rtc,j):void 0,_.onTrigger=c.rtg?j=>$t(c.rtg,j):void 0,E.ownerInstance=c),E()},S=(c,f,m)=>{f.component=c;const v=c.vnode.props;c.vnode=f,c.next=null,Ia(c,f.props,v,m),La(c,f.children,m),Mt(),ho(),Tt()},U=(c,f,m,v,g,w,O,D,_=!1)=>{const E=c&&c.children,j=c?c.shapeFlag:0,k=f.children,{patchFlag:H,shapeFlag:Y}=f;if(H>0){if(H&128){fe(E,k,m,v,g,w,O,D,_);return}else if(H&256){se(E,k,m,v,g,w,O,D,_);return}}Y&8?(j&16&&Le(E,g,w),k!==E&&d(m,k)):j&16?Y&16?fe(E,k,m,v,g,w,O,D,_):Le(E,g,w,!0):(j&8&&d(m,""),Y&16&&X(k,m,v,g,w,O,D,_))},se=(c,f,m,v,g,w,O,D,_)=>{c=c||qt,f=f||qt;const E=c.length,j=f.length,k=Math.min(E,j);let H;for(H=0;H<k;H++){const Y=f[H]=_?Pt(f[H]):Je(f[H]);T(c[H],Y,m,null,g,w,O,D,_)}E>j?Le(c,g,w,!0,!1,k):X(f,m,v,g,w,O,D,_,k)},fe=(c,f,m,v,g,w,O,D,_)=>{let E=0;const j=f.length;let k=c.length-1,H=j-1;for(;E<=k&&E<=H;){const Y=c[E],Z=f[E]=_?Pt(f[E]):Je(f[E]);if(xn(Y,Z))T(Y,Z,m,null,g,w,O,D,_);else break;E++}for(;E<=k&&E<=H;){const Y=c[k],Z=f[H]=_?Pt(f[H]):Je(f[H]);if(xn(Y,Z))T(Y,Z,m,null,g,w,O,D,_);else break;k--,H--}if(E>k){if(E<=H){const Y=H+1,Z=Y<j?f[Y].el:v;for(;E<=H;)T(null,f[E]=_?Pt(f[E]):Je(f[E]),m,Z,g,w,O,D,_),E++}}else if(E>H)for(;E<=k;)de(c[E],g,w,!0),E++;else{const Y=E,Z=E,ue=new Map;for(E=Z;E<=H;E++){const Be=f[E]=_?Pt(f[E]):Je(f[E]);Be.key!=null&&({}.NODE_ENV!=="production"&&ue.has(Be.key)&&P("Duplicate keys found during update:",JSON.stringify(Be.key),"Make sure keys are unique."),ue.set(Be.key,E))}let ce,ye=0;const et=H-Z+1;let cn=!1,Nr=0;const zn=new Array(et);for(E=0;E<et;E++)zn[E]=0;for(E=Y;E<=k;E++){const Be=c[E];if(ye>=et){de(Be,g,w,!0);continue}let At;if(Be.key!=null)At=ue.get(Be.key);else for(ce=Z;ce<=H;ce++)if(zn[ce-Z]===0&&xn(Be,f[ce])){At=ce;break}At===void 0?de(Be,g,w,!0):(zn[At-Z]=E+1,At>=Nr?Nr=At:cn=!0,T(Be,f[At],m,null,g,w,O,D,_),ye++)}const Or=cn?Ua(zn):qt;for(ce=Or.length-1,E=et-1;E>=0;E--){const Be=Z+E,At=f[Be],Sr=Be+1<j?f[Be+1].el:v;zn[E]===0?T(null,At,m,Sr,g,w,O,D,_):cn&&(ce<0||E!==Or[ce]?Ae(At,m,Sr,2):ce--)}}},Ae=(c,f,m,v,g=null)=>{const{el:w,type:O,transition:D,children:_,shapeFlag:E}=c;if(E&6){Ae(c.component.subTree,f,m,v);return}if(E&128){c.suspense.move(f,m,v);return}if(E&64){O.move(c,f,m,je);return}if(O===be){s(w,f,m);for(let k=0;k<_.length;k++)Ae(_[k],f,m,v);s(c.anchor,f,m);return}if(O===vs){x(c,f,m);return}if(v!==2&&E&1&&D)if(v===0)D.beforeEnter(w),s(w,f,m),He(()=>D.enter(w),g);else{const{leave:k,delayLeave:H,afterLeave:Y}=D,Z=()=>s(w,f,m),ue=()=>{k(w,()=>{Z(),Y&&Y()})};H?H(w,Z,ue):ue()}else s(w,f,m)},de=(c,f,m,v=!1,g=!1)=>{const{type:w,props:O,ref:D,children:_,dynamicChildren:E,shapeFlag:j,patchFlag:k,dirs:H}=c;if(D!=null&&fi(D,null,m,c,!0),j&256){f.ctx.deactivate(c);return}const Y=j&1&&H,Z=!In(c);let ue;if(Z&&(ue=O&&O.onVnodeBeforeUnmount)&&ot(ue,f,c),j&6)Gt(c.component,m,v);else{if(j&128){c.suspense.unmount(m,v);return}Y&&Ht(c,null,f,"beforeUnmount"),j&64?c.type.remove(c,f,m,g,je,v):E&&(w!==be||k>0&&k&64)?Le(E,f,m,!1,!0):(w===be&&k&384||!g&&j&16)&&Le(_,f,m),v&&Ge(c)}(Z&&(ue=O&&O.onVnodeUnmounted)||Y)&&He(()=>{ue&&ot(ue,f,c),Y&&Ht(c,null,f,"unmounted")},m)},Ge=c=>{const{type:f,el:m,anchor:v,transition:g}=c;if(f===be){({}).NODE_ENV!=="production"&&c.patchFlag>0&&c.patchFlag&2048&&g&&!g.persisted?c.children.forEach(O=>{O.type===ze?i(O.el):Ge(O)}):Xe(m,v);return}if(f===vs){G(c);return}const w=()=>{i(m),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:O,delayLeave:D}=g,_=()=>O(m,w);D?D(c.el,w,_):_()}else w()},Xe=(c,f)=>{let m;for(;c!==f;)m=p(c),i(c),c=m;i(f)},Gt=(c,f,m)=>{({}).NODE_ENV!=="production"&&c.type.__hmrId&&LA(c);const{bum:v,scope:g,update:w,subTree:O,um:D}=c;v&&$t(v),g.stop(),w&&(w.active=!1,de(O,c,f,m)),D&&He(D,f),He(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve()),{}.NODE_ENV!=="production"&&RA(c)},Le=(c,f,m,v=!1,g=!1,w=0)=>{for(let O=w;O<c.length;O++)de(c[O],f,m,v,g)},Ze=c=>c.shapeFlag&6?Ze(c.component.subTree):c.shapeFlag&128?c.suspense.next():p(c.anchor||c.el),Ce=(c,f,m)=>{c==null?f._vnode&&de(f._vnode,null,null,!0):T(f._vnode||null,c,f,null,null,null,m),ho(),po(),f._vnode=c},je={p:T,um:de,m:Ae,r:Ge,mt:N,mc:X,pc:U,pbc:Qe,n:Ze,o:e};let Vt,_t;return t&&([Vt,_t]=t(je)),{render:Ce,hydrate:Vt,createApp:Ba(Ce,Vt)}}function Ut({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function gs(e,t,n=!1){const s=e.children,i=t.children;if(z(s)&&z(i))for(let o=0;o<s.length;o++){const r=s[o];let A=i[o];A.shapeFlag&1&&!A.dynamicChildren&&((A.patchFlag<=0||A.patchFlag===32)&&(A=i[o]=Pt(i[o]),A.el=r.el),n||gs(r,A)),A.type===On&&(A.el=r.el),{}.NODE_ENV!=="production"&&A.type===ze&&!A.el&&(A.el=r.el)}}function Ua(e){const t=e.slice(),n=[0];let s,i,o,r,A;const a=e.length;for(s=0;s<a;s++){const l=e[s];if(l!==0){if(i=n[n.length-1],e[i]<l){t[s]=i,n.push(s);continue}for(o=0,r=n.length-1;o<r;)A=o+r>>1,e[n[A]]<l?o=A+1:r=A;l<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}const Ra=e=>e.__isTeleport,be=Symbol({}.NODE_ENV!=="production"?"Fragment":void 0),On=Symbol({}.NODE_ENV!=="production"?"Text":void 0),ze=Symbol({}.NODE_ENV!=="production"?"Comment":void 0),vs=Symbol({}.NODE_ENV!=="production"?"Static":void 0),Sn=[];let $e=null;function ee(e=!1){Sn.push($e=e?null:[])}function Fa(){Sn.pop(),$e=Sn[Sn.length-1]||null}let Mn=1;function $o(e){Mn+=e}function Jo(e){return e.dynamicChildren=Mn>0?$e||qt:null,Fa(),Mn>0&&$e&&$e.push(e),e}function re(e,t,n,s,i,o){return Jo(K(e,t,n,s,i,o,!0))}function Tn(e,t,n,s,i){return Jo(Pe(e,t,n,s,i,!0))}function ys(e){return e?e.__v_isVNode===!0:!1}function xn(e,t){return{}.NODE_ENV!=="production"&&t.shapeFlag&6&&Zt.has(t.type)?(e.shapeFlag&=-257,t.shapeFlag&=-513,!1):e.type===t.type&&e.key===t.key}const Qa=(...e)=>Xo(...e),Es="__vInternal",Wo=({key:e})=>e??null,Ds=({ref:e,ref_key:t,ref_for:n})=>e!=null?me(e)||Ee(e)||Q(e)?{i:De,r:e,k:t,f:!!n}:e:null;function K(e,t=null,n=null,s=0,i=null,o=e===be?0:1,r=!1,A=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wo(t),ref:t&&Ds(t),scopeId:as,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:De};return A?(di(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=me(n)?8:16),{}.NODE_ENV!=="production"&&a.key!==a.key&&P("VNode created with invalid key (NaN). VNode type:",a.type),Mn>0&&!r&&$e&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&$e.push(a),a}const Pe={}.NODE_ENV!=="production"?Qa:Xo;function Xo(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===So)&&({}.NODE_ENV!=="production"&&!e&&P(`Invalid vnode type when creating vnode: ${e}.`),e=ze),ys(e)){const A=bt(e,t,!0);return n&&di(A,n),Mn>0&&!o&&$e&&(A.shapeFlag&6?$e[$e.indexOf(e)]=A:$e.push(A)),A.patchFlag|=-2,A}if(rr(e)&&(e=e.__vccOpts),t){t=Ya(t);let{class:A,style:a}=t;A&&!me(A)&&(t.class=un(A)),oe(a)&&(Fs(a)&&!z(a)&&(a=ve({},a)),t.style=he(a))}const r=me(e)?1:XA(e)?128:Ra(e)?64:oe(e)?4:Q(e)?2:0;return{}.NODE_ENV!=="production"&&r&4&&Fs(e)&&(e=V(e),P("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
8
+ Component that was made reactive: `,e)),K(e,t,n,s,i,r,o,!0)}function Ya(e){return e?Fs(e)||Es in e?ve({},e):e:null}function bt(e,t,n=!1){const{props:s,ref:i,patchFlag:o,children:r}=e,A=t?Ga(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:A,key:A&&Wo(A),ref:t&&t.ref?n&&i?z(i)?i.concat(Ds(t)):[i,Ds(t)]:Ds(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:{}.NODE_ENV!=="production"&&o===-1&&z(r)?r.map(Zo):r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==be?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Zo(e){const t=bt(e);return z(e.children)&&(t.children=e.children.map(Zo)),t}function er(e=" ",t=0){return Pe(On,null,e,t)}function ke(e="",t=!1){return t?(ee(),Tn(ze,null,e)):Pe(ze,null,e)}function Je(e){return e==null||typeof e=="boolean"?Pe(ze):z(e)?Pe(be,null,e.slice()):typeof e=="object"?Pt(e):Pe(On,null,String(e))}function Pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function di(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(z(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),di(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Es in t)?t._ctx=De:i===3&&De&&(De.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:De},n=32):(t=String(t),s&64?(n=16,t=[er(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ga(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=un([t.class,s.class]));else if(i==="style")t.style=he([t.style,s.style]);else if(fn(i)){const o=t[i],r=s[i];r&&o!==r&&!(z(o)&&o.includes(r))&&(t[i]=o?[].concat(o,r):r)}else i!==""&&(t[i]=s[i])}return t}function ot(e,t,n,s=null){qe(e,t,7,[n,s])}const Va=qo();let qa=0;function $a(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||Va,o={uid:qa++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Rr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ho(s,i),emitsOptions:wo(s,i),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:s.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return{}.NODE_ENV!=="production"?o.ctx=ma(o):o.ctx={_:o},o.root=t?t.root:o,o.emit=GA.bind(null,o),e.ce&&e.ce(o),o}let ge=null;const Ja=()=>ge||De,tn=e=>{ge=e,e.scope.on()},Rt=()=>{ge&&ge.scope.off(),ge=null},Wa=Ie("slot,component");function hi(e,t){const n=t.isNativeTag||Ti;(Wa(e)||n(e))&&P("Do not use built-in or reserved HTML elements as component id: "+e)}function tr(e){return e.vnode.shapeFlag&4}let kn=!1;function Xa(e,t=!1){kn=t;const{props:n,children:s}=e.vnode,i=tr(e);_a(e,n,i,t),ka(e,s);const o=i?Za(e,t):void 0;return kn=!1,o}function Za(e,t){var n;const s=e.type;if({}.NODE_ENV!=="production"){if(s.name&&hi(s.name,e.appContext.config),s.components){const o=Object.keys(s.components);for(let r=0;r<o.length;r++)hi(o[r],e.appContext.config)}if(s.directives){const o=Object.keys(s.directives);for(let r=0;r<o.length;r++)Oo(o[r])}s.compilerOptions&&el()&&P('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=io(new Proxy(e.ctx,xo)),{}.NODE_ENV!=="production"&&ga(e);const{setup:i}=s;if(i){const o=e.setupContext=i.length>1?or(e):null;tn(e),Mt();const r=lt(i,e,0,[{}.NODE_ENV!=="production"?Wt(e.props):e.props,o]);if(Tt(),Rt(),Ts(r)){if(r.then(Rt,Rt),t)return r.then(A=>{nr(e,A,t)}).catch(A=>{os(A,e,0)});if(e.asyncDep=r,{}.NODE_ENV!=="production"&&!e.suspense){const A=(n=s.name)!==null&&n!==void 0?n:"Anonymous";P(`Component <${A}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else nr(e,r,t)}else sr(e,t)}function nr(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)?({}.NODE_ENV!=="production"&&ys(t)&&P("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Ao(t),{}.NODE_ENV!=="production"&&va(e)):{}.NODE_ENV!=="production"&&t!==void 0&&P(`setup() should return an object. Received: ${t===null?"null":typeof t}`),sr(e,n)}let pi;const el=()=>!pi;function sr(e,t,n){const s=e.type;if(!e.render){if(!t&&pi&&!s.render){const i=s.template||Ai(e).template;if(i){({}).NODE_ENV!=="production"&&ut(e,"compile");const{isCustomElement:o,compilerOptions:r}=e.appContext.config,{delimiters:A,compilerOptions:a}=s,l=ve(ve({isCustomElement:o,delimiters:A},r),a);s.render=pi(i,l),{}.NODE_ENV!=="production"&&ft(e,"compile")}}e.render=s.render||_e}tn(e),Mt(),Ea(e),Tt(),Rt(),{}.NODE_ENV!=="production"&&!s.render&&e.render===_e&&!t&&(s.template?P('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):P("Component is missing template or render function."))}function ir(e){return new Proxy(e.attrs,{}.NODE_ENV!=="production"?{get(t,n){return cs(),Me(e,"get","$attrs"),t[n]},set(){return P("setupContext.attrs is readonly."),!1},deleteProperty(){return P("setupContext.attrs is readonly."),!1}}:{get(t,n){return Me(e,"get","$attrs"),t[n]}})}function or(e){const t=s=>{if({}.NODE_ENV!=="production"&&(e.exposed&&P("expose() should be called only once per setup()."),s!=null)){let i=typeof s;i==="object"&&(z(s)?i="array":Ee(s)&&(i="ref")),i!=="object"&&P(`expose() should be passed a plain object, received ${i}.`)}e.exposed=s||{}};let n;return{}.NODE_ENV!=="production"?Object.freeze({get attrs(){return n||(n=ir(e))},get slots(){return Wt(e.slots)},get emit(){return(s,...i)=>e.emit(s,...i)},expose:t}):{get attrs(){return n||(n=ir(e))},slots:e.slots,emit:e.emit,expose:t}}function ws(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ao(io(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zt)return zt[n](e)},has(t,n){return n in t||n in zt}}))}const tl=/(?:^|[-_])(\w)/g,nl=e=>e.replace(tl,t=>t.toUpperCase()).replace(/[-_]/g,"");function mi(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function bs(e,t,n=!1){let s=mi(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e&&e.parent){const i=o=>{for(const r in o)if(o[r]===t)return r};s=i(e.components||e.parent.type.components)||i(e.appContext.components)}return s?nl(s):n?"App":"Anonymous"}function rr(e){return Q(e)&&"__vccOpts"in e}const We=(e,t)=>bA(e,t,kn);function sl(){return il().slots}function il(){const e=Ja();return{}.NODE_ENV!=="production"&&!e&&P("useContext() called without active instance."),e.setupContext||(e.setupContext=or(e))}const ol=Symbol({}.NODE_ENV!=="production"?"ssrContext":""),rl=()=>{{const e=us(ol);return e||{}.NODE_ENV!=="production"&&P("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function gi(e){return!!(e&&e.__v_isShallow)}function Al(){if({}.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},s={style:"color:#9d288c"},i={header(u){return oe(u)?u.__isVue?["div",e,"VueInstance"]:Ee(u)?["div",{},["span",e,d(u)],"<",A(u.value),">"]:xt(u)?["div",{},["span",e,gi(u)?"ShallowReactive":"Reactive"],"<",A(u),`>${vt(u)?" (readonly)":""}`]:vt(u)?["div",{},["span",e,gi(u)?"ShallowReadonly":"Readonly"],"<",A(u),">"]:null:null},hasBody(u){return u&&u.__isVue},body(u){if(u&&u.__isVue)return["div",{},...o(u.$)]}};function o(u){const p=[];u.type.props&&u.props&&p.push(r("props",V(u.props))),u.setupState!==ae&&p.push(r("setup",u.setupState)),u.data!==ae&&p.push(r("data",V(u.data)));const h=a(u,"computed");h&&p.push(r("computed",h));const I=a(u,"inject");return I&&p.push(r("injected",I)),p.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:u}]]),p}function r(u,p){return p=ve({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},u],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(h=>["div",{},["span",s,h+": "],A(p[h],!1)])]]:["span",{}]}function A(u,p=!0){return typeof u=="number"?["span",t,u]:typeof u=="string"?["span",n,JSON.stringify(u)]:typeof u=="boolean"?["span",s,u]:oe(u)?["object",{object:p?V(u):u}]:["span",n,String(u)]}function a(u,p){const h=u.type;if(Q(h))return;const I={};for(const T in u.ctx)l(h,T,p)&&(I[T]=u.ctx[T]);return I}function l(u,p,h){const I=u[h];if(z(I)&&I.includes(p)||oe(I)&&p in I||u.extends&&l(u.extends,p,h)||u.mixins&&u.mixins.some(T=>l(T,p,h)))return!0}function d(u){return gi(u)?"ShallowRef":u.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}const Ar="3.2.47",al="http://www.w3.org/2000/svg",Ft=typeof document<"u"?document:null,ar=Ft&&Ft.createElement("template"),ll={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t?Ft.createElementNS(al,e):Ft.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const r=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{ar.innerHTML=s?`<svg>${e}</svg>`:e;const A=ar.content;if(s){const a=A.firstChild;for(;a.firstChild;)A.appendChild(a.firstChild);A.removeChild(a)}t.insertBefore(A,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function cl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ul(e,t,n){const s=e.style,i=me(n);if(n&&!i){if(t&&!me(t))for(const o in t)n[o]==null&&vi(s,o,"");for(const o in n)vi(s,o,n[o])}else{const o=s.display;i?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const fl=/[^\\];\s*$/,lr=/\s*!important$/;function vi(e,t,n){if(z(n))n.forEach(s=>vi(e,t,s));else if(n==null&&(n=""),{}.NODE_ENV!=="production"&&fl.test(n)&&P(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=dl(e,t);lr.test(n)?e.setProperty(ht(s),n.replace(lr,""),"important"):e[s]=n}}const cr=["Webkit","Moz","ms"],yi={};function dl(e,t){const n=yi[t];if(n)return n;let s=tt(t);if(s!=="filter"&&s in e)return yi[t]=s;s=Nt(s);for(let i=0;i<cr.length;i++){const o=cr[i]+s;if(o in e)return yi[t]=o}return t}const ur="http://www.w3.org/1999/xlink";function hl(e,t,n,s,i){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ur,t.slice(6,t.length)):e.setAttributeNS(ur,t,n);else{const o=kr(t);n==null||o&&!Si(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function pl(e,t,n,s,i,o,r){if(t==="innerHTML"||t==="textContent"){s&&r(s,i,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n??"";(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let A=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Si(n):n==null&&a==="string"?(n="",A=!0):a==="number"&&(n=0,A=!0)}try{e[t]=n}catch(a){({}).NODE_ENV!=="production"&&!A&&P(`Failed setting prop "${t}" on <${e.tagName.toLowerCase()}>: value ${n} is invalid.`,a)}A&&e.removeAttribute(t)}function Qt(e,t,n,s){e.addEventListener(t,n,s)}function ml(e,t,n,s){e.removeEventListener(t,n,s)}function gl(e,t,n,s,i=null){const o=e._vei||(e._vei={}),r=o[t];if(s&&r)r.value=s;else{const[A,a]=vl(t);if(s){const l=o[t]=Dl(s,i);Qt(e,A,l,a)}else r&&(ml(e,A,r,a),o[t]=void 0)}}const fr=/(?:Once|Passive|Capture)$/;function vl(e){let t;if(fr.test(e)){t={};let s;for(;s=e.match(fr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ht(e.slice(2)),t]}let Ei=0;const yl=Promise.resolve(),El=()=>Ei||(yl.then(()=>Ei=0),Ei=Date.now());function Dl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;qe(wl(s,n.value),t,5,[s])};return n.value=e,n.attached=El(),n}function wl(e,t){if(z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const dr=/^on[a-z]/,bl=(e,t,n,s,i=!1,o,r,A,a)=>{t==="class"?cl(e,s,i):t==="style"?ul(e,n,s):fn(t)?Un(t)||gl(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pl(e,t,s,i))?pl(e,t,s,o,r,A,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),hl(e,t,s,i))};function Pl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&dr.test(t)&&Q(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||dr.test(t)&&me(n)?!1:t in e}const Ps=e=>{const t=e.props["onUpdate:modelValue"]||!1;return z(t)?n=>$t(t,n):t};function _l(e){e.target.composing=!0}function hr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pr={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e._assign=Ps(i);const o=s||i.props&&i.props.type==="number";Qt(e,t?"change":"input",r=>{if(r.target.composing)return;let A=e.value;n&&(A=A.trim()),o&&(A=Gn(A)),e._assign(A)}),n&&Qt(e,"change",()=>{e.value=e.value.trim()}),t||(Qt(e,"compositionstart",_l),Qt(e,"compositionend",hr),Qt(e,"change",hr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:i}},o){if(e._assign=Ps(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(i||e.type==="number")&&Gn(e.value)===t))return;const r=t??"";e.value!==r&&(e.value=r)}},Cl={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Rn(t);Qt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Gn(_s(r)):_s(r));e._assign(e.multiple?i?new Set(o):o:o[0])}),e._assign=Ps(s)},mounted(e,{value:t}){mr(e,t)},beforeUpdate(e,t,n){e._assign=Ps(n)},updated(e,{value:t}){mr(e,t)}};function mr(e,t){const n=e.multiple;if(n&&!z(t)&&!Rn(t)){({}).NODE_ENV!=="production"&&P(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let s=0,i=e.options.length;s<i;s++){const o=e.options[s],r=_s(o);if(n)z(t)?o.selected=jr(t,r)>-1:o.selected=t.has(r);else if(Kn(_s(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function _s(e){return"_value"in e?e._value:e.value}const Il=["ctrl","shift","alt","meta"],Nl={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Il.some(n=>e[`${n}Key`]&&!t.includes(n))},Di=(e,t)=>(n,...s)=>{for(let i=0;i<t.length;i++){const o=Nl[t[i]];if(o&&o(n,t))return}return e(n,...s)},Ln={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):jn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),jn(e,!0),s.enter(e)):s.leave(e,()=>{jn(e,!1)}):jn(e,t))},beforeUnmount(e,{value:t}){jn(e,t)}};function jn(e,t){e.style.display=t?e._vod:"none"}const Ol=ve({patchProp:bl},ll);let gr;function Sl(){return gr||(gr=za(Ol))}const vr=(...e)=>{Sl().render(...e)};function Ml(){Al()}({}).NODE_ENV!=="production"&&Ml();function rt(e){let t;const n=()=>{vr(null,e.el),t=void 0},s={},i=Object.keys(e.on||{}).reduce((r,A)=>{const a=A.charAt(0).toUpperCase()+A.slice(1);return r[`on${a}`]=e.on[A],r},s)||{};i.onClose||(i.onClose=()=>n());const o={...e.props,...i,onVnodeUnmounted:()=>{},onVnodeMounted:()=>{}};return t=Pe(e.component,o),vr(t,e.el),{vnode:t,destroy:n}}const Tl={baseUrl:"",cssUrl:"",redirectUrl:"",url:"",apiUrl:""},xl={baseUrl:"https://assets.payfurl.com",cssUrl:"https://assets.payfurl.com/v4.0.5/js/",url:"https://assets.payfurl.com/v4.0.5/iframe/index.html",redirectUrl:"https://assets.payfurl.com/v{VERSION}/checkout/redirect.html",apiUrl:"https://develop-api.payfurl.com"},kl={baseUrl:"https://assets.payfurl.com",cssUrl:"https://assets.payfurl.com/v4.0.5/js/",url:"https://assets.payfurl.com/v4.0.5/iframe/index.html",redirectUrl:"https://assets.payfurl.com/v{VERSION}/checkout/redirect.html",apiUrl:"https://sandbox-api.payfurl.com"},Ll={baseUrl:"https://assets.payfurl.com",cssUrl:"https://assets.payfurl.com/v4.0.5/js/",url:"https://assets.payfurl.com/v4.0.5/iframe/index.html",redirectUrl:"https://assets.payfurl.com/v{VERSION}/checkout/redirect.html",apiUrl:"https://api.payfurl.com"};var Ke;(function(e){e.LOCAL="local",e.DEVELOPMENT="development",e.SANDBOX="sandbox",e.PRODUCTION="production"})(Ke||(Ke={}));const yr={[Ke.LOCAL]:Tl,[Ke.DEVELOPMENT]:xl,[Ke.SANDBOX]:kl,[Ke.PRODUCTION]:Ll};function Er(e){return yr[e]||yr[Ke.PRODUCTION]}var jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dr={},Bl={get exports(){return Dr},set exports(e){Dr=e}};(function(e,t){(function(n,s){e.exports=s()})(jl,function(){var n=1e3,s=6e4,i=36e5,o="millisecond",r="second",A="minute",a="hour",l="day",d="week",u="month",p="quarter",h="year",I="date",T="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ne=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(R){var M=["th","st","nd","rd"],N=R%100;return"["+R+(M[(N-20)%10]||M[N]||M[0])+"]"}},C=function(R,M,N){var B=String(R);return!B||B.length>=M?R:""+Array(M+1-B.length).join(N)+R},x={s:C,z:function(R){var M=-R.utcOffset(),N=Math.abs(M),B=Math.floor(N/60),y=N%60;return(M<=0?"+":"-")+C(B,2,"0")+":"+C(y,2,"0")},m:function R(M,N){if(M.date()<N.date())return-R(N,M);var B=12*(N.year()-M.year())+(N.month()-M.month()),y=M.clone().add(B,u),S=N-y<0,U=M.clone().add(B+(S?-1:1),u);return+(-(B+(N-y)/(S?y-U:U-y))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:u,y:h,w:d,d:l,D:I,h:a,m:A,s:r,ms:o,Q:p}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},G="en",pe={};pe[G]=F;var Oe=function(R){return R instanceof Qe},we=function R(M,N,B){var y;if(!M)return G;if(typeof M=="string"){var S=M.toLowerCase();pe[S]&&(y=S),N&&(pe[S]=N,y=S);var U=M.split("-");if(!y&&U.length>1)return R(U[0])}else{var se=M.name;pe[se]=M,y=se}return!B&&y&&(G=y),y||!B&&G},X=function(R,M){if(Oe(R))return R.clone();var N=typeof M=="object"?M:{};return N.date=R,N.args=arguments,new Qe(N)},q=x;q.l=we,q.i=Oe,q.w=function(R,M){return X(R,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var Qe=function(){function R(N){this.$L=we(N.locale,null,!0),this.parse(N)}var M=R.prototype;return M.parse=function(N){this.$d=function(B){var y=B.date,S=B.utc;if(y===null)return new Date(NaN);if(q.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var U=y.match($);if(U){var se=U[2]-1||0,fe=(U[7]||"0").substring(0,3);return S?new Date(Date.UTC(U[1],se,U[3]||1,U[4]||0,U[5]||0,U[6]||0,fe)):new Date(U[1],se,U[3]||1,U[4]||0,U[5]||0,U[6]||0,fe)}}return new Date(y)}(N),this.$x=N.x||{},this.init()},M.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},M.$utils=function(){return q},M.isValid=function(){return this.$d.toString()!==T},M.isSame=function(N,B){var y=X(N);return this.startOf(B)<=y&&y<=this.endOf(B)},M.isAfter=function(N,B){return X(N)<this.startOf(B)},M.isBefore=function(N,B){return this.endOf(B)<X(N)},M.$g=function(N,B,y){return q.u(N)?this[B]:this.set(y,N)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(N,B){var y=this,S=!!q.u(B)||B,U=q.p(N),se=function(Ze,Ce){var je=q.w(y.$u?Date.UTC(y.$y,Ce,Ze):new Date(y.$y,Ce,Ze),y);return S?je:je.endOf(l)},fe=function(Ze,Ce){return q.w(y.toDate()[Ze].apply(y.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(Ce)),y)},Ae=this.$W,de=this.$M,Ge=this.$D,Xe="set"+(this.$u?"UTC":"");switch(U){case h:return S?se(1,0):se(31,11);case u:return S?se(1,de):se(0,de+1);case d:var Gt=this.$locale().weekStart||0,Le=(Ae<Gt?Ae+7:Ae)-Gt;return se(S?Ge-Le:Ge+(6-Le),de);case l:case I:return fe(Xe+"Hours",0);case a:return fe(Xe+"Minutes",1);case A:return fe(Xe+"Seconds",2);case r:return fe(Xe+"Milliseconds",3);default:return this.clone()}},M.endOf=function(N){return this.startOf(N,!1)},M.$set=function(N,B){var y,S=q.p(N),U="set"+(this.$u?"UTC":""),se=(y={},y[l]=U+"Date",y[I]=U+"Date",y[u]=U+"Month",y[h]=U+"FullYear",y[a]=U+"Hours",y[A]=U+"Minutes",y[r]=U+"Seconds",y[o]=U+"Milliseconds",y)[S],fe=S===l?this.$D+(B-this.$W):B;if(S===u||S===h){var Ae=this.clone().set(I,1);Ae.$d[se](fe),Ae.init(),this.$d=Ae.set(I,Math.min(this.$D,Ae.daysInMonth())).$d}else se&&this.$d[se](fe);return this.init(),this},M.set=function(N,B){return this.clone().$set(N,B)},M.get=function(N){return this[q.p(N)]()},M.add=function(N,B){var y,S=this;N=Number(N);var U=q.p(B),se=function(de){var Ge=X(S);return q.w(Ge.date(Ge.date()+Math.round(de*N)),S)};if(U===u)return this.set(u,this.$M+N);if(U===h)return this.set(h,this.$y+N);if(U===l)return se(1);if(U===d)return se(7);var fe=(y={},y[A]=s,y[a]=i,y[r]=n,y)[U]||1,Ae=this.$d.getTime()+N*fe;return q.w(Ae,this)},M.subtract=function(N,B){return this.add(-1*N,B)},M.format=function(N){var B=this,y=this.$locale();if(!this.isValid())return y.invalidDate||T;var S=N||"YYYY-MM-DDTHH:mm:ssZ",U=q.z(this),se=this.$H,fe=this.$m,Ae=this.$M,de=y.weekdays,Ge=y.months,Xe=function(Ce,je,Vt,_t){return Ce&&(Ce[je]||Ce(B,S))||Vt[je].slice(0,_t)},Gt=function(Ce){return q.s(se%12||12,Ce,"0")},Le=y.meridiem||function(Ce,je,Vt){var _t=Ce<12?"AM":"PM";return Vt?_t.toLowerCase():_t},Ze={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Ae+1,MM:q.s(Ae+1,2,"0"),MMM:Xe(y.monthsShort,Ae,Ge,3),MMMM:Xe(Ge,Ae),D:this.$D,DD:q.s(this.$D,2,"0"),d:String(this.$W),dd:Xe(y.weekdaysMin,this.$W,de,2),ddd:Xe(y.weekdaysShort,this.$W,de,3),dddd:de[this.$W],H:String(se),HH:q.s(se,2,"0"),h:Gt(1),hh:Gt(2),a:Le(se,fe,!0),A:Le(se,fe,!1),m:String(fe),mm:q.s(fe,2,"0"),s:String(this.$s),ss:q.s(this.$s,2,"0"),SSS:q.s(this.$ms,3,"0"),Z:U};return S.replace(ne,function(Ce,je){return je||Ze[Ce]||U.replace(":","")})},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(N,B,y){var S,U=q.p(B),se=X(N),fe=(se.utcOffset()-this.utcOffset())*s,Ae=this-se,de=q.m(this,se);return de=(S={},S[h]=de/12,S[u]=de,S[p]=de/3,S[d]=(Ae-fe)/6048e5,S[l]=(Ae-fe)/864e5,S[a]=Ae/i,S[A]=Ae/s,S[r]=Ae/n,S)[U]||Ae,y?de:q.a(de)},M.daysInMonth=function(){return this.endOf(u).$D},M.$locale=function(){return pe[this.$L]},M.locale=function(N,B){if(!N)return this.$L;var y=this.clone(),S=we(N,B,!0);return S&&(y.$L=S),y},M.clone=function(){return q.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},R}(),Re=Qe.prototype;return X.prototype=Re,[["$ms",o],["$s",r],["$m",A],["$H",a],["$W",l],["$M",u],["$y",h],["$D",I]].forEach(function(R){Re[R[1]]=function(M){return this.$g(M,R[0],R[1])}}),X.extend=function(R,M){return R.$i||(R(M,Qe,X),R.$i=!0),X},X.locale=we,X.isDayjs=Oe,X.unix=function(R){return X(1e3*R)},X.en=pe[G],X.Ls=pe,X.p={},X})})(Bl);function wr(e){return e.slice().replaceAll(/[^0-9]/g,"")}function Hl(e){let t=wr(e);return t.length>9&&(t=t.slice(t.length-9)),"0"+t}function wi(e){const t=wr(e);return t.search(/^0[0-9]{9}$/)>-1||t.search(/^61[0-9]{9}$/)>-1}function bi(e){return e.search(/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/)>-1}function Yt(e){return e?Array.isArray(e)?e.length>0:typeof e=="object"?Object.keys(e).length>0:Boolean(e):!1}function Cs(e){return!isNaN(parseFloat(e))||parseFloat(e)>0}function br(e,t,n,s){t(e)||s&&s({error:n})}function zl(e){const t=[10,1,3,5,7,9,11,13,15,17,19];if(e.length!==11||e.search(/\D/)>-1)return!1;let n=0,s=0;for(let i=0;i<=t.length-1;i++){s=t[i];const o=parseInt(e[i],10)-(i?0:1);n+=s*o}return n%89===0}const Kl={class:"message"},Ul=Te({__name:"Error",props:{error:null},setup(e){const n=ie(e.error);return(s,i)=>(ee(),re("div",Kl,Ye(n.value),1))}}),Tu="",xu="",Ue=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},W=Ue(Ul,[["__scopeId","data-v-ae4be0f9"]]),Rl=Te({__name:"PaypalIcon",props:{size:null,grayscale:{type:Boolean}},setup(e){const t=e,n=t.grayscale?"#2A2A2B":"#253b80",s=t.grayscale?"#555557":"#179bd7",i=t.grayscale?"#000000":"#222d65",o=`--size: ${t.size}px`;return(r,A)=>(ee(),re("svg",{id:"paypal",style:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25.576353 30.177"},[K("path",{d:"m 7.2659888,29.154 0.523,-3.322 -1.165,-0.027 -5.563,0 3.866,-24.513 c 0.012,-0.074 0.051,-0.143 0.108,-0.192 0.057,-0.049 0.13,-0.076 0.206,-0.076 l 9.3800002,0 c 3.114,0 5.263,0.648 6.385,1.927 0.526,0.6 0.861,1.227 1.023,1.917 0.17,0.724 0.173,1.589 0.007,2.644 l -0.012,0.077 0,0.676 0.526,0.298 c 0.443,0.235 0.795,0.504 1.065,0.812 0.45,0.513 0.741,1.165 0.864,1.938 0.127,0.795 0.085,1.741 -0.123,2.812 -0.24,1.232 -0.628,2.305 -1.152,3.183 -0.482,0.809 -1.096,1.48 -1.825,2 -0.696,0.494 -1.523,0.869 -2.458,1.109 -0.906,0.236 -1.939,0.355 -3.072,0.355 l -0.73,0 c -0.522,0 -1.029,0.188 -1.427,0.525 -0.399,0.344 -0.663,0.814 -0.744,1.328 l -0.055,0.299 -0.924,5.855 -0.042,0.215 c -0.011,0.068 -0.03,0.102 -0.058,0.125 -0.025,0.021 -0.061,0.035 -0.096,0.035 l -4.5070002,0 z",style:he(`fill: ${le(n)}`)},null,4),K("path",{d:"m 23.047989,7.667 0,0 0,0 c -0.028,0.179 -0.06,0.362 -0.096,0.55 -1.237,6.351 -5.469,8.545 -10.874,8.545 l -2.7520002,0 c -0.661,0 -1.218,0.48 -1.321,1.132 l 0,0 0,0 -1.409,8.936 -0.399,2.533 c -0.067,0.428 0.263,0.814 0.695,0.814 l 4.8810002,0 c 0.578,0 1.069,-0.42 1.16,-0.99 l 0.048,-0.248 0.919,-5.832 0.059,-0.32 c 0.09,-0.572 0.582,-0.992 1.16,-0.992 l 0.73,0 c 4.729,0 8.431,-1.92 9.513,-7.476 0.452,-2.321 0.218,-4.259 -0.978,-5.622 -0.362,-0.411 -0.811,-0.752 -1.336,-1.03 z",style:he(`fill: ${le(s)}`)},null,4),K("path",{d:"m 21.753989,7.151 c -0.189,-0.055 -0.384,-0.105 -0.584,-0.15 -0.201,-0.044 -0.407,-0.083 -0.619,-0.117 -0.742,-0.12 -1.555,-0.177 -2.426,-0.177 l -7.352,0 c -0.181,0 -0.353,0.041 -0.507,0.115 C 9.9269888,6.985 9.6749888,7.306 9.6139888,7.699 l -1.564,9.906 -0.045,0.289 c 0.103,-0.652 0.66,-1.132 1.321,-1.132 l 2.7520002,0 c 5.405,0 9.637,-2.195 10.874,-8.545 0.037,-0.188 0.068,-0.371 0.096,-0.55 -0.313,-0.166 -0.652,-0.308 -1.017,-0.429 -0.09,-0.03 -0.183,-0.059 -0.277,-0.087 z",style:he(`fill: ${le(i)}`)},null,4),K("path",{d:"m 9.6139888,7.699 c 0.061,-0.393 0.313,-0.714 0.6520002,-0.876 0.155,-0.074 0.326,-0.115 0.507,-0.115 l 7.352,0 c 0.871,0 1.684,0.057 2.426,0.177 0.212,0.034 0.418,0.073 0.619,0.117 0.2,0.045 0.395,0.095 0.584,0.15 0.094,0.028 0.187,0.057 0.278,0.086 0.365,0.121 0.704,0.264 1.017,0.429 0.368,-2.347 -0.003,-3.945 -1.272,-5.392 C 20.377989,0.682 17.852989,0 14.621989,0 L 5.2419888,0 c -0.66,0 -1.223,0.48 -1.325,1.133 L 0.00998882,25.898 c -0.077,0.49 0.301,0.932 0.795,0.932 l 5.79099998,0 1.454,-9.225 1.564,-9.906 z",style:he(`fill: ${le(n)}`)},null,4)]))}}),ku="",Fl=Ue(Rl,[["__scopeId","data-v-2b840669"]]),Pr=e=>(Pn("data-v-6a1e8b23"),e=e(),_n(),e),Ql=[Pr(()=>K("path",{d:"M1188.420307 68.911452c16.92562 0 32.642267 14.507674 32.642267 32.642267v822.101535c0 16.92562-14.507674 32.642267-32.642267 32.642267h-1088.075561c-16.92562 0-32.642267-14.507674-32.642267-32.642267v-822.101535c0-16.92562 14.507674-32.642267 32.642267-32.642267h1088.075561m0-68.911452h-1088.075561C44.731995 0 0 45.940968 0 100.344746v822.101535c0 55.612751 44.731995 100.344746 100.344746 100.344746h1088.075561c55.612751 0 100.344746-44.731995 100.344746-100.344746v-822.101535c1.208973-54.403778-44.731995-100.344746-100.344746-100.344746z"},null,-1)),Pr(()=>K("path",{d:"M41.105077 252.675325h1221.062574v258.720189H41.105077zM177.719008 778.578512h174.09209v71.329398H177.719008zM432.812279 778.578512h259.929161v71.329398H432.812279z"},null,-1))],Yl=Te({__name:"CreditCardIcon",props:{size:null,grayscale:{type:Boolean},color:null},setup(e){const t=e,n=ie(t.color);Cn(()=>t.color,i=>{n.value=i});const s=We(()=>`--size: ${t.size}px;fill:${n.value}`);return(i,o)=>(ee(),re("svg",{xmlns:"http://www.w3.org/2000/svg",style:he([{width:"1.2587890625em",height:"1em","vertical-align":"middle",overflow:"hidden"},le(s)]),viewBox:"0 0 1289 1024"},Ql,4))}}),Bu="",Gl=Ue(Yl,[["__scopeId","data-v-6a1e8b23"]]),Vl=["fill"],ql=Te({__name:"PayToIcon",props:{size:null,grayscale:{type:Boolean}},setup(e){const t=e,n=(t.grayscale,"#000"),s=`--size: ${t.size}px`;return(i,o)=>(ee(),re("svg",{id:"payto-icon",viewBox:"0 0 120 57",xmlns:"http://www.w3.org/2000/svg",style:s},[K("path",{d:"m8.285 27.63c.8 0 1.562-.06 2.285-.176a6.262 6.262 0 0 0 1.937-.624 3.529 3.529 0 0 0 1.354-1.227c.335-.52.502-1.194.502-2.025s-.169-1.463-.502-1.97a3.492 3.492 0 0 0 -1.337-1.187c-.555-.287-1.186-.473-1.897-.565a17.32 17.32 0 0 0 -2.188-.136h-3.56v7.91zm-8.285-12.04h8.945c1.573 0 2.994.144 4.258.429 1.265.288 2.349.754 3.254 1.404.902.648 1.599 1.479 2.092 2.493.488 1.012.736 2.235.736 3.663 0 1.533-.283 2.818-.853 3.858a6.956 6.956 0 0 1 -2.303 2.512c-.968.637-2.098 1.097-3.388 1.383-1.29.285-2.66.43-4.103.43h-3.76v11.415h-4.878zm32.679 19.054h-1.043c-.751 0-1.538.034-2.364.098s-1.588.207-2.283.427c-.697.223-1.279.534-1.742.937-.464.403-.696.954-.696 1.655 0 .442.095.812.29 1.11.195.3.446.54.755.721.31.183.659.311 1.045.39a5.94 5.94 0 0 0 1.161.117c1.6 0 2.813-.427 3.639-1.287.826-.857 1.238-2.026 1.238-3.505zm.078 6.156h-.116c-.466.832-1.213 1.516-2.247 2.047-1.034.532-2.206.8-3.523.8-.749 0-1.53-.099-2.343-.293a6.902 6.902 0 0 1 -2.245-.972 5.624 5.624 0 0 1 -1.705-1.793c-.45-.74-.676-1.656-.676-2.745 0-1.404.394-2.52 1.18-3.351.787-.831 1.8-1.468 3.04-1.91 1.24-.44 2.614-.732 4.124-.875a47.58 47.58 0 0 1 4.433-.215v-.47c0-1.168-.42-2.031-1.259-2.589s-1.839-.839-3-.839c-.981 0-1.923.21-2.826.624-.903.417-1.652.924-2.246 1.521l-2.4-2.844a10.478 10.478 0 0 1 3.659-2.222 12.448 12.448 0 0 1 4.203-.74c1.651 0 3.013.233 4.084.7 1.072.468 1.916 1.079 2.536 1.83a6.571 6.571 0 0 1 1.298 2.534c.245.936.369 1.869.369 2.806v11.376h-4.338v-2.377l-.002-.004zm5.719-16.325h5.15l5.189 13.599h.078l4.607-13.6h4.84l-8.791 22.717a16.433 16.433 0 0 1 -1.083 2.278 6.33 6.33 0 0 1 -1.395 1.676 5.56 5.56 0 0 1 -1.916 1.032c-.736.234-1.62.351-2.654.351-.386 0-.78-.019-1.182-.058a8.113 8.113 0 0 1 -1.219-.215l.386-4.052c.31.104.614.175.91.215s.575.058.834.058c.49 0 .902-.058 1.238-.175.337-.117.62-.298.852-.545.232-.248.438-.552.618-.917.181-.364.376-.792.582-1.286l.93-2.376-7.977-18.702zm42.808 14.279c.893 0 2.072-.328 2.536-.49v3.735c-.468.183-1.478.535-2.536.535-3.691 0-6.695-3.064-6.697-6.831v-11.228h-4.225v-3.675h4.225v-4.66h3.665v4.66h10a13.83 13.83 0 0 0 -3.625 3.675h-6.375v11.228c0 1.688 1.39 3.05 3.032 3.05zm15 3.78c-6.038 0-10.801-4.79-10.801-10.866s4.845-10.868 10.8-10.868h12.183l.004-3.376 6.267 5.245-6.278 5.256.004-3.45h-12.337c-3.775 0-6.897 3.396-6.897 7.193s3.11 7.13 7.053 7.13c3.942 0 7.053-3.163 7.053-7.13 0-1.755-.62-3.377-1.386-4.553h4.139c.65 1.402.993 3.006.993 4.553 0 6.076-4.761 10.866-10.801 10.866zm10.909-42.534h-31.031c-7.074 0-12.807 5.77-12.807 12.886v31.226c0 7.117 5.735 12.886 12.807 12.886h31.031c7.074 0 12.806-5.77 12.806-12.886v-31.226c0-7.116-5.734-12.886-12.806-12.886z",fill:le(n)},null,8,Vl)]))}}),Hu="",$l=Ue(ql,[["__scopeId","data-v-0b2d8aa0"]]),Pi="payfurl-combined-container";function _r(e,t){if(!e)return null;for(;e.parentNode&&e.parentNode.nodeName.toLowerCase()!=="body";)if(e=e.parentNode,e.id===t)return e;return null}const Jl=["id"],Wl=["id","onClick"],Xl=["value","id"],Zl={class:"combined-tab-title"},ec={class:"combined-tab-name"},tc={key:0,class:"combined-tab-description"},nc=["src","alt"],sc=["id"],ic=Te({__name:"Combined",props:{elements:null},setup(e){const t=e,n=ie(0),s={};function i(l){n.value=l,setTimeout(()=>{a(l),t.elements[l].activate()},200);const d=document.getElementById(`payment-type${l}`);d.checked=!0}function o(l){return l.icon&&typeof l.icon=="object"}function r(l){return l.icon&&typeof l.icon=="string"}function A(l){return n.value===l}function a(l){t.elements[l].render&&(s[l]||(t.elements[l].render(document.getElementById(`container-component${l}`)),s[l]=!0))}return Et(()=>{t.elements.forEach((l,d)=>{a(d)}),i(0)}),(l,d)=>(ee(),re("div",{class:"payfurl-sdk-combined-container",id:le(Pi)},[(ee(!0),re(be,null,pa(t.elements,(u,p)=>(ee(),re(be,{key:`container-component${p}`},[K("div",{class:un(["payfurl-sdk-combined-tab",p===n.value?"active":""]),id:u.id||`combined-tab${p}`,onClick:h=>i(p)},[K("input",{type:"radio",name:"payment-type",value:u.title,id:`payment-type${p}`},null,8,Xl),K("div",Zl,[K("div",ec,Ye(u.title),1),u.description?(ee(),re("div",tc,Ye(u.description),1)):ke("",!0)]),o(u)?(ee(),Tn(da(u.icon),{key:0,size:20})):ke("",!0),r(u)?(ee(),re("img",{key:1,src:u.icon,width:"20",height:"20",alt:u.title},null,8,nc)):ke("",!0)],10,Wl),Dt(K("div",{class:"payfurl-sdk-container-component",id:`container-component${p}`},null,8,sc),[[Ln,A(p)]])],64))),128))],8,Jl))}}),zu="",oc=Ue(ic,[["__scopeId","data-v-e86a2bc9"]]);class nn{constructor(t,n){b(this,"publicKey","");b(this,"version","");this.publicKey=t,this.version=n}invoke(t,n,s,i,o,r){const A=new XMLHttpRequest;if(A||o==null||o(0,""),A.onreadystatechange=function(){if(A.readyState===XMLHttpRequest.DONE){if(A.status===200||A.status===201){i==null||i(A.status,A.responseText);return}o==null||o(A.status,A.responseText)}},A.open(n,t),A.setRequestHeader("Content-Type","application/json"),A.setRequestHeader("x-publickey",this.publicKey),A.setRequestHeader("sdk-version",this.version),r)for(const[a,l]of Object.entries(r))A.setRequestHeader(a,l);A.send(String(s))}}function rc(){return{email:"",amount:0,currency:"",providerId:"",cardNumber:"",cardHolderName:"",expiryDate:"",threeDSServerTransID:""}}const Ac={class:"message"},ac={key:0},lc=Te({__name:"Success",props:{message:null,token:null},setup(e){const t=e;return(n,s)=>(ee(),re(be,null,[K("div",Ac,Ye(t.message),1),t.token?(ee(),re("div",ac,"TokenId = "+Ye(t.token),1)):ke("",!0)],64))}}),Ku="",Uu="",cc=Ue(lc,[["__scopeId","data-v-265528b7"]]);function te(e,t){e&&rt({el:e,component:W,props:{error:t}})}function Bn(e,t,n){e&&rt({el:e,component:cc,props:{message:t,...n||{}}})}class uc{constructor(){b(this,"iframeId","threeDsIframeMethod");b(this,"containerId","payfurlContainerFormInvoker");b(this,"iframe",null);b(this,"container",null)}createIFrame(){this.iframe||(this.container=document.createElement("div"),this.container.id=this.containerId,document.body.appendChild(this.container),this.iframe=document.createElement("iframe"),this.iframe.name=this.iframeId,this.iframe.style.display="none",this.container.appendChild(this.iframe))}invoke(t,n,s,i,o){var A;this.createIFrame();const r=document.createElement("form");r.action=t,r.target=this.iframeId,r.method="post",(A=this.container)==null||A.appendChild(r);for(let a in s){const l=document.createElement("input");l.type="hidden",l.name=a,l.value=s[a],r.appendChild(l)}r.submit()}}const Cr={AED:"784",AFN:"971",ALL:"008",AMD:"051",ANG:"532",AOA:"973",ARS:"032",AUD:"036",AWG:"533",AZN:"944",BAM:"977",BBD:"052",BDT:"050",BGN:"975",BHD:"048",BIF:"108",BMD:"060",BND:"096",BOB:"068",BOV:"984",BRL:"986",BSD:"044",BTN:"064",BWP:"072",BYN:"933",BZD:"084",CAD:"124",CDF:"976",CHE:"947",CHF:"756",CHW:"948",CLF:"990",CLP:"152",CNY:"156",COP:"170",COU:"970",CRC:"188",CUC:"931",CUP:"192",CVE:"132",CZK:"203",DJF:"262",DKK:"208",DOP:"214",DZD:"012",EGP:"818",ERN:"232",ETB:"230",EUR:"978",FJD:"242",FKP:"238",GBP:"826",GEL:"981",GHS:"936",GIP:"292",GMD:"270",GNF:"324",GTQ:"320",GYD:"328",HKD:"344",HNL:"340",HRK:"191",HTG:"332",HUF:"348",IDR:"360",ILS:"376",INR:"356",IQD:"368",IRR:"364",ISK:"352",JMD:"388",JOD:"400",JPY:"392",KES:"404",KGS:"417",KHR:"116",KMF:"174",KPW:"408",KRW:"410",KWD:"414",KYD:"136",KZT:"398",LAK:"418",LBP:"422",LKR:"144",LRD:"430",LSL:"426",LYD:"434",MAD:"504",MDL:"498",MGA:"969",MKD:"807",MMK:"104",MNT:"496",MOP:"446",MUR:"480",MVR:"462",MWK:"454",MXN:"484",MXV:"979",MYR:"458",MZN:"943",NAD:"516",NGN:"566",NIO:"558",NOK:"578",NPR:"524",NZD:"554",OMR:"512",PAB:"590",PEN:"604",PGK:"598",PHP:"608",PKR:"586",PLN:"985",PYG:"600",QAR:"634",RON:"946",RSD:"941",RUB:"643",RWF:"646",SAR:"682",SBD:"090",SCR:"690",SDG:"938",SEK:"752",SGD:"702",SHP:"654",SLL:"694",SOS:"706",SRD:"968",SSP:"728",SVC:"222",SYP:"760",SZL:"748",THB:"764",TJS:"972",TMT:"934",TND:"788",TOP:"776",TRY:"949",TTD:"780",TWD:"901",TZS:"834",UAH:"980",UGX:"800",USD:"840",USN:"997",UYI:"940",UYU:"858",UYW:"927",UZS:"860",VED:"926",VES:"928",VND:"704",VUV:"548",WST:"882",XAF:"950",XAG:"961",XAU:"959",XBA:"955",XBB:"956",XBC:"957",XBD:"958",XCD:"951",XDR:"960",XOF:"952",XPD:"964",XPF:"953",XPT:"962",XSU:"994",XTS:"963",XUA:"965",XXX:"999",YER:"886",ZAR:"710",ZMW:"967",ZWL:"932"},fc={BHD:3,BIF:0,CLF:4,CLP:0,DJF:0,GNF:0,IQD:3,ISK:0,JOD:3,JPY:0,KMF:3,KRW:0,KWD:3,LYD:3,OMR:3,PYG:0,RWF:0,TND:3,UGX:0,UYI:0,UYW:4,VND:0,VUV:0,XAF:0,XOF:0,XPF:0};function _i(e){return Boolean(Cr[String(e).toUpperCase()])}function dc(e){return Cr[String(e).toUpperCase()]||""}function hc(e){return fc[String(e).toUpperCase()]||2}function pc(){const e=[1,4,8,15,16,24,32,48];let t=screen.colorDepth;if(e.indexOf(t)==-1){let n=e[0],s=Math.abs(e[0]-t);for(let i=1;i<=e.length;i++){const o=Math.abs(e[i]-t);o<s&&(n=e[i],s=o)}t=n}return t}const Ru="",mc={},gc=e=>(Pn("data-v-d7e8386b"),e=e(),_n(),e),vc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},yc=[gc(()=>K("polygon",{points:"39 10.44 37.56 9 24 22.56 10.44 9 9 10.44 22.56 24 9 37.56 10.44 39 24 25.44 37.56 39 39 37.56 25.44 24 39 10.44"},null,-1))];function Ec(e,t){return ee(),re("svg",vc,yc)}const Ir=Ue(mc,[["render",Ec],["__scopeId","data-v-d7e8386b"]]),Dc=e=>(Pn("data-v-a9bea9f2"),e=e(),_n(),e),wc={class:"mask"},bc={class:"wrapper"},Pc={class:"container"},_c=Dc(()=>K("iframe",{name:"ThreeDsChallengeIFrame"},null,-1)),Cc=["action"],Ic=["value"],Nc=Te({__name:"ThreeDsChallenge",props:{threeDSServerTransID:null,acsTransID:null,formAction:null},emits:["close","submit"],setup(e,{emit:t}){const n=e,s=ie(null),i=JSON.stringify({threeDSServerTransID:n.threeDSServerTransID,acsTransID:n.acsTransID,messageVersion:"2.1.0",messageType:"CReq",challengeWindowSize:"01"}),o=encodeURI(window.btoa(i).replace(/=*$/,""));return Et(()=>{var r;(r=s.value)==null||r.submit()}),(r,A)=>(ee(),re("div",wc,[K("div",bc,[K("div",Pc,[Pe(Ir,{onClick:A[0]||(A[0]=a=>t("close"))}),_c,K("form",{action:n.formAction,target:"ThreeDsChallengeIFrame",method:"post",ref_key:"form",ref:s},[K("input",{type:"hidden",name:"creq",value:le(o)},null,8,Ic)],8,Cc)])])]))}}),Qu="",Yu="",Oc=Ue(Nc,[["__scopeId","data-v-a9bea9f2"]]),Sc="data:image/gif;base64,R0lGODlhMgAyAPcAAJyXzqSz1Kah06q416u9gayo1q2p16+r17LJ1rPDjbnIlrnO2rrJl7rJmLvKmb/S3cDS3cDT3cHT3sXD48zVzc7L587ZttHZ0tLg59Pa6tTc1dXc1tXewNbd19nX7Nnk69vh7t3b7t3c7t/mz+Df8OHn4uLo1OLp1OLq7+Pp1eXq2OXs8eXt8ebq5ufu8urp9ezr9uzv7O3s9u3w9+3x5O3x7u7t9+7x7u/y5+/y7+/09vDw+PDz6PD19/Hx+PH06vH06/H19/L17PL2+PP27vT27/T29PT3+fT4+fX39faUe/b39vb49/ebhPf5+Pj5+Pm5d/n4/PrAhPrFjvrFj/rGkfr79/r8/PvLv/vVy/zWsPzcu/z8/P3ky/3n0P3n0f3p1f3q5f3s2v3s6P3u3v3u6f3u6v3v4P3v4f3w4f6Vqv6fsv6nuP6ouf6puv7Bzv7w4v7y5f7y5v7z6P7z8P706v716/717P718v727f739f748f748v749v749/758v758/7+/v7+///K1f/X3//b4v/e5P/o7f/r7//t8f/v8v/w8//z9v/09//4+v/5+//6+//79v/79//7+P/7+f/7+v/7+//8+P/8+f/8+v/8+//9/f/+/f/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAwCeACwAAAAAMgAyAAAI/gA9CRxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuS4qVGjTSMNmlAhRCAkRowgCdTkp89IHAQIcBD4COYjgXjChKkkkkjOBCc89WT0s88YoZpGWsjpwMrLmJzMCKUDMs4dgT8U5KRR8iQloWUsCcw0aaMXKFC0zPE0gkEDHgQrmTGjxxOmOmLE8NEIBi6UKV0EBkq450xgMYA02tkiBS4Vho7FkMmDieOXKlCodFqIRkyaPx8jwZHD8JIkThzDZMGCJUsYh1aKAAFSxArGJkqCK2niUEWK4ylU/BY+vDjy5Bhl07aNWzdv3xsdHULEcIkRLh8LtrlR02a0wg0UOtzgqGjQGjXkGaKncKGFE42G4KthQ0igIIP/eRKDBhQUmINGhcD3RiKeeGCAATIQFEQEEKDgCRMlFFjDRogsIpANBQAAwAszDDDADDoggMADQwj0RBIgTSDiAVGAEEAAIFwhgYoYjOSDiAKI4EkGN2bgCQsLqIiESDCIWIFARAZgpCcfqNjDSCGQsINANuIo0BEurJBSQSWeOOaZaKap5ppstunmm3DGKeecDgUEACH5BAkEAJYALAAAAAAyADIAh6Gd0am31qqn1q6/ha+82bGt2bKu2bOw2rbFkbfM2LzKmbzKmrzKm77Lnb7R3MPV38TV38XW4MjG5NDO6NDZ0dDauNXc69Xd1tXh6Nffwtjf2djg2dng2tva7dvm7N3j79/d79/e7+Dn0OLg8ePp1ePp1uTp5OTs8Obr2ebt8ufu8ujs2+js6Onv8+vq9e3s9u3w7e7t9+7x5e7x9+/u9+/y7+/z6PDz6fDz8fD09/Hw+PH06vH1+PLx+fL2+PP17fP2+PT27vT3+fX38PX39fX4+vaYgPb49vb49/efiPf59/j5+Pm7fPn5/Pn6+frCifrGkvrHk/rIlfr79/r7+Pr8/fvNwfvXzfzYs/zdvvz9/P3lzf3o0v3q1v3r5v3u3/3w4v3x5P3x5f6arv6ktv6rvP6svP6uvv7E0P7u6v7w7P7x4/7x7v7y5v7y5/706f717P718/727f737/758/759P769f7+/v7+//7////N1//Y4P/c4//d4//f5v/q7v/s8P/u8f/w8//x9P/39f/4+v/59//5+P/5+v/6+P/79//7+P/7+//8+f/8+v/8+//8/P/8/f/9+//9/P/+/f/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AC0JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5FipUKFKIw2SQPFDYCSTkQRCSnRopI0BAzK4hCmQUJo0j0QGwYmghKWXhWIeUvNz0sgKOBtMQRqpEpufcUC2kSNwhwKcMkqeZPSTTVBLkhpt5MKECZY3lkQsYHCD4CM2bAxZcgTny5c6Gru0ZQJli8A7CemE8fvFjkY4WZ60jcJQjF8wcxxx5CKFSRSUCi2LAexR0Ro3DBstosTRyxUrVq54cUhlyI8fQ6hgTGKkt5EkDlegGI5ixW7fv4MTL47RNWzZtG3j1r0R0R9ADJEQ0fKxz5kxZkCxJ9xAgUMNjoL0kBkDniF5ChdYLNHoh/2YMnsE4jGYRyAMDRQEiINGfLCHRiCWdGCAATEQ5AMEEJxgiRImBHieRoAMIhANBQAAgAszEEDADDkkkMADQAjkxBEgSeDhAU18EEAAH1QRgYkYjNSDhwKEYIkFM1pgiQoOmFiESC94OIFAQAYgpCUemMjDSCCMoINAMtIokBAtpJBSQSGO+OWYZJZp5plopqnmmmy26eabDgUEACH5BAkDAGUALAAAAAAyADIAh6ah06um1aun1q+82bCs2LGt2LHBibXEkLbFkLrIl7y43rzQ277I4L7J4MDT3cTQpsTV38XW4MfE48zJ5szb5M7YtdLQ6dPcvNTc1dXh6Nbd7Njgw9ng2tnk69zj3d3n7d/l4OHm8eTp5ejn8+nt3evv4e3w4+3x4+7t9u7z9e/y7/Dz6fL2+PT27vT29Pb49vechff48vf58vium/munPm+gfnGkPn4/PrKmPr7+Pr7/fr8/PvNwvvOoPvOwvvWsPzZ0Pza0f3n0P39/f6esf6ktv6wwP62xf7Czv7m6/7v3/7x5P7y5/7y7/7z5/7z8P706f716/749v779v7+/f+qu//b4v/s8P/08f/28//37v/39f/59//5+v/69f/8+P/8+//9+v/9/P/9/f/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK7DhmzMiDK0oMJFOSzEAwYk4mMLBBIMsxLstwaYJFpgEDKm+6BNOkyZOTF35WKCO0zJaiXE7mQGDggMCSAos+ydmRSY0aP6aUWZHggcEsT2JS0bJkSRiNSr7WsMGEYRgnbZd82ShErg2GeNt66aikRw0cDKEsifL2pOOBUoL48BFEikMqMVq0iEEFIw0YoGHMcHiChGkSJjyHhkGD9GkSJzBKAcKDBxDLDanI0Cyj8+PHSY4QMcLQAwYQLzpaIcK8CkMOGKKr2JiEOZEqVxi+gB7dhcYrRIp1IOlSZkQBBQYpRGBRZoiI6Mk93ggAQEAZHQ0a6CizYIGDHSdNAAAAEpQRwgADhFBGBv11cBIBA45QhgYIalBGCv1F8CAAFghE4QAWlvHBAhCchIKEAh2Y4EApsPfbfQwwsN+LNNZo44045qjjjjz26OOPGAUEACH5BAkDAGUALAAAAAAyADIAh6un1rCs2LCt2bTA27TEjrWx27Wy27jHlbnIlb3Lm8C94MHT3sLM4sTV4MbSqsjY4cnZ4svI5tDO6NDauNDe5tTdv9XT69jg2djj6tnf7drixtvm7N3k3d/m4ODp7uHn4uPn8ubr5+rp9ezw4u/u9+/y5+/z5+/z9vDz6fDz8PP3+fX39fb48fegivf5+Pixn/j59PmyoPnAhfnHlPrMnPr5/Pr79/r7/PvPxPvQo/vQxfvXsvv8/fzb0vzb0/z9/P3n0f50j/6jtf6ouf6uvf60wv65x/7K1P7v4P7z6P706f717P727f729P737/739f759/7+/v+OpP+6yP/F0f/c4//o7f/t8f/2+P/48v/49v/59//5+//6+P/79//7+v/8+v/9+//9/P/9/f/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMsIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5IhFihQsIw2iGDHwSJAgRwaKGZMyAQENAo28NCLwSxMtNQkQYKkzCE8xTZo8SVlB6IQyLmGW6ZL0S0obBwggKFPyZJmkTch8TCJDxg4vZVAkcGBwyxOaZLIoURJGI5KyMmYkYRhmyVwlYDYCwTuDod+5aDkiySGDBkMmSpzUTUl5IBQfOnT4gOIwCgwWLGBEwfiihekWMRyaGMF6RAnSp1u8UN16hAmMUHrgwNGDc0PPoEVXHm5lipAiDDtc+OCiYxUh0Ikw5HCheoqNVqALIXKFoQvq1Vd5aLwiZAgVLmVEGFBgkAIEFWV+hKje3GMNAQAClLnBgMGNMgss0AAPKUkAAAARlAHCAAOAUAYGAW6QUgEHilBGBgxmUMYJAUIwIQAWCIThABqW4cECD6REgoUCLdjgQCfAN9x+/f0344045qjjjjz26OOPQAYpJEYBAQAh+QQJBABiACwAAAAAMgAyAIewrNi0sdq1sdq2xpK5tty5xN66tt26yZi7ypm+zJ/EweLGz+TG1+HH0OXI1K3K2uPM2+TN3OXOy+fR27rS0OnU4ejW38HX1ezb48jb5uzc4e/c493f6e7g5uHi6u/j6OTk6fLk6uXp7enr6vXs8OPu8ubw7/fx9Orx9evx9fjy9PL0+Pr2+Pb3pZD3+fP4tqX4+vX5tqX5+fz5+vn6w4v6ypn6+/j6+/37zqD70af70cf70sf7/P382bb83dX96NP9/f3+eJP+kaf+qLn+rb3+uMb+u8n+y9b+7vH+8OL+8+j+9u7+9/D++PH++fT++/f+/v3/s8L/vsv/ydP/3uT/6e7/9vf/+fP/+fj/+fr/+/r//Pn//Pv//fv//fz//v3//v7///7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/gDFCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuRoRYgQKyMNniAx8EiQIEcGfgGTMsEADAKNvDQi0IsWLTUHDGCpMwjPLz+BjrQgdIIYlzDFcPnpJaUNBAMOiCl5UkxSkEpo0OjxRMyJBA4MTqUZxsmSJVUzJhFLo4YShl6YvF3SZeMPujUY6n27pWOSHDRwMGyy5ErclJAFYvGxY4cPLA6hwHDhAgYUjDFaiG7xwiGKEqhLoAA9ukUM06lVY5ysQ8flzJs7f44cuYqUIUUYftgQYkZHKkOSR2HYYYNzFRurJB8SBQnDGc2ds9CIZAiRKVnEcYwwoMBghQgrxAAR4dy4RxkBAAgQc6NBgxtiGDB4wCMlBQAASCAGCAUUAIIYGejHQUoEADiCGBoUqIEYKegXAYMAXCBQhAVMKIYHDECQkgkPCkSggQOlkB5v9C2wAH4sxijjjDTWaOONOOao4448YhQQACH5BAkDAF8ALAAAAAAyADIAh7Wx27m13bnIlrq23b3LnL3Lnb6637674L7J4MHOosjF5MrT5srVsMvb487d5NDO6NHf5tLg59PdvdXT6tfgxNjk6tnX7dvjyt7k8N7p7uHm4eHq7+Ts8OXp5ebq8+br5ujs6Ozr9uzv7O3x5PHw+PH06vL16/L2+PP27vT29PX4+fiplfj59Pj5+Pm5qPm5qfn6+frFj/rMnfr6/fr79/r7+Pr7/fvQpPvTyfvUyvzUq/zbufze1/z9/f3f1/3p1P39/f59l/6Vqv6tvf6ywf63xf68yf7Bzf7L1f7g5v7w4/706v758/75+P769P769f779/79/P7//v+Vq/++y//O2P/q7v/v8v/2+P/6+//79v/7+P/9+//9/P/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AL8IHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5IhFiBAsIw2aGDGwSpAgVVIWTCDggkAqL6nIJEhTAEucQXTuFEhBgAAJX1zCHCqwBgEBBb5gmTIF5cglMWLs2PLFRAIGCr1AYcIkikYlWWPIWMIwihOyTLps/JFWBsO3ZLl0VKIjxg2GT5hoMcs0ZRMeOXLwaOJQCg0WLGhIwehiheUVLxyiKMG5BArKl1e40NzZM8YmPnDg8MG4oZQakGtMLjzSypEhRhh+0AACRsckQ4IXYdhBg/EUG60EH1LkCkMYxY230HhlCBEkWb6EOKDAYIUIKr5jABFh3LfHGQMABPhiY8ECG18aNHDQI+UEAAAefPGAAIGHLxnIt0FKBuAXwhcY9IfBFyfIFwGBAFggUIIILPgFBw1AkBIJBwrEn38DnRAeU+29R9uJKKao4oostujiizDGGGNAACH5BAkDAGQALAAAAAAyADIAh7m23bzKmr2638DNoMG+4cK/4cTN48TQpsvI5szXs8/W6NHf5tPR6dTh6NXewNbi6dfj6djW7Nngxdva7tzn7N3kzOHl8OPr8OTp5eXt8efs6Ojv8uns9ent6uvu6+3s9u3x5e7x7/Lx+fL16/P3+fSDZvT27vWKb/WSePWSefX39fahi/b48fb5+vium/ixn/m9rvnAsvn69vn6+fq9rvrIlfrPovr7+vvSqfvVr/vWzfv7/fv8+Pv8+fv8/fzXzfzdvfzg2Pzg2fzh2vz8/f3n4f3x5P3+/f6Cmv6ZrP6Zrf6xwP62xP66x/7AzP7Ez/7N1/7h5/7r1/716/72+P739f77+P7+/v/AzP/Q2f/r7//w8//6+f/6+//7+P/8+f/8+v/9+//+/P/+/f///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMkIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5EhFiRIqIw2OADEwCxIkWQYGKZLyQIAKArG8xCIwRokUNQMEYKkTCc8gJUqgSClBqAMyLmGSeZE0RkoeAwIMIEMlSRKUSU9U+TilRg0gVsiMOJDA4AoUNMmE8eJljEYjZmvYmMJwzBe6dTdKyWuD4V+6YjoayVEDB0MwXr7YTUl5IJchP34M4eLwSg8ZMnpcwUjDhWkXMByyMMHaBAvSp13QUN3aNUYuQnToEMK5oWfQoisL1/JkiROGHTB4uNExypLnTRhqwEBdxUYtz5c02cLwxnTqMzR3blnCBEoXMh8KIDBIAUILMkdCUGfucYcAAALI+FCgwAeZBQs0QERKEQAAAANkcGCAARyQcQGAGaREgIEfkGHBghaQQQKAEEgIwAQCXWhAhmRssMADKYlQoUAKMjgQCe8Jpx9//slo44045qjjjjz26OOPQAaJUUAAIfkECQQAXwAsAAAAADIAMgCHv7zgv82fw8Diw9Ckw9ClxsTjxtOqx8XkydHlz83oz9m309rq1t/C1uLp19Xr2OPq2uXr29nt2+PJ2+bs393w3+bP4Onu4+fx5u3y6O/z6e3p6vD06+727O/s7fDt7u737/Lv7/Pn8vL58vTy8/Xt9Pf59Ydr9o509pV89pZ996SP9/j39/nz9/n6+LKg+LOi+Pr1+cCx+sGy+sK0+sqZ+tCm+tOr+vv4+vv6+9ey+9jP+/r9+/z5+/z7/NnQ/N7A/OLb/Pz+/P36/P3+/eHa/ejj/fHl/f39/oee/p2v/p2w/rbE/rrH/r7L/sLO/sTP/sjT/tHa/uvZ/vHz/vXr/vr4/+Pp/+zw//f2//f4//r7//z4//79//7+///+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4AvwgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkmEWJkiwjDZIIMTAKEiRRBhIpktJAgAoCnbx0InCGiRQ1AwRgqRMJTyImTKBIKUEogy8uYX55kXRGyhsDAhD4kiVJEpRJT2D5SIUGjR9bvpAwoMCgChQ0v3ThwmWjEbM0alBpSJdul41S8NZg2JeLl45GctCwQZhuyscFqwDx4QNIFYdehPDgIeTwxRguQruQ4RAGi9MsYGAELTpGadSpMUrWocMyZs2cPUN+fAXKkicMPWgA0aOjlSXImzDsoKH5io1XkC9pMoVhD+bNcWicsoRJFC1fPm8cSGDQwoQWX46MaF7c4w4BAAR8CbJgQZAvDRo8GJIyAgAADnzBAQIIcPAFBvllkFIB/33wxQUEXvBFCflNsCAAFAgEIQISfrFBAxCkJIKDAg1Y4EAloLfbfPXdt+KLMMYo44w01mjjjTjmqCNGAQEAIfkECQMAaQAsAAAAADIAMgCHwc+jw8HixNKoxdKpxsTjxsXkyNSuysjly8nmztbo0Nu60tHq193s197s2ODF2djt2+bs3OTL3dvu3ejt3+nu4OfR4Onv4eDw5Ozx5urz6O/z6/H07O/27fDt7fP27+/37/Lv7/Po8PLw8vTy9PP69Pbu9Pb09Ytw9fj69pJ49pmB9pmC96eT+LRt+Pn4+Pr7+bal+b1/+b6A+cGH+fv3+sO1+sS2+sW3+saR+s2f+tCk+vz5+9Or+9ax+9m3+/v7+/v9+/z5+/z7/NrS/NvS/N/D/OHb/OPd/Pz9/P37/ePI/eTd/ejj/eza/ezb/f38/f7+/oui/qCz/qG0/sTQ/tPb/vHj/vPn/vbt/vf1/v7+/7vI/7/M/8PO/8jT/8zW/9Tc/+Xq/+3x//L1//j5//r1//r5//r7//z5////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4A0wgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkSGbKFDIjDZYIMbBKlChVBhphktIAgAoCqbykIvDGiRU1AQBgqTMKTyMnTqhIGUGogzQuYaaBkfRGyiADAAhIQ0aKFJRJU2T5iCVHjiJo0pQwoMAgCxU0y+ho0cKKxitmc/DAwtCKDLotmmx0kpcHwxiAlXS84iNHD4YzWuCwm7LyQDNHhgw5YsahlidJkjzRgrEGjNMwbDgMQqM1jR2lUcOosdo1jSAYzSwhQmRJ54afQ4+2TFzMly1eGIroMEJIxzBbondhCKKDdRcbxUTf0mUMQyHVrXv/0DhmCxcwZ9J8QLDAIAYLL9JoMWHduUcgBAIUSIOEAQMkaUAAwQRQpCRBAAE8kAYHCSTAQRoaCLhBSgcg+EEaGTSYQRooCGgBhQFcIFCGCWyYhgcQUJASCRcKxKCDA6EQH3H8NdAAgDTmqOOOPPbo449ABinkkERiFBAAIfkECQMAZwAsAAAAADIAMgCHxNGnx9OsyNStycbky9axzMrmzcrmz8zn0M3o09rq09291tTq2uLI2+Dt2+Hu3dvu3eXN4Onu4d/w4efS4erv4+Lx4+vw5Ozw6O/y6ez06/H07fL17vH38PPp8PT38fH48fTx8/Xz8/bu9Pb09Y919fT69ff19pZ99pyF9p2G9vj296qX9/n6+LZy+bmo+bqq+b+D+b+E+cOM+fv8+se6+siV+tGn+vv6+8e6+9Cj+9au+9i0+/v9+/z6+/z7/Nu6/NzU/N3U/OHF/OLc/OXf/P37/P38/P3+/eTK/eXf/erl/ezb/e3c/fHk/f38/f3+/f79/pCm/qS2/qW3/vPo/vbt/vr1/vr5/v/+/8DM/8TP/8fS/8zW/9DZ/9Xd/9jf/+fr/+/y//P2//f5//j2//v8//z5////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4AzwgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkOGbKlDEjDYroMNBLlCheBg5RkpIAgAkCt7zcIpAGiRQ1AQBgqTMKzyEkSKBICUEogzMuYZ5xkZRGyh4BAAg4M0aKFJRJT5D5WCVHDiFmzoggoMDgChQ0rdho0aKJRipmc+iowrBJDLotlmxkklcHQxiAkXSk8iPHDoYyWtSwm7LywCtEgAAhcuUhlM9QMtJ4QfoFDodOiqgu4gTj6NJWG6Ze3frilSRBgiTp7BB0aMvAw3TJwoXhCBAmjHQEk6U5z4UhQEi/sTFM8yxbxDA0El26D41isnZo+VLmzAcECwxiuDDjDBYV0pV75FFggIEzRxw4OHImQgQKT6QkwQADPHAGBwkkwMEZGvi3QUoHEPjBGRkkmMEZLPh3AYQDVCBQhQlceIYHEViQUgkTCoSgggOx0B5w+DXQAH8w1mjjjTjmqOOOPPbo449AYhQQACH5BAkEAF8ALAAAAAAyADIAh8fTq8rVsMrWsM3L583YtdDO6NPR6dPS6tXewNjf7dnY7dzjyt/l8N/m0ODe8OLo1OPh8eXk8uXt8efu8ujv8unw8+zv9uzy9e/09vHz+fH06vH19/Ly+fL2+PT37/X1+vX39faUe/aag/b49vehi/ium/j5+Pj6+Pm5d/n7/Pq8rPq/sPrCiPrGkPrJvPr7/PvKmfvKvvvLv/vSqfvTqvv8+fzYtPzbufzdvvze1/zj3fz8/Pz8/vz9/Pz9/v3f2P3jyf3ky/3n4f3n4v3t3P3u3v39/f6Vqv6puv7r5v7y5f706f727v749v7+/v/E0P/I0//K1P/L1f/P2P/T3P/X3//a4v/o7f/w8//z9v/4+v/69v/7+v/7+//8+v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AL8IHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5KgFCRItIw160DCwypEjVQbqSJKSAIAHAqO8jCLQRQgSNQEAYKnzCE8dIX6mbCB0wReXML+oSOoiZQ0BAAJ8KXnyS1IRTT4ymTEDiJcvHgggMFiCBM0tNFCgUKJxCdkZNpgwVMJCLgoiG4vctcGwr9wgHZfgmHGDYQsUMOimnDyQy5AfP4ZwoWwwxorPK2RwLugZdIzRBLkIyZFDyGbUsBtiofJkCsMRIEwY6XjliW8pt0EI37ERi+8nUrIwNIJbeA+NWZ5AsdLlC4cDCgxeqPDii5MTwndee+RRYECBLz4YMPDxRYKECU5SQhgwwMGXDAkSZPiCwf2GlAbQx8EXFuRnwRcpuFcBgANEIFCBCRz4RQcSUJDSBwMKhJ9+A6XQ3WjprRfbiCSWaOKJKKao4oostohaQAAh+QQJAwBoACwAAAAAMgAyAIeuv4W9y5zK1a/N17PN2LTQ2rjT0enW1OrW1OvW38HW38LX4MPY1uvZ1+zd4+/e3O7e5c3g59Hh59Hh59Lj6PLk4/Lk6fLk6tfm5fLp6PTq8PTr8PTs8fXt8vbu8ffv9Pfx9Ory9vjz9fnz9vn08/n09/n19/D2mID3noj3pI/3pZD39vv4sZ/5u3z5+vn6v6/6w4z6w7X6xI36yJT6y7/6+/f6+/r6+/z7zJz7zsL7zsP71a37/Pv7/P382rf83bz838H84Nn85N785c38/Pr8/P394dr95cz96OP96eT96+b97d3979/98uX9/f39/f79/v7+mq7+rL3+rb3+zNb+2OD+9Or+/v7/ydT/zNb/z9n/09z/19//3eP/6+//8fT/9ff/9/D/+Pf/+Pn/+/f/+/v/+/z//Pn///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/gDRCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuQ4ZsqUMSMNmgAxsEqUKFUGClGSsoCACwKpvKQikMYJFTUFCGCpMwpPISdOpEg5QSgENC5honmRlEZKIgMEEEAzRooUlElRiPkYZseOI2fQmCiwwCCLFDTJ7GjRoolGK2Z3+AjDsIkMui2WbGSS1wdDGICHdLQCZMcPhjNa4LCbsvLAMkmMGElSxmENCQoUSKiBUUeM0zFyOAwAoDWAAKVRx9Cx2vVrjGWQBAmCpHPDGhESJIhA2rLlL1ywbGFow4WNKx29YJmuhbmL6042fpmORQsYhleaemPXCAZLli5m0JBo8MDghw49BPK4Dt1jkQMGEKB5YsHCEzQaaLABFClhYIABFaAhggMOiIBGCAGOkBIDB5KAhgcMeoDGDQF2MKEBGQiEoQMaolGCBhyktIKFAi3Y4EA3xGfcfhRQ8N+MOOao44489ujjj0AGKeSQGAUEACH5BAkDAGIALAAAAAAyADIAh7HBib/Mnr/Mn83Xs9DZt9DZuNPbvNfV7Njgw9jgxNnX7drhxtva7tza7+Dmz+Hf8OHo0uLo0+Pn8ubl8+br2ejs9Ojs9enn9Ovq9fD09/Hz+PH1+PL06/L2+PT2+vT3+fX0+vX38Pb4+vechfeijPf3+/iok/iolPj6+/m0o/m+gfnGkPrAsvrGkfrHuvrKmPr7+PvNwvvOoPvRxvvSx/vWsPvXsvv8+vv8/fzcvPzfwfzhxfzj3Pz8/vz9/v3j3P3mz/3m4P3n0P3q5f3s6P39/f39/v6esf6wv/7O1/7a4f7v3/7w4v7y5/716/738P749v779v7+/v7+//+xwP/N1//Q2v/T3P/W3v/a4f/g5v/s8P/y9f/19//5+v/7+v/8/f/9+v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMUIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5OiFChUvIw2G4DBQyZEjSgYGIZLSwAAKApO8TCIwxogTNQcMYKnzCM8gI0aYSBlBqAMxLmGKYZE0RsobBQYQEOMFCRKUSUlA+fjEhg0gYcSEMLDAYAoTNKPUUKGiiUYnZm3keMKwyQq6KpZsZJI3B8MWgIV0dLLDhg6GL1TIsJuy8sAvQ3jwGPLFIYwICRJEgIFxhovTLmg4DACgNQABpVG7mLHaNYAAGDH/+MHZMwQECCCQtmyZS5YqWBgWWe5xS5XnV5QvLyJlI5fnVa50aTidusYuVaxxaAEjBkSDBwY/dPAhUArzjz0UHFAgxkiFCkbEZMiwYUrKCwccMIEYHkgggQdiiLCfCCkxECAIYmhgoAZi4LBfBw0egIFAEkpAoRgo8JdSCRAKVOCBA+HAHnH1WWBBfizGKOOMNNZo44045qjjjjxiFBAAIfkECQQAaAAsAAAAADIAMgCHhp2JlamYnK+epLans8G1tMSOws+j0Nq40drT0ty809y81d7A2uLG2uLH3OTK3dvu393v4Obh4d/w4uDw4ujT4ujU4+nU5eTy5erX6Ov06O3c6O3p6ej07Ov17O727e/37u338/X58/bt9fj59vX69vf79vjy9vj596CK96uY9/n39/n6+KaR+KyY+Pj8+Pr7+ben+cCF+ceU+fv7+sO1+siU+syc+vv3+vv8+vz8+8u/+8/E+9Cj+9TL+9ey/NXL/Nq3/OHE/P36/P39/d/A/ePJ/eXf/efR/efh/evn/f3+/qO1/rTC/rTD/tHa/ujS/uzn/u3p/u/g/vHk/vPo/vXs/vjx/vj6/vn3/vz6/v7+/9Lb/9Td/9ff/9rh/9zj/93k/+Po/+7x//P2//b4//v3//z7//z8////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4A0QgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkeKVJkysjDZoQMfDLkiVfBiKJknLBAQ0Cnbx0InAHihY1DxxgqXMJTyQoUKRIiUEoBTQuYaKhkXRHSiEJDihAc4UJE5RJWWD5aAUIkCdZ0JhY4MAgjBQ0y/iIEYOKxipmgRCxwpCKDLoxpGyckpcIwxqAj3SsUgRIEIY2YvCwm7LyQDNJjBhJYsbhDQsNGli4gfGHjtM6ejg0UKB1AQOlUev4sdr1a4xmoGiG0rnhjQoMGFQgbdnyGDBbvDAUAGDAho5itkjvwjAAgOsINo6RvqULGYYbrHtfj6CRzBYuYc6gITHhgsEXK5SgUUHg+nOPSiA8gIBGy4cPWqAxwoABjtTBAw9wgEYJGWRQAhozDIhDShIgSAIaITQYAhpDDLgChQ+AIFCGGWyIRg4jnJCSCxcKxKCDAw0hX3H9eeBBgTTmqOOOPPbo449ABinkkEReFBAAIfkECQMAYwAsAAAAADIAMgCHiqCNmKyboLKip7iqtcO3tsaSw9Cm0ty809vU1N7A1d7A1+DE2+PI2+PJ3uXN4eDw4efi4uHw4uLx4+nV4+nW5OPx5eTy5evZ6Oj06O3p6e7e7Ov17fD37u328PD48fP59Pbu9vjy9vj796WQ96qW9/f79/j3+K+d+LCe+Pn8+bus+sOL+sa5+sqZ+vn8+vv4+vz8+8uZ+86g+9DF+9Gn+9HH+9jP+/z8+/39/Nm2/NnQ/N28/OPI/Pz6/P39/eLF/ebN/efh/ejT/eji/ejj/erV/e3p/f3+/f7+/qi5/rjG/tPc/vDi/vLl/vPo/vv3/vz7/v7+/v7//9ff/9rh/9zj/97l/9/l/+Hn/+br//Dz//X3//fu//j5//ny//n4//n6//37//39////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4AxwgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkCEaJEjAjDYYAMdBKkiRWBhIxknLBAQ0Cl7xcIrDGCBQ1DxxgqTMJTyIjRpxIeUHohDEuYY5hkbRGyh4KDiQYU/LkmKQkvnz0smNHkTBjQixwYFDFCZpPcqxY4UQjl7I7fnhh6KTF3BVMNjbB+4NhjL9COnIBsoMHQxkraNRNSXkgFCNDhhiB4vAFhQYNKLzAaGOG6Rk6HBoowLqAAdKnZ9hQ3do1xstBgmzuPIEBgwmjK1fegmXKFYYCAAzI0FHLlOdVGAYAQB3Bxi3Pp1TpwjDDdOoQNHR2mUIli5gxJSxgMHgDRpQxJghQZ+7xSIQHEsZI+fBByhgYAFLWwQMPbDBGChxwkMIYOADoQ0oVEFjCGCIkKMIYSAAIA4QPeCBQhRxcOIYPAY7kwoQCIajgQEi8J5x+/Pn34ow01mjjjTjmqOOOPPboI0YBAQAh+QQJAwBqACwAAAAAMgAyAIdkkqxtmLF2n7Z3n7aKrcCPpJGdr5+dusujtKWnwdCru62xyNW5xrq5yJbG0qrH06rU3NXV3sDX38PY4MTY5Ora4sfb48rc48rf5s/i6OPi6u/k6tfl6tfl69jm5fPn7Nvo5/Tp6PTq6fXq7t/q7urs7Pbv7/fx8fny8vny9Pn09u/09vr1+Pr3+fP4qZX4s6H4+fj5rpv5tKL5+fz5+vz6vq/6xY/6ybz6zJ36+vz6+/j7zJ370KT708n71Mr7+/381Kv827n83NT838H86eT8/fv948n95cz959H96dT96eT96uX969j97uv97+v+rb3+vMn+vcr+4Ob+7+v+8OP+8+f+9Or++fP++fj+/Pr+/v//1t7/3OP/3uT/4Ob/4uj/5er/6e7/8vX/9/D/9/j/+Pn/+vv/+/j//Pz//P3///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/gDVCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuRoJkoUMyMNtlAxUMqTJ1IGKpmSskKEEQK3vNwisIcLGTUjRGCp8wlPJS5cvEj5QegGNS5hqrmRtEfKIhIiTFBjBgoUlEljYPl4ZcgQJlnUtKiAwWCNFzTPBLFhw4rGMWaHGLnC0AoOujaobKyS1wjDHYCTdByDZMgRhjxsALGbsvJANE2WLGmCxqGODhcudNCBUYiP0z6EOHTQoHWDB6VRp17tuoEDjGicECHipHNDHRwsWOBA2rJlMmC4fGGIoIACEh3FcJnuhaGBAtghbCQznYuXMgxJfFzHnkFjGS5dwqRRM0NECYMEBmhQA4MBdugetYDwAEKNlhUraKEGAAAEwEJKJ3jggQlq/JBCCj+ocQCBCaQUgoIzqEHDgzSoQQGBA1joAQoCbZhCh2osAIAAKeWQoUAOQjgQBfMZ5x+AAtqo44489ujjj0AGKeSQRBaJUUAAIfkECQQAZwAsAAAAADIAMgCHaZavcp20e6K4e6O5jrDCkqeVn7KioL3NprepqsTSrr2ws8rXusi8vMqayNOsyNSt1d3X2ODE2eXr2uHH2uLH3OPL3eTM4efS4uvv4+jk5uvZ5uva6e7e6u7q6+r16+/h7Ov17ez27u338O/48vL59PP59fT69ffw9fj6+K6b+LKh+Len+Pn0+Pn8+Pr4+bin+sK0+siV+s+i+vr9+8zA+8+i+9Kp+9Wv+9bN+/v9+/z4+/z9/NnQ/N29/ODY/OLG/OfQ/OnU/P3+/eHZ/ebO/erl/ezn/e3c/fHk/f38/f3+/rHA/r/M/sDM/uHn/uvX/vDs/vHt/vHu/vTq/vXr/vjx/vr0/vv4/vz7/9jg/+Dm/+Lo/+Tp/+br/+js/+zv//T2//j5//n6//r5//r7//37//39////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4AzwgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkSIYJEzIjDbI4MdDJkiVOBhaBkrJChA8Cs7zMIhBHihc1I0RgqXMJzyIpUqxIyUHohjMuYZ6hkRRHyiQUIkw4Q6ZJE5RJVYz5aOXHjyNlzrCocMEgjBU0r/SIEYOKxipmfxCxwpCKDLoxkGyckpcIwxqAn3SsEuQHEIY2Ytywm7LyQCxRjBiJgsWhDg0WLGjQgdEHj9M8hjh00KB1gwelUfPwsdp1AwcYsUjRLKVzw8+hR1seHsaLli4MERRQ0KEjGC3QuTA0UKA6hI1hoGvhIoZhB+rVM3RoFKNlyxczZ2aIGGGQwAAMZ1wwqN7coxIQHkAInDFDIAAAAaCQUgkeeEDCGUK00IIQZxzwXwIphVBgfzsouMMZEvw3QIQemCBQhS1ceMYCAAiQUg79CZTgggNJAN9w+6UI44w01mjjjTjmqOOOPPboI0YBAQAh+QQJAwBiACwAAAAAMgAyAIdumbJ3n7Z/pbuApbuRssWXqpmktaakv86quaytxdOxv7K2zNi+yr+/zZ/L1rHL17HY39na5ezb48nd5cze5c3f5s/j7PDk6tbl6uXm7Nrn7Nvo7d3r7+Dr7+vt8eTw8Pjx8fjx8fny8vn09Pr19/H29vv2+fr4sqD4u6v4+Pz4+fT4+fj5t6b5vKz6xbj6ypn60Kb606v6+/j7z8P70ab717L72M/7+/383dX83sD8/P78/fv949395Mv96tf96+b97ur98eX9/f7+tsT+w8/+2uH+6NL+6dX+69n+7t/+8O3+8u/+9ev+9ez++fX++vj+/v7+/v//xM//5On/5er/5uv/6Oz/6u7/7O//7/L/9ff/+PL/+fr/+vv//Pj//fz//f3//vz///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/gDFCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuTYRYqULiMNqiAxcMqQIVMG/lCSsoIEDwKLvCwi0MaJFjUlSGCpcwjPHydOoEjJQegGMS5hipmR1EbKHRQkTBDThQgRlElZPPnopEePJGHEqKhwwaALFDS95HjxgonGLWZ7GHHCkAkMui+CbGyS1whDGoCRdNzio8cRhjFe1LCbsvLAL0uAAFnyxaEMDRUqaJCBkQeO0zh4OHzQoHUDB6VRp17tusEDjJg1c/acIXQG0pYtc8FC5QpDBAUUdOiohYpzKwwNFJgOYSMX51SsoFzYQfp0DBq7clCpkgWMmBsiRhgkMMCCmBUMpi/3GAXEhxAChQgRCABAABMplfDBByWIEYV+UYhxQH8JpGTfBzeIAYV+UIgRQX8DOPhBCgJNKESFYiwAgAAp6RChQAcKkaBAEbgXXH77vSjjjDTWaOONOOao44489phRQAAh+QQJAwBlACwAAAAAMgAyAIdmf7Z0nbR9o7mCl8SDl8SEqL2Fqb2WtcabrZ2nt6mowdCuvK+wx9Syvtq0wbW5ztrAzMLBz6PFzuPM2LTN2LTZ4Nrc5uzd5c3f5tDg59Hh6NPk7PDl69nm6ubn7Nzo7dzq79/r8OLs8O3u8ub19fr19/r29vr2+PL2+Pr39/v4+Pz5tqX5uqr5vq/5+fz5+vb5+vn6v7D6zZ/606r6+vz6+v37yLz706v71rH72bf7/Pn80sf829L838P84dr85uH8/P7959D96tX969j97Nv97dv98OH9/f79/vz+7ej+8O3+8e7+8+f+8/H+9PH+9u3++fP++vb+/v7/u8j/yNL/3OP/5ur/6u7/7O//7PD/7vL/7/L/8vX/9/j/+vn/+vv/+/z//Pn//fz//f3//v7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/gDLCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuT4hQqVLyMNvjgx0MqUKVYGJlmSUsOFEQKrvKwikMeKGDUvXGCpcwrPJCtWtEgZQiiIMi5hltmRlEdKJBguYChT8mSZpCy8fIwSJIgRMWVeaOBg0EYLmmF6yJDxRCOUskGERGH45MZcGUw2PsErhOGMv0Q6QikSZAhDHDJy1E1JeeCYJkqUNBnjUMeHDBk+6MD4w4dpHz8cTojAOgIF0qdRq24dYQLGMU4yO+HcUIcH0B5GV678ZcsVLQwXIHAgomOXK9CzMEyAoHqFjV+gX8kChqEI6tU7d2gEcwULFzJlgKRQYfCAgQ1lYECo3tyjFBL4y5QgQKBEmQABCIBCSjTg50IZEgAAgARlKAAgAymZgB8QZTSgYANlWACgARGSUINAFgKAYRkPBFBASkdQKFCCCw5kAXzD6TfAAP7FaOONOOao44489ujjj0AGiVFAACH5BAkEAGMALAAAAAAyADIAh2uDuXmht4Gmu4aaxoeaxomsv4mswJq4yJ+xoau7ravE0rG/srPK1rTA3LfEuLzQ28LOxMTRp8bQ5M/Zt8/auNvh293n7eDn0eHn0uHo0+Lp1OPp1uXt8efr5+jt3Ojt3unu3uzw4uzw7e7y5e/y5/X2+vb5+vf59Pj6+Pm6qvm+r/nCtPn79/rDtfr6/fvLv/vQo/vWrvvYtPv7/fv8+vzUyvzWr/zbuvzd1Pzhxfz8/v3l3/3p1f3q5f3r2v3t3P3u3/3x5P3x7v39/P39/v7q5f7t3f7u6v7y7/7z6P718/727f727/759P76+f7+///AzP/M1f/M1v/f5f/n7P/v8v/w8//x9P/y9f/z9v/19//5+//79//7/P/8+f/8/f/9/f/+/P/+/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMcIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5NhFipQuIw2yODGQChQoVAYeEZJywwUSAqe8nCIQR4oWNS9cYKkTCs8jKVKsSDlCaIgxLmGOqZEUR8ohGi5oGNMlShSUSVU4+ciFB48gYcaw2ODB4IsVNL3kgAFjicYmZnn44MJwSQy6MJJsZJLXB0MbgH90bAKEhxGGMmDcsJuy8kAwSpAgUQLGIY0PGTJ8oIGxyI7TO3o4pBChdYQJpVHvKLLadQQKGDFr5uwZBAYMIEhbttwlSxUsDBcgcCCi45Yq0K8wTICgeoWNXaBXufKFoQjq1Tt1aPxSxYoWMWOIuJhh8IABDmNQQKje/KOL+2NKECBQYkyAAAKYkJIO97EnAQAASDCGAv8xkNJ9LhAxRgMINjCGBf8Z8KALOghEIQAWjvFAAAWk9ISEAh2Y4EAWwDdcfgMM0N+LNNZo44045qjjjjz26OOPGAUEACH5BAkDAFcALAAAAAAyADIAh3CHu36kuoaqvoqdx4udyI2vwo6vwp66y6O0pa7G1K+9sLTCtrbM2LfD3brHu77R3MXPxsfTq8nS5dHbutLbu9zi3d7n7eLo1OPp1eTq1+br2ufu8ujs6Oru3+3x7u7x5e/y5/Dz6fb3+/b5+vj69fn6+fn79/q/sPrCtPrGufvHuvvOw/vSqfvXs/v8+fzWzfzYtPzbufzdvvze1/3jyf3q5f3s2v3u3v3u6v3v4f3x4/3+/P7v6/7z6P7z8P706f708v727v779//E0P/P2f/h5//o7f/z9v/09//19//2+f/39v/3+f/48f/49v/79v/7+v/7+//7/P/8+v/8/f/9/P/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AK8IHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5BiFCJEoIw2aIDHQyJAhRgby8JFSA4YQAou8LCJwxgkVNTFgYKlzCE8eJ06kSAlC6IcrLmFeeZF0RsodGTBkuFLy5JWkKKB8FGLDRo8qV0xo6GBwRQqaU2iwYBFE45OyNm4IYRgExlwWPzY2wXuDYYu/hTk+0WEjB8MYLGTUTUl5oJUlQIAsseLQRQehHVxgxFGjdA0cDidEWB2BwmjTp1OzjjABoxUnmZ1wbuj5woXQlYNTUXIkCcMFCBx46CjliHMkDBUgmF5hIxXnR5BQYehB+nQOGq9bI2GyG+EBAxuulIAwfflIEQMGiLgSIICAEcEFSgAAQMKVBPUxkN8VDfDXwBUW1GfAgAUCcOAVDwRQwID79TeQBenlJwIBBMw34IcghijiiCSWaOKJKKao4kIBAQAh+QQJAwBkACwAAAAAMgAyAIdvabl1i753cr14cr2Ae8GBe8GDqL2KrcGOoMqPocqSssSSs8WTjsqhvc2koNOnuKmuqtixydaywbS2s9y3xbm4zdm6xd+9yr/A093I0snK1a/L0+bU3b7b2e3e5d/f6O7j4vHk6tfl6tfm69nn7vLo7Nvo7Nzo7enp7d3r7+Dr7+Hs8OLu8u/w8+jx8+ny9ez19fr19/r3+fv5+vX5+vn6w7X6xrn6yr36+/j7y7770cf71a372dD72rb82rf83bz838H84Nn8/Pr95cz97t/979/98OP98uf9/fz+7ur+8Oz+8e7+8uX+9Or+9Ov+9PH+9vT/ydT/09z/4+n/6+//8e7/9/D/+Pr/+fP/+ff/+fv/+vv/+/f/+/v/+/z//Pn//P3//f3//f7//v3///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/gDJCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuToRYoULyMN4pgxkEqUKFQGKnmSEsWIFwKnvJwiMEiNHDVHjGCpMwpPJTVq3EjpQmgLMi5hkuGRNEhKJCZGlCBT8iSZpDa6fPxChIiTMWRwoFhhUMcNml+G7NhhRSOXskSMfGFoxcfcHU02YsFrhGGPv0U6cjlChAnDHzuA1E1JeeCYLFCgZEHbUIgKESJUCMFYJYnpJEscctDAWgMH0qeTVFHd2jXGy5k3OxSSIkSIFKMrVw6j5coWhhQeXGDREcyV51oYSnhA3cPGMM+vaBHDkMV06ic0dop5jpJMhwIMDDZYQIIMjQzUmXuEMQCAADIxEiSIQcaAgQMypAQBAAA4QMYGAQSwARkR+FdBSgQQ2AEZFiRoARkf+LcAhABMIFCFAVxIBgYGKJASCBMKhKCCA33QnnD4IYAAfzDWaOONOOao44489ujjj0BiFBAAIfkECQQAXQAsAAAAADIAMgCHdG27e5DAfHa/fXa/hH7DhX/DiKzAj7HEk6TLk6XMlpHMlrbHl7bIpcHQp6PUq7utsKzYtMrXtsS3ubXduse8vMffvNDcwMzCw9XfytTLzdXnzdez1t7B19/C3Nru4Obg4erv5ePy5uvZ6O/z6e3d6e3q6u7f6+/h7PDi7PDj7vHl7/Lv8vTq8/Xs9Pbu9vb79vj79/n6+fr2+fv6+se6+s3C+vv4+8u/+87D+9XL+9ey+9u7+/z6/Ny8/NzU/N/B/OHF/ePc/ebP/fDt/vDi/vHk/vLv/vPn/vTp/vTx/vTy/vXr/vfw/v79/83X/9bf/9ff/+Xq/+zw//fu//n3//r1//r5//v6//z4//z9//36//39//7+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4AuwgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkmOXJkywjDdqQMVCKEydSBg5JkvIECRcCo7yMIjAIDRw1SZBgqdMJzyE0aNRI2UIoiy4uYXbxkTRIyiYmSJjokgUKFJRJb1z5qKVIkSlNutg4ocJgjho0tQjRoYOJRixmixzRwpBJD7o6lmyskvcIwx2AiXTEsqQIEoY/dACxm7LyQC5WqFCxwsUhjxQiRKTggVGJkdNGlDjksKH1hg6lUade7XoDB4yYNXP2jCI0CtKWLXPZQpwhhQcXVnQcTnwLQwkPon/YyLw4wxXQo5fYSLxzFw8FFG0YbMBgRJcZGaIr9/hCAIABXWAkSACjiwEDB2KkhAAAgIMuGgQQgAZdRHCfBSkR0J8HXVQgYAVdgHAfAwkCMIFADgYAYRcYGLBASiEwKFCAAw4EgnnBxYcAAvWl6OKLMMYo44w01mjjjTjmiFFAACH5BAkDAGMALAAAAAAyADIAh3lzvYCUw4F7wYF8wYmExY2vwpS0xZeozpiozpqWzZq4yZu5yanD0aun1q++sbOv2bfM2LjFury53r7KwL7S3L/J4MPPxcbX4M3Wzs/W6NDauNjgxdnhxd3b7uHm4eLr8OXk8ufs2+jt3Orw9Ovv7Ozw4u3x5O7x5fDz8PH06fP17fT37/b1+vb48ff4+/f6+/r79/r7+vvLv/vOw/vRxvv8+fzSx/zXzvzat/zev/ze1/zhxPz9+v3fwP3jyf3l3/3x7v50j/58lf6Fnf6OpP6Xq/6nuP7o0v7x5P706f717P718/727f729P737/748f78+v7+/v/L1f/S2//a4v/c4//l6v/o7f/u8f/2+P/48v/49v/79//7+v/8+v/8+//8/P/9+//+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMcIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5AiGChUwIw3WgDEQy5QpWAYCWZLyRIkWAq+8vCLwhwwbNUuUYKlzCk8gMmTQSLlCqIoxLmGO0ZH0R8ooJkqYGFPy5JikM758DJMkiRYxY2qcSGHwBg2aUI7gwPFEo5eySZSEYfikx1wcSjZywRt4YY6/SDp6cZKECcMdOHzUTUl5oJgvXbp8QduQh4kQIUzwwLiliekmWxxu0MBaAwfSp1Grbq1hA8bLmTc79CxChOjKwKsUCUKE4QQHFlB0lBKk+RCGERxI97CxSvMgQ6wwRBFdOgmNVoJ2CDGSZUwHAgkMMlgwYkwMDNKVe2QxAICAMS4QIHAxpkABAy+k9AAAADQwRgYBBJDBGBD4R0FKBBDYwRgVJFjBGB/4twCEAEggUIUBXDjGBQUokBIIEwqEoIIDfdAecPgdcAB/MNZo44045qjjjjz26OOPQGIUEAAh+QQJAwBjACwAAAAAMgAyAId+eMCFmcWGgMOGgMSNiMeOiciTs8WauMmbq8+crNCemtCgvMyuqteuxtOzwbW2s9u7z9q9yb6+u+DBzMLCzOLC1N7G0cjI2OHP2NHR2enS3Lza4sjb48ne3e/i5+Pj7PDm5fPo7d3p7t7q8PTs8O3u8ubv8ufw8+nw8/Dy9ez09+/19/D39vv3+Pv3+fP4+vz6+/j6+/r70MX71cz808n81sz829P83bz84cT848j8/Pr8/fv94sX94tv95s395+H96tX+eJP+gJr+iaD+kaf+mq7+qrv+8uX+8/D+9u7+9/D++PH++fT+/Pv+/v3/zNb/19//3eT/3uT/3+X/5er/6+//8PP/9vT/9vf/9+7/+fL/+fP/+/r//Pn//Pv//fv//fz//f3///7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/gDHCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDiuQYZsqUMCMN7oAx0AoUKFYGIrmS8kQJFwKrvKwi8IeMGjVLlGCpEwpPJDJkzEi5QqiKMS5hjumR9EdKJyZKmBgTRooUlElpNPkIJkkSJmLG7DiRwqCNGTS/ALlxQ4vGL2aTKAHDUAsPujeybOySVwlDHICPdPyyJckShjlu+LCbsjLBMGDAoHSoo0SIECV0YPTCpTQXLw43aFitgcNo06dTs9awISNmzQ87ixAR2rLvKEWCEGE4wYEFFB2fBFk+hGEEB9A9bIyyPMgQKgxRPIdOQiOVIEKMdGAZ06GAAoMNFowYEwMDdOQeWQgAMGBMiwQJWowxYODAi5QPAAAAA2NkEEAAGYwBAX8VpESAgB2MQcGBFIzxAX8LOAiABAJNGECFY1xgQIYjgRChQAYiONAH6/lmHwII6OfijDTWaOONOOao44489ugjRgEBACH5BAkEAGQALAAAAAAyADIAh4N9woqExYqdyIuFxpKMyZKNyZi2yJ66y6Cv0qCw06Ke0aS+zqW/z7Gu2bLI1rjFubm13L7R3MC94MDMwcTO48XQxsXW4MnTysva49La09Pa6tXewNzky93kzN/e7+Tp5OXs8ejm9Oru3+rv4Ovx9e3w7e/y5/Dz6PH06vH08fL16/L17PX37/b2+/b48vf58/f5/Pj59Pj6+/vUyvvWzfvZ0Pv7+/za0fze1/zfwfzjyPzp5Pz8+vz8+/z9+/3jyf3k3v3lzP3n0f3r2P59l/6Enf6NpP6Vqv6tvv7O1/7e5P7z5/708v739f758/769P769f779/78+v79/P7//v+esf/c4//i6P/j6P/m6//u8f/y9f/2+P/38P/79v/8/P/8/f/9+//9/P/+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMkIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5AjmyhUwIw324DFwixUrWwYyaZJyBYoYArW81CJwx4wbNVGgYKnTCk8mM2bUSPlCqAsyLmGSAZJ0R0oqKlCoIAMGCxaUSWl8+TjFiZMoY8j0WMHCII4aNKUMyZHDiUYxZp08mcLQyQ+6ObpsDJP3CUMdgJd0FOPFCRSGQXIIsZuy8kUfJ0aMOOHDskEOG0Jv6OC5IGjRHEoT9GFChAgTnVWPVFKFyBGGFR5cSNExCZHfRhhOeED8w0Ylv4kYycIwxXDiJTRmIVIECRcyHgooMOiAAQkyNjJjEOftscUAAAHIwEiQAAYZAwYOyEgJAQCABmQ0CBCggUwE+BakRIB9HpBBwX4UkAECfAwICIAEAh0oQIJkYGDAAimFUKBA+vE3EAjflQYDAgi4J9uJKKao4oostujiizDGCGNAACH5BAkDAGgALAAAAAAyADIAh4iCxY+JyI+KyZCiypaRzJeRzJ26y6O+zqSz06Wz1Kah1KjC0anD0bSx27XL2Lu43rvIvcLU3sPA4cPOxcfQ5MfSycjY4szVzc7c5dTc1dXb69jgxN/lz9/mz+Df8OXq5ubt8ejn9Ovv4ezw4u3y9e7x7vDz6PH06fL18/SDZvT27vT27/X38Paagvaag/f3+/f48vf4+/j59PnAsvnBsvn69fn69vn7/Pr7+vvQxfvRxvzZ0Pzd1fzixvzlzfzn0Pzp1Pz9+/3c0/3e1v3i3P3mzv3s5/3t3P39/P6Cmv6KoP6Rpv6wv/7P2P7f5f7n6/7o4v706v718/739f748f769P78+/7+/v+arf+itP/g5v/l6v/m6//w8//09v/3+f/49v/7+P/8+f/8+v/9+//9/v/+/P/+/f///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+ANEIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5FiGC5cyIw0iCTLQixYtXgZKAZOShQobAru87CLQyI4hNVWoYKlTC08pO3bwSFlDqAw0LmGigZLUSMorK1SsQFNmyxaUSYVY+XgmTBgyApGwgGGQCA+aZI706FFFY1mzYs4wrFJkbg8qG82YDSOGoQ+/UTqeERNmDMMfPYDUTUl54BQdNGjomOIQyYkRI04gwdgihekULhx22MB6AwfSp1O0UN16QweMU3LMmJGDc0MkJkSIMDG6cmUnWZJgYVgBwgUUHZskmb6E4QQI2D9sdDI9yZInDFF+XMdeQuOTJEqYfEHjoYACgw4YkECDIwN26B5fBAAgAE2MBAnEgIYBBhxwQ0oPAABAA2hoMMAAGqARAYEWpESAgh6gQcGDFKABAoEMWAiABAJtOECHaGBgwAIphZChQA5COBAI8xnnHwIICGjjjjz26OOPQAYp5JBEFmkkRgEBACH5BAkDAGMALAAAAAAyADIAh42Ix5OPypSPy5WmzZqWzZuXzqK+zafC0Km21qm316qm1a3F067G07e027nO2r+84MDMwcXW4MbD48fSyMnS5cra4szWzdDZ0NDe5tfd7Nff2NvjyeHo0+Lh8eLo0+fs6Ofu8uno9O3x5O3y9e/y7/H06/L16/P18/WHa/adhvedhvf3+/f58/j59Pj5/Pn6+/n79vrCtPrDtfr7+Pr8+PvSx/vSyPv8+fv8+/zd1fzf1/zh2vz9+/3h2v3ky/3l3/3n0f3q1/3u6v39/P6Hnv6OpP6Wqv6esP6ltv7o0v7p1f7q5f7u3/717P729P749/759f7+/f+0wv/S2//h5//l6v/o7P/q7v/y9P/19//39v/3+P/48v/9/P/9/f/+/P/+/f/+/v///v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMcIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5OjlyhUvIw1GGTIwS5UqWQY6eZKyBYsbArG8xCJQSI4eNVmwYKmzCk8nOXLsSDlDKI0xLmGOWZJUSEoxNluMKXlyTFIdXUCCARNGYJQWMAz+2EHzCxMfPqBoDDN2bEMoSeD64LJRTF0wDIHobdKRrt2FSnwEkZuy8UAtNmTIsKHFIY8SIkSU4IExBYrPKFQ45LCh9AYPnUGjSDHa9AYOGLXUiBGjRuWGPExkNsHZsWMqSIgcYWgBwoUTHacQWW6E4QQI0D9spLKciBErDE88h05CoxUiRaR0bBnToYACgw4YjBiDQwN05B5XCAAQYIyLBAlcjDFg4MCLlA8AAEADY2QwwAAZjBEBfxWkRICAHYxBwYEUjAECfww4CIAEAk04QIVjYGDAAimFEKFABiI4EAjr+WYfAgjo5+KMNNZo44045qjjjjz26CNGAQEAIfkECQQAZgAsAAAAADIAMgCHko3JmJTMmZTMmqrPn5rPn5vQp8HQrLnYrbrYrcXTrqrXscjVssnWurfdvdHcwb7gxM/FyMbkyNjiy9TMzNTnztzlz9jQ09vT0+Do2d/t2uHa3eXN4+Lx4+rW6e3p6e/z6+r17vLm7vP28PPw8vXs9Pb09Ytw96CK96GL+LRt+Pf7+Pn7+b6A+cGH+fv3+fv8+sW3+sW4+saR+tCk+9PI+9PJ+/v7+/z5+/36/OHa/OPc/OTe/P37/ePI/eXf/efQ/enj/erV/erW/evY/eza/ezn/e3b/fDh/f78/f79/oui/pKo/pmu/qCz/qi5/vDt/vHj/vbt/vf1/vnz/vn4/vr2/v79/v7+/7bF/9Pc/+Lo/+nu/+ru/+7x/+7y//T2//f5//j5//r1//38//39//7+////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////CP4AzQgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2rcyLGjx48gQ4rkWMaLlzIjDVpJMhAMFy5gBkqhktKFCx4Cv7z8IvBJDh81bbLUyYWnlBw5dqTkYROHGZcwzRRB+iTlFZsuzJTp0gUlUh1kPkJJkWKGGDNWXNwwCGQHzTFHfvyoopEI2RQsoDCsEkTujykbe9xlwVCI3ygdichI0YLhkB9G6KacLLNGjBg1pDhEQiJECBJIMJ4wQdoECocdNqje0EF0aRMnUK9mjVEKDRgwaGhuyNkzaMrAtThR0oShBQgXSnTMoqQ5E4YTIEj3sFFLcyVMtjAsEV36CI1blHYswRLGDIcCCgw6YCDCjA0N0pV7VBEAgAAzKxAgWGHGgIEEL6T0AAAANGBGBgMMkIEZEvhXQUoEEMiBGRQkSIEZH/jHAIQARCBQhQNcaAYGBiyQEggTCoSgggN90B5w+B1wAH8w1mjjjTjmqOOOPPbo449AYhQQACH5BAkDAGEALAAAAAAyADIAh5eSzJ2Yz56Zz5+u0aOf0qSf0qzF07Gt2LG92bG92rHI1bbM2L2638HU3sTB4sjSycrI5cvb5M7Xz8/W6NDe5tLa0tXi6dbd19vh7t3j3eDn0eTj8uXr2ebs2uru6urw9Ovq9e/y5+/09vDz6PH08vP27fWPdfX39fajjvekj/i2cvj4/Pm/hPnDjPn6/Pn7/PrHuvrIlfrRp/vUyvvVy/v8+/z9+/z9/P3kyv3l3/3m4f3o4v3p1f3r2v3s2/3u3/3u6/3x5P39/P3+/f6Qpv6Wq/6lt/6svP65x/7p4/7p7v7r5/7t3f7y7/727/749v759P769f7+/v7//v+esf/V3f/j6P/v8v/y9f/3+f/49v/4+v/6+f/79//9/f/+/P/+/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wj+AMMIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOK5AgGCxYwIw1OkTJwy5UrWwY+4ZLSho0hArO8zCKwSY4kNW2y1HmF55McOXakHGJTSBiXMMMAQdokZRibNsKUPBkGqQ4vH4OoUCEjSpgpNm4YXLKD5pcgPHh00ehjrAoWQRh26RGXB5SNOOyyYMg3rpOOPmKoaMGQCY8fc61KDqOFBgwYNLQ4FFJixIgSTi+iMEHaRAqHHDSo1tAB4+jSKFCv1sABo5YZl2dobsg5RAjQkyVbOULECMMKDy6c6FiFiHMqDCU8mO5hoxXnRKgoYXhC+nQSGpV2ECmChOeGAgcMNlggIkyNDNOXe1whAECAMC4QIHARxoABBS+k5AAAADAQBgYDDIBBGBH4R0FKBBC4QRgTJDhBGB/4twCEAEAgUIUDXBiGBQZsOBIIEwqEoIIDfdBecC4kkAB/wdVo44045qjjjjz26OOPQGIUEAA7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",sn=Te({__name:"Spinner",props:{color:{default:"#1a82b7"},size:{default:50}},setup(e){const t=e;ie(t.color);const n=ie(t.size),s=We(()=>`--spinner-size: ${n.value}px;`);return(i,o)=>(ee(),re("img",{src:Sc,class:"payfurl-spinner",style:he(le(s)),alt:"loading..."},null,4))}}),Gu="";let Is=()=>{};function Ci(e){var s;Is();const t=(e||document.body).getElementsByTagName("iframe");if(t[0]){Is=()=>{var i;(i=t[0].contentWindow)==null||i.postMessage({type:"hide_spinner"})},(s=t[0].contentWindow)==null||s.postMessage({type:"show_spinner"});return}const n=rt({el:e||document.body,component:sn});Is=()=>{n.destroy()}}function dt(e){Is()}const on={PROVIDER_INFO:"PROVIDER_INFO",TOKENISE_CARD:"TOKENISE_CARD"},Ns=(e,t)=>({[on.PROVIDER_INFO]:{url:e+"/info/providers/"+t,method:"GET"},[on.TOKENISE_CARD]:{url:e+"/token/card",method:"POST"}});class Mc{constructor(t,n){b(this,"container",null);b(this,"iframe",null);b(this,"log");b(this,"apiUrl","");b(this,"tokenise");b(this,"failureCallback",null);b(this,"successCallback",null);b(this,"tokeniseCardCallback",null);b(this,"threeDSData",rc());b(this,"threeDSDestroy",null);b(this,"threeDSCompleteHandler",null);b(this,"httpInvoker",null);b(this,"formInvoker",null);this.log=t,this.apiUrl=n.apiUrl,this.tokenise=n.tokenise,this.failureCallback=n.onFailure||null,this.successCallback=n.onSuccess||null,this.httpInvoker=new nn(n.publicKey,n.version),this.formInvoker=new uc,window.addEventListener("message",this.messageHandler.bind(this))}messageHandler(t){var n,s,i,o;if(!(!((n=t==null?void 0:t.data)!=null&&n.status)||((s=t==null?void 0:t.data)==null?void 0:s.status)==="failure")){if(t.data.status==="3ds_method_invocation_complete"){t.stopPropagation(),dt(this.container),this.iframe&&(this.iframe.style.visibility="visible"),this.log("3Ds Method invocation complete",this.threeDSData),this.threeDsAuth(this.threeDSData.cardNumber,this.threeDSData.expiryDate,this.threeDSData.cardHolderName,this.threeDSData.email,this.threeDSData.amount,this.threeDSData.currency,this.threeDSData.threeDSServerTransID,!0);return}if(t.data.status==="3ds_challenge_complete"){t.stopPropagation(),dt(this.container),this.iframe&&(this.iframe.style.visibility="visible"),this.log("3Ds Challenge complete",t.data);const r=JSON.parse(window.atob(t.data.cres));this.log("cresData",r),(i=this.threeDSDestroy)==null||i.call(this),["Y","A"].includes(r.transStatus)?this.threeDsPostAuth(this.threeDSData.threeDSServerTransID):["N","U","R"].includes(r.transStatus)&&(this.log("Failed 3DS Challenge",t.data),te(this.container,"Authentication Failed"),(o=this.failureCallback)==null||o.call(this,{error:"Failed 3ds Challenge"}));return}}}tokeniseWith3Ds(t,n,s,i,o,r,A,a,l){this.log("[tokeniseWith3Ds]",{providerId:n,cardNumber:s,expiryDate:i,cardHolderName:o,email:A,amount:a,currency:l}),this.container=t;const d=(p,h)=>{var I;dt(this.container),this.log("Unable to get provider info"),te(this.container,"Provider info error"),(I=this.failureCallback)==null||I.call(this,{error:"Unable to get provider info",body:h})},u=(p,h)=>{this.log("getProviderSuccessCallback",p,h);const I=JSON.parse(h);I.threeDsProviderId?(this.tokeniseCardCallback=()=>{this.tokeniseCard(n,{email:A,amount:a,currency:l,providerId:n,cardNumber:s,expiryDate:i,cardHolderName:o,ccv:r,threeDSServerTransID:I.threeDsProviderId})},this.addThreeDs(this.container,{email:A,amount:a,currency:l,providerId:I.threeDsProviderId,cardNumber:s,cardHolderName:o,expiryDate:i})):this.tokeniseCard(n,{email:A,amount:a,currency:l,providerId:n,cardNumber:s,expiryDate:i,cardHolderName:o,ccv:r})};this.getProviderInfo(n,Number(a)||0,l,u,d)}addThreeDsWithFullParameters(t,n,s,i,o,r,A){this.log("[addThreeDsWithFullParameters]",{cardNumber:n,expiryDate:s,cardHolderName:i,email:o,amount:r,currency:A}),this.container=t,this.threeDSData.cardNumber=n,this.threeDSData.expiryDate=s,this.threeDSData.cardHolderName=i,this.threeDSData.email=o,this.threeDSData.amount=r,this.threeDSData.currency=A,this.addThreeDs(this.container)}addThreeDs(t,n){this.log("[addThreeDs]",n,t),this.container=t,n&&(this.threeDSData={...this.threeDSData,...n}),Ci(this.container),this.threeDsPreauth()}requestThreeDs(t,n,s,i,o){var r;this.log("[requestThreeDs]",{iframe:n,container:t,validateCard:s,threeDSData:o}),n&&(this.iframe=n,this.container=t||null,this.iframe.style.visibility="hidden",Ci(this.container),this.threeDSCompleteHandler=i,o&&(this.threeDSData={...this.threeDSData,...o}),(r=n.contentWindow)==null||r.postMessage({type:"request_card",validateCard:s},"*"))}threeDsPostAuth(t){var o;this.log("[threeDsPostAuth]",t);const n=(r,A)=>{var a;this.log("unable to perform postauth for 3Ds"),te(this.container,"Authentication Error"),(a=this.failureCallback)==null||a.call(this,{error:"Unable to perform postauth for 3Ds",body:A})},s=(r,A)=>{var l,d;this.log("postauth success for 3Ds",A);const a=JSON.parse(A);this.log(a),(l=this.threeDSCompleteHandler)==null||l.call(this,a),this.tokeniseCardCallback?(this.tokeniseCardCallback(),this.tokeniseCardCallback=null):(d=this.successCallback)==null||d.call(this,a)},i={threeDSServerTransID:t};(o=this.httpInvoker)==null||o.invoke(this.apiUrl+"/3ds/postauth","POST",JSON.stringify(i),s.bind(this),n.bind(this))}threeDsPreauth(){var i;this.log("[threeDsPreauth]",this.threeDSData);const t=(o,r)=>{var A;this.log("[preauthFailureCallback]",o,r),dt(this.container),this.iframe&&(this.iframe.style.visibility="visible"),this.log("unable to perform preauth for 3Ds"),te(this.container,"Authentication Error"),(A=this.failureCallback)==null||A.call(this,{error:"Unable to perform preauth for 3Ds",body:r})},n=(o,r)=>{this.log("[preauthSuccessCallback]",o,r),this.log("[this.threeDSData]",this.threeDSData);const A=JSON.parse(r);if(this.log(A),this.threeDSData.threeDSServerTransID=A.threeDSServerTransID,A.threeDSMethodURL){this.threeDsMethodInvoke(A.threeDSServerTransID,A.threeDSMethodURL);return}this.threeDsAuth(this.threeDSData.cardNumber,this.threeDSData.expiryDate,this.threeDSData.cardHolderName,this.threeDSData.email,this.threeDSData.amount,this.threeDSData.currency,A.threeDSServerTransID,!1)},s={acctNumber:this.threeDSData.cardNumber,providerId:this.threeDSData.providerId};(i=this.httpInvoker)==null||i.invoke(this.apiUrl+"/3ds/preauth","POST",JSON.stringify(s),n.bind(this),t.bind(this))}threeDsMethodInvoke(t,n){var o;this.log("[threeDsMethodInvoke]",{threeDSServerTransID:t,threeDSMethodURL:n}),this.log("[this.threeDSData]",this.threeDSData);const s={threeDSServerTransID:t,threeDSMethodNotificationURL:this.apiUrl+"/3ds/method_invocation"},i=encodeURI(window.btoa(JSON.stringify(s)).replace(/=*$/,""));(o=this.formInvoker)==null||o.invoke(n,"POST",{threeDSMethodData:i})}threeDsAuth(t,n,s,i,o,r,A,a){var T;this.log("[threeDsAuth]",{cardNumber:t,expiryDate:n,cardHolderName:s,email:i,amount:o,currency:r,threeDSServerTransID:A,isMethodPerformed:a});const l=($,ne)=>{var F;dt(this.container),this.log("unable to perform auth for 3Ds"),te(this.container,"Authentication Error"),(F=this.failureCallback)==null||F.call(this,{error:"Unable to perform auth for 3Ds",body:ne})},d=($,ne)=>{var C;this.log("auth success for 3Ds");const F=JSON.parse(ne);F.transStatus==="C"?this.threeDsChallenge(F.threeDSServerTransID,F.acsTransID,F.acsURL):["N","U","R"].includes(F.transStatus)?(this.log("Authentication denied"),te(this.container,"Authentication Error"),(C=this.failureCallback)==null||C.call(this,{error:"Authentication denied 3Ds",body:ne})):(this.log("3DS challenge not required, tranStatus: "+F.transStatus),this.tokenise(""))},u=dc(r),p=hc(r),h=new Date,I={acctNumber:t,notificationURL:this.apiUrl+"/3ds/auth_complete",threeDSCompInd:a?"Y":"U",threeDSRequestorURL:window.location.href,cardExpiryDate:n.replace("/",""),email:i,threeDSRequestorAuthenticationInd:"01",cardholderName:s,deviceChannel:"02",browserJavascriptEnabled:!0,browserAcceptHeader:"text/html,application/xhtml+xml,application/xml; q=0.9,*/*;q=0.8",browserJavaEnabled:!1,browserLanguage:window.navigator.language,browserColorDepth:String(pc()),browserScreenHeight:screen.height+"",browserScreenWidth:screen.width+"",browserTZ:Math.round(h.getTimezoneOffset()/60)+"",browserUserAgent:navigator.userAgent,messageCategory:"01",messageType:"AReq",messageVersion:"2.1.0",purchaseAmount:o*Math.pow(10,p)+"",payTokenInd:!0,purchaseCurrency:u,purchaseExponent:p+"",purchaseDate:h.toISOString().slice(0,19).replace(/[-:T]/g,""),threeDSServerTransID:A,transType:"01"};(T=this.httpInvoker)==null||T.invoke(this.apiUrl+"/3ds/auth","POST",JSON.stringify(I),d.bind(this),l.bind(this))}threeDsChallenge(t,n,s){this.log("[threeDsChallenge]",{threeDSServerTransID:t,acsURL:s,acsTransID:n});const{destroy:i}=rt({el:document.body,component:Oc,props:{threeDSServerTransID:t,acsTransID:n,formAction:s},on:{close:()=>{dt(this.container),i(),this.threeDSDestroy=null}}});this.threeDSDestroy=i}setAmount(t){this.threeDSData.amount=t}getProviderInfo(t,n,s,i,o){var r;(r=this.httpInvoker)==null||r.invoke(Ns(this.apiUrl,t)[on.PROVIDER_INFO].url+`?amount=${n}&currency=${s}`,Ns(this.apiUrl,t)[on.PROVIDER_INFO].method,{},i,o)}tokeniseCard(t,n){var o;const s=(r,A)=>{var a;this.log("tokeniseCardFailureCallback",r,A),dt(this.container),this.log("unable to tokenise payment information",A),te(this.container,"Unable to tokenise payment information"),(a=this.failureCallback)==null||a.call(this,{error:"Unable to tokenise payment information"})},i=(r,A)=>{var l;this.log("tokeniseCardSuccessCallback",r,A);const a=JSON.parse(A);Bn(this.container,"Success"),(l=this.successCallback)==null||l.call(this,{token:a.tokenId})};(o=this.httpInvoker)==null||o.invoke(Ns(this.apiUrl,t)[on.TOKENISE_CARD].url,Ns(this.apiUrl,t)[on.TOKENISE_CARD].method,JSON.stringify({paymentInformation:{cardNumber:n.cardNumber,expiryDate:n.expiryDate,Ccv:n.ccv,cardholder:n.cardHolderName,threeDSServerTransID:n.threeDSServerTransID}}),i,s,{providerId:t})}}const Ii=ie(!1);function Fe(){return{isLoading:Ii,startLoading:()=>{Ii.value=!0},stopLoading:()=>{Ii.value=!1}}}const Tc={style:{position:"relative"}},xc={key:0,class:"error text-normal"},kc=Te({__name:"PaypalForm",props:{log:null,el:null,currency:null,enablePayIn4:{type:Boolean},buttonStyle:null},emits:["approve","submit","activate","close"],setup(e,{emit:t}){const n=e,s=ie(null),i=ie(!0),o=ie(""),r=ie(null);let A=!1;const{isLoading:a}=Fe();function l(h){r.value=h,n.log&&n.log("[Paypal]: checkout",r.value),!A&&(A=!0,d())}function d(){var $;const h={"client-id":(($=r.value)==null?void 0:$.gatewayTransactionData.ClientId)||"",currency:n.currency.toUpperCase(),"disable-funding":"card"};n.enablePayIn4&&(h["enable-funding"]="paylater");const I=`https://www.paypal.com/sdk/js?${new URLSearchParams(h)}`;window.paypal=null;const T=document.createElement("script");T.src=I,T.onload=u,document.body.appendChild(T)}function u(){window.paypal.Buttons({style:{color:n.buttonStyle},createOrder:function(){var h;return(h=r.value)==null?void 0:h.gatewayTransactionId},onApprove:function(h,I){t("approve",{data:h,actions:I})}}).render(n.el)}function p(h){var I;(I=h==null?void 0:h.data)!=null&&I.status&&(n.log&&n.log("[Paypal]: message received",h.data),h.data.status==="activate"&&h.data.component==="paypal"&&(i.value=!0,t("activate")),h.data.status==="deactivate"&&h.data.component==="paypal"&&(i.value=!1),h.data.status==="checkout"&&h.data.component==="paypal"&&l(h.data.checkoutData),h.data.status==="message"&&h.data.component==="paypal"&&(o.value=h.data.message),h.data.status==="error"&&h.data.component==="paypal"&&(o.value=h.data.error))}return en(()=>{window.removeEventListener("message",p)}),Et(()=>{window.addEventListener("message",p),_r(s.value,Pi)||(i.value=!0,t("activate"))}),(h,I)=>(ee(),re(be,null,[K("div",Tc,[Dt(Pe(sn,null,null,512),[[Ln,le(a)]])]),K("div",{style:{position:"relative"},ref_key:"root",ref:s},[o.value?(ee(),re("div",xc,Ye(o.value),1)):ke("",!0)],512)],64))}});class Lc{constructor(t,n){b(this,"log");b(this,"apiUrl","");b(this,"failureCallback",null);b(this,"successCallback",null);b(this,"httpInvoker",null);b(this,"checkoutId","");b(this,"amount",0);b(this,"failureCheckoutHandler",(t,n)=>{var s;Fe().stopLoading(),(s=this.failureCallback)==null||s.call(this,{error:"Failed to configure paypal",body:n}),window.postMessage({status:"error",component:"paypal",error:"Failed to configure paypal"},"*")});b(this,"successCheckoutHandler",(t,n)=>{Fe().stopLoading();const s=JSON.parse(n);this.log("paypal success",s);const i=JSON.parse(n),o=JSON.parse(window.atob(i.checkoutData));this.checkoutId=o.checkoutId,window.postMessage({status:"checkout",component:"paypal",checkoutData:o},"*")});this.log=t,this.apiUrl=n.apiUrl,this.failureCallback=n.onFailure||null,this.successCallback=n.onSuccess||null,this.httpInvoker=new nn(n.publicKey,n.version)}addPaypal(t,n,s,i,o,r){this.log("[addPaypal]",{amount:s,currency:i,providerId:o,options:r}),this.validateOptions(t,s,i,r);let A=!1;rt({el:t,component:kc,props:{log:this.log,el:t,currency:i,enablePayIn4:Boolean(r==null?void 0:r.paypalEnablePayIn4),buttonStyle:r==null?void 0:r.paypalButtonStyle},on:{activate:()=>{A||(A=!0,this.log("activate paypal form"),this.checkout(this.amount||s,i,o,r,()=>{A=!1}),this.setAmount=a=>{this.checkout(a,i,o,r,()=>{A=!1})})},approve:({data:a,actions:l})=>{this.log("[Paypal]: approved",{data:a,actions:l});const d=l.order.get();this.log("[Paypal]: order",d);const u=setInterval(()=>{this.log("[Paypal]: setInterval resolved = "+d.resolved),d.resolved&&(clearInterval(u),this.addCharge(t))},200)}}})}setAmount(t){this.amount=t}checkout(t,n,s,i,o){var a,l;const r=this.apiUrl+"/payment_method/checkout";i||(i={hideShipping:!1,paypalButtonStyle:null,paypalEnablePayIn4:!1,transfer:null});const A={providerId:s,amount:t,currency:n,options:{HideShipping:i.hideShipping?"true":"false"}};(a=i.transfer)!=null&&a.amount&&(A.Transfer={Account:i.transfer.account,Amount:i.transfer.amount}),Fe().startLoading(),(l=this.httpInvoker)==null||l.invoke(r,"POST",JSON.stringify(A),this.successCheckoutHandler.bind(this),(d,u)=>{o==null||o(d,u),this.failureCheckoutHandler.bind(this)(d,u)})}getFailureAddChargeHandler(t){return(n,s)=>{var i;te(t,"Unable to tokenise payment information"),(i=this.failureCallback)==null||i.call(this,{error:"Unable to finish AddCharge",body:s}),this.log("Unable to finish AddCharge, error: "+s)}}getSuccessAddChargeHandler(t){return(n,s)=>{var i;try{const o=JSON.parse(s);this.log("[getSuccessAddChargeHandler]",o),Bn(t,"paypal login success"),(i=this.successCallback)==null||i.call(this,{transactionId:o.chargeId})}catch(o){this.log("error parsing addCharge response",o)}}}addCharge(t){var s;const n=this.apiUrl+"/charge/checkout";(s=this.httpInvoker)==null||s.invoke(n,"POST",JSON.stringify({checkoutId:this.checkoutId}),this.getSuccessAddChargeHandler(t).bind(this),this.getFailureAddChargeHandler(t).bind(this))}validateOptions(t,n,s,i){if(!_i(s))throw te(t,"Invalid currency: "+s),new W("invalid currency: "+s);if(!Cs(n))throw te(t,"Invalid amount: "+n),new W("invalid amount: "+n)}}const jc=["src"],Bc={key:0,id:"threeDs"},Hc=Te({__name:"CardForm",props:{debug:{type:Boolean},apiUrl:null,iframeSrc:null,form:null,publicKey:null,providerId:null,amount:null,currency:null,showEmail:{type:Boolean},threeDSEnabled:{type:Boolean},showSubmitButton:{type:Boolean}},emits:["load","submit","close"],setup(e,{emit:t}){const n=e,s=ie(null),i=ie(n.iframeSrc+"?v="+Math.random()),o=ie(n.threeDSEnabled);ie(n.showSubmitButton);const r=ie(!1),A=ie(!0);function a(u){var p,h;if((p=u==null?void 0:u.data)!=null&&p.status){if(u.data.status==="iframe-changed"&&(u.stopPropagation(),d(((h=u.data.message)==null?void 0:h.height)||0)),u.data.status==="submit-form"){if(!n.form||!A.value)return;u.stopPropagation();const I=n.form.querySelector('input[name="token"]');if(I!=null&&I.value){n.form.submit();return}t("submit")}u.data.status==="activate"&&u.data.component==="card"&&(A.value=!0),u.data.status==="deactivate"&&u.data.component==="card"&&(A.value=!1)}}en(()=>{window.removeEventListener("message",a)}),Et(()=>{window.addEventListener("message",a)});function l(){t("load",s.value)}function d(u){const p=s.value,h=u||240;p==null||p.setAttribute("style",`height: ${h+20}px`),r.value=!0}return(u,p)=>(ee(),re(be,null,[K("iframe",{src:i.value,onLoad:l,ref_key:"iframe",ref:s,id:"payfurl-card-iframe"},null,40,jc),o.value?(ee(),re("div",Bc)):ke("",!0)],64))}}),Vu="",zc=Ue(Hc,[["__scopeId","data-v-072ab770"]]);class Kc{constructor(t,n){b(this,"container",null);b(this,"threeDsContainer",document.body);b(this,"iframe",null);b(this,"form",null);b(this,"log");b(this,"debug",!1);b(this,"environment",Ke.LOCAL);b(this,"apiUrl","");b(this,"url","");b(this,"publicKey","");b(this,"getPaymentOptions");b(this,"email","");b(this,"threeDSEnabled",!1);b(this,"threeDsProcessor",null);b(this,"failureCallback",null);b(this,"successCallback",null);b(this,"httpInvoker");this.log=t,this.debug=n.debug,this.environment=n.environment||Ke.LOCAL,this.url=n.url,this.apiUrl=n.apiUrl,this.publicKey=n.publicKey,this.getPaymentOptions=n.getPaymentOptions,this.failureCallback=n.onFailure||null,this.successCallback=n.onSuccess||null,this.httpInvoker=new nn(this.publicKey,n.version),window.addEventListener("message",this.messageHandler.bind(this))}addThreeDsProcessor(t){this.threeDsProcessor=t}addCard(t,n,s,i,o,r){return this.log("[addCard]",{providerId:s,amount:i,currency:o,options:r}),r!=null&&r.threeDSEnabled&&(br(i,Yt,"missing or invalid amount option",this.failureCallback),br(o,_i,"missing or invalid currency option",this.failureCallback),this.threeDSEnabled=!0),this.container=t||null,this.form=n,this.email=(r==null?void 0:r.threeDSEmail)||"",rt({el:this.container,component:zc,props:{debug:this.debug,apiUrl:this.apiUrl,iframeSrc:this.url,form:this.form,publicKey:this.publicKey,providerId:s,amount:i,currency:o,showEmail:!Boolean(this.email),threeDSEnabled:this.threeDSEnabled,showSubmitButton:!0},on:{load:A=>{var a;this.iframe=A,(a=A==null?void 0:A.contentWindow)==null||a.postMessage({type:"init",debug:this.debug,publicKey:this.publicKey,providerId:s,apiUrl:this.apiUrl,amount:i,currency:o,showEmail:!Boolean(this.email)},"*")},submit:()=>{this.onSubmit({email:r==null?void 0:r.threeDSEmail,amount:i,currency:o,providerId:(r==null?void 0:r.threeDsProviderId)||""})}}}),this}messageHandler(t){var n,s,i;if((n=t==null?void 0:t.data)!=null&&n.status){if(this.log("[sdk][cardProcessor]: message received",t.data),t.data.status==="failure"){dt(this.container),this.log("unable to tokenise payment information",t.data),te(this.container,"Unable to tokenise payment information"),(s=this.failureCallback)==null||s.call(this,{error:"Unable to tokenise payment information"});return}if(t.data.status==="success"){dt(this.container),t.stopPropagation(),this.iframe=null,Bn(this.container,"Success"),this.successCallback&&this.successCallback({token:t.data.tokenId});return}if(t.data.status=="card_data"){t.stopPropagation();const o=t.data.message.expiryDate.split("/"),r={cardNumber:t.data.message.cardNumber,expiryDate:o[1]+o[0],cardHolderName:t.data.message.cardholder};t.data.message.email&&(r.email=t.data.message.email);const A=this.threeDSEnabled?this.threeDsContainer:this.container;(i=this.threeDsProcessor)==null||i.addThreeDs(A||null,r);return}}}onSubmit(t){var n;if(this.log("submit card form"),!this.threeDSEnabled){Ci(this.container),setTimeout(()=>{this.tokenise(null)},500);return}this.threeDsContainer=document.getElementById("threeDs")||document.body,(n=this.threeDsProcessor)==null||n.requestThreeDs(this.threeDsContainer,this.iframe,this.environment===Ke.LOCAL||this.environment===Ke.DEVELOPMENT||this.environment===Ke.SANDBOX,s=>{this.log("threeDs, postAuthData",s),this.tokenise(s.threeDSServerTransID)},t)}tokenise(t){var n;this.iframe&&((n=this.iframe.contentWindow)==null||n.postMessage({type:"submit",threeDSServerTransID:t},"*"))}setAmount(t){var n;this.iframe&&((n=this.iframe.contentWindow)==null||n.postMessage({type:"set_amount",amount:t},"*"))}}function Uc(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ni=ie("");function Oi(){return{errorMessage:Ni,showErrorMessage:n=>{Ni.value=n},hideErrorMessage:()=>{Ni.value=""}}}const rn=e=>(Pn("data-v-d646d395"),e=e(),_n(),e),Rc={id:"payfurl-payto-form",class:"payfurl-form"},Fc={key:0,class:"error text-normal"},Qc={class:"row"},Yc=rn(()=>K("label",null,"Payer Name",-1)),Gc={class:"row"},Vc=rn(()=>K("label",null,"Payer Id Type",-1)),qc=[rn(()=>K("option",{value:"PHONE"},"Phone",-1)),rn(()=>K("option",{value:"EMAIL"},"Email",-1)),rn(()=>K("option",{value:"ABN"},"Abn",-1))],$c={class:"row"},Jc=rn(()=>K("label",null," Pay Id ",-1)),Wc=["placeholder"],Xc={key:0,class:"small"},Zc={key:1,class:"error"},eu=Te({__name:"PayToForm",props:{log:null},emits:["submit"],setup(e,{emit:t}){const n=e,s=ie({}),{isLoading:i}=Fe(),o=ie(""),r=ie("PHONE"),A=ie(""),a=We(()=>r.value==="PHONE"?"0405123456 or 0212341234":Uc(r.value.toLowerCase())),l=ie(!0),{errorMessage:d}=Oi();function u(){return s.value.payId="",r.value==="PHONE"&&(wi(A.value)||(s.value.payId="Invalid phone number")),r.value==="EMAIL"&&(bi(A.value)||(s.value.payId="Invalid email")),r.value==="ABN"&&(zl(A.value)||(s.value.payId="Invalid ABN")),s.value.payId===""}function p(h){var I;if((I=h==null?void 0:h.data)!=null&&I.status){if(n.log&&n.log("[PayTo]: message received",h.data),h.data.status==="submit-form"){if(!l.value||(h.stopPropagation(),n.log&&n.log("[PayTo]: form submit",{payerName:o.value,payIdType:r.value,payId:A.value}),!u()))return;t("submit",{payerName:o.value,payIdType:r.value,payId:r.value==="PHONE"?Hl(A.value):String(A.value).toLowerCase()})}h.data.status==="activate"&&h.data.component==="payto"&&(d.value="",l.value=!0),h.data.status==="deactivate"&&h.data.component==="payto"&&(l.value=!1)}}return Et(()=>{window.addEventListener("message",p),window.addEventListener("keypress",function(h){h.altKey&&h.code==="KeyP"&&(h.preventDefault(),o.value="test",r.value="ABN",A.value="67384721620")})}),en(()=>{window.removeEventListener("message",p)}),(h,I)=>(ee(),re("div",Rc,[Dt(Pe(sn,null,null,512),[[Ln,le(i)]]),K("div",{class:"container-form",style:he(`visibility: ${le(i)?"hidden":"visible"}`)},[le(d)?(ee(),re("div",Fc,Ye(le(d)),1)):ke("",!0),K("div",Qc,[Yc,K("div",null,[Dt(K("input",{type:"text",maxlength:"100",placeholder:"Payer Name","onUpdate:modelValue":I[0]||(I[0]=T=>o.value=T)},null,512),[[pr,o.value]])])]),K("div",Gc,[Vc,K("div",null,[Dt(K("select",{"onUpdate:modelValue":I[1]||(I[1]=T=>r.value=T)},qc,512),[[Cl,r.value]])])]),K("div",$c,[Jc,K("div",null,[Dt(K("input",{type:"text",maxlength:"100",placeholder:le(a),"onUpdate:modelValue":I[2]||(I[2]=T=>A.value=T),onKeyup:u},null,40,Wc),[[pr,A.value]]),r.value==="PHONE"?(ee(),re("div",Xc,"(mobile or landline with area code)")):ke("",!0),s.value.payId?(ee(),re("p",Zc,Ye(s.value.payId),1)):ke("",!0)])])],4)]))}}),Wu="",Xu="",tu=Ue(eu,[["__scopeId","data-v-d646d395"]]),nu=e=>(Pn("data-v-f06289bf"),e=e(),_n(),e),su={id:"payfurl-payto-agreement",class:"payfurl-form"},iu=nu(()=>K("div",{class:"message"},"Approve the agreement in your banking app",-1)),ou=Te({__name:"PayToAgreement",props:{debug:{type:Boolean}},setup(e){return(t,n)=>(ee(),re("div",su,[Pe(sn),iu]))}}),Zu="",ef="",ru=Ue(ou,[["__scopeId","data-v-f06289bf"]]),An={TOKENISE:"TOKENISE",TOKEN_STATUS:"TOKEN_STATUS"},Os=(e,t)=>({[An.TOKENISE]:{url:e+"/token/payto",method:"POST"},[An.TOKEN_STATUS]:{url:e+"/token/"+t,method:"GET"}});class Au{constructor(t,n){b(this,"container",null);b(this,"debug",!1);b(this,"log");b(this,"apiUrl","");b(this,"getPaymentOptions");b(this,"options",null);b(this,"providerId","");b(this,"tokenId","");b(this,"checkAgreementHandler",null);b(this,"failureCallback",null);b(this,"successCallback",null);b(this,"httpInvoker",null);b(this,"successPayToHandler",(t,n)=>{this.log("successPayToHandler",t,n);const s=JSON.parse(n);if(!s||!(s!=null&&s.tokenId))return this.failurePayToHandler(t,n);this.tokenId=s.tokenId,rt({el:this.container,component:ru,props:{el:this.container,log:this.log}}),this.checkAgreement()});b(this,"failurePayToHandler",(t,n)=>{this.log("failurePayToHandler",t,n),Fe().stopLoading(),Oi().showErrorMessage("Invalid payment details")});b(this,"failurePayToAgreementHandler",(t,n)=>{var s;Fe().stopLoading(),this.log("failurePayToAgreementHandler",t,n),te(this.container,"Agreement has been canceled"),(s=this.failureCallback)==null||s.call(this,{error:"Agreement has been canceled",body:n})});this.log=t,this.debug=n.debug,this.apiUrl=n.apiUrl,this.getPaymentOptions=n.getPaymentOptions,this.failureCallback=n.onFailure||null,this.successCallback=n.onSuccess||null,this.httpInvoker=new nn(n.publicKey,n.version)}addPayTo(t,n,s,i){if(this.log("[addPayTo]",{amount:n,providerId:s,options:i}),this.container=t,this.providerId=s,this.options=i,!Cs(n))throw te(t,"Invalid amount: "+n),new W("invalid amount: "+n);if(!String(i.description).trim())throw te(t,"Invalid description"),new W("invalid description");if(i.maximumAmount||(i.maximumAmount=1e3),i.maximumAmount<0||i.maximumAmount>9999)throw te(t,"Invalid maximum amount: "+i.maximumAmount),new W("invalid maximumAmount: "+i.maximumAmount);rt({el:this.container,component:tu,props:{el:this.container,log:this.log},on:{submit:o=>{this.log("submit payto form",o),Fe().startLoading(),setTimeout(()=>{this.tokenise(o)},500)}}})}tokenise(t){var s,i,o;const n={payerName:t.payerName,description:(s=this.options)==null?void 0:s.description,maximumAmount:(i=this.options)==null?void 0:i.maximumAmount,providerId:this.providerId,payerPayIdDetails:{payIdType:t.payIdType.toUpperCase(),payId:t.payId}};(o=this.httpInvoker)==null||o.invoke(Os(this.apiUrl)[An.TOKENISE].url,Os(this.apiUrl)[An.TOKENISE].method,JSON.stringify(n),this.successPayToHandler.bind(this),this.failurePayToHandler.bind(this))}successPayToAgreementHandler(){var t;Fe().stopLoading(),this.log("success agreement",this.tokenId),Bn(this.container,"PayTo Agreement Approved"),(t=this.successCallback)==null||t.call(this,{token:this.tokenId})}checkAgreement(){var t;this.checkAgreementHandler||(this.checkAgreementHandler=setInterval(this.checkAgreement.bind(this),5e3)),(t=this.httpInvoker)==null||t.invoke(Os(this.apiUrl,this.tokenId)[An.TOKEN_STATUS].url,Os(this.apiUrl,this.tokenId)[An.TOKEN_STATUS].method,{},(n,s)=>{this.log("checkAgreement",n,s);const i=JSON.parse(s);if(!i)return clearInterval(this.checkAgreementHandler),this.failurePayToAgreementHandler(n,s);if(i.payToStatus!=="PENDING")return i.payToStatus==="ACTIVE"?(clearInterval(this.checkAgreementHandler),this.successPayToAgreementHandler()):(clearInterval(this.checkAgreementHandler),this.failurePayToAgreementHandler(n,""))},(n,s)=>(this.log("checkAgreement",n,s),clearInterval(this.checkAgreementHandler),this.failurePayToAgreementHandler(n,s)))}}var L;(function(e){e.ADDI="addi",e.AFFIRM="affirm",e.AFTERPAY="afterpay",e.ALMA="alma",e.APLAZAME="aplazame",e.APLAZO="aplazo",e.ATOME="atome",e.BILLEASE="billease",e.CASHEW="cashew",e.CASHPRESSO="cashpresso",e.CLEARPAY="clearpay",e.CLEO="cleo",e.DANA="dana",e.EASYPAISA="easypaisa",e.FINVERO="finvero",e.FUPAY="fupay",e.GCASG="gcasg",e.GRABPAY="grabpay",e.HUMM="humm",e.KAKAOPAY="kakaopay",e.KLARNA="klarna",e.KUESKIPAY="kueskipay",e.LARA="lara",e.LATITUDEPAY="latitudepay",e.LAYBUY="laybuy",e.LIMEPAY="limepay",e.PACE="pace",e.PAGALEVE="pagaleve",e.PARIBAS="paribas",e.PAYWITHFOUR="paywithfour",e.PAYJUSTNOW="payjustnow",e.PAYTM="paytm",e.PAYBRIGHT="paybright",e.PAYFLEX="payflex",e.PAYRIGHT="payright",e.POSTPAY="postpay",e.RATEPAY="ratepay",e.RIVERTY="riverty",e.SCALAPAY="scalapay",e.SEZZLE="sezzle",e.SHOPBACK="shopback",e.SMARTPAY="smartpay",e.SOFINCO="sofinco",e.SPLITIT="splitit",e.TABBY="tabby",e.TAMARA="tamara",e.TENDOPAY="tendopay",e.TOUCHNGO="touchngo",e.TRIPLEA="triplea",e.TRUEMONEY="truemoney",e.TWISTO="twisto",e.UPLIFT="uplift",e.VALU="valu",e.ZEST="zest",e.ZIP="zip",e.ZOODPAY="zoodpay",e.BKASH="bkash",e.ERATY="eraty"})(L||(L={}));const Hn={[L.ADDI]:{name:"Addi",description:"",buttonTitle:"Pay with Addi",icon:"Addi"},[L.AFFIRM]:{name:"Affirm",description:"",buttonTitle:"Pay with Affirm",icon:"Affirm"},[L.AFTERPAY]:{name:"Afterpay",description:"",buttonTitle:"Pay with Afterpay",icon:"Afterpay"},[L.ALMA]:{name:"Alma",description:"",buttonTitle:"Pay with Alma",icon:"Alma"},[L.APLAZAME]:{name:"Aplazame",description:"",buttonTitle:"Pay with Aplazame",icon:"Aplazame"},[L.APLAZO]:{name:"Aplazo",description:"",buttonTitle:"Pay with Aplazo",icon:"Aplazo"},[L.ATOME]:{name:"Atome",description:"",buttonTitle:"Pay with Atome",icon:"Atome"},[L.BILLEASE]:{name:"Billease",description:"",buttonTitle:"Pay with Billease",icon:"Billease"},[L.CASHEW]:{name:"Cashew",description:"",buttonTitle:"Pay with Cashew",icon:"Cashew"},[L.CASHPRESSO]:{name:"Cashpresso",description:"",buttonTitle:"Pay with Cashpresso",icon:"Cashpresso"},[L.CLEARPAY]:{name:"Clearpay",description:"",buttonTitle:"Pay with Clearpay",icon:"Clearpay"},[L.CLEO]:{name:"Cleo",description:"",buttonTitle:"Pay with Cleo",icon:"Cleo"},[L.DANA]:{name:"Dana",description:"",buttonTitle:"Pay with Dana",icon:"Dana"},[L.EASYPAISA]:{name:"Easypaisa",description:"",buttonTitle:"Pay with Easypaisa",icon:"Easypaisa"},[L.FINVERO]:{name:"Finvero",description:"",buttonTitle:"Pay with Finvero",icon:"Finvero"},[L.FUPAY]:{name:"FuPay",description:"",buttonTitle:"Pay with FuPay",icon:"Fupay"},[L.GCASG]:{name:"GCasg",description:"",buttonTitle:"Pay with GCasg",icon:"Gcasg"},[L.GRABPAY]:{name:"GrabPay",description:"",buttonTitle:"Pay with GrabPay",icon:"Grabpay"},[L.HUMM]:{name:"Humm",description:"",buttonTitle:"Pay with Humm",icon:"Humm"},[L.KAKAOPAY]:{name:"KakaoPay",description:"",buttonTitle:"Pay with KakaoPay",icon:"Kakaopay"},[L.KLARNA]:{name:"Klarna",description:"",buttonTitle:"Pay with Klarna",icon:"Klarna"},[L.KUESKIPAY]:{name:"KueskiPay",description:"",buttonTitle:"Pay with KueskiPay",icon:"Kueskipay"},[L.LARA]:{name:"Lara",description:"",buttonTitle:"Pay with Lara",icon:"Lara"},[L.LATITUDEPAY]:{name:"LatitudePay",description:"",buttonTitle:"Pay with LatitudePay",icon:"Latitudepay"},[L.LAYBUY]:{name:"Laybuy",description:"",buttonTitle:"Pay with Laybuy",icon:"Laybuy"},[L.LIMEPAY]:{name:"Limepay",description:"",buttonTitle:"Pay with Limepay",icon:"Limepay"},[L.PACE]:{name:"Pace",description:"",buttonTitle:"Pay with Pace",icon:"Pace"},[L.PAGALEVE]:{name:"Pagaleve",description:"",buttonTitle:"Pay with Pagaleve",icon:"Pagaleve"},[L.PARIBAS]:{name:"BNP Paribas",description:"",buttonTitle:"Pay with BNP Paribas",icon:"Paribas"},[L.PAYWITHFOUR]:{name:"Pay With Four",description:"",buttonTitle:"Pay with Pay With Four",icon:"Paywithfour"},[L.PAYJUSTNOW]:{name:"PayJustNow",description:"",buttonTitle:"Pay with PayJustNow",icon:"Payjustnow"},[L.PAYTM]:{name:"PayTM",description:"",buttonTitle:"Pay with PayTM",icon:"Paytm"},[L.PAYBRIGHT]:{name:"Paybright",description:"",buttonTitle:"Pay with Paybright",icon:"Paybright"},[L.PAYFLEX]:{name:"Payflex",description:"",buttonTitle:"Pay with Payflex",icon:"Payflex"},[L.PAYRIGHT]:{name:"Payright",description:"",buttonTitle:"Pay with Payright",icon:"Payright"},[L.POSTPAY]:{name:"Postpay",description:"",buttonTitle:"Pay with Postpay",icon:"Postpay"},[L.RATEPAY]:{name:"Ratepay",description:"",buttonTitle:"Pay with Ratepay",icon:"Ratepay"},[L.RIVERTY]:{name:"Riverty",description:"",buttonTitle:"Pay with Riverty",icon:"Riverty"},[L.SCALAPAY]:{name:"Scalapay",description:"",buttonTitle:"Pay with Scalapay",icon:"Scalapay"},[L.SEZZLE]:{name:"Sezzle",description:"",buttonTitle:"Pay with Sezzle",icon:"Sezzle"},[L.SHOPBACK]:{name:"ShopBack",description:"",buttonTitle:"Pay with ShopBack",icon:"Shopback"},[L.SMARTPAY]:{name:"Smartpay",description:"",buttonTitle:"Pay with Smartpay",icon:"Smartpay"},[L.SOFINCO]:{name:"Sofinco",description:"",buttonTitle:"Pay with Sofinco",icon:"Sofinco"},[L.SPLITIT]:{name:"Splitit",description:"",buttonTitle:"Pay with Splitit",icon:"Splitit"},[L.TABBY]:{name:"Tabby",description:"",buttonTitle:"Pay with Tabby",icon:"Tabby"},[L.TAMARA]:{name:"Tamara",description:"",buttonTitle:"Pay with Tamara",icon:"Tamara"},[L.TENDOPAY]:{name:"Tendopay",description:"",buttonTitle:"Pay with Tendopay",icon:"Tendopay"},[L.TOUCHNGO]:{name:"Touch'n Go",description:"",buttonTitle:"Pay with Touch'n Go",icon:"Touchngo"},[L.TRIPLEA]:{name:"Triple-A",description:"",buttonTitle:"Pay with Triple-A",icon:"Triplea"},[L.TRUEMONEY]:{name:"TrueMoney",description:"",buttonTitle:"Pay with TrueMoney",icon:"Truemoney"},[L.TWISTO]:{name:"Twisto",description:"",buttonTitle:"Pay with Twisto",icon:"Twisto"},[L.UPLIFT]:{name:"Uplift",description:"",buttonTitle:"Pay with Uplift",icon:"Uplift"},[L.VALU]:{name:"ValU",description:"",buttonTitle:"Pay with ValU",icon:"Valu"},[L.ZEST]:{name:"Zest Money",description:"",buttonTitle:"Pay with Zest Money",icon:"Zest"},[L.ZIP]:{name:"Zip",description:"",buttonTitle:"Pay with Zip",icon:"Zip"},[L.ZOODPAY]:{name:"Zoodpay",description:"",buttonTitle:"Pay with Zoodpay",icon:"Zoodpay"},[L.BKASH]:{name:"bKash",description:"",buttonTitle:"Pay with bKash",icon:"Bkash"},[L.ERATY]:{name:"eRaty",description:"",buttonTitle:"Pay with eRaty",icon:"Eraty"}},au=["onMousedown"],lu={class:"modal-header"},cu=["onClick"],uu={class:"main-title"},fu={class:"modal-body"},du={key:0,class:"modal-footer"},hu=Te({__name:"Modal",props:{width:null,height:null,mode:null,backdrop:null},emits:["close"],setup(e,{emit:t}){const n=e;function s(){t("close")}function i(){n.backdrop!=="static"&&s()}const o=sl(),r=We(()=>Boolean(o.footer)),A=We(()=>{const l=[];return n.width&&l.push(`width: ${n.width}`),n.height&&l.push(`height: ${n.height}`),l.join(";")}),a=We(()=>n.mode=="confirm"?"small":"");return(l,d)=>(ee(),re("div",{class:"modal-mask",onMousedown:Di(i,["self"])},[K("div",{class:un(["modal-wrapper",le(a)]),role:"document",onClick:d[0]||(d[0]=Di(()=>{},["stop"]))},[K("div",{class:"modal-content",style:he(le(A))},[K("div",lu,[K("div",{class:"close-icon",onClick:Di(s,["stop"])},[Pe(Ir,{size:15})],8,cu),K("div",uu,[hs(l.$slots,"title",{},void 0,!0)])]),K("div",fu,[hs(l.$slots,"body",{},void 0,!0)]),le(r)?(ee(),re("div",du,[hs(l.$slots,"footer",{},void 0,!0)])):ke("",!0),hs(l.$slots,"default",{},void 0,!0)],4)],2)],40,au))}}),tf="",pu=Ue(hu,[["__scopeId","data-v-990ba291"]]),mu=["src"],gu=Te({__name:"BnplPopup",props:{url:null,name:null},emits:["close"],setup(e,{emit:t}){const n=e,s=ie(n.url);return Cn(()=>n.url,i=>{s.value=i}),Et(()=>{}),(i,o)=>(ee(),Tn(pu,{width:"80vw",height:"80vh",backdrop:"static",onClose:o[0]||(o[0]=r=>t("close"))},{title:Xs(()=>[er(Ye(e.name),1)]),body:Xs(()=>[K("iframe",{src:s.value},null,8,mu)]),_:1}))}}),nf="",sf="",vu=Ue(gu,[["__scopeId","data-v-f7c70025"]]),yu={style:{position:"relative"}},Eu=["id"],Du={key:0,class:"error text-normal"},wu={class:"row"},bu={key:1},Pu={key:2,class:"error"},_u=Te({__name:"BnplForm",props:{log:null,providerType:null,options:null},emits:["activate","popup","popupClose","close"],setup(e,{emit:t}){const n=e,s=ie(null),{isLoading:i}=Fe(),o=ie(!0),r=ie(n.providerType),A=ie(""),a=ie(null),{errorMessage:l}=Oi(),d=We(()=>{var C;return((C=Hn[r.value])==null?void 0:C.buttonTitle)||"Unknown"}),u=We(()=>{var G,pe;const C=((pe=(G=a.value)==null?void 0:G.gatewayTransactionData)==null?void 0:pe.RedirectUrl)||"";if(!C)return"";const x=C.includes("?")?"&":"?";return`${C}${x}embedded=true`}),p=ie(!1),h=ie(!1),I=We(()=>!l.value&&!A.value&&(!u.value||h.value)),T=We(()=>u.value&&!p.value&&!h.value);function $(C){var x;(x=C==null?void 0:C.data)!=null&&x.status&&(n.log&&n.log("[BNPL]: message received",C.data),C.data.status==="activate"&&C.data.component==="bnpl"&&C.data.providerType===r.value&&(o.value=!0,t("activate",n.options)),C.data.status==="deactivate"&&C.data.component==="bnpl"&&C.data.providerType===r.value&&(o.value=!1),C.data.status==="checkout"&&C.data.component==="bnpl"&&C.data.providerType===r.value&&(l.value="",a.value=C.data.checkoutData,n.log&&n.log("[BNPL]: checkout",a.value)),C.data.status==="message"&&C.data.component==="bnpl"&&C.data.providerType===r.value&&(A.value=C.data.message,h.value=!1,p.value=!1),C.data.status==="error"&&C.data.component==="bnpl"&&C.data.providerType===r.value&&(A.value=C.data.error),C.data.status==="redirect"&&C.data.component==="bnpl"&&(p.value=!1,C.data.result==="failed"&&(A.value="Payment has been canceled",F())))}function ne(){var C;A.value="",p.value=!0,h.value=!0,t("popup",(C=a.value)==null?void 0:C.checkoutId)}function F(){p.value=!1,h.value=!1,t("popupClose")}return Et(()=>{window.addEventListener("message",$),_r(s.value,Pi)||(o.value=!0,t("activate",n.options))}),en(()=>{window.removeEventListener("message",$)}),(C,x)=>(ee(),re(be,null,[K("div",yu,[Dt(Pe(sn,null,null,512),[[Ln,le(i)]])]),K("div",{id:`payfurl-${r.value}-form`,class:"payfurl-bnpl-form",ref_key:"root",ref:s},[K("div",{class:"container-form",style:he(`visibility: ${le(i)?"hidden":"visible"}`)},[le(l)?(ee(),re("div",Du,Ye(le(l)),1)):ke("",!0),K("div",wu,[Dt(Pe(sn,null,null,512),[[Ln,le(I)]]),le(T)?(ee(),re("button",{key:0,onClick:ne},Ye(le(d)),1)):ke("",!0),h.value?(ee(),re("h2",bu,"Finalise the payment")):ke("",!0),A.value?(ee(),re("p",Pu,Ye(A.value),1)):ke("",!0)])],4)],8,Eu),p.value?(ee(),Tn(vu,{key:0,onClose:F,url:le(u),name:le(Hn)[r.value].buttonTitle},null,8,["url","name"])):ke("",!0)],64))}}),of="",rf="",Cu=Ue(_u,[["__scopeId","data-v-75271483"]]),an={CHECKOUT:"CHECKOUT",CHECK_STATUS:"CHECK_STATUS"},Ss=(e,t)=>({[an.CHECKOUT]:{url:e+"/payment_method/checkout",method:"POST"},[an.CHECK_STATUS]:{url:e+"/checkout/"+t,method:"GET"}});class Iu{constructor(t,n){b(this,"debug",!1);b(this,"log");b(this,"apiUrl","");b(this,"redirectUrl","");b(this,"checkStatusHandler",null);b(this,"failureCallback",null);b(this,"successCallback",null);b(this,"httpInvoker",null);this.log=t,this.debug=n.debug,this.apiUrl=n.apiUrl,this.redirectUrl=n.redirectUrl,this.failureCallback=n.onFailure||null,this.successCallback=n.onSuccess||null,this.httpInvoker=new nn(n.publicKey,n.version)}addBnpl(t,n,s,i,o,r,A){this.log("[addBnpl]",{amount:n,providerId:o,providerType:i,options:r,bnplOptions:A}),this.validateOptions(t,n,s,r);let a=!1;rt({el:t,component:Cu,props:{log:this.log,providerType:i,options:{providerId:o,amount:n,currency:s,bnplOptions:A}},on:{activate:l=>{a||(a=!0,this.log("activate bnpl form",l),this.checkout(l,i,r,()=>{a=!1}))},popup:l=>{this.log("popup open",l),this.checkStatus(t,l,i)},popupClose:()=>{this.log("popup close"),this.stopCheckingStatus()}}})}checkout(t,n,s,i){var o,r,A,a,l,d,u,p,h,I,T,$,ne,F;(F=this.httpInvoker)==null||F.invoke(Ss(this.apiUrl)[an.CHECKOUT].url,Ss(this.apiUrl)[an.CHECKOUT].method,JSON.stringify({providerId:t.providerId,amount:t.amount,currency:t.currency,shippingAmount:s.shippingAmount,customer:{firstName:(o=s.customer)==null?void 0:o.firstName,lastName:(r=s.customer)==null?void 0:r.lastName,email:(A=s.customer)==null?void 0:A.email,phone:(a=s.customer)==null?void 0:a.phoneNumber,billingAddress:{name:((l=s.billingAddress)==null?void 0:l.firstName)+" "+((d=s.billingAddress)==null?void 0:d.lastName),addressLine1:(u=s.billingAddress)==null?void 0:u.streetAddress,addressLine2:(p=s.billingAddress)==null?void 0:p.streetAddress2,suburb:(h=s.billingAddress)==null?void 0:h.region,state:(I=s.billingAddress)==null?void 0:I.state,countryCode:(T=s.billingAddress)==null?void 0:T.country,postcode:($=s.billingAddress)==null?void 0:$.postalCode}},items:(ne=s.orderItems)==null?void 0:ne.map(C=>({name:C.name,reference:C.sku,quantity:C.quantity,amount:C.totalAmount})),options:{...t.bnplOptions,redirectUrl:this.redirectUrl}}),this.getSuccessCheckoutHandler(n).bind(this),(C,x)=>{i==null||i(C,x),this.getFailureCheckoutHandler(n).bind(this)(C,x)})}getSuccessCheckoutHandler(t){return(n,s)=>{this.log("successCheckoutHandler",n,s);const i=JSON.parse(s),o=JSON.parse(window.atob(i.checkoutData));window.postMessage({status:"checkout",component:"bnpl",providerType:t,checkoutData:o},"*")}}getFailureCheckoutHandler(t){return(n,s)=>{this.log("failureCheckoutHandler",n,s),Fe().stopLoading(),window.postMessage({status:"error",component:"bnpl",providerType:t,error:"Invalid payment details"},"*")}}stopCheckingStatus(){this.checkStatusHandler&&(clearInterval(this.checkStatusHandler),this.checkStatusHandler=null)}checkStatus(t,n,s){var A;this.checkStatusHandler||(this.checkStatusHandler=setInterval(this.checkStatus.bind(this,t,n,s),5e3),this.log("Starting polling..."));const i=this,o=(a,l)=>{Fe().stopLoading(),i.log("failureCheckStatusHandler",a,l),window.postMessage({status:"message",component:"bnpl",providerType:s,message:"Checkout has been cancelled"},"*")},r=a=>{var l;Fe().stopLoading(),i.log("successCheckStatusHandler"),Bn(t,"Checkout successfully completed"),(l=i.successCallback)==null||l.call(i,{transactionId:a})};(A=this.httpInvoker)==null||A.invoke(Ss(this.apiUrl,n)[an.CHECK_STATUS].url,Ss(this.apiUrl,n)[an.CHECK_STATUS].method,{},(a,l)=>{const d=JSON.parse(l);if(this.log("checkoutStatus",d),!d)return this.stopCheckingStatus(),o(a,l);if(d.status=="SUCCESS"&&d.status==="SUCCESS")return this.stopCheckingStatus(),r(d.transactionId)},(a,l)=>(this.log("checkStatus",a,l),this.stopCheckingStatus(),o(a,l)))}validateOptions(t,n,s,i){var r,A,a,l,d,u,p,h,I,T,$,ne,F,C,x,G,pe,Oe,we;if(!_i(s))throw te(t,"Invalid currency: "+s),new W("invalid currency: "+s);if(!Cs(n))throw te(t,"Invalid amount: "+n),new W("invalid amount: "+n);if(!Array.isArray(i.orderItems)||((r=i.orderItems)==null?void 0:r.length)===0)throw te(t,"Invalid order"),new W("invalid order");if(i.orderItems.reduce((X,q)=>X+(Number(q.totalAmount||1)||Number(q.quantity||1)*Number(q.unitPrice||0)),0)!==Number(n||0))throw te(t,"Total amount must be sum of items amounts"),new W("Total amount must be sum of items amounts");if(!((A=i.customer)!=null&&A.email)||!bi((a=i.customer)==null?void 0:a.email))throw te(t,"Invalid customer email"),new W("Invalid customer email");if(!((l=i.customer)!=null&&l.firstName))throw te(t,"Invalid customer first name"),new W("Invalid customer first name");if(!((d=i.customer)!=null&&d.lastName))throw te(t,"Invalid customer last name"),new W("Invalid customer last name");if(!((u=i.customer)!=null&&u.phoneNumber)||!wi((p=i.customer)==null?void 0:p.phoneNumber))throw te(t,"Invalid customer phone number"),new W("Invalid customer phone number");if(!((h=i.billingAddress)!=null&&h.email)||!bi((I=i.billingAddress)==null?void 0:I.email))throw te(t,"Invalid billing address email"),new W("Invalid billing address email");if(!((T=i.billingAddress)!=null&&T.firstName))throw te(t,"Invalid billing address first name"),new W("Invalid billing address first name");if(!(($=i.billingAddress)!=null&&$.lastName))throw te(t,"Invalid billing address last name"),new W("Invalid billing address last name");if(!((ne=i.billingAddress)!=null&&ne.phoneNumber)||!wi((F=i.billingAddress)==null?void 0:F.phoneNumber))throw te(t,"Invalid billing address phone number"),new W("Invalid billing address phone number");if(!((C=i.billingAddress)!=null&&C.streetAddress))throw te(t,"Invalid billing street address"),new W("Invalid billing street address");if(!((x=i.billingAddress)!=null&&x.city))throw te(t,"Invalid billing city"),new W("Invalid billing city");if(!((G=i.billingAddress)!=null&&G.country))throw te(t,"Invalid billing country"),new W("Invalid billing country");if(!((pe=i.billingAddress)!=null&&pe.region))throw te(t,"Invalid billing region"),new W("Invalid billing region");if(!((Oe=i.billingAddress)!=null&&Oe.state))throw te(t,"Invalid billing state"),new W("Invalid billing state");if(!((we=i.billingAddress)!=null&&we.postalCode))throw te(t,"Invalid billing postal code"),new W("Invalid billing postal code")}}const ln={name:"@payfurl/client",private:!1,version:"4.0.5",files:["dist/sdk"],main:"./dist/sdk/payfurl.umd.js",module:"./dist/sdk/payfurl.es.js",types:"./dist/sdk/payfurl.d.ts",exports:{".":{import:"./dist/sdk/payfurl.es.js",require:"./dist/sdk/payfurl.umd.js"}},scripts:{dev:"vite -c vite.iframe.config.ts","build-iframe":"vite build -c vite.iframe.config.ts --emptyOutDir","build-sdk":"vite build -c vite.sdk.config.ts",preview:"vite preview",server:"python3 -m http.server 3001"},dependencies:{dayjs:"^1.11.7",vue:"^3.2.47"},devDependencies:{"@babel/types":"^7.21.2","@rollup/plugin-typescript":"^11.0.0","@types/node":"^18.14.2","@vitejs/plugin-vue":"^4.0.0","@vue/eslint-config-prettier":"^7.1.0","@vue/eslint-config-typescript":"^11.0.2",eslint:"^8.35.0","eslint-plugin-vue":"^9.9.0",prettier:"^2.8.4",typescript:"^4.9.5",vite:"^4.1.4","vue-tsc":"^1.2.0"}};class Nu{constructor(){b(this,"container",null);b(this,"form",null);b(this,"environment",Ke.LOCAL);b(this,"debug",!1);b(this,"config",Er(Ke.PRODUCTION));b(this,"publicKey","");b(this,"httpInvoker",null);b(this,"threeDsProcessor",null);b(this,"paypalProcessor",null);b(this,"cardProcessor",null);b(this,"payToProcessor",null);b(this,"bnplProcessor",null);b(this,"userOnSuccess",null);b(this,"userOnFailure",null);b(this,"billingAddress",null);b(this,"customer",null);b(this,"order",null);b(this,"paymentOptions",{})}init(t,n,s){return this.environment=t,this.debug=s,this.publicKey=n,this.config=Er(t),this.httpInvoker=new nn(n,ln.version),this.cardProcessor=new Kc(this.log.bind(this),{debug:this.debug,environment:this.environment,publicKey:this.publicKey,url:this.config.url,apiUrl:this.config.apiUrl,version:ln.version,getPaymentOptions:this.getPaymentOptions.bind(this),onSuccess:i=>{var o;this.log("[cardProcessor], success",i),i.token&&(this._setToken(i.token),setTimeout(()=>{var r;this.userOnSuccess||(r=this.form)==null||r.submit()},500)),(o=this.userOnSuccess)==null||o.call(this,{token:i.token})},onFailure:i=>{var o;this.log("[cardProcessor], failure",i),(o=this.userOnFailure)==null||o.call(this,{error:i.error})}}),this.threeDsProcessor=new Mc(this.log.bind(this),{debug:this.debug,publicKey:this.publicKey,apiUrl:this.config.apiUrl,tokenise:this.cardProcessor.tokenise.bind(this.cardProcessor),version:ln.version,onSuccess:i=>{var o;this.log("[threeDsProcessor], success",i),i.token&&this._setToken(i.token),(o=this.userOnSuccess)==null||o.call(this,{token:i.token})},onFailure:i=>{var o;this.log("[threeDsProcessor], failure",i),(o=this.userOnFailure)==null||o.call(this,{error:i.error})}}),this.paypalProcessor=new Lc(this.log.bind(this),{debug:this.debug,publicKey:this.publicKey,apiUrl:this.config.apiUrl,version:ln.version,onSuccess:i=>{var o;this.log("[paypalProcessor], success",i),!this.userOnSuccess&&i.transactionId&&(this._setToken(i.transactionId,"transactionId"),setTimeout(()=>{var r;(r=this.form)==null||r.submit()},500)),(o=this.userOnSuccess)==null||o.call(this,{transactionId:i.transactionId})},onFailure:i=>{var o;this.log("[paypalProcessor], failure",i),(o=this.userOnFailure)==null||o.call(this,{error:i.error})}}),this.cardProcessor.addThreeDsProcessor(this.threeDsProcessor),this.payToProcessor=new Au(this.log.bind(this),{debug:this.debug,publicKey:this.publicKey,apiUrl:this.config.apiUrl,version:ln.version,getPaymentOptions:this.getPaymentOptions.bind(this),onSuccess:i=>{var o;this.log("[payToProcessor], success",i),i.token&&(this._setToken(i.token),setTimeout(()=>{var r;this.userOnSuccess||(r=this.form)==null||r.submit()},500)),(o=this.userOnSuccess)==null||o.call(this,{token:i.token})},onFailure:i=>{var o;this.log("[payToProcessor], failure",i),(o=this.userOnFailure)==null||o.call(this,{error:i.error})}}),this.bnplProcessor=new Iu(this.log.bind(this),{debug:this.debug,publicKey:this.publicKey,apiUrl:this.config.apiUrl,redirectUrl:this.config.redirectUrl,version:ln.version,onSuccess:i=>{var o;this.log("[bnplProcessor], success",i),!this.userOnSuccess&&i.transactionId&&(this._setToken(i.transactionId,"transactionId"),setTimeout(()=>{var r;(r=this.form)==null||r.submit()},500)),(o=this.userOnSuccess)==null||o.call(this,{transactionId:i.transactionId})},onFailure:i=>{var o;this.log("[bnplProcessor], failure",i),(o=this.userOnFailure)==null||o.call(this,{error:i.error})}}),this.loadCss(),this}loadCss(){const t=document.createElement("link");t.href=this.config.cssUrl+"style.css?v="+Math.random(),t.rel="stylesheet",t.media="screen,print",document.getElementsByTagName("head")[0].appendChild(t)}log(t,...n){this.debug&&console.log(t,n)}_initForm(t){var n;this.container=t,this.form=((n=t==null?void 0:t.parentElement)==null?void 0:n.closest("form"))||null,this.form&&this.form.addEventListener("submit",this._submitForm.bind(this))}_setToken(t,n="token"){if(!this.form)return;let s=this.form.querySelector('input[name="token"]');s||(s=document.createElement("input"),s.type="hidden",s.name=n,this.form.appendChild(s)),s.value=t}_submitForm(t){if(t.preventDefault(),this.form){const n=this.form.querySelector('input[name="token"]');if(n!=null&&n.value){this.form.submit();return}}window.postMessage({status:"submit-form"},"*")}addCard(t,n,s){var o;if(!Yt(n))throw new W("missing parameter: providerId");const i=t&&document.getElementById(t)||null;if(!i)throw new W("Container is not available");return this._initForm(i),(o=this.cardProcessor)==null||o.addCard(i,this.form,n,(s==null?void 0:s.threeDSAmount)||0,(s==null?void 0:s.threeDSCurrency)||"",s),this}addCardLeastCost(t,n,s,i){var r;if(!Yt(n))throw new W("missing parameter: amount");const o=t&&document.getElementById(t)||null;if(!o)throw new W("Container is not available");return this._initForm(o),(r=this.cardProcessor)==null||r.addCard(o,this.form,"",n,s,i),this}_addDropIn(t,n,s,i){this.log("[addDropIn]",{dropinParentId:t,amount:n,currency:s,options:i});const o=t&&document.getElementById(t)||null;if(!o)throw new W("Container is not available");this._initForm(o);const r=A=>{var h,I,T,$,ne;this.log("[paymentMethodsCallback]",A),i!=null&&i.paypalProviderId&&(A.hasPaypalProviders=!0,A.paypalProviders.unshift(i==null?void 0:i.paypalProviderId)),i!=null&&i.payToProviderId&&(A.hasPayToProviders=!0,A.payToProviders.unshift(i==null?void 0:i.payToProviderId));const a=[A.hasCardProviders,A.hasPaypalProviders,A.hasPayToProviders,A.hasBnplProviders].filter(Boolean).length>1,l=A.required3dsProvider?{threeDSEnabled:!0,threeDsProviderId:A.required3dsProvider,threeDSEmail:(i==null?void 0:i.threeDSEmail)||""}:{threeDSEnabled:!1,threeDsProviderId:"",threeDSEmail:(i==null?void 0:i.threeDSEmail)||""},d={hideShipping:!1,paypalButtonStyle:null,paypalEnablePayIn4:!1,transfer:null},u={description:String(i==null?void 0:i.payToDescription).trim()||"",maximumAmount:(i==null?void 0:i.payToMaximumAmount)||0},p={taxAmount:(h=this.order)==null?void 0:h.taxAmount,shippingAmount:(I=this.order)==null?void 0:I.shippingAmount,discountAmount:(T=this.order)==null?void 0:T.discountAmount,orderItems:($=this.order)==null?void 0:$.orderItems,customer:this.customer||void 0,billingAddress:this.billingAddress||void 0};if(!a&&A.hasCardProviders){const F=t&&document.getElementById(t)||null;(ne=this.cardProcessor)==null||ne.addCard(F,this.form,(i==null?void 0:i.cardProviderId)||"",n,s,l);return}if(!a&&A.hasPaypalProviders){this.addPaypal(t,n,s,A.paypalProviders[0],d);return}if(!a&&A.hasPayToProviders){this.addPayTo(t,n,A.payToProviders[0],u);return}if(!a&&A.hasBnplProviders){this.addBnpl(t,n,s,A.bnplProviders[0].providerType,A.bnplProviders[0].providerId,p,A.bnplProviders[0].options);return}if(a){const F=()=>{window.postMessage({status:"deactivate",component:"paypal"},"*"),window.postMessage({status:"deactivate",component:"card"},"*"),window.postMessage({status:"deactivate",component:"payto"},"*"),A.hasBnplProviders&&A.bnplProviders.forEach(x=>{window.postMessage({status:"deactivate",component:"bnpl",providerType:x.providerType},"*")})},C=[];A.hasCardProviders&&C.push({title:"Card",description:"Credit or Debit",icon:Gl,render:x=>{var G;(G=this.cardProcessor)==null||G.addCard(x,this.form,(i==null?void 0:i.cardProviderId)||"",n,s,l)},activate:()=>{F(),window.postMessage({status:"activate",component:"card"},"*")}}),A.hasPaypalProviders&&C.push({title:"Paypal",icon:Fl,render:x=>{var G;(G=this.paypalProcessor)==null||G.addPaypal(x,this.form,n,s,A.paypalProviders[0],d)},activate:()=>{F(),window.postMessage({status:"activate",component:"paypal"},"*")}}),A.hasPayToProviders&&(Yt(u.description)?C.push({title:"PayTo",icon:$l,render:x=>{var G;(G=this.payToProcessor)==null||G.addPayTo(x,n,A.payToProviders[0],u)},activate:()=>{F(),window.postMessage({status:"activate",component:"payto"},"*")}}):console.log("Missing parameter: PayTo Description")),A.hasBnplProviders&&A.bnplProviders.forEach(x=>{var pe,Oe;const G=`${this.config.cssUrl}icons/${Hn[x.providerType].icon}.svg`;C.push({title:Hn[x.providerType].name,description:Hn[x.providerType].description||((Oe=(pe=x.options)==null?void 0:pe.terms)==null?void 0:Oe.replaceAll(/(\d+\.\d{3,})/g,(we,X)=>parseFloat(X).toFixed(2))),icon:G,render:we=>{var X;(X=this.bnplProcessor)==null||X.addBnpl(we,n,"AUD",x.providerType,x.providerId,p,x.options)},activate:()=>{F(),window.postMessage({status:"activate",component:"bnpl",providerType:x.providerType},"*")}})}),rt({el:document.getElementById(t),component:oc,props:{elements:C}})}};return this.getPaymentOptions(n,s,r),this}addDropIn(t,n,s,i){if(!Yt(t))throw new W("missing parameter: dropinParentId");return this._addDropIn(t,n,s,i),this}addPaypal(t,n,s,i,o){const r=t&&document.getElementById(t)||null;if(!r)throw new W("Container is not available");this._initForm(r);const A=a=>{var l;(l=this.paypalProcessor)==null||l.addPaypal(r,this.form,n,s,a.paypalProviders[0],o)};return i?A({hasPaypalProviders:!0,paypalProviders:[i],hasCardProviders:!1,hasPayToProviders:!1,hasBnplProviders:!1,bnplProviders:[],payToProviders:[],required3dsProvider:""}):this.getPaymentOptions(n,s,A),this}addPayTo(t,n,s,i){var r;if(!Yt(i.description))throw new W("Missing parameter: description");const o=t&&document.getElementById(t)||null;if(!o)throw new W("Container is not available");return this._initForm(o),(r=this.payToProcessor)==null||r.addPayTo(o,n,s,i),this}addBnpl(t,n,s,i,o,r,A){var l;const a=t&&document.getElementById(t)||null;if(!a)throw new W("Container is not available");return this._initForm(a),(l=this.bnplProcessor)==null||l.addBnpl(a,n,s,i,o,r,A),this}addThreeDsWithFullParameters(t,n,s,i,o,r,A){var l;const a=t&&document.getElementById(t)||null;return this._initForm(a),(l=this.threeDsProcessor)==null||l.addThreeDsWithFullParameters(a,n,s,i,o,r,A),this}tokeniseWith3Ds(t,n,s,i,o,r,A,a,l){var u;if(!Yt(n))throw new W("missing parameter: providerId");const d=t&&document.getElementById(t)||null;return this._initForm(d),(u=this.threeDsProcessor)==null||u.tokeniseWith3Ds(d,n,s,i,o,r,A,a,l),this}getPaymentOptions(t,n,s){var a;this.log("getPaymentOptions, request",{amount:t,currency:n});const i=`${t}${n}`;if(this.paymentOptions[i]){s==null||s(this.paymentOptions[i]);return}const o=this.config.apiUrl+"/info/providers?amount="+t+"&currency="+n,r=(l,d)=>{throw this.showErrorMessage("Unable to configure SDK"),new W("failed to configure, error: "+d)},A=(l,d)=>{const u=JSON.parse(d);this.log("getPaymentOptions, response",u),this.paymentOptions[i]=u,s==null||s(u)};(a=this.httpInvoker)==null||a.invoke(o,"GET","",A,r)}setAmount(t){var n,s,i;if(!Cs(t))throw new W("missing parameter: "+t);return this.log("[setAmount]",t),(n=this.cardProcessor)==null||n.setAmount(t),(s=this.threeDsProcessor)==null||s.setAmount(t),(i=this.paypalProcessor)==null||i.setAmount(t),this}onSuccess(t){this.userOnSuccess=t}onFailure(t){this.userOnFailure=t}showErrorMessage(t){this.log(t),te(this.container,t)}setBillingAddress(t){return this.billingAddress={...t},this}setCustomerInfo(t){return this.customer={...t},this}setOrderInfo(t){return this.order={...t},this}}return new Nu});