@solvimon/solvimon-web 0.1.0-alpha.17 → 0.1.0-alpha.18

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 (168) hide show
  1. package/README.md +28 -26
  2. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-C2IRj-FB.mjs +238 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Rub9ifBk.js +1 -0
  4. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BrPsTuoW.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BWnZ98RQ.mjs} +2 -2
  5. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BuQ8bzar.js → BillingInformation.vue_vue_type_script_setup_true_lang-DurgWlLC.js} +1 -1
  6. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CuWrBcoK.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-D7gL7dZX.mjs} +3 -3
  7. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Df7CsbiW.js +1 -0
  8. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-OUg4yv7r.mjs +2654 -0
  9. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-mM5udvi8.js +1 -0
  10. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BIpg-MSJ.mjs +53 -0
  11. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BM3p8Pk8.js +1 -0
  12. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D5eSNYH2.js +1 -0
  13. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-wxP5IaGt.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DbY35gE_.mjs} +1 -1
  14. package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-05NKI2A0.js → InvoiceHeader.vue_vue_type_script_setup_true_lang-Ci8r6tuC.js} +1 -1
  15. package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-17v07F58.mjs → InvoiceHeader.vue_vue_type_script_setup_true_lang-jshby9pF.mjs} +1 -1
  16. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CNKxTtO7.js +1 -0
  17. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBMgilG2.mjs +153 -0
  18. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CupZFJSF.mjs +52 -0
  19. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D6lpD1zo.js +1 -0
  20. package/dist/{PaymentHistoryBlock-BitwS9Re.mjs → PaymentHistoryBlock-Bxr8lUGs.mjs} +1 -1
  21. package/dist/{PaymentHistoryBlock-ZtmPXXwI.js → PaymentHistoryBlock-COjIVYX4.js} +1 -1
  22. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Bmgx7PSt.js +1 -0
  23. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3ZUDUdw.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CDjGab5p.mjs} +1 -1
  24. package/dist/{PaymentIntegrationForm-BZTzCUiu.js → PaymentIntegrationForm-BSauhuKv.js} +1 -1
  25. package/dist/{PaymentIntegrationForm-BK2aLPCo.mjs → PaymentIntegrationForm-PIT8gHYN.mjs} +1 -1
  26. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-5XKz3kop.js +1 -0
  27. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-COO2ZUhN.mjs +148 -0
  28. package/dist/PaymentIntegrationFormAdyen-B-Jbu2hU.js +1 -0
  29. package/dist/PaymentIntegrationFormAdyen-Cjj9aK0E.mjs +729 -0
  30. package/dist/PaymentIntegrationFormStripe-Bnn8S1o5.js +1 -0
  31. package/dist/PaymentIntegrationFormStripe-arpua_ZT.mjs +545 -0
  32. package/dist/PaymentMethodForm-B7T5rrNz.mjs +4 -0
  33. package/dist/PaymentMethodForm-CLz3ZS-b.js +1 -0
  34. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-CIQ0vsko.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-C4Zf92QP.mjs} +2 -2
  35. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-zRr8iihy.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-UH9AVXnG.js} +1 -1
  36. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DVeB_mqK.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIIt6fGp.mjs} +76 -30
  37. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-ifai5HVr.js +1 -0
  38. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D1TcP9PR.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DaWlLor0.mjs} +2 -2
  39. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DdUoeTUL.js +1 -0
  40. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BMXr26gF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CyYhYYRp.mjs} +1 -1
  41. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DdjYVNku.js +1 -0
  42. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cu55ZvCH.js +1 -0
  43. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3cqlbGY.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-z8P1u1Gi.mjs} +16 -63
  44. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BKDMwuyh.js +1 -0
  45. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BDqX6OaE.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BOUSk2ZB.mjs} +5 -5
  46. package/dist/adyen-BMDZQBUG.js +1 -0
  47. package/dist/{url-BjZ1Pg0l.mjs → adyen-Ba-mF3Jy.mjs} +31 -73
  48. package/dist/component--Y7Igv5i.mjs +1022 -0
  49. package/dist/component-DIy1hvJM.js +1 -0
  50. package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
  51. package/dist/components/BillingInformation/BillingInformation.es.js +4 -4
  52. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
  53. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +4 -4
  54. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
  55. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +4 -4
  56. package/dist/components/Invoice/Invoice.cjs.js +1 -1
  57. package/dist/components/Invoice/Invoice.es.js +7 -7
  58. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
  59. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -3
  60. package/dist/components/InvoiceHeader/InvoiceHeader.cjs.js +1 -1
  61. package/dist/components/InvoiceHeader/InvoiceHeader.es.js +4 -4
  62. package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
  63. package/dist/components/InvoicesList/InvoicesList.es.js +3 -3
  64. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
  65. package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -3
  66. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
  67. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +6 -6
  68. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
  69. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +4 -4
  70. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
  71. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +5 -5
  72. package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
  73. package/dist/components/WalletBalances/WalletBalances.es.js +21 -7
  74. package/dist/core/action-request.types.d.ts +1 -13
  75. package/dist/core/index.cjs.js +1 -1
  76. package/dist/core/index.es.js +1 -1
  77. package/dist/{customer-DAgdegIW.mjs → customer-DovIxTG1.mjs} +1 -1
  78. package/dist/{customer-AfRcAZ5P.js → customer-brfznoHY.js} +1 -1
  79. package/dist/en-US-BvOHPudj.js +1 -0
  80. package/dist/{en-US-DSzSbgL5.mjs → en-US-CXDO3qhq.mjs} +53 -0
  81. package/dist/index-BMWWP8xj.js +1 -0
  82. package/dist/index-Do7kzLpg.mjs +265 -0
  83. package/dist/index.cjs.js +1 -1
  84. package/dist/index.es.js +1 -1
  85. package/dist/{invoices-BHgajZHq.js → invoices-Cf3dSYSj.js} +1 -1
  86. package/dist/{invoices-BXDgW8ch.mjs → invoices-Dk-z04lg.mjs} +2 -2
  87. package/dist/{nl-NL-Li7RW89R.mjs → nl-NL-BgL_PuBn.mjs} +55 -1
  88. package/dist/nl-NL-COGUFg60.js +1 -0
  89. package/dist/{paymentMethods-xzFD2L30.mjs → paymentMethods-BnF1XYS1.mjs} +21 -5
  90. package/dist/paymentMethods-DVDC_WfL.js +1 -0
  91. package/dist/{payments-DMvmB5vg.js → payments-DVZFO5yb.js} +1 -1
  92. package/dist/{payments-DV6csRej.mjs → payments-TnRjtlOw.mjs} +1 -1
  93. package/dist/{pricing-BEjY_5wb.js → pricing-CuYndX6t.js} +1 -1
  94. package/dist/{pricing-B1uImUm4.mjs → pricing-GwLCiSzs.mjs} +1 -1
  95. package/dist/{pricingPlanSchedule-C_cqUyTk.mjs → pricingPlanSchedule-CXG3CQ61.mjs} +3 -1
  96. package/dist/{registry-CyENvS6l.mjs → registry-Ck0Gb6rj.mjs} +1 -1
  97. package/dist/{registry-CeMxLjwU.js → registry-Cra6yoB4.js} +1 -1
  98. package/dist/screens/Checkout/Checkout.cjs.js +1 -1
  99. package/dist/screens/Checkout/Checkout.es.js +37 -36
  100. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
  101. package/dist/screens/CustomerOverview/CustomerOverview.es.js +32 -56
  102. package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
  103. package/dist/screens/PayInvoice/PayInvoice.es.js +28 -12
  104. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +1 -1
  105. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.es.js +28 -18
  106. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs.js +1 -1
  107. package/dist/screens/SubscriptionDetails/SubscriptionDetails.es.js +436 -89
  108. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +1 -1
  109. package/dist/screens/SubscriptionManagement/SubscriptionManagement.es.js +28 -37
  110. package/dist/solvimon-web.css +1 -1
  111. package/dist/{subscription-B4dBAY9C.mjs → subscription-C41lG-rH.mjs} +1 -1
  112. package/dist/subscriptions-BFCKVHnP.js +1 -0
  113. package/dist/subscriptions-vEE4Y7qm.mjs +58 -0
  114. package/dist/{useActionDispatchProvider-zB_GKeUR.mjs → useActionDispatchProvider-BlEf-RZ5.mjs} +1 -1
  115. package/dist/{useActionDispatchProvider-bqR_FeM4.js → useActionDispatchProvider-aJOy3kr1.js} +1 -1
  116. package/dist/{useCustomer-bO4D6e4Z.js → useCustomer-C1XTqmrQ.js} +1 -1
  117. package/dist/{useCustomer-VfeQ6rG2.mjs → useCustomer-Cw8LXT6S.mjs} +2 -2
  118. package/dist/{useIncrementalLoading-C59FXHzp.mjs → useIncrementalLoading-8WtKZ-mP.mjs} +2 -2
  119. package/dist/useIncrementalLoading-CkY2klIW.js +1 -0
  120. package/dist/{useInvoiceData-CxxkBTGY.js → useInvoiceData-BrxMo4Zt.js} +1 -1
  121. package/dist/{useInvoiceData-Dhg-hx8C.mjs → useInvoiceData-Cy_ysMsq.mjs} +2 -2
  122. package/dist/{useInvoicesList-DBz7T7sM.mjs → useInvoicesList-DMsZn1tE.mjs} +4 -4
  123. package/dist/{useInvoicesList-BXZ9uV9i.js → useInvoicesList-DmisMQzy.js} +1 -1
  124. package/dist/{useLoadInitialData-BhpIg7OF.mjs → useLoadInitialData-BP1v7qhd.mjs} +1 -1
  125. package/dist/{useLoadInitialData-BqiAFNFi.js → useLoadInitialData-_BjCD0Jc.js} +1 -1
  126. package/dist/{usePaymentMethodOptions-PcMjtMSF.mjs → usePaymentMethodOptions-CWfGvW0U.mjs} +9 -3
  127. package/dist/{usePaymentMethodOptions-DszFvgKX.js → usePaymentMethodOptions-xeSTmaVo.js} +1 -1
  128. package/dist/{usePaymentMethods-Bb1Xbads.js → usePaymentMethods-CAFMvSOr.js} +1 -1
  129. package/dist/{usePaymentMethods-B5AbGWsn.mjs → usePaymentMethods-Cyk4cjoE.mjs} +2 -2
  130. package/dist/{usePayments-is5c66Z6.js → usePayments-BieVBaz-.js} +1 -1
  131. package/dist/{usePayments-DgoZoBZh.mjs → usePayments-D88XSZfS.mjs} +10 -4
  132. package/dist/{usePortal-DWLtNqBB.mjs → usePortal-0NDlbFr9.mjs} +1 -1
  133. package/dist/{usePortal-C4qWsJeq.js → usePortal-B954nyEB.js} +1 -1
  134. package/dist/{useService-DKm3QtT4.js → useService-BiljI7XA.js} +1 -1
  135. package/dist/{useService-BZqFkz7p.mjs → useService-CqfJi5ST.mjs} +1 -1
  136. package/dist/{useSubscription-CEZJw6wZ.mjs → useSubscription-9rJpFNUF.mjs} +9 -3
  137. package/dist/{useSubscription-DuUNc1_l.js → useSubscription-k3limdu_.js} +1 -1
  138. package/dist/vendor-ui-Dfh3_g4q.js +1 -0
  139. package/dist/{vendor-ui-BoGKOJ36.mjs → vendor-ui-ItGf7wJV.mjs} +1912 -1800
  140. package/package.json +12 -5
  141. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-1Op9GjGZ.js +0 -1
  142. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C66beqgf.js +0 -1
  143. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D2BhuXsh.mjs +0 -77
  144. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BbuEBiY3.js +0 -1
  145. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-dwIv_xxf.js +0 -1
  146. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CMGK71zZ.js +0 -1
  147. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B_yDNGK8.mjs +0 -1537
  148. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-GN3WAr10.js +0 -1
  149. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-BQIN3zuf.mjs +0 -156
  150. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DyL2-vV0.js +0 -1
  151. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-OvGGejpX.js +0 -1
  152. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BxqIfmkK.js +0 -1
  153. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BKz2QQn9.js +0 -1
  154. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CyAFjCh7.js +0 -1
  155. package/dist/component-CUJ_G2Nw.mjs +0 -962
  156. package/dist/component-CiKxWtdx.js +0 -1
  157. package/dist/en-US-QzQnGXP1.js +0 -1
  158. package/dist/index-CzL1ZcGi.mjs +0 -85
  159. package/dist/index-DRdBmZ2-.js +0 -1
  160. package/dist/nl-NL-C4rr-1tr.js +0 -1
  161. package/dist/paymentMethods-BMcc-eTl.js +0 -1
  162. package/dist/subscriptions-CrNDM9qa.mjs +0 -79
  163. package/dist/subscriptions-DC-mxa17.js +0 -1
  164. package/dist/url-D8GJi5rF.js +0 -1
  165. package/dist/useIncrementalLoading-BgWuwoMo.js +0 -1
  166. package/dist/useTopUpModal-DNyWrHDv.mjs +0 -1012
  167. package/dist/useTopUpModal-DeF-cfCK.js +0 -1
  168. package/dist/vendor-ui-BuRqLx74.js +0 -1
@@ -0,0 +1 @@
1
+ const e=require("vue"),t=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;");function n(e){return null==e||("string"==typeof e||Array.isArray(e)?0===e.length:e instanceof Map||e instanceof Set?0===e.size:"object"!=typeof e||0===Object.keys(e).length)}function o(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"!=typeof e||"object"!=typeof t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;const n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every(n=>o(e[n],t[n]))}const a=o,l=["innerHTML"],i=e.defineComponent({__name:"TextWithHighlights",props:{text:{},search:{default:""},highlighClasses:{default:"text-primary-600 font-bold underline"}},setup(o){const a=o,i=e.computed(()=>{const e=t(a.text),o=[{type:"text",value:e}];if(""===a.search)return o;const l=new RegExp(a.search.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi");const i=[...e.matchAll(l)];if(n(i))return o;const r=[];return i.forEach((t,n)=>{void 0!==t.index&&(0===n&&(r.push({type:"text",value:e.substring(0,t.index)}),r.push({type:"highlight",value:e.substring(t.index,t.index+a.search.length)})),n>0&&n<i.length-1&&i[n-1].index&&(r.push({type:"text",value:e.substring(i[n-1].index??0+a.search.length,t.index)}),r.push({type:"highlight",value:e.substring(t.index,t.index+a.search.length)})),n===i.length-1&&t.index+a.search.length<e.length&&r.push({type:"text",value:e.substring(t.index+a.search.length,e.length)}))}),r});return(t,n)=>(e.openBlock(),e.createElementBlock("span",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,({type:t,value:n},a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},["text"===t?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:n},null,8,l)):e.createCommentVNode("",!0),"highlight"===t?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(o.highlighClasses)},e.toDisplayString(n),3)):e.createCommentVNode("",!0)],64))),128))]))}}),r=e.defineComponent({__name:"FormMessage",props:{message:{},variant:{default:"error"},capitalizeFirstLetter:{type:Boolean,default:!0}},setup(t){const n=t,o=e.computed(()=>{let e="text-xs";return"default"===n.variant&&(e+=" text-slate-400"),"error"===n.variant&&(e+=" text-red-600"),"warning"===n.variant&&(e+=" text-yellow-600"),n.capitalizeFirstLetter&&(e+=" first-letter:capitalize"),e});return(n,a)=>"object"!=typeof t.message||"value"in t.message?t.message||n.$slots.default?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(o.value)},[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.message),1)])],2)):e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.message,({$uid:t,$message:n})=>(e.openBlock(),e.createElementBlock("p",{key:t,class:e.normalizeClass(o.value)},e.toDisplayString(n),3))),128))}}),c=e.defineComponent({__name:"FullClickableBlock",props:{tag:{default:"div"}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"relative"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3}))}),s=(e,t)=>{const n=e.__vccOpts||e;for(const[o,a]of t)n[o]=a;return n},d={class:"appearance-none after:absolute after:inset-0"};const u=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("button",d,[e.renderSlot(t.$slots,"default")])}]]),p=e=>{if(e.tag)return e.tag;switch(e.variant){case"heading-1":return"h1";case"heading-2":return"h2";case"heading-3":return"h3";default:return"p"}},m=e.defineComponent({__name:"Typography",props:{id:{},tag:{},variant:{default:"body"},noSpacing:{type:Boolean,default:!1},center:{type:Boolean,default:!1},mono:{type:Boolean,default:!1},shade:{},weight:{}},setup(t,{expose:n}){const o=t,a=e.computed(()=>p(o)),l=e.computed(()=>(e=>{switch(e.variant){case"heading-1":return"text-2xl font-general-sans";case"heading-2":case"body-lg":return"text-lg";case"heading-3":case"body":return"text-base";case"body-xs":return"text-xs";case"body-sm":return"text-sm";case"caps-heading":return"inline-block text-2xs uppercase";case"label":return"block text-sm";default:return""}})(o)),i=e.computed(()=>(e=>{if(e.noSpacing)return"";if("p"===p(e))switch(e.variant){case"body-sm":return"my-1";case"body":case"body-lg":return"my-2";default:return""}return""})(o)),r=e.computed(()=>(e=>{if(e.weight)switch(e.weight){case"bold":return"font-bold";case"semibold":return"font-semibold";default:return"font-normal"}switch(e.variant){case"heading-1":case"heading-2":case"heading-3":case"caps-heading":return"font-semibold";case"label":return"font-medium";default:return""}})(o)),c=e.computed(()=>(e=>{if("caps-heading"===e.variant)return"text-gray-600";if("label"===e.variant)return"text-gray-600";switch(e.shade){case"light":return"text-gray-700";case"lighter":return"text-gray-500";case"lightest":return"text-gray-300";default:return"text-inherit"}})(o)),s=e.computed(()=>o.center?"text-center":""),d=e.ref(null);return n({el:d}),(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),e.mergeProps(n.$attrs,{id:t.id,ref_key:"el",ref:d,class:[l.value,i.value,s.value,r.value,c.value,t.mono?"font-mono":void 0].join(" ")}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["id","class"]))}}),f={key:0},h={key:1},v=e.defineComponent({__name:"ListGroupItem",props:{disabled:{type:Boolean,default:!1},onClick:{},dataTestid:{},variant:{}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(e.unref(c),{tag:"li",class:e.normalizeClass(["w-full border-b border-gray-200 px-4 py-2 transition-colors",{block:!t.disabled&&t.onClick,"focus-within:bg-gray-50 focus-within:text-gray-900 hover:bg-gray-50 hover:text-gray-900":!t.disabled&&t.onClick&&"danger"!==t.variant,"text-red-700 focus-within:bg-red-50 focus-within:text-red-700 hover:bg-red-50":!t.disabled&&t.onClick&&"danger"===t.variant,"cursor-not-allowed bg-gray-50 text-gray-400":t.disabled}]),onClick:o[1]||(o[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.onClick?e.unref(u):"span"),{class:"flex w-full items-start gap-2 text-left focus:outline-none active:outline-none",disabled:t.onClick?t.disabled:void 0,type:t.onClick?"button":void 0,"data-testid":t.dataTestid,onClick:o[0]||(o[0]=e=>{var n;return null==(n=t.onClick)?void 0:n.call(t)})},{default:e.withCtx(()=>[n.$slots.prefix?(e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(n.$slots,"prefix")])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),n.$slots.suffix?(e.openBlock(),e.createElementBlock("div",h,[e.renderSlot(n.$slots,"suffix")])):e.createCommentVNode("",!0)]),_:3},8,["disabled","type","data-testid"])),n.$slots.description?(e.openBlock(),e.createBlock(e.unref(m),{key:0,tag:"span",variant:"body-xs",class:"mt-0.5 font-normal",shade:t.disabled?"lightest":"lighter"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"description")]),_:3},8,["shade"])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}),g={class:"h-full w-full",xmlns:"http://www.w3.org/2000/svg",viewbox:"0 0 48 48"},b=["xlink:href"],y=e.defineComponent({__name:"Icon",props:{icon:{},size:{default:"sm"},variant:{default:"default"}},setup(t){const n={"3xs":"w-[10px] h-[10px]","2xs":"w-[14px] h-[14px]",xs:"w-[16px] h-[16px]",sm:"w-[20px] h-[20px]",base:"w-[22px] h-[22px]",md:"w-[24px] h-[24px]",lg:"w-[32px] h-[32px]",xl:"w-[48px] h-[48px]"};return(o,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["icon inline-flex items-center justify-center align-middle leading-none",[n[t.size],{"rounded border bg-gray-50 selection:drop-shadow-sm":"contained"===t.variant}]])},[(e.openBlock(),e.createElementBlock("svg",g,[e.createElementVNode("use",{"xlink:href":`#${t.icon}`},null,8,b)]))],2))}}),x=e.defineComponent({__name:"ContextMenuItem",props:{icon:{},label:{},description:{},labelSuffixComponent:{},labelPrefixComponent:{},onClick:{type:Function},classes:{},variant:{},testId:{},disabled:{type:Boolean},active:{type:Boolean}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(e.unref(v),{class:e.normalizeClass(["border-none",{[`${t.classes}`]:!!t.classes,"bg-primary-50 text-primary-700":t.active}]),"data-testid":t.testId,disabled:t.disabled,variant:t.variant,onClick:t.onClick},e.createSlots({default:e.withCtx(()=>[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createVNode(e.unref(m),{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1}),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.mergeProps({key:1},t.labelSuffixComponent.props,{class:"ml-2"}),null,16)):e.createCommentVNode("",!0)]),_:2},[t.icon?{name:"prefix",fn:e.withCtx(()=>[e.createVNode(e.unref(y),{icon:t.icon},null,8,["icon"])]),key:"0"}:void 0,t.description?{name:"description",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.description),1)]),key:"1"}:void 0]),1032,["class","data-testid","disabled","variant","onClick"]))}),k="relative translate-y-1/2 top-1/2 border-t border-gray-100",_=e.defineComponent({__name:"DividerText",props:{spacing:{default:"none"},textPosition:{default:"left"},hasOuterDivider:{type:Boolean,default:!1},text:{}},setup(t){const n=t,{leftDividerClasses:o,rightDividerClasses:a}=(t=>({leftDividerClasses:e.computed(()=>{let e=`${k}`;return t.hasOuterDivider&&"left"===t.textPosition?e+=" w-2":e+=" grow",e}),rightDividerClasses:e.computed(()=>{let e=`${k}`;return t.hasOuterDivider&&"right"===t.textPosition?e+=" w-2":e+=" grow",e})}))(n);return(n,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex gap-2",{"my-2":"xs"===t.spacing,"my-4":"sm"===t.spacing,"my-6":"md"===t.spacing,"my-8":"lg"===t.spacing,"my-10":"xl"===t.spacing}])},["left"===t.textPosition&&t.hasOuterDivider||["center","right"].includes(t.textPosition)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(o))},null,2)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},()=>[e.createVNode(e.unref(m),{tag:"span","no-spacing":"",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.text),1)]),_:1})]),"right"===t.textPosition&&t.hasOuterDivider||["center","left"].includes(t.textPosition)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(a))},null,2)):e.createCommentVNode("",!0)],2))}}),w=e.defineComponent({__name:"Divider",props:{spacing:{default:"md"}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("hr",{class:e.normalizeClass({"my-1":"xxs"===t.spacing,"my-2":"xs"===t.spacing,"my-4":"sm"===t.spacing,"my-6":"md"===t.spacing,"my-8":"lg"===t.spacing,"my-10":"xl"===t.spacing})},null,2))}),B=e.defineComponent({__name:"ContextMenuGroup",props:{label:{},items:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(_),{"has-outer-divider":""},{default:e.withCtx(()=>[e.createVNode(e.unref(m),{class:"py-2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},["divider"===t?(e.openBlock(),e.createBlock(e.unref(w),{key:0})):t.label?(e.openBlock(),e.createBlock(x,{key:1,label:t.label,"on-click":t.onClick,icon:t.icon,variant:t.variant,classes:t.classes,"label-suffix-component":t.labelSuffixComponent,"label-prefix-component":t.labelPrefixComponent,disabled:t.disabled,active:t.active},null,8,["label","on-click","icon","variant","classes","label-suffix-component","label-prefix-component","disabled","active"])):e.createCommentVNode("",!0)],64))),128))],64))});const C=s({},[["render",function(t,n){return e.openBlock(),e.createBlock(e.TransitionGroup,{"enter-active-class":"duration-100 ease-out transform-gpu","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"duration-100 ease-in transform-gpu","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})}]]);var E;const N="undefined"!=typeof window,T=()=>{},M=N&&(null==(E=null==window?void 0:window.navigator)?void 0:E.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function V(t){return"function"==typeof t?t():e.unref(t)}function S(t){return!!e.getCurrentScope()&&(e.onScopeDispose(t),!0)}function z(e){var t;const n=V(e);return null!=(t=null==n?void 0:n.$el)?t:n}const P=N?window:void 0;function D(...t){let n,o,a,l;if("string"==typeof t[0]||Array.isArray(t[0])?([o,a,l]=t,n=P):[n,o,a,l]=t,!n)return T;Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]);const i=[],r=()=>{i.forEach(e=>e()),i.length=0},c=e.watch(()=>[z(n),V(l)],([e,t])=>{r(),e&&i.push(...o.flatMap(n=>a.map(o=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,n,o,t))))},{immediate:!0,flush:"post"}),s=()=>{c(),r()};return S(s),s}let I=!1;function q(...e){let t,n,o={};3===e.length?(t=e[0],n=e[1],o=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=P,eventName:l="keydown",passive:i=!1}=o,r="function"==typeof(c=t)?c:"string"==typeof c?e=>e.key===c:Array.isArray(c)?e=>c.includes(e.key):()=>!0;var c;return D(a,l,e=>{r(e)&&n(e)},i)}function $(t,n=!1){const o=e.ref(),a=()=>o.value=Boolean(t());return a(),function(t,n=!0){e.getCurrentInstance()?e.onMounted(t):n?t():e.nextTick(t)}(a,n),o}function O(t,n={}){const{window:o=P}=n,a=$(()=>o&&"matchMedia"in o&&"function"==typeof o.matchMedia);let l;const i=e.ref(!1),r=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",c):l.removeListener(c))},c=()=>{var n;a.value&&(r(),l=o.matchMedia((n=t,"function"==typeof n?e.computed(n):e.ref(n)).value),i.value=l.matches,"addEventListener"in l?l.addEventListener("change",c):l.addListener(c))};return e.watchEffect(c),S(()=>r()),i}const H={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var A=Object.defineProperty,L=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function U(e,t={}){function n(t,n){let o=e[t];return null!=n&&(o=function(e,t){var n;if("number"==typeof e)return e+t;const o=(null==(n=e.match(/^-?[0-9]+\.?[0-9]*/))?void 0:n[0])||"",a=e.slice(o.length),l=parseFloat(o)+t;return Number.isNaN(l)?e:l+a}(o,n)),"number"==typeof o&&(o=`${o}px`),o}const{window:o=P}=t;function a(e){return!!o&&o.matchMedia(e).matches}const l=e=>O(`(min-width: ${n(e)})`,t),i=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>l(t),enumerable:!0,configurable:!0}),e),{});return((e,t)=>{for(var n in t||(t={}))Z.call(t,n)&&F(e,n,t[n]);if(L)for(var n of L(t))R.call(t,n)&&F(e,n,t[n]);return e})({greater:e=>O(`(min-width: ${n(e,.1)})`,t),greaterOrEqual:l,smaller:e=>O(`(max-width: ${n(e,-.1)})`,t),smallerOrEqual:e=>O(`(max-width: ${n(e)})`,t),between:(e,o)=>O(`(min-width: ${n(e)}) and (max-width: ${n(o,-.1)})`,t),isGreater:e=>a(`(min-width: ${n(e,.1)})`),isGreaterOrEqual:e=>a(`(min-width: ${n(e)})`),isSmaller:e=>a(`(max-width: ${n(e,-.1)})`),isSmallerOrEqual:e=>a(`(max-width: ${n(e)})`),isInBetween:(e,t)=>a(`(min-width: ${n(e)}) and (max-width: ${n(t,-.1)})`)},i)}const G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},j="__vueuse_ssr_handlers__";G[j]=G[j]||{};var Q,K,W=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable;function J(t,n,o={}){const a=o,{window:l=P}=a,i=((e,t)=>{var n={};for(var o in e)Y.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&W)for(var o of W(e))t.indexOf(o)<0&&X.call(e,o)&&(n[o]=e[o]);return n})(a,["window"]);let r;const c=$(()=>l&&"ResizeObserver"in l),s=()=>{r&&(r.disconnect(),r=void 0)},d=e.watch(()=>z(t),e=>{s(),c.value&&l&&e&&(r=new ResizeObserver(n),r.observe(e,i))},{immediate:!0,flush:"post"}),u=()=>{s(),d()};return S(u),{isSupported:c,stop:u}}function ee(t,n={width:0,height:0},o={}){const{window:a=P,box:l="content-box"}=o,i=e.computed(()=>{var e,n;return null==(n=null==(e=z(t))?void 0:e.namespaceURI)?void 0:n.includes("svg")}),r=e.ref(n.width),c=e.ref(n.height);return J(t,([e])=>{const n="border-box"===l?e.borderBoxSize:"content-box"===l?e.contentBoxSize:e.devicePixelContentBoxSize;if(a&&i.value){const e=z(t);if(e){const t=a.getComputedStyle(e);r.value=parseFloat(t.width),c.value=parseFloat(t.height)}}else if(n){const e=Array.isArray(n)?n:[n];r.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else r.value=e.contentRect.width,c.value=e.contentRect.height},o),e.watch(()=>z(t),e=>{r.value=e?n.width:0,c.value=e?n.height:0}),{width:r,height:c}}function te(t,n,o={}){const{root:a,rootMargin:l="0px",threshold:i=.1,window:r=P}=o,c=$(()=>r&&"IntersectionObserver"in r);let s=T;const d=c.value?e.watch(()=>({el:z(t),root:z(a)}),({el:e,root:t})=>{if(s(),!e)return;const o=new IntersectionObserver(n,{root:t,rootMargin:l,threshold:i});o.observe(e),s=()=>{o.disconnect(),s=T}},{immediate:!0,flush:"post"}):T,u=()=>{s(),d()};return S(u),{isSupported:c,stop:u}}(K=Q||(Q={})).UP="UP",K.RIGHT="RIGHT",K.DOWN="DOWN",K.LEFT="LEFT",K.NONE="NONE";var ne=Object.defineProperty,oe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ie=(e,t,n)=>t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function re(t,n,o,a={}){var l,i,r;const{clone:c=!1,passive:s=!1,eventName:d,deep:u=!1,defaultValue:p}=a,m=e.getCurrentInstance(),f=o||(null==m?void 0:m.emit)||(null==(l=null==m?void 0:m.$emit)?void 0:l.bind(m))||(null==(r=null==(i=null==m?void 0:m.proxy)?void 0:i.$emit)?void 0:r.bind(null==m?void 0:m.proxy));let h=d;n||(n="modelValue"),h=d||h||`update:${n.toString()}`;const v=e=>{return c?(e=>"function"==typeof e)(c)?c(e):(t=e,JSON.parse(JSON.stringify(t))):e;var t},g=()=>void 0!==t[n]?v(t[n]):p;if(s){const o=g(),a=e.ref(o);return e.watch(()=>t[n],e=>a.value=v(e)),e.watch(a,e=>{(e!==t[n]||u)&&f(h,e)},{deep:u}),a}return e.computed({get:()=>g(),set(e){f(h,e)}})}((e,t)=>{for(var n in t||(t={}))ae.call(t,n)&&ie(e,n,t[n]);if(oe)for(var n of oe(t))le.call(t,n)&&ie(e,n,t[n])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const ce=Math.min,se=Math.max,de=Math.round,ue=Math.floor,pe=e=>({x:e,y:e}),me={left:"right",right:"left",bottom:"top",top:"bottom"},fe={start:"end",end:"start"};function he(e,t,n){return se(e,ce(t,n))}function ve(e,t){return"function"==typeof e?e(t):e}function ge(e){return e.split("-")[0]}function be(e){return e.split("-")[1]}function ye(e){return"x"===e?"y":"x"}function xe(e){return"y"===e?"height":"width"}const ke=new Set(["top","bottom"]);function _e(e){return ke.has(ge(e))?"y":"x"}function we(e){return ye(_e(e))}function Be(e){return e.replace(/start|end/g,e=>fe[e])}const Ce=["left","right"],Ee=["right","left"],Ne=["top","bottom"],Te=["bottom","top"];function Me(e,t,n,o){const a=be(e);let l=function(e,t,n){switch(e){case"top":case"bottom":return n?t?Ee:Ce:t?Ce:Ee;case"left":case"right":return t?Ne:Te;default:return[]}}(ge(e),"start"===n,o);return a&&(l=l.map(e=>e+"-"+a),t&&(l=l.concat(l.map(Be)))),l}function Ve(e){return e.replace(/left|right|bottom|top/g,e=>me[e])}function Se(e){const{x:t,y:n,width:o,height:a}=e;return{width:o,height:a,top:n,left:t,right:t+o,bottom:n+a,x:t,y:n}}function ze(e,t,n){let{reference:o,floating:a}=e;const l=_e(t),i=we(t),r=xe(i),c=ge(t),s="y"===l,d=o.x+o.width/2-a.width/2,u=o.y+o.height/2-a.height/2,p=o[r]/2-a[r]/2;let m;switch(c){case"top":m={x:d,y:o.y-a.height};break;case"bottom":m={x:d,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-a.width,y:u};break;default:m={x:o.x,y:o.y}}switch(be(t)){case"start":m[i]-=p*(n&&s?-1:1);break;case"end":m[i]+=p*(n&&s?-1:1)}return m}async function Pe(e,t){var n;void 0===t&&(t={});const{x:o,y:a,platform:l,rects:i,elements:r,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:m=0}=ve(t,e),f=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(m),h=r[p?"floating"===u?"reference":"floating":u],v=Se(await l.getClippingRect({element:null==(n=await(null==l.isElement?void 0:l.isElement(h)))||n?h:h.contextElement||await(null==l.getDocumentElement?void 0:l.getDocumentElement(r.floating)),boundary:s,rootBoundary:d,strategy:c})),g="floating"===u?{x:o,y:a,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==l.getOffsetParent?void 0:l.getOffsetParent(r.floating)),y=await(null==l.isElement?void 0:l.isElement(b))&&await(null==l.getScale?void 0:l.getScale(b))||{x:1,y:1},x=Se(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:g,offsetParent:b,strategy:c}):g);return{top:(v.top-x.top+f.top)/y.y,bottom:(x.bottom-v.bottom+f.bottom)/y.y,left:(v.left-x.left+f.left)/y.x,right:(x.right-v.right+f.right)/y.x}}const De=new Set(["left","top"]);function Ie(){return"undefined"!=typeof window}function qe(e){return He(e)?(e.nodeName||"").toLowerCase():"#document"}function $e(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Oe(e){var t;return null==(t=(He(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function He(e){return!!Ie()&&(e instanceof Node||e instanceof $e(e).Node)}function Ae(e){return!!Ie()&&(e instanceof Element||e instanceof $e(e).Element)}function Le(e){return!!Ie()&&(e instanceof HTMLElement||e instanceof $e(e).HTMLElement)}function Ze(e){return!(!Ie()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof $e(e).ShadowRoot)}const Re=new Set(["inline","contents"]);function Fe(e){const{overflow:t,overflowX:n,overflowY:o,display:a}=nt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Re.has(a)}const Ue=new Set(["table","td","th"]);function Ge(e){return Ue.has(qe(e))}const je=[":popover-open",":modal"];function Qe(e){return je.some(t=>{try{return e.matches(t)}catch(n){return!1}})}const Ke=["transform","translate","scale","rotate","perspective"],We=["transform","translate","scale","rotate","perspective","filter"],Ye=["paint","layout","strict","content"];function Xe(e){const t=Je(),n=Ae(e)?nt(e):e;return Ke.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||We.some(e=>(n.willChange||"").includes(e))||Ye.some(e=>(n.contain||"").includes(e))}function Je(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const et=new Set(["html","body","#document"]);function tt(e){return et.has(qe(e))}function nt(e){return $e(e).getComputedStyle(e)}function ot(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if("html"===qe(e))return e;const t=e.assignedSlot||e.parentNode||Ze(e)&&e.host||Oe(e);return Ze(t)?t.host:t}function lt(e){const t=at(e);return tt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Le(t)&&Fe(t)?t:lt(t)}function it(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const a=lt(e),l=a===(null==(o=e.ownerDocument)?void 0:o.body),i=$e(a);if(l){const e=rt(i);return t.concat(i,i.visualViewport||[],Fe(a)?a:[],e&&n?it(e):[])}return t.concat(a,it(a,[],n))}function rt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ct(e){const t=nt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const a=Le(e),l=a?e.offsetWidth:n,i=a?e.offsetHeight:o,r=de(n)!==l||de(o)!==i;return r&&(n=l,o=i),{width:n,height:o,$:r}}function st(e){return Ae(e)?e:e.contextElement}function dt(e){const t=st(e);if(!Le(t))return pe(1);const n=t.getBoundingClientRect(),{width:o,height:a,$:l}=ct(t);let i=(l?de(n.width):n.width)/o,r=(l?de(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),r&&Number.isFinite(r)||(r=1),{x:i,y:r}}const ut=pe(0);function pt(e){const t=$e(e);return Je()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ut}function mt(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),l=st(e);let i=pe(1);t&&(o?Ae(o)&&(i=dt(o)):i=dt(e));const r=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==$e(e))&&t}(l,n,o)?pt(l):pe(0);let c=(a.left+r.x)/i.x,s=(a.top+r.y)/i.y,d=a.width/i.x,u=a.height/i.y;if(l){const e=$e(l),t=o&&Ae(o)?$e(o):o;let n=e,a=rt(n);for(;a&&o&&t!==n;){const e=dt(a),t=a.getBoundingClientRect(),o=nt(a),l=t.left+(a.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(a.clientTop+parseFloat(o.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,u*=e.y,c+=l,s+=i,n=$e(a),a=rt(n)}}return Se({width:d,height:u,x:c,y:s})}function ft(e,t){const n=ot(e).scrollLeft;return t?t.left+n:mt(Oe(e)).left+n}function ht(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ft(e,n),y:n.top+t.scrollTop}}const vt=new Set(["absolute","fixed"]);function gt(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=$e(e),o=Oe(e),a=n.visualViewport;let l=o.clientWidth,i=o.clientHeight,r=0,c=0;if(a){l=a.width,i=a.height;const e=Je();(!e||e&&"fixed"===t)&&(r=a.offsetLeft,c=a.offsetTop)}const s=ft(o);if(s<=0){const e=o.ownerDocument,t=e.body,n=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-a);i<=25&&(l-=i)}else s<=25&&(l+=s);return{width:l,height:i,x:r,y:c}}(e,n);else if("document"===t)o=function(e){const t=Oe(e),n=ot(e),o=e.ownerDocument.body,a=se(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=se(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+ft(e);const r=-n.scrollTop;return"rtl"===nt(o).direction&&(i+=se(t.clientWidth,o.clientWidth)-a),{width:a,height:l,x:i,y:r}}(Oe(e));else if(Ae(t))o=function(e,t){const n=mt(e,!0,"fixed"===t),o=n.top+e.clientTop,a=n.left+e.clientLeft,l=Le(e)?dt(e):pe(1);return{width:e.clientWidth*l.x,height:e.clientHeight*l.y,x:a*l.x,y:o*l.y}}(t,n);else{const n=pt(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Se(o)}function bt(e,t){const n=at(e);return!(n===t||!Ae(n)||tt(n))&&("fixed"===nt(n).position||bt(n,t))}function yt(e,t,n){const o=Le(t),a=Oe(t),l="fixed"===n,i=mt(e,!0,l,t);let r={scrollLeft:0,scrollTop:0};const c=pe(0);function s(){c.x=ft(a)}if(o||!o&&!l)if(("body"!==qe(t)||Fe(a))&&(r=ot(t)),o){const e=mt(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else a&&s();l&&!o&&a&&s();const d=!a||o||l?pe(0):ht(a,r);return{x:i.left+r.scrollLeft-c.x-d.x,y:i.top+r.scrollTop-c.y-d.y,width:i.width,height:i.height}}function xt(e){return"static"===nt(e).position}function kt(e,t){if(!Le(e)||"fixed"===nt(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Oe(e)===n&&(n=n.ownerDocument.body),n}function _t(e,t){const n=$e(e);if(Qe(e))return n;if(!Le(e)){let t=at(e);for(;t&&!tt(t);){if(Ae(t)&&!xt(t))return t;t=at(t)}return n}let o=kt(e,t);for(;o&&Ge(o)&&xt(o);)o=kt(o,t);return o&&tt(o)&&xt(o)&&!Xe(o)?n:o||function(e){let t=at(e);for(;Le(t)&&!tt(t);){if(Xe(t))return t;if(Qe(t))return null;t=at(t)}return null}(e)||n}const wt={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:a}=e;const l="fixed"===a,i=Oe(o),r=!!t&&Qe(t.floating);if(o===i||r&&l)return n;let c={scrollLeft:0,scrollTop:0},s=pe(1);const d=pe(0),u=Le(o);if((u||!u&&!l)&&(("body"!==qe(o)||Fe(i))&&(c=ot(o)),Le(o))){const e=mt(o);s=dt(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const p=!i||u||l?pe(0):ht(i,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+d.x+p.x,y:n.y*s.y-c.scrollTop*s.y+d.y+p.y}},getDocumentElement:Oe,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:a}=e;const l=[..."clippingAncestors"===n?Qe(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let o=it(e,[],!1).filter(e=>Ae(e)&&"body"!==qe(e)),a=null;const l="fixed"===nt(e).position;let i=l?at(e):e;for(;Ae(i)&&!tt(i);){const t=nt(i),n=Xe(i);n||"fixed"!==t.position||(a=null),(l?!n&&!a:!n&&"static"===t.position&&a&&vt.has(a.position)||Fe(i)&&!n&&bt(e,i))?o=o.filter(e=>e!==i):a=t,i=at(i)}return t.set(e,o),o}(t,this._c):[].concat(n),o],i=l[0],r=l.reduce((e,n)=>{const o=gt(t,n,a);return e.top=se(o.top,e.top),e.right=ce(o.right,e.right),e.bottom=ce(o.bottom,e.bottom),e.left=se(o.left,e.left),e},gt(t,i,a));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:_t,getElementRects:async function(e){const t=this.getOffsetParent||_t,n=this.getDimensions,o=await n(e.floating);return{reference:yt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=ct(e);return{width:t,height:n}},getScale:dt,isElement:Ae,isRTL:function(e){return"rtl"===nt(e).direction}};function Bt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ct(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,s=st(e),d=a||l?[...s?it(s):[],...it(t)]:[];d.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});const u=s&&r?function(e,t){let n,o=null;const a=Oe(e);function l(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function i(r,c){void 0===r&&(r=!1),void 0===c&&(c=1),l();const s=e.getBoundingClientRect(),{left:d,top:u,width:p,height:m}=s;if(r||t(),!p||!m)return;const f={rootMargin:-ue(u)+"px "+-ue(a.clientWidth-(d+p))+"px "+-ue(a.clientHeight-(u+m))+"px "+-ue(d)+"px",threshold:se(0,ce(1,c))||1};let h=!0;function v(t){const o=t[0].intersectionRatio;if(o!==c){if(!h)return i();o?i(!1,o):n=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==o||Bt(s,e.getBoundingClientRect())||i(),h=!1}try{o=new IntersectionObserver(v,{...f,root:a.ownerDocument})}catch(g){o=new IntersectionObserver(v,f)}o.observe(e)}(!0),l}(s,n):null;let p,m=-1,f=null;i&&(f=new ResizeObserver(e=>{let[o]=e;o&&o.target===s&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),n()}),s&&!c&&f.observe(s),f.observe(t));let h=c?mt(e):null;return c&&function t(){const o=mt(e);h&&!Bt(h,o)&&n();h=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==u||u(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(p)}}const Et=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:a,y:l,placement:i,middlewareData:r}=t,c=await async function(e,t){const{placement:n,platform:o,elements:a}=e,l=await(null==o.isRTL?void 0:o.isRTL(a.floating)),i=ge(n),r=be(n),c="y"===_e(n),s=De.has(i)?-1:1,d=l&&c?-1:1,u=ve(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return r&&"number"==typeof f&&(m="end"===r?-1*f:f),c?{x:m*d,y:p*s}:{x:p*s,y:m*d}}(t,e);return i===(null==(n=r.offset)?void 0:n.placement)&&null!=(o=r.arrow)&&o.alignmentOffset?{}:{x:a+c.x,y:l+c.y,data:{...c,placement:i}}}}},Nt=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:a,platform:l}=t,{mainAxis:i=!0,crossAxis:r=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=ve(e,t),d={x:n,y:o},u=await l.detectOverflow(t,s),p=_e(ge(a)),m=ye(p);let f=d[m],h=d[p];if(i){const e="y"===m?"bottom":"right";f=he(f+u["y"===m?"top":"left"],f,f-u[e])}if(r){const e="y"===p?"bottom":"right";h=he(h+u["y"===p?"top":"left"],h,h-u[e])}const v=c.fn({...t,[m]:f,[p]:h});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[m]:i,[p]:r}}}}}},Tt=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:a,middlewareData:l,rects:i,initialPlacement:r,platform:c,elements:s}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...v}=ve(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};const g=ge(a),b=_e(r),y=ge(r)===r,x=await(null==c.isRTL?void 0:c.isRTL(s.floating)),k=p||(y||!h?[Ve(r)]:function(e){const t=Ve(e);return[Be(e),t,Be(t)]}(r)),_="none"!==f;!p&&_&&k.push(...Me(r,h,f,x));const w=[r,...k],B=await c.detectOverflow(t,v),C=[];let E=(null==(o=l.flip)?void 0:o.overflows)||[];if(d&&C.push(B[g]),u){const e=function(e,t,n){void 0===n&&(n=!1);const o=be(e),a=we(e),l=xe(a);let i="x"===a?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=Ve(i)),[i,Ve(i)]}(a,i,x);C.push(B[e[0]],B[e[1]])}if(E=[...E,{placement:a,overflows:C}],!C.every(e=>e<=0)){var N,T;const e=((null==(N=l.flip)?void 0:N.index)||0)+1,t=w[e];if(t){if(!("alignment"===u&&b!==_e(t))||E.every(e=>_e(e.placement)!==b||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let n=null==(T=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:T.placement;if(!n)switch(m){case"bestFit":{var M;const e=null==(M=E.filter(e=>{if(_){const t=_e(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:M[0];e&&(n=e);break}case"initialPlacement":n=r}if(a!==n)return{reset:{placement:n}}}return{}}}},Mt=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:a,rects:l,platform:i,elements:r}=t,{apply:c=()=>{},...s}=ve(e,t),d=await i.detectOverflow(t,s),u=ge(a),p=be(a),m="y"===_e(a),{width:f,height:h}=l.floating;let v,g;"top"===u||"bottom"===u?(v=u,g=p===(await(null==i.isRTL?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(g=u,v="end"===p?"top":"bottom");const b=h-d.top-d.bottom,y=f-d.left-d.right,x=ce(h-d[v],b),k=ce(f-d[g],y),_=!t.middlewareData.shift;let w=x,B=k;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(B=y),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(w=b),_&&!p){const e=se(d.left,0),t=se(d.right,0),n=se(d.top,0),o=se(d.bottom,0);m?B=f-2*(0!==e||0!==t?e+t:se(d.left,d.right)):w=h-2*(0!==n||0!==o?n+o:se(d.top,d.bottom))}await c({...t,availableWidth:B,availableHeight:w});const C=await i.getDimensions(r.floating);return f!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}},Vt=(e,t,n)=>{const o=new Map,a={platform:wt,...n},l={...a.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:l=[],platform:i}=n,r=l.filter(Boolean),c=await(null==i.isRTL?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=ze(s,o,c),p=o,m={},f=0;for(let v=0;v<r.length;v++){var h;const{name:n,fn:l}=r[v],{x:g,y:b,data:y,reset:x}=await l({x:d,y:u,initialPlacement:o,placement:p,strategy:a,middlewareData:m,rects:s,platform:{...i,detectOverflow:null!=(h=i.detectOverflow)?h:Pe},elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=b?b:u,m={...m,[n]:{...m[n],...y}},x&&f<=50&&(f++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(s=!0===x.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):x.rects),({x:d,y:u}=ze(s,p,c))),v=-1)}return{x:d,y:u,placement:p,strategy:a,middlewareData:m}})(e,t,{...a,platform:l})};function St(e){if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el;return He(t)&&"#comment"===qe(t)?null:t}return e}function zt(t){return"function"==typeof t?t():e.unref(t)}function Pt(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Dt(e,t){const n=Pt(e);return Math.round(t*n)/n}function It(t,n,o){void 0===o&&(o={});const a=o.whileElementsMounted,l=e.computed(()=>{var e;return null==(e=zt(o.open))||e}),i=e.computed(()=>zt(o.middleware)),r=e.computed(()=>{var e;return null!=(e=zt(o.placement))?e:"bottom"}),c=e.computed(()=>{var e;return null!=(e=zt(o.strategy))?e:"absolute"}),s=e.computed(()=>{var e;return null==(e=zt(o.transform))||e}),d=e.computed(()=>St(t.value)),u=e.computed(()=>St(n.value)),p=e.ref(0),m=e.ref(0),f=e.ref(c.value),h=e.ref(r.value),v=e.shallowRef({}),g=e.ref(!1),b=e.computed(()=>{const e={position:f.value,left:"0",top:"0"};if(!u.value)return e;const t=Dt(u.value,p.value),n=Dt(u.value,m.value);return s.value?{...e,transform:"translate("+t+"px, "+n+"px)",...Pt(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:t+"px",top:n+"px"}});let y;function x(){if(null==d.value||null==u.value)return;const e=l.value;Vt(d.value,u.value,{middleware:i.value,placement:r.value,strategy:c.value}).then(t=>{p.value=t.x,m.value=t.y,f.value=t.strategy,h.value=t.placement,v.value=t.middlewareData,g.value=!1!==e})}function k(){"function"==typeof y&&(y(),y=void 0)}return e.watch([i,r,c,l],x,{flush:"sync"}),e.watch([d,u],function(){k(),void 0!==a?null==d.value||null==u.value||(y=a(d.value,u.value,x)):x()},{flush:"sync"}),e.watch(l,function(){l.value||(g.value=!1)},{flush:"sync"}),e.getCurrentScope()&&e.onScopeDispose(k),{x:e.shallowReadonly(p),y:e.shallowReadonly(m),strategy:e.shallowReadonly(f),placement:e.shallowReadonly(h),middlewareData:e.shallowReadonly(v),isPositioned:e.shallowReadonly(g),floatingStyles:b,update:x}}const qt="dropdown",$t=(t,n=!0,o=[])=>(t.forEach(t=>{if(null!==t)if("object"==typeof t)if(Array.isArray(t))$t(t,n,o);else if(t.type===e.Fragment){if(null===t.children)return;Array.isArray(t.children)&&$t(t.children,n,o)}else t.type!==e.Comment&&o.push(t);else"string"!=typeof t&&"number"!=typeof t||o.push(e.createTextVNode(String(t)))}),o);function Ot(e,...t){const n=t.flat();return Object.fromEntries(n.filter(t=>t in e).map(t=>[t,e[t]]))}const Ht={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"]};const At=e.defineComponent({name:"SlotListener",props:{trigger:{type:String,default:"click"}},emits:["click","focus","blur","mouseenter","mouseleave"],setup:(e,{emit:t})=>({handleClick:e=>{t("click",e)},handleBlur:e=>{t("blur",e)},handleFocus:e=>{t("focus",e)},handleMouseLeave:e=>{t("mouseleave",e)},handleMouseEnter:e=>{t("mouseenter",e)}}),render(){const{$slots:e}=this,t={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur},n=((e,t="default",n)=>{const o=e[t];if(!o)return null;const a=$t(o(n));return 1===a.length?a[0]:null})(e,"default"),o=[t];(null==n?void 0:n.props)&&o.push(Ot(n.props,"onClick","onMouseenter","onMouseleave","onFocus","onBlur"));var a,l;return n&&(a=n,l={onBlur:e=>{o.forEach(t=>{var n;null==(n=null==t?void 0:t.onBlur)||n.call(t,e)})},onFocus:e=>{o.forEach(t=>{var n;null==(n=null==t?void 0:t.onFocus)||n.call(t,e)})},onClick:e=>{o.forEach(t=>{var n;null==(n=null==t?void 0:t.onClick)||n.call(t,e)})},onMouseenter:e=>{o.forEach(t=>{var n;null==(n=null==t?void 0:t.onMouseenter)||n.call(t,e)})},onMouseleave:e=>{o.forEach(t=>{var n;null==(n=null==t?void 0:t.onMouseleave)||n.call(t,e)})}},Object.entries(Ht).forEach(([,e])=>{e.forEach(e=>{a.props?a.props=Object.assign({},a.props):a.props={};const t=a.props[e],n=l[e];a.props[e]=t?(...e)=>{t(...e),n(...e)}:n})})),n}}),Lt={color:"primary",variant:"primary",size:"md",pill:!1,square:!1,loading:!1,disabled:!1,iconPrefix:void 0,iconSuffix:void 0,tag:"button",preventDoubleClick:!0},Zt=(...e)=>{const t=new Set;for(const n of e)if(n)for(const e of n.split(/\s+/))e&&t.add(e);return[...t].join(" ")},Rt={default:{blue:"text-white bg-blue-600 focus:ring-4 focus:ring-blue-300 font-medium rounded focus:outline-none",red:"text-white bg-red-700 focus:ring-4 focus:ring-red-300 font-medium rounded focus:outline-none",green:"text-white bg-green-700 focus:ring-4 focus:ring-green-300 font-medium rounded focus:outline-none",gray:"text-white bg-gray-800 focus:ring-4 focus:ring-gray-300 font-medium rounded focus:outline-none",primary:"text-white bg-primary-600 focus:ring-4 focus:ring-primary-300 font-medium rounded focus:outline-non",yellow:"text-white bg-yellow-800 focus:ring-4 focus:ring-yellow-300 font-medium rounded focus:outline-none",white:"text-gray-900 bg-white focus:ring-4 focus:ring-gray-200 font-medium rounded focus:outline-none"},hover:{blue:"hover:bg-blue-700",red:"hover:bg-red-800",green:"hover:bg-green-800",gray:"hover:bg-gray-700",primary:"hover:bg-primary-700",yellow:"hover:bg-yellow-700",white:"hover:bg-gray-500"}},Ft={default:{blue:"text-blue-600 bg-white border border-blue-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",red:"text-red-700 bg-white border border-red-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",green:"text-green-700 bg-white border border-green-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",gray:"text-gray-800 bg-white border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",primary:"text-primary-600 bg-white border border-primary-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",yellow:"text-yellow-600 bg-white border border-yellow-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",white:"text-white bg-transparent border border-white/40 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center"},hover:{blue:"text-blue-600 hover:bg-gray-50 border border-blue-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",red:"text-red-700 hover:bg-gray-50 border border-red-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",green:"text-green-700 hover:bg-gray-50 border border-green-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",gray:"text-gray-800 hover:bg-gray-50 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",primary:"text-primary-600 hover:bg-gray-50 border border-primary-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",yellow:"text-yellow-600 hover:bg-gray-50 border border-yellow-200 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center",white:"text-white hover:bg-gray-500 border border-white/40 focus:ring-4 focus:outline-none focus:ring-gray-50 font-medium rounded text-sm text-center"}},Ut={default:{blue:"text-blue-600 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",red:"text-red-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",green:"text-green-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",gray:"text-gray-800 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",primary:"text-primary-600 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",yellow:"text-yellow-700 bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center",white:"text-white bg-none border-none focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded text-sm text-center"},hover:{blue:"hover:text-white hover:bg-blue-700",red:"hover:text-white hover:bg-red-800",green:"hover:text-white hover:bg-green-800",gray:"hover:bg-gray-50",primary:"hover:text-white hover:bg-primary-700",yellow:"hover:text-white hover:bg-yellow-700",white:"hover:bg-gray-500"}},Gt={xs:"h-[22px]",sm:"h-8",md:"h-10",lg:"h-12"},jt={xs:"w-[22px] h-[22px]",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"},Qt={xs:"py-0.5",sm:"py-1.5",md:"py-2",lg:"py-3"},Kt={xs:"gap-0.5",sm:"gap-1.5",md:"gap-2",lg:"gap-3"},Wt={xs:{compactLeft:"pl-0.5",compactRight:"pr-0.5",spaciousLeft:"pl-1",spaciousRight:"pr-1"},sm:{compactLeft:"pl-1.5",compactRight:"pr-1.5",spaciousLeft:"pl-3",spaciousRight:"pr-3"},md:{compactLeft:"pl-2",compactRight:"pr-2",spaciousLeft:"pl-4",spaciousRight:"pr-4"},lg:{compactLeft:"pl-3",compactRight:"pr-3",spaciousLeft:"pl-6",spaciousRight:"pr-6"}};const Yt={0:"w-0 h-0",.5:"w-0.5 h-0.5",1:"w-1 h-1",1.5:"w-1.5 h-1.5",10:"w-10 h-10",11:"w-11 h-11",12:"w-12 h-12",2:"w-2 h-2",2.5:"w-2.5 h-2.5",3:"w-3 h-3",4:"w-4 h-4",5:"w-5 h-5",6:"w-6 h-6",7:"w-7 h-7",8:"w-8 h-8",9:"w-9 h-9",px:"w-px h-px"},Xt={primary:"fill-primary-600",blue:"fill-blue-600",gray:"fill-gray-600",green:"fill-green-500",pink:"fill-pink-600",purple:"fill-purple-600",red:"fill-red-600",yellow:"fill-yellow-400",white:"fill-white"};const Jt=e.defineComponent({__name:"Spinner",props:{size:{default:"4"},color:{default:"primary"}},setup(t){const n=t,{spinnerClasses:o}=function(t){const n=e.computed(()=>Yt[t.size.value]),o=e.computed(()=>Xt[t.color.value]),a="text-gray-200",l="animate-spin";return{spinnerClasses:e.computed(()=>[n.value,a,o.value,l].join(" "))}}(e.toRefs(n));return(t,n)=>(e.openBlock(),e.createElementBlock("svg",{role:"status",class:e.normalizeClass(e.unref(o)),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...n[0]||(n[0]=[e.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)])],2))}}),en={key:0,class:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-inherit"},tn={key:0,class:"flex items-center justify-center"},nn={key:2,class:"flex items-center justify-center"},on=e.defineComponent({__name:"Button",props:e.mergeDefaults({type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{},preventDoubleClick:{type:Boolean}},Lt),emits:["click"],setup(t,{emit:n}){const o=t,a=n,l=e.computed(()=>{switch(o.size){case"xs":return"2xs";case"sm":return"xs";default:return"sm"}}),i=e.computed(()=>"xs"===l.value?"4":"5"),r=e.computed(()=>["xs","sm"].includes(o.size)?"body-xs":"body-sm"),{wrapperClasses:c,spanClasses:s}=function(t){const n=e.useSlots(),o=e.computed(()=>!(!n.prefix&&!t.iconPrefix.value)),a=e.computed(()=>!(!n.suffix&&!t.iconSuffix.value)),l=e.computed(()=>!!n.default),i=e.computed(()=>!l.value&&(o.value||a.value)),r=e.computed(()=>{var e;return(null==(e=t.square)?void 0:e.value)?jt[t.size.value]:Gt[t.size.value]}),c=e.computed(()=>{var e;if(null==(e=t.square)?void 0:e.value)return"";const n=Wt[t.size.value],l=i.value||o.value,r=i.value||a.value;return Zt(Qt[t.size.value],l?n.compactLeft:n.spaciousLeft,r?n.compactRight:n.spaciousRight)}),s=e.computed(()=>{const e=t.color.value||Lt.color,n=t.variant.value||Lt.variant,o=!t.loading.value&&!t.disabled.value,a="ghost"===n||"transparent"===n?Ut:"outline"===n?Ft:Rt;return Zt(a.default[e],"transparent"!==n&&o&&a.hover[e])}),d=e.computed(()=>t.pill.value?"!rounded-full":""),u=e.computed(()=>t.disabled.value||t.loading.value?"cursor-not-allowed opacity-50":"");return{wrapperClasses:e.computed(()=>Zt("relative inline-flex shrink-0 items-center justify-center overflow-clip whitespace-nowrap transition-colors transition-opacity",s.value,r.value,c.value,d.value,u.value)),spanClasses:e.computed(()=>Zt("flex items-center justify-center",Kt[t.size.value],t.loading.value?"opacity-0":""))}}(e.toRefs(o)),{color:d}=function(t){const n={lg:"5",md:"4",sm:"3",xs:"2"};return{size:e.computed(()=>n[t.size.value]),color:e.computed(()=>"primary"===t.variant.value?"white":t.color.value)}}(e.toRefs(o)),{handleClick:u}=function(t=500){const n=e.ref(!1);return{isClicked:n,handleClick:function(e){if(!n.value){n.value=!0;try{e()}finally{setTimeout(()=>{n.value=!1},t)}}}}}(),p=e.computed(()=>"button"===o.tag&&(o.disabled||o.loading)),f=e=>{!1!==o.preventDoubleClick?u(()=>{a("click",e)}):a("click",e)};return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass(e.unref(c)),type:"button"===t.tag?t.type:void 0,disabled:p.value,onClick:f},{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("span",en,[e.createVNode(e.unref(Jt),{size:i.value,color:e.unref(d)},null,8,["size","color"])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(e.unref(s))},[t.iconPrefix||n.$slots.prefix?(e.openBlock(),e.createElementBlock("span",tn,[e.renderSlot(n.$slots,"prefix",{},()=>[e.createVNode(e.unref(y),{icon:t.iconPrefix,size:l.value,class:"overflow-clip"},null,8,["icon","size"])])])):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createBlock(e.unref(m),{key:1,tag:"span",variant:r.value,class:"leading-none"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["variant"])):e.createCommentVNode("",!0),t.iconSuffix||n.$slots.suffix?(e.openBlock(),e.createElementBlock("span",nn,[e.renderSlot(n.$slots,"suffix",{},()=>[e.createVNode(e.unref(y),{icon:t.iconSuffix,size:l.value},null,8,["icon","size"])])])):e.createCommentVNode("",!0)],2)]),_:3},8,["class","type","disabled"]))}});function an(e){return Symbol.for(`portal:${e}`)}const ln=["id"],rn=e.defineComponent({__name:"Portal",props:{to:{},name:{},disabled:{type:Boolean}},setup(t){const n=t,o=n.to?e.inject(an(n.to),e.ref(null)):e.ref(null);return e.onMounted(()=>{if(!n.name&&!n.to)throw new Error("Define either the `to` or the `name` prop.")}),(n,a)=>t.name?(e.openBlock(),e.createElementBlock("div",{key:0,id:`portal-${t.name}`},null,8,ln)):t.to&&e.unref(o)?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(o),disabled:t.disabled},[e.renderSlot(n.$slots,"default")],8,["to","disabled"])):t.to?(e.openBlock(),e.createBlock(e.Teleport,{key:2,to:`#portal-${t.to}`,disabled:t.disabled},[e.renderSlot(n.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),cn={class:"inline-flex items-center"},sn=s(e.defineComponent({__name:"Dropdown",props:{placement:{default:"bottom-end"},text:{default:""},transition:{default:""},offset:{default:8},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},dropdownClass:{}},setup(t){const n=t,o=e.ref(!1),a=()=>o.value=!1,l=()=>{n.disabled||(o.value=!o.value)},i={bottom:"to-bottom","bottom-start":"to-bottom","bottom-end":"to-bottom",left:"to-left","left-start":"to-left","left-end":"to-left",right:"to-right","right-start":"to-right","right-end":"to-right",top:"to-top","top-start":"to-top","top-end":"to-top"},r=e.ref(),c=e.ref(),s=e.ref(),d=e.computed(()=>null===n.transition?i[n.placement]:n.transition),{floatingStyles:u}=It(s,c,{whileElementsMounted:Ct,placement:n.placement,middleware:[Et(n.offset),Tt()]});return function(e,t,n={}){const{window:o=P,ignore:a=[],capture:l=!0,detectIframe:i=!1}=n;if(!o)return;M&&!I&&(I=!0,Array.from(o.document.body.children).forEach(e=>e.addEventListener("click",T)));let r=!0;const c=e=>a.some(t=>{if("string"==typeof t)return Array.from(o.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const n=z(t);return n&&(e.target===n||e.composedPath().includes(n))}}),s=[D(o,"click",n=>{const o=z(e);o&&o!==n.target&&!n.composedPath().includes(o)&&(0===n.detail&&(r=!c(n)),r?t(n):r=!0)},{passive:!0,capture:l}),D(o,"pointerdown",t=>{const n=z(e);n&&(r=!t.composedPath().includes(n)&&!c(t))},{passive:!0}),i&&D(o,"blur",n=>{var a;const l=z(e);"IFRAME"!==(null==(a=o.document.activeElement)?void 0:a.tagName)||(null==l?void 0:l.contains(o.document.activeElement))||t(n)})].filter(Boolean)}(s,()=>{o.value&&(o.value=!1)}),q("Escape",()=>{o.value=!1}),(n,i)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:s,class:"relative inline-flex"},[e.createElementVNode("div",cn,[e.createVNode(e.unref(At),{onClick:l},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"trigger",{visible:o.value},()=>[e.createVNode(e.unref(on),{ref_key:"trigger",ref:r},{suffix:e.withCtx(()=>[...i[0]||(i[0]=[e.createElementVNode("svg",{class:"ml-2 h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1)])]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.text)+" ",1)]),_:1},512)],!0)]),_:3})]),e.createVNode(e.unref(rn),{to:e.unref(qt),disabled:t.isPortalDisabled},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:d.value},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"content",ref:c,style:e.normalizeStyle(e.unref(u)),class:e.normalizeClass(["z-60 divide-y divide-gray-100 rounded bg-white shadow",t.dropdownClass])},[e.createVNode(e.unref(At),{onClick:a},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3})],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]),_:3},8,["to","disabled"])],512))}}),[["__scopeId","data-v-c0f85806"]]),dn=e.defineComponent({__name:"ListGroup",props:{width:{default:"default"}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(["overflow-hidden rounded border border-gray-200 bg-white text-sm font-medium text-gray-900",{"w-48":"default"===t.width,"w-64":"wide"===t.width}])},[e.renderSlot(n.$slots,"default")],2))}),un={"primary-light":{base:"bg-primary-50",baseDark:"bg-primary-100",text:"text-primary-800",border:"border-primary-800/70"},primary:{base:"bg-primary-100",baseDark:"bg-primary-200",text:"text-primary-800",border:"border-primary-800/70"},secondary:{base:"bg-secondary-100",baseDark:"bg-secondary-200",text:"text-secondary-800",border:"border-secondary-800/70"},dark:{base:"bg-gray-100",baseDark:"bg-gray-200",text:"text-gray-800",border:"border-gray-800/70"},red:{base:"bg-red-100",baseDark:"bg-red-200",text:"text-red-800",border:"border-red-800/70"},green:{base:"bg-green-100",baseDark:"bg-green-200",text:"text-green-800",border:"border-green-800/70"},blue:{base:"bg-blue-100",baseDark:"bg-blue-200",text:"text-blue-800",border:"border-blue-800/70"},teal:{base:"bg-teal-100",baseDark:"bg-teal-200",text:"text-teal-800",border:"border-teal-800/70"},"teal-light":{base:"bg-teal-50",baseDark:"bg-teal-200",text:"text-teal-800",border:"border-teal-800/70"},yellow:{base:"bg-yellow-100",baseDark:"bg-yellow-200",text:"text-yellow-800",border:"border-yellow-800/70"},indigo:{base:"bg-indigo-100",baseDark:"bg-indigo-200",text:"text-indigo-800",border:"border-indigo-800/70"},purple:{base:"bg-purple-100",baseDark:"bg-purple-200",text:"text-purple-800",border:"border-purple-800/70"},pink:{base:"bg-pink-100",baseDark:"bg-pink-200",text:"text-pink-800",border:"border-pink-800/70"},orange:{base:"bg-orange-100",baseDark:"bg-orange-200",text:"text-orange-800",border:"border-orange-800/70"},black:{base:"bg-black",baseDark:"bg-gray-900",text:"text-white",border:"bg-gray-900/70"}},pn=e.defineComponent({__name:"Chip",props:{color:{default:"primary"},content:{},dark:{type:Boolean,default:!1},removable:{type:Boolean,default:!1},size:{default:"md"},variant:{default:"default"},textClass:{},tag:{default:"span"},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},emits:["removed"],setup(t){const n=t,o=e.computed(()=>un[n.color][n.dark?"baseDark":"base"]),a=e.computed(()=>un[n.color].text),l=e.computed(()=>un[n.color].border);return(n,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(n.$attrs,{class:["inline-flex items-center gap-1 whitespace-nowrap rounded pl-2",{"pr-2":!t.removable,"h-4 px-2":"xs"===t.size,"h-4":"sm"===t.size,"h-5":"md"===t.size,"h-6":"lg"===t.size,"rounded-r-none":t.hasChipAfter,"rounded-l-none":t.hasChipBefore,[o.value]:!!o.value&&"outline"!==t.variant,"border bg-transparent":"outline"===t.variant,[l.value]:"outline"===t.variant&&!!l.value}]}),{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass([[a.value,t.textClass,"xs"===t.size?"text-[11px]":"text-xs"],"flex-grow text-center"])},[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])],2),t.removable?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass([{"h-5 w-4":"sm"===t.size,"h-5 w-5":"md"===t.size,"h-5 w-6":"lg"===t.size,[o.value]:!!o.value},"flex aspect-square h-full items-center justify-center rounded"]),type:"button",title:"Remove",onClick:i[0]||(i[0]=e=>n.$emit("removed"))},[e.createVNode(e.unref(y),{class:e.normalizeClass(a.value),icon:"close",size:"xs"},null,8,["class"])],2)):e.createCommentVNode("",!0)]),_:3},16,["class"]))}}),mn={class:"relative inline-flex"},fn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenu",props:{items:{},icon:{default:"more_vert"},square:{type:Boolean,default:!1},outlined:{type:Boolean},width:{},disabled:{type:Boolean},isPortalDisabled:{type:Boolean},triggerSize:{default:"sm"},dropdownClass:{},showActiveCount:{type:Boolean,default:!0}},setup(t){const n=t,o=e.useSlots(),a=e.computed(()=>{var e,t;return n.disabled||(null==(t=(null==(e=n.items)?void 0:e.flatMap(e=>"divider"!==e&&"items"in e?e.items:e))??[])?void 0:t.filter(e=>"divider"!==e).every(e=>e.disabled))&&!o.default}),l=e=>(e??[]).reduce((e,t)=>"divider"===t?e:"items"in t?e+l(t.items):e+(t.active?1:0),0),i=e.computed(()=>l(n.items));return(n,o)=>(e.openBlock(),e.createElementBlock("div",mn,[e.createVNode(e.unref(C),null,{default:e.withCtx(()=>{var l;return[(null==(l=t.items)?void 0:l.length)||n.$slots.default||t.disabled?(e.openBlock(),e.createBlock(e.unref(sn),e.mergeProps({key:0,"is-portal-disabled":a.value},n.$attrs,{"dropdown-class":t.dropdownClass}),{trigger:e.withCtx(({visible:l})=>[e.renderSlot(n.$slots,"trigger",{visible:l},()=>[e.createVNode(e.unref(on),{type:"button",pill:!t.square,square:"",color:"gray",variant:"outline",size:t.triggerSize,class:e.normalizeClass({"border-none":!t.outlined}),"data-testid":"context-menu",disabled:a.value,"icon-prefix":t.icon,onClick:o[0]||(o[0]=e.withModifiers(()=>{},["stop"]))},null,8,["pill","size","class","disabled","icon-prefix"])])]),default:e.withCtx(()=>[t.items||n.$slots.default?(e.openBlock(),e.createBlock(e.unref(dn),{key:0,width:t.width,class:"z-60 p-0.5"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"header"),t.items?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.items,(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},["divider"===n&&o<t.items.length-1?(e.openBlock(),e.createBlock(e.unref(w),{key:0,spacing:"none"})):"divider"===n||"items"in n?"divider"!==n?(e.openBlock(),e.createBlock(B,{key:2,class:"rounded-sm",label:n.label,items:n.items},null,8,["label","items"])):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(x,{key:1,label:n.label,variant:n.variant,icon:n.icon,"label-suffix-component":n.labelSuffixComponent,"label-prefix-component":n.labelPrefixComponent,description:n.description,classes:n.classes,"test-id":n.testId,disabled:n.disabled,active:n.active,onClick:n.onClick},null,8,["label","variant","icon","label-suffix-component","label-prefix-component","description","classes","test-id","disabled","active","onClick"]))],64))),128)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default")]),_:3},8,["width"])):e.createCommentVNode("",!0)]),_:3},16,["is-portal-disabled","dropdown-class"])):e.createCommentVNode("",!0)]}),_:3}),t.showActiveCount&&i.value>0?(e.openBlock(),e.createBlock(e.unref(pn),{key:0,size:"xs",color:"primary",class:"pointer-events-none absolute -right-1.5 -top-1.5","data-testid":"context-menu-active-count"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1})):e.createCommentVNode("",!0)]))}}),hn="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.842%2027.955a1.85%201.85%200%200%201-1.36-.557%201.85%201.85%200%200%201-.558-1.36V13.962q0-.805.557-1.36a1.85%201.85%200%200%201%201.36-.557H28.16q.803%200%201.36.556.557.557.557%201.36v12.075q0%20.805-.557%201.36a1.85%201.85%200%200%201-1.36.558zm-.327-8.383h16.97v-3.386h-16.97z'/%3e%3c/g%3e%3c/svg%3e",vn={class:"shrink-0"},gn={class:"flex items-center justify-center overflow-clip rounded"},bn=["src","alt","width","height"],yn={class:"grow"},xn={key:0},kn={key:0,class:"pt-3"},_n=e.defineComponent({__name:"PaymentMethodBase",props:{imageSrc:{},imageAlt:{},variant:{default:"default"},disabled:{type:Boolean},options:{},error:{}},setup(t){const n=t,o=e.computed(()=>n.imageSrc||hn);return(n,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:e.normalizeClass(["flex gap-3",{"opacity-50":t.disabled}])},[e.createElementVNode("div",vn,[e.createElementVNode("div",gn,[o.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.value,alt:t.imageAlt,width:"condensed"===t.variant?20:36,height:"condensed"===t.variant?20:36,class:e.normalizeClass({"h-9 w-9":"default"===t.variant,"h-5 w-5":"condensed"===t.variant})},null,10,bn)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",yn,[e.renderSlot(n.$slots,"default")]),t.options&&t.options.length>0?(e.openBlock(),e.createElementBlock("div",xn,[e.createVNode(fn,{width:"wide",square:"",items:t.options},null,8,["items"])])):e.createCommentVNode("",!0)],2),t.error?(e.openBlock(),e.createElementBlock("div",kn,[e.createVNode(r,{message:t.error,variant:"error"},null,8,["message"])])):e.createCommentVNode("",!0)]))}}),wn=Symbol("ErrorProvider"),Bn=()=>{const t=e.inject(wn);if(!t)throw new Error("ErrorHandlingProvider is not provided");return t},Cn=e=>e.match(/^(Etc\/)?GMT/)?e.includes("-")?e.replace(/^(Etc\/)?GMT-/,"Etc/GMT+"):e.includes("+")?e.replace(/^(Etc\/)?GMT\+/,"Etc/GMT-"):e:e,En={"47FYwb":"Cancel",Bbc4Nn:"minimum amount","Cg/Rk9":"Maximum amount must be greater than the minimum amount",JlhdD2:"Invoice line",M8HcCn:"Minimum amount",N2IrpM:"Confirm","PW+sL4":"N/A","Ptszz+":"Amount","SubscriptionDiscountItem.coupon.applied_by":"applied by","SubscriptionDiscountItem.discountOn":"Discount on","SubscriptionDiscountItem.invoice":"Invoice",V6mQFd:"maximum amount",Vl9vDx:"units","YnK/yF":"Add",aQ4uM8:"Amount must be at least {minimum}","customer_billing_information.billing_address_label":"Billing address","customer_billing_information.email_address_label":"Email address","customer_billing_information.name_label":"Name","customer_billing_information.title":"Billing information","customer_billing_information.vat_number_label":"VAT number","customer_overview.billing_information.no_billing_information_available":"No billing information to display.","dateTimeAgo.days":"{count,plural,one{# day ago} other{# days ago}}","dateTimeAgo.hours":"{count,plural,one{# hour ago} other{# hours ago}}","dateTimeAgo.minutes":"{count,plural,one{# minute ago} other{# minutes ago}}","dateTimeAgo.months":"{count,plural,one{# month ago} other{# months ago}}","dateTimeAgo.seconds":"{count,plural,one{# second ago} other{# seconds ago}}","dateTimeAgo.years":"{count,plural,one{# year ago} other{# years ago}}","dateTimeAgo.yesterday":"yesterday","download_button.download_failed_message":"Download failed, please try again later","editor.placeholder":"Enter text or type ‘/’ for commands","editorComponent.entityDetailsFallbackTitles.customerTitle":"Customer details","editorComponent.entityDetailsFallbackTitles.supplierTitle":"Supplier details","editorComponent.slashCommands.addContactPersonDescription":"Insert contact person from portal","editorComponent.slashCommands.addContactPersonTitle":"Add Contact Person","editorComponent.slashCommands.addCustomerDetailsDescription":"Insert customer details block","editorComponent.slashCommands.addCustomerDetailsTitle":"Add Customer Details","editorComponent.slashCommands.addInvoicePreviewDescription":"Insert an invoice preview snapshot","editorComponent.slashCommands.addInvoicePreviewTitle":"Add Invoice Preview","editorComponent.slashCommands.addPartyDetailsDescription":"Insert customer and supplier details in one row","editorComponent.slashCommands.addPartyDetailsTitle":"Add Party Details","editorComponent.slashCommands.addQuoteBillingDetailsDescription":"Insert quote billing details block","editorComponent.slashCommands.addQuoteBillingDetailsTitle":"Add Quote Billing Details","editorComponent.slashCommands.addSupplierDetailsDescription":"Insert supplier details block","editorComponent.slashCommands.addSupplierDetailsTitle":"Add Supplier Details","editorComponent.slashCommands.dividerDescription":"Insert a horizontal rule","editorComponent.slashCommands.dividerTitle":"Divider","editorComponent.slashCommands.headingDescription":"Start writing with heading.","editorComponent.slashCommands.headingTitle":"Heading","editorComponent.slashCommands.textDescription":"Start writing with plain text","editorComponent.slashCommands.textTitle":"Text","error_notification.default_error_message":"Something went wrong","flexible_pricing.credit_unit_plural":"credits","flexible_pricing.credit_unit_singular":"credit","form_validation.tax_id.invalid_format":"Invalid tax ID format. Example: {example}","generic.not_available":"N/A","gpU2/S":"Maximum amount","invoice.adjustment_chip_body":"Adjustment","invoice.already_deducted_table_heading":"Already deducted","invoice.amount_discount":"{amount} discount","invoice.amount_due_table_heading":"Amount due","invoice.amount_table_heading":"Amount","invoice.commitment":"commitment","invoice.commitment_heading":"Commitment","invoice.discounts_table_heading":"Discounts","invoice.download_pdf_button":"Download PDF","invoice.due_on_label":"Due on {date}","invoice.line.band_maximum_number":"Maximum number","invoice.line.band_minimum_amount":"Band minimum amount","invoice.line.band_minimum_number":"Minimum number","invoice.line.excl.tax":"Excl. tax","invoice.line.fixed_amount":"Fixed amount","invoice.line.flat_fee":"Flat fee","invoice.line.incl.tax":"Incl. tax","invoice.line.included":"included","invoice.line.original_currency":"Original currency","invoice.line.pass_through":"Pass through","invoice.line.per_unit":"Per unit","invoice.line.per_units_block_size":"{count,plural,one{Per unit} other{Per {formattedCount} units}}","invoice.line.per_units_tier_top_bound":"{count,plural,one{per unit} other{per {formattedCount} units}}","invoice.line.price_bound_maximum_amount":"Maximum amount","invoice.line.price_bound_within_bounds":"Within bounds","invoice.line.units_included":"units included","invoice.markup_percentage":"{percentage}% markup","invoice.markups_table_heading":"Markups","invoice.paid_chip":"Paid","invoice.paid_on_label":"Paid on {date}","invoice.percentage_discount":"{percentage}% discount","invoice.service_period_heading":"Service period - {start_at} - {end_at}","invoice.table_header.base amount":"Base amount","invoice.table_header.discount":"Discount","invoice.table_header.markup":"Markup","invoice.table_header.price":"Price","invoice.table_header.quantity":"Quantity","invoice.table_header.sub_total":"Subtotal","invoice.table_header.tax amount":"Tax amount","invoice.table_header.tax type":"Tax type","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Tax rate","invoice.table_header.total":"Total","invoice.table_header.total_excluding_taxes":"Total excluding taxes","invoice.table_header.total_including_taxes":"Total including taxes","invoice.table_header.total_including_taxes_customer_facing":"Total due today","invoice.table_header.unit":"Unit","invoice.table_heading.commitments":"Commitments","invoice.table_heading.discounts":"Discounts","invoice.table_heading.markups":"Markups","invoice.table_heading.one_offs":"One-off's","invoice.table_heading.products":"Products","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Local VAT applied instead of reverse charge mechanism because customer VAT number is missing and this is an intra-EU sale","invoice.tax_notes.no_charge_provided_outside_eu":"No VAT charged – services provided outside the EU","invoice.tax_notes.not_applicable_article":"TVA non applicable – Article 294, 1 du CGI","invoice.tax_notes.reverse_charge":"Reverse charge - Art 196 of the VAT Directive 2006/ 112/EC","invoice.tax_notes.reverse_charge_outside_eu":"No VAT – Service supplied outside the EU (Art. 44 EU VAT Directive)","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Reverse charge","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Out of scope for EU VAT","invoice.taxes_table_heading":"Taxes","invoice.title":"Details","invoice.totals_table_heading":"Totals","invoicePreviewCard.taxes":"Taxes","invoicePreviewCard.title":"Invoice preview","invoicePreviewCard.totalExcludingTaxes":"Total excluding taxes","invoicePreviewCard.totalIncludingTaxes":"Total including taxes","invoice_preview.after_trial_heading":"After trial","invoice_preview.taxes_heading":"Taxes","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_preview.total_due_today_heading":"Total due today","invoice_preview.total_excluding_taxes_heading":"Total excluding taxes","invoice_preview.total_including_taxes_heading":"Total including taxes","invoice_preview.total_paid_heading":"Total paid","jB8+k/":"Note",kkzP6R:"Enter an amount between {minimum} and {maximum}",l6rWtM:"Amount must be at most {maximum}",lWOCGz:"unit",pH6Zg0:"expires after {period}","payment_methods.default_chip.label":"Default","payment_methods.inactive_chip.label":"Inactive","pricing_detail.billing_period":"Billing period",pricing_item_pricing:"{pricing} per {billing_period}","pricing_item_pricing.flat_top_up":"Flat top up pricing","pricing_item_pricing.none":"Not billed","pricing_item_pricing.pass_through":"Pass through pricing","pricing_item_pricing.per_seat":"Per seat","pricing_item_pricing.stair_step":"Stair step pricing","pricing_item_pricing.tiered":"Tiered pricing","pricing_item_pricing.tiered_top_up":"Tiered top up pricing","pricing_item_pricing.top_tiered":"Top tiered pricing","pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","promotion.code.expiry":"Never expires","quoteBillingDetails.autoRenewalLabel":"Auto renewal","quoteBillingDetails.initialTermLabel":"Initial term","quoteBillingDetails.no":"No","quoteBillingDetails.renewalTermLabel":"Renewal term","quoteBillingDetails.title":"Quote billing details","quoteBillingDetails.yes":"Yes",r5g8Y8:"Enter an amount of at least {minimum}",rN2Xxr:"Amount must be greater than 0","slashCommandList.emptyState":"No matching commands",spcNSp:"Updated {date}","taxId.invalid":"Invalid tax ID","time_period.day.full":"daily","time_period.day.plural":"days","time_period.day.singular":"day","time_period.month.full":"monthly","time_period.month.plural":"months","time_period.month.singular":"month","time_period.week.full":"weekly","time_period.week.plural":"weeks","time_period.week.singular":"week","time_period.year.full":"yearly","time_period.year.plural":"years","time_period.year.singular":"year","timezone_select.option.inherit_from_platform":"Inherit from platform","ui.CalloutRow.moreActions":"More actions",v1V8kA:"Top up","wB/wXs":"credits",wYqODC:"Flexible pricing","wallet_balance.auto_top_up_credits_explanation":"Your balance is automatically increased with {topUpCredits} ({topUpAmount}) when it drops below {threshold}.","wallet_balance.auto_top_up_disable_button":"Disable","wallet_balance.auto_top_up_disabled_label":"No auto top-up enabled","wallet_balance.auto_top_up_enable_button":"Enable","wallet_balance.auto_top_up_enabled_label":"Auto top-up enabled","wallet_balance.auto_top_up_explanation":"Your balance is automatically increased with {topUpAmount} when it drops below {threshold}.","wallet_balance.auto_top_up_generic_explanation":"Your balance is topped up automatically once it runs low.","wallet_balance.auto_top_up_setup_explanation":"Set up an automatic top-up and your balance is increased for you whenever it drops below an amount you choose, so you never run out.","wallet_balance.balance_label":"Balance","wallet_balance.updated_action_verb":"updated",yv2Ck1:"Enter an amount up to {maximum}"};var Nn=function(e,t){return(Nn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Tn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Nn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Mn,Vn,Sn=function(){return Sn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Sn.apply(this,arguments)};function zn(e,t,n){if(2===arguments.length)for(var o,a=0,l=t.length;a<l;a++)!o&&a in t||(o||(o=Array.prototype.slice.call(t,0,a)),o[a]=t[a]);return e.concat(o||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,(Vn=Mn||(Mn={})).FORMAT_ERROR="FORMAT_ERROR",Vn.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Vn.INVALID_CONFIG="INVALID_CONFIG",Vn.MISSING_DATA="MISSING_DATA",Vn.MISSING_TRANSLATION="MISSING_TRANSLATION";var Pn=function(e){function t(n,o,a){var l=this,i=a?a instanceof Error?a:new Error(String(a)):void 0;return(l=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(o,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(l,t),l}return Tn(t,e),t}(Error),Dn=function(e){function t(t,n){return e.call(this,Mn.UNSUPPORTED_FORMATTER,t,n)||this}return Tn(t,e),t}(Pn),In=function(e){function t(t,n){return e.call(this,Mn.INVALID_CONFIG,t,n)||this}return Tn(t,e),t}(Pn),qn=function(e){function t(t,n){return e.call(this,Mn.MISSING_DATA,t,n)||this}return Tn(t,e),t}(Pn),$n=function(e){function t(t,n,o){var a=e.call(this,Mn.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),o)||this;return a.locale=n,a}return Tn(t,e),t}(Pn),On=function(e){function t(t,n,o,a){var l=e.call(this,"".concat(t,"\nMessageID: ").concat(null==o?void 0:o.id,"\nDefault Message: ").concat(null==o?void 0:o.defaultMessage,"\nDescription: ").concat(null==o?void 0:o.description,"\n"),n,a)||this;return l.descriptor=o,l.locale=n,l}return Tn(t,e),t}($n),Hn=function(e){function t(t,n){var o=e.call(this,Mn.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return o.descriptor=t,o}return Tn(t,e),t}(Pn);function An(e,t){var n=t&&t.cache?t.cache:Jn,o=t&&t.serializer?t.serializer:Yn;return(t&&t.strategy?t.strategy:Fn)(e,{cache:n,serializer:o})}function Ln(e,t,n,o){var a,l=null==(a=o)||"number"==typeof a||"boolean"==typeof a?o:n(o),i=t.get(l);return void 0===i&&(i=e.call(this,o),t.set(l,i)),i}function Zn(e,t,n){var o=Array.prototype.slice.call(arguments,3),a=n(o),l=t.get(a);return void 0===l&&(l=e.apply(this,o),t.set(a,l)),l}function Rn(e,t,n,o,a){return n.bind(t,e,o,a)}function Fn(e,t){return Rn(e,this,1===e.length?Ln:Zn,t.cache.create(),t.serializer)}var Un,Gn,jn,Qn,Kn,Wn,Yn=function(){return JSON.stringify(arguments)},Xn=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),Jn={create:function(){return new Xn}},eo={variadic:function(e,t){return Rn(e,this,Zn,t.cache.create(),t.serializer)}};function to(e){return e.type===jn.literal}function no(e){return e.type===jn.argument}function oo(e){return e.type===jn.number}function ao(e){return e.type===jn.date}function lo(e){return e.type===jn.time}function io(e){return e.type===jn.select}function ro(e){return e.type===jn.plural}function co(e){return e.type===jn.pound}function so(e){return e.type===jn.tag}function uo(e){return!(!e||"object"!=typeof e||e.type!==Kn.number)}function po(e){return!(!e||"object"!=typeof e||e.type!==Kn.dateTime)}(Gn=Un||(Un={}))[Gn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Gn[Gn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Gn[Gn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Gn[Gn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Gn[Gn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Gn[Gn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Gn[Gn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Gn[Gn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Gn[Gn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Gn[Gn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Gn[Gn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Gn[Gn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Gn[Gn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Gn[Gn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Gn[Gn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Gn[Gn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Gn[Gn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Gn[Gn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Gn[Gn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Gn[Gn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Gn[Gn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Gn[Gn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Gn[Gn.INVALID_TAG=23]="INVALID_TAG",Gn[Gn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Gn[Gn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Gn[Gn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Qn=jn||(jn={}))[Qn.literal=0]="literal",Qn[Qn.argument=1]="argument",Qn[Qn.number=2]="number",Qn[Qn.date=3]="date",Qn[Qn.time=4]="time",Qn[Qn.select=5]="select",Qn[Qn.plural=6]="plural",Qn[Qn.pound=7]="pound",Qn[Qn.tag=8]="tag",(Wn=Kn||(Kn={}))[Wn.number=0]="number",Wn[Wn.dateTime=1]="dateTime";var mo=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,fo=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ho(e){var t={};return e.replace(fo,function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var vo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function go(e){return e.replace(/^(.*?)-/,"")}var bo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,yo=/^(@+)?(\+|#+)?[rs]?$/g,xo=/(\*)(0+)|(#+)(0+)|(0+)/g,ko=/^(0+)$/;function _o(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(yo,function(e,n,o){return"string"!=typeof o?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===o?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof o?o.length:0)),""}),t}function wo(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Bo(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!ko.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Co(e){var t=wo(e);return t||{}}function Eo(e){for(var t={},n=0,o=e;n<o.length;n++){var a=o[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=go(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Sn(Sn(Sn({},t),{notation:"scientific"}),a.options.reduce(function(e,t){return Sn(Sn({},e),Co(t))},{}));continue;case"engineering":t=Sn(Sn(Sn({},t),{notation:"engineering"}),a.options.reduce(function(e,t){return Sn(Sn({},e),Co(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(xo,function(e,n,o,a,l,i){if(n)t.minimumIntegerDigits=o.length;else{if(a&&l)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ko.test(a.stem))t.minimumIntegerDigits=a.stem.length;else if(bo.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(bo,function(e,n,o,a,l,i){return"*"===o?t.minimumFractionDigits=n.length:a&&"#"===a[0]?t.maximumFractionDigits=a.length:l&&i?(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var l=a.options[0];"w"===l?t=Sn(Sn({},t),{trailingZeroDisplay:"stripIfInteger"}):l&&(t=Sn(Sn({},t),_o(l)))}else if(yo.test(a.stem))t=Sn(Sn({},t),_o(a.stem));else{var i=wo(a.stem);i&&(t=Sn(Sn({},t),i));var r=Bo(a.stem);r&&(t=Sn(Sn({},t),r))}}return t}var No,To={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Mo(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,o=e.language;return"root"!==o&&(n=e.maximize().region),(To[n||""]||To[o||""]||To["".concat(o,"-001")]||To["001"])[0]}var Vo=new RegExp("^".concat(mo.source,"*")),So=new RegExp("".concat(mo.source,"*$"));function zo(e,t){return{start:e,end:t}}var Po=!!String.prototype.startsWith&&"_a".startsWith("a",1),Do=!!String.fromCodePoint,Io=!!Object.fromEntries,qo=!!String.prototype.codePointAt,$o=!!String.prototype.trimStart,Oo=!!String.prototype.trimEnd,Ho=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ao=!0;try{Ao="a"===(null===(No=Qo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===No?void 0:No[0])}catch(pb){Ao=!1}var Lo,Zo=Po?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Ro=Do?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,o="",a=e.length,l=0;a>l;){if((n=e[l++])>1114111)throw RangeError(n+" is not a valid code point");o+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return o},Fo=Io?Object.fromEntries:function(e){for(var t={},n=0,o=e;n<o.length;n++){var a=o[n],l=a[0],i=a[1];t[l]=i}return t},Uo=qo?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var o,a=e.charCodeAt(t);return a<55296||a>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?a:o-56320+(a-55296<<10)+65536}},Go=$o?function(e){return e.trimStart()}:function(e){return e.replace(Vo,"")},jo=Oo?function(e){return e.trimEnd()}:function(e){return e.replace(So,"")};function Qo(e,t){return new RegExp(e,t)}if(Ao){var Ko=Qo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Lo=function(e,t){var n;return Ko.lastIndex=t,null!==(n=Ko.exec(e)[1])&&void 0!==n?n:""}}else Lo=function(e,t){for(var n=[];;){var o=Uo(e,t);if(void 0===o||ta(o)||na(o))break;n.push(o),t+=o>=65536?2:1}return Ro.apply(void 0,n)};var Wo,Yo,Xo=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var o=[];!this.isEOF();){var a=this.char();if(123===a){if((l=this.parseArgument(e,n)).err)return l;o.push(l.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Un.UNMATCHED_CLOSING_TAG,zo(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&Jo(this.peek()||0)){if((l=this.parseTag(e,t)).err)return l;o.push(l.val)}else{var l;if((l=this.parseLiteral(e,t)).err)return l;o.push(l.val)}}else{var i=this.clonePosition();this.bump(),o.push({type:jn.pound,location:zo(i,this.clonePosition())})}}}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:jn.literal,value:"<".concat(o,"/>"),location:zo(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var l=a.val,i=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Jo(this.char()))return this.error(Un.INVALID_TAG,zo(i,this.clonePosition()));var r=this.clonePosition();return o!==this.parseTagName()?this.error(Un.UNMATCHED_CLOSING_TAG,zo(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:jn.tag,value:o,children:l,location:zo(n,this.clonePosition())},err:null}:this.error(Un.INVALID_TAG,zo(i,this.clonePosition())))}return this.error(Un.UNCLOSED_TAG,zo(n,this.clonePosition()))}return this.error(Un.INVALID_TAG,zo(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&ea(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),o="";;){var a=this.tryParseQuote(t);if(a)o+=a;else{var l=this.tryParseUnquoted(e,t);if(l)o+=l;else{var i=this.tryParseLeftAngleBracket();if(!i)break;o+=i}}}var r=zo(n,this.clonePosition());return{val:{type:jn.literal,value:o,location:r},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Jo(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Ro.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),Ro(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Un.EXPECT_ARGUMENT_CLOSING_BRACE,zo(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Un.EMPTY_ARGUMENT,zo(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(Un.MALFORMED_ARGUMENT,zo(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Un.EXPECT_ARGUMENT_CLOSING_BRACE,zo(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:jn.argument,value:o,location:zo(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Un.EXPECT_ARGUMENT_CLOSING_BRACE,zo(n,this.clonePosition())):this.parseArgumentOptions(e,t,o,n);default:return this.error(Un.MALFORMED_ARGUMENT,zo(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Lo(this.message,t),o=t+n.length;return this.bumpTo(o),{value:n,location:zo(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,o){var a,l=this.clonePosition(),i=this.parseIdentifierIfPossible().value,r=this.clonePosition();switch(i){case"":return this.error(Un.EXPECT_ARGUMENT_TYPE,zo(l,r));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var s=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(m=jo(g.val)).length)return this.error(Un.EXPECT_ARGUMENT_STYLE,zo(this.clonePosition(),this.clonePosition()));c={style:m,styleLocation:zo(s,this.clonePosition())}}if((b=this.tryParseArgumentClose(o)).err)return b;var d=zo(o,this.clonePosition());if(c&&Zo(null==c?void 0:c.style,"::",0)){var u=Go(c.style.slice(2));if("number"===i)return(g=this.parseNumberSkeletonFromString(u,c.styleLocation)).err?g:{val:{type:jn.number,value:n,location:d,style:g.val},err:null};if(0===u.length)return this.error(Un.EXPECT_DATE_TIME_SKELETON,d);var p=u;this.locale&&(p=function(e,t){for(var n="",o=0;o<e.length;o++){var a=e.charAt(o);if("j"===a){for(var l=0;o+1<e.length&&e.charAt(o+1)===a;)l++,o++;var i=1+(1&l),r=l<2?1:3+(l>>1),c=Mo(t);for("H"!=c&&"k"!=c||(r=0);r-- >0;)n+="a";for(;i-- >0;)n=c+n}else n+="J"===a?"H":a}return n}(u,this.locale));var m={type:Kn.dateTime,pattern:p,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?ho(p):{}};return{val:{type:"date"===i?jn.date:jn.time,value:n,location:d,style:m},err:null}}return{val:{type:"number"===i?jn.number:"date"===i?jn.date:jn.time,value:n,location:d,style:null!==(a=null==c?void 0:c.style)&&void 0!==a?a:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Un.EXPECT_SELECT_ARGUMENT_OPTIONS,zo(f,Sn({},f)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),v=0;if("select"!==i&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(Un.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,zo(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(Un.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Un.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),v=g.val}var b,y=this.tryParsePluralOrSelectOptions(e,i,t,h);if(y.err)return y;if((b=this.tryParseArgumentClose(o)).err)return b;var x=zo(o,this.clonePosition());return"select"===i?{val:{type:jn.select,value:n,options:Fo(y.val),location:x},err:null}:{val:{type:jn.plural,value:n,options:Fo(y.val),offset:v,pluralType:"plural"===i?"cardinal":"ordinal",location:x},err:null};default:return this.error(Un.INVALID_ARGUMENT_TYPE,zo(l,r))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Un.EXPECT_ARGUMENT_CLOSING_BRACE,zo(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Un.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,zo(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,o=e.split(vo).filter(function(e){return e.length>0});n<o.length;n++){var a=o[n].split("/");if(0===a.length)throw new Error("Invalid number skeleton");for(var l=a[0],i=a.slice(1),r=0,c=i;r<c.length;r++)if(0===c[r].length)throw new Error("Invalid number skeleton");t.push({stem:l,options:i})}return t}(e)}catch(o){return this.error(Un.INVALID_NUMBER_SKELETON,t)}return{val:{type:Kn.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Eo(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,o){for(var a,l=!1,i=[],r=new Set,c=o.value,s=o.location;;){if(0===c.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Un.EXPECT_PLURAL_ARGUMENT_SELECTOR,Un.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;s=zo(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}if(r.has(c))return this.error("select"===t?Un.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Un.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===c&&(l=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Un.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Un.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,zo(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;i.push([c,{value:m.val,location:zo(p,this.clonePosition())}]),r.add(c),this.bumpSpace(),c=(a=this.parseIdentifierIfPossible()).value,s=a.location}return 0===i.length?this.error("select"===t?Un.EXPECT_SELECT_ARGUMENT_SELECTOR:Un.EXPECT_PLURAL_ARGUMENT_SELECTOR,zo(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(Un.MISSING_OTHER_CLAUSE,zo(this.clonePosition(),this.clonePosition())):{val:i,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,l=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;a=!0,l=10*l+(i-48),this.bump()}var r=zo(o,this.clonePosition());return a?Ho(l*=n)?{val:l,err:null}:this.error(t,r):this.error(e,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Uo(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Zo(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ta(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Jo(e){return e>=97&&e<=122||e>=65&&e<=90}function ea(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ta(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function na(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function oa(e){e.forEach(function(e){if(delete e.location,io(e)||ro(e))for(var t in e.options)delete e.options[t].location,oa(e.options[t].value);else oo(e)&&uo(e.style)||(ao(e)||lo(e))&&po(e.style)?delete e.style.location:so(e)&&oa(e.children)})}function aa(e,t){void 0===t&&(t={}),t=Sn({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Xo(e,t).parse();if(n.err){var o=SyntaxError(Un[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return(null==t?void 0:t.captureLocation)||oa(n.val),n.val}(Yo=Wo||(Wo={})).MISSING_VALUE="MISSING_VALUE",Yo.INVALID_VALUE="INVALID_VALUE",Yo.MISSING_INTL_API="MISSING_INTL_API";var la,ia,ra=function(e){function t(t,n,o){var a=e.call(this,t)||this;return a.code=n,a.originalMessage=o,a}return Tn(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ca=function(e){function t(t,n,o,a){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),Wo.INVALID_VALUE,a)||this}return Tn(t,e),t}(ra),sa=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Wo.INVALID_VALUE,o)||this}return Tn(t,e),t}(ra),da=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Wo.MISSING_VALUE,n)||this}return Tn(t,e),t}(ra);function ua(e){return"function"==typeof e}function pa(e,t,n,o,a,l,i){if(1===e.length&&to(e[0]))return[{type:la.literal,value:e[0].value}];for(var r=[],c=0,s=e;c<s.length;c++){var d=s[c];if(to(d))r.push({type:la.literal,value:d.value});else if(co(d))"number"==typeof l&&r.push({type:la.literal,value:n.getNumberFormat(t).format(l)});else{var u=d.value;if(!a||!(u in a))throw new da(u,i);var p=a[u];if(no(d))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),r.push({type:"string"==typeof p?la.literal:la.object,value:p});else if(ao(d)){var m="string"==typeof d.style?o.date[d.style]:po(d.style)?d.style.parsedOptions:void 0;r.push({type:la.literal,value:n.getDateTimeFormat(t,m).format(p)})}else if(lo(d)){m="string"==typeof d.style?o.time[d.style]:po(d.style)?d.style.parsedOptions:o.time.medium;r.push({type:la.literal,value:n.getDateTimeFormat(t,m).format(p)})}else if(oo(d)){(m="string"==typeof d.style?o.number[d.style]:uo(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),r.push({type:la.literal,value:n.getNumberFormat(t,m).format(p)})}else{if(so(d)){var f=d.children,h=d.value,v=a[h];if(!ua(v))throw new sa(h,"function",i);var g=v(pa(f,t,n,o,a,l).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),r.push.apply(r,g.map(function(e){return{type:"string"==typeof e?la.literal:la.object,value:e}}))}if(io(d)){if(!(b=d.options[p]||d.options.other))throw new ca(d.value,p,Object.keys(d.options),i);r.push.apply(r,pa(b.value,t,n,o,a))}else if(ro(d)){var b;if(!(b=d.options["=".concat(p)])){if(!Intl.PluralRules)throw new ra('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wo.MISSING_INTL_API,i);var y=n.getPluralRules(t,{type:d.pluralType}).select(p-(d.offset||0));b=d.options[y]||d.options.other}if(!b)throw new ca(d.value,p,Object.keys(d.options),i);r.push.apply(r,pa(b.value,t,n,o,a,p-(d.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===la.literal&&t.type===la.literal?n.value+=t.value:e.push(t),e},[])}(r)}function ma(e,t){return t?Object.keys(e).reduce(function(n,o){var a,l;return n[o]=(a=e[o],(l=t[o])?Sn(Sn(Sn({},a||{}),l||{}),Object.keys(a).reduce(function(e,t){return e[t]=Sn(Sn({},a[t]),l[t]||{}),e},{})):a),n},Sn({},e)):e}function fa(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(ia=la||(la={}))[ia.literal=0]="literal",ia[ia.object=1]="object";var ha=function(){function e(t,n,o,a){void 0===n&&(n=e.defaultLocale);var l,i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=i.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===la.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return pa(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=i.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var r=a||{};r.formatters;var c=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n}(r,["formatters"]);this.ast=e.__parse(t,Sn(Sn({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=ma(e.formats,o),this.formatters=a&&a.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,zn([void 0],t,!1)))},{cache:fa(l.number),strategy:eo.variadic}),getDateTimeFormat:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,zn([void 0],t,!1)))},{cache:fa(l.dateTime),strategy:eo.variadic}),getPluralRules:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,zn([void 0],t,!1)))},{cache:fa(l.pluralRules),strategy:eo.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=aa,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function va(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,o){return o in e?t[o]=e[o]:o in n&&(t[o]=n[o]),t},{})}var ga={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){process.env.NODE_ENV},onWarn:function(e){process.env.NODE_ENV}};function ba(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ya(e,t,n,o){var a,l=e&&e[t];if(l&&(a=l[n]),a)return a;o(new Dn("No ".concat(t," format named: ").concat(n)))}var xa=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function ka(e,t,n,o){var a=e.locale,l=e.formats,i=e.onError,r=e.timeZone;void 0===o&&(o={});var c=o.format,s=Sn(Sn({},r&&{timeZone:r}),c&&ya(l,t,c,i)),d=va(o,xa,s);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=Sn(Sn({},d),{hour:"numeric",minute:"numeric"})),n(a,d)}function _a(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=n[0],l=n[1],i=void 0===l?{}:l,r="string"==typeof a?new Date(a||0):a;try{return ka(e,"date",t,i).format(r)}catch(c){e.onError(new $n("Error formatting date.",e.locale,c))}return String(r)}function wa(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=n[0],l=n[1],i=void 0===l?{}:l,r="string"==typeof a?new Date(a||0):a;try{return ka(e,"time",t,i).format(r)}catch(c){e.onError(new $n("Error formatting time.",e.locale,c))}return String(r)}function Ba(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=n[0],l=n[1],i=n[2],r=void 0===i?{}:i,c="string"==typeof a?new Date(a||0):a,s="string"==typeof l?new Date(l||0):l;try{return ka(e,"dateTimeRange",t,r).formatRange(c,s)}catch(d){e.onError(new $n("Error formatting date time range.",e.locale,d))}return String(c)}function Ca(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=n[0],l=n[1],i=void 0===l?{}:l,r="string"==typeof a?new Date(a||0):a;try{return ka(e,"date",t,i).formatToParts(r)}catch(c){e.onError(new $n("Error formatting date.",e.locale,c))}return[]}function Ea(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=n[0],l=n[1],i=void 0===l?{}:l,r="string"==typeof a?new Date(a||0):a;try{return ka(e,"time",t,i).formatToParts(r)}catch(c){e.onError(new $n("Error formatting time.",e.locale,c))}return[]}var Na=["style","type","fallback","languageDisplay"];function Ta(e,t,n,o){var a=e.locale,l=e.onError;Intl.DisplayNames||l(new ra('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Wo.MISSING_INTL_API));var i=va(o,Na);try{return t(a,i).of(n)}catch(r){l(new $n("Error formatting display name.",a,r))}}var Ma=["type","style"],Va=Date.now();function Sa(e,t,n,o){void 0===o&&(o={});var a=za(e,t,n,o).reduce(function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e},[]);return 1===a.length?a[0]:0===a.length?"":a}function za(e,t,n,o){var a=e.locale,l=e.onError;void 0===o&&(o={}),Intl.ListFormat||l(new ra('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Wo.MISSING_INTL_API));var i=va(o,Ma);try{var r={},c=Array.from(n).map(function(e,t){if("object"==typeof e&&null!==e){var n=function(e){return"".concat(Va,"_").concat(e,"_").concat(Va)}(t);return r[n]=e,n}return String(e)});return t(a,i).formatToParts(c).map(function(e){return"literal"===e.type?e:Sn(Sn({},e),{value:r[e.value]||e.value})})}catch(s){l(new $n("Error formatting list.",a,s))}return n}function Pa(e,t){return Object.keys(e).reduce(function(n,o){return n[o]=Sn({timeZone:t},e[o]),n},{})}function Da(e,t){return Object.keys(Sn(Sn({},e),t)).reduce(function(n,o){return n[o]=Sn(Sn({},e[o]||{}),t[o]||{}),n},{})}function Ia(e,t){if(!t)return e;var n=ha.formats;return Sn(Sn(Sn({},n),e),{date:Da(Pa(n.date,t),Pa(e.date||{},t)),time:Da(Pa(n.time,t),Pa(e.time||{},t))})}var qa=function(e,t,n,o,a){var l=e.locale,i=e.formats,r=e.messages,c=e.defaultLocale,s=e.defaultFormats,d=e.fallbackOnEmptyString,u=e.onError,p=e.timeZone,m=e.defaultRichTextElements;void 0===n&&(n={id:""});var f=n.id,h=n.defaultMessage;!function(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}(!!f,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var v=String(f),g=r&&Object.prototype.hasOwnProperty.call(r,v)&&r[v];if(Array.isArray(g)&&1===g.length&&g[0].type===jn.literal)return g[0].value;if(!o&&g&&"string"==typeof g&&!m)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=Sn(Sn({},m),o||{}),i=Ia(i,p),s=Ia(s,p),!g){if(!1===d&&""===g)return g;if((!h||l&&l.toLowerCase()!==c.toLowerCase())&&u(new Hn(n,l)),h)try{return t.getMessageFormat(h,c,s,a).format(o)}catch(b){return u(new On('Error formatting default message for: "'.concat(v,'", rendering default message verbatim'),l,n,b)),"string"==typeof h?h:v}return v}try{return t.getMessageFormat(g,l,i,Sn({formatters:t},a||{})).format(o)}catch(b){u(new On('Error formatting message: "'.concat(v,'", using ').concat(h?"default message":"id"," as fallback."),l,n,b))}if(h)try{return t.getMessageFormat(h,c,s,a).format(o)}catch(b){u(new On('Error formatting the default message for: "'.concat(v,'", rendering message verbatim'),l,n,b))}return"string"==typeof g?g:"string"==typeof h?h:v},$a=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Oa(e,t,n){var o=e.locale,a=e.formats,l=e.onError;void 0===n&&(n={});var i=n.format,r=i&&ya(a,"number",i,l)||{};return t(o,va(n,$a,r))}function Ha(e,t,n,o){void 0===o&&(o={});try{return Oa(e,t,o).format(n)}catch(a){e.onError(new $n("Error formatting number.",e.locale,a))}return String(n)}function Aa(e,t,n,o){void 0===o&&(o={});try{return Oa(e,t,o).formatToParts(n)}catch(a){e.onError(new $n("Error formatting number.",e.locale,a))}return[]}var La=["type"];function Za(e,t,n,o){var a=e.locale,l=e.onError;void 0===o&&(o={}),Intl.PluralRules||l(new ra('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Wo.MISSING_INTL_API));var i=va(o,La);try{return t(a,i).select(n)}catch(r){l(new $n("Error formatting plural.",a,r))}return"other"}var Ra=["numeric","style"];function Fa(e,t,n,o,a){void 0===a&&(a={}),o||(o="second"),Intl.RelativeTimeFormat||e.onError(new ra('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Wo.MISSING_INTL_API));try{return function(e,t,n){var o=e.locale,a=e.formats,l=e.onError;void 0===n&&(n={});var i=n.format,r=!!i&&ya(a,"relative",i,l)||{};return t(o,va(n,Ra,r))}(e,t,a).format(n,o)}catch(l){e.onError(new $n("Error formatting relative time.",e.locale,l))}return String(n)}function Ua(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution')}function Ga(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,o=Intl.DisplayNames,a=An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,zn([void 0],t,!1)))},{cache:ba(e.dateTime),strategy:eo.variadic}),l=An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,zn([void 0],t,!1)))},{cache:ba(e.number),strategy:eo.variadic}),i=An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,zn([void 0],t,!1)))},{cache:ba(e.pluralRules),strategy:eo.variadic});return{getDateTimeFormat:a,getNumberFormat:l,getMessageFormat:An(function(e,t,n,o){return new ha(e,t,n,Sn({formatters:{getNumberFormat:l,getDateTimeFormat:a,getPluralRules:i}},o||{}))},{cache:ba(e.message),strategy:eo.variadic}),getRelativeTimeFormat:An(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,zn([void 0],e,!1)))},{cache:ba(e.relativeTime),strategy:eo.variadic}),getPluralRules:i,getListFormat:An(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,zn([void 0],e,!1)))},{cache:ba(e.list),strategy:eo.variadic}),getDisplayNames:An(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(o.bind.apply(o,zn([void 0],e,!1)))},{cache:ba(e.displayNames),strategy:eo.variadic})}}(t),o=Sn(Sn({},ga),e),a=o.locale,l=o.defaultLocale,i=o.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&i?i(new qn('Missing locale data for locale: "'.concat(a,'" in Intl.NumberFormat. Using default locale: "').concat(l,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&i&&i(new qn('Missing locale data for locale: "'.concat(a,'" in Intl.DateTimeFormat. Using default locale: "').concat(l,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new In('"locale" was not configured, using "'.concat(l,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),o.locale=o.defaultLocale||"en"),Ua(o),Sn(Sn({},o),{formatters:n,formatNumber:Ha.bind(null,o,n.getNumberFormat),formatNumberToParts:Aa.bind(null,o,n.getNumberFormat),formatRelativeTime:Fa.bind(null,o,n.getRelativeTimeFormat),formatDate:_a.bind(null,o,n.getDateTimeFormat),formatDateToParts:Ca.bind(null,o,n.getDateTimeFormat),formatTime:wa.bind(null,o,n.getDateTimeFormat),formatDateTimeRange:Ba.bind(null,o,n.getDateTimeFormat),formatTimeToParts:Ea.bind(null,o,n.getDateTimeFormat),formatPlural:Za.bind(null,o,n.getPluralRules),formatMessage:qa.bind(null,o,n),$t:qa.bind(null,o,n),formatList:Sa.bind(null,o,n.getListFormat),formatListToParts:za.bind(null,o,n.getListFormat),formatDisplayName:Ta.bind(null,o,n.getDisplayNames)})}const ja=Symbol(),Qa={hour:"2-digit",minute:"2-digit",second:"2-digit"},Ka=e=>e.includes("US"),Wa={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},Ya={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},Xa=()=>{const t=e.inject(ja);if(!t)throw new Error("IntlProvider is not provided");return t},Ja=e.defineComponent({__name:"PaymentMethodDefaultChip",props:{isDefault:{type:Boolean}},setup(t){const n=Xa();return(o,a)=>t.isDefault?(e.openBlock(),e.createBlock(pn,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({defaultMessage:"Default",description:"The textual label for the default payment method chip",id:"payment_methods.default_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),el=e.defineComponent({__name:"PaymentMethodInactiveChip",props:{isInactive:{type:Boolean}},setup(t){const n=Xa();return(o,a)=>t.isInactive?(e.openBlock(),e.createBlock(pn,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({defaultMessage:"Inactive",description:"The textual label for the inactive payment method chip",id:"payment_methods.inactive_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),tl={KLARNA:{name:"Klarna",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M1%207.65h38v24.7H1z'/%3e%3cmask%20id='b'%20width='36'%20height='20'%20x='2'%20y='10'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M2.9%2010.5h34.2v19H2.9z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%23ffb3c7'%20d='M33.816%2010.5H6.184A3.284%203.284%200%200%200%202.9%2013.784v12.432A3.284%203.284%200%200%200%206.184%2029.5h27.632a3.284%203.284%200%200%200%203.284-3.284V13.784a3.284%203.284%200%200%200-3.284-3.284'/%3e%3cpath%20fill='%230a0b09'%20d='M33.904%2021.631a.814.814%200%200%200-.81.818c0%20.451.362.817.81.817.447%200%20.81-.366.81-.817a.815.815%200%200%200-.81-.818M31.238%2021c0-.618-.524-1.12-1.17-1.12s-1.17.502-1.17%201.12.524%201.12%201.17%201.12%201.17-.502%201.17-1.12m.004-2.175h1.291v4.35h-1.29v-.278a2.25%202.25%200%200%201-2.154.221A2.29%202.29%200%200%201%2027.688%2021a2.285%202.285%200%200%201%202.275-2.295c.474%200%20.915.147%201.28.398zm-10.33.566v-.566h-1.321v4.35h1.324v-2.03c0-.686.736-1.055%201.247-1.055l.015.001v-1.266c-.524%200-1.006.227-1.265.567M17.62%2021c0-.619-.523-1.12-1.17-1.12-.645%200-1.169.501-1.169%201.12%200%20.617.524%201.118%201.17%201.118s1.17-.5%201.17-1.119m.005-2.176h1.29v4.35h-1.29v-.278a2.25%202.25%200%200%201-2.154.221%202.29%202.29%200%200%201-1.401-2.118%202.285%202.285%200%200%201%202.275-2.295c.475%200%20.915.147%201.28.398zm7.77-.117c-.516%200-1.005.161-1.33.607v-.49H22.78v4.35h1.301v-2.286c0-.661.44-.985.97-.985.566%200%20.892.342.892.976v2.295h1.29v-2.766c0-1.013-.797-1.701-1.837-1.701M12.19%2023.174h1.351v-6.289H12.19zm-5.935.002h1.43v-6.292h-1.43zm5.004-6.292c0%201.362-.526%202.63-1.464%203.571l1.978%202.721h-1.767l-2.15-2.957.555-.42a3.62%203.62%200%200%200%201.449-2.914z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},ZIP:{name:"Zip",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231a0826'%20d='m2.81%2022.894.315%202.567h11.001l-.36-2.94h-5.13l-.044-.365%204.724-3.31-.315-2.572H2l.36%202.94h5.138l.045.367z'/%3e%3cpath%20fill='%23aa8fff'%20d='m14.28%2016.274%201.125%209.187h11.01l-1.125-9.187z'/%3e%3cpath%20fill='%231a0826'%20d='M37.96%2019.581c-.254-2.065-1.872-3.316-4.07-3.307h-7.324l1.125%209.186h3.294l-.226-1.837h3.487c2.745%200%204-1.715%203.714-4.042m-4.07%201.467-3.444.004-.27-2.205%203.464.003c.815.01%201.232.47%201.299%201.099.041.404-.144%201.098-1.048%201.098z'/%3e%3cpath%20fill='%23000'%20d='M17.914%2015.05c.58-.623.478-1.662-.226-2.32s-1.744-.684-2.323-.06c-.58.623-.479%201.662.225%202.32s1.745.684%202.324.06'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},nl={class:"flex h-full grow flex-col justify-center"},ol=e.defineComponent({__name:"PaymentMethodBuyNowPayLater",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const n=t,o=e.computed(()=>{var e;return(null==(e=n.paymentMethod.buy_now_pay_later)?void 0:e.variant)?tl[n.paymentMethod.buy_now_pay_later.variant]:void 0});return(n,a)=>{var l,i,r;return e.openBlock(),e.createBlock(_n,{"image-src":(null==(l=o.value)?void 0:l.logo)??e.unref(hn),"image-alt":null==(r=null==(i=o.value)?void 0:i.name)?void 0:r.toLowerCase(),variant:t.variant,options:t.options,disabled:"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",nl,[e.createVNode(m,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=o.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Ja,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(el,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),al={ACCEL:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23f26b21'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M9.035%2016.597c.715%200%201.215.285%201.572.642.322.357.536.929.464%201.5l-1%206.536c-.035.25-.143.5-.286.75s-.357.465-.571.643a3%203%200%200%201-.821.464%202.9%202.9%200%200%201-.858.143H6.071a2.14%202.14%200%200%201-1.57-.643c-.358-.393-.537-.857-.466-1.5l.286-2.214c.072-.572.144-1%20.537-1.465.357-.357.856-.606%201.535-.606h2.821l.357-2.215a.56.56%200%200%200-.178-.535c-.107-.108-.215-.179-.5-.179H7.464c-.286%200-.429.107-.571.214-.179.143-.25.321-.322.5%200%200-.143.571-.536.571h-.571c-.393%200-.464-.32-.429-.464.036-.285.144-.571.286-.821.143-.25.358-.536.608-.715q.321-.266.75-.428c.285-.107.678-.178.964-.178zM6.43%2022.132c-.25%200-.358.071-.465.178-.107.143-.143.322-.179.608L5.5%2025.203c-.036.322.143.715.643.715H7.57c.286%200%20.5-.108.643-.215.286-.25.321-.5.321-.5L9%2022.132z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M16.035%2016.632c.607%200%201.144.18%201.573.643.356.358.535.858.463%201.5%200%20.357-.285.428-.463.428h-.573c-.535%200-.427-.571-.427-.571a.68.68%200%200%200-.144-.535c-.107-.108-.25-.179-.5-.179h-1.429a.9.9%200%200%200-.606.214c-.214.178-.321.357-.322.5l-1%206.607a.49.49%200%200%200%20.143.5.73.73%200%200%200%20.5.214h1.429a.95.95%200%200%200%20.606-.214c.143-.143.287-.286.322-.5.002-.009.11-.57.536-.571h.571c.393%200%20.465.285.465.464-.036.357-.179.643-.321.893s-.358.464-.573.643c-.214.178-.5.322-.785.429a2.5%202.5%200%200%201-.929.178h-1.428c-.679%200-1.215-.214-1.572-.607a1.8%201.8%200%200%201-.5-1.5l.964-6.393c.036-.285.18-.608.286-.822.143-.25.358-.5.572-.678a3.5%203.5%200%200%201%20.786-.464c.25-.108.607-.18.928-.18h1.428Z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M30.25%2016.597c.714%200%201.214.285%201.571.642.322.393.535.857.464%201.464l-.214%201.786c-.071.572-.143%201-.536%201.464-.357.357-.856.608-1.535.608h-2.857l-.393%202.642a.56.56%200%200%200%20.179.536c.107.107.214.179.5.179h1.429c.285%200%20.428-.072.57-.179.18-.143.25-.321.322-.5.002-.006.145-.57.535-.571h.573c.392%200%20.463.32.427.464a2.3%202.3%200%200%201-.285.821c-.143.25-.357.536-.607.715a2.6%202.6%200%200%201-.75.429%203%203%200%200%201-.964.178h-1.394a2.14%202.14%200%200%201-1.571-.643%201.95%201.95%200%200%201-.464-1.5l.393-2.607h-.25c-.286%200-.465.143-.572.214-.385.246-.392.698-.392.714%200%20.25-.072.358-.5.358h-.5c-.464%200-.5-.357-.465-.464.036-.25.108-.5.286-.822.179-.25.393-.5.608-.678.25-.215.57-.358.785-.429.285-.072.572-.143.786-.143h.429l.392-2.678c.036-.25.142-.5.285-.75s.358-.465.573-.644c.214-.178.535-.357.82-.464a2.8%202.8%200%200%201%20.857-.142zm-.107%201.356h-1.429c-.286%200-.5.108-.643.215-.285.25-.32.5-.32.5l-.393%202.643h2.535c.25%200%20.357-.072.465-.18.106-.142.142-.32.177-.606l.215-1.893c.071-.322-.143-.715-.607-.679'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M35.535%2012.06c.215%200%20.5.108.465.465l-2.142%2014.286c-.072.392-.357.464-.5.464h-.573c-.392%200-.464-.286-.464-.464l2.143-14.286c.036-.178.143-.464.5-.465zm-12.356%204.537c.607%200%201.143.178%201.571.642.357.393.535.893.464%201.5-.072.393-.357.465-.5.429h-.571c-.529%200-.432-.557-.429-.571.036-.25-.035-.43-.143-.537s-.25-.178-.5-.178h-1.428c-.25%200-.43.108-.608.215a.9.9%200%200%200-.321.5l-1%206.606a.49.49%200%200%200%20.144.5c.142.179.357.215.5.215h1.427a.95.95%200%200%200%20.608-.215.87.87%200%200%200%20.321-.5c.003-.016.114-.571.536-.571h.571c.429%200%20.5.322.464.465-.035.357-.178.642-.321.892s-.357.464-.571.643a2.8%202.8%200%200%201-.785.428%202.7%202.7%200%200%201-.93.18H20.25c-.678%200-1.214-.215-1.571-.608a1.8%201.8%200%200%201-.5-1.5l1-6.393c.036-.285.142-.607.285-.821.143-.25.357-.5.571-.679.215-.178.5-.357.786-.464.25-.107.608-.178.93-.178z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",AMERICAN_EXPRESS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23006fcf'%20d='m32.864%209.816%201.28-3.48H40V0H0v40h40v-6.32h-5.52l-2.04-2.384-2.12%202.384H14.64V20.976H9.464l6.472-14.64h6.296l1.52%203.32v-3.32h7.816l1.304%203.48zm-4.408%202.304-.016-1.4.536%201.4%202.6%206.944h2.584l2.616-6.944.504-1.384v8.336H40V8.408h-4.52l-2.056%205.416-.544%201.464-.56-1.464-2.064-5.416h-4.52v10.664h2.72zM22.6%2019.064h3.136L21.04%208.4H17.4l-4.72%2010.664h3.096l.824-2.056h5.176zm-3.944-7.048.536-1.336.536%201.336%201.104%202.696h-3.28zm-1.832%208.968v10.624h8.904v-2.304h-6.184v-1.856h6.064v-2.296h-6.064v-1.864h6.184v-2.304zM35.64%2031.616h3.536l-4.984-5.336%204.984-5.296h-3.48L32.48%2024.44l-3.2-3.456h-3.544l4.976%205.336-4.976%205.296h3.44l3.24-3.464zm1.344-5.352L40%2029.328v-6.096l-3.016%203.024z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",BANCONTACT:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231e3764'%20d='M3.604%2030.284v-4.816h1.463c1.063%200%201.747.406%201.747%201.245%200%20.475-.217.805-.521.998.44.206.697.606.697%201.149%200%20.97-.697%201.424-1.78%201.424zm.942-2.814h.697c.427%200%20.61-.213.61-.605%200-.42-.332-.558-.78-.558h-.527zm0%201.975h.582c.569%200%20.9-.145.9-.599%200-.447-.284-.633-.819-.633h-.663zm4.27.922c-.928%200-1.395-.461-1.395-1.08%200-.682.548-1.08%201.36-1.087q.305.005.603.055v-.166c0-.42-.237-.619-.69-.619a2.3%202.3%200%200%200-.894.165l-.17-.743c.292-.124.759-.206%201.172-.206.995%200%201.49.537%201.49%201.465v1.913c-.278.145-.8.303-1.477.303Zm.568-.778v-.736a2.2%202.2%200%200%200-.48-.055c-.312%200-.556.124-.556.447%200%20.29.203.44.562.44.163.006.326-.027.474-.096m1.566.695V26.99a4.1%204.1%200%200%201%201.53-.303c.988%200%201.557.495%201.557%201.41v2.188h-.934v-2.119c0-.475-.217-.695-.63-.695a1.4%201.4%200%200%200-.596.124v2.69h-.928Zm6.353-3.392-.176.75a2%202%200%200%200-.765-.172c-.549%200-.847.392-.847%201.04%200%20.708.312%201.072.894%201.072.26-.007.516-.068.752-.178l.149.763a2.25%202.25%200%200%201-.976.2c-1.123%200-1.774-.709-1.774-1.83%200-1.115.644-1.851%201.72-1.851.351-.002.7.068%201.023.206m2.018%203.475c-1.042%200-1.692-.736-1.692-1.844%200-1.101.65-1.837%201.692-1.837%201.05%200%201.687.736%201.687%201.837%200%201.108-.637%201.844-1.686%201.844Zm0-.785c.481%200%20.732-.405.732-1.06%200-.646-.25-1.052-.732-1.052-.474%200-.738.406-.738%201.053%200%20.654.265%201.06.739%201.06Zm2.227.702V26.99a4.1%204.1%200%200%201%201.53-.303c.99%200%201.558.495%201.558%201.41v2.188h-.934v-2.119c0-.475-.217-.695-.63-.695a1.4%201.4%200%200%200-.596.124v2.69zm5.196.083c-.806%200-1.22-.447-1.22-1.356v-1.486h-.46v-.757h.46v-.763l.935-.049v.812h.752v.757h-.752v1.473c0%20.399.163.584.467.584q.182%200%20.36-.04l.047.763a2.5%202.5%200%200%201-.59.062Zm2.358%200c-.928%200-1.395-.461-1.395-1.08%200-.682.549-1.08%201.361-1.087q.304.005.603.055v-.166c0-.42-.237-.619-.69-.619a2.3%202.3%200%200%200-.895.165l-.169-.743c.291-.124.758-.206%201.172-.206.995%200%201.49.537%201.49%201.465v1.913c-.278.145-.8.303-1.477.303m.569-.778v-.736a2.2%202.2%200%200%200-.48-.055c-.312%200-.556.124-.556.447%200%20.29.203.44.562.44.163.006.325-.027.474-.096m4.104-2.697-.176.75a2%202%200%200%200-.765-.172c-.548%200-.846.392-.846%201.04%200%20.708.311%201.072.894%201.072.26-.007.515-.068.751-.178l.15.763a2.25%202.25%200%200%201-.976.2c-1.124%200-1.774-.709-1.774-1.83%200-1.115.643-1.851%201.72-1.851.35-.002.699.068%201.022.206m2.055%203.475c-.806%200-1.219-.447-1.219-1.356v-1.486h-.46v-.757h.46v-.763l.934-.049v.812h.752v.757h-.752v1.473c0%20.399.163.584.468.584q.18%200%20.359-.04l.047.763a2.5%202.5%200%200%201-.59.062Z'/%3e%3cpath%20fill='url(%23a)'%20d='M10.123%2023.06c4.944%200%207.416-3.35%209.889-6.699H3.604v6.699z'/%3e%3cpath%20fill='url(%23b)'%20d='M29.901%209.662c-4.945%200-7.417%203.35-9.89%206.7H36.42v-6.7h-6.518Z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='6.923'%20x2='18.972'%20y1='20.02'%20y2='15.616'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23005ab9'/%3e%3cstop%20offset='1'%20stop-color='%231e3764'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='21.005'%20x2='33.791'%20y1='16.942'%20y2='12.649'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fba900'/%3e%3cstop%20offset='1'%20stop-color='%23ffd800'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",CARNET:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ee3338'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fffcfc'%20d='M15.27%2013.453c-1.235.362-2.379.854-3.404%201.599-.807.586-1.478%201.296-1.865%202.306-.297-.782-.206-1.488.082-2.176.355-.843.964-1.476%201.68-2.006%201.467-1.08%203.136-1.666%204.895-2.001%203.272-.622%206.501-.47%209.658.666%201.172.423%202.262%201.008%203.169%201.893.842.82%201.387%201.78%201.261%203.02-.018.174-.064.346-.104.55-.06-.053-.098-.07-.11-.1-.43-1.043-1.208-1.773-2.12-2.37-1.505-.988-3.181-1.518-4.932-1.807-2.752-.454-5.484-.35-8.21.426'/%3e%3cpath%20fill='%23fffdfd'%20d='M11.865%2017.027c1.52-1.071%203.204-1.648%204.978-1.964%203.09-.549%206.145-.427%209.14.583%201.366.461%202.639%201.106%203.659%202.174.756.791%201.22%201.71%201.104%202.852-.018.176-.063.35-.096.526-.053-.016-.089-.017-.096-.032-.818-1.817-2.382-2.721-4.101-3.396-2.314-.907-4.727-1.187-7.195-1.052-2.086.115-4.102.517-5.999%201.435q-.555.273-1.075.61c-.948.618-1.739%201.386-2.183%202.522-.297-.783-.207-1.496.093-2.195.37-.867%201.008-1.504%201.771-2.063'/%3e%3cpath%20fill='%23fffbfb'%20d='m19.744%2026.845.597.849c-.385%200-.695.015-1-.01-.094-.007-.194-.108-.264-.194q-.396-.492-.768-1.009c-.29-.407-.657-.535-1.125-.439v1.62h-.929v-4.05c.965.04%201.924.047%202.878.129.484.04.805.494.829.991.024.508-.215.87-.707%201.063-.11.043-.226.079-.198-.009zm-1.725-1.49c.19-.01.382-.007.57-.035.23-.035.403-.16.413-.459.008-.278-.138-.452-.357-.465-.485-.028-.971-.008-1.45-.008v.968h.824Z'/%3e%3cpath%20fill='%23fffafb'%20d='M24.427%2024.913V23.64h.951v3.964c-.686.195-.99.105-1.422-.438l-1.672-2.106v2.578h-.99v-4.02c.308%200%20.611-.018.908.011.1.01.207.128.281.219.624.78%201.242%201.567%201.944%202.335z'/%3e%3cpath%20fill='%23fffdfd'%20d='M28.994%2024.296h-1.157v.9h2.679v.706h-2.688v1.107h2.997v.69h-4.084v-4.086h3.994v.683z'/%3e%3cpath%20fill='%23fffbfc'%20d='M15.302%2027.654c-.103.01-.174%200-.24.013-.638.113-1.065-.077-1.26-.684-.033-.102-.252-.21-.39-.217a22%2022%200%200%200-1.643-.002c-.123.003-.332.081-.35.157-.203.82-.832.833-1.564.71.055-.119.106-.245.171-.364.597-1.106%201.207-2.206%201.788-3.32.128-.246.29-.285.558-.32.623-.077.942.14%201.199.67.498%201.023%201.094%202.005%201.644%203.006a.8.8%200%200%201%20.087.351m-2.492-2.6-.241-.436-.724%201.43h1.473c-.174-.338-.329-.64-.508-.995Z'/%3e%3cpath%20fill='snow'%20d='M6.804%2027.001c.72-.023%201.212-.264%201.428-.834l1.215.227c-.184.52-.568.87-1.146%201.062-1.002.333-2.017.328-2.995-.055-.995-.39-1.427-1.12-1.277-2.07.13-.827.92-1.47%202.036-1.645.753-.117%201.502-.107%202.224.128.538.175.942.456%201.137.952-.343.058-.663.13-.99.156a.5.5%200%200%201-.348-.151c-.426-.475-1.022-.517-1.655-.42-.585.09-.982.379-1.042.865-.042.338-.047.696.048%201.022.158.532.704.71%201.367.763'/%3e%3cpath%20fill='%23fffcfc'%20d='M33.43%2027.087v-2.795h-1.514v-.68H36v.66h-1.501v3.426H33.43v-.61Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",CARTES_BANCAIRES:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='url(%23b)'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M32.825%2016.982c0-.35-.063-.698-.2-1.037a2.5%202.5%200%200%200-.572-.856%202.24%202.24%200%200%200-.92-.57q-.491-.16-1.363-.16h-7.697v5.266h7.697q.855%200%201.364-.159c.338-.106.634-.296.92-.57.253-.255.443-.53.57-.857.138-.36.201-.709.201-1.058Zm0%206.428c0-.35-.063-.698-.2-1.036a2.5%202.5%200%200%200-.572-.857%202.24%202.24%200%200%200-.92-.57q-.491-.16-1.363-.16h-7.697v5.245h7.697q.855%200%201.364-.159c.338-.105.634-.296.92-.57.253-.254.443-.53.57-.857.138-.338.201-.687.201-1.036m-11.831-3.806C20.74%2016.189%2018.308%2014%2014.513%2014%2010.516%2014%208%2016.442%208%2020.185c0%203.87%202.611%206.196%206.513%206.196%203.817%200%206.238-2.2%206.481-5.604h-6.566v-1.163h6.566zm14.178%2010.425a.6.6%200%200%201-.444.19.58.58%200%200%201-.444-.19.6.6%200%200%201-.18-.445c0-.169.064-.317.18-.444a.6.6%200%200%201%20.444-.18c.18%200%20.328.064.444.18.127.127.18.275.18.444a.53.53%200%200%201-.18.445m-.824-.825a.52.52%200%200%200-.159.38.56.56%200%200%200%20.159.392.52.52%200%200%200%20.38.158.52.52%200%200%200%20.38-.158.53.53%200%200%200%20.16-.392.52.52%200%200%200-.16-.38.52.52%200%200%200-.38-.159.52.52%200%200%200-.38.159m.37.031c.084%200%20.148.011.19.022.074.031.106.084.106.18%200%20.063-.021.105-.064.137-.02.01-.053.032-.095.032.053.01.095.031.117.063a.2.2%200%200%201%20.042.106v.105c0%20.022%200%20.032.01.032v.01h-.116v-.083q0-.126-.063-.158a.4.4%200%200%200-.138-.022h-.095v.275h-.127v-.687h.233v-.01Zm.137.117c-.032-.021-.084-.021-.148-.021h-.106v.253h.106c.053%200%20.095%200%20.116-.01.053-.021.075-.053.075-.106%200-.074-.022-.106-.043-.116'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='0'%20x2='40'%20y1='13'%20y2='30'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232b307a'/%3e%3cstop%20offset='.22'%20stop-color='%232e3b83'/%3e%3cstop%20offset='.42'%20stop-color='%234187c3'/%3e%3cstop%20offset='.5'%20stop-color='%23d7d3df'/%3e%3cstop%20offset='.58'%20stop-color='%23cc7b7b'/%3e%3cstop%20offset='.78'%20stop-color='%23cd2426'/%3e%3cstop%20offset='1'%20stop-color='%23cd191b'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",DANKORT:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ed1c24'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ed1c24'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ed1c24'%20d='M12.302%208.788c-6.04%200-10.952%204.982-10.952%2011.105C1.35%2026.018%206.263%2031%2012.302%2031H27.05C33.088%2031%2038%2026.018%2038%2019.893c0-6.123-4.913-11.105-10.95-11.105z'/%3e%3cpath%20fill='%23fff'%20d='m30.226%2018.82%204.179%205.517a9.2%209.2%200%200%200%201.374-4.884%209.2%209.2%200%200%200-1.522-5.112zm-14.382-4.858c3.557%200%206.238.86%206.514%203.71l3.744-3.71h7.455c-1.622-1.806-4.032-2.953-6.718-2.953H12.512c-2.687%200-5.098%201.147-6.72%202.952zM9.33%2017.673l-1.316%203.332h5.304c1.568%200%202.042-.599%202.393-1.75.347-1.14-.525-1.582-1.596-1.582zm17.524%207.547-4.062-5.326c-.75%203.632-3.209%205.327-7.817%205.327H5.792c1.661%202.166%204.224%203.558%207.093%203.558h14.692c2.869%200%205.43-1.39%207.09-3.558z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",DINERS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M2.65%2019.829c0-8.299%206.728-15.023%2015.023-15.023S32.695%2011.53%2032.695%2019.83c0%208.298-6.724%2015.022-15.022%2015.022S2.651%2028.124%202.651%2019.829Z'/%3e%3cpath%20fill='%230d4e96'%20d='M17.695%2035.117C9.085%2035.16%202%2028.184%202%2019.695%202%2010.415%209.086%204%2017.695%204h4.035C30.235%204%2038%2010.413%2038%2019.695c0%208.486-7.765%2015.422-16.27%2015.422zm.035-29.831c-7.867%200-14.24%206.378-14.24%2014.244%200%207.867%206.374%2014.241%2014.241%2014.241s14.241-6.374%2014.245-14.24c0-7.867-6.378-14.242-14.245-14.245Zm-3.235%2022.67V11.105a9.05%209.05%200%200%200-5.793%208.425%209.04%209.04%200%200%200%205.793%208.422M26.76%2019.53a9.03%209.03%200%200%200-5.8-8.425v16.854a9.04%209.04%200%200%200%205.8-8.426'/%3e%3c/svg%3e",DISCOVER:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M.44%201.317v37.366a.88.88%200%200%200%20.877.878H18.47c10.802%200%2019.563-8.756%2019.563-19.563C38.033%209.195%2029.276.435%2018.47.435H1.317a.88.88%200%200%200-.878.878z'/%3e%3cpath%20fill='%23231f20'%20d='M3.408%2017.223H1.853v5.436h1.55c.821%200%201.419-.193%201.941-.628a2.73%202.73%200%200%200%20.988-2.086c0-1.603-1.199-2.723-2.92-2.723zm1.238%204.083c-.334.299-.764.43-1.45.43h-.285V18.14h.286c.685%200%201.102.123%201.449.44.369.324.588.834.588%201.352s-.22%201.045-.588%201.37zm3.227-4.083H6.815v5.436h1.058zm2.596%202.09c-.637-.237-.821-.391-.821-.685%200-.343.333-.602.79-.602.316%200%20.58.132.856.44l.554-.725a2.38%202.38%200%200%200-1.599-.602c-.962%200-1.695.668-1.695%201.559%200%20.75.343%201.133%201.34%201.489.412.144.627.245.733.307a.65.65%200%200%201%20.316.562c0%20.44-.351.769-.826.769-.505%200-.913-.255-1.159-.725l-.685.659c.488.715%201.076%201.036%201.884%201.036%201.102%200%201.875-.733%201.875-1.783%200-.865-.356-1.256-1.563-1.695zm1.897.632c0%201.599%201.256%202.837%202.867%202.837.457%200%20.848-.088%201.33-.316v-1.247c-.425.425-.798.597-1.281.597-1.068%200-1.827-.773-1.827-1.875%200-1.045.781-1.867%201.778-1.867.505%200%20.887.18%201.33.61v-1.246c-.465-.237-.847-.334-1.303-.334-1.608%200-2.894%201.265-2.894%202.846zm12.607.931-1.45-3.654h-1.158L24.67%2022.8h.57l2.35-5.576h-1.15zm3.096%201.783h3.008v-.918h-1.95v-1.466h1.875v-.923h-1.875v-1.207h1.95v-.922h-3.008zm7.206-3.829c0-1.019-.703-1.603-1.923-1.603H31.78v5.436h1.058v-2.182h.14l1.467%202.182h1.304l-1.712-2.292c.799-.162%201.238-.707%201.238-1.541m-2.125.896h-.312v-1.647h.325c.659%200%201.019.276%201.019.808%200%20.531-.36.838-1.037.838zm2.968-2.218c0-.097-.066-.15-.18-.15h-.154v.48h.114v-.185l.137.184h.14l-.158-.197c.066-.018.105-.066.105-.132zm-.202.066h-.017v-.128h.021q.087.001.088.062c.001.061-.03.066-.088.066z'/%3e%3cpath%20fill='%23231f20'%20d='M35.96%2017.183a.417.417%200%201%200%200%20.834.416.416%200%200%200%20.413-.417.416.416%200%200%200-.413-.417m0%20.76a.34.34%200%200%201-.334-.343c0-.189.15-.342.334-.342s.33.158.33.342a.34.34%200%200%201-.33.343'/%3e%3cpath%20fill='url(%23b)'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.877%202.877%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'/%3e%3cpath%20fill='url(%23c)'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.877%202.877%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'%20opacity='.65'%20style='mix-blend-mode:multiply'/%3e%3cg%20opacity='.5'%20style='mix-blend-mode:multiply'%3e%3cmask%20id='d'%20width='7'%20height='6'%20x='16'%20y='17'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M22.668%2019.936a2.88%202.88%200%200%201-2.881%202.881%202.88%202.88%200%200%201-2.88-2.88%202.877%202.877%200%200%201%202.88-2.881%202.877%202.877%200%200%201%202.88%202.88Z'/%3e%3c/mask%3e%3cg%20mask='url(%23d)'%3e%3cpath%20fill='%23020000'%20d='M19.8%2017.016a2.937%202.937%200%200%201%202.938%202.934%202.938%202.938%200%201%201-2.938-2.938z'/%3e%3cpath%20fill='%23030100'%20d='M19.805%2017.02a2.933%202.933%200%200%201%202.937%202.93%202.937%202.937%200%201%201-5.875.009%202.94%202.94%200%200%201%202.938-2.939'/%3e%3cpath%20fill='%23050100'%20d='M19.805%2017.025a2.937%202.937%200%200%201%202.942%202.929%202.945%202.945%200%200%201-2.942%202.942%202.927%202.927%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.934z'/%3e%3cpath%20fill='%23070200'%20d='M19.809%2017.03a2.933%202.933%200%200%201%202.942%202.924%202.95%202.95%200%200%201-2.942%202.942%202.93%202.93%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.934Z'/%3e%3cpath%20fill='%23080200'%20d='M19.813%2017.034c1.62%200%202.942%201.3%202.942%202.92a2.95%202.95%200%200%201-2.942%202.946%202.93%202.93%200%200%201-2.933-2.933%202.933%202.933%200%200%201%202.933-2.933'/%3e%3cpath%20fill='%230a0300'%20d='M19.813%2017.038c1.62%200%202.942%201.3%202.942%202.92a2.95%202.95%200%200%201-2.942%202.947%202.93%202.93%200%200%201-2.933-2.934%202.933%202.933%200%200%201%202.933-2.933'/%3e%3cpath%20fill='%230c0300'%20d='M19.818%2017.043c1.62%200%202.946%201.295%202.946%202.915a2.96%202.96%200%200%201-2.946%202.951%202.93%202.93%200%200%201-2.934-2.933%202.933%202.933%200%200%201%202.934-2.933'/%3e%3cpath%20fill='%230e0400'%20d='M19.822%2017.047c1.62%200%202.947%201.295%202.947%202.911a2.96%202.96%200%200%201-2.947%202.951%202.93%202.93%200%200%201-2.933-2.933%202.933%202.933%200%200%201%202.933-2.933z'/%3e%3cpath%20fill='%230f0400'%20d='M19.826%2017.056c1.62.004%202.947%201.29%202.947%202.911s-1.33%202.955-2.947%202.955a2.933%202.933%200%201%201%200-5.866'/%3e%3cpath%20fill='%23110500'%20d='M19.826%2017.06c1.62.004%202.947%201.287%202.947%202.907s-1.33%202.955-2.947%202.955a2.933%202.933%200%201%201%200-5.866z'/%3e%3cpath%20fill='%23130500'%20d='M19.83%2017.064c1.621.005%202.952%201.287%202.952%202.903s-1.33%202.96-2.951%202.96a2.923%202.923%200%200%201-2.93-2.93c.005-1.62%201.318-2.937%202.93-2.928z'/%3e%3cpath%20fill='%23140600'%20d='M19.835%2017.069c1.616.004%202.951%201.282%202.951%202.902s-1.335%202.96-2.95%202.96c-1.617%200-2.938-1.313-2.93-2.929.005-1.62%201.318-2.938%202.93-2.929v-.004Z'/%3e%3cpath%20fill='%23160600'%20d='M19.835%2017.073c1.616.005%202.951%201.278%202.951%202.898s-1.335%202.96-2.95%202.96c-1.617%200-2.938-1.313-2.93-2.929.005-1.62%201.322-2.938%202.93-2.929Z'/%3e%3cpath%20fill='%23180600'%20d='M19.84%2017.078c1.616.008%202.955%201.277%202.955%202.893s-1.335%202.965-2.955%202.965a2.925%202.925%200%200%201-2.93-2.93c.005-1.62%201.323-2.937%202.93-2.928'/%3e%3cpath%20fill='%23190700'%20d='M19.844%2017.082c1.616.009%202.955%201.273%202.955%202.894%200%201.62-1.339%202.964-2.955%202.964a2.93%202.93%200%200%201-2.929-2.929c.009-1.62%201.322-2.938%202.93-2.929Z'/%3e%3cpath%20fill='%231b0700'%20d='M19.849%2017.086c1.616.01%202.955%201.274%202.955%202.89s-1.34%202.968-2.955%202.968a2.93%202.93%200%200%201-2.93-2.929c.01-1.62%201.322-2.937%202.93-2.929'/%3e%3cpath%20fill='%231d0800'%20d='M19.849%2017.09c1.616.01%202.955%201.27%202.955%202.886s-1.34%202.968-2.955%202.968a2.925%202.925%200%200%201-2.93-2.929c.01-1.62%201.322-2.937%202.93-2.929v.005Z'/%3e%3cpath%20fill='%231f0800'%20d='M19.853%2017.095c1.616.009%202.96%201.265%202.96%202.885s-1.344%202.973-2.96%202.973a2.925%202.925%200%200%201-2.929-2.929c.009-1.625%201.322-2.938%202.929-2.929'/%3e%3cpath%20fill='%23200900'%20d='M19.857%2017.104c1.616.009%202.96%201.265%202.96%202.88%200%201.617-1.344%202.973-2.96%202.973a2.92%202.92%200%200%201-2.924-2.924c.008-1.625%201.321-2.938%202.924-2.925z'/%3e%3cpath%20fill='%23220900'%20d='M19.857%2017.108c1.616.01%202.96%201.26%202.96%202.877s-1.344%202.977-2.96%202.977a2.92%202.92%200%200%201-2.924-2.925c.008-1.624%201.321-2.937%202.924-2.924z'/%3e%3cpath%20fill='%23240a00'%20d='M19.862%2017.113c1.616.009%202.96%201.26%202.96%202.872s-1.349%202.977-2.96%202.977c-1.612%200-2.934-1.309-2.925-2.925.009-1.624%201.322-2.937%202.925-2.924'/%3e%3cpath%20fill='%23250a00'%20d='M19.866%2017.117c1.616.013%202.964%201.256%202.964%202.872s-1.348%202.977-2.964%202.977a2.92%202.92%200%200%201-2.925-2.924c.01-1.625%201.322-2.938%202.925-2.925'/%3e%3cpath%20fill='%23270b00'%20d='M19.87%2017.122c1.616.013%202.964%201.251%202.964%202.867s-1.348%202.982-2.964%202.982a2.92%202.92%200%200%201-2.924-2.925c.009-1.625%201.326-2.938%202.924-2.924'/%3e%3cpath%20fill='%23290b00'%20d='M19.87%2017.126c1.616.013%202.964%201.251%202.964%202.863s-1.352%202.982-2.964%202.982-2.933-1.309-2.924-2.925c.009-1.625%201.326-2.933%202.924-2.924z'/%3e%3cpath%20fill='%232a0c00'%20d='M19.875%2017.13c1.616.014%202.968%201.247%202.968%202.863s-1.352%202.987-2.968%202.987a2.92%202.92%200%200%201-2.925-2.925c.013-1.625%201.326-2.933%202.925-2.925'/%3e%3cpath%20fill='%232c0c00'%20d='M19.88%2017.135c1.615.013%202.968%201.242%202.968%202.858s-1.353%202.987-2.969%202.987a2.92%202.92%200%200%201-2.924-2.925c.013-1.625%201.326-2.933%202.924-2.925v.005Z'/%3e%3cpath%20fill='%232e0d00'%20d='M19.88%2017.14c1.61.012%202.968%201.242%202.968%202.853s-1.357%202.99-2.969%202.99-2.933-1.308-2.924-2.92c.013-1.624%201.326-2.933%202.924-2.924Z'/%3e%3cpath%20fill='%23300d00'%20d='M19.884%2017.143c1.611.014%202.968%201.239%202.968%202.855s-1.357%202.99-2.968%202.99c-1.612%200-2.934-1.308-2.92-2.92.013-1.625%201.326-2.933%202.92-2.92z'/%3e%3cpath%20fill='%23310d00'%20d='M19.888%2017.152c1.611.013%202.973%201.239%202.973%202.85%200%201.612-1.357%202.995-2.973%202.995s-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92z'/%3e%3cpath%20fill='%23330e00'%20d='M19.892%2017.157c1.612.013%202.973%201.234%202.973%202.845s-1.361%202.995-2.973%202.995-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92'/%3e%3cpath%20fill='%23350e00'%20d='M19.892%2017.161c1.612.018%202.973%201.23%202.973%202.846S21.504%2023%2019.892%2023s-2.933-1.308-2.92-2.92c.013-1.625%201.326-2.933%202.92-2.92Z'/%3e%3cpath%20fill='%23360f00'%20d='M19.897%2017.165c1.611.018%202.977%201.23%202.977%202.842%200%201.611-1.361%202.999-2.977%202.999s-2.934-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92Z'/%3e%3cpath%20fill='%23380f00'%20d='M19.901%2017.17c1.612.017%202.977%201.225%202.977%202.837%200%201.611-1.365%202.999-2.977%202.999s-2.933-1.309-2.92-2.92c.013-1.625%201.326-2.934%202.92-2.92z'/%3e%3cpath%20fill='%233a1000'%20d='M19.901%2017.174c1.612.018%202.977%201.225%202.977%202.837s-1.365%203.004-2.977%203.004-2.933-1.309-2.92-2.92c.013-1.625%201.33-2.934%202.92-2.92Z'/%3e%3cpath%20fill='%233b1000'%20d='M19.905%2017.179c1.612.017%202.978%201.22%202.978%202.832s-1.366%203.004-2.977%203.004c-1.612%200-2.934-1.309-2.92-2.92.017-1.625%201.33-2.934%202.92-2.92v.004Z'/%3e%3cpath%20fill='%233d1100'%20d='M19.91%2017.183c1.611.018%202.982%201.216%202.982%202.828s-1.37%203.008-2.982%203.008-2.933-1.309-2.916-2.916c.018-1.625%201.33-2.933%202.916-2.916z'/%3e%3cpath%20fill='%233f1100'%20d='M19.914%2017.187c1.612.018%202.982%201.217%202.982%202.828%200%201.612-1.37%203.008-2.982%203.008-1.611%200-2.933-1.304-2.915-2.915.017-1.625%201.33-2.934%202.915-2.916z'/%3e%3cpath%20fill='%23411200'%20d='M19.914%2017.196c1.612.018%202.982%201.212%202.982%202.824s-1.37%203.008-2.982%203.008c-1.611%200-2.933-1.304-2.915-2.916.017-1.625%201.33-2.933%202.915-2.916'/%3e%3cpath%20fill='%23421200'%20d='M19.919%2017.2c1.611.018%202.981%201.208%202.981%202.82s-1.374%203.012-2.981%203.012-2.934-1.304-2.916-2.916c.017-1.624%201.33-2.933%202.916-2.915Z'/%3e%3cpath%20fill='%23441300'%20d='M19.923%2017.205c1.612.022%202.986%201.208%202.986%202.82%200%201.61-1.374%203.012-2.986%203.012-1.611%200-2.933-1.305-2.916-2.916.018-1.625%201.33-2.934%202.916-2.916'/%3e%3cpath%20fill='%23461300'%20d='M19.923%2017.21c1.612.021%202.986%201.203%202.986%202.814%200%201.612-1.374%203.017-2.986%203.017-1.611%200-2.933-1.304-2.916-2.916.018-1.625%201.33-2.933%202.916-2.916Z'/%3e%3cpath%20fill='%23471300'%20d='M19.928%2017.214c1.607.022%202.986%201.203%202.986%202.81s-1.38%203.017-2.986%203.017c-1.608%200-2.934-1.304-2.916-2.916.017-1.625%201.33-2.933%202.916-2.916z'/%3e%3cpath%20fill='%23491400'%20d='M19.932%2017.218c1.607.022%202.99%201.199%202.99%202.81%200%201.612-1.378%203.022-2.99%203.022s-2.933-1.305-2.916-2.916c.018-1.625%201.33-2.933%202.916-2.916'/%3e%3cpath%20fill='%234b1400'%20d='M19.936%2017.223c1.608.021%202.99%201.194%202.99%202.806%200%201.611-1.378%203.02-2.99%203.02-1.611%200-2.933-1.303-2.915-2.91.021-1.625%201.33-2.934%202.915-2.912z'/%3e%3cpath%20fill='%234c1500'%20d='M19.936%2017.227c1.608.022%202.99%201.194%202.99%202.802%200%201.607-1.382%203.025-2.99%203.025-1.607%200-2.933-1.304-2.911-2.911.022-1.625%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%234e1500'%20d='M19.94%2017.231c1.608.022%202.991%201.19%202.991%202.797s-1.383%203.026-2.99%203.026-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.934%202.912-2.912Z'/%3e%3cpath%20fill='%23501600'%20d='M19.945%2017.236c1.607.022%202.995%201.19%202.995%202.797s-1.383%203.025-2.995%203.025c-1.611%200-2.933-1.304-2.911-2.91.022-1.626%201.335-2.934%202.911-2.912'/%3e%3cpath%20fill='%23521600'%20d='M19.945%2017.244c1.607.022%202.995%201.186%202.995%202.793s-1.388%203.03-2.995%203.03-2.933-1.304-2.911-2.911c.022-1.625%201.335-2.933%202.911-2.912'/%3e%3cpath%20fill='%23531700'%20d='M19.95%2017.249c1.607.026%202.994%201.181%202.994%202.788%200%201.608-1.387%203.03-2.994%203.03s-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.933%202.912-2.912z'/%3e%3cpath%20fill='%23551700'%20d='M19.954%2017.253c1.607.027%202.995%201.181%202.995%202.789%200%201.607-1.388%203.034-2.995%203.034s-2.934-1.304-2.912-2.911c.022-1.625%201.335-2.934%202.912-2.912'/%3e%3cpath%20fill='%23571800'%20d='M19.958%2017.258c1.608.026%203%201.177%203%202.784s-1.392%203.034-3%203.034c-1.607%200-2.933-1.304-2.911-2.911.022-1.625%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%23581800'%20d='M19.958%2017.262c1.608.026%203%201.172%203%202.78s-1.392%203.038-3%203.038c-1.607%200-2.933-1.304-2.911-2.91.022-1.626%201.335-2.934%202.911-2.912z'/%3e%3cpath%20fill='%235a1900'%20d='M19.963%2017.266c1.607.027%202.999%201.173%202.999%202.78s-1.392%203.039-3%203.039c-1.607%200-2.933-1.304-2.906-2.907.021-1.625%201.334-2.934%202.907-2.907z'/%3e%3cpath%20fill='%235c1900'%20d='M19.967%2017.27c1.607.027%203.004%201.169%203.004%202.776s-1.397%203.043-3.004%203.043-2.933-1.304-2.907-2.907c.026-1.624%201.335-2.933%202.907-2.907z'/%3e%3cpath%20fill='%235e1a00'%20d='M19.967%2017.275c1.607.027%203.004%201.168%203.004%202.771s-1.397%203.043-3.004%203.043-2.933-1.304-2.907-2.907c.026-1.624%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%235f1a00'%20d='M19.971%2017.28c1.608.026%203.004%201.163%203.004%202.77%200%201.608-1.396%203.044-3.004%203.044-1.607%200-2.933-1.3-2.907-2.907.027-1.625%201.34-2.934%202.907-2.907'/%3e%3cpath%20fill='%23611a00'%20d='M19.976%2017.284c1.603.026%203.003%201.16%203.003%202.767s-1.4%203.047-3.003%203.047-2.934-1.3-2.907-2.907c.026-1.625%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%23631b00'%20d='M19.98%2017.293c1.603.03%203.008%201.16%203.008%202.762s-1.4%203.047-3.008%203.047c-1.607%200-2.933-1.3-2.907-2.907.026-1.624%201.34-2.933%202.907-2.907z'/%3e%3cpath%20fill='%23641b00'%20d='M19.98%2017.297c1.603.03%203.008%201.155%203.008%202.762s-1.405%203.052-3.008%203.052-2.933-1.3-2.907-2.907c.026-1.625%201.34-2.933%202.907-2.907'/%3e%3cpath%20fill='%23661c00'%20d='M19.985%2017.302c1.602.03%203.008%201.154%203.008%202.757s-1.406%203.052-3.008%203.052-2.934-1.3-2.907-2.907c.026-1.625%201.339-2.933%202.907-2.907z'/%3e%3cpath%20fill='%23681c00'%20d='M19.989%2017.306c1.603.03%203.008%201.15%203.008%202.753s-1.405%203.057-3.008%203.057-2.933-1.3-2.903-2.903c.027-1.625%201.34-2.933%202.903-2.903z'/%3e%3cpath%20fill='%23691d00'%20d='M19.989%2017.31c1.603.031%203.012%201.146%203.012%202.754%200%201.607-1.41%203.056-3.012%203.056s-2.933-1.3-2.903-2.903c.027-1.624%201.34-2.933%202.903-2.902z'/%3e%3cpath%20fill='%236b1d00'%20d='M19.993%2017.315c1.603.03%203.013%201.146%203.013%202.749%200%201.602-1.41%203.06-3.013%203.06s-2.933-1.3-2.902-2.902c.026-1.625%201.34-2.934%202.902-2.903z'/%3e%3cpath%20fill='%236d1e00'%20d='M19.998%2017.32c1.603.03%203.012%201.14%203.012%202.744%200%201.602-1.41%203.06-3.012%203.06s-2.934-1.3-2.903-2.902c.03-1.625%201.34-2.934%202.903-2.903Z'/%3e%3cpath%20fill='%236f1e00'%20d='M19.998%2017.323c1.603.031%203.017%201.138%203.017%202.745s-1.414%203.06-3.017%203.06-2.934-1.299-2.903-2.902c.03-1.625%201.34-2.933%202.903-2.902Z'/%3e%3cpath%20fill='%23701f00'%20d='M20.002%2017.328c1.603.035%203.017%201.137%203.017%202.74s-1.414%203.065-3.017%203.065-2.933-1.3-2.902-2.902c.03-1.625%201.343-2.934%202.902-2.903'/%3e%3cpath%20fill='%23721f00'%20d='M20.006%2017.337c1.603.035%203.017%201.133%203.017%202.736%200%201.602-1.414%203.065-3.017%203.065s-2.928-1.3-2.902-2.903c.03-1.625%201.344-2.933%202.902-2.903z'/%3e%3cpath%20fill='%23742000'%20d='M20.01%2017.341c1.604.035%203.018%201.133%203.018%202.736s-1.419%203.07-3.017%203.07-2.93-1.3-2.903-2.903c.031-1.625%201.344-2.934%202.903-2.903Z'/%3e%3cpath%20fill='%23752000'%20d='M20.01%2017.346c1.604.035%203.022%201.128%203.022%202.73%200%201.604-1.418%203.07-3.021%203.07s-2.93-1.3-2.903-2.902c.031-1.625%201.344-2.934%202.903-2.898Z'/%3e%3cpath%20fill='%23772000'%20d='M20.015%2017.35c1.603.035%203.021%201.124%203.021%202.727s-1.418%203.074-3.02%203.074-2.93-1.3-2.899-2.898c.03-1.625%201.344-2.934%202.898-2.899z'/%3e%3cpath%20fill='%23792100'%20d='M20.02%2017.354c1.602.035%203.02%201.124%203.02%202.723s-1.422%203.074-3.02%203.074-2.93-1.3-2.898-2.898c.03-1.625%201.343-2.934%202.898-2.899'/%3e%3cpath%20fill='%237a2100'%20d='M20.02%2017.359c1.598.035%203.025%201.12%203.025%202.722%200%201.603-1.423%203.074-3.025%203.074-1.603%200-2.93-1.3-2.898-2.898.03-1.625%201.343-2.934%202.898-2.898'/%3e%3cpath%20fill='%237c2200'%20d='M20.024%2017.363c1.598.035%203.026%201.12%203.026%202.718%200%201.599-1.423%203.079-3.026%203.079s-2.929-1.3-2.898-2.899c.035-1.624%201.344-2.933%202.898-2.898'/%3e%3cpath%20fill='%237e2200'%20d='M20.029%2017.367c1.598.036%203.025%201.116%203.025%202.714%200%201.599-1.427%203.079-3.025%203.079-1.599%200-2.93-1.3-2.899-2.899.035-1.624%201.344-2.933%202.899-2.898z'/%3e%3cpath%20fill='%23802300'%20d='M20.033%2017.372c1.598.04%203.025%201.11%203.025%202.714%200%201.602-1.427%203.082-3.025%203.082-1.599%200-2.93-1.295-2.898-2.898.035-1.625%201.343-2.933%202.898-2.898'/%3e%3cpath%20fill='%23812300'%20d='M20.033%2017.376c1.598.04%203.03%201.111%203.03%202.71s-1.427%203.082-3.03%203.082-2.93-1.295-2.898-2.898c.035-1.625%201.343-2.933%202.898-2.898z'/%3e%3cpath%20fill='%23832400'%20d='M20.037%2017.385c1.599.04%203.03%201.107%203.03%202.705s-1.431%203.087-3.03%203.087-2.929-1.295-2.898-2.898c.035-1.625%201.348-2.933%202.898-2.898z'/%3e%3cpath%20fill='%23852400'%20d='M20.042%2017.39c1.598.039%203.03%201.106%203.03%202.704s-1.432%203.087-3.03%203.087c-1.599%200-2.93-1.295-2.894-2.893.035-1.625%201.348-2.934%202.894-2.894v-.005Z'/%3e%3cpath%20fill='%23862500'%20d='M20.042%2017.394c1.598.04%203.03%201.102%203.03%202.7s-1.432%203.092-3.03%203.092c-1.599%200-2.93-1.296-2.894-2.894.035-1.625%201.348-2.933%202.894-2.894z'/%3e%3cpath%20fill='%23882500'%20d='M20.046%2017.398c1.599.04%203.035%201.098%203.035%202.696s-1.436%203.092-3.035%203.092c-1.598%200-2.929-1.296-2.894-2.894.035-1.625%201.348-2.933%202.894-2.894'/%3e%3cpath%20fill='%238a2600'%20d='M20.05%2017.403c1.599.04%203.035%201.097%203.035%202.696%200%201.598-1.436%203.091-3.035%203.091-1.598%200-2.928-1.295-2.893-2.894.035-1.624%201.348-2.933%202.893-2.893'/%3e%3cpath%20fill='%238b2600'%20d='M20.055%2017.407c1.598.04%203.034%201.093%203.034%202.692%200%201.598-1.436%203.096-3.034%203.096-1.599%200-2.929-1.296-2.894-2.894.035-1.625%201.348-2.934%202.894-2.894'/%3e%3cpath%20fill='%238d2600'%20d='M20.055%2017.411c1.598.04%203.039%201.09%203.039%202.688s-1.44%203.096-3.04%203.096c-1.598%200-2.928-1.296-2.893-2.894.04-1.625%201.348-2.934%202.894-2.894z'/%3e%3cpath%20fill='%238f2700'%20d='M20.06%2017.416c1.598.044%203.038%201.089%203.038%202.687%200%201.599-1.44%203.1-3.039%203.1-1.598%200-2.929-1.295-2.893-2.893.039-1.625%201.348-2.934%202.893-2.894Z'/%3e%3cpath%20fill='%23912700'%20d='M20.064%2017.42c1.598.044%203.038%201.085%203.038%202.683%200%201.599-1.44%203.1-3.038%203.1-1.599%200-2.93-1.295-2.894-2.893.04-1.625%201.348-2.934%202.894-2.894z'/%3e%3cpath%20fill='%23922800'%20d='M20.064%2017.424c1.594.044%203.038%201.085%203.038%202.68%200%201.593-1.444%203.104-3.038%203.104s-2.93-1.296-2.89-2.89c.04-1.624%201.348-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23942800'%20d='M20.068%2017.433c1.594.044%203.043%201.08%203.043%202.679s-1.445%203.105-3.043%203.105-2.929-1.296-2.89-2.89c.04-1.625%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23962900'%20d='M20.072%2017.438c1.595.044%203.044%201.076%203.044%202.674s-1.445%203.109-3.044%203.109-2.928-1.295-2.889-2.89c.04-1.624%201.352-2.933%202.89-2.889v-.004Z'/%3e%3cpath%20fill='%23972900'%20d='M20.077%2017.442c1.594.044%203.043%201.076%203.043%202.67s-1.45%203.109-3.043%203.109-2.93-1.295-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.889'/%3e%3cpath%20fill='%23992a00'%20d='M20.077%2017.447c1.594.043%203.043%201.071%203.043%202.67s-1.45%203.108-3.043%203.108-2.93-1.295-2.89-2.89c.04-1.624%201.353-2.932%202.89-2.889Z'/%3e%3cpath%20fill='%239b2a00'%20d='M20.081%2017.45c1.594.045%203.048%201.072%203.048%202.666s-1.45%203.114-3.048%203.114-2.929-1.296-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.89'/%3e%3cpath%20fill='%239c2b00'%20d='M20.086%2017.455c1.594.044%203.047%201.067%203.047%202.661s-1.453%203.114-3.047%203.114-2.93-1.296-2.89-2.89c.04-1.624%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%239e2b00'%20d='M20.086%2017.46c1.594.048%203.047%201.062%203.047%202.66%200%201.6-1.453%203.119-3.047%203.119s-2.93-1.296-2.89-2.89c.044-1.625%201.353-2.933%202.89-2.89Z'/%3e%3cpath%20fill='%23a02c00'%20d='M20.09%2017.464c1.594.048%203.052%201.063%203.052%202.657s-1.454%203.118-3.052%203.118-2.929-1.296-2.89-2.89c.044-1.625%201.353-2.933%202.89-2.89z'/%3e%3cpath%20fill='%23a22c00'%20d='M20.094%2017.468c1.594.049%203.052%201.059%203.052%202.653s-1.458%203.122-3.052%203.122-2.929-1.291-2.885-2.885c.044-1.625%201.353-2.934%202.885-2.885z'/%3e%3cpath%20fill='%23a32d00'%20d='M20.099%2017.477c1.594.049%203.052%201.054%203.052%202.648s-1.458%203.122-3.052%203.122-2.93-1.29-2.885-2.885c.044-1.624%201.352-2.933%202.885-2.885'/%3e%3cpath%20fill='%23a52d00'%20d='M20.099%2017.482c1.594.048%203.052%201.053%203.052%202.648%200%201.594-1.458%203.126-3.052%203.126s-2.93-1.29-2.885-2.885c.044-1.625%201.352-2.933%202.885-2.885z'/%3e%3cpath%20fill='%23a72d00'%20d='M20.103%2017.486c1.594.048%203.056%201.05%203.056%202.643%200%201.595-1.462%203.127-3.056%203.127s-2.929-1.29-2.885-2.885c.044-1.625%201.357-2.933%202.885-2.885'/%3e%3cpath%20fill='%23a82e00'%20d='M20.108%2017.49c1.594.049%203.056%201.05%203.056%202.64s-1.462%203.126-3.056%203.126-2.93-1.29-2.886-2.885c.044-1.625%201.357-2.933%202.886-2.885z'/%3e%3cpath%20fill='%23aa2e00'%20d='M20.108%2017.495c1.594.048%203.056%201.045%203.056%202.639s-1.462%203.13-3.056%203.13-2.93-1.29-2.886-2.884c.044-1.625%201.357-2.933%202.886-2.885'/%3e%3cpath%20fill='%23ac2f00'%20d='M20.112%2017.5c1.59.047%203.056%201.04%203.056%202.634s-1.466%203.13-3.056%203.13-2.929-1.29-2.885-2.884c.044-1.625%201.357-2.933%202.885-2.885v.004Z'/%3e%3cpath%20fill='%23ad2f00'%20d='M20.116%2017.504c1.59.052%203.061%201.04%203.061%202.63s-1.467%203.135-3.06%203.135c-1.595%200-2.93-1.29-2.886-2.885.044-1.625%201.357-2.933%202.885-2.885z'/%3e%3cpath%20fill='%23af3000'%20d='M20.12%2017.508c1.59.053%203.061%201.036%203.061%202.63s-1.466%203.136-3.06%203.136-2.93-1.291-2.881-2.881c.048-1.625%201.357-2.933%202.88-2.88z'/%3e%3cpath%20fill='%23b13000'%20d='M20.12%2017.512c1.59.053%203.061%201.037%203.061%202.626%200%201.59-1.47%203.14-3.06%203.14s-2.93-1.291-2.881-2.88c.048-1.625%201.357-2.934%202.88-2.881z'/%3e%3cpath%20fill='%23b33100'%20d='M20.125%2017.517c1.59.052%203.065%201.032%203.065%202.621%200%201.59-1.47%203.14-3.065%203.14s-2.929-1.291-2.88-2.88c.048-1.625%201.356-2.934%202.88-2.881'/%3e%3cpath%20fill='%23b43100'%20d='M20.13%2017.526c1.59.052%203.065%201.027%203.065%202.621s-1.471%203.14-3.066%203.14-2.928-1.291-2.88-2.88c.048-1.626%201.357-2.934%202.88-2.881Z'/%3e%3cpath%20fill='%23b63200'%20d='M20.13%2017.53c1.59.053%203.065%201.027%203.065%202.617s-1.476%203.144-3.066%203.144-2.928-1.29-2.88-2.88c.048-1.625%201.357-2.934%202.88-2.881Z'/%3e%3cpath%20fill='%23b83200'%20d='M20.134%2017.534c1.59.053%203.065%201.024%203.065%202.613%200%201.59-1.476%203.144-3.065%203.144-1.59%200-2.93-1.29-2.88-2.88.047-1.625%201.356-2.934%202.88-2.881z'/%3e%3cpath%20fill='%23b93300'%20d='M20.138%2017.539c1.59.052%203.07%201.018%203.07%202.612s-1.48%203.149-3.07%203.149-2.929-1.291-2.88-2.88c.048-1.63%201.36-2.934%202.88-2.881'/%3e%3cpath%20fill='%23b30'%20d='M23.212%2020.151c0%201.59-1.48%203.149-3.07%203.149s-2.928-1.291-2.88-2.88c.048-1.63%201.361-2.934%202.88-2.881%201.59.057%203.07%201.018%203.07%202.608v.005Z'/%3e%3cpath%20fill='%23bc3502'%20d='M20.143%2017.547c1.59.053%203.07%201.02%203.07%202.613%200%201.594-1.476%203.149-3.07%203.149s-2.93-1.291-2.881-2.88c.048-1.626%201.361-2.93%202.88-2.881Z'%20opacity='.99'/%3e%3cpath%20fill='%23bc3705'%20d='M20.147%2017.552c1.59.053%203.065%201.023%203.065%202.613s-1.475%203.144-3.065%203.144-2.924-1.291-2.88-2.88c.048-1.626%201.356-2.93%202.88-2.881z'%20opacity='.98'/%3e%3cpath%20fill='%23bd3907'%20d='M20.147%2017.552c1.59.053%203.065%201.027%203.065%202.617s-1.475%203.144-3.065%203.144-2.924-1.29-2.88-2.88c.048-1.625%201.356-2.93%202.88-2.881'%20opacity='.97'/%3e%3cpath%20fill='%23bd3a09'%20d='M20.151%2017.556c1.59.053%203.061%201.028%203.061%202.617%200%201.59-1.47%203.14-3.06%203.14s-2.925-1.29-2.881-2.88c.048-1.625%201.357-2.93%202.88-2.881z'%20opacity='.96'/%3e%3cpath%20fill='%23be3c0c'%20d='M20.151%2017.56c1.59.053%203.061%201.033%203.061%202.622%200%201.59-1.47%203.136-3.06%203.136s-2.925-1.291-2.881-2.881c.048-1.625%201.357-2.929%202.88-2.88v.004Z'%20opacity='.95'/%3e%3cpath%20fill='%23bf3e0e'%20d='M20.156%2017.565c1.59.053%203.06%201.032%203.06%202.622s-1.466%203.135-3.06%203.135-2.925-1.291-2.88-2.88c.047-1.625%201.356-2.93%202.88-2.881z'%20opacity='.95'/%3e%3cpath%20fill='%23bf4010'%20d='M20.16%2017.57c1.59.052%203.057%201.036%203.057%202.625%200%201.59-1.467%203.131-3.057%203.131s-2.924-1.29-2.88-2.88c.048-1.625%201.357-2.93%202.88-2.881z'%20opacity='.94'/%3e%3cpath%20fill='%23c04213'%20d='M20.16%2017.574c1.59.052%203.057%201.036%203.057%202.626s-1.467%203.13-3.057%203.13-2.924-1.29-2.88-2.88c.043-1.625%201.352-2.929%202.88-2.88z'%20opacity='.93'/%3e%3cpath%20fill='%23c14415'%20d='M20.165%2017.578c1.59.049%203.052%201.041%203.052%202.63%200%201.59-1.463%203.127-3.052%203.127-1.59%200-2.925-1.29-2.881-2.88.044-1.625%201.353-2.93%202.88-2.881v.004Z'%20opacity='.92'/%3e%3cpath%20fill='%23c14617'%20d='M20.165%2017.578c1.59.049%203.052%201.041%203.052%202.635s-1.463%203.127-3.052%203.127c-1.59%200-2.925-1.291-2.881-2.881.044-1.625%201.353-2.925%202.88-2.88Z'%20opacity='.91'/%3e%3cpath%20fill='%23c24719'%20d='M20.17%2017.583c1.589.048%203.051%201.045%203.051%202.634%200%201.59-1.462%203.123-3.052%203.123s-2.925-1.291-2.88-2.881c.043-1.625%201.352-2.925%202.88-2.88z'%20opacity='.9'/%3e%3cpath%20fill='%23c2491c'%20d='M20.169%2017.587c1.59.048%203.047%201.05%203.047%202.64%200%201.589-1.457%203.121-3.047%203.121s-2.92-1.29-2.88-2.88c.043-1.625%201.352-2.925%202.88-2.881'%20opacity='.89'/%3e%3cpath%20fill='%23c34b1e'%20d='M20.173%2017.591c1.59.049%203.048%201.05%203.048%202.64s-1.458%203.117-3.048%203.117-2.92-1.29-2.88-2.88c.044-1.625%201.352-2.925%202.88-2.881z'%20opacity='.88'/%3e%3cpath%20fill='%23c44d20'%20d='M20.173%2017.596c1.59.048%203.044%201.054%203.044%202.643%200%201.59-1.454%203.114-3.044%203.114s-2.92-1.291-2.88-2.88c.044-1.621%201.352-2.925%202.88-2.882z'%20opacity='.87'/%3e%3cpath%20fill='%23c44f23'%20d='M20.178%2017.6c1.59.048%203.043%201.054%203.043%202.644s-1.454%203.113-3.043%203.113-2.92-1.29-2.88-2.88c.043-1.62%201.347-2.925%202.88-2.881z'%20opacity='.86'/%3e%3cpath%20fill='%23c55125'%20d='M20.182%2017.6c1.59.048%203.043%201.058%203.043%202.648s-1.453%203.11-3.043%203.11-2.92-1.292-2.88-2.881c.043-1.62%201.348-2.925%202.88-2.881z'%20opacity='.85'/%3e%3cpath%20fill='%23c65327'%20d='M20.182%2017.605c1.59.048%203.039%201.058%203.039%202.648s-1.45%203.108-3.039%203.108-2.92-1.29-2.88-2.88c.043-1.62%201.348-2.925%202.88-2.88z'%20opacity='.85'/%3e%3cpath%20fill='%23c6542a'%20d='M20.187%2017.609c1.59.044%203.038%201.063%203.038%202.652s-1.449%203.105-3.038%203.105c-1.59%200-2.92-1.291-2.881-2.88.04-1.621%201.348-2.925%202.88-2.881v.004Z'%20opacity='.84'/%3e%3cpath%20fill='%23c7562c'%20d='M20.187%2017.613c1.59.044%203.034%201.063%203.034%202.657s-1.445%203.105-3.034%203.105c-1.59%200-2.92-1.291-2.881-2.881.04-1.62%201.348-2.92%202.88-2.88Z'%20opacity='.83'/%3e%3cpath%20fill='%23c7582e'%20d='M20.191%2017.618c1.59.044%203.034%201.067%203.034%202.657s-1.444%203.1-3.034%203.1-2.92-1.291-2.88-2.881c.039-1.62%201.347-2.92%202.88-2.88z'%20opacity='.82'/%3e%3cpath%20fill='%23c85a31'%20d='M20.191%2017.622c1.59.044%203.034%201.072%203.034%202.661%200%201.59-1.444%203.096-3.034%203.096s-2.92-1.291-2.88-2.88c.039-1.621%201.347-2.92%202.88-2.881z'%20opacity='.81'/%3e%3cpath%20fill='%23c95c33'%20d='M20.195%2017.622c1.59.044%203.03%201.072%203.03%202.661%200%201.59-1.44%203.096-3.03%203.096s-2.915-1.291-2.88-2.88c.04-1.621%201.343-2.92%202.88-2.881z'%20opacity='.8'/%3e%3cpath%20fill='%23c95e35'%20d='M20.195%2017.627c1.59.043%203.03%201.075%203.03%202.665s-1.44%203.091-3.03%203.091-2.915-1.29-2.88-2.88c.04-1.62%201.343-2.92%202.88-2.88z'%20opacity='.79'/%3e%3cpath%20fill='%23ca6038'%20d='M20.2%2017.63c1.59.045%203.025%201.077%203.025%202.666%200%201.59-1.436%203.092-3.025%203.092-1.59%200-2.916-1.291-2.88-2.88.039-1.621%201.343-2.921%202.88-2.881v.004Z'%20opacity='.78'/%3e%3cpath%20fill='%23ca613a'%20d='M20.204%2017.635c1.59.044%203.026%201.08%203.026%202.67s-1.436%203.087-3.026%203.087-2.916-1.29-2.88-2.88c.04-1.62%201.343-2.92%202.88-2.881z'%20opacity='.77'/%3e%3cpath%20fill='%23cb633c'%20d='M20.204%2017.64c1.59.044%203.026%201.08%203.026%202.674s-1.436%203.087-3.026%203.087-2.916-1.291-2.88-2.88c.04-1.621%201.343-2.92%202.88-2.881'%20opacity='.76'/%3e%3cpath%20fill='%23cc653f'%20d='M20.209%2017.644c1.59.04%203.02%201.085%203.02%202.674%200%201.59-1.43%203.083-3.02%203.083s-2.916-1.291-2.881-2.88c.04-1.617%201.344-2.92%202.88-2.881v.004Z'%20opacity='.75'/%3e%3cpath%20fill='%23cc6741'%20d='M20.209%2017.644c1.59.04%203.02%201.09%203.02%202.679%200%201.59-1.43%203.082-3.02%203.082s-2.916-1.29-2.881-2.88c.035-1.616%201.344-2.92%202.88-2.88Z'%20opacity='.75'/%3e%3cpath%20fill='%23cd6943'%20d='M20.213%2017.648c1.59.04%203.021%201.09%203.021%202.68%200%201.589-1.427%203.077-3.021%203.077s-2.916-1.29-2.88-2.88c.035-1.616%201.339-2.916%202.88-2.88z'%20opacity='.74'/%3e%3cpath%20fill='%23ce6b46'%20d='M20.213%2017.653c1.59.04%203.017%201.093%203.017%202.683s-1.427%203.074-3.017%203.074-2.916-1.291-2.88-2.88c.035-1.617%201.339-2.917%202.88-2.882z'%20opacity='.73'/%3e%3cpath%20fill='%23ce6c48'%20d='M20.217%2017.657c1.59.04%203.017%201.094%203.017%202.683%200%201.59-1.427%203.074-3.017%203.074s-2.915-1.29-2.88-2.88c.035-1.616%201.34-2.916%202.88-2.881z'%20opacity='.72'/%3e%3cpath%20fill='%23cf6e4a'%20d='M20.222%2017.662c1.59.04%203.012%201.098%203.012%202.687%200%201.59-1.423%203.07-3.012%203.07-1.59%200-2.912-1.291-2.881-2.881.035-1.616%201.34-2.916%202.88-2.88v.004Z'%20opacity='.71'/%3e%3cpath%20fill='%23cf704c'%20d='M20.222%2017.666c1.59.04%203.012%201.098%203.012%202.688s-1.423%203.069-3.012%203.069c-1.59%200-2.912-1.291-2.881-2.88.035-1.617%201.34-2.916%202.88-2.881v.004Z'%20opacity='.7'/%3e%3cpath%20fill='%23d0724f'%20d='M20.226%2017.67c1.59.04%203.012%201.103%203.012%202.692s-1.418%203.065-3.012%203.065-2.911-1.29-2.88-2.88c.035-1.616%201.339-2.916%202.88-2.881z'%20opacity='.69'/%3e%3cpath%20fill='%23d17451'%20d='M20.226%2017.67c1.59.04%203.008%201.103%203.008%202.697s-1.418%203.065-3.008%203.065-2.911-1.291-2.88-2.88c.035-1.617%201.339-2.917%202.88-2.882'%20opacity='.68'/%3e%3cpath%20fill='%23d17653'%20d='M20.23%2017.675c1.59.035%203.008%201.106%203.008%202.696s-1.418%203.06-3.008%203.06-2.911-1.29-2.88-2.88c.035-1.616%201.335-2.916%202.88-2.88z'%20opacity='.67'/%3e%3cpath%20fill='%23d27856'%20d='M20.23%2017.68c1.59.034%203.004%201.11%203.004%202.7s-1.414%203.06-3.004%203.06-2.911-1.29-2.88-2.88c.035-1.616%201.335-2.916%202.88-2.88'%20opacity='.66'/%3e%3cpath%20fill='%23d27958'%20d='M20.235%2017.684c1.59.035%203.003%201.11%203.003%202.7s-1.413%203.057-3.003%203.057-2.912-1.291-2.88-2.881c.03-1.616%201.334-2.912%202.88-2.88z'%20opacity='.65'/%3e%3cpath%20fill='%23d37b5a'%20d='M20.235%2017.688c1.59.035%203.003%201.115%203.003%202.705s-1.41%203.052-3.003%203.052-2.912-1.291-2.88-2.88c.03-1.617%201.334-2.912%202.88-2.881z'%20opacity='.65'/%3e%3cpath%20fill='%23d47d5d'%20d='M20.24%2017.692c1.589.035%202.998%201.116%202.998%202.705%200%201.59-1.41%203.052-2.999%203.052s-2.911-1.29-2.88-2.88c.03-1.612%201.334-2.912%202.88-2.881z'%20opacity='.64'/%3e%3cpath%20fill='%23d47f5f'%20d='M20.244%2017.692c1.59.035%202.999%201.12%202.999%202.71s-1.41%203.047-3%203.047c-1.589%200-2.91-1.29-2.88-2.88.03-1.612%201.335-2.912%202.88-2.881v.004Z'%20opacity='.63'/%3e%3cpath%20fill='%23d58161'%20d='M20.244%2017.697c1.59.035%202.995%201.12%202.995%202.71s-1.406%203.047-2.995%203.047-2.907-1.291-2.88-2.88c.03-1.613%201.33-2.912%202.88-2.882z'%20opacity='.62'/%3e%3cpath%20fill='%23d68364'%20d='M20.248%2017.701c1.59.035%202.995%201.124%202.995%202.714s-1.405%203.043-2.995%203.043-2.907-1.29-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.61'/%3e%3cpath%20fill='%23d68566'%20d='M20.248%2017.706c1.59.035%202.995%201.128%202.995%202.718s-1.405%203.043-2.995%203.043-2.907-1.291-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881'%20opacity='.6'/%3e%3cpath%20fill='%23d78668'%20d='M20.252%2017.71c1.59.03%202.99%201.128%202.99%202.718s-1.4%203.039-2.99%203.039-2.907-1.291-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.59'/%3e%3cpath%20fill='%23d7886b'%20d='M20.252%2017.714c1.59.031%202.99%201.133%202.99%202.723s-1.4%203.034-2.99%203.034-2.907-1.29-2.88-2.88c.03-1.612%201.33-2.912%202.88-2.881z'%20opacity='.58'/%3e%3cpath%20fill='%23d88a6d'%20d='M20.257%2017.714c1.59.031%202.986%201.133%202.986%202.723s-1.397%203.034-2.986%203.034-2.907-1.29-2.88-2.88c.026-1.612%201.33-2.907%202.88-2.881z'%20opacity='.57'/%3e%3cpath%20fill='%23d98c6f'%20d='M20.257%2017.719c1.59.03%202.986%201.137%202.986%202.727s-1.397%203.03-2.986%203.03-2.907-1.291-2.88-2.881c.026-1.612%201.33-2.907%202.88-2.88z'%20opacity='.56'/%3e%3cpath%20fill='%23d98e72'%20d='M20.261%2017.723c1.59.03%202.986%201.137%202.986%202.727s-1.396%203.03-2.986%203.03-2.907-1.291-2.88-2.88c.026-1.612%201.326-2.908%202.88-2.881z'%20opacity='.55'/%3e%3cpath%20fill='%23da9074'%20d='M20.266%2017.727c1.59.031%202.981%201.142%202.981%202.732s-1.392%203.026-2.981%203.026c-1.59%200-2.907-1.292-2.881-2.881.026-1.612%201.326-2.907%202.88-2.88v.003Z'%20opacity='.55'/%3e%3cpath%20fill='%23db9276'%20d='M20.266%2017.732c1.59.03%202.981%201.142%202.981%202.736s-1.392%203.025-2.981%203.025c-1.59%200-2.907-1.29-2.881-2.88.026-1.612%201.326-2.907%202.88-2.881Z'%20opacity='.54'/%3e%3cpath%20fill='%23db9379'%20d='M20.27%2017.736c1.59.031%202.977%201.146%202.977%202.736s-1.387%203.021-2.977%203.021-2.903-1.29-2.88-2.88c.026-1.612%201.325-2.907%202.88-2.881z'%20opacity='.53'/%3e%3cpath%20fill='%23dc957b'%20d='M20.27%2017.736c1.59.027%202.977%201.15%202.977%202.74s-1.387%203.022-2.977%203.022-2.903-1.291-2.88-2.881c.026-1.607%201.325-2.907%202.88-2.88Z'%20opacity='.52'/%3e%3cpath%20fill='%23dc977d'%20d='M20.274%2017.74c1.59.027%202.978%201.151%202.978%202.74s-1.388%203.018-2.978%203.018-2.902-1.291-2.88-2.881c.026-1.607%201.326-2.907%202.88-2.88v.004Z'%20opacity='.51'/%3e%3cpath%20fill='%23dd9980'%20d='M20.274%2017.745c1.59.026%202.973%201.155%202.973%202.745s-1.383%203.012-2.973%203.012-2.902-1.291-2.88-2.88c.026-1.608%201.326-2.908%202.88-2.881z'%20opacity='.5'/%3e%3cpath%20fill='%23de9b82'%20d='M20.279%2017.75c1.59.026%202.973%201.154%202.973%202.744s-1.384%203.012-2.973%203.012c-1.59%200-2.903-1.29-2.88-2.88.025-1.607%201.32-2.903%202.88-2.88z'%20opacity='.49'/%3e%3cpath%20fill='%23de9d84'%20d='M20.279%2017.754c1.59.026%202.968%201.16%202.968%202.749s-1.379%203.008-2.968%203.008c-1.59%200-2.903-1.291-2.88-2.88.021-1.608%201.32-2.904%202.88-2.881z'%20opacity='.48'/%3e%3cpath%20fill='%23df9f86'%20d='M20.283%2017.758c1.59.027%202.969%201.16%202.969%202.75%200%201.589-1.38%203.007-2.969%203.007-1.59%200-2.902-1.29-2.88-2.88.021-1.608%201.321-2.903%202.88-2.881z'%20opacity='.47'/%3e%3cpath%20fill='%23dfa089'%20d='M20.288%2017.758c1.59.027%202.968%201.164%202.968%202.754s-1.379%203.003-2.968%203.003c-1.59%200-2.903-1.29-2.881-2.88.022-1.608%201.322-2.903%202.88-2.881v.004Z'%20opacity='.46'/%3e%3cpath%20fill='%23e0a28b'%20d='M20.288%2017.763c1.59.026%202.964%201.163%202.964%202.757s-1.375%203.004-2.964%203.004c-1.59%200-2.903-1.291-2.881-2.88.022-1.608%201.322-2.903%202.88-2.881Z'%20opacity='.45'/%3e%3cpath%20fill='%23e1a48d'%20d='M20.292%2017.767c1.59.026%202.964%201.168%202.964%202.758s-1.374%202.999-2.964%202.999-2.903-1.291-2.88-2.88c.021-1.608%201.321-2.903%202.88-2.881z'%20opacity='.45'/%3e%3cpath%20fill='%23e1a690'%20d='M20.292%2017.771c1.59.022%202.964%201.173%202.964%202.762%200%201.59-1.37%203-2.964%203s-2.898-1.291-2.88-2.88c.021-1.608%201.321-2.903%202.88-2.882'%20opacity='.44'/%3e%3cpath%20fill='%23e2a892'%20d='M20.296%2017.776c1.59.022%202.96%201.172%202.96%202.762s-1.37%202.995-2.96%202.995-2.898-1.291-2.88-2.88c.022-1.608%201.317-2.903%202.88-2.882z'%20opacity='.43'/%3e%3cpath%20fill='%23e3aa94'%20d='M20.296%2017.78c1.59.022%202.96%201.177%202.96%202.767s-1.37%202.99-2.96%202.99-2.898-1.29-2.88-2.88c.022-1.608%201.317-2.903%202.88-2.881z'%20opacity='.42'/%3e%3cpath%20fill='%23e3ac97'%20d='M20.3%2017.785c1.59.022%202.956%201.177%202.956%202.766%200%201.59-1.366%202.99-2.955%202.99-1.59%200-2.898-1.29-2.88-2.88.021-1.607%201.317-2.898%202.88-2.88v.004Z'%20opacity='.41'/%3e%3cpath%20fill='%23e4ad99'%20d='M20.305%2017.785c1.59.022%202.956%201.18%202.956%202.77s-1.366%202.987-2.956%202.987-2.898-1.292-2.88-2.881c.021-1.603%201.317-2.898%202.88-2.88z'%20opacity='.4'/%3e%3cpath%20fill='%23e4af9b'%20d='M20.305%2017.789c1.59.022%202.956%201.181%202.956%202.77%200%201.59-1.362%202.987-2.956%202.987s-2.898-1.291-2.88-2.88c.017-1.604%201.317-2.899%202.88-2.881z'%20opacity='.39'/%3e%3cpath%20fill='%23e5b19e'%20d='M20.31%2017.793c1.59.022%202.95%201.186%202.95%202.776s-1.36%202.981-2.95%202.981-2.899-1.29-2.881-2.88c.018-1.603%201.317-2.899%202.88-2.881v.004Z'%20opacity='.38'/%3e%3cpath%20fill='%23e6b3a0'%20d='M20.31%2017.798c1.59.022%202.95%201.19%202.95%202.78s-1.36%202.981-2.95%202.981-2.899-1.29-2.881-2.88c.018-1.603%201.317-2.899%202.88-2.881Z'%20opacity='.37'/%3e%3cpath%20fill='%23e6b5a2'%20d='M20.314%2017.802c1.59.022%202.947%201.19%202.947%202.78s-1.357%202.977-2.947%202.977-2.898-1.29-2.88-2.88c.017-1.603%201.312-2.899%202.88-2.881z'%20opacity='.36'/%3e%3cpath%20fill='%23e7b7a5'%20d='M20.314%2017.807c1.59.017%202.947%201.194%202.947%202.784s-1.357%202.973-2.947%202.973-2.898-1.291-2.88-2.881c.017-1.603%201.312-2.898%202.88-2.88z'%20opacity='.35'/%3e%3cpath%20fill='%23e8b9a7'%20d='M20.318%2017.807c1.59.017%202.947%201.194%202.947%202.784s-1.353%202.973-2.947%202.973-2.894-1.291-2.88-2.881c.017-1.603%201.313-2.898%202.88-2.88z'%20opacity='.35'/%3e%3cpath%20fill='%23e8baa9'%20d='M20.318%2017.811c1.59.017%202.942%201.199%202.942%202.788%200%201.59-1.352%202.969-2.942%202.969s-2.894-1.291-2.88-2.88c.017-1.604%201.313-2.899%202.88-2.881z'%20opacity='.34'/%3e%3cpath%20fill='%23e9bcac'%20d='M20.323%2017.815c1.59.018%202.942%201.2%202.942%202.789s-1.353%202.968-2.942%202.968-2.894-1.29-2.88-2.88c.017-1.603%201.312-2.899%202.88-2.881z'%20opacity='.33'/%3e%3cpath%20fill='%23e9beae'%20d='M20.327%2017.82c1.59.017%202.938%201.203%202.938%202.793s-1.348%202.964-2.938%202.964-2.894-1.291-2.88-2.881c.017-1.603%201.312-2.894%202.88-2.88z'%20opacity='.32'/%3e%3cpath%20fill='%23eac0b0'%20d='M20.327%2017.824c1.59.018%202.938%201.203%202.938%202.797s-1.348%202.965-2.938%202.965-2.894-1.292-2.88-2.881c.013-1.603%201.312-2.894%202.88-2.88Z'%20opacity='.31'/%3e%3cpath%20fill='%23ebc2b3'%20d='M20.331%2017.828c1.59.018%202.938%201.208%202.938%202.798s-1.343%202.96-2.938%202.96c-1.594%200-2.893-1.292-2.88-2.881.013-1.603%201.308-2.894%202.88-2.88z'%20opacity='.3'/%3e%3cpath%20fill='%23ebc4b5'%20d='M20.331%2017.828c1.59.018%202.934%201.213%202.934%202.802%200%201.59-1.344%202.96-2.934%202.96s-2.893-1.291-2.88-2.88c.013-1.604%201.308-2.895%202.88-2.882'%20opacity='.29'/%3e%3cpath%20fill='%23ecc6b7'%20d='M20.336%2017.833c1.59.018%202.933%201.212%202.933%202.802s-1.343%202.955-2.933%202.955-2.894-1.291-2.88-2.88c.012-1.6%201.308-2.895%202.88-2.882z'%20opacity='.28'/%3e%3cpath%20fill='%23ecc7b9'%20d='M20.336%2017.837c1.59.014%202.929%201.217%202.929%202.806%200%201.59-1.34%202.951-2.93%202.951-1.589%200-2.893-1.29-2.88-2.88.013-1.599%201.309-2.894%202.88-2.881v.004Z'%20opacity='.27'/%3e%3cpath%20fill='%23edc9bc'%20d='M20.34%2017.842c1.59.013%202.93%201.216%202.93%202.806s-1.34%202.95-2.93%202.95-2.894-1.29-2.88-2.88c.013-1.598%201.308-2.894%202.88-2.88z'%20opacity='.26'/%3e%3cpath%20fill='%23eecbbe'%20d='M20.34%2017.846c1.59.013%202.93%201.22%202.93%202.81s-1.34%202.947-2.93%202.947-2.89-1.291-2.88-2.88c.013-1.6%201.308-2.895%202.88-2.881z'%20opacity='.25'/%3e%3cpath%20fill='%23eecdc0'%20d='M20.345%2017.85c1.59.014%202.924%201.221%202.924%202.81%200%201.59-1.335%202.947-2.924%202.947-1.59%200-2.89-1.29-2.881-2.88.013-1.599%201.304-2.894%202.88-2.88v.003Z'%20opacity='.25'/%3e%3cpath%20fill='%23efcfc3'%20d='M20.35%2017.85c1.589.014%202.924%201.226%202.924%202.815%200%201.59-1.335%202.942-2.925%202.942s-2.89-1.29-2.88-2.88c.013-1.599%201.304-2.89%202.88-2.88v.003Z'%20opacity='.24'/%3e%3cpath%20fill='%23f0d1c5'%20d='M20.35%2017.855c1.589.013%202.92%201.23%202.92%202.82s-1.331%202.941-2.92%202.941c-1.59%200-2.89-1.29-2.882-2.88.014-1.599%201.305-2.89%202.881-2.881Z'%20opacity='.23'/%3e%3cpath%20fill='%23f0d2c7'%20d='M20.354%2017.86c1.59.012%202.92%201.229%202.92%202.819s-1.33%202.937-2.92%202.937-2.89-1.29-2.881-2.88c.009-1.599%201.304-2.89%202.88-2.881v.004Z'%20opacity='.22'/%3e%3cpath%20fill='%23f1d4ca'%20d='M20.354%2017.864c1.59.013%202.92%201.234%202.92%202.823%200%201.59-1.33%202.938-2.92%202.938s-2.89-1.291-2.881-2.88c.009-1.6%201.304-2.89%202.88-2.881Z'%20opacity='.21'/%3e%3cpath%20fill='%23f1d6cc'%20d='M20.358%2017.868c1.59.013%202.916%201.234%202.916%202.824s-1.326%202.933-2.916%202.933-2.89-1.291-2.88-2.88c.008-1.6%201.303-2.89%202.88-2.881z'%20opacity='.2'/%3e%3cpath%20fill='%23f2d8ce'%20d='M20.358%2017.872c1.59.01%202.916%201.239%202.916%202.828%200%201.59-1.326%202.93-2.916%202.93s-2.89-1.292-2.88-2.881c.008-1.599%201.303-2.89%202.88-2.881z'%20opacity='.19'/%3e%3cpath%20fill='%23f3dad1'%20d='M20.362%2017.872c1.59.01%202.912%201.239%202.912%202.828%200%201.59-1.322%202.93-2.912%202.93s-2.89-1.292-2.88-2.881c.008-1.599%201.3-2.89%202.88-2.881z'%20opacity='.18'/%3e%3cpath%20fill='%23f3dcd3'%20d='M20.367%2017.877c1.59.009%202.911%201.243%202.911%202.832%200%201.59-1.322%202.925-2.911%202.925-1.59%200-2.89-1.291-2.881-2.88.009-1.6%201.3-2.89%202.88-2.882v.005Z'%20opacity='.17'/%3e%3cpath%20fill='%23f4ded5'%20d='M20.367%2017.881c1.59.009%202.911%201.243%202.911%202.837s-1.322%202.925-2.911%202.925a2.88%202.88%200%200%201-2.881-2.881c.009-1.594%201.3-2.89%202.88-2.88Z'%20opacity='.16'/%3e%3cpath%20fill='%23f4dfd8'%20d='M20.371%2017.886c1.59.008%202.907%201.247%202.907%202.836%200%201.59-1.317%202.92-2.907%202.92a2.88%202.88%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.88z'%20opacity='.15'/%3e%3cpath%20fill='%23f5e1da'%20d='M20.371%2017.89c1.59.009%202.907%201.252%202.907%202.841s-1.317%202.92-2.907%202.92a2.88%202.88%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.881'%20opacity='.15'/%3e%3cpath%20fill='%23f6e3dc'%20d='M20.375%2017.894c1.59.01%202.907%201.252%202.907%202.841s-1.313%202.916-2.907%202.916a2.877%202.877%200%200%201-2.88-2.88c.008-1.594%201.3-2.885%202.88-2.881z'%20opacity='.14'/%3e%3cpath%20fill='%23f6e5df'%20d='M20.375%2017.899c1.59.009%202.903%201.256%202.903%202.845s-1.313%202.912-2.903%202.912a2.88%202.88%200%200%201-2.88-2.88%202.885%202.885%200%200%201%202.88-2.882z'%20opacity='.13'/%3e%3cpath%20fill='%23f7e7e1'%20d='M20.38%2017.899c1.59.004%202.902%201.256%202.902%202.845s-1.313%202.912-2.902%202.912a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.882z'%20opacity='.12'/%3e%3cpath%20fill='%23f8e9e3'%20d='M20.38%2017.903c1.59.005%202.898%201.26%202.898%202.85S21.97%2023.66%2020.38%2023.66a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.881z'%20opacity='.11'/%3e%3cpath%20fill='%23f8ebe6'%20d='M20.384%2017.908c1.59.004%202.898%201.26%202.898%202.85s-1.308%202.907-2.898%202.907a2.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88z'%20opacity='.1'/%3e%3cpath%20fill='%23f9ece8'%20d='M20.389%2017.912c1.59.004%202.898%201.265%202.898%202.854a2.913%202.913%200%200%201-2.898%202.903%202.877%202.877%200%200%201-2.881-2.88%202.88%202.88%200%200%201%202.88-2.881v.004Z'%20opacity='.09'/%3e%3cpath%20fill='%23f9eeea'%20d='M20.389%2017.916c1.59.005%202.893%201.265%202.893%202.86a2.91%202.91%200%200%201-2.893%202.902%202.88%202.88%200%201%201%200-5.761Z'%20opacity='.08'/%3e%3cpath%20fill='%23faf0ec'%20d='M20.393%2017.92c1.59%200%202.894%201.27%202.894%202.86a2.91%202.91%200%200%201-2.894%202.898%202.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88v.004Z'%20opacity='.07'/%3e%3cpath%20fill='%23fbf2ef'%20d='M20.393%2017.92c1.59%200%202.89%201.274%202.89%202.864s-1.3%202.898-2.89%202.898a2.88%202.88%200%200%201-2.88-2.88%202.88%202.88%200%200%201%202.88-2.881Z'%20opacity='.06'/%3e%3cpath%20fill='%23fbf4f1'%20d='M20.397%2017.925c1.59%200%202.89%201.274%202.89%202.863%200%201.59-1.3%202.894-2.89%202.894a2.88%202.88%200%201%201%200-5.761z'%20opacity='.05'/%3e%3cpath%20fill='%23fcf6f3'%20d='M20.397%2017.93c1.59%200%202.89%201.277%202.89%202.867s-1.296%202.89-2.89%202.89a2.88%202.88%200%201%201%200-5.762z'%20opacity='.05'/%3e%3cpath%20fill='%23fdf8f6'%20d='M20.402%2017.934a2.875%202.875%200%200%201%202.885%202.867c0%201.59-1.296%202.89-2.885%202.89a2.88%202.88%200%200%201-2.88-2.88c0-1.59%201.29-2.881%202.88-2.881z'%20opacity='.04'/%3e%3cpath%20fill='%23fdf9f8'%20d='M20.402%2017.938a2.88%202.88%200%200%201%202.885%202.872%202.882%202.882%200%201%201-5.766.004c0-1.59%201.291-2.88%202.88-2.88v.004Z'%20opacity='.03'/%3e%3cpath%20fill='%23fefbfa'%20d='M20.406%2017.943c1.59%200%202.88%201.282%202.88%202.872a2.886%202.886%200%200%201-2.88%202.885%202.88%202.88%200%200%201-2.88-2.881%202.88%202.88%200%200%201%202.88-2.88z'%20opacity='.02'/%3e%3c/g%3e%3c/g%3e%3cmask%20id='e'%20width='40'%20height='40'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M40%200H0v40h40zM1.317%2039.56a.88.88%200%200%201-.878-.877V1.317A.88.88%200%200%201%201.317.44H18.47c10.802%200%2019.563%208.756%2019.563%2019.563%200%2010.803-8.757%2019.563-19.563%2019.563H1.317v-.004Z'/%3e%3c/mask%3e%3cg%20mask='url(%23e)'%3e%3cmask%20id='f'%20width='75'%20height='76'%20x='-29'%20y='-18'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M8.752%2057.1c20.49%200%2037.101-16.611%2037.101-37.102S29.243-17.104%208.752-17.104-28.35-.493-28.35%2019.998-11.74%2057.1%208.752%2057.1'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20fill='%23e04e15'%20d='M22.334-30.688-41.932%206.416l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e04f15'%20d='M23.109-29.352-41.157%207.752l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e15015'%20d='M23.881-28.012-40.385%209.092-3.28%2073.358l64.266-37.104-37.104-64.266Z'/%3e%3cpath%20fill='%23e15115'%20d='m24.65-26.67-64.266%2037.104L-2.512%2074.7l64.266-37.104z'/%3e%3cpath%20fill='%23e25215'%20d='m25.42-25.338-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e25316'%20d='m26.193-23.998-64.266%2037.104L-.969%2077.372l64.266-37.104z'/%3e%3cpath%20fill='%23e35416'%20d='m26.97-22.658-64.266%2037.104L-.192%2078.712l64.266-37.104z'/%3e%3cpath%20fill='%23e35516'%20d='m27.74-21.322-64.266%2037.104L.578%2080.048l64.266-37.104z'/%3e%3cpath%20fill='%23e35616'%20d='m28.513-19.982-64.266%2037.104L1.35%2081.388l64.266-37.104z'/%3e%3cpath%20fill='%23e45716'%20d='M29.285-18.646-34.98%2018.458%202.123%2082.724%2066.39%2045.62z'/%3e%3cpath%20fill='%23e45716'%20d='m30.06-17.31-64.266%2037.104L2.898%2084.06l64.266-37.104z'/%3e%3cpath%20fill='%23e55816'%20d='m30.832-15.97-64.266%2037.104L3.67%2085.4l64.266-37.104z'/%3e%3cpath%20fill='%23e55916'%20d='m31.605-14.63-64.266%2037.104L4.443%2086.74l64.266-37.104z'/%3e%3cpath%20fill='%23e55a16'%20d='m32.371-13.296-64.266%2037.104L5.21%2088.073%2069.475%2050.97z'/%3e%3cpath%20fill='%23e65b16'%20d='m33.148-11.956-64.266%2037.104L5.986%2089.412%2070.252%2052.31z'/%3e%3cpath%20fill='%23e65c17'%20d='m33.92-10.617-64.265%2037.104L6.759%2090.753%2071.025%2053.65z'/%3e%3cpath%20fill='%23e75d17'%20d='m34.691-9.28-64.266%2037.104L7.53%2092.09l64.266-37.104z'/%3e%3cpath%20fill='%23e75e17'%20d='M35.464-7.945-28.802%2029.16%208.302%2093.425l64.266-37.104z'/%3e%3cpath%20fill='%23e85f17'%20d='M36.236-6.605-28.03%2030.5%209.074%2094.765%2073.34%2057.661z'/%3e%3cpath%20fill='%23e86017'%20d='m37.01-5.269-64.265%2037.104L9.849%2096.101l64.266-37.104z'/%3e%3cpath%20fill='%23e86117'%20d='m37.309-4.75-64.266%2037.104L10.147%2096.62l64.266-37.104z'/%3e%3cpath%20fill='%23e96217'%20d='m37.607-4.23-64.266%2037.103L10.445%2097.14l64.266-37.104z'/%3e%3cpath%20fill='%23e96317'%20d='M37.905-3.716-26.36%2033.388l37.104%2064.266L75.01%2060.55z'/%3e%3cpath%20fill='%23e96418'%20d='m38.208-3.197-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23e96518'%20d='m38.504-2.682-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6618'%20d='m38.802-2.163-64.266%2037.104L11.64%2099.207l64.266-37.104z'/%3e%3cpath%20fill='%23ea6718'%20d='m39.1-1.648-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6818'%20d='m39.398-1.13-64.266%2037.105%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ea6918'%20d='M39.698-.614-24.568%2036.49l37.105%2064.266%2064.265-37.104z'/%3e%3cpath%20fill='%23eb6a18'%20d='m39.996-.095-64.265%2037.104%2037.103%2064.266L77.1%2064.171z'/%3e%3cpath%20fill='%23eb6b19'%20d='m40.295.424-64.266%2037.104%2037.104%2064.266L77.399%2064.69z'/%3e%3cpath%20fill='%23eb6c19'%20d='m40.593.939-64.266%2037.103%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23eb6d19'%20d='M40.895%201.458-23.37%2038.562l37.104%2064.265L78%2065.724%2040.895%201.457Z'/%3e%3cpath%20fill='%23ec6e19'%20d='m41.191%201.973-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ec6f19'%20d='m41.49%202.492-64.267%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ec7019'%20d='M41.788%203.006-22.479%2040.11l37.104%2064.266L78.89%2067.272z'/%3e%3cpath%20fill='%23ec7119'%20d='M42.086%203.525-22.18%2040.63l37.104%2064.266L79.19%2067.791z'/%3e%3cpath%20fill='%23ed7219'%20d='M42.386%204.04-21.88%2041.146l37.104%2064.266L79.49%2068.306z'/%3e%3cpath%20fill='%23ed731a'%20d='m42.684%204.56-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ed741a'%20d='m42.982%205.079-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ed751a'%20d='m43.28%205.593-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee761a'%20d='m43.583%206.112-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee771a'%20d='m43.879%206.627-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ee781a'%20d='M44.177%207.146-20.09%2044.25l37.104%2064.266L81.28%2071.412z'/%3e%3cpath%20fill='%23ef791a'%20d='m44.475%207.661-64.266%2037.104%2037.104%2064.266L81.58%2071.927z'/%3e%3cpath%20fill='%23ef7a1b'%20d='m44.773%208.18-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23ef7b1b'%20d='M45.073%208.695-19.193%2045.8l37.105%2064.266%2064.265-37.104z'/%3e%3cpath%20fill='%23ef7c1b'%20d='m45.371%209.214-64.265%2037.104%2037.103%2064.266L82.476%2073.48z'/%3e%3cpath%20fill='%23f07d1b'%20d='m45.67%209.733-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f07e1b'%20d='m45.968%2010.248-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f07f1b'%20d='M46.27%2010.767-17.996%2047.87l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f0801b'%20d='M46.566%2011.282-17.7%2048.386l37.104%2064.266L83.67%2075.548z'/%3e%3cpath%20fill='%23f1801c'%20d='m46.864%2011.801-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f1811c'%20d='m47.162%2012.32-64.266%2037.104L20%20113.69l64.266-37.104z'/%3e%3cpath%20fill='%23f1821c'%20d='m47.46%2012.835-64.265%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f1831c'%20d='m47.76%2013.35-64.265%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2841c'%20d='m48.059%2013.869-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2851c'%20d='m48.357%2014.388-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f2861c'%20d='M48.655%2014.903-15.61%2052.007l37.104%2064.266L85.76%2079.168z'/%3e%3cpath%20fill='%23f2871d'%20d='m48.958%2015.422-64.266%2037.104%2037.104%2064.266%2064.266-37.105z'/%3e%3cpath%20fill='%23f3881d'%20d='M49.254%2015.937-15.012%2053.04l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f3891d'%20d='M49.552%2016.456-14.714%2053.56l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f38a1d'%20d='m49.85%2016.975-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48b1d'%20d='m50.148%2017.49-64.266%2037.103%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48c1d'%20d='m50.448%2018.005-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f48d1d'%20d='m50.746%2018.524-64.265%2037.104%2037.104%2064.266L87.85%2082.79%2050.745%2018.524Z'/%3e%3cpath%20fill='%23f48e1e'%20d='m51.045%2019.043-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f58f1e'%20d='m51.343%2019.557-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f5901e'%20d='M51.645%2020.076-12.62%2057.18l37.104%2064.266L88.75%2084.342z'/%3e%3cpath%20fill='%23f5911e'%20d='m51.941%2020.591-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f5921e'%20d='m52.24%2021.11-64.267%2037.105%2037.104%2064.265%2064.266-37.104z'/%3e%3cpath%20fill='%23f6931e'%20d='m52.537%2021.63-64.266%2037.103L25.375%20123l64.266-37.104z'/%3e%3cpath%20fill='%23f6941e'%20d='M52.836%2022.144-11.43%2059.248l37.103%2064.266L89.94%2086.41z'/%3e%3cpath%20fill='%23f6951e'%20d='m53.138%2022.663-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f6961f'%20d='m53.434%2023.178-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7971f'%20d='m53.732%2023.697-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7981f'%20d='m54.03%2024.212-64.266%2037.104%2037.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f7991f'%20d='M54.328%2024.731-9.938%2061.835%2027.166%20126.1l64.266-37.104z'/%3e%3cpath%20fill='%23f79a1f'%20d='M54.629%2025.246-9.637%2062.35l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f89b1f'%20d='M54.927%2025.765-9.34%2062.87l37.104%2064.266L92.03%2090.031z'/%3e%3cpath%20fill='%23f89c1f'%20d='M55.225%2026.284-9.041%2063.388l37.104%2064.266L92.329%2090.55z'/%3e%3cpath%20fill='%23f89d20'%20d='M55.523%2026.799-8.743%2063.903l37.104%2064.266%2064.266-37.104z'/%3e%3cpath%20fill='%23f89e20'%20d='M55.825%2027.318-8.44%2064.422l37.103%2064.266L92.93%2091.584z'/%3e%3cpath%20fill='%23f99f20'%20d='M56.121%2027.833-8.144%2064.937l37.103%2064.266%2064.266-37.104-37.103-64.266Z'/%3e%3cpath%20fill='%23f9a020'%20d='M56.42%2028.352-7.846%2065.456l37.104%2064.266%2064.266-37.104z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='21.262'%20x2='19.269'%20y1='22.242'%20y2='19.124'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ff9200'/%3e%3cstop%20offset='.21'%20stop-color='%23ff8d00'/%3e%3cstop%20offset='.45'%20stop-color='%23ff7f00'/%3e%3cstop%20offset='.62'%20stop-color='%23ff7100'/%3e%3cstop%20offset='.82'%20stop-color='%23ff5e00'/%3e%3cstop%20offset='1'%20stop-color='%23ff5200'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='20.946'%20x2='18.035'%20y1='22.202'%20y2='16.507'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ff7100'%20stop-opacity='0'/%3e%3cstop%20offset='.03'%20stop-color='%23ff6d00'%20stop-opacity='.03'/%3e%3cstop%20offset='.21'%20stop-color='%23ff5900'%20stop-opacity='.25'/%3e%3cstop%20offset='.39'%20stop-color='%23ff4800'%20stop-opacity='.42'/%3e%3cstop%20offset='.56'%20stop-color='%23ff3b00'%20stop-opacity='.56'/%3e%3cstop%20offset='.72'%20stop-color='%23ff3200'%20stop-opacity='.66'/%3e%3cstop%20offset='.86'%20stop-color='%23ff2c00'%20stop-opacity='.72'/%3e%3cstop%20offset='.98'%20stop-color='%23ff2b00'%20stop-opacity='.74'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",EFTPOS:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='31'%20height='33'%20x='5'%20y='3'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M5.055%203.905h30.83v32H5.055z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%231f0038'%20d='M11.667%2030.811h-1.062V29.75h1.062v-.605c.04-.457.12-.914.564-1.17.189-.107.404-.188.619-.215.363-.04.739-.04%201.115-.067v1.022c-.242.013-.47.027-.712.053-.229.027-.376.202-.39.43%200%20.081-.027.175-.04.256v.228c.47%200%20.94-.013%201.397%200%20.43.014.565-.215.578-.59%200-.202.04-.418.054-.633H15.9v1.25h1.627v1.062H15.9v.9c.014.35.027.686.081%201.022s.323.43.592.443c.309.014.631.04.954.054v1.089c-.632%200-1.277.08-1.895-.121-.47-.148-.753-.51-.834-.995a7%207%200%200%201-.08-.699v-1.666h-1.895v3.48H11.64v-3.493zm7.688%202.944v2.163h-1.25v-6.155h1.075l.094.753c.457-.645%201.075-.9%201.828-.914.537%200%201.048.067%201.505.376.497.336.766.82.847%201.411.04.256.08.511.067.766-.027.645-.188%201.237-.672%201.694-.31.282-.672.457-1.075.537-.619.121-1.25.108-1.828-.174-.215-.108-.403-.296-.605-.444zm1.384-3.132c-.08%200-.229.014-.363.054-.39.094-.712.282-.9.659a1.6%201.6%200%200%200-.121%201.061c.08.444.335.753.752.9.363.122.726.149%201.102.068.403-.08.753-.242.914-.659a1.72%201.72%200%200%200%20.054-1.129%201.5%201.5%200%200%200-.255-.524c-.283-.35-.7-.416-1.183-.43m-10.241%202.285c-.229.632-.632%201.048-1.223%201.29-.377.148-.766.202-1.17.242-.55.054-1.075%200-1.599-.161-.793-.242-1.277-.766-1.398-1.6-.107-.752-.067-1.491.417-2.137a2.26%202.26%200%200%201%201.398-.873c.309-.067.631-.121.94-.108.592.014%201.183.108%201.694.444a2%202%200%200%201%20.914%201.37c.067.35.08.727.107%201.103h-4.3c.08.416.309.712.685.833.538.175%201.089.215%201.626%200%20.175-.067.323-.215.47-.336.041-.027.081-.08.122-.08h1.303zm-4.193-1.384h2.943a.99.99%200%200%200-.699-.86%202.33%202.33%200%200%200-1.357-.014c-.457.135-.78.403-.9.887zm28.532-.377h-1.33c-.189-.47-.592-.591-1.049-.604q-.483%200-.967.08c-.121.027-.242.148-.323.269-.094.148-.013.363.161.403.27.067.538.121.82.148.632.08%201.277.08%201.895.255.968.27%201.035%201.33.632%201.936-.282.416-.712.618-1.17.699-.39.08-.792.12-1.182.107-.565-.013-1.142-.08-1.653-.336-.511-.255-.9-.847-.928-1.357h1.33c.041%200%20.095.04.108.08.095.336.363.484.659.551.484.094.968.108%201.451-.027.27-.067.39-.255.377-.483-.014-.162-.188-.283-.457-.31-.484-.053-.968-.067-1.452-.12-.443-.054-.887-.108-1.276-.336-.336-.202-.524-.484-.551-.874-.027-.376.053-.726.309-.995a2.5%202.5%200%200%201%20.658-.457c.31-.147.659-.174%201.008-.201a4.2%204.2%200%200%201%201.64.161c.699.202%201.129.659%201.303%201.398zm-10.886.928c0-.511.107-.995.39-1.412.35-.524.86-.846%201.465-.98.309-.068.645-.122.954-.108.631.027%201.25.12%201.787.51.47.337.74.793.86%201.345a3%203%200%200%201-.04%201.424c-.148.551-.47.968-.968%201.237-.416.228-.873.309-1.344.362-.618.054-1.21%200-1.774-.201-.739-.269-1.169-.847-1.276-1.653a7%207%200%200%201-.054-.524m1.303%200c-.026.55.175.994.726%201.196.39.148.807.175%201.223.08.282-.067.538-.16.726-.403.296-.43.31-.887.202-1.37a1.16%201.16%200%200%200-.672-.82c-.336-.148-.686-.162-1.035-.121-.282.04-.551.12-.766.322-.323.296-.417.672-.404%201.116m10.631-1.976c0%20.323-.188.524-.497.524-.255%200-.55-.161-.538-.51.014-.404.229-.538.511-.552.269%200%20.538.135.51.538zm-.752-.31c-.175.162-.202.431-.04.592.147.148.403.135.55%200a.406.406%200%200%200%200-.578c-.12-.134-.336-.134-.524%200l.014-.013Z'/%3e%3cpath%20fill='%231f0038'%20d='M35.173%2029.83h.188c.256%200%20.269.027.215.269-.013.08.027.175.054.255h-.094l-.148-.201-.148.242-.067-.027z'/%3e%3cpath%20fill='url(%23c)'%20d='M21.21%207.426c-3.038%201.384-5.094%204.046-5.094%207.096%200%203.858%203.548%206.976%207.93%206.976%202.002%200%203.426-.47%205.066-1.452.175-.107.376-.188.497-.013.08.094.04.215-.013.309-1.801%203.306-5.47%205.604-9.596%205.604-6.088%200-11.02-4.932-11.02-11.02%200-3.481%201.612-6.572%204.125-8.588%201.895-1.52%206.626-1.72%208.104%201.088Z'/%3e%3cpath%20fill='%23e40056'%20d='M29.461%2011.687c0%203.655-3.494%206.625-7.808%206.625-.632%200-2.325-.08-3.548-.658-.35-.161-.31-.363-.068-.457.551-.229%204.892-1.062%204.892-5.51%200-4.449-4.596-7.701-9.824-5.363A10.95%2010.95%200%200%201%2020%203.905c5.12%200%209.461%203.48%209.461%207.782'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='19.14'%20x2='23.481'%20y1='17.775'%20y2='-2.439'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23e40056'/%3e%3cstop%20offset='.66'%20stop-color='%231f0038'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ELO:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fff'%20d='M25.275%2019.986c-.371-1.486-1.56-2.525-2.97-2.822-1.484-.223-2.969.371-3.785%201.634s-.817%202.896%200%204.082l3.71-1.632%201.56-.669zm-5.716%201.113v-.223c0-.89.519-1.707%201.41-2.004a2.2%202.2%200%200%201%202.375.593L19.56%2021.1Zm4.676%202.45c-1.261%201.262-3.192%201.41-4.676.445l.89-1.336a2.24%202.24%200%200%200%202.673-.224zm1.56-.965V15.53h1.336v6.83c0%20.074%200%20.148.074.148l1.188.445-.52%201.412-1.337-.595c-.593-.148-.741-.519-.741-1.188Z'/%3e%3cpath%20fill='%23289ad3'%20d='M7.162%2017.416c-.743.668-1.189%201.633-1.189%202.598s.446%201.93%201.19%202.598l-1.635%201.782c-1.261-1.114-2.004-2.747-1.93-4.454%200-1.707.743-3.267%202.005-4.38-.075%200%201.56%201.856%201.56%201.856Z'/%3e%3cpath%20fill='%23ec442d'%20d='M15.145%2021.122c-.297%201.706-1.336%203.118-2.822%204.009-1.484.89-3.266.965-4.898.37l.815-2.3c.965.37%202.005.296%202.896-.224a3.53%203.53%200%200%200%201.707-2.375z'/%3e%3cpath%20fill='%23fdda2e'%20d='m15.18%2018.798-2.376.52c-.224-.966-.817-1.857-1.707-2.376-.892-.52-1.93-.52-2.896-.224l-.742-2.3a6.1%206.1%200%200%201%204.826.445c1.483.817%202.522%202.301%202.894%203.935Z'/%3e%3cpath%20fill='%23fff'%20d='M30.619%2019.169c-.445.37-.742.965-.742%201.633%200%20.594.298%201.188.742%201.633L29.58%2023.55c-.741-.669-1.188-1.707-1.188-2.747a3.41%203.41%200%200%201%201.262-2.672c0-.075.966%201.039.966%201.039m4.973%202.301c-.223%201.04-.816%201.93-1.781%202.45-.891.52-2.005.594-3.044.297l.52-1.411a2.13%202.13%200%200%200%201.781-.148c.52-.297.891-.817%201.04-1.485zm0-1.411-1.485.372a2.6%202.6%200%200%200-1.039-1.485%202.13%202.13%200%200%200-1.782-.15l-.445-1.41c.965-.37%202.079-.222%202.97.224.89.445%201.558%201.41%201.78%202.449Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",GIROCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23004090'%20d='M14.104%2027.649c.25%200%20.332.083.58.083v-.828c-.082%200-.33-.082-.495-.082-.331%200-.828.082-1.159.497a.9.9%200%200%200-.248.413l-.082-.828h-.827c0%20.58.083%201.076.083%201.654v3.226h.91v-2.398c0-.497.082-1.075.495-1.49.249-.247.577-.247.743-.247m-3.222-.745h-.827v4.963h.827zM8.07%2029.386c0%20.083%200%20.578-.248%201.074-.33.496-.743.662-1.156.662-.331%200-.663-.166-.91-.33-.332-.332-.414-.91-.414-1.406%200-.745.248-1.158.578-1.49a1.04%201.04%200%200%201%20.745-.33%201.2%201.2%200%200%201%20.827.33c.578.497.578%201.406.578%201.49m.415%203.803c.33-.496.413-.992.413-1.985v-4.3H8.07v.745c0-.082-.165-.33-.413-.497s-.663-.413-1.157-.413c-.497%200-.91.165-1.076.331-.33.249-.495.414-.578.579-.413.578-.497%201.157-.497%201.737%200%20.165%200%20.578.165%201.074%200%20.084.167.662.663%201.076.247.248.661.413%201.323.413.33%200%20.826-.165%201.157-.413l.331-.332v.663c0%20.247%200%20.413-.083.661-.083.165-.083.248-.248.413-.248.248-.578.413-1.157.413s-1.076-.165-1.241-.248q-.372-.122-.496-.248l-.082.828c.165.081.248.081.413.165a4.3%204.3%200%200%200%201.406.248c.662%200%201.074-.165%201.405-.331.332-.247.496-.414.578-.579m1.406-7.442h.91v-.993h-.91zm8.682%203.555c0%20.578-.165%201.324-.828%201.737-.165.083-.33.165-.66.165-.083%200-.33%200-.579-.165-.083%200-.083-.083-.248-.165-.166-.083-.331-.33-.496-.662s-.165-.662-.165-.991c0-.663.33-1.16.578-1.406.165-.166.496-.331.992-.331.745%200%201.075.496%201.241.909.082.165.165.496.165.91Zm.248%201.986c.578-.579.745-1.324.745-1.986%200-1.24-.663-1.902-1.241-2.232-.248-.083-.578-.248-1.075-.248-1.075%200-1.818.578-2.15%201.157-.248.414-.33.91-.33%201.407%200%20.992.33%201.57.743%201.985.084.081.165.165.332.246.247.167.661.332%201.322.332.497%200%20.826-.084%201.075-.165.083-.165.332-.332.58-.496Zm3.636.578c.58%200%20.91-.165%201.16-.247l-.084-.828c-.165.083-.578.248-.993.248-.081%200-.33%200-.66-.165-.745-.33-.91-1.157-.91-1.653%200-.828.413-1.324.826-1.572.414-.249.744-.165.828-.165.33%200%20.662.165.744.248l.082-.828c-.165%200-.495-.165-.91-.165-.992%200-1.57.413-1.983.91-.415.578-.497%201.24-.497%201.818%200%201.324.745%201.985%201.406%202.317.165%200%20.495.082.991.082m4.633-2.316c0%20.332%200%20.497-.083.663%200%20.082-.082.247-.248.413-.247.413-.662.496-.992.496-.414%200-.909-.248-.909-.827%200-.578.495-.826.91-.91.165%200%20.33-.083.66-.083h.662zm.083%202.234h.743V28.64c0-.496-.082-.91-.247-1.074-.248-.415-.827-.745-1.572-.745-.909%200-1.405.33-1.57.413v.745c.165-.083.744-.496%201.405-.496.579%200%20.993.331%201.075.662.083.165.083.412.083.66h-.744c-.497%200-1.075%200-1.571.248-.413.167-.91.497-.91%201.324%200%20.578.249.91.497%201.156.247.25.661.332.991.332.578%200%20.91-.165%201.159-.33.248-.165.33-.332.495-.497v.745zm3.969-4.135c.248%200%20.331.083.578.083v-.828c-.082%200-.33-.082-.495-.082-.331%200-.827.082-1.159.497a.9.9%200%200%200-.247.413l-.084-.828h-.826c0%20.58.083%201.076.083%201.654v3.226h.91v-2.398c0-.497.083-1.075.496-1.49.248-.247.578-.247.744-.247m4.3%201.737c0%20.083%200%20.413-.083.662-.248.66-.745%201.075-1.322%201.075-.497%200-.91-.249-1.158-.828-.166-.331-.166-.663-.166-.993%200-.081%200-.413.166-.744.33-.91%201.074-.991%201.322-.991.579%200%201.076.413%201.323%201.074-.165.165-.082.413-.082.745m.91%201.405v-6.119h-.91v2.977c-.165-.165-.165-.249-.248-.33-.248-.248-.663-.415-1.24-.415-.166%200-.91%200-1.571.663-.745.826-.663%201.819-.663%201.983%200%20.332.085.745.166%201.076.248.578.827%201.323%201.984%201.323.166%200%20.828%200%201.324-.497l.33-.33v.744h.828V30.79Zm-11.827-20.26h-1.239v.332h.993l2.481%2010.17H13.941l2.481-10.17h.991v-.332h-1.24l-2.728%2010.915h13.891z'/%3e%3cpath%20fill='%2362c6e9'%20d='M22.79%205.901h-4.88a.536.536%200%200%200-.497.497v4.796h.332V6.397c0-.083.081-.164.165-.164h.91v3.472h-.994l1.406%201.489h2.233l1.406-1.489h-.992V6.233h.909c.083%200%20.165.081.165.165v4.796h.331V6.397a.536.536%200%200%200-.495-.496Z'/%3e%3cpath%20fill='%23004090'%20d='M19.315%2017.148h2.15q.249-.002.248-.248l-.083-1.406c0-.166-.165-.248-.248-.248H19.48q-.248%200-.248.248L19.15%2016.9c-.084.165%200%20.246.165.246m-.992-1.9H16.42c-.165%200-.248.082-.331.248l-.247%201.406q0%20.246.247.246h2.15q.248%200%20.248-.246l.083-1.406q0-.25-.248-.248Zm1.074-.496h1.985c.083%200%20.165-.084.165-.248l-.082-1.158c0-.083-.083-.248-.248-.248h-1.819c-.084%200-.249.082-.249.248l-.082%201.156c.082.166.165.25.33.25m-.826-1.49h-1.819c-.083%200-.248.084-.248.166l-.248%201.157c0%20.083.082.167.165.167h1.985c.082%200%20.248-.084.248-.248l.082-1.158c.083%200%200-.083-.165-.083Zm5.706%201.49a.18.18%200%200%200%20.165-.167l-.248-1.156c0-.084-.165-.166-.249-.166h-1.818c-.083%200-.165.083-.165.248l.082%201.157c0%20.084.083.249.248.249h1.985zm-4.797-1.902h1.82a.18.18%200%200%200%20.166-.167l-.083-.909a.18.18%200%200%200-.165-.165h-1.653a.18.18%200%200%200-.167.165l-.082.91c0%20.082%200%20.166.165.166Zm4.384%200a.18.18%200%200%200%20.165-.167l-.165-.909c0-.082-.084-.165-.248-.165h-1.654a.18.18%200%200%200-.167.165l.083.91c0%20.082.084.166.166.166zm-5.128-1.241h-1.654c-.082%200-.165.083-.248.165l-.165.91c0%20.082.083.166.165.166h1.819a.18.18%200%200%200%20.166-.167l.083-.909a.18.18%200%200%200-.166-.165m5.954%205.54q.248%200%20.248-.247l-.248-1.406c0-.166-.165-.248-.332-.248h-1.901q-.247%200-.247.248l.082%201.406c0%20.165.165.246.248.246zm-3.308.497h-2.067a.35.35%200%200%200-.331.33l-.082%201.819c0%20.166.082.331.33.331h2.398a.353.353%200%200%200%20.332-.331l-.248-1.819a.35.35%200%200%200-.332-.331m-3.307.001h-2.15c-.165%200-.33.165-.414.33l-.33%201.819c0%20.166.082.331.247.331h2.398a.353.353%200%200%200%20.332-.331l.165-1.819c.083-.165-.083-.331-.248-.331m7.028.331c0-.165-.165-.331-.413-.331h-2.15c-.165%200-.33.166-.248.331l.166%201.819c0%20.166.165.331.33.331h2.398c.165%200%20.248-.165.248-.331z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",HIPERCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23b32024'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fefefe'%20d='M9.504%2013c-1.615.06-2.692.778-2.991%201.855-.12.359-.18.658-.3%201.196v.12c-.06.359-.119.479-.119.658-.24%201.137-.479%202.274-.778%203.71l-.478%202.572c-.3%201.496-.479%202.513-.718%203.47L4%2027h25.906c1.615%200%203.35-.24%203.77-2.034.119-.479.238-.957.418-1.915l.12-.538c.06-.18.778-3.71.957-4.727L36.128%2013zm24.47%207.479c-.239%201.136-.359%201.675-.359%201.974h-.06l-.12.479a34%2034%200%200%201-.418%201.854c-.24.958-.838%201.556-3.17%201.556H4.716c.18-.898.36-1.795.6-3.111l.538-2.513c.299-1.436.538-2.633.777-3.71.06-.179.06-.358.12-.717v-.12l.24-1.197c.239-.897%201.136-1.376%202.452-1.436H35.29z'/%3e%3cpath%20fill='%23fefefe'%20d='M32.419%2018.684c-1.735-.539-2.752.718-2.752%202.273%200%20.3.06.598.239.838.3.359%201.256.479%201.735.12.12-.06.18-.18.24-.24s.119-.18.119-.18c0%20.18-.06.3-.06.48h.658c.12-1.736.479-3.231.778-4.847h-.718c-.06.539-.179%201.077-.239%201.556m-1.317%202.931c-.48%200-.718-.299-.718-.777%200-.838.358-1.795%201.076-1.855.36-.06.599.06.838.12-.24.957-.119%202.512-1.196%202.512m-6.042-2.991c-.06.18-.06.359-.12.538.419-.12%201.675-.418%201.795.12.06.18%200%20.359-.06.538-1.137-.12-2.094.06-2.333.898-.18.538%200%201.077.359%201.256.658.3%201.496-.06%201.795-.478%200%20.18-.06.299-.06.538h.598c0-.598.12-1.017.18-1.555.06-.42.239-.898.18-1.257-.06-.957-1.496-.658-2.334-.598m1.137%202.692c-.36.36-1.376.479-1.257-.418.06-.718.838-.838%201.675-.718-.06.418-.12.897-.418%201.136m-10.889-2.692c-.599-.24-1.316.06-1.616.3%200-.12.06-.18.06-.3h-.598c-.24%201.675-.539%203.29-.838%204.906h.658c.12-.598.18-1.256.3-1.855.179.599%201.196.479%201.615.24.957-.539%201.675-2.872.419-3.291m-.539%202.752c-.359.419-1.316.419-1.376-.299-.06-.3.06-.598.12-.897s.12-.599.12-.838c.359-.479%201.435-.479%201.555.24.12.657-.12%201.435-.419%201.794m-4.188-4.128c-.12.658-.24%201.256-.299%201.914-.718%200-1.436.06-2.154%200%20.12-.598.24-1.256.36-1.914H7.65c-.3%201.555-.539%203.17-.838%204.726h.778c.12-.777.24-1.615.419-2.333.658%200%201.495-.06%202.153%200-.12.778-.299%201.556-.418%202.333h.777c.24-1.615.539-3.17.838-4.726zm1.975.718c.12-.12.299-.539.12-.718-.06-.06-.18-.06-.3-.06s-.24.06-.299.12c-.06.12-.18.478-.06.598.12.18.419.12.539.06m-.718.658q-.24%201.685-.599%203.35h.718c.18-1.136.36-2.273.598-3.35zm10.35%202.573c-.06-.18-.06-.42-.06-.659.06-.478.18-1.017.479-1.316.359-.359%201.077-.299%201.675-.12%200-.179.06-.358.06-.538-.957-.18-1.855-.06-2.333.419-.48.478-.778%201.615-.539%202.333.24.838%201.376.838%202.274.539.06-.18.06-.36.12-.539-.48.3-1.437.48-1.676-.119m-.358-2.573c-.6-.24-1.078.18-1.317.538.06-.179.06-.359.12-.538h-.599q-.24%201.685-.598%203.35h.718c.12-.658.12-1.555.359-2.153.18-.48.598-.958%201.256-.718%200-.18.001-.3.061-.479'/%3e%3cpath%20fill='%23fefefe'%20d='M17.94%2018.564c-.479.06-.957.18-1.256.479-.36.419-.658%201.256-.599%202.034.12%201.137%201.496%201.077%202.633.838%200-.18.06-.36.12-.539-.48.18-1.257.419-1.736.12-.358-.24-.358-.778-.239-1.316h2.274c.06-.36.18-.718.06-1.077-.06-.479-.659-.599-1.257-.539m.718%201.197h-1.615c.06-.36.419-.778.897-.838.479.06.838.24.718.838m11.368-1.137c-.599-.3-1.137.18-1.317.538.06-.18.06-.359.12-.538h-.598c-.18%201.137-.36%202.274-.599%203.35h.718c0-.418.12-.777.18-1.196.12-.958.359-1.975%201.436-1.675%200-.12%200-.3.06-.479'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",JCB:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M39.867%2028.887c0%203.4-2.77%206.17-6.17%206.17H.134V10.623a6.18%206.18%200%200%201%206.17-6.17h33.564v24.433Z'/%3e%3cpath%20fill='url(%23a)'%20d='M28.938%2022.621h2.55c.073%200%20.243-.024.316-.024.485-.097.898-.534.898-1.141a1.18%201.18%200%200%200-.898-1.142c-.073-.024-.22-.024-.316-.024h-2.55z'/%3e%3cpath%20fill='url(%23b)'%20d='M31.196%206.52a4.42%204.42%200%200%200-4.42%204.42v4.59h6.242c.145%200%20.316%200%20.437.024%201.409.073%202.453.801%202.453%202.064%200%20.996-.705%201.846-2.016%202.016v.049c1.433.097%202.526.898%202.526%202.137%200%201.336-1.215%202.21-2.817%202.21h-6.85v8.986h6.485a4.42%204.42%200%200%200%204.42-4.42V6.519h-6.46Z'/%3e%3cpath%20fill='url(%23c)'%20d='M32.386%2017.91c0-.583-.413-.972-.898-1.045-.049%200-.17-.024-.243-.024h-2.307v2.137h2.307c.073%200%20.218%200%20.243-.024.486-.073.898-.461.898-1.044'/%3e%3cpath%20fill='url(%23d)'%20d='M6.764%206.52a4.42%204.42%200%200%200-4.42%204.42v10.904c1.238.607%202.525.996%203.813.996%201.53%200%202.355-.923%202.355-2.186v-5.149h3.79v5.125c0%201.991-1.24%203.619-5.441%203.619-2.55%200-4.542-.559-4.542-.559v9.302h6.485a4.42%204.42%200%200%200%204.42-4.42V6.519h-6.46Z'/%3e%3cpath%20fill='url(%23e)'%20d='M18.98%206.52a4.42%204.42%200%200%200-4.42%204.42v5.78c1.117-.948%203.06-1.555%206.193-1.409%201.676.073%203.473.534%203.473.534v1.87c-.899-.461-1.967-.874-3.352-.971-2.38-.17-3.813.996-3.813%203.036%200%202.064%201.433%203.23%203.813%203.036%201.385-.098%202.453-.535%203.352-.972v1.87s-1.773.462-3.473.535c-3.133.145-5.076-.462-6.193-1.41V33.04h6.484a4.42%204.42%200%200%200%204.42-4.42V6.52z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='26.772'%20x2='37.686'%20y1='21.459'%20y2='21.459'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='26.772'%20x2='37.686'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='26.772'%20x2='37.686'%20y1='17.907'%20y2='17.907'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23007940'/%3e%3cstop%20offset='.229'%20stop-color='%2300873f'/%3e%3cstop%20offset='.743'%20stop-color='%2340a737'/%3e%3cstop%20offset='1'%20stop-color='%235cb531'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='2.338'%20x2='13.421'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231f286f'/%3e%3cstop%20offset='.475'%20stop-color='%23004e94'/%3e%3cstop%20offset='.826'%20stop-color='%230066b1'/%3e%3cstop%20offset='1'%20stop-color='%23006fbc'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='14.497'%20x2='25.261'%20y1='19.757'%20y2='19.757'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236c2c2f'/%3e%3cstop%20offset='.173'%20stop-color='%23882730'/%3e%3cstop%20offset='.573'%20stop-color='%23be1833'/%3e%3cstop%20offset='.859'%20stop-color='%23dc0436'/%3e%3cstop%20offset='1'%20stop-color='%23e60039'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",MAESTRO:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ff000f'%20fill-rule='evenodd'%20d='M15.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%2300a2e1'%20fill-rule='evenodd'%20d='M25.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M20.015%2014.42c-1.55%201.383-2.515%203.403-2.515%205.677%200%202.17.966%204.14%202.515%205.503%201.52-1.362%202.485-3.334%202.485-5.503a7.65%207.65%200%200%200-2.485-5.678Z'%20clip-rule='evenodd'%20opacity='.3'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",MASTERCARD:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M15.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23f49b1c'%20fill-rule='evenodd'%20d='M25.097%2027.5c4.045%200%207.403-3.358%207.403-7.403%200-4.239-3.358-7.597-7.403-7.597-4.239%200-7.597%203.358-7.597%207.597%200%204.045%203.358%207.403%207.597%207.403'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23e7001a'%20fill-rule='evenodd'%20d='M20.015%2014.42c-1.55%201.383-2.515%203.403-2.515%205.677%200%202.17.966%204.14%202.515%205.503%201.52-1.362%202.485-3.334%202.485-5.503a7.65%207.65%200%200%200-2.485-5.678Z'%20clip-rule='evenodd'%20opacity='.3'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",NYCE:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cg%20clip-path='url(%23b)'%3e%3cpath%20fill='%23ed1a2b'%20d='M34.373%2027.463%2038%2013H5.627L2%2027.463z'/%3e%3cpath%20fill='%23fff'%20d='m12.39%2013-1.101%204.346L9.71%2013H7.406l-1.98%207.898H7.85l1.05-4.323%201.475%204.323h2.356L14.78%2013zm10.474%200h-2.78l-1.85%202.676L17.492%2013h-2.644l1.698%204.995-.708%202.903h2.538l.733-2.92zm11.632%204.847.434-1.729h-3.17l.29-1.152h3.677L36.22%2013h-6.05l-1.98%207.898h6l.425-1.695h-3.627l.34-1.356zm1.92-4.008c0-.292.22-.51.502-.51.278%200%20.496.218.496.51a.495.495%200%200%201-.496.513.497.497%200%200%201-.502-.513m.502.614c.335%200%20.62-.259.62-.614a.61.61%200%200%200-.62-.612.613.613%200%201%200%200%201.226m-.13-.566h.123l.187.307h.12l-.2-.311c.103-.013.183-.068.183-.196%200-.14-.083-.201-.25-.201h-.27v.708h.107zm0-.09v-.22h.147c.074%200%20.154.016.154.104%200%20.11-.082.116-.172.116z'/%3e%3cpath%20fill='%23fff'%20d='M21.152%2017.067c-.627%202.343%201.05%204.244%202.72%204.244%203.29%200%204.112-1.408%204.677-3.294h-2.211c-.326.807-.828%201.37-1.908%201.37-.84%200-1.244-1.039-.901-2.32s1.08-2.319%202.142-2.319c.766%200%201.113.564%201.108%201.37h2.208c.148-1.495-.396-2.689-1.686-3.118h-2.773c-2.158.517-2.86%202.141-3.376%204.067'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20d='M2%2013h36v14.463H2z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",PULSE:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='35'%20height='13'%20x='3'%20y='14'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M3%2014h34.25v12.454H3z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cmask%20id='c'%20width='36'%20height='18'%20x='2'%20y='13'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M2.929%2013.919H37.32V30.12H2.93z'/%3e%3c/mask%3e%3cg%20mask='url(%23c)'%3e%3cpath%20fill='%23231f20'%20fill-rule='evenodd'%20d='m20.897%2023.93%201.284-8.598c.087-.517.04-1.277-.83-1.332h-1.3l-1.486%209.93zm-3.127%200%20.967-6.494h-2.312l-.637%204.29H14.24c-.313%200-.579-.203-.517-.589l.354-2.357c.073-.48.115-1.34-.68-1.344h-1.465l-.643%204.295c-.195%201.437.558%202.199%201.51%202.199zM5.945%2021.72h1.836c.45%200%20.87-.371.93-.82l.081-.547c.102-.547-.256-.881-.706-.881H6.282zm-.33%202.21-.377%202.524c-.025-.009-2.238%200-2.238%200l1.346-9.018H8.68c1.475%200%202.513%201.19%202.318%202.666l-.17%201.13c-.195%201.476-1.573%202.698-3.049%202.698z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23231f20'%20d='m34.447%2019.748.035-.257a.33.33%200%200%200-.333-.386h-1.792a.46.46%200%200%200-.44.386l-.036.257zm-3.758%204.182c-.884%200-1.564-.718-1.444-1.603l.484-3.245c.12-.884.96-1.646%201.844-1.646h3.672c.896%200%201.523.762%201.403%201.646l-.328%202.194h-4.664l-.096.644h3.793c.587-.005.782.532.707%201.102l-.136.908z'/%3e%3cpath%20fill='%23ee7623'%20d='m6.08%2026.454.236-1.658h29.482l-.139.967c-.074.47-.315.69-.694.69z'/%3e%3cpath%20fill='%23231f20'%20d='M24.085%2017.436c-.83%200-1.509.732-1.64%201.614l-.122.808c-.112.854.348%201.571%201.139%201.614q.037.003.076.003h2.848l-.072.448h-3.21c-.576.002-1.138.058-1.21.639l-.21%201.368h5.164c.85%200%201.644-.565%201.76-1.446l.167-1.11c.116-.88-.49-1.616-1.341-1.616H24.47l.055-.418h3.383c.853%200%201.118-.105%201.234-.739l.174-1.165z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",STAR:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23ba0c2f'%20d='M35.957%2028.373c-.021-.062-.064-.104-.106-.146-.043-.042-.086-.084-.15-.104-.064-.021-.106-.042-.17-.042s-.128%200-.171.042c-.064.02-.107.062-.15.104a.4.4%200%200%200-.106.146c-.021.063-.043.105-.043.167s0%20.126.043.167a.36.36%200%200%200%20.107.146.4.4%200%200%200%20.149.105c.064.02.107.042.17.042.065%200%20.107%200%20.171-.042a.4.4%200%200%200%20.15-.105c.042-.041.064-.083.106-.146.022-.062.043-.104.043-.167%200-.062%200-.125-.043-.167m-.042.334c0%20.042-.043.084-.086.125a.4.4%200%200%201-.128.084c-.042%200-.106.02-.149.02s-.107%200-.15-.02c-.042%200-.085-.042-.127-.084-.043-.041-.064-.083-.086-.125%200-.041-.021-.104-.021-.146s0-.104.021-.146c0-.042.043-.084.086-.125a.4.4%200%200%201%20.128-.084c.042%200%20.106-.02.149-.02a.4.4%200%200%201%20.15.02c.042%200%20.085.042.127.084.043.041.064.083.086.125%200%20.042.021.104.021.146s0%20.105-.021.146m-17.558-7.954c-.17-.773%200-1.504%200-1.504h-8.32s-2.154-.396-3.328-.104c-.853.209-2.176.689-2.517%202.276-.277%201.315.384%202.213.853%202.651.47.418%202.624%201.316%202.774%201.357.234.084%201.173.543.938%201.504-.192.73-1.173.918-1.408.918s-1.813.126-2.24-1.482h-.597S4.491%2027.12%204%2028.31c0%200%20.832.71%202.987.689.128%200%202.602%200%203.669-1.775%201.173-1.984-.533-3.362-.533-3.362-.704-.605-2.795-1.44-2.795-1.44-1.664-.647-1.003-2.109-.15-2.234.79-.105%201.494-.084%202.817.543%200%200%202.218-.272%202.816-.188v8.31s.981-.21%202.709%200v-8.29c.49-.104%202.816.21%202.816.21zm17.43%207.683c0-.042%200-.084-.064-.105-.043-.02-.086-.041-.171-.041h-.192v.5h.085v-.229h.107l.107.23h.106l-.106-.23c.042%200%20.064-.02.085-.042a.16.16%200%200%200%20.043-.083m-.128.063h-.192v-.168h.085c.043%200%20.085%200%20.107.021.021%200%20.042.042.042.063s0%20.042-.021.063l-.021.02ZM17.632%2014.405c4.736-.73%207.36-.605%207.36-.605v-.439s-5.93.126-10.39.794C5.494%2015.49%204%2018.143%204%2018.143h6.57s1.153-2.819%207.062-3.738m16.085%207.162c0-2.568-3.498-2.318-3.498-2.318h-4.054v9.02l-4.288-9.145s-.832.104-1.365%200c0%200-4.608%209.688-4.63%209.688.833-.146%201.857%200%201.857%200l1.13-2.777h3.392l1.11%202.818s1.344-.25%202.858%200c.896-.208%202.688-.02%202.688-.02v-4.05l2.731%204.07c1.579-.23%203.264%200%203.264%200l-3.456-4.655s2.304-.439%202.304-2.59zm-14.293%203.278%201.173-2.568%201.152%202.568zm11.307-1.984c-.47.835-1.878.752-1.878.752v-3.32s1.43-.167%201.835.501c.555.919.043%202.067.043%202.067M30.112%2010l-1.13%203.382h-3.649l2.966%202.026-1.174%203.361%202.987-2.109%202.987%202.088-1.174-3.34%202.966-2.026h-3.67z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",UNION_PAY:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e21836'%20d='M9.037%208.75h8.969c1.252%200%202.03%201.02%201.738%202.277L15.57%2028.954c-.295%201.252-1.548%202.273-2.801%202.273H3.8c-1.25%200-2.03-1.02-1.739-2.273L6.24%2011.027C6.53%209.77%207.784%208.75%209.037%208.75'/%3e%3cpath%20fill='%2300447c'%20d='M17.26%208.75h10.314c1.252%200%20.687%201.02.393%202.277l-4.175%2017.927c-.293%201.252-.202%202.273-1.456%202.273H12.022c-1.255%200-2.031-1.02-1.736-2.273l4.175-17.927c.296-1.256%201.546-2.277%202.799-2.277'/%3e%3cpath%20fill='%23007b84'%20d='M27.165%208.75h8.968c1.254%200%202.033%201.02%201.738%202.277l-4.175%2017.927c-.294%201.252-1.549%202.273-2.802%202.273h-8.965c-1.254%200-2.032-1.02-1.738-2.273l4.175-17.927c.292-1.256%201.544-2.277%202.799-2.277'/%3e%3cpath%20fill='%23fefefe'%20d='M11.38%2014.495c-.923.01-1.195%200-1.282-.02-.034.159-.656%203.03-.658%203.032-.134.581-.231.995-.562%201.262a1%201%200%200%201-.662.23c-.41%200-.648-.202-.688-.587l-.007-.133.124-.782s.653-2.616.77-2.962l.01-.04c-1.272.012-1.497%200-1.513-.02-.008.028-.04.19-.04.19l-.667%202.95-.057.25-.11.817c0%20.243.047.44.142.608.304.531%201.17.61%201.66.61.633%200%201.225-.133%201.626-.378.695-.411.877-1.053%201.04-1.624l.074-.293s.673-2.717.787-3.07c.005-.02.007-.03.012-.04Zm2.289%202.193a1.8%201.8%200%200%200-.725.17c-.097.049-.188.106-.284.163l.087-.314-.048-.053c-.565.115-.691.13-1.213.203l-.043.03c-.06.502-.115.88-.34%201.866q-.128.548-.262%201.094l.024.046c.534-.028.696-.028%201.16-.02l.038-.041c.06-.303.067-.373.198-.986.061-.29.19-.928.253-1.155.116-.054.23-.107.34-.107.26%200%20.228.227.218.318-.011.152-.106.648-.203%201.074l-.065.275c-.045.203-.095.4-.14.602l.02.04c.526-.028.687-.028%201.137-.02l.053-.041c.081-.473.105-.599.25-1.286l.072-.316c.14-.619.212-.932.105-1.187-.113-.286-.383-.355-.632-.355m2.558.647c-.28.053-.46.09-.637.113-.176.028-.347.053-.618.09l-.021.02-.02.016c-.028.201-.048.376-.085.58-.032.212-.08.453-.16.799a3%203%200%200%201-.128.45c-.034.093-.072.184-.141.444l.016.024.014.022c.253-.012.418-.02.588-.022.17-.006.346%200%20.618.002l.024-.02.026-.021c.04-.235.045-.298.07-.413.023-.123.064-.293.165-.747l.15-.644.156-.644-.007-.025zm.005-.873c-.254-.15-.7-.102-1.001.105-.3.203-.334.492-.08.644.25.146.698.103.996-.107.299-.207.336-.493.085-.642m1.54%203.478c.514%200%201.042-.142%201.44-.563.305-.341.445-.85.493-1.058.158-.694.035-1.018-.12-1.215-.234-.3-.649-.397-1.08-.397-.258%200-.875.026-1.356.47-.346.32-.506.755-.602%201.171-.098.425-.21%201.19.493%201.474.217.093.53.118.731.118Zm-.04-1.56c.118-.525.258-.966.616-.966.28%200%20.3.328.176.855-.023.117-.125.552-.263.737-.097.136-.211.22-.338.22-.037%200-.261%200-.264-.333a2.3%202.3%200%200%201%20.072-.513Zm3.26%201.493.04-.041c.058-.303.067-.374.193-.986.063-.29.194-.928.256-1.155.116-.054.229-.107.341-.107.259%200%20.227.227.217.318-.01.152-.104.648-.203%201.074l-.061.275c-.047.203-.099.4-.144.602l.02.04a12%2012%200%200%201%201.135-.02l.055-.041c.08-.473.1-.599.25-1.286l.07-.316c.142-.619.214-.932.109-1.187-.116-.286-.389-.355-.634-.355-.162%200-.46.039-.725.17-.095.049-.19.106-.283.163l.082-.314-.044-.053c-.564.115-.693.13-1.214.203l-.04.03c-.063.502-.115.879-.34%201.866a121%20121%200%200%201-.262%201.094l.024.046c.535-.028.695-.028%201.158-.02m3.884.02c.033-.162.23-1.123.232-1.123%200%200%20.168-.706.179-.732%200%200%20.053-.073.106-.102h.077c.735%200%201.564%200%202.214-.478.442-.328.744-.812.88-1.4.034-.145.06-.317.06-.488%200-.226-.045-.449-.176-.623-.331-.464-.991-.472-1.753-.476l-.376.004c-.975.012-1.366.008-1.527-.011l-.039.197-.35%201.622-.874%203.604c.851-.01%201.2-.01%201.347.006m.647-2.876.37-1.61.012-.082.005-.064.149.016.784.067c.302.117.427.419.34.812a1.18%201.18%200%200%201-.613.808c-.247.124-.549.134-.86.134h-.202zm2.313%201.393c-.098.418-.211%201.183.488%201.455.223.095.423.123.626.113.215-.012.413-.12.597-.274l-.05.19.032.042c.503-.021.66-.021%201.204-.017l.05-.038c.08-.468.154-.922.361-1.817q.15-.642.305-1.28l-.016-.047c-.563.104-.713.127-1.255.203l-.04.034-.017.127a.77.77%200%200%200-.395-.325c-.24-.094-.806.028-1.292.47-.341.316-.505.749-.598%201.164m1.182.026c.12-.516.258-.953.617-.953.227%200%20.346.21.322.566l-.065.29q-.055.228-.113.457a1.1%201.1%200%200%201-.132.267c-.092.13-.312.212-.438.212-.036%200-.257%200-.265-.326a2.2%202.2%200%200%201%20.074-.514Zm6.171-1.703-.043-.05c-.557.113-.658.13-1.17.2l-.037.038-.006.024-.002-.009c-.38.879-.37.69-.68%201.38l-.003-.084-.078-1.5-.048-.049c-.584.113-.597.13-1.136.2l-.042.038c-.006.017-.006.037-.01.059l.004.007c.067.344.051.268.119.81.031.267.073.535.105.798.053.44.083.658.148%201.33-.364.6-.45.827-.8%201.354l.002.005-.247.39c-.028.041-.053.07-.09.082a.4.4%200%200%201-.16.023h-.137l-.204.675.697.012c.41-.002.666-.193.805-.45l.438-.75h-.007l.046-.053c.294-.635%202.536-4.48%202.536-4.48m-7.353%208.871h-.296l1.094-3.618h.363l.115-.373.011.415c-.013.256.188.483.718.446h.612l.211-.697h-.23q-.198.002-.187-.105l-.01-.422h-1.135v.002c-.366.008-1.461.036-1.683.095-.268.069-.55.272-.55.272l.11-.373h-1.06l-.221.74-1.109%203.674h-.215l-.211.691h2.113l-.071.231h1.04l.07-.23h.292zm-.867-2.883c-.17.047-.486.19-.486.19l.281-.925h.843l-.203.674s-.26.015-.435.061m.016%201.322s-.264.033-.439.072a4%204%200%200%200-.493.216l.29-.962h.847zm-.472%201.57h-.845l.245-.812h.843zm2.036-2.244h1.218l-.175.567h-1.234l-.186.62h1.08l-.817%201.152a.34.34%200%200%201-.166.138.5.5%200%200%201-.22.063h-.3l-.205.68h.784c.407%200%20.648-.186.826-.43l.56-.767.12.78c.026.145.131.23.203.264.078.04.159.107.274.117q.182.009.27.01h.385l.232-.76h-.152c-.087%200-.238-.015-.263-.043-.026-.033-.026-.084-.04-.162l-.122-.781h-.5l.22-.261h1.232l.19-.62H30.62l.178-.567h1.137l.211-.7h-3.39zM18.257%2025.77l.284-.946h1.17l.213-.704h-1.17l.179-.582h1.143l.212-.682h-2.86l-.208.682h.65l-.174.582h-.652l-.216.716h.65l-.379%201.252c-.051.165.024.228.072.305a.31.31%200%200%200%20.21.153c.114.026.192.041.299.041h1.318l.234-.78-.584.08c-.113%200-.425-.013-.39-.117Zm.134-4.53-.296.536a.6.6%200%200%201-.172.223q-.069.041-.265.04h-.154l-.207.685h.514c.246%200%20.436-.09.526-.136.098-.052.123-.022.198-.095l.174-.15h1.603l.212-.713h-1.173l.205-.39zm2.367%204.544c-.028-.04-.008-.11.034-.253l.438-1.45h1.558c.227-.004.391-.006.498-.014q.172-.017.375-.126a.7.7%200%200%200%20.272-.252c.068-.092.176-.296.27-.61l.55-1.834-1.617.01s-.498.073-.717.154c-.222.09-.538.343-.538.343l.146-.503h-.999l-1.398%204.639q-.077.27-.091.389c-.003.085.107.168.177.232.084.063.208.052.327.063.125.01.302.015.547.015h.768l.235-.796-.687.065a.18.18%200%200%201-.148-.072m.754-2.683h1.637l-.104.326c-.014.008-.05-.016-.216.004h-1.417zm.328-1.094h1.651l-.119.393s-.778-.008-.902.015c-.549.095-.869.388-.869.388l.24-.796Zm1.242%202.513a.18.18%200%200%201-.065.1q-.048.031-.167.03h-.234l.014-.398h-.97l-.04%201.942c0%20.14.013.221.115.286.103.081.419.092.844.092h.608l.22-.727-.53.029-.176.01a.2.2%200%200%201-.073-.045c-.022-.022-.06-.009-.053-.149l.004-.497.555-.023c.3%200%20.428-.098.537-.19.104-.09.138-.192.178-.33l.093-.441h-.763z'/%3e%3c/svg%3e",VISA:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231b16e6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.912%2018.197c-.018%201.393%201.253%202.17%202.21%202.632.983.475%201.313.779%201.31%201.203-.008.649-.785.935-1.512.946-1.269.02-2.006-.339-2.593-.61l-.457%202.119c.588.268%201.678.503%202.808.513%202.652%200%204.386-1.297%204.396-3.309.01-2.552-3.563-2.693-3.539-3.834.009-.346.342-.715%201.072-.81.361-.047%201.359-.083%202.49.433l.443-2.05a6.8%206.8%200%200%200-2.362-.43c-2.496%200-4.252%201.315-4.266%203.197m10.893-3.02c-.484%200-.892.28-1.074.71l-3.788%208.963h2.65l.527-1.445h3.239l.305%201.444H35l-2.038-9.672zm.372%202.613.765%203.632h-2.094zM16.7%2015.177l-2.09%209.672h2.526l2.088-9.672zm-3.736%200-2.628%206.583-1.064-5.598c-.124-.625-.617-.985-1.164-.985H3.81l-.06.28c.882.19%201.884.496%202.491.823.372.2.478.375.6.85l2.013%207.72h2.67l4.091-9.673h-2.652Z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",V_PAY:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231c3378'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231c3378'%20d='M38.753%200H2v39.754h36.753z'/%3e%3cpath%20fill='%23fff'%20d='M36.957%2025.94H2.043V1.04h34.914z'/%3e%3cpath%20fill='%231c3378'%20d='m28.331%205.56-6.85%2016.327h-4.476L13.634%208.855c-.203-.8-.383-1.095-1.003-1.436-1.021-.547-2.7-1.065-4.176-1.388l.099-.47h7.197c.918%200%201.744.608%201.952%201.66l1.784%209.448%204.4-11.108h4.444Z'/%3e%3cpath%20fill='%23fff'%20d='M11.773%2032.32c.163.045.38.058.65.058.994%200%201.601-.51%201.601-1.398%200-.844-.561-1.295-1.484-1.295a3.5%203.5%200%200%200-.767.07zm-1.318-3.535c.476-.09%201.136-.157%202.034-.157.974%200%201.685.213%202.15.619.433.371.714.966.714%201.68%200%20.717-.217%201.313-.628%201.72-.53.55-1.361.81-2.302.81-.246%200-.476-.014-.65-.046v2.862h-1.318zm9.903%204.29-.572-1.869c-.142-.461-.26-.98-.369-1.42h-.021c-.107.44-.217.972-.345%201.42l-.562%201.87h1.87Zm-2.085%201.046-.628%202.152h-1.372l2.334-7.59h1.698l2.369%207.59h-1.428l-.66-2.152zm7.2%202.152v-3.166l-2.302-4.423h1.51l.878%201.946c.248.566.43.99.628%201.51h.019c.184-.485.393-.958.639-1.51l.877-1.946h1.502l-2.422%204.391v3.198z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},ll={class:"flex h-full grow flex-col justify-center"},il=e.defineComponent({__name:"PaymentMethodCard",props:{paymentMethod:{},isDefault:{type:Boolean},i18n:{},options:{},variant:{default:"default"}},setup(t){const n=t,o=e.computed(()=>{var e,t,o;return(null==(e=n.i18n)?void 0:e.expiryDate)&&n.paymentMethod.card.expiry_date?n.i18n.expiryDate(n.paymentMethod.card.expiry_date.expiry_month,n.paymentMethod.card.expiry_date.expiry_year):n.paymentMethod.card.expiry_date?`Expiry date: ${null==(t=n.paymentMethod.card.expiry_date)?void 0:t.expiry_month}/${null==(o=n.paymentMethod.card.expiry_date)?void 0:o.expiry_year}`:void 0}),a=e.computed(()=>n.paymentMethod.card.brand?al[n.paymentMethod.card.brand]:hn);return(n,l)=>{var i;return e.openBlock(),e.createBlock(_n,{"image-src":a.value,"image-alt":null==(i=t.paymentMethod.card.brand)?void 0:i.toLowerCase(),variant:t.variant,options:t.options,disabled:"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",ll,[e.createVNode(m,{tag:"span",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0,weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(" **** **** **** "+e.toDisplayString(t.paymentMethod.card.last_four_digits??"****"),1)]),_:1},8,["variant","shade"]),"default"===t.variant&&o.value?(e.openBlock(),e.createBlock(m,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Ja,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(el,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),rl={AMAZON_PAY:{name:"Amazon Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20fill-rule='evenodd'%20clip-path='url(%23a)'%20clip-rule='evenodd'%3e%3cpath%20fill='%23f3f6f9'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23232f3e'%20d='M5.923%2021.696a.13.13%200%200%201-.154.016c-.218-.18-.257-.265-.376-.437-.36.367-.614.476-1.08.476-.551%200-.98-.34-.98-1.02%200-.532.29-.894.696-1.071.356-.155.852-.184%201.231-.227v-.084c0-.156.013-.34-.08-.476-.08-.12-.231-.17-.367-.17-.25%200-.472.128-.526.394a.14.14%200%200%201-.116.12l-.631-.069a.116.116%200%200%201-.097-.137c.146-.77.842-1.002%201.465-1.002.319%200%20.735.084.985.326.318.298.29.695.29%201.127v1.02c0%20.307.128.441.248.607.042.058.051.13%200%20.173-.134.113-.372.319-.502.435zm-.66-1.596c0%20.255.006.467-.122.695-.104.185-.27.298-.454.298-.251%200-.398-.191-.398-.475%200-.558.5-.66.974-.66zm2.454%201.57h-.654a.12.12%200%200%201-.116-.11v-3.362a.124.124%200%200%201%20.125-.12h.61a.12.12%200%200%201%20.116.115v.44h.013c.158-.426.458-.623.862-.623s.666.197.849.623a.967.967%200%200%201%201.666-.258c.208.282.165.695.165%201.053v2.121a.13.13%200%200%201-.038.087.12.12%200%200%201-.088.035h-.655a.12.12%200%200%201-.116-.12v-1.784c0-.141.013-.494-.018-.629-.05-.227-.196-.29-.385-.29a.43.43%200%200%200-.392.275c-.066.171-.061.454-.061.644v1.782a.123.123%200%200%201-.126.121h-.656a.123.123%200%200%201-.116-.12v-1.783c0-.374.058-.927-.406-.927-.463%200-.452.537-.452.927v1.782a.124.124%200%200%201-.127.122m7.296-.583c-.12-.166-.246-.3-.246-.607v-1.02c0-.433.03-.83-.29-1.128-.252-.24-.668-.325-.986-.325-.623%200-1.319.231-1.465%201.002a.116.116%200%200%200%20.098.137l.635.069a.14.14%200%200%200%20.116-.121c.055-.265.276-.393.526-.393.135%200%20.29.05.368.17.092.135.08.319.08.475v.083c-.38.042-.877.071-1.232.226-.41.178-.698.539-.698%201.072%200%20.68.429%201.02.98%201.02.464%200%20.72-.11%201.08-.476.119.174.158.256.375.436a.13.13%200%200%200%20.155-.015%2028%2028%200%200%201%20.502-.435c.056-.04.046-.11.002-.17m-1.286-.294c-.103.183-.269.297-.453.297-.25%200-.397-.191-.397-.475%200-.558.5-.66.973-.66v.142c0%20.256.005.468-.123.696m1.841-2.126v-.48a.116.116%200%200%201%20.123-.122h2.152a.12.12%200%200%201%20.124.121v.412c0%20.07-.058.16-.162.302l-1.115%201.592c.413-.01.851.053%201.228.264.07.037.113.109.115.187v.515c0%20.07-.076.153-.158.11a2.48%202.48%200%200%200-2.274.004c-.075.04-.154-.04-.154-.111v-.49a.6.6%200%200%201%20.08-.33l1.293-1.855h-1.127a.12.12%200%200%201-.125-.121m4.257.026c-.482%200-.513.658-.513%201.068s-.006%201.286.507%201.286.532-.706.532-1.138c0-.282-.012-.622-.098-.891-.073-.231-.22-.325-.428-.325m-.006-.686c.972%200%201.498.834%201.498%201.895%200%201.026-.58%201.84-1.498%201.84-.953%200-1.473-.835-1.473-1.875s.525-1.86%201.473-1.86m2.766%203.659h-.654a.123.123%200%200%201-.116-.12V18.18a.123.123%200%200%201%20.127-.11h.607c.055.002.103.04.116.094v.514h.013c.182-.46.44-.678.892-.678.293%200%20.58.107.765.396.17.269.17.722.17%201.047v2.115a.13.13%200%200%201-.125.106h-.659a.12.12%200%200%201-.116-.106v-1.825c0-.367.043-.905-.41-.905a.43.43%200%200%200-.379.269c-.091.205-.103.41-.103.638v1.809a.126.126%200%200%201-.128.12m5.328-3.083a1.53%201.53%200%200%200-.92.316v1.914q.44.33.906.329.947%200%20.947-1.275t-.933-1.284m-.968-.089c.164-.145.353-.26.556-.343.192-.076.397-.116.604-.116.206-.004.41.038.598.12.177.082.332.204.452.358.132.17.228.364.286.57q.104.37.1.754c.002.26-.034.52-.107.768-.061.212-.163.41-.299.584a1.4%201.4%200%200%201-.467.375%201.4%201.4%200%200%201-.61.128%201.53%201.53%200%200%201-1.065-.406v1.61a.122.122%200%200%201-.137.137h-.405a.12.12%200%200%201-.133-.082.1.1%200%200%201-.005-.056v-4.62a.12.12%200%200%201%20.082-.132.1.1%200%200%201%20.056-.006h.302a.145.145%200%200%201%20.158.138zm4.308%202.7q.244-.002.474-.088.255-.094.473-.261v-.701a3.3%203.3%200%200%200-.727-.09q-.777%200-.777.599%200%20.26.145.401.144.14.412.14m-.804-2.459-.052.018a.2.2%200%200%201-.058.01q-.087%200-.089-.124v-.184a.23.23%200%200%201%20.027-.133.3.3%200%200%201%20.11-.073%202.5%202.5%200%200%201%20.542-.152q.32-.057.646-.057.652%200%20.96.267.31.267.31.83v2.346a.123.123%200%200%201-.137.138h-.296a.14.14%200%200%201-.103-.033.14.14%200%200%201-.048-.098l-.034-.227q-.245.212-.546.33a1.6%201.6%200%200%201-.594.116q-.494%200-.783-.278-.287-.28-.29-.746%200-.5.357-.8.358-.298.962-.298.439.006.864.116v-.451q0-.372-.164-.522-.165-.15-.577-.151a3.6%203.6%200%200%200-1.007.156m4.631%203.494q-.186.474-.43.68-.243.206-.637.206a1.5%201.5%200%200%201-.392-.048.2.2%200%200%201-.11-.066.23.23%200%200%201-.034-.14v-.179q0-.13.103-.13.053.003.103.013.092.015.186.014a.6.6%200%200%200%20.405-.124q.145-.123.261-.453l.13-.348-1.322-3.27a.5.5%200%200%201-.048-.165q0-.082.096-.082h.412a.24.24%200%200%201%20.151.034q.059.067.082.151l.962%202.664.927-2.664a.4.4%200%200%201%20.082-.151.25.25%200%200%201%20.151-.034h.385q.096%200%20.096.082a.5.5%200%200%201-.048.165z'/%3e%3cpath%20fill='%23f90'%20d='M16.456%2022.989c-1.23.907-3.014%201.391-4.547%201.391a8.23%208.23%200%200%201-5.554-2.119c-.116-.103-.013-.246.126-.165%201.582.92%203.536%201.475%205.557%201.475a11.1%2011.1%200%200%200%204.24-.87c.207-.088.382.137.178.29m.511-.584c.158.201-.173%201.031-.322%201.402-.046.112.051.157.153.072.659-.552.83-1.708.695-1.874-.133-.167-1.286-.309-1.99.186-.109.076-.09.18.03.166.396-.048%201.278-.154%201.436.048'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},APPLE_PAY:{name:"Apple Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23000'%20d='M31.367%2011H8.35l-.24.004a3.4%203.4%200%200%200-.52.047%201.66%201.66%200%200%200-1.223.905%201.8%201.8%200%200%200-.163.502%204%204%200%200%200-.046.529q-.003.12-.003.243v13.54l.003.242c.005.177.015.354.046.529q.045.264.163.503a1.68%201.68%200%200%200%201.223.904c.172.032.347.042.52.047q.263.007.524.004h23.017l.239-.004c.173-.005.349-.015.52-.046a1.66%201.66%200%200%200%201.223-.906c.081-.16.132-.325.163-.502.032-.175.042-.352.046-.529q.004-.12.004-.242V13.23q0-.122-.004-.243a4%204%200%200%200-.046-.529%201.7%201.7%200%200%200-.89-1.242%201.7%201.7%200%200%200-.495-.165%203.4%203.4%200%200%200-.521-.047l-.24-.003z'/%3e%3cpath%20fill='%23fff'%20d='M31.368%2011.6h.28q.112%200%20.227.004c.132.003.287.01.432.037a1.07%201.07%200%200%201%20.801.587%201.2%201.2%200%200%201%20.108.337c.026.145.033.302.036.438l.004.23v13.534q0%20.115-.004.23a3%203%200%200%201-.037.44q-.03.176-.107.335a1.08%201.08%200%200%201-.8.586%203%203%200%200%201-.43.038l-.231.003H8.354q-.115%200-.226-.003a3%203%200%200%201-.432-.037%201.2%201.2%200%200%201-.333-.11%201.06%201.06%200%200%201-.468-.477%201.2%201.2%200%200%201-.108-.337%203%203%200%200%201-.037-.438l-.004-.23V13.233q0-.116.004-.23a3%203%200%200%201%20.037-.44c.022-.127.056-.233.108-.336a1.08%201.08%200%200%201%20.8-.586c.145-.026.3-.034.433-.037l.227-.004z'/%3e%3cpath%20fill='%23000'%20d='M13.714%2016.963c.237-.297.398-.695.356-1.102-.347.018-.77.23-1.016.526-.22.254-.415.67-.364%201.059.39.034.779-.195%201.024-.483m.352.559c-.566-.034-1.047.32-1.318.32-.27%200-.684-.303-1.131-.295a1.67%201.67%200%200%200-1.419.862c-.608%201.048-.16%202.602.431%203.456.287.422.633.887%201.09.87.43-.017.599-.279%201.122-.279s.676.279%201.132.27c.473-.008.768-.422%201.055-.844.33-.482.465-.947.473-.972-.008-.009-.912-.355-.92-1.394-.009-.87.71-1.284.743-1.31-.405-.6-1.039-.667-1.258-.684m4.926-1.178c1.23%200%202.086.848%202.086%202.082%200%201.238-.874%202.09-2.117%202.09h-1.362v2.166h-.984v-6.338zm-1.393%203.347h1.129c.856%200%201.344-.461%201.344-1.26%200-.8-.488-1.257-1.34-1.257H17.6zm3.735%201.679c0-.809.62-1.305%201.718-1.367l1.264-.074v-.356c0-.514-.347-.821-.926-.821-.55%200-.892.263-.976.676h-.896c.053-.835.765-1.45%201.907-1.45%201.12%200%201.836.594%201.836%201.52v3.185h-.91v-.76h-.021c-.268.514-.852.839-1.459.839-.904%200-1.537-.562-1.537-1.392m2.982-.418v-.364l-1.137.07c-.567.04-.887.29-.887.685%200%20.404.333.668.843.668.663%200%201.181-.457%201.181-1.059m1.803%203.429v-.768c.07.017.228.017.307.017.44%200%20.677-.184.822-.659%200-.008.083-.28.083-.285l-1.669-4.626h1.028l1.168%203.76h.018l1.168-3.76h1.002l-1.731%204.863c-.395%201.12-.852%201.48-1.81%201.48-.079%200-.316-.009-.386-.022'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},CASH_APP:{name:"Cash App",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%2300ce32'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M20.647%2015.6a5.27%205.27%200%200%201%203.409%201.261c.204.187.517.18.714-.014l.982-.993a.51.51%200%200%200-.027-.743%207.8%207.8%200%200%200-2.624-1.481l.294-1.46a.52.52%200%200%200-.282-.57.5.5%200%200%200-.221-.05h-1.89a.515.515%200%200%200-.502.406l-.264%201.306c-2.516.125-4.65%201.38-4.65%203.955%200%202.225%201.764%203.182%203.627%203.85%201.763.662%202.698.907%202.698%201.838%200%20.93-.932%201.516-2.304%201.516a5.05%205.05%200%200%201-3.582-1.413.51.51%200%200%200-.717%200l-1.053%201.037a.515.515%200%200%200%200%20.738%206.95%206.95%200%200%200%203.042%201.68l-.294%201.353a.53.53%200%200%200%20.5.634h1.895a.515.515%200%200%200%20.506-.409l.273-1.282c3.015-.187%204.858-1.822%204.858-4.216%200-2.204-1.837-3.134-4.068-3.892-1.275-.483-2.377-.8-2.377-1.754s1.029-1.297%202.057-1.297'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},DANA:{name:"DANA",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23108ee9'%20fill-rule='evenodd'%20d='M4.1%2015.7c0-2.48%201.974-4.49%204.411-4.49s4.411%202.01%204.411%204.49c0%202.479-1.976%204.49-4.411%204.49S4.1%2018.18%204.1%2015.7m3.227-1.007c.404-.062.778-.219%201.155-.36.308-.116.616-.236.931-.325.54-.153%201.064-.112%201.543.216.088.061.135.14.135.247v2.496c0%20.1-.036.12-.123.07a1.83%201.83%200%200%200-1.188-.267q-.435.05-.847.197c-.314.108-.628.219-.944.323a3.3%203.3%200%200%201-.874.174%201.8%201.8%200%200%201-1.071-.282.24.24%200%200%201-.112-.216l.002-1.354v-.632q-.002-.255%200-.511c0-.03.013-.07.033-.085.016-.011.058.004.083.02a1.67%201.67%200%200%200%20.979.312q.15-.002.3-.023m12.758.658c.024-1.056.87-1.905%201.913-1.905s1.89.848%201.913%201.905l.001%202.631h-.956v-.971H21.04v.971h-.956v-2.631zm.955.038v.647h1.916v-.646a.967.967%200%200%200-.958-.969.966.966%200%200%200-.958.97m10.033-.038c.023-1.056.87-1.905%201.913-1.905s1.888.848%201.913%201.905l.001%202.631h-.958v-.971H32.03v.971h-.958v-2.633zm.955.038v.647h1.914v-.648a.966.966%200%200%200-.956-.969.967.967%200%200%200-.958.97m-6.445-.038c.023-1.056.869-1.905%201.91-1.905%201.042%200%201.89.848%201.914%201.905h.003v2.632h-.958V15.39a.966.966%200%200%200-.958-.969.964.964%200%200%200-.956.97h-.001v2.593h-.956v-2.633zm-9.408-1.904.018-.001h.089l-.012.004c1.194.042%202.15%201.038%202.15%202.264%200%201.229-.96%202.226-2.156%202.265l.018.004h-1.69v-4.538h1.583m-.628.973v.182h.003v2.224h-.003v.18h.728a1.285%201.285%200%200%200%201.189-1.291c0-.686-.528-1.249-1.195-1.29z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23d8d8d8'%20d='M34.9%2022.08H4.1v.22h30.8z'/%3e%3cpath%20fill='%233e3a3a'%20fill-rule='evenodd'%20d='M12.313%2026.557c0-.064.013-.128.064-.178.08-.08.238-.141.6-.226v.545c-.18.097-.281.136-.4.136-.162%200-.264-.107-.264-.277m-1.984-1.11c.251%200%20.451.2.451.626%200%20.544-.293.787-.621.787a.7.7%200%200%201-.23-.034v-1.235a.66.66%200%200%201%20.4-.144m5.715-.473.004-.005h-.633l-.4%201.387h-.022l-.46-1.386h-.753l.907%202.29-.379.697v.017h.592zm-7.91%202.277h.672v-2.28h-.672zm4.923%200h.673l-.08-.57v-.954c0-.519-.308-.804-.848-.804-.344%200-.583.06-1.017.192l.119.523c.396-.178.57-.255.753-.255.221%200%20.32.157.32.4v.017c-.77.144-1.01.225-1.158.374-.111.111-.157.268-.157.45%200%20.439.34.673.66.673.238%200%20.43-.09.69-.285zm-2.735.03c.6%200%201.14-.443%201.14-1.23%200-.706-.391-1.128-.876-1.128-.247%200-.438.094-.656.273v-.226h-.672v3.005h.672v-.745c.128.033.247.051.392.051m-5.477-1.108.4-1.383h.017l.378%201.383zm-.932%201.077h.622l.17-.588h1.068l.162.588h.795l-.906-3h-.902zm3.089%200h.672v-3.107h-.672z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%231677ff'%20fill-rule='evenodd'%20d='M8.083%2024.42c0%20.222.162.37.388.37.225%200%20.387-.148.387-.37%200-.216-.162-.37-.387-.37-.226%200-.388.154-.388.37m10.662-.276c.202%200%20.367.165.367.368v1.16h1.16c.202%200%20.367.163.367.367v.393h-1.527a.75.75%200%200%201-.397-.112l-.021-.013a.7.7%200%200%201-.168-.152l-.016-.018-.009-.012a.8.8%200%200%201-.11-.21l-.014-.045a.8.8%200%200%201-.026-.198v-1.528z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%2300b6ff'%20fill-rule='evenodd'%20d='M17.98%2026.432h-.789a.37.37%200%200%201-.367-.367v-.394h1.156zm.37%201.158v-.785h.762v1.153h-.394a.37.37%200%200%201-.367-.367'%20clip-rule='evenodd'/%3e%3cpath%20fill='%233e3a3a'%20fill-rule='evenodd'%20d='M22.688%2025.48v.617h.4a.35.35%200%200%200%20.236-.078q.09-.078.09-.232t-.09-.231a.36.36%200%200%200-.237-.076zm.412-.149q.104%200%20.192.033.09.033.153.092.065.06.099.143.036.09.035.189%200%20.105-.035.189a.4.4%200%200%201-.1.144.5.5%200%200%201-.345.126h-.412v.639h-.166V25.33zm1.406%201.059h.578l-.288-.823zm.93.494h-.177l-.125-.35h-.678l-.125.35h-.176l.571-1.553h.14zm.984-1.404v.57h.414a.35.35%200%200%200%20.223-.07q.087-.069.086-.213%200-.144-.086-.215a.34.34%200%200%200-.223-.07h-.415zm.43-.149q.1%200%20.185.03t.147.085q.06.055.094.136a.5.5%200%200%201%20.034.18.4.4%200%200%201-.093.279.43.43%200%200%201-.244.138l.368.704h-.194l-.354-.688h-.373v.688h-.166v-1.552zm2.256.149h-.45v1.404h-.167V25.48h-.448v-.149h1.064zm2.004%201.405h-.157l-.824-1.246v1.245h-.167v-1.553h.158l.824%201.241v-1.24h.166zm1.98-1.405h-.798v.546h.68v.149h-.68v.561h.798v.148h-.964v-1.553h.964zm1.078%200v.57h.414a.35.35%200%200%200%20.224-.07q.085-.069.085-.213t-.085-.215a.34.34%200%200%200-.224-.07h-.414zm.43-.149a.6.6%200%200%201%20.186.03q.086.03.146.085t.095.136a.5.5%200%200%201%20.034.18.4.4%200%200%201-.338.417l.368.704h-.193l-.353-.688h-.373v.688h-.166v-1.552z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GCASH:{name:"GCash",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23007dfe'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23002ac4'%20d='M11%2019.555c.046-.068.046-.16.046-.228.091-1.027.342-1.986.821-2.899q1.78-3.39%205.479-4.245a7.4%207.4%200%200%201%202.465-.137c1.529.137%202.876.707%204.085%201.62a.906.906%200%200%201%20.092%201.415.9.9%200%200%201-1.164.069%205%205%200%200%200-.571-.388%206.4%206.4%200%200%200-2.716-.89%206.12%206.12%200%200%200-6.505%204.747%206.153%206.153%200%200%200%204.633%207.396c1.849.41%203.56.046%205.113-1.096.297-.205.594-.296.936-.16.32.115.548.366.593.708.046.343-.068.662-.342.867a8.1%208.1%200%200%201-3.538%201.553c-.61.11-1.231.14-1.849.091-1.849-.114-3.47-.776-4.839-2.009-1.37-1.164-2.191-2.625-2.556-4.382a6%206%200%200%201-.137-.89c0-.092%200-.16-.046-.229z'/%3e%3cpath%20fill='%23fff'%20d='M22.093%2020.948h-2.122a.89.89%200%200%201-.868-.617c-.205-.593.228-1.232.867-1.232h3.219c.525%200%20.936.41.936.936a4.9%204.9%200%200%201-.434%202.054c-.753%201.598-1.986%202.58-3.698%202.922-2.716.502-5.34-1.256-5.912-3.926-.456-2.146.48-4.36%202.443-5.479a5%205%200%200%201%202.191-.639%204.9%204.9%200%200%201%202.876.685c.046.023.114.069.16.091.41.274.525.822.274%201.233a.923.923%200%200%201-1.233.342c-.16-.091-.297-.182-.456-.25-1.872-.822-4.086.319-4.451%202.328a3.22%203.22%200%200%200%202.556%203.766c1.552.296%203.127-.617%203.63-2.1.022-.046.045-.069.022-.114'/%3e%3cpath%20fill='%2375c2fb'%20d='M29.991%2019.92c0%201.598-.274%203.013-.867%204.383-.092.251-.206.48-.343.708-.182.342-.502.525-.958.479-.343-.046-.64-.342-.73-.708a.85.85%200%200%201%20.09-.616c.229-.434.411-.867.548-1.324.18-.556.303-1.13.366-1.712.045-.365.068-.753.068-1.118-.023-1.324-.274-2.602-.844-3.812-.046-.114-.115-.228-.16-.343-.274-.616.182-1.323.844-1.278.343.023.617.183.776.502.32.64.594%201.301.776%202.01.16.547.252%201.095.32%201.643.114.41.137.843.114%201.186m-2.967.115a7.7%207.7%200%200%201-.708%203.264c-.114.274-.32.479-.593.547-.343.092-.662.023-.913-.25-.252-.274-.32-.594-.183-.937.091-.228.183-.433.251-.661.16-.457.251-.936.297-1.416.091-1.095-.069-2.122-.525-3.127-.228-.502%200-1.05.502-1.232.434-.183.936.023%201.141.456.274.594.48%201.21.594%201.85.091.501.16%201.003.137%201.506'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GOOGLE_PAY:{name:"Google Pay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23111211'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M18.923%2016.468v2.527h1.559c.345.01.68-.125.92-.374a1.268%201.268%200%200%200-.92-2.153zm0%203.417v2.93h-.93V15.58h2.468a2.23%202.23%200%200%201%201.599.626%202.09%202.09%200%200%201%200%203.063%202.23%202.23%200%200%201-1.599.616zm4.746%201.415a.74.74%200%200%200%20.309.606c.206.162.461.247.723.242.393%200%20.77-.156%201.047-.434.293-.258.46-.63.46-1.02a1.9%201.9%200%200%200-1.214-.344%201.58%201.58%200%200%200-.946.273.81.81%200%200%200-.38.676m1.204-3.599a2.3%202.3%200%200%201%201.63.551c.408.393.626.945.596%201.511v3.053h-.89v-.688h-.04a1.78%201.78%200%200%201-1.539.85%202%202%200%200%201-1.37-.486c-.358-.3-.56-.746-.552-1.213a1.47%201.47%200%200%201%20.582-1.223%202.45%202.45%200%200%201%201.553-.455%202.75%202.75%200%200%201%201.365.304v-.213a1.06%201.06%200%200%200-.384-.824%201.32%201.32%200%200%200-.9-.338%201.43%201.43%200%200%200-1.235.657l-.82-.516a2.29%202.29%200%200%201%202.004-.97m7.336.163L29.102%2025h-.96l1.152-2.497-2.044-4.639h1.012l1.477%203.557h.02l1.438-3.557z'/%3e%3cpath%20fill='%23547dbe'%20d='M15.162%2019.254q0-.426-.072-.846h-3.926v1.602h2.249a1.93%201.93%200%200%201-.832%201.264v1.04h1.342a4.07%204.07%200%200%200%201.239-3.06'/%3e%3cpath%20fill='%2334a751'%20d='M11.163%2023.318c1.014.028%202-.33%202.76-1.004l-1.343-1.04a2.526%202.526%200%200%201-3.754-1.319H7.443v1.072a4.16%204.16%200%200%200%203.72%202.29'/%3e%3cpath%20fill='%23f7ba16'%20d='M8.826%2019.954a2.5%202.5%200%200%201%200-1.592v-1.071H7.443a4.15%204.15%200%200%200%200%203.735z'/%3e%3cpath%20fill='%23e84334'%20d='M11.163%2016.646a2.26%202.26%200%200%201%201.597.624l1.188-1.186A4%204%200%200%200%2011.163%2015a4.16%204.16%200%200%200-3.72%202.292l1.383%201.071a2.49%202.49%200%200%201%202.337-1.717'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},GO_PAY:{name:"GoPay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%234c3494'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%2300aed6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2300aed6'%20d='M5.93%2016.22c2.17%200%203.928%201.787%203.928%203.99S8.1%2024.2%205.93%2024.2%202%2022.414%202%2020.21c0-2.203%201.76-3.99%203.93-3.99'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M8.218%2020.086a.92.92%200%200%200-.953-.873H4.783a.165.165%200%200%201-.163-.166c0-.091.073-.166.163-.166h2.515a.79.79%200%200%200-.573-.733%206.3%206.3%200%200%200-2.215%200%201.055%201.055%200%200%200-.786.887%208%208%200%200%200%200%202.363c.088.455.445.808.896.887.91.115%201.829.115%202.739%200a.97.97%200%200%200%20.76-.838q.12-.675.099-1.361m-.815.559v.147a.165.165%200%200%201-.227.154.17.17%200%200%201-.101-.154v-.147a.25.25%200%200%201%20.164-.435.25.25%200%200%201%20.164.435'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23000'%20d='M5.93%2016.22c2.17%200%203.928%201.787%203.928%203.99S8.1%2024.2%205.93%2024.2%202%2022.414%202%2020.21c0-2.203%201.76-3.99%203.93-3.99'/%3e%3cpath%20fill='%2300aed6'%20fill-rule='evenodd'%20d='M8.218%2020.086a.92.92%200%200%200-.953-.873H4.783a.165.165%200%200%201-.163-.166c0-.091.073-.166.163-.166h2.515a.79.79%200%200%200-.573-.733%206.3%206.3%200%200%200-2.215%200%201.055%201.055%200%200%200-.786.887%208%208%200%200%200%200%202.363c.088.455.445.808.896.887.91.115%201.829.115%202.739%200a.97.97%200%200%200%20.76-.838q.12-.675.099-1.361m-.815.559v.147a.165.165%200%200%201-.227.154.17.17%200%200%201-.101-.154v-.147a.25.25%200%200%201%20.164-.435.25.25%200%200%201%20.164.435'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M12.964%2022.197a1.68%201.68%200%200%200%201.469.728c.684%200%201.187-.444%201.187-1.047v-.318h-.016a1.85%201.85%200%200%201-1.41.536c-1.262.036-2.314-.972-2.35-2.253s.957-2.35%202.219-2.386q.045-.002.089-.001a1.95%201.95%200%200%201%201.452.52h.016v-.437h1.172v4.322c0%201.256-.982%202.127-2.36%202.127a2.8%202.8%200%200%201-2.342-1.055zm2.607-2.69c0-.502-.56-.962-1.187-.962-.793%200-1.32.486-1.32%201.214a1.168%201.168%200%200%200%201.27%201.248c.685%200%201.237-.436%201.237-.98zm4.289-2.093c1.428%200%202.467%201.03%202.467%202.345s-1.039%202.345-2.466%202.345c-1.276.085-2.378-.896-2.461-2.192-.084-1.295.883-2.413%202.158-2.498q.15-.01.302%200m.001%201.088a1.25%201.25%200%200%200-1.228%201.265%201.245%201.245%200%200%200%201.246%201.248%201.247%201.247%200%200%200%201.229-1.256%201.195%201.195%200%200%200-1.247-1.257m3.127-.962h1.171v.393h.017c.383-.357.89-.544%201.41-.52%201.276.024%202.291%201.093%202.268%202.389-.022%201.258-1.02%202.275-2.26%202.302a2.1%202.1%200%200%201-1.369-.469h-.016v2.228h-1.221zm2.409.971c-.645%200-1.189.46-1.189.963v.561c0%20.536.528.98%201.196.98a1.24%201.24%200%200%200%201.23-1.256%201.24%201.24%200%200%200-1.237-1.248m4.758.821c.8-.11%201.04-.227%201.04-.452%200-.294-.305-.47-.775-.47a1.034%201.034%200%200%200-1.09.796l-1.154-.242c.164-.905%201.08-1.55%202.21-1.55%201.279%200%202.071.662%202.071%201.742v2.823H31.36v-.486h-.017a1.79%201.79%200%200%201-1.477.611c-.965%200-1.632-.536-1.632-1.323%200-.83.544-1.255%201.921-1.449m1.139.468h-.017c-.107.16-.338.251-.932.36-.718.134-.973.276-.973.536%200%20.268.214.385.676.385.701%200%201.246-.326%201.246-.754zm3.374%201.936-2.021-4.197h1.345l1.327%202.898h.017l1.312-2.898H38l-3.027%206.324H33.63z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},KAKAOPAY:{name:"KakaoPay",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ffcd01'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23000'%20d='M9.488%2024.5c-.238-.402%200-.702.068-1.003s.153-.617.243-.951c-.164-.125-.334-.238-.504-.363a2.832%202.832%200%200%201-.034-4.735%204.815%204.815%200%200%201%206.152.345%202.76%202.76%200%200%201%200%204.033%204.53%204.53%200%200%201-3.32%201.264%201.43%201.43%200%200%200-.895.271c-.413.3-.85.595-1.274.873-.125.09-.255.158-.436.266m9.482-7.132h.861c.057.091.136.204.193.284q.47-.24.974-.403a1.626%201.626%200%200%201%201.95.997%203.5%203.5%200%200%201%20.055%202.606%202.09%202.09%200%200%201-2.22%201.433l-.527-.034v1.7h-1.274c-.012-2.193-.012-4.362-.012-6.583m1.275%201.133v2.72a1.13%201.13%200%200%200%201.535-.816%203%203%200%200%200%200-1.49.71.71%200%200%200-.567-.567%201.16%201.16%200%200%200-.968.153m11.425-1.342c.448.124.84.232%201.275.368-.227.629-.425%201.212-.652%201.79-.39%201.053-.77%202.13-1.195%203.16a3.26%203.26%200%200%201-1.41%201.7c-.25-.22-.505-.459-.754-.691.363-.436.697-.867%201.031-1.28-.566-1.564-1.133-3.087-1.7-4.668l1.281-.368c.346%201.195.685%202.35%201.02%203.5h.113c.317-1.138.64-2.293.991-3.511m-3.92%205.007h-.883l-.153-.34-.125.034a5.4%205.4%200%200%201-1.133.402c-1.042.102-1.7-.566-1.58-1.654.068-.844.63-1.314%201.603-1.388h.986c.12-.566-.09-.9-.607-.878q-.712.064-1.41.227c-.09-.215-.215-.481-.346-.793a2.95%202.95%200%200%201%202.266-.515%201.524%201.524%200%200%201%201.371%201.506c.057%201.133.011%202.219.011%203.399m-1.268-1.206v-.866h-.77c-.618.068-.817.459-.539%201.048a1.3%201.3%200%200%200%201.31-.21z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},MOMO:{name:"Momo",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23ad2070'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M13.207%2027.325a.43.43%200%200%200-.336.157.3.3%200%200%200-.096-.098.4.4%200%200%200-.226-.059.44.44%200%200%200-.295.11v-.084H12v1.197h.274v-.62q0-.143.027-.217a.2.2%200%200%201%20.08-.102.23.23%200%200%201%20.126-.035q.084%200%20.116.045.04.053.038.164v.765h.274v-.689q0-.154.065-.22a.22.22%200%200%201%20.165-.065q.052%200%20.09.024.035.022.05.059c.007.02.015.06.015.148v.743h.273v-.806q0-.208-.101-.312a.38.38%200%200%200-.285-.105m1.275.242q.12%200%20.202.091.083.095.083.285%200%20.203-.083.298a.25.25%200%200%201-.202.092.26.26%200%200%201-.202-.091q-.083-.095-.083-.293%200-.196.083-.291a.26.26%200%200%201%20.202-.091m0-.242a.56.56%200%200%200-.377.134q-.187.162-.187.49%200%20.3.156.461a.54.54%200%200%200%20.408.163.6.6%200%200%200%20.29-.073q.134-.075.204-.209a.8.8%200%200%200%20.07-.357.62.62%200%200%200-.158-.445.54.54%200%200%200-.406-.164m1.747.624q0%20.195-.08.292a.23.23%200%200%201-.182.092q-.127%200-.204-.125a.54.54%200%200%201-.049-.267q0-.187.08-.283a.22.22%200%200%201%20.358-.004q.075.092.077.295m.142-.451a.44.44%200%200%200-.167-.128.5.5%200%200%200-.212-.045q-.15%200-.262.089v-.488h-.274v1.621h.26v-.07a.4.4%200%200%200%20.267.096.5.5%200%200%200%20.371-.17q.152-.17.152-.471a.8.8%200%200%200-.035-.24.6.6%200%200%200-.1-.194m.524-.268h.274v-.303h-.274zm0%201.318h.274v-1.197h-.274zm.875%200h.275v-1.62h-.274zm.995-.748a.3.3%200%200%201%20.08-.16.26.26%200%200%201%20.189-.075q.125%200%20.2.094a.3.3%200%200%201%20.056.141zm.532.333a.3.3%200%200%201-.102.154.25.25%200%200%201-.152.046.27.27%200%200%201-.202-.084.36.36%200%200%201-.088-.209h.825l.001-.041.001-.052q0-.293-.153-.456a.52.52%200%200%200-.395-.166.53.53%200%200%200-.407.169q-.155.166-.156.465%200%20.288.155.451a.55.55%200%200%200%20.418.163.56.56%200%200%200%20.344-.102.52.52%200%200%200%20.187-.288l.012-.048-.277-.034zm2.879-.808a.43.43%200%200%200-.336.157.3.3%200%200%200-.097-.098.4.4%200%200%200-.226-.059.44.44%200%200%200-.294.11v-.084h-.254v1.197h.273v-.62q0-.143.028-.217a.2.2%200%200%201%20.08-.102.23.23%200%200%201%20.125-.035q.084%200%20.117.045.038.053.038.164v.765h.274v-.689q0-.154.065-.22a.22.22%200%200%201%20.165-.065q.053%200%20.09.024.035.022.05.059c.006.02.015.06.015.148v.743h.273v-.806q0-.208-.101-.312a.38.38%200%200%200-.285-.105m1.36.242q.12%200%20.201.091.083.095.083.285%200%20.203-.082.298a.25.25%200%200%201-.202.092.26.26%200%200%201-.203-.091q-.083-.095-.083-.293%200-.196.083-.291a.26.26%200%200%201%20.203-.091m0-.242a.56.56%200%200%200-.378.134q-.186.162-.187.49%200%20.3.156.461a.54.54%200%200%200%20.409.163.6.6%200%200%200%20.29-.073.5.5%200%200%200%20.204-.209.8.8%200%200%200%20.07-.357.62.62%200%200%200-.158-.445.54.54%200%200%200-.406-.164m1.895.149a.33.33%200%200%200-.144-.11.5.5%200%200%200-.201-.039.45.45%200%200%200-.312.112v-.087h-.255v1.198h.274v-.65q0-.194.073-.258a.26.26%200%200%201%20.18-.066.2.2%200%200%201%20.11.028q.044.025.06.07a.5.5%200%200%201%20.019.157v.72h.274v-.727a1%201%200%200%200-.012-.192.4.4%200%200%200-.066-.156m.707.326a.3.3%200%200%201%20.08-.16.26.26%200%200%201%20.189-.075q.124%200%20.201.094.04.05.056.141zm.532.333a.3.3%200%200%201-.102.154.25.25%200%200%201-.152.046.27.27%200%200%201-.202-.084.36.36%200%200%201-.087-.209h.824l.001-.041.001-.052q0-.293-.152-.456a.52.52%200%200%200-.396-.166.53.53%200%200%200-.406.169q-.156.166-.156.465%200%20.288.154.451a.55.55%200%200%200%20.418.163.56.56%200%200%200%20.345-.102.52.52%200%200%200%20.186-.288l.012-.048-.277-.034zm1.316-.783-.248.677-.039.113-.04-.117-.241-.672h-.295l.438%201.157-.011.032a1%201%200%200%201-.053.132.13.13%200%200%201-.047.044c-.033.018-.092.023-.177%200l-.06-.016.03.266.026.009a.4.4%200%200%200%20.136.025.3.3%200%200%200%20.178-.05.4.4%200%200%200%20.13-.152q.063-.125.108-.258l.444-1.19zm-3.247-14.23a1.41%201.41%200%200%200-1.408%201.407%201.408%201.408%200%200%200%202.815%200c0-.777-.631-1.408-1.408-1.408m0%204.933a3.53%203.53%200%200%201-3.527-3.526A3.53%203.53%200%200%201%2024.738%2011a3.53%203.53%200%200%201%203.527%203.527%203.53%203.53%200%200%201-3.527%203.526m.001%203.288a1.41%201.41%200%200%200-1.408%201.408%201.41%201.41%200%200%200%201.407%201.407%201.41%201.41%200%200%200%201.408-1.407c0-.776-.63-1.408-1.407-1.408m-.001%204.934a3.53%203.53%200%200%201-3.527-3.526%203.53%203.53%200%200%201%203.526-3.527%203.53%203.53%200%200%201%203.527%203.527%203.53%203.53%200%200%201-3.527%203.526M17.91%2011c-.608%200-1.168.203-1.617.545A2.66%202.66%200%200%200%2014.677%2011%202.68%202.68%200%200%200%2012%2013.676v4.377h2.119v-4.377a.558.558%200%200%201%201.114%200v4.377h2.119v-4.377a.557.557%200%200%201%201.113%200v4.377h2.12v-4.377A2.68%202.68%200%200%200%2017.908%2011m.002%208.222c-.608%200-1.168.203-1.617.545a2.66%202.66%200%200%200-1.617-.545A2.68%202.68%200%200%200%2012%2021.898v4.377h2.12v-4.377a.557.557%200%200%201%201.113%200v4.377h2.12v-4.377a.557.557%200%200%201%201.113%200v4.377h2.119v-4.377a2.68%202.68%200%200%200-2.675-2.676'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},PAYPAL:{name:"PayPal",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23253b80'%20d='m16.912%2027.988.282-1.822-.627-.015H13.57l2.082-13.443a.17.17%200%200%201%20.169-.146h5.05c1.678%200%202.835.355%203.439%201.056.283.33.463.673.55%201.052.092.397.094.87.005%201.45l-.007.042v.37l.283.164q.357.192.574.445c.242.281.399.639.465%201.063.068.436.046.955-.066%201.542-.13.676-.338%201.264-.62%201.745a3.6%203.6%200%200%201-.983%201.097c-.375.271-.82.477-1.324.608a6.5%206.5%200%200%201-1.654.195h-.393a1.18%201.18%200%200%200-.768.288%201.22%201.22%200%200%200-.401.728l-.03.164-.497%203.211-.023.118c-.006.037-.016.056-.031.069a.1.1%200%200%201-.052.019z'/%3e%3cpath%20fill='%23179bd7'%20d='M25.41%2016.205a9%209%200%200%201-.051.301c-.666%203.483-2.945%204.686-5.856%204.686h-1.481a.724.724%200%200%200-.712.62l-.758%204.901-.215%201.39a.383.383%200%200%200%20.374.446h2.628c.312%200%20.576-.23.625-.543l.026-.136.495-3.198.031-.176a.635.635%200%200%201%20.625-.544h.393c2.546%200%204.54-1.053%205.122-4.1.244-1.272.118-2.335-.526-3.083a2.5%202.5%200%200%200-.72-.564'/%3e%3cpath%20fill='%23222d65'%20d='M24.714%2015.921a5%205%200%200%200-.648-.146%208%208%200%200%200-1.306-.097H18.8a.64.64%200%200%200-.623.544l-.842%205.432-.025.159a.72.72%200%200%201%20.712-.621h1.482c2.91%200%205.19-1.204%205.855-4.686q.03-.154.051-.302a3.5%203.5%200%200%200-.696-.283'/%3e%3cpath%20fill='%23253b80'%20d='M18.177%2016.222a.64.64%200%200%201%20.624-.543h3.959q.705-.002%201.306.097.171.028.333.064.236.055.464.13.296.099.548.234c.198-1.287-.002-2.163-.685-2.956-.753-.874-2.113-1.248-3.853-1.248h-5.05a.726.726%200%200%200-.714.621l-2.104%2013.581a.44.44%200%200%200%20.428.511h3.119l.783-5.059z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},TWINT:{name:"Twint",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23000'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M13.78%2022.301a.44.44%200%200%201-.206.35l-3.977%202.302a.48.48%200%200%201-.413%200l-3.978-2.301a.45.45%200%200%201-.206-.35v-4.603c0-.132.094-.288.206-.35l3.978-2.302a.48.48%200%200%201%20.413%200l3.977%202.301a.45.45%200%200%201%20.207.35zm22.083-4.271h-3.558v.85h1.275v3.64h1.007v-3.64h1.276zm-16.179%200H16.12v.85h1.276v3.64h1.007v-3.64h1.276zm10.307-.138c-1.12%200-1.745.72-1.745%201.752v2.883h1v-2.902c0-.45.263-.8.757-.8s.75.412.75.8v2.902h.995v-2.883c.012-1.039-.632-1.752-1.757-1.752m-3.759.138v4.49h.994v-4.49zm-3.383%201.782.03.2.939%202.515h.406l1.276-4.49h-.982l-.606%202.357-.038.256-.05-.256-.813-2.358h-.325l-.813%202.358-.05.256-.031-.256-.607-2.358h-.988l1.276%204.49h.406l.938-2.514z'/%3e%3cpath%20fill='url(%23b)'%20d='m11.467%2020.013-1.038%201.526-.532-.813.613-.92c.113-.162.356-.613.075-1.225a1.27%201.27%200%200%200-1.157-.739c-.438%200-.907.226-1.157.739a1.18%201.18%200%200%200%20.069%201.207s.344.5.625.919l.463.669.694%201.063c.006.006.113.175.307.175.181%200%20.3-.169.312-.181l1.626-2.408h-.9zm-2.045.037s-.27-.413-.45-.7a.513.513%200%200%201%20.45-.77c.425%200%20.638.463.45.77-.175.287-.45.7-.45.7'/%3e%3cpath%20fill='url(%23c)'%20d='m8.427%2021.489-1.02-1.433s-.269-.412-.45-.7a.513.513%200%200%201%20.45-.77c.057%200%20.1.007.15.02l.357-.657a1.3%201.3%200%200%200-.507-.107%201.28%201.28%200%200%200-1.157.739%201.18%201.18%200%200%200%20.07%201.207l1.782%202.645c.018.019.13.188.319.188.187%200%20.3-.163.312-.182l.538-.82-.463-.675z'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='b'%20cx='0'%20cy='0'%20r='1'%20gradientTransform='matrix(4.79253%200%200%205.4098%209.085%2018.261)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fc0'/%3e%3cstop%20offset='.092'%20stop-color='%23ffc800'/%3e%3cstop%20offset='.174'%20stop-color='%23ffbd00'/%3e%3cstop%20offset='.253'%20stop-color='%23ffab00'/%3e%3cstop%20offset='.33'%20stop-color='%23ff9100'/%3e%3cstop%20offset='.405'%20stop-color='%23ff7000'/%3e%3cstop%20offset='.479'%20stop-color='%23ff4700'/%3e%3cstop%20offset='.55'%20stop-color='%23ff1800'/%3e%3cstop%20offset='.582'%20stop-color='red'/%3e%3cstop%20offset='1'%20stop-color='red'/%3e%3c/radialGradient%3e%3cradialGradient%20id='c'%20cx='0'%20cy='0'%20r='1'%20gradientTransform='matrix(4.39419%200%200%206.6533%206.196%2018.538)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2300b4e6'/%3e%3cstop%20offset='.201'%20stop-color='%2300b0e3'/%3e%3cstop%20offset='.39'%20stop-color='%2301a5db'/%3e%3cstop%20offset='.574'%20stop-color='%230292cd'/%3e%3cstop%20offset='.755'%20stop-color='%230377ba'/%3e%3cstop%20offset='.932'%20stop-color='%230455a1'/%3e%3cstop%20offset='1'%20stop-color='%23054696'/%3e%3c/radialGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},cl={class:"flex h-full grow flex-col justify-center"},sl=e.defineComponent({__name:"PaymentMethodDigitalWallet",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const n=t,o=e.computed(()=>{var e;return(null==(e=n.paymentMethod.digital_wallet)?void 0:e.variant)?rl[n.paymentMethod.digital_wallet.variant]:void 0});return(n,a)=>{var l,i,r;return e.openBlock(),e.createBlock(_n,{"image-src":(null==(l=o.value)?void 0:l.logo)??e.unref(hn),"image-alt":null==(r=null==(i=o.value)?void 0:i.name)?void 0:r.toLowerCase(),variant:t.variant,options:t.options,disabled:"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",cl,[e.createVNode(m,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=o.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Ja,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(el,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),dl={ACH:{name:"ACH",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='b'%20width='34'%20height='13'%20x='3'%20y='14'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M3%2014h34v12.653H3z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%230ac500'%20d='M12.597%2018.94a1.389%201.389%200%200%200-1.156%202.156%201.387%201.387%200%201%200%201.156-2.156m-3.409-2.03c-.623%200-1.13.505-1.132%201.128%200%20.623.505%201.13%201.128%201.131a1.13%201.13%200%200%200%20.004-2.258zm0%204.574a1.128%201.128%200%201%200%200%202.255%201.128%201.128%200%200%200%200-2.255m-2.912-4.376a.923.923%200%201%200%20.06-1.845.923.923%200%200%200-.06%201.845M3.76%2014a.76.76%200%200%200-.004%201.516.76.76%200%200%200%20.76-.756.76.76%200%200%200-.756-.76m2.516%2011.388a.923.923%200%201%200%20.06-1.845.923.923%200%200%200-.06%201.845m-2.516-.251a.758.758%200%201%200%20.756.76v-.004a.757.757%200%200%200-.756-.756'/%3e%3cpath%20fill='%23006eff'%20d='M5.934%2018.94a1.387%201.387%200%201%200%20.004%200zm6.321-1.832a.923.923%200%201%200%200-1.845.923.923%200%200%200%200%201.845m2.51-1.585a.759.759%200%200%200%200-1.516.757.757%200%201%200-.002%201.514h.002zm-2.51%209.865a.923.923%200%201%200%200-1.845.923.923%200%200%200%200%201.845m2.51-.251a.759.759%200%201%200%20.756.76v-.004a.757.757%200%200%200-.756-.756'/%3e%3cpath%20fill='%23000'%20d='M22.613%2019.873h-.638l-.271-.619H20.27l-.266.62h-.634l1.606-3.485h.02zm-2.137-1.109h1.039l-.523-1.187zm5.104-1.867-.37.42a1.15%201.15%200%200%200-.87-.392c-.675%200-1.137.517-1.137%201.238s.464%201.243%201.139%201.243c.342.005.667-.146.885-.41l.37.428c-.318.35-.777.538-1.248.516-1.002%200-1.723-.758-1.723-1.77%200-1.01.721-1.774%201.723-1.774a1.6%201.6%200%200%201%201.231.501m3.05%202.976h-.582v-1.479h-1.56v1.48h-.582v-3.427h.582v1.407h1.56v-1.406h.583zm-6.808%203.021v-2.12h.582v3.485h-.018l-2.087-2.186v2.125h-.583v-3.483h.019zm3.232.108v.184H23.39c.024.37.251.573.643.573.23.01.45-.088.597-.264l.37.292a1.18%201.18%200%200%201-.978.448%201.15%201.15%200%200%201-1.202-1.099v-.116c0-.708.472-1.226%201.15-1.226.725.015%201.084.55%201.084%201.207m-1.664-.206h1.109a.514.514%200%200%200-.471-.553h-.061a.554.554%200%200%200-.572.538v.017h-.005zm2.776-.945h.709v.475h-.709v1.044a.336.336%200%200%200%20.355.368.7.7%200%200%200%20.331-.08l.148.452a.96.96%200%200%201-.521.135c-.534%200-.875-.307-.875-.875v-1.046h-.443v-.475h.443v-.78h.555l.007.78zm3.204%202.394h-.018l-.647-1.294-.653%201.294h-.018l-1.08-2.403h.6l.531%201.294.61-1.295h.019l.605%201.295.536-1.295h.597zm3.513-1.214a1.22%201.22%200%201%201-1.22-1.221%201.18%201.18%200%200%201%201.22%201.14zm-1.873%200c0%20.419.27.72.647.72a.664.664%200%200%200%20.671-.721c0-.425-.273-.74-.656-.74s-.656.315-.656.74zm3.47-.666h-.05a.72.72%200%200%200-.61.353v1.479h-.554V21.85h.502l.034.312a.79.79%200%200%201%20.678-.353zm.849.554.954-1.072h.637l-.785.904.865%201.444h-.638l-.614-1.017-.42.444v.577h-.554v-3.54h.555z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},DIRECT_DEBIT_GB:{name:"Direct Debit GB",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23e71c44'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23e71c44'%20d='M10.72%2023.985c1.688-.077%203.085-1.304%203.34-2.932L15.055%2016H7.58L6%2023.985z'/%3e%3cpath%20fill='%23fff'%20d='m17.35%2016.044-.727%203.459h.023a2.34%202.34%200%200%201%201.933-1.09c1.206%200%201.66.969%201.66%201.916%200%201.63-1.216%203.657-3.423%203.657-.966%200-1.694-.385-1.694-1.376q.012-.417.09-.827l1.195-5.739zm-1.193%205.761q-.085.331-.069.672c0%20.506.296.794.888.794%201.421%200%202.285-1.642%202.285-2.821%200-.66-.295-1.278-1.046-1.278-.819%200-1.66.816-1.933%202.072zm7.983%202.06q.027-.691.125-1.376h-.022a2.41%202.41%200%200%201-2.138%201.497%201.64%201.64%200%200%201-1.19-.54%201.56%201.56%200%200%201-.392-1.222%203.7%203.7%200%200%201%201.087-2.684%203.88%203.88%200%200%201%202.724-1.128c.5%200%20.999.07%201.478.21l-.557%202.776a11.8%2011.8%200%200%200-.239%202.467zm.615-4.648a2.6%202.6%200%200%200-.66-.077c-1.422%200-2.582%201.442-2.593%202.919%200%20.595.216%201.179.944%201.179.785%200%201.717-.992%201.99-2.413zm4.911%204.439c-.5.222-1.043.335-1.592.33a2%202%200%200%201-1.544-.562%201.9%201.9%200%200%201-.571-1.508%203.34%203.34%200%200%201%20.94-2.428%203.5%203.5%200%200%201%202.426-1.065%202.9%202.9%200%200%201%201.15.232l-.274.727a2.2%202.2%200%200%200-.933-.199c-1.377.115-2.41%201.277-2.331%202.622-.05.374.073.75.337%201.025s.641.42%201.027.396a3%203%200%200%200%201.275-.297zM7.417%2021.432q-.452%200-.897-.076l1.023-5.172c2.011.047%203.622%201.203%203.622%202.623%200%201.45-1.679%202.625-3.748%202.625m1.888.27c1.832-.374%203.164-1.505%203.164-2.843%200-1.356-1.367-2.5-3.239-2.858h-.455c1.882.29%203.29%201.462%203.29%202.865%200%201.468-1.542%202.685-3.555%202.901q.076%200%20.153-.005.323-.016.642-.06m.989-5.701c1.965.408%203.394%201.546%203.471%202.956.102%201.866-2.208%203.501-5.158%203.653a8%208%200%200%201-2.294-.206L6%2023.985h4.72c1.687-.076%203.085-1.303%203.34-2.932l.995-5.052zm3.058%202.606C13.28%2017.294%2011.769%2016.26%209.759%2016h-.223c1.968.36%203.406%201.503%203.406%202.858-.13%201.153-.948%202.122-2.083%202.469%201.537-.562%202.554-1.594%202.493-2.721M30.52%2022.94c.36.204.767.318%201.183.33a.96.96%200%200%200%20.715-.215.92.92%200%200%200%20.331-.655c0-.418-.193-.672-.762-.98a1.6%201.6%200%200%201-.988-1.355c.028-.481.256-.93.632-1.241a1.85%201.85%200%200%201%201.357-.412c.4-.01.796.08%201.149.265l-.261.693a2%202%200%200%200-.956-.242.9.9%200%200%200-.666.198.85.85%200%200%200-.311.606c0%20.386.261.628.75.893.583.245.98.782%201.034%201.398a1.8%201.8%200%200%201-.653%201.335%201.9%201.9%200%200%201-1.45.428%202.56%202.56%200%200%201-1.365-.374z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},SEPA_DIRECT_DEBIT:{name:"SEPA Direct Debit",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%239a1b27'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%239a1b27'%20d='M3.077%209h33.846v22H3.077z'/%3e%3cpath%20fill='%23fefefe'%20d='M11.461%2019.505a6%206%200%200%200-1.527-.325%203.3%203.3%200%200%201-.88-.182.32.32%200%200%201-.202-.3.37.37%200%200%201%20.16-.3.83.83%200%200%201%20.508-.125c.207-.006.412.05.586.162a.67.67%200%200%201%20.253.381l1.951-.193a2.4%202.4%200%200%200-.508-.837%201.85%201.85%200%200%200-.763-.457%205%205%200%200%200-1.418-.148c-.49-.016-.98.048-1.451.19a1.84%201.84%200%200%200-.85.576%201.44%201.44%200%200%200-.308.919c-.004.312.097.618.286.867.177.244.421.431.703.54q.729.237%201.488.348.455.059.885.212a.38.38%200%200%201%20.185.532.4.4%200%200%201-.129.143%201.02%201.02%200%200%201-.642.177%201.05%201.05%200%200%201-.607-.157%201%201%200%200%201-.354-.523l-2.042.193c.098.49.386.92.801%201.198.646.333%201.371.48%202.096.422.56.022%201.12-.067%201.645-.262a1.9%201.9%200%200%200%20.885-.702c.18-.27.277-.585.28-.908a1.46%201.46%200%200%200-.265-.847%201.7%201.7%200%200%200-.766-.594'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.049%2017.42c.307-.16.649-.243.996-.239.66-.028%201.29.285%201.665.828a3.44%203.44%200%200%201%20.59%202.046%202.96%202.96%200%200%201-.643%202.054%202.1%202.1%200%200%201-1.622.708%202.3%202.3%200%200%201-.867-.162%202.1%202.1%200%200%201-.7-.482v2.855h-2.079v-7.725h1.927v.797c.197-.272.446-.503.733-.68m.348%203.854a.75.75%200%200%200%20.602-.297c.19-.3.275-.655.243-1.008.027-.34-.062-.68-.253-.962a.77.77%200%200%200-.617-.307.83.83%200%200%200-.657.31c-.201.294-.294.65-.263%201.005-.027.338.068.675.268.95a.86.86%200%200%200%20.677.309m9.561.274q-.008.3.047.597.075.285.21.55h-1.93a2%202%200%200%201-.153-.317%202.4%202.4%200%200%201-.07-.342%202.7%202.7%200%200%201-.804.558%203.3%203.3%200%200%201-1.27.223%202.12%202.12%200%200%201-1.458-.446%201.42%201.42%200%200%201-.498-1.102c-.014-.37.115-.732.36-1.01a2.4%202.4%200%200%201%201.324-.59%2030%2030%200%200%200%201.501-.327q.37-.104.728-.246a.73.73%200%200%200-.156-.533.78.78%200%200%200-.552-.153%201.4%201.4%200%200%200-.758.163.9.9%200%200%200-.318.477l-1.967-.208c.052-.29.161-.568.321-.815.16-.215.367-.391.604-.515.245-.123.508-.206.779-.244q.532-.091%201.072-.086.747-.015%201.486.104c.346.056.67.206.935.434.192.176.334.4.415.647.097.256.148.526.152.8zm-2.136-.454c.09-.197.132-.412.123-.627v-.33q-.435.155-.884.269a2%202%200%200%200-.794.33.53.53%200%200%200-.003.779.7.7%200%200%200%20.498.155%201.3%201.3%200%200%200%20.64-.168c.177-.092.323-.233.42-.408'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M12.793%2015.182v9.636l7.063%201.25V13.932z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.9%2024.877v.11h.134v-1.192h-.145v.427a.29.29%200%200%200-.237-.118.34.34%200%200%200-.32.217.6.6%200%200%200-.043.235.55.55%200%200%200%20.047.234c.03.064.075.12.133.159a.34.34%200%200%200%20.19.057.27.27%200%200%200%20.24-.129m-.392-.074a.38.38%200%200%201-.07-.247.4.4%200%200%201%20.065-.251.207.207%200%200%201%20.33.003.4.4%200%200%201%20.068.26.36.36%200%200%201-.067.239.206.206%200%200%201-.326-.004m1.095-.84h-.174v-.168h.174zm0%201.023h-.174v-.863h.174z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M24.96%2024.986v-.863h.131v.131a.4.4%200%200%201%20.093-.12.16.16%200%200%201%20.093-.03.3.3%200%200%201%20.15.047l-.05.136a.2.2%200%200%200-.107-.032.14.14%200%200%200-.086.029.16.16%200%200%200-.054.08.6.6%200%200%200-.024.17v.452z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='m26.418%2024.727-.15-.019a.3.3%200%200%201-.09.135.22.22%200%200%201-.137.043.24.24%200%200%201-.18-.076.33.33%200%200%201-.08-.218h.64l.002-.039a.47.47%200%200%200-.11-.331.37.37%200%200%200-.28-.118.38.38%200%200%200-.29.12.48.48%200%200%200-.112.338.46.46%200%200%200%20.11.327c.15.138.375.155.545.044a.37.37%200%200%200%20.132-.206m-.629-.255h.48a.3.3%200%200%200-.055-.163.22.22%200%200%200-.18-.085.23.23%200%200%200-.17.068.27.27%200%200%200-.075.18'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m27.327%2024.67.143.019a.35.35%200%200%201-.357.317.37.37%200%200%201-.284-.116.47.47%200%200%201-.107-.332.6.6%200%200%201%20.046-.244.32.32%200%200%201%20.14-.158.4.4%200%200%201%20.205-.052.36.36%200%200%201%20.23.071.33.33%200%200%201%20.113.202l-.141.022a.24.24%200%200%200-.072-.131.18.18%200%200%200-.124-.044.23.23%200%200%200-.179.08.38.38%200%200%200-.069.25.4.4%200%200%200%20.067.253c.042.051.106.08.173.078a.2.2%200%200%200%20.143-.052.26.26%200%200%200%20.073-.163m.751.185.021.13a.5.5%200%200%201-.11.012.25.25%200%200%201-.123-.025.14.14%200%200%201-.061-.066.5.5%200%200%201-.018-.173v-.496h-.107v-.114h.107v-.213l.145-.088v.301h.146v.114h-.146v.505a.3.3%200%200%200%20.007.08.06.06%200%200%200%20.025.029.1.1%200%200%200%20.05.01z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M29.487%2024.877v.11h.135v-1.192h-.145v.427a.29.29%200%200%200-.237-.118.34.34%200%200%200-.32.217.6.6%200%200%200-.043.235.55.55%200%200%200%20.047.234c.029.064.075.12.134.159a.34.34%200%200%200%20.188.057.27.27%200%200%200%20.24-.129m-.392-.074a.38.38%200%200%201-.07-.247.4.4%200%200%201%20.065-.251.21.21%200%200%201%20.33.003.4.4%200%200%201%20.068.26.36.36%200%200%201-.067.239.205.205%200%200%201-.326-.004m1.66-.076-.15-.019a.3.3%200%200%201-.09.135.22.22%200%200%201-.137.043.24.24%200%200%201-.18-.076.33.33%200%200%201-.08-.218h.64l.002-.039a.47.47%200%200%200-.11-.331.37.37%200%200%200-.281-.118.38.38%200%200%200-.29.12.48.48%200%200%200-.111.338.46.46%200%200%200%20.11.327c.15.138.375.155.545.044a.37.37%200%200%200%20.132-.206m-.63-.255h.48a.3.3%200%200%200-.054-.163.22.22%200%200%200-.18-.085.23.23%200%200%200-.17.068.27.27%200%200%200-.075.18m.977.514h.135v-.108c.052.082.143.13.24.128a.34.34%200%200%200%20.26-.121.5.5%200%200%200%20.11-.343.6.6%200%200%200-.025-.176.4.4%200%200%200-.072-.14.3.3%200%200%200-.117-.09.4.4%200%200%200-.15-.032.29.29%200%200%200-.235.116v-.425h-.146zm.176-.213a.45.45%200%200%201-.042-.225.37.37%200%200%201%20.07-.24.204.204%200%200%201%20.326-.003c.05.073.074.16.067.25a.38.38%200%200%201-.07.247.206.206%200%200%201-.282.048.2.2%200%200%201-.07-.078m1.088-.809h-.174v-.168h.174zm0%201.023h-.174v-.863h.174z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m33.042%2024.855.02.13a.5.5%200%200%201-.11.012.25.25%200%200%201-.122-.025.14.14%200%200%201-.062-.066.5.5%200%200%201-.017-.173v-.496h-.107v-.114h.107v-.213l.144-.088v.301h.147v.114h-.147v.505q0%20.04.008.08a.06.06%200%200%200%20.025.029.1.1%200%200%200%20.05.01z'/%3e%3cpath%20fill='%239a1b27'%20fill-rule='evenodd'%20d='M15.308%2020.512h4.126v-.233a3.7%203.7%200%200%200-.35-1.732%202.36%202.36%200%200%200-1.015-1.015%203.95%203.95%200%200%200-1.82-.35%203.07%203.07%200%200%200-2.227.781%202.72%202.72%200%200%200-.807%202.047%202.9%202.9%200%200%200%20.402%201.546c.239.41.59.744%201.014.96.53.224%201.103.328%201.678.302a4.06%204.06%200%200%200%201.886-.353%202.9%202.9%200%200%200%201.122-1.166l-2.027-.187q-.15.203-.359.34c-.175.1-.374.152-.576.152a.97.97%200%200%201-.779-.35%201.34%201.34%200%200%201-.268-.742m1.712-1.848c.2.242.314.544.32.858h-2.027c.013-.259.095-.51.238-.726a1.007%201.007%200%200%201%201.469-.132'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},ul={class:"flex h-full grow flex-col justify-center"},pl=e.defineComponent({__name:"PaymentMethodDirectDebit",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const n=t,o=e.computed(()=>{var e;return(null==(e=n.paymentMethod.direct_debit)?void 0:e.variant)?dl[n.paymentMethod.direct_debit.variant]:void 0});return(n,a)=>{var l,i,r;return e.openBlock(),e.createBlock(_n,{"image-src":(null==(l=o.value)?void 0:l.logo)??e.unref(hn),"image-alt":null==(r=null==(i=o.value)?void 0:i.name)?void 0:r.toLowerCase(),variant:t.variant,options:t.options,disabled:"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",ul,[e.createVNode(m,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=o.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(Ja,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(el,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","disabled"])}}}),ml={EPS:{name:"Electronic Payment Services",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23de378c'%20d='M40%200H0v40h40z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M17.214%2022.014c.483-.99%201.455-1.76%202.572-1.76s2.088.77%202.571%201.76zM19.784%207.5c2.605%200%204.716%202.185%204.716%204.881v1.367c0%20.176-.146.35-.315.35H22.45c-.17%200-.307-.174-.307-.35v-1.367c0-1.346-1.057-2.441-2.357-2.441s-2.357%201.095-2.357%202.441v1.367c0%20.176-.149.35-.318.35h-1.735c-.17%200-.304-.174-.304-.35v-1.5C15.14%209.614%2017.223%207.5%2019.784%207.5m-5.286%2017.406c.606%202.547%202.848%204.497%205.514%204.497h7.455a2.21%202.21%200%200%201-2.168%201.847H14.701c-1.21%200-2.201-1.047-2.201-2.289V18.085a2.21%202.21%200%200%201%202.201-2.228h10.598c1.21%200%202.201%201.016%202.201%202.259l-.01%208.332h-7.478c-1.146%200-2.14-.555-2.63-1.54H25.7v-1.413c0-3.213-2.569-5.824-5.7-5.824-2.662%200-4.901%201.892-5.512%204.433%200%200-.166.85-.166%201.405s.176%201.397.176%201.397'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},IDEAL:{name:"iDEAL",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23e664a5'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20d='M7.5%2010.417V29.18c0%20.914.753%201.613%201.613%201.613H20.35c8.494%200%2012.15-4.731%2012.15-11.022%200-6.29-3.656-11.021-12.15-11.021H9.166c-.914.054-1.667.807-1.667%201.667Z'/%3e%3cpath%20fill='%23c06'%20d='M15.027%2013.428v13.871h6.021c5.484%200%207.85-3.118%207.85-7.473%200-4.194-2.366-7.42-7.85-7.42h-5c-.537-.053-1.021.43-1.021%201.022'/%3e%3cpath%20fill='%23000'%20d='M20.35%2029.342h-9.732a1.56%201.56%200%200%201-1.559-1.56V11.868a1.56%201.56%200%200%201%201.56-1.559h9.731c9.247%200%2010.645%205.968%2010.645%209.516%200%206.13-3.764%209.517-10.645%209.517m-9.732-18.495a1.02%201.02%200%200%200-1.021%201.021v15.914a1.02%201.02%200%200%200%201.021%201.022h9.732c6.505%200%2010.107-3.226%2010.107-9.033%200-7.795-6.344-8.978-10.107-8.978l-9.731.054Z'/%3e%3cpath%20fill='%23fff'%20d='M17.178%2017.943c.215%200%20.43.054.591.108q.242.08.484.322l.322.484c.054.215.108.43.108.699s-.054.484-.108.645c-.053.215-.16.377-.268.538s-.27.269-.484.376c-.162.108-.43.108-.645.108h-1.452v-3.334zm-.054%202.688c.107%200%20.215%200%20.322-.053.108-.054.162-.108.27-.162.053-.107.16-.161.16-.322.054-.108.054-.27.054-.484%200-.162%200-.323-.054-.43-.053-.108-.107-.269-.16-.323-.055-.107-.162-.161-.27-.215-.107-.054-.268-.054-.43-.054h-.537v2.097zm4.516-2.688v.591h-1.774v.753h1.613v.538h-1.613v.806h1.774v.592h-2.527v-3.334zm2.473%200%201.237%203.333h-.753l-.27-.753h-1.236l-.269.753h-.752l1.237-3.333zm.054%202.043-.43-1.237-.43%201.237zm2.365-2.043v2.688h1.613v.592H25.78v-3.334c.053.054.752.054.752.054'/%3e%3cpath%20fill='%23000'%20d='M12.285%2021.115a1.506%201.506%200%201%200%200-3.011%201.506%201.506%200%200%200%200%203.011m1.183%206.184a2.294%202.294%200%200%201-2.312-2.312V23.16c0-.645.538-1.182%201.183-1.182s1.183.537%201.183%201.182l-.054%204.14Z'/%3e%3c/svg%3e"},PAY_BY_BANK:{name:"Open Banking / Pay by bank",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cg%20fill='%23101289'%20fill-rule='evenodd'%20clip-path='url(%23a)'%20clip-rule='evenodd'%3e%3cpath%20d='M18.235%2013.537c0-.08.068-.144.143-.144h.19l3.015%203.056h.007v-2.825c0-.08.06-.15.144-.15h.907c.076%200%20.144.07.144.15v5.355c0%20.08-.068.143-.144.143h-.12a.2.2%200%200%201-.1-.04l-2.985-3.158h-.007v2.967c0%20.08-.06.151-.144.151h-.9c-.075%200-.143-.071-.143-.151zM5.713%2017.849c.832%200%201.512-.716%201.512-1.583%200-.875-.68-1.6-1.512-1.6-.823%200-1.504.724-1.504%201.6%200%20.867.68%201.583%201.504%201.583m0-4.455c1.512%200%202.721%201.28%202.721%202.872%200%201.59-1.209%202.856-2.72%202.856C4.201%2019.122%203%2017.857%203%2016.266s1.202-2.872%202.713-2.872m5.511%202.466c.325%200%20.597-.27.597-.628a.59.59%200%200%200-.597-.59h-.718v1.218zm-1.897-2.236c0-.08.06-.15.144-.15h1.821c.93%200%201.693.795%201.693%201.758%200%20.986-.763%201.79-1.685%201.79h-.794v1.87c0%20.079-.068.15-.143.15H9.47a.147.147%200%200%201-.144-.15zm4.486%200c0-.08.06-.15.143-.15h3.13c.082%200%20.143.07.143.15v.868c0%20.08-.06.15-.144.15h-2.093v.987h1.723c.075%200%20.143.072.143.151v.868a.147.147%200%200%201-.143.15h-1.723v1.075h2.093c.083%200%20.144.071.144.15v.868c0%20.08-.06.151-.144.151h-3.129c-.083%200-.143-.071-.143-.151z'/%3e%3c/g%3e%3cg%20fill='%23101289'%20fill-rule='evenodd'%20clip-path='url(%23b)'%20clip-rule='evenodd'%3e%3cpath%20d='M4.918%2025.194c.295%200%20.545-.254.545-.58%200-.319-.325-.557-.62-.557H4.23v1.137zm-.098-2.171c.287%200%20.53-.255.53-.573a.526.526%200%200%200-.53-.541h-.59v1.114zm-1.768-2.109c0-.08.06-.151.143-.151h1.761c.892%200%201.625.644%201.625%201.48%200%20.613-.521%201.058-.876%201.257.4.175%201.012.565%201.012%201.297%200%20.89-.748%201.535-1.647%201.535H3.195c-.083%200-.143-.071-.143-.15zm7.22%203.509-.575-1.313H9.69l-.567%201.313zm-3.107%201.702%202.366-5.354c.023-.048.076-.088.128-.088h.076c.053%200%20.106.04.129.088l2.365%205.354c.046.104-.015.207-.128.207h-.84c-.135%200-.196-.047-.264-.199l-.272-.628H8.67l-.272.636a.28.28%200%200%201-.272.191h-.831c-.114%200-.174-.103-.129-.207Zm5.789-5.298c0-.08.068-.144.143-.144h.19l3.015%203.055h.007v-2.824c0-.08.06-.151.144-.151h.907c.076%200%20.144.072.144.151v5.354c0%20.08-.068.144-.144.144h-.12a.2.2%200%200%201-.1-.04l-2.985-3.159h-.007v2.968c0%20.08-.06.151-.144.151h-.9c-.075%200-.143-.071-.143-.151zm5.716.127c0-.103.076-.191.182-.191h.884c.098%200%20.181.088.181.191v2.092l1.678-2.203c.03-.04.099-.08.144-.08h.952c.144%200%20.22.175.136.294l-1.768%202.331%201.927%202.642c.083.12%200%20.294-.144.294H21.8c-.053%200-.12-.032-.136-.056l-1.746-2.498v2.371c0%20.104-.083.191-.181.191h-.884c-.106%200-.182-.087-.182-.19v-5.188Zm5.188-.04c0-.08.068-.151.143-.151h.908c.075%200%20.143.072.143.151v5.267c0%20.08-.068.151-.143.151H24c-.075%200-.143-.071-.143-.151v-5.267Zm2.375-.087c0-.08.068-.144.143-.144h.19l3.015%203.055h.008v-2.824c0-.08.06-.151.144-.151h.906c.076%200%20.144.072.144.151v5.354c0%20.08-.068.144-.144.144h-.12a.2.2%200%200%201-.099-.04l-2.985-3.159h-.008v2.968c0%20.08-.06.151-.144.151h-.899c-.076%200-.143-.071-.143-.151zm8.13-.136c.635%200%201.33.279%201.844.748a.144.144%200%200%201%20.016.215l-.598.668a.153.153%200%200%201-.203.008c-.288-.278-.62-.382-.99-.382-.825%200-1.49.732-1.49%201.607%200%20.868.673%201.584%201.497%201.584.219%200%20.446-.032.673-.128v-.46h-.477a.14.14%200%200%201-.143-.144v-.788c0-.087.06-.151.143-.151h1.52c.075%200%20.136.072.136.151l.007%202.14a.2.2%200%200%201-.06.128s-.779.517-1.875.517c-1.504%200-2.713-1.257-2.713-2.849%200-1.59%201.21-2.864%202.713-2.864'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M3%2013.394h20.73v5.923H3z'/%3e%3c/clipPath%3e%3cclipPath%20id='b'%3e%3cpath%20fill='%23fff'%20d='M3%2020.683h33.563v5.923H3z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},TRUSTLY:{name:"Trustly",logo:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cmask%20id='b'%20width='40'%20height='40'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:luminance'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23b)'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2310303f'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%2368de7a'%20d='M7.5%2018.75h8.75v-6.875l6.875%206.875-6.875%206.875v3.75H25V18.75h7.5v-8.125h-25z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"}},fl={class:"flex h-full grow flex-col justify-center"},hl=e.defineComponent({__name:"PaymentMethodOnlineBanking",props:{paymentMethod:{},i18n:{},isDefault:{type:Boolean},variant:{default:"default"}},setup(t){const n=t,o=e.computed(()=>{var e;return(null==(e=n.paymentMethod.online_banking)?void 0:e.variant)?ml[n.paymentMethod.online_banking.variant]:void 0});return(n,a)=>{var l,i,r;return e.openBlock(),e.createBlock(_n,{"image-alt":(null==(l=o.value)?void 0:l.name)??(null==(i=t.i18n)?void 0:i.imageAlt)??"Bank transfer","image-src":(null==(r=o.value)?void 0:r.logo)??e.unref("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%3e%3cpath%20fill='%23e1e2ff'%20d='M0%200h32v32H0z'/%3e%3cmask%20id='a'%20width='24'%20height='24'%20x='4'%20y='4'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M4%204h24v24H4z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%231f216a'%20d='M6.5%2022.5v-13h19v3.144H24l-4.606%204.606H10.25v1.5h7.644l-3.75%203.75zm3.75-7.75h5.5v-1.5h-5.5zm6.904%209.712v-1.27l6.38-6.38%201.27%201.269-6.381%206.38h-1.27Zm8.23-6.981-1.269-1.27.841-.84a.36.36%200%200%201%20.258-.117q.14%200%20.255.115l.758.758a.36.36%200%200%201%20.115.256.36.36%200%200%201-.116.257z'/%3e%3c/g%3e%3c/svg%3e"),variant:t.variant,disabled:"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",fl,[e.createVNode(m,{tag:"span",weight:"semibold","no-spacing":"",variant:"condensed"===t.variant?"body-xs":"body-sm",shade:"condensed"===t.variant?"light":void 0},{default:e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString(null==(n=o.value)?void 0:n.name)+" ",1),"SETUP"===t.paymentMethod.status?(e.openBlock(),e.createBlock(pn,{key:0,size:"sm",class:"ml-1 font-normal"},{default:e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString((null==(n=t.i18n)?void 0:n.pendingLabel)??"Pending"),1)]}),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["variant","shade"]),"default"===t.variant?(e.openBlock(),e.createBlock(m,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>{var n,o;return[e.createTextVNode(e.toDisplayString((null==(n=t.paymentMethod.online_banking)?void 0:n.iban)??(null==(o=t.i18n)?void 0:o.onlineBankingLabel)??"Online banking"),1)]}),_:1})):e.createCommentVNode("",!0),e.createVNode(Ja,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(el,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-alt","image-src","variant","disabled"])}}}),vl=e.defineComponent({__name:"PaymentMethod",props:{paymentMethod:{},variant:{},i18n:{},options:{},disabled:{type:Boolean}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,["CARD"===t.paymentMethod.type?(e.openBlock(),e.createBlock(il,e.mergeProps({key:0},n.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default,options:t.options}),null,16,["payment-method","variant","is-default","options"])):e.createCommentVNode("",!0),"ONLINE_BANKING"===t.paymentMethod.type?(e.openBlock(),e.createBlock(hl,e.mergeProps({key:1},n.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default,options:t.options}),null,16,["payment-method","variant","is-default","options"])):e.createCommentVNode("",!0),"BUY_NOW_PAY_LATER"===t.paymentMethod.type?(e.openBlock(),e.createBlock(ol,e.mergeProps({key:2},n.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default,options:t.options}),null,16,["payment-method","variant","is-default","options"])):e.createCommentVNode("",!0),"DIRECT_DEBIT"===t.paymentMethod.type?(e.openBlock(),e.createBlock(pl,e.mergeProps({key:3},n.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default,options:t.options}),null,16,["payment-method","variant","is-default","options"])):e.createCommentVNode("",!0),"DIGITAL_WALLET"===t.paymentMethod.type?(e.openBlock(),e.createBlock(sl,e.mergeProps({key:4},n.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default,options:t.options}),null,16,["payment-method","variant","is-default","options"])):e.createCommentVNode("",!0)],64))}),gl=()=>{const t=e.ref(!1);return e.onMounted(()=>{t.value=!0}),t},bl=t=>{const n=(null==t?void 0:t.initialToggledItems)??[],o=(null==t?void 0:t.closeOthers)??!1,a=e.ref(n??[]);return{toggledItems:a,toggle:e=>((e,t=!1)=>{const n=a.value.find(t=>t===e);a.value=t?e===n?[]:[e]:n?a.value.filter(t=>t!==e):[...a.value,e]})(e,o),getIsOpen:e=>a.value.includes(e),toggleAll:e=>{0!==e.length&&(a.value.length===e.length?a.value=[]:a.value=e)}}},yl=(t=[])=>{const n=e.ref(t);return[n,e=>{const t=n.value.find(t=>t===e);n.value="number"==typeof t?n.value.filter(t=>t!==e):[...n.value,e]}]};function xl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function kl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xl(Object(n),!0).forEach(function(t){_l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(t).reduce((o,a)=>(n.includes(a)||(o[a]=e.unref(t[a])),o),{})}function Bl(e){return"function"==typeof e}function Cl(e,t,n){let o=e;const a=t.split(".");for(let l=0;l<a.length;l++){if(!o[a[l]])return n;o=o[a[l]]}return o}function El(t,n,o){return e.computed(()=>t.some(e=>Cl(n,e,{[o]:!1})[o]))}function Nl(t,n,o){return e.computed(()=>t.reduce((e,t)=>{const a=Cl(n,t,{[o]:!1})[o]||[];return e.concat(a)},[]))}function Tl(t,n,o,a){return t.call(a,e.unref(n),e.unref(o),a)}function Ml(e){return void 0!==e.$valid?!e.$valid:!e}function Vl(t,n,o,a,l,i,r,c,s,d,u){const p=e.ref(!1),m=t.$params||{},f=e.ref(null);let h,v;t.$async?({$invalid:h,$unwatch:v}=function(t,n,o,a,l,i,r){let{$lazy:c,$rewardEarly:s}=l,d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[],u=arguments.length>8?arguments[8]:void 0,p=arguments.length>9?arguments[9]:void 0,m=arguments.length>10?arguments[10]:void 0;const f=e.ref(!!a.value),h=e.ref(0);o.value=!1;const v=e.watch([n,a].concat(d,m),()=>{if(c&&!a.value||s&&!p.value&&!o.value)return;let e;try{e=Tl(t,n,u,r)}catch(l){e=Promise.reject(l)}h.value++,o.value=!!h.value,f.value=!1,Promise.resolve(e).then(e=>{h.value--,o.value=!!h.value,i.value=e,f.value=Ml(e)}).catch(e=>{h.value--,o.value=!!h.value,i.value=e,f.value=!0})},{immediate:!0,deep:"object"==typeof n});return{$invalid:f,$unwatch:v}}(t.$validator,n,p,o,a,f,l,t.$watchTargets,s,d,u)):({$invalid:h,$unwatch:v}=function(t,n,o,a,l,i,r,c){let{$lazy:s,$rewardEarly:d}=a;return{$unwatch:()=>({}),$invalid:e.computed(()=>{if(s&&!o.value||d&&!c.value)return!1;let e=!0;try{const o=Tl(t,n,r,i);l.value=o,e=Ml(o)}catch(a){l.value=a}return e})}}(t.$validator,n,o,a,f,l,s,d));const g=t.$message;return{$message:Bl(g)?e.computed(()=>g(wl({$pending:p,$invalid:h,$params:wl(m),$model:n,$response:f,$validator:i,$propertyPath:c,$property:r}))):g||"",$params:m,$pending:p,$invalid:h,$response:f,$unwatch:v}}function Sl(t){let{validations:n,state:o,key:a,parentKey:l,childResults:i,resultsCache:r,globalConfig:c={},instance:s,externalResults:d}=t;const u=l?`${l}.${a}`:a,{rules:p,nestedValidators:m,config:f,validationGroups:h}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=e.unref(t),o=Object.keys(n),a={},l={},i={};let r=null;return o.forEach(e=>{const t=n[e];switch(!0){case Bl(t.$validator):a[e]=t;break;case Bl(t):a[e]={$validator:t};break;case"$validationGroups"===e:r=t;break;case e.startsWith("$"):i[e]=t;break;default:l[e]=t}}),{rules:a,nestedValidators:l,config:i,validationGroups:r}}(n),v=kl(kl({},c),f),g=a?e.computed(()=>{const t=e.unref(o);return t?e.unref(t[a]):void 0}):o,b=kl({},e.unref(d)||{}),y=e.computed(()=>{const t=e.unref(d);return a?t?e.unref(t[a]):void 0:t}),x=function(t,n,o,a,l,i,r,c,s){const d=Object.keys(t),u=a.get(l,t),p=e.ref(!1),m=e.ref(!1),f=e.ref(0);if(u){if(!u.$partial)return u;u.$unwatch(),p.value=u.$dirty.value}const h={$dirty:p,$path:l,$touch:()=>{p.value||(p.value=!0)},$reset:()=>{p.value&&(p.value=!1)},$commit:()=>{}};return d.length?(d.forEach(e=>{h[e]=Vl(t[e],n,h.$dirty,i,r,e,o,l,s,m,f)}),h.$externalResults=e.computed(()=>c.value?[].concat(c.value).map((e,t)=>({$propertyPath:l,$property:o,$validator:"$externalResults",$uid:`${l}-externalResult-${t}`,$message:e,$params:{},$response:null,$pending:!1})):[]),h.$invalid=e.computed(()=>{const t=d.some(t=>e.unref(h[t].$invalid));return m.value=t,!!h.$externalResults.value.length||t}),h.$pending=e.computed(()=>d.some(t=>e.unref(h[t].$pending))),h.$error=e.computed(()=>!!h.$dirty.value&&(h.$pending.value||h.$invalid.value)),h.$silentErrors=e.computed(()=>d.filter(t=>e.unref(h[t].$invalid)).map(t=>{const n=h[t];return e.reactive({$propertyPath:l,$property:o,$validator:t,$uid:`${l}-${t}`,$message:n.$message,$params:n.$params,$response:n.$response,$pending:n.$pending})}).concat(h.$externalResults.value)),h.$errors=e.computed(()=>h.$dirty.value?h.$silentErrors.value:[]),h.$unwatch=()=>d.forEach(e=>{h[e].$unwatch()}),h.$commit=()=>{m.value=!0,f.value=Date.now()},a.set(l,t,h),h):(u&&a.set(l,t,h),h)}(p,g,a,r,u,v,s,y,o),k=function(e,t,n,o,a,l,i){const r=Object.keys(e);return r.length?r.reduce((r,c)=>(r[c]=Sl({validations:e[c],state:t,key:c,parentKey:n,resultsCache:o,globalConfig:a,instance:l,externalResults:i}),r),{}):{}}(m,g,u,r,v,s,y),_={};h&&Object.entries(h).forEach(e=>{let[t,n]=e;_[t]={$invalid:El(n,k,"$invalid"),$error:El(n,k,"$error"),$pending:El(n,k,"$pending"),$errors:Nl(n,k,"$errors"),$silentErrors:Nl(n,k,"$silentErrors")}});const{$dirty:w,$errors:B,$invalid:C,$anyDirty:E,$error:N,$pending:T,$touch:M,$reset:V,$silentErrors:S,$commit:z}=function(t,n,o){const a=e.computed(()=>[n,o].filter(e=>e).reduce((t,n)=>t.concat(Object.values(e.unref(n))),[])),l=e.computed({get:()=>t.$dirty.value||!!a.value.length&&a.value.every(e=>e.$dirty),set(e){t.$dirty.value=e}}),i=e.computed(()=>{const n=e.unref(t.$silentErrors)||[],o=a.value.filter(t=>(e.unref(t).$silentErrors||[]).length).reduce((e,t)=>e.concat(...t.$silentErrors),[]);return n.concat(o)}),r=e.computed(()=>{const n=e.unref(t.$errors)||[],o=a.value.filter(t=>(e.unref(t).$errors||[]).length).reduce((e,t)=>e.concat(...t.$errors),[]);return n.concat(o)}),c=e.computed(()=>a.value.some(e=>e.$invalid)||e.unref(t.$invalid)||!1),s=e.computed(()=>a.value.some(t=>e.unref(t.$pending))||e.unref(t.$pending)||!1),d=e.computed(()=>a.value.some(e=>e.$dirty)||a.value.some(e=>e.$anyDirty)||l.value),u=e.computed(()=>!!l.value&&(s.value||c.value)),p=()=>{t.$touch(),a.value.forEach(e=>{e.$touch()})};return a.value.length&&a.value.every(e=>e.$dirty)&&p(),{$dirty:l,$errors:r,$invalid:c,$anyDirty:d,$error:u,$pending:s,$touch:p,$reset:()=>{t.$reset(),a.value.forEach(e=>{e.$reset()})},$silentErrors:i,$commit:()=>{t.$commit(),a.value.forEach(e=>{e.$commit()})}}}(x,k,i),P=a?e.computed({get:()=>e.unref(g),set:t=>{w.value=!0;const n=e.unref(o),l=e.unref(d);l&&(l[a]=b[a]),e.isRef(n[a])?n[a].value=t:n[a]=t}}):null;return a&&v.$autoDirty&&e.watch(g,()=>{w.value||M();const t=e.unref(d);t&&(t[a]=b[a])},{flush:"sync"}),e.reactive(kl(kl(kl({},x),{},{$model:P,$dirty:w,$error:N,$errors:B,$invalid:C,$anyDirty:E,$pending:T,$touch:M,$reset:V,$path:u||"__root",$silentErrors:S,$validate:async function(){return M(),v.$rewardEarly&&(z(),await e.nextTick()),await e.nextTick(),new Promise(t=>{if(!T.value)return t(!C.value);const n=e.watch(T,()=>{t(!C.value),n()})})},$commit:z},i&&{$getResultsForChild:function(e){return(i.value||{})[e]},$clearExternalResults:function(){e.isRef(d)?d.value=b:0===Object.keys(b).length?Object.keys(d).forEach(e=>{delete d[e]}):Object.assign(d,b)},$validationGroups:_}),k))}class zl{constructor(){this.storage=new Map}set(e,t,n){this.storage.set(e,{rules:t,result:n})}checkRulesValidity(t,n,o){const a=Object.keys(o),l=Object.keys(n);if(l.length!==a.length)return!1;return!!l.every(e=>a.includes(e))&&l.every(t=>!n[t].$params||Object.keys(n[t].$params).every(a=>e.unref(o[t].$params[a])===e.unref(n[t].$params[a])))}get(e,t){const n=this.storage.get(e);if(!n)return;const{rules:o,result:a}=n,l=this.checkRulesValidity(e,t,o),i=a.$unwatch?a.$unwatch:()=>({});return l?a:{$dirty:a.$dirty,$partial:!0,$unwatch:i}}}const Pl={COLLECT_ALL:!0,COLLECT_NONE:!1},Dl=Symbol("vuelidate#injectChildResults"),Il=Symbol("vuelidate#removeChildResults");function ql(t){return new Proxy(t,{get:(t,n)=>"object"==typeof t[n]?ql(t[n]):e.computed(()=>t[n])})}let $l=0;function Ol(t,n){var o;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};1===arguments.length&&(a=t,t=void 0,n=void 0);let{$registerAs:l,$scope:i=Pl.COLLECT_ALL,$stopPropagation:r,$externalResults:c,currentVueInstance:s}=a;const d=s||(null===(o=e.getCurrentInstance())||void 0===o?void 0:o.proxy),u=d?d.$options:{};l||($l+=1,l=`_vuelidate_${$l}`);const p=e.ref({}),m=new zl,{childResults:f,sendValidationResultsToParent:h,removeValidationResultsFromParent:v}=d?function(t){let{$scope:n,instance:o}=t;const a={},l=e.ref([]),i=e.computed(()=>l.value.reduce((t,n)=>(t[n]=e.unref(a[n]),t),{}));o.__vuelidateInjectInstances=[].concat(o.__vuelidateInjectInstances||[],function(e,t){let{$registerAs:o,$scope:i,$stopPropagation:r}=t;r||n===Pl.COLLECT_NONE||i===Pl.COLLECT_NONE||n!==Pl.COLLECT_ALL&&n!==i||(a[o]=e,l.value.push(o))}),o.__vuelidateRemoveInstances=[].concat(o.__vuelidateRemoveInstances||[],function(e){l.value=l.value.filter(t=>t!==e),delete a[e]});const r=e.inject(Dl,[]);e.provide(Dl,o.__vuelidateInjectInstances);const c=e.inject(Il,[]);return e.provide(Il,o.__vuelidateRemoveInstances),{childResults:i,sendValidationResultsToParent:r,removeValidationResultsFromParent:c}}({$scope:i,instance:d}):{childResults:e.ref({})};if(!t&&u.validations){const t=u.validations;n=e.ref({}),e.onBeforeMount(()=>{n.value=d,e.watch(()=>Bl(t)?t.call(n.value,new ql(n.value)):t,e=>{p.value=Sl({validations:e,state:n,childResults:f,resultsCache:m,globalConfig:a,instance:d,externalResults:c||d.vuelidateExternalResults})},{immediate:!0})}),a=u.validationsConfig||a}else{const o=e.isRef(t)||(g=t,e.isReactive(g)||e.isReadonly(g))?t:e.reactive(t||{});e.watch(o,e=>{p.value=Sl({validations:e,state:n,childResults:f,resultsCache:m,globalConfig:a,instance:null!=d?d:{},externalResults:c})},{immediate:!0})}var g;return d&&(h.forEach(e=>e(p,{$registerAs:l,$scope:i,$stopPropagation:r})),e.onBeforeUnmount(()=>v.forEach(e=>e(l)))),e.computed(()=>kl(kl({},e.unref(p.value)),f.value))}function Hl(){const{$t:t}=Xa(),n=e.computed(()=>({DAY:{literal:{singular:t({defaultMessage:"day",id:"time_period.day.singular",description:"The singular form of the day time period"}),plural:t({defaultMessage:"days",id:"time_period.day.plural",description:"The plural form of the day time period"})},full:t({defaultMessage:"daily",id:"time_period.day.full",description:"The full form of the day time period"})},WEEK:{literal:{singular:t({defaultMessage:"week",id:"time_period.week.singular",description:"The singular form of the week time period"}),plural:t({defaultMessage:"weeks",id:"time_period.week.plural",description:"The plural form of the week time period"})},full:t({defaultMessage:"weekly",id:"time_period.week.full",description:"The full form of the week time period"})},MONTH:{literal:{singular:t({defaultMessage:"month",id:"time_period.month.singular",description:"The singular form of the month time period"}),plural:t({defaultMessage:"months",id:"time_period.month.plural",description:"The plural form of the month time period"})},full:t({defaultMessage:"monthly",id:"time_period.month.full",description:"The full form of the month time period"})},YEAR:{literal:{singular:t({defaultMessage:"year",id:"time_period.year.singular",description:"The singular form of the year time period"}),plural:t({defaultMessage:"years",id:"time_period.year.plural",description:"The plural form of the year time period"})},full:t({defaultMessage:"yearly",id:"time_period.year.full",description:"The full form of the year time period"})}}));return{map:n,formatTimePeriod:(e,t={short:!1,hideValueForExactPeriods:!1,singular:!1})=>{const o=e.value??1,a=n.value[e.type].literal[t.singular||1===+o?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===o?a:`${o} ${a}`}`},formatTimePeriodLiteral:(e,t={singular:!1})=>n.value[e].literal[t.singular?"singular":"plural"]}}const Al="z-index-tracker";const Ll=(e,t)=>e.find(e=>e.currency===t),Zl=(e,t)=>{var n,o;return null==(o=null==(n=e.find(e=>e.currency===t))?void 0:n.configs)?void 0:o[0]},Rl=(e,t)=>{var n,o;return null==(o=null==(n=e.find(e=>a(e.billing_period,t)))?void 0:n.configs)?void 0:o[0]},Fl=e=>{if(!e)return"";const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)},Ul={DAY:{literal:{singular:"Day",plural:"Days"},full:"Daily"},WEEK:{literal:{singular:"Week",plural:"Weeks"},full:"Weekly"},MONTH:{literal:{singular:"Month",plural:"Months"},full:"Monthly"},YEAR:{literal:{singular:"Year",plural:"Years"},full:"Yearly"}},Gl=(e,t)=>new Intl.NumberFormat((e=>{if(null==e?void 0:e.locale)return e.locale;if("undefined"!=typeof window){const e=localStorage.getItem("numberFormat");if(e)return e}return"en-US"})(t),{style:"currency",currency:e.currency,maximumFractionDigits:10}).format(+e.quantity),jl=e=>Fl((e??"").replace(/_/g," ")),Ql=(e,t={short:!1,hideValueForExactPeriods:!1,prefix:"every"})=>{const n=e.value??1,o=Ul[e.type].literal[1===+n?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===n?o:`${n} ${o}`}`};function Kl({currency:e,billingPeriod:t}={}){const{$t:n}=Xa(),{formatTimePeriod:o}=Hl();return{renderPricingForPricingItem:({pricingItem:a})=>{var l,i,r,c,s,d,u,p,m,f,h,v,g,b,y,x,k,_,w,B,C,E,N,T,M,V,S,z;const P=null==(l=a.product_items)?void 0:l[0],D=function({pricingItem:e,currency:t,billingPeriod:n}){var o,a,l,i,r,c;if(null==(o=e.pricing_currency_configs)?void 0:o.length){const o=Ll(e.pricing_currency_configs,t);if((null==(a=null==o?void 0:o.billing_period_configs)?void 0:a.length)&&n){const e=Rl(o.billing_period_configs,n);if(e)return e}if(o){const t=o.fallback_currency;if(t){const n=Zl(e.pricing_currency_configs,t);if(n)return n}if(null==(l=o.configs)?void 0:l.length)return o.configs[0]}}if(null==(i=e.billing_period_configs)?void 0:i.length){const t=Rl(e.billing_period_configs,n);if(t)return t}if(null==(r=e.configs)?void 0:r.length)return null==(c=e.configs)?void 0:c[0]}({pricingItem:a,currency:null==e?void 0:e.value,billingPeriod:null==t?void 0:t.value});return D?"PER_SEAT"===(null==P?void 0:P.model_type)?n({defaultMessage:"Per seat",id:"pricing_item_pricing.per_seat",description:"The pricing item pricing for a per seat pricing item"}):"ONE_OFF"===(null==P?void 0:P.model_type)&&(null==(c=null==(r=null==(i=D.details)?void 0:i.bands)?void 0:r[0])?void 0:c.fixed_amount)?Gl(null==(u=null==(d=null==(s=D.details)?void 0:s.bands)?void 0:d[0])?void 0:u.fixed_amount):"FLAT"===(null==(p=D.details)?void 0:p.pricing_type)&&(null==(h=null==(f=null==(m=D.details)?void 0:m.bands)?void 0:f[0])?void 0:h.amount)?n({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:Gl(null==(v=D.details)?void 0:v.bands[0].amount),billing_period:o((null==(g=null==D?void 0:D.details)?void 0:g.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"FIXED"===(null==(b=D.details)?void 0:b.pricing_type)&&(null==(k=null==(x=null==(y=D.details)?void 0:y.bands)?void 0:x[0])?void 0:k.fixed_amount)?n({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:Gl(null==(B=null==(w=null==(_=D.details)?void 0:_.bands)?void 0:w[0])?void 0:B.fixed_amount),billing_period:o((null==(C=null==D?void 0:D.details)?void 0:C.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"TIERED"===(null==(E=D.details)?void 0:E.pricing_type)?n({defaultMessage:"Tiered pricing",id:"pricing_item_pricing.tiered",description:"The pricing item pricing for a tiered pricing item"}):"TOP_TIERED"===(null==(N=D.details)?void 0:N.pricing_type)?n({defaultMessage:"Top tiered pricing",id:"pricing_item_pricing.top_tiered",description:"The pricing item pricing for a top tiered pricing item"}):"STAIR_STEP"===(null==(T=D.details)?void 0:T.pricing_type)?n({defaultMessage:"Stair step pricing",id:"pricing_item_pricing.stair_step",description:"The pricing item pricing for a stair step pricing item"}):"PASS_THROUGH"===(null==(M=D.details)?void 0:M.pricing_type)?n({defaultMessage:"Pass through pricing",id:"pricing_item_pricing.pass_through",description:"The pricing item pricing for a pass through pricing item"}):"NONE"===(null==(V=D.details)?void 0:V.pricing_type)?n({defaultMessage:"Not billed",id:"pricing_item_pricing.none",description:"The pricing item pricing for a not billed pricing item"}):"FLAT_TOP_UP"===(null==(S=D.details)?void 0:S.pricing_type)?n({defaultMessage:"Flat top up pricing",id:"pricing_item_pricing.flat_top_up",description:"The pricing item pricing for a flat top up pricing item"}):"TIERED_TOP_UP"===(null==(z=D.details)?void 0:z.pricing_type)?n({defaultMessage:"Tiered top up pricing",id:"pricing_item_pricing.tiered_top_up",description:"The pricing item pricing for a tiered top up pricing item"}):n({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"}):n({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"})}}}function Wl(t,n,o={enabled:!1}){const a=o.pageHeight??1122.515625,l=o.pushThreshold??.6,i=o.smallOverflowRatio??.1,r=[],c=()=>{const e=t.value;if(!e)return;(e=>{var t;if(null==(t=o.expandSelectors)?void 0:t.length)for(const n of o.expandSelectors)e.querySelectorAll(n).forEach(e=>{"none"===getComputedStyle(e).display&&(e.style.display="block",r.push(e))})})(e);const c=((e.getBoundingClientRect().top+window.scrollY)%a+a)%a;[...e.querySelectorAll(n)].forEach(t=>{t.style.marginTop="";const n=t.getBoundingClientRect().top+window.scrollY,r=t.getBoundingClientRect().height,s=((n-c)%a+a)%a,d=a-s,u=function(e,t){if(!(null==t?void 0:t.length))return 0;const n=new Set;return t.reduce((t,o)=>{const a=e.querySelector(o);return!a||n.has(a)?t:(n.add(a),t+a.getBoundingClientRect().height)},0)}(t,o.protectedTopSelectors);if(r<=d)return;const p=(t,n)=>{const l=o.companionSelector?function(e,t,n,o){const a=t.getBoundingClientRect().top+window.scrollY,l=Math.floor(a/o),i=[...e.querySelectorAll(n)];for(let r=i.length-1;r>=0;r--){const e=i[r],t=e.getBoundingClientRect().top+window.scrollY,n=Math.floor(t/o);if(t<a&&n===l)return e;if(t<a&&n<l)break}return null}(e,t,o.companionSelector,a):null;if(l){const e=((l.getBoundingClientRect().top+window.scrollY-c)%a+a)%a,o=a-e;e>.5*a?l.style.marginTop=`${o}px`:t.style.marginTop=`${n}px`}else t.style.marginTop=`${n}px`};if(u>0&&d<u)return void p(t,d);if(r>a)return void(s>.5*a&&p(t,d));((r-d)/a<i||d/r<l)&&p(t,d)})},s=()=>{const e=t.value;e&&(r.forEach(e=>e.style.display="none"),r.length=0,e.querySelectorAll(n).forEach(e=>{e.style.marginTop=""}),o.companionSelector&&e.querySelectorAll(o.companionSelector).forEach(e=>{e.style.marginTop=""}))};return e.onMounted(()=>{o.enabled&&(window.addEventListener("beforeprint",c),window.addEventListener("afterprint",s))}),e.onUnmounted(()=>{o.enabled&&(window.removeEventListener("beforeprint",c),window.removeEventListener("afterprint",s))}),{adjust:c,reset:s}}const Yl=Symbol("expandedConfigs"),Xl=(t={})=>{const n=((t={})=>{const n=e.ref(!t.defaultCollapsed),o=e.reactive(new Set),a=e=>o.has(e)?!n.value:n.value,l=(e,t)=>{t===n.value?o.delete(e):o.add(e)},i=e=>Array.isArray(e)?e:[e];return{isExpanded:a,toggle:e=>l(e,!a(e)),expand:e=>i(e).forEach(e=>l(e,!0)),collapse:e=>i(e).forEach(e=>l(e,!1)),expandAll:()=>{n.value=!0,o.clear()},collapseAll:()=>{n.value=!1,o.clear()}}})(t);return e.provide(Yl,n),n},Jl=Symbol("viewportGating"),ei=[{key:"AF",value:"Afghanistan"},{key:"AX",value:"Aland Islands"},{key:"AL",value:"Albania"},{key:"DZ",value:"Algeria"},{key:"AS",value:"American Samoa"},{key:"AD",value:"Andorra"},{key:"AO",value:"Angola"},{key:"AI",value:"Anguilla"},{key:"AQ",value:"Antarctica"},{key:"AG",value:"Antigua And Barbuda"},{key:"AR",value:"Argentina"},{key:"AM",value:"Armenia"},{key:"AW",value:"Aruba"},{key:"AU",value:"Australia"},{key:"AT",value:"Austria"},{key:"AZ",value:"Azerbaijan"},{key:"BS",value:"Bahamas"},{key:"BH",value:"Bahrain"},{key:"BD",value:"Bangladesh"},{key:"BB",value:"Barbados"},{key:"BY",value:"Belarus"},{key:"BE",value:"Belgium"},{key:"BZ",value:"Belize"},{key:"BJ",value:"Benin"},{key:"BM",value:"Bermuda"},{key:"BT",value:"Bhutan"},{key:"BO",value:"Bolivia"},{key:"BA",value:"Bosnia And Herzegovina"},{key:"BW",value:"Botswana"},{key:"BV",value:"Bouvet Island"},{key:"BR",value:"Brazil"},{key:"IO",value:"British Indian Ocean Territory"},{key:"BN",value:"Brunei Darussalam"},{key:"BG",value:"Bulgaria"},{key:"BF",value:"Burkina Faso"},{key:"BI",value:"Burundi"},{key:"KH",value:"Cambodia"},{key:"CM",value:"Cameroon"},{key:"CA",value:"Canada"},{key:"CV",value:"Cape Verde"},{key:"KY",value:"Cayman Islands"},{key:"CF",value:"Central African Republic"},{key:"TD",value:"Chad"},{key:"CL",value:"Chile"},{key:"CN",value:"China"},{key:"CX",value:"Christmas Island"},{key:"CC",value:"Cocos (Keeling) Islands"},{key:"CO",value:"Colombia"},{key:"KM",value:"Comoros"},{key:"CG",value:"Congo"},{key:"CD",value:"Congo, Democratic Republic"},{key:"CK",value:"Cook Islands"},{key:"CR",value:"Costa Rica"},{key:"CI",value:'Cote D"Ivoire'},{key:"HR",value:"Croatia"},{key:"CU",value:"Cuba"},{key:"CW",value:"Curaçao"},{key:"CY",value:"Cyprus"},{key:"CZ",value:"Czech Republic"},{key:"DK",value:"Denmark"},{key:"DJ",value:"Djibouti"},{key:"DM",value:"Dominica"},{key:"DO",value:"Dominican Republic"},{key:"EC",value:"Ecuador"},{key:"EG",value:"Egypt"},{key:"SV",value:"El Salvador"},{key:"GQ",value:"Equatorial Guinea"},{key:"ER",value:"Eritrea"},{key:"EE",value:"Estonia"},{key:"ET",value:"Ethiopia"},{key:"FK",value:"Falkland Islands (Malvinas)"},{key:"FO",value:"Faroe Islands"},{key:"FJ",value:"Fiji"},{key:"FI",value:"Finland"},{key:"FR",value:"France"},{key:"GF",value:"French Guiana"},{key:"PF",value:"French Polynesia"},{key:"TF",value:"French Southern Territories"},{key:"GA",value:"Gabon"},{key:"GM",value:"Gambia"},{key:"GE",value:"Georgia"},{key:"DE",value:"Germany"},{key:"GH",value:"Ghana"},{key:"GI",value:"Gibraltar"},{key:"GR",value:"Greece"},{key:"GL",value:"Greenland"},{key:"GD",value:"Grenada"},{key:"GP",value:"Guadeloupe"},{key:"GU",value:"Guam"},{key:"GT",value:"Guatemala"},{key:"GG",value:"Guernsey"},{key:"GN",value:"Guinea"},{key:"GW",value:"Guinea-Bissau"},{key:"GY",value:"Guyana"},{key:"HT",value:"Haiti"},{key:"HM",value:"Heard Island & Mcdonald Islands"},{key:"VA",value:"Holy See (Vatican City State)"},{key:"HN",value:"Honduras"},{key:"HK",value:"Hong Kong"},{key:"HU",value:"Hungary"},{key:"IS",value:"Iceland"},{key:"IN",value:"India"},{key:"ID",value:"Indonesia"},{key:"IR",value:"Iran, Islamic Republic Of"},{key:"IQ",value:"Iraq"},{key:"IE",value:"Ireland"},{key:"IM",value:"Isle Of Man"},{key:"IL",value:"Israel"},{key:"IT",value:"Italy"},{key:"JM",value:"Jamaica"},{key:"JP",value:"Japan"},{key:"JE",value:"Jersey"},{key:"JO",value:"Jordan"},{key:"KZ",value:"Kazakhstan"},{key:"KE",value:"Kenya"},{key:"KI",value:"Kiribati"},{key:"KR",value:"Korea"},{key:"KP",value:"North Korea"},{key:"KW",value:"Kuwait"},{key:"KG",value:"Kyrgyzstan"},{key:"LA",value:'Lao People"s Democratic Republic'},{key:"LV",value:"Latvia"},{key:"LB",value:"Lebanon"},{key:"LS",value:"Lesotho"},{key:"LR",value:"Liberia"},{key:"LY",value:"Libyan Arab Jamahiriya"},{key:"LI",value:"Liechtenstein"},{key:"LT",value:"Lithuania"},{key:"LU",value:"Luxembourg"},{key:"MO",value:"Macao"},{key:"MK",value:"Macedonia"},{key:"MG",value:"Madagascar"},{key:"MW",value:"Malawi"},{key:"MY",value:"Malaysia"},{key:"MV",value:"Maldives"},{key:"ML",value:"Mali"},{key:"MT",value:"Malta"},{key:"MH",value:"Marshall Islands"},{key:"MQ",value:"Martinique"},{key:"MR",value:"Mauritania"},{key:"MU",value:"Mauritius"},{key:"YT",value:"Mayotte"},{key:"MX",value:"Mexico"},{key:"FM",value:"Micronesia, Federated States Of"},{key:"MD",value:"Moldova"},{key:"MC",value:"Monaco"},{key:"MN",value:"Mongolia"},{key:"ME",value:"Montenegro"},{key:"MS",value:"Montserrat"},{key:"MA",value:"Morocco"},{key:"MZ",value:"Mozambique"},{key:"MM",value:"Myanmar"},{key:"NA",value:"Namibia"},{key:"NR",value:"Nauru"},{key:"NP",value:"Nepal"},{key:"NL",value:"Netherlands"},{key:"AN",value:"Netherlands Antilles"},{key:"NC",value:"New Caledonia"},{key:"NZ",value:"New Zealand"},{key:"NI",value:"Nicaragua"},{key:"NE",value:"Niger"},{key:"NG",value:"Nigeria"},{key:"NU",value:"Niue"},{key:"NF",value:"Norfolk Island"},{key:"MP",value:"Northern Mariana Islands"},{key:"NO",value:"Norway"},{key:"OM",value:"Oman"},{key:"PK",value:"Pakistan"},{key:"PW",value:"Palau"},{key:"PS",value:"Palestinian Territory, Occupied"},{key:"PA",value:"Panama"},{key:"PG",value:"Papua New Guinea"},{key:"PY",value:"Paraguay"},{key:"PE",value:"Peru"},{key:"PH",value:"Philippines"},{key:"PN",value:"Pitcairn"},{key:"PL",value:"Poland"},{key:"PT",value:"Portugal"},{key:"PR",value:"Puerto Rico"},{key:"QA",value:"Qatar"},{key:"RE",value:"Reunion"},{key:"RO",value:"Romania"},{key:"RU",value:"Russian Federation"},{key:"RW",value:"Rwanda"},{key:"BL",value:"Saint Barthelemy"},{key:"SH",value:"Saint Helena"},{key:"KN",value:"Saint Kitts And Nevis"},{key:"LC",value:"Saint Lucia"},{key:"MF",value:"Saint Martin"},{key:"PM",value:"Saint Pierre And Miquelon"},{key:"VC",value:"Saint Vincent And Grenadines"},{key:"WS",value:"Samoa"},{key:"SM",value:"San Marino"},{key:"ST",value:"Sao Tome And Principe"},{key:"SA",value:"Saudi Arabia"},{key:"SN",value:"Senegal"},{key:"RS",value:"Serbia"},{key:"SC",value:"Seychelles"},{key:"SL",value:"Sierra Leone"},{key:"SG",value:"Singapore"},{key:"SK",value:"Slovakia"},{key:"SI",value:"Slovenia"},{key:"SB",value:"Solomon Islands"},{key:"SO",value:"Somalia"},{key:"ZA",value:"South Africa"},{key:"GS",value:"South Georgia And Sandwich Isl."},{key:"ES",value:"Spain"},{key:"LK",value:"Sri Lanka"},{key:"SD",value:"Sudan"},{key:"SR",value:"Suriname"},{key:"SJ",value:"Svalbard And Jan Mayen"},{key:"SZ",value:"Swaziland"},{key:"SE",value:"Sweden"},{key:"CH",value:"Switzerland"},{key:"SY",value:"Syrian Arab Republic"},{key:"TW",value:"Taiwan"},{key:"TJ",value:"Tajikistan"},{key:"TZ",value:"Tanzania"},{key:"TH",value:"Thailand"},{key:"TL",value:"Timor-Leste"},{key:"TG",value:"Togo"},{key:"TK",value:"Tokelau"},{key:"TO",value:"Tonga"},{key:"TT",value:"Trinidad And Tobago"},{key:"TN",value:"Tunisia"},{key:"TR",value:"Turkey"},{key:"TM",value:"Turkmenistan"},{key:"TC",value:"Turks And Caicos Islands"},{key:"TV",value:"Tuvalu"},{key:"UG",value:"Uganda"},{key:"UA",value:"Ukraine"},{key:"AE",value:"United Arab Emirates"},{key:"GB",value:"United Kingdom"},{key:"US",value:"United States"},{key:"UM",value:"United States Outlying Islands"},{key:"UY",value:"Uruguay"},{key:"UZ",value:"Uzbekistan"},{key:"VU",value:"Vanuatu"},{key:"VE",value:"Venezuela"},{key:"VN",value:"Vietnam"},{key:"VG",value:"Virgin Islands, British"},{key:"VI",value:"Virgin Islands, U.S."},{key:"WF",value:"Wallis And Futuna"},{key:"EH",value:"Western Sahara"},{key:"YE",value:"Yemen"},{key:"ZM",value:"Zambia"},{key:"ZW",value:"Zimbabwe"}],ti=(e,t)=>{const n=document.createElement("a");n.href=e,n.download=t,n.click(),setTimeout(()=>{window.URL.revokeObjectURL(e)},250)},ni=(e=[])=>{const t=e.filter(e=>null!=e&&""!==e);if(1===t.length)return t[0];return t.every(e=>e===t[0])?t[0]:[...t.slice(0,t.length-2),t.slice(t.length-2,t.length).join(" & ")].join(", ")},oi=(e,t=!0)=>{const n=ni((e.products??[]).map(e=>e.name??""));return e.name?t?`${e.name} - ${n}`:e.name:n},ai=e=>{var t,n;return[...(null==(t=e.enabled_pricings)?void 0:t.map(({pricing_id:e})=>e))??[],...(null==(n=e.override_pricings)?void 0:n.map(e=>"id"in e?e.id:e.original_pricing_id))??[]]},li=({schedule:e,pricingItemConfigIds:t})=>{var n,o;const a=new Date,l=new Set(t),i=null==(n=e.seats_values)?void 0:n.map((e,t)=>({seatsValue:e,index:t})).filter(({seatsValue:e})=>{if(!l.has(e.pricing_item_config_id))return!1;const t=e.set_start_at_to_now||!e.start_at||new Date(e.start_at)<=a,n=!e.end_at||new Date(e.end_at)>a;return t&&n});return null==(o=null==i?void 0:i.sort((e,t)=>{const n=e.seatsValue.set_start_at_to_now?a.getTime():e.seatsValue.start_at?new Date(e.seatsValue.start_at).getTime():0,o=t.seatsValue.set_start_at_to_now?a.getTime():t.seatsValue.start_at?new Date(t.seatsValue.start_at).getTime():0;return o!==n?o-n:t.index-e.index})[0])?void 0:o.seatsValue},ii=(e,t)=>{var o;const a=e=>null==e?void 0:e.map(e=>{var t;return{...e,configs:null==(t=e.configs)?void 0:t.map(l)}}),l=e=>{var o,a,i;const r=null==(o=t.included_volumes)?void 0:o.find(t=>t.pricing_item_config_id===e.id),c=li({schedule:t,pricingItemConfigIds:[e.id]})??(null==(a=t.seats_values)?void 0:a.find(t=>t.pricing_item_config_id===e.id));return{...e,...!n(r)&&{default_included_volume:Ot(r,["amount","number","reset_type"])},...!n(c)&&{default_seats_value:Ot(c,"number")},conditions:e.conditions?{...e.conditions,configs:null==(i=e.conditions.configs)?void 0:i.map(l)}:void 0}};return{...e,entitlements:(e=>{var o,a,l;const i=t=>{var n;return null==(n=e.products)?void 0:n.some(e=>{var n;return null==(n=e.features)?void 0:n.some(e=>e.id===t.feature_id)})},r=(null==(a=null==(o=t.entitlements)?void 0:o.filter(e=>i(e)))?void 0:a.reduce((t,n)=>{var o,a;const l=null==(a=null==(o=e.entitlements)?void 0:o.find(e=>e.feature_id===n.feature_id))?void 0:a.feature;return l?[...t,{...n,feature:l}]:t},[]))??[];if(n(r))return e.entitlements;return[...(null==(l=e.entitlements)?void 0:l.filter(e=>i(e)&&!(null==r?void 0:r.some(t=>t.feature_id===e.feature_id))))??[],...r]})(e),items:null==(o=e.items)?void 0:o.map(e=>{return{...e,...e.configs&&{configs:e.configs.map(l)},...e.billing_period_configs&&{billing_period_configs:a(e.billing_period_configs)},...e.pricing_currency_configs&&{pricing_currency_configs:(t=e.pricing_currency_configs,null==t?void 0:t.map(e=>{var t;return{...e,configs:null==(t=e.configs)?void 0:t.map(l),billing_period_configs:a(e.billing_period_configs)}}))}};var t})}},ri=(e,t,o={displayDisabledAddonPricings:!1})=>{var a,l;const i=e=>o.displayDisabledAddonPricings||"ADDON"!==e.product_type||((e,t)=>{var n,o;return!(!(null==(n=e.enabled_pricings)?void 0:n.some(({pricing_id:e})=>e===t.id))&&!(null==(o=e.override_pricings)?void 0:o.some(e=>"id"in e&&e.id===t.id||e.original_pricing_id===t.id)))})(t,e);return{...e,pricing_categories:null==(l=null==(a=e.pricing_categories)?void 0:a.map(e=>{var o,a,l,r;return{...e,pricing_groups:null==(a=null==(o=e.pricing_groups)?void 0:o.map(e=>{var n,o;return{...e,pricings:null==(o=null==(n=e.pricings)?void 0:n.filter(i))?void 0:o.map(e=>ii(e,t))}}))?void 0:a.filter(e=>!n(e.pricings)),pricings:null==(r=null==(l=e.pricings)?void 0:l.filter(i))?void 0:r.map(e=>ii(e,t))}}))?void 0:l.filter(e=>o.displayDisabledAddonPricings||!(n(e.pricing_groups)&&n(e.pricings)))}},ci=e=>"REVENUE"===e.type,si=e=>"DEDUCTION"===e.type,di=e=>["AT_MOST_ONE","EXACTLY_ONE"].includes(e.selection_constraint),ui={equals:"equals",notEquals:"does not equal",in:"equals one of",inOutput:"equals",notIn:"does not equal one of",notInOutput:"does not equal",greaterThan:"greater than",greaterThanOrEquals:"greater than or equal to",lessThan:"less than",lessThanOrEquals:"less than or equal to",empty:"is empty",notEmpty:"is not empty",contains:"contains",notContains:"does not contain",or:"or",unsupported:"unsupported",unknown:"Unknown"},pi=(e=ui)=>({propertyName:t,comparator:n,value:o,values:a},{hasFormatting:l}={})=>{const i=((e=ui)=>[{comparator:"CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"CONTAINS",label:{input:e.contains,output:e.contains}},{comparator:"NOT_CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"NOT CONTAINS",label:{input:e.notContains,output:e.notContains}},{comparator:"EMPTY",forType:["STRING"],requiresInput:!1,symbol:"EMPTY",label:{input:e.empty,output:e.empty}},{comparator:"NOT_EMPTY",forType:["STRING"],requiresInput:!1,symbol:"NOT EMPTY",label:{input:e.notEmpty,output:e.notEmpty}},{comparator:"EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"=",label:{input:e.equals,output:e.equals}},{comparator:"NOT_EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"!=",label:{input:e.notEquals,output:e.notEquals}},{comparator:"IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"IN ()",label:{input:e.in,output:e.inOutput}},{comparator:"NOT_IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"NOT IN()",label:{input:e.notIn,output:e.notInOutput}},{comparator:"GREATER_THAN",forType:["NUMBER"],requiresInput:!0,symbol:">",label:{input:e.greaterThan,output:e.greaterThan}},{comparator:"GREATER_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:">=",label:{input:e.greaterThanOrEquals,output:e.greaterThanOrEquals}},{comparator:"LESS_THAN",forType:["NUMBER"],requiresInput:!0,symbol:"<",label:{input:e.lessThan,output:e.lessThan}},{comparator:"LESS_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:"<=",label:{input:e.lessThanOrEquals,output:e.lessThanOrEquals}}])(e).find(e=>e.comparator===n),r=null==a?void 0:a.reduce((t,n,o,a)=>{const i=l?`<strong class="font-semibold">${n}</strong>`:n;return o===a.length-1?`${t} ${(null==e?void 0:e.or)??"or"} ${i}`:0===o?i:[t,i].join(", ")},"");return i?["IN","NOT_IN"].includes(i.comparator)&&a?l?`<strong>${t}</strong> ${i.label.output} <strong>${r}</strong>`:`${t} ${i.label.output} ${r}`:l?`<strong class="font-semibold">${t}</strong> ${i.label.output} <strong class="font-semibold">${o}</strong>`:`${t} ${i.label.output} ${o}`:(null==e?void 0:e.unsupported)??"Unsupported comparator"},mi=(e,t)=>{var n;const o=null==(n=e.details)?void 0:n.pricing_type;return!!o&&t.includes(o)},fi=e=>mi(e,["FLAT_TOP_UP","TIERED_TOP_UP","STAIR_STEP_TOP_UP"]),hi=e=>mi(e,["TIERED","TIERED_TOP_UP"]),vi=e=>mi(e,["STAIR_STEP","STAIR_STEP_TOP_UP"]),gi=e=>mi(e,["FLEXIBLE"]),bi=e=>{var t,n;return[e,...(null==(n=null==(t=e.conditions)?void 0:t.configs)?void 0:n.flatMap(e=>bi(e)))??[]]},yi=260,xi=130,ki=48,_i=e=>{var t,n;const o=!(!(null==(t=e.details)?void 0:t.bands)&&!(null==(n=e.details)?void 0:n.pricing_type)),a=mi(e,["TIERED","TIERED_TOP_UP","TOP_TIERED"])||vi(e);return o?a?yi:xi:ki},wi=e=>({pricing:t,item:n,config:o})=>{var a,l,i,r;return[(null==t?void 0:t.name)??(null==(l=null==(a=null==t?void 0:t.products)?void 0:a[0])?void 0:l.name),null==(r=null==(i=null==n?void 0:n.product_items)?void 0:i[0])?void 0:r.name,o&&(c=o,(null==(s=c.conditions)?void 0:s.name)?null==(d=c.conditions)?void 0:d.name:(null==(u=c.conditions)?void 0:u.meter_properties)?((e=ui)=>(t,n)=>t.map(t=>pi(e)(t,n)).join(" and "))(e)(null==(p=c.conditions)?void 0:p.meter_properties.map(e=>{var t;return{propertyName:(null==(t=null==e?void 0:e.meter_property)?void 0:t.name)??"Unknown",comparator:e.comparator,value:e.value,values:e.values}}),{hasFormatting:!1}):void 0)].filter(Boolean).join(" - ");var c,s,d,u,p},Bi=e=>!!e&&"number"in e,Ci=e=>!!e&&"count"in e,Ei=e=>!!e&&"amount"in e,Ni=e=>"ORGANIZATION"===e.type,Ti=e=>"INDIVIDUAL"===e.type,Mi=e=>t=>t?t.tier_top_bound&&Bi(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):Ci(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):Ei(t.tier_top_bound)?Gl(t.tier_top_bound.amount):void 0:0,Vi=e=>(t,n,o)=>o===n.length-1?e.infinite:t.tier_top_bound&&"number"in t.tier_top_bound&&Bi(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):t.tier_top_bound&&"count"in t.tier_top_bound&&Ci(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):t.tier_top_bound&&"amount"in t.tier_top_bound&&Ei(t.tier_top_bound)?Gl(t.tier_top_bound.amount):void 0,Si=(e,t)=>{var n,o;return null==(o=null==(n=e.markup)?void 0:n.pricing_item_configs)?void 0:o.find(({ids:e})=>null==e?void 0:e.includes(t.id))},zi=t=>t.every(t=>t.type===e.Comment||(t.type===e.Text&&"string"==typeof t.children&&!t.children.trim()||!(t.type!==e.Fragment||!zi(t.children)))),Pi=e=>n(e)&&"boolean"!=typeof e?null:e,Di=e=>"object"==typeof e&&null!==e;function Ii(e){var t;return(null==(t=ei.find(t=>t.key===e))?void 0:t.value)??e}const qi=["US","CA"];function $i(e){if(qi.includes(e.country)){const t=Oi([e.line1,e.line2],", "),n=Oi([e.state,e.postal_code]," "),o=Ii(e.country);return Oi([t,e.city,n,o],", ")}const t=Oi([e.line1,e.line2]," "),n=Oi([e.postal_code,e.city]," "),o=Ii(e.country);return Oi([t,n,e.state,o],", ")}function Oi(e,t){return e.filter(Boolean).join(t)}const Hi=(e,t)=>{const n=new Date(e),o=new Date(t),a=o.getFullYear()-n.getFullYear(),l=new Date(n);if(l.setFullYear(l.getFullYear()+a),a>0&&l.getTime()===o.getTime())return{type:"YEAR",value:a};const i=12*(o.getFullYear()-n.getFullYear())+(o.getMonth()-n.getMonth()),r=new Date(n);if(r.setMonth(r.getMonth()+i),i>0&&r.getTime()===o.getTime())return{type:"MONTH",value:i};const c=Math.round((o.getTime()-n.getTime())/864e5);return c>0&&c%7==0?{type:"WEEK",value:c/7}:{type:"DAY",value:c}},Ai=e=>Ti(e)?Li(e.individual.name):Ni(e)?e.organization.legal_name:void 0,Li=e=>{if(e)return[e.first_name,e.infix,e.last_name].filter(e=>e).join(" ")},Zi=(e,t)=>(null==e?void 0:e.length)?t?e.filter(({billing_period:e})=>{return o=t,(n=e).type===o.type&&n.value===o.value;var n,o}):e:[],Ri=(e,t)=>{var n;if(!(null==(n=e.pricing_currency_configs)?void 0:n.length)||!t)return;const o=e.pricing_currency_configs.find(e=>e.currency===t)??e.pricing_currency_configs[0];if(o){if(o.fallback_currency){return{config:e.pricing_currency_configs.find(e=>e.currency===o.fallback_currency),additionalFields:{use_fallback_currency:!0,fallback_currency:o.fallback_currency}}}return{config:o,additionalFields:void 0}}},Fi=(e,t)=>{var n,o,a,l;if(!(null==(n=e.pricing_currency_configs)?void 0:n.length))return((null==(o=e.billing_period_configs)?void 0:o.length)??0)>0;const i=Ri(e,t);return((null==(l=null==(a=null==i?void 0:i.config)?void 0:a.billing_period_configs)?void 0:l.length)??0)>0},Ui=(e,t,n)=>{var o;return(null==(o=e.items)?void 0:o.length)?e.items.map(e=>((e,t,n)=>{var o,a,l,i;const{configs:r,billing_period_configs:c,...s}=e;if(!(null==(o=e.pricing_currency_configs)?void 0:o.length)&&(null==(a=e.billing_period_configs)?void 0:a.length)){const t=Zi(e.billing_period_configs,n).flatMap(e=>(e.configs??[]).map(t=>{var n;return{...t,details:{...t.details,pricing_period:(null==(n=t.details)?void 0:n.pricing_period)??e.billing_period}}}));return{...s,configs:t}}if(!(null==(l=e.pricing_currency_configs)?void 0:l.length)||!t)return e;const d=Ri(e,t);if(!(null==d?void 0:d.config))return e;if(null==(i=d.config.billing_period_configs)?void 0:i.length){const e=Zi(d.config.billing_period_configs,n).flatMap(e=>(e.configs??[]).map(t=>{var n;return{...t,...d.additionalFields,details:{...t.details,pricing_period:(null==(n=t.details)?void 0:n.pricing_period)??e.billing_period}}}));return{...s,configs:e}}return{...s,configs:(d.config.configs??[]).map(e=>({...e,...d.additionalFields}))}})(e,t,n)):e.items},Gi=(e,t,n)=>{var o,a,l,i,r,c;if(null==n?void 0:n.amount)return Gl(n.amount);if(null==n?void 0:n.credits){const s=Number(n.credits.quantity),d=(1===s?null==(a=null==(o=n.credits.credit_type)?void 0:o.unit_name)?void 0:a.singular:(null==(i=null==(l=n.credits.credit_type)?void 0:l.unit_name)?void 0:i.plural)??(null==(c=null==(r=n.credits.credit_type)?void 0:r.unit_name)?void 0:c.singular))??e({defaultMessage:"credits",description:"Wallet balances credits default message",id:"wB/wXs"});return`${t(s)} ${d}`}return e({defaultMessage:"N/A",description:"Fallback wallet balance label when no balance is available",id:"PW+sL4"})},ji={AT:"Austria",BE:"Belgium",BG:"Bulgaria",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FR:"France",GR:"Greece",HR:"Croatia",HU:"Hungary",IE:"Ireland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",SE:"Sweden",SI:"Slovenia",SK:"Slovakia"};function Qi(e,t){const n=new Set;return e.filter(e=>{const o=e[t];return!n.has(o)&&(n.add(o),!0)})}function Ki(e=""){return`${e}${crypto.randomUUID()}`}const Wi="py-2 px-4 text-sm",Yi={danger:"text-red-700",dark:"text-gray-700",info:"text-blue-700",success:"text-green-700",warning:"text-yellow-700"},Xi={danger:"bg-red-100",dark:"bg-gray-100",info:"bg-blue-100",success:"bg-green-100",warning:"bg-yellow-100"},Ji={danger:"border-t-4 border-red-500",dark:"border-t-4 border-gray-500",info:"border-t-4 border-blue-500",success:"border-t-4 border-green-500",warning:"border-t-4 border-yellow-500"},er="ml-auto -mx-1.5 -my-1.5 rounded focus:ring-2 p-1.5 inline-flex h-8 w-8",tr={danger:"hover:bg-red-200 focus:ring-red-400 bg-red-100 text-red-500",dark:"hover:bg-gray-200 focus:ring-gray-400 bg-gray-100 text-gray-500",info:"hover:bg-blue-200 focus:ring-blue-400 bg-blue-100 text-blue-500",success:"bg-green-100 text-green-500 focus:ring-green-400 hover:bg-green-200",warning:"focus:ring-yellow-400 hover:bg-yellow-200 bg-yellow-100 text-yellow-500"};const nr={key:0,class:"ml-auto inline-flex items-center"},or=e.defineComponent({__name:"Alert",props:{type:{default:"info"},title:{default:""},closable:{type:Boolean,default:!1},icon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},inline:{type:Boolean,default:!0}},setup(t){const n=t,{alertClasses:o,textClasses:a,closeClasses:l,contentClasses:i,titleClasses:r}=function(t){const n=e.computed(()=>[Wi,Xi[t.type.value],o.value,t.border.value?Ji[t.type.value]:"rounded",t.inline.value?"flex items-center":""].filter(e=>!!e).join(" ")),o=e.computed(()=>Yi[t.type.value]??""),a=e.computed(()=>[er,tr[t.type.value]??""].filter(e=>!!e).join(" ")),l=e.computed(()=>t.inline.value?t.icon.value||t.title.value?t.title.value?"grow ml-1":"grow ml-2":"":"my-2"),i=e.computed(()=>t.icon.value&&t.inline.value?["font-medium ml-2",t.inline.value?"":"text-lg"].filter(e=>!!e).join(" "):["font-medium",t.inline.value?"":"text-lg ml-2"].filter(e=>!!e).join(" "));return{alertClasses:n,textClasses:o,closeClasses:a,contentClasses:l,titleClasses:i}}(e.toRefs(n)),c=e.ref(!0),s=()=>{c.value=!1};return(n,d)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o)),role:"alert"},[e.createElementVNode("div",{class:e.normalizeClass(t.inline?"flex":"flex items-center")},[t.icon?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["flex-shrink-0","w-5","h-5",e.unref(a)]),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[...d[0]||(d[0]=[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"},null,-1)])],2)):e.createCommentVNode("",!0),t.title?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(r))},e.toDisplayString(t.title),3)):e.createCommentVNode("",!0),!t.inline&&t.closable?(e.openBlock(),e.createElementBlock("button",{key:2,type:"button",class:e.normalizeClass(e.unref(l)),"aria-label":"Close",onClick:s},[...d[1]||(d[1]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i))},[e.renderSlot(n.$slots,"default")],2),n.$slots.actions?(e.openBlock(),e.createElementBlock("div",nr,[e.renderSlot(n.$slots,"actions")])):e.createCommentVNode("",!0),t.inline&&t.closable?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:e.normalizeClass(e.unref(l)),"aria-label":"Close",onClick:s},[...d[2]||(d[2]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)])],2)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}}),ar=e.defineComponent({__name:"Amount",props:{value:{},highlighted:{type:Boolean,default:!1}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps(n.$attrs,{class:[{"font-semibold text-primary-600":t.highlighted},"inline-block"]}),e.toDisplayString(e.unref(Gl)(t.value)),17))}),lr={key:0,class:"text-xs font-normal text-gray-500"},ir=e.defineComponent({__name:"LabelContent",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{},optionalLabel:{}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(n.$attrs,{class:["block text-sm font-medium text-gray-900",{"sr-only":t.screenReaderOnly}]}),{default:e.withCtx(()=>{var o;return[e.renderSlot(n.$slots,"default"),t.required?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",lr," ("+e.toDisplayString((null==(o=t.i18n)?void 0:o.optionalLabel)??"optional")+") ",1))]}),_:3},16,["class"]))}),rr=Symbol("tooltip"),cr=Symbol("tooltip-dark-mode"),sr={key:0,class:"mb-1 px-3"},dr=e.defineComponent({__name:"Tooltip",props:{variant:{default:"default"},placement:{default:"bottom-end"},offset:{default:4},maxWidth:{default:"xs"},rootClass:{},title:{},isDarkMode:{type:Boolean}},setup(t){const n=t,o=e.ref(),a=e.ref(null),l=e.ref(!1),i=e.inject(rr),{floatingStyles:r}=It(o,a,{whileElementsMounted:Ct,placement:n.placement,middleware:[Et(n.offset),Tt()]});return e.provide(cr,n.isDarkMode),(n,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps(n.$attrs,{ref_key:"triggerRef",ref:o,class:"relative leading-none",onMouseenter:c[0]||(c[0]=e=>l.value=!0),onMouseleave:c[1]||(c[1]=e=>l.value=!1)}),[e.createElementVNode("span",{class:"absolute",style:e.normalizeStyle({inset:`-${t.offset}px`})},null,4),e.renderSlot(n.$slots,"default")],16),e.unref(i)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(i)},[l.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:a,style:e.normalizeStyle(e.unref(r)),class:e.normalizeClass(["z-70 border shadow-md",[t.rootClass,`max-w-${t.maxWidth}`,{"rounded border-gray-200 bg-white":!t.isDarkMode,"rounded border-gray-700 bg-gray-700":t.isDarkMode}]]),onMouseenter:c[2]||(c[2]=e=>l.value=!0),onMouseleave:c[3]||(c[3]=e=>l.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["rounded",{"border-gray-50 bg-gray-50":"outline"===t.variant&&!t.isDarkMode,"border-gray-600 bg-gray-600":"outline"===t.variant&&t.isDarkMode,"border-4":"outline"===t.variant&&!t.title,"border-2":"outline"===t.variant&&t.title,"pt-0":!!t.title}])},[t.title?(e.openBlock(),e.createElementBlock("div",sr,[e.createVNode(m,{variant:"caps-heading",shade:"lighter",class:e.normalizeClass({"!text-gray-100":t.isDarkMode}),"no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1},8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["rounded py-2",{"bg-white":"outline"===t.variant&&!t.isDarkMode,"bg-gray-700":"outline"===t.variant&&t.isDarkMode}])},[e.renderSlot(n.$slots,"tooltip")],2)],2)],38)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64))}}),ur={class:"mb-1 flex items-center justify-between"},pr={class:"flex items-center gap-1"},mr={key:0,class:"leading-none"},fr=e.defineComponent({inheritAttrs:!1,__name:"Label",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",ur,[e.createElementVNode("div",pr,[n.$slots.tooltip?(e.openBlock(),e.createBlock(dr,{key:0,variant:"outline",class:"flex items-center"},{default:e.withCtx(()=>{var o;return[e.createVNode(ir,e.mergeProps({...n.$props,...n.$attrs},{i18n:{optionalLabel:null==(o=t.i18n)?void 0:o.optionalLabel}}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["i18n"]),e.createVNode(y,{icon:"help",size:"2xs",class:"ml-1 rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"})]}),tooltip:e.withCtx(()=>[e.renderSlot(n.$slots,"tooltip")]),_:3})):(e.openBlock(),e.createBlock(ir,e.normalizeProps(e.mergeProps({key:1},{...n.$props,...n.$attrs})),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16))]),n.$slots.suffix?(e.openBlock(),e.createElementBlock("div",mr,[e.renderSlot(n.$slots,"suffix")])):e.createCommentVNode("",!0)]))}),hr={class:"flex items-center pt-1"},vr={class:"px-1.5 text-xs font-semibold text-gray-500"};const gr=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("div",hr,[n[0]||(n[0]=e.createElementVNode("div",{class:"w-2 border-t"},null,-1)),e.createElementVNode("span",vr,[e.renderSlot(t.$slots,"default")]),n[1]||(n[1]=e.createElementVNode("div",{class:"grow border-t"},null,-1))])}]]),br=e=>`input-${e}`,yr=["aria-selected","aria-disabled","data-testid","onKeydown"],xr=["id","value","checked","disabled"],kr=["for"],_r={class:"flex items-center gap-1"},wr={class:"flex flex-grow flex-col"},Br={class:"flex flex-grow gap-2"},Cr={class:"flex flex-grow flex-col"},Er={class:"flex flex-grow items-center gap-2"},Nr=e.defineComponent({__name:"SearchSelectInputOption",props:{multiple:{type:Boolean},search:{},condensed:{type:Boolean},label:{},checked:{type:Boolean},disabled:{type:Boolean},subLabel:{},labelPrefixComponent:{},labelSuffixComponent:{},labelInlineComponent:{},value:{},labelSrOnly:{type:Boolean}},emits:["value-changed"],setup(n,{emit:o}){const a=o,l=n,r=e=>{const t=e.target,n={value:t.value,checked:t.checked};a("value-changed",n)},c=()=>{l.multiple||l.disabled||a("value-changed",{value:l.value})},s=e.computed(()=>`checkbox-item-${l.value}`),d=e.computed(()=>t(l.search??""));return(o,a)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":n.checked,"aria-disabled":n.disabled,class:e.normalizeClass([{"hover:bg-gray-100":!n.disabled},"relative flex"]),"data-testid":s.value,tabindex:"0",onClick:c,onKeydown:e.withKeys(e.withModifiers(c,["prevent"]),["enter"])},[n.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(o.$attrs,{id:s.value,ref:"inputRef",value:n.value,checked:n.checked,disabled:n.disabled,type:"checkbox",class:["absolute left-3.5 top-1/2 h-4 w-4 -translate-y-2 rounded border-gray-300 bg-gray-100 focus:ring-2 focus:ring-primary-500",n.disabled?"text-gray-400 placeholder-gray-500":"text-primary-600"],tabindex:"-1",onChange:r}),null,16,xr),e.createElementVNode("label",{for:s.value,class:e.normalizeClass([n.disabled?"text-gray-400":"rounded text-gray-900","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",_r,[n.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},n.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",wr,[e.createElementVNode("div",Br,[e.createVNode(i,{text:n.label,search:d.value,class:e.normalizeClass(["font-semibold",{"sr-only":n.labelSrOnly}])},null,8,["text","search","class"]),n.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},n.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),n.subLabel&&n.condensed?(e.openBlock(),e.createBlock(i,{key:1,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),n.subLabel&&!n.condensed?(e.openBlock(),e.createBlock(i,{key:0,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),n.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},n.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,kr)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex w-full items-center gap-3 px-4 text-sm font-medium",[n.condensed?"p-2":"py-3",n.disabled??"cursor-not-allowed",!n.disabled&&"cursor-pointer"]])},[n.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},n.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Cr,[e.createElementVNode("div",Er,[e.createVNode(i,{text:n.label,search:e.unref(t)(n.search??""),class:e.normalizeClass(["font-semibold",{"text-gray-400":n.disabled}])},null,8,["text","search","class"]),n.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},n.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),n.subLabel&&n.condensed?(e.openBlock(),e.createBlock(i,{key:1,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),n.subLabel&&!n.condensed?(e.openBlock(),e.createBlock(i,{key:0,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),n.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},n.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)],2))],42,yr))}}),Tr={class:"flex flex-col rounded-bl rounded-br"},Mr={key:0,class:"px-5 py-5 text-sm text-slate-400"},Vr={key:0},Sr=["innerHTML"],zr={key:0},Pr={class:"mt-1 px-3 py-2 text-sm text-slate-600"},Dr=e.defineComponent({__name:"SearchSelectInputOptions",props:{i18n:{},model:{},search:{},multiple:{type:Boolean},condensed:{type:Boolean},hasLargeDropdown:{type:Boolean},addOnly:{type:Boolean},options:{}},emits:["value-changed"],setup(n,{emit:o}){const a=o,l=n,i=e=>a("value-changed",e),r=e.computed(()=>{var e,n;const o=l.search?`<span class="font-bold">"${t(l.search)}"</span>`:"";return(null==(n=null==(e=l.i18n)?void 0:e.noResults)?void 0:n.call(e,o))??`No matches found for ${o}.`}),c=e.computed(()=>""===l.search),s=e.computed(()=>l.options.filter(e=>!e.hidden)),d=e.computed(()=>s.value.length>0),u=e.computed(()=>!d.value&&(!!c.value||!!r.value)),p=e.computed(()=>Qi(l.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{}));return(t,o)=>{var a,m;return e.openBlock(),e.createElementBlock("div",Tr,[u.value?(e.openBlock(),e.createElementBlock("div",Mr,[c.value?(e.openBlock(),e.createElementBlock("span",Vr,e.toDisplayString((null==(a=l.i18n)?void 0:a.noOptionsAvailable)??"No available options."),1)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.value},null,8,Sr))])):d.value?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["list-none overflow-y-auto text-gray-700",[n.hasLargeDropdown?"max-h-[19rem]":"max-h-48"]])},[n.addOnly?(e.openBlock(),e.createElementBlock("div",zr,[e.createElementVNode("p",Pr,e.toDisplayString((null==(m=n.i18n)?void 0:m.addOnly)??"You can only select currently unselected options."),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,({label:t,subLabel:o,value:a,checked:l,disabled:r,labelInlineComponent:c,labelSuffixComponent:s,labelSrOnly:d,labelPrefixComponent:u,searchValues:m})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[p.value[a]?(e.openBlock(),e.createBlock(gr,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value[a]),1)]),_:2},1024)):e.createCommentVNode("",!0),e.createVNode(Nr,{label:t,"sub-label":o,value:a,checked:l,disabled:r,search:m?"":n.search,multiple:n.multiple,condensed:n.condensed,"label-suffix-component":s,"label-prefix-component":u,"label-inline-component":c,"label-sr-only":d,onValueChanged:i},null,8,["label","sub-label","value","checked","disabled","search","multiple","condensed","label-suffix-component","label-prefix-component","label-inline-component","label-sr-only"])],64))),128))],2)):e.createCommentVNode("",!0),t.$slots["list-footer-content"]?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass({"border-t border-gray-200":d.value})},[e.renderSlot(t.$slots,"list-footer-content")],2)):e.createCommentVNode("",!0)])}}}),Ir=Symbol("search-select-input"),qr={class:"px-3"};const $r=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("div",qr,[e.renderSlot(t.$slots,"default")])}]]),Or=e.defineComponent({__name:"TooltipParagraph",setup(t){const n=e.inject(cr);return(t,o)=>(e.openBlock(),e.createBlock(e.unref(m),{tag:"p",variant:"body-xs",shade:"lighter",class:e.normalizeClass({"!text-gray-200":e.unref(n)})},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["class"]))}}),Hr=e.defineComponent({inheritAttrs:!1,__name:"IconButton",props:{tooltip:{},icon:{},type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{},preventDoubleClick:{type:Boolean}},setup(t){const n=t,o=e.useAttrs(),a=e.computed(()=>function(e,...t){const n=new Set(t.flat());return Object.fromEntries(Object.entries(e).filter(([e])=>!n.has(e)))}({...n,...o},"icon","tooltip"));return(n,o)=>t.tooltip?(e.openBlock(),e.createBlock(dr,{key:0},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(on,e.mergeProps(a.value,{"icon-prefix":t.icon,square:""}),null,16,["icon-prefix"])]),_:1})):(e.openBlock(),e.createBlock(on,e.mergeProps({key:1},a.value,{square:"","icon-prefix":t.icon}),null,16,["icon-prefix"]))}});function Ar(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ar(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}const Lr=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Zr="-",Rr=[],Fr=e=>{const t=jr(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return Gr(e);const n=e.split(Zr),o=""===n[0]&&n.length>1?1:0;return Ur(n,o,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=o[e],a=n[e];return t?a?((e,t)=>{const n=new Array(e.length+t.length);for(let o=0;o<e.length;o++)n[o]=e[o];for(let o=0;o<t.length;o++)n[e.length+o]=t[o];return n})(a,t):t:a||Rr}return n[e]||Rr}}},Ur=(e,t,n)=>{if(0===e.length-t)return n.classGroupId;const o=e[t],a=n.nextPart.get(o);if(a){const n=Ur(e,t+1,a);if(n)return n}const l=n.validators;if(null===l)return;const i=0===t?e.join(Zr):e.slice(t).join(Zr),r=l.length;for(let c=0;c<r;c++){const e=l[c];if(e.validator(i))return e.classGroupId}},Gr=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),o=t.slice(0,n);return o?"arbitrary.."+o:void 0})(),jr=e=>{const{theme:t,classGroups:n}=e;return Qr(n,t)},Qr=(e,t)=>{const n=Lr();for(const o in e){const a=e[o];Kr(a,n,o,t)}return n},Kr=(e,t,n,o)=>{const a=e.length;for(let l=0;l<a;l++){const a=e[l];Wr(a,t,n,o)}},Wr=(e,t,n,o)=>{"string"!=typeof e?"function"!=typeof e?Jr(e,t,n,o):Xr(e,t,n,o):Yr(e,t,n)},Yr=(e,t,n)=>{(""===e?t:ec(t,e)).classGroupId=n},Xr=(e,t,n,o)=>{tc(e)?Kr(e(o),t,n,o):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},Jr=(e,t,n,o)=>{const a=Object.entries(e),l=a.length;for(let i=0;i<l;i++){const[e,l]=a[i];Kr(l,ec(t,e),n,o)}},ec=(e,t)=>{let n=e;const o=t.split(Zr),a=o.length;for(let l=0;l<a;l++){const e=o[l];let t=n.nextPart.get(e);t||(t=Lr(),n.nextPart.set(e,t)),n=t}return n},tc=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,nc=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),o=Object.create(null);const a=(a,l)=>{n[a]=l,t++,t>e&&(t=0,o=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=o[e])?(a(e,t),t):void 0},set(e,t){e in n?n[e]=t:a(e,t)}}},oc=[],ac=(e,t,n,o,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:a}),lc=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,a=0,l=0;const i=e.length;for(let d=0;d<i;d++){const i=e[d];if(0===o&&0===a){if(":"===i){t.push(e.slice(l,d)),l=d+1;continue}if("/"===i){n=d;continue}}"["===i?o++:"]"===i?o--:"("===i?a++:")"===i&&a--}const r=0===t.length?e:e.slice(l);let c=r,s=!1;r.endsWith("!")?(c=r.slice(0,-1),s=!0):r.startsWith("!")&&(c=r.slice(1),s=!0);return ac(t,s,c,n&&n>l?n-l:void 0)};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.slice(e.length)):ac(oc,!1,t,void 0,!0)}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},ic=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let o=[];for(let a=0;a<e.length;a++){const l=e[a],i="["===l[0],r=t.has(l);i||r?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(l)):o.push(l)}return o.length>0&&(o.sort(),n.push(...o)),n}},rc=/\s+/,cc=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=cc(e[o]))&&(n&&(n+=" "),n+=t);return n},sc=[],dc=e=>{const t=t=>t[e]||sc;return t.isThemeGetter=!0,t},uc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,pc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,mc=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,fc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hc=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,gc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yc=e=>mc.test(e),xc=e=>!!e&&!Number.isNaN(Number(e)),kc=e=>!!e&&Number.isInteger(Number(e)),_c=e=>e.endsWith("%")&&xc(e.slice(0,-1)),wc=e=>fc.test(e),Bc=()=>!0,Cc=e=>hc.test(e)&&!vc.test(e),Ec=()=>!1,Nc=e=>gc.test(e),Tc=e=>bc.test(e),Mc=e=>!Sc(e)&&!Hc(e),Vc=e=>jc(e,Yc,Ec),Sc=e=>uc.test(e),zc=e=>jc(e,Xc,Cc),Pc=e=>jc(e,Jc,xc),Dc=e=>jc(e,ts,Bc),Ic=e=>jc(e,es,Ec),qc=e=>jc(e,Kc,Ec),$c=e=>jc(e,Wc,Tc),Oc=e=>jc(e,ns,Nc),Hc=e=>pc.test(e),Ac=e=>Qc(e,Xc),Lc=e=>Qc(e,es),Zc=e=>Qc(e,Kc),Rc=e=>Qc(e,Yc),Fc=e=>Qc(e,Wc),Uc=e=>Qc(e,ns,!0),Gc=e=>Qc(e,ts,!0),jc=(e,t,n)=>{const o=uc.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},Qc=(e,t,n=!1)=>{const o=pc.exec(e);return!!o&&(o[1]?t(o[1]):n)},Kc=e=>"position"===e||"percentage"===e,Wc=e=>"image"===e||"url"===e,Yc=e=>"length"===e||"size"===e||"bg-size"===e,Xc=e=>"length"===e,Jc=e=>"number"===e,es=e=>"family-name"===e,ts=e=>"number"===e||"weight"===e,ns=e=>"shadow"===e,os=((e,...t)=>{let n,o,a,l;const i=e=>{const t=o(e);if(t)return t;const l=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:a,sortModifiers:l}=t,i=[],r=e.trim().split(rc);let c="";for(let s=r.length-1;s>=0;s-=1){const e=r[s],{isExternal:t,modifiers:d,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:m}=n(e);if(t){c=e+(c.length>0?" "+c:c);continue}let f=!!m,h=o(f?p.substring(0,m):p);if(!h){if(!f){c=e+(c.length>0?" "+c:c);continue}if(h=o(p),!h){c=e+(c.length>0?" "+c:c);continue}f=!1}const v=0===d.length?"":1===d.length?d[0]:l(d).join(":"),g=u?v+"!":v,b=g+h;if(i.indexOf(b)>-1)continue;i.push(b);const y=a(h,f);for(let n=0;n<y.length;++n){const e=y[n];i.push(g+e)}c=e+(c.length>0?" "+c:c)}return c})(e,n);return a(e,l),l};return l=r=>{const c=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:nc(e.cacheSize),parseClassName:lc(e),sortModifiers:ic(e),...Fr(e)}))(c),o=n.cache.get,a=n.cache.set,l=i,i(r)},(...e)=>l(((...e)=>{let t,n,o=0,a="";for(;o<e.length;)(t=e[o++])&&(n=cc(t))&&(a&&(a+=" "),a+=n);return a})(...e))})(()=>{const e=dc("color"),t=dc("font"),n=dc("text"),o=dc("font-weight"),a=dc("tracking"),l=dc("leading"),i=dc("breakpoint"),r=dc("container"),c=dc("spacing"),s=dc("radius"),d=dc("shadow"),u=dc("inset-shadow"),p=dc("text-shadow"),m=dc("drop-shadow"),f=dc("blur"),h=dc("perspective"),v=dc("aspect"),g=dc("ease"),b=dc("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Hc,Sc],x=()=>[Hc,Sc,c],k=()=>[yc,"full","auto",...x()],_=()=>[kc,"none","subgrid",Hc,Sc],w=()=>["auto",{span:["full",kc,Hc,Sc]},kc,Hc,Sc],B=()=>[kc,"auto",Hc,Sc],C=()=>["auto","min","max","fr",Hc,Sc],E=()=>["auto",...x()],N=()=>[yc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[yc,"screen","full","dvw","lvw","svw","min","max","fit",...x()],M=()=>[yc,"screen","full","lh","dvh","lvh","svh","min","max","fit",...x()],V=()=>[e,Hc,Sc],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Zc,qc,{position:[Hc,Sc]}],z=()=>["auto","cover","contain",Rc,Vc,{size:[Hc,Sc]}],P=()=>[_c,Ac,zc],D=()=>["","none","full",s,Hc,Sc],I=()=>["",xc,Ac,zc],q=()=>[xc,_c,Zc,qc],$=()=>["","none",f,Hc,Sc],O=()=>["none",xc,Hc,Sc],H=()=>["none",xc,Hc,Sc],A=()=>[xc,Hc,Sc],L=()=>[yc,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[wc],breakpoint:[wc],color:[Bc],container:[wc],"drop-shadow":[wc],ease:["in","out","in-out"],font:[Mc],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[wc],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[wc],shadow:[wc],spacing:["px",xc],text:[wc],"text-shadow":[wc],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",yc,Sc,Hc,v]}],container:["container"],columns:[{columns:[xc,Sc,Hc,r]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[kc,"auto",Hc,Sc]}],basis:[{basis:[yc,"full","auto",r,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xc,yc,"auto","initial","none",Sc]}],grow:[{grow:["",xc,Hc,Sc]}],shrink:[{shrink:["",xc,Hc,Sc]}],order:[{order:[kc,"first","last","none",Hc,Sc]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pbs:[{pbs:x()}],pbe:[{pbe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],"inline-size":[{inline:["auto",...T()]}],"min-inline-size":[{"min-inline":["auto",...T()]}],"max-inline-size":[{"max-inline":["none",...T()]}],"block-size":[{block:["auto",...M()]}],"min-block-size":[{"min-block":["auto",...M()]}],"max-block-size":[{"max-block":["none",...M()]}],w:[{w:[r,"screen",...N()]}],"min-w":[{"min-w":[r,"screen","none",...N()]}],"max-w":[{"max-w":[r,"screen","none","prose",{screen:[i]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",n,Ac,zc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Gc,Dc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",_c,Sc]}],"font-family":[{font:[Lc,Ic,t]}],"font-features":[{"font-features":[Sc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,Hc,Sc]}],"line-clamp":[{"line-clamp":[xc,"none",Hc,Pc]}],leading:[{leading:[l,...x()]}],"list-image":[{"list-image":["none",Hc,Sc]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Hc,Sc]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[xc,"from-font","auto",Hc,zc]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[xc,"auto",Hc,Sc]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Hc,Sc]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Hc,Sc]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},kc,Hc,Sc],radial:["",Hc,Sc],conic:[kc,Hc,Sc]},Fc,$c]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-bs":[{"border-bs":I()}],"border-w-be":[{"border-be":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":I()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[xc,Hc,Sc]}],"outline-w":[{outline:["",xc,Ac,zc]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",d,Uc,Oc]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",u,Uc,Oc]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[xc,zc]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",p,Uc,Oc]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[xc,Hc,Sc]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[xc]}],"mask-image-linear-from-pos":[{"mask-linear-from":q()}],"mask-image-linear-to-pos":[{"mask-linear-to":q()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":q()}],"mask-image-t-to-pos":[{"mask-t-to":q()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":q()}],"mask-image-r-to-pos":[{"mask-r-to":q()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":q()}],"mask-image-b-to-pos":[{"mask-b-to":q()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":q()}],"mask-image-l-to-pos":[{"mask-l-to":q()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":q()}],"mask-image-x-to-pos":[{"mask-x-to":q()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":q()}],"mask-image-y-to-pos":[{"mask-y-to":q()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[Hc,Sc]}],"mask-image-radial-from-pos":[{"mask-radial-from":q()}],"mask-image-radial-to-pos":[{"mask-radial-to":q()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[xc]}],"mask-image-conic-from-pos":[{"mask-conic-from":q()}],"mask-image-conic-to-pos":[{"mask-conic-to":q()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Hc,Sc]}],filter:[{filter:["","none",Hc,Sc]}],blur:[{blur:$()}],brightness:[{brightness:[xc,Hc,Sc]}],contrast:[{contrast:[xc,Hc,Sc]}],"drop-shadow":[{"drop-shadow":["","none",m,Uc,Oc]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",xc,Hc,Sc]}],"hue-rotate":[{"hue-rotate":[xc,Hc,Sc]}],invert:[{invert:["",xc,Hc,Sc]}],saturate:[{saturate:[xc,Hc,Sc]}],sepia:[{sepia:["",xc,Hc,Sc]}],"backdrop-filter":[{"backdrop-filter":["","none",Hc,Sc]}],"backdrop-blur":[{"backdrop-blur":$()}],"backdrop-brightness":[{"backdrop-brightness":[xc,Hc,Sc]}],"backdrop-contrast":[{"backdrop-contrast":[xc,Hc,Sc]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xc,Hc,Sc]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xc,Hc,Sc]}],"backdrop-invert":[{"backdrop-invert":["",xc,Hc,Sc]}],"backdrop-opacity":[{"backdrop-opacity":[xc,Hc,Sc]}],"backdrop-saturate":[{"backdrop-saturate":[xc,Hc,Sc]}],"backdrop-sepia":[{"backdrop-sepia":["",xc,Hc,Sc]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Hc,Sc]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xc,"initial",Hc,Sc]}],ease:[{ease:["linear","initial",g,Hc,Sc]}],delay:[{delay:[xc,Hc,Sc]}],animate:[{animate:["none",b,Hc,Sc]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Hc,Sc]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:O()}],"rotate-x":[{"rotate-x":O()}],"rotate-y":[{"rotate-y":O()}],"rotate-z":[{"rotate-z":O()}],scale:[{scale:H()}],"scale-x":[{"scale-x":H()}],"scale-y":[{"scale-y":H()}],"scale-z":[{"scale-z":H()}],"scale-3d":["scale-3d"],skew:[{skew:A()}],"skew-x":[{"skew-x":A()}],"skew-y":[{"skew-y":A()}],transform:[{transform:[Hc,Sc,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:L()}],"translate-x":[{"translate-x":L()}],"translate-y":[{"translate-y":L()}],"translate-z":[{"translate-z":L()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Hc,Sc]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mbs":[{"scroll-mbs":x()}],"scroll-mbe":[{"scroll-mbe":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pbs":[{"scroll-pbs":x()}],"scroll-pbe":[{"scroll-pbe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Hc,Sc]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[xc,Ac,zc,Pc]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function as(...e){return os(function(){for(var e,t,n=0,o="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ar(e))&&(o&&(o+=" "),o+=t);return o}(e))}const ls={sm:"h-7",md:"h-10",lg:"h-12",xl:"h-16"};const is=["data-testid"],rs={class:"relative"},cs={class:"relative grow"},ss=["id","disabled","type","value","name","form","placeholder","autocomplete"],ds=["id","value","disabled","type","name","form","placeholder","autocomplete"],us={key:1,class:"mt-2 text-sm text-gray-500"},ps=e.defineComponent({__name:"Input",props:e.mergeModels({label:{default:""},labelScreenReaderOnly:{type:Boolean},disabled:{type:Boolean,default:!1},type:{default:"text"},asTextType:{type:Boolean,default:!1},size:{default:"md"},prefixClass:{},suffixClass:{},wrapperClass:{default:""},inputClass:{},rootClass:{default:""},required:{type:Boolean,default:!1},id:{},checked:{type:Boolean},value:{},hasShadow:{type:Boolean,default:!1},hasFocusStyles:{type:Boolean,default:!0},form:{},ring:{type:Boolean,default:!0},error:{},name:{},prefixHasBorder:{type:Boolean,default:!0},placeholder:{},autocomplete:{}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(t){const o=t,a=e.useModel(t,"modelValue"),l="number"===o.type&&o.asTextType,i=o.name??Ki("name"),c=e=>{l&&(a.value=e.target.value)},s=o.id??Ki(`${i}-`),d=e=>{if("number"===o.type){e.target.blur()}},{wrapperClasses:u,inputClasses:p,labelClasses:m,prefixClasses:f,suffixClasses:h}=function({size:t,disabled:n,labelScreenReaderOnly:o,ring:a,hasShadow:l,hasFocusStyles:i,type:r,prefixHasBorder:c,wrapperClass:s,inputClass:d,prefixClass:u,suffixClass:p,isMultiline:m}){const f=e.computed(()=>(null==n?void 0:n.value)??!1),h=e.computed(()=>"checkbox"===(null==r?void 0:r.value)),v=e.computed(()=>!1!==(null==i?void 0:i.value)),g=e.computed(()=>({"block text-sm font-medium text-gray-900":!0,"sr-only":null==o?void 0:o.value})),b=e.computed(()=>({"rounded border border-gray-300 overflow-hidden":!0,"cursor-not-allowed bg-gray-50 border-transparent":f.value,"bg-white":!f.value,"focus-within:border-primary-500 focus-within:outline-1 focus-within:outline focus-within:outline-primary-500":v.value,"focus-within:ring-primary-500":null==a?void 0:a.value,"shadow-sm focus-within:shadow-sm":null==l?void 0:l.value})),y=e.computed(()=>({"text-gray-900 block w-full border-0 focus:border-transparent focus:outline-0 focus:ring-0 bg-transparent":!0,"text-xs":"sm"===t.value,"text-sm":"sm"!==t.value,"p-2":h.value,"px-2":!h.value&&"sm"===t.value,"px-4":!h.value&&"sm"!==t.value,[ls[t.value]]:!h.value&&!(null==m?void 0:m.value),"cursor-default":f.value})),x=e.computed(()=>({"z-10 flex shrink-0 items-center":!0,"px-3":null==c?void 0:c.value,"pl-3":!(null==c?void 0:c.value),"border-r border-gray-300":null==c?void 0:c.value,"border-none":!(null==c?void 0:c.value)})),k=e.computed(()=>({"align-end z-10 flex shrink-0 items-center gap-2 border-l border-gray-300 px-2":!0,"px-1":"sm"===t.value,"px-2":"md"===t.value,"px-3":"lg"===t.value}));return{wrapperClasses:e.computed(()=>as(b.value,null==s?void 0:s.value)),inputClasses:e.computed(()=>as(y.value,null==d?void 0:d.value)),prefixClasses:e.computed(()=>as(x.value,null==u?void 0:u.value)),suffixClasses:e.computed(()=>as(k.value,null==p?void 0:p.value)),labelClasses:g}}(e.toRefs(o)),v=e.ref(),g=e=>{var t;const n=e.target;(null==n?void 0:n.closest("button, a, input, select, textarea"))||null==(t=v.value)||t.focus()};return(o,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(t.rootClass),"data-testid":e.unref(br)(e.unref(i))},[t.label?(e.openBlock(),e.createBlock(fr,{key:0,class:e.normalizeClass(e.unref(m)),for:e.unref(s),required:t.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label)+" ",1)]),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0]),1032,["class","for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",rs,[e.createElementVNode("div",{class:e.normalizeClass(["flex",e.unref(u)])},[o.$slots.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(f))},[e.renderSlot(o.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",cs,[e.unref(l)?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0},o.$attrs,{id:e.unref(s),ref_key:"inputElRef",ref:v,disabled:t.disabled,type:t.type,class:e.unref(p),value:a.value,name:e.unref(i),form:t.form,placeholder:t.placeholder,autocomplete:t.autocomplete??"off",onKeyup:c,onChange:c,onBlur:b[0]||(b[0]=e=>o.$emit("blur")),onWheel:d}),null,16,ss)):e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},o.$attrs,{id:e.unref(s),ref_key:"inputElRef",ref:v,"onUpdate:modelValue":b[1]||(b[1]=e=>a.value=e),value:"checkbox"===t.type?t.value:a.value,disabled:t.disabled,type:t.type,name:e.unref(i),form:t.form,class:e.unref(p),placeholder:t.placeholder,autocomplete:t.autocomplete??"off",onBlur:b[2]||(b[2]=e=>o.$emit("blur")),onWheel:d}),null,16,ds)),[[e.vModelDynamic,a.value]]),e.renderSlot(o.$slots,"input")]),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(h)),onClick:g},[e.renderSlot(o.$slots,"suffix")],2)):e.createCommentVNode("",!0)],2),e.renderSlot(o.$slots,"adornment-end")]),!e.unref(n)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",us,[e.unref(n)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{},void 0,void 0,1):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(r,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],10,is))}}),ms={class:"flex flex-col gap-2"},fs=["aria-expanded"],hs={class:"flex items-center gap-2"},vs={key:0},gs={class:"flex items-center gap-2"},bs={key:0,class:"flex flex-wrap gap-2"},ys=["innerHTML"],xs=e.defineComponent({__name:"SearchSelectInput",props:e.mergeModels({addOnly:{type:Boolean,default:!1},disabled:{type:Boolean},i18n:{},label:{},labelScreenReaderOnly:{type:Boolean},singleModelValue:{},multiModelValue:{},options:{default:()=>[]},optionsOrder:{default:()=>["asc","asc"]},optionsOrderProperties:{default:()=>["group","label"]},required:{type:Boolean,default:!1},rootClass:{},wrapperClass:{},size:{default:"md"},withChips:{type:Boolean,default:!1},chipColor:{},error:{},hasReset:{type:Boolean},name:{},hasLargeDropdown:{type:Boolean,default:!1},showSuffixInClosedInput:{type:Boolean},showSuffixLabelInInput:{type:Boolean},condensed:{type:Boolean},form:{}},{search:{default:""},searchModifiers:{}}),emits:e.mergeModels(["update:singleModelValue","update:multiModelValue","blur","change","focus","add-option"],["update:search"]),setup(o,{expose:l,emit:i}){var r;const c=o,s=e.inject(Ir),d=null==(r=e.getCurrentInstance())?void 0:r.vnode.props,u=!(null==d?void 0:d["onUpdate:search"]),p=e.computed(()=>Array.isArray(c.multiModelValue)),m=e.ref(c.singleModelValue),f=i,h=re(c,"singleModelValue",f),v=re(c,"multiModelValue",f),g=e.ref(v.value??[]);e.watch(()=>c.multiModelValue,e=>{e&&(g.value=e)});const b=e.useModel(o,"search"),x=e.computed({get:()=>p.value?g.value??[]:"string"==typeof h.value?[h.value]:[],set(e){p.value?g.value=e:h.value=(null==e?void 0:e[0])??""}}),k=e.computed(()=>A.value.filter(e=>{var t;return null==(t=x.value)?void 0:t.includes(e.value)})),_=e.computed(()=>k.value[0]),w=gl(),B=e.ref(!1),C=e.ref(),E=e.ref(),N=e.ref(),T=()=>C.value?Array.from(C.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],M=()=>{var e;let t=document.activeElement;for(;null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t},V=()=>{if(!E.value)return null;let e=E.value.querySelector("input");if(e)return e;const t=E.value.querySelectorAll("*");for(const n of t)if(n.shadowRoot&&(e=n.shadowRoot.querySelector("input"),e))return e;return null};let S=!1;const z=()=>{var e;S=!0,null==(e=V())||e.focus(),S=!1},P=()=>{S||(B.value=!0)},I=e=>{var t;if(!B.value)return;const n=T(),o=V();if(M()===o)switch(e.key){case"ArrowDown":n.length>0&&(e.preventDefault(),null==(t=n[0])||t.focus());break;case"Tab":W(),b.value="";break;case"Escape":e.preventDefault(),W(),b.value=""}},q=e=>{var t,n,o;const a=T(),l=M(),i=a.indexOf(l),r=V();switch(e.key){case"ArrowDown":i<a.length-1&&(e.preventDefault(),null==(t=a[i+1])||t.focus());break;case"ArrowUp":e.preventDefault(),i<=0?null==r||r.focus():null==(n=a[i-1])||n.focus();break;case"Tab":if(e.preventDefault(),e.shiftKey&&i>0){null==(o=a[i-1])||o.focus();break}W(),b.value="",z();break;case"Escape":e.preventDefault(),W(),b.value="",z()}},{floatingStyles:$}=It(E,C,{whileElementsMounted:Ct,placement:"bottom",middleware:[Et(4),Tt({mainAxis:!0}),Nt({padding:8}),Mt({padding:8,apply({availableHeight:e,elements:t}){Object.assign(t.floating.style,{maxHeight:`${e}px`})}})]}),{width:O}=ee(E),H=e=>{var t;return c.disabled||!c.disabled&&c.addOnly&&!!(null==(t=m.value)?void 0:t.includes(e))},A=e.computed(()=>{const e=c.options.map(e=>({...e,checked:x.value.includes(e.value),disabled:e.disabled??H(e.value)})),t=[...e,...0===b.value.length&&F.value?F.value.filter(t=>!e.some(e=>e.value===t.value)):[]];return c.optionsOrderProperties&&!n(c.optionsOrderProperties)?function(e,t,n=[]){return[...e].sort((e,o)=>{for(let a=0;a<t.length;a++){const l=t[a],i="function"==typeof l?l:e=>e[l],r="desc"===n[a]?-1:1,c=i(e),s=i(o);if(null!=c||null!=s){if(null==c)return r;if(null==s)return-r;if(c<s)return-r;if(c>s)return r}}return 0})}(t,c.optionsOrderProperties,c.optionsOrder):t}),L=e=>A.value.filter(t=>e.some(e=>t.value===e)),Z=e.computed(()=>L(x.value)),R=e.computed(()=>Z.value[0]),F=e.ref([]),U=({value:e,checked:t})=>{let n;p.value?n=t?[...x.value,e]:x.value.filter(t=>t!==e):(n=[e],B.value=!1,b.value="",z()),F.value=L(n),x.value=n,f("change")},G=e.computed(()=>x.value.length>0&&!c.disabled&&!(1===x.value.length&&""===x.value[0])),j=()=>{x.value=[],g.value=[]},Q=()=>{b.value=""},K=e.computed(()=>u?A.value.filter(e=>{const n=t(b.value.toLowerCase());return e.searchValues?e.searchValues.some(e=>e.toLowerCase().match(n)):(e.label??"").toLowerCase().match(n)}):A.value),W=()=>{p.value&&(v.value=g.value),B.value=!1},Y=()=>{var e;B.value?(W(),b.value=""):(B.value=!0,null==(e=V())||e.focus())};e.watch(g,()=>{B.value||a(v.value,g.value)||!p.value||(v.value=g.value)});D("mousedown",e=>{const t=e.composedPath();C.value&&t.includes(C.value)||E.value&&t.includes(E.value)||B.value&&(W(),b.value="")});const X=e.computed(()=>{var e,t,n,o,a,l;return p.value&&B.value?(null==(e=c.i18n)?void 0:e.placeholderSearch)??"Search":p.value&&1===Z.value.length?null==(t=R.value)?void 0:t.label:p.value&&Z.value.length>=2?`${null==(n=R.value)?void 0:n.label} +${Z.value.length-1}`:h.value||R.value?B.value?(null==(a=c.i18n)?void 0:a.placeholderSearch)??"Search":c.singleModelValue||R.value?null==(l=A.value.find(e=>{var t;return e.value===(null==(t=_.value)?void 0:t.value)}))?void 0:l.label:"":(null==(o=c.i18n)?void 0:o.placeholderDefault)??"Select an option"}),J=e.computed(()=>""===b.value),te=!!(null==d?void 0:d.onAddOption),ne=()=>{f("add-option"),W()},oe=e.computed(()=>{var e;return!B.value&&!p.value&&(null==(e=R.value)?void 0:e.labelPrefixComponent)}),ae=`search-select-options-${Math.random().toString(36).substring(2,9)}`;return l({flushMemoryCachedSelectedOptions:()=>F.value=[],close:W}),(t,a)=>{var l,i,r;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",ms,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:E,class:e.normalizeClass(["relative flex items-end",{[`${o.rootClass}`]:o.rootClass,"z-30":B.value}]),role:"combobox","aria-expanded":B.value,"aria-haspopup":!0,"aria-controls":ae,onKeydown:I},[e.createVNode(e.unref(ps),{ref_key:"inputRef",ref:N,modelValue:b.value,"onUpdate:modelValue":a[2]||(a[2]=e=>b.value=e),required:o.required,label:o.label,name:o.name,form:o.form,"label-screen-reader-only":o.labelScreenReaderOnly,placeholder:X.value,class:e.normalizeClass(["grow",{"placeholder:text-gray-900":!B.value&&(!p.value&&e.unref(h)||p.value&&!e.unref(n)(o.multiModelValue))}]),"wrapper-class":[o.wrapperClass,{"border-transparent border border-b-gray-200 focus-within:border-b relative z-10 rounded-b-none":B.value}],"suffix-class":"border-l-0 pl-0",disabled:o.disabled,size:o.size,error:o.error,"prefix-has-border":!oe.value,"aria-autocomplete":"list",onFocus:P,onBlur:a[3]||(a[3]=e=>t.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(t.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var t,n;return[e.createElementVNode("div",gs,[B.value||p.value||!(null==(t=R.value)?void 0:t.labelInlineComponent)||o.showSuffixInClosedInput&&!o.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(R.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},R.value.labelInlineComponent.props)),null,16)),!B.value&&!p.value&&(null==(n=R.value)?void 0:n.labelSuffixComponent)&&o.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(R.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},R.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),G.value&&o.hasReset?(e.openBlock(),e.createBlock(Hr,{key:2,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onMousedown:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"])),onClick:j})):e.createCommentVNode("",!0),J.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Hr,{key:3,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onClick:Q})),e.createVNode(Hr,{icon:B.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"sm",variant:"ghost",color:"gray",type:"button",onMousedown:a[1]||(a[1]=e.withModifiers(()=>{},["prevent"])),onClick:Y},null,8,["icon"])])]}),_:2},[t.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip")]),key:"0"}:void 0,oe.value||!u?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",hs,[oe.value&&(null==(t=R.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",vs,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(R.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps(R.value.labelPrefixComponent.props)),null,16))])):u?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(y,{key:1,icon:"search",size:"sm"}))])]}),key:"1"}:void 0,t.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"helper")]),key:"2"}:void 0]),1032,["modelValue","required","label","name","form","label-screen-reader-only","placeholder","wrapper-class","class","disabled","size","error","prefix-has-border"])],42,fs),o.withChips?(e.openBlock(),e.createElementBlock("div",bs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Z.value,({value:t,label:n})=>(e.openBlock(),e.createBlock(pn,{key:t,removable:!H(t),color:o.chipColor,onRemoved:e=>U({value:t,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:n},null,8,ys)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0)]),e.unref(w)&&e.unref(s)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(s)},[B.value&&!o.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:ae,ref_key:"optionsRef",ref:C,role:"listbox",style:e.normalizeStyle(e.unref($)),class:"z-70 overflow-y-auto rounded border border-gray-200 bg-white drop-shadow-md",onMouseenter:a[4]||(a[4]=e=>B.value=!0),onKeydown:q},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(O)}px`})},[e.createVNode(Dr,{i18n:{addOnly:null==(l=o.i18n)?void 0:l.addOnly,noResults:null==(i=o.i18n)?void 0:i.noResults,noOptionsAvailable:null==(r=o.i18n)?void 0:r.noOptionsAvailable},options:K.value,multiple:p.value,search:b.value,model:x.value,"add-only":o.addOnly,"allows-multiple-values":!!p.value,condensed:o.condensed,"has-large-dropdown":o.hasLargeDropdown,onValueChanged:U},{"list-footer-content":e.withCtx(()=>[te?(e.openBlock(),e.createBlock(on,{key:0,variant:"ghost",class:"w-full rounded-t-none",type:"button","icon-prefix":"add",onClick:ne},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=o.i18n)?void 0:t.addOption),1)]}),_:1})):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex items-center justify-between",{"py-2":!t.$slots["list-footer-content"]}])},[G.value?(e.openBlock(),e.createBlock(on,{key:0,type:"button",color:"gray",variant:"ghost",size:"sm",class:"ml-2",onClick:j},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((null==(t=o.i18n)?void 0:t.multipleValuesClearButtonText)??"Clear"),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(t.$slots,"list-footer-content",{close:W})]),e.createVNode(on,{type:"button",color:"gray",variant:"outline",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:W},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((null==(t=o.i18n)?void 0:t.multipleValuesDoneButtonText)??"Done"),1)]}),_:1},8,["data-testid"])],2)):e.renderSlot(t.$slots,"list-footer-content",{close:W},void 0,void 0,2)]),_:3},8,["i18n","options","multiple","search","model","add-only","allows-multiple-values","condensed","has-large-dropdown"])],4)],36)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64)}}}),ks=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"},icon:{}},setup(t){const n=t,o={xs:"w-4 h-4",sm:"w-5 h-5",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-12 h-12"},a={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},l=(t=>{const n=e.ref();return e.watch(()=>t,()=>{n.value=(e=>{let t=0;for(let o=0;o<e.length;o++)t=e.charCodeAt(o)+((t<<5)-t);let n="#";for(let o=0;o<3;o++)n+=("00"+(t>>8*o&255).toString(16)).substr(-2);return n})(t)},{immediate:!0}),n})(n.colorHash??n.initials??"A"),i=e.computed(()=>n.imageSrc?{backgroundImage:`url(${n.imageSrc})`}:void 0);return(r,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative flex shrink-0 items-center justify-center overflow-hidden rounded bg-primary-300 bg-cover",{[o[n.size]]:!0,"rounded-full":t.round,"border border-black border-opacity-5":"dark"===t.variant}]),style:e.normalizeStyle(i.value)},[!t.initials||t.imageSrc||t.icon?t.icon?(e.openBlock(),e.createBlock(e.unref(y),{key:1,icon:t.icon,class:"z-10 text-white"},null,8,["icon"])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-regular z-10 text-2xl font-semibold",{[a[n.size]]:!0,"font-regular":"icon"===t.font,"font-inter drop-shadow-sm":"regular"===t.font,"text-white/70":"light"===t.variant,"text-black/10":"dark"===t.variant}])},e.toDisplayString(t.initials.toUpperCase()),3)),e.createElementVNode("div",{class:"pointer-events-none absolute inset-0 opacity-20",style:e.normalizeStyle({backgroundColor:e.unref(l)})},null,4)],6))}}),_s=e.defineComponent({__name:"Backdrop",props:{blurred:{type:Boolean,default:!1},color:{default:"gray"},zIndex:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["fixed inset-0",{"bg-white/90 backdrop-blur":t.blurred&&"white"===t.color,"bg-white/80":!t.blurred&&"white"===t.color,"bg-gray-200/90 backdrop-blur":t.blurred&&"gray"===t.color,"bg-gray-200/80":!t.blurred&&"gray"===t.color}]),style:e.normalizeStyle({zIndex:t.zIndex})},[e.renderSlot(n.$slots,"default")],6))});function ws(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bs,Cs,Es,Ns,Ts,Ms,Vs,Ss;function zs(){if(Ns)return Es;Ns=1;const e=Cs?Bs:(Cs=1,Bs={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),t={};for(const a of Object.keys(e))t[e[a]]=a;const n={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Es=n;for(const a of Object.keys(n)){if(!("channels"in n[a]))throw new Error("missing channels property: "+a);if(!("labels"in n[a]))throw new Error("missing channel labels property: "+a);if(n[a].labels.length!==n[a].channels)throw new Error("channel and label counts mismatch: "+a);const{channels:e,labels:t}=n[a];delete n[a].channels,delete n[a].labels,Object.defineProperty(n[a],"channels",{value:e}),Object.defineProperty(n[a],"labels",{value:t})}function o(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}return n.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,o=e[2]/255,a=Math.min(t,n,o),l=Math.max(t,n,o),i=l-a;let r,c;l===a?r=0:t===l?r=(n-o)/i:n===l?r=2+(o-t)/i:o===l&&(r=4+(t-n)/i),r=Math.min(60*r,360),r<0&&(r+=360);const s=(a+l)/2;return c=l===a?0:s<=.5?i/(l+a):i/(2-l-a),[r,100*c,100*s]},n.rgb.hsv=function(e){let t,n,o,a,l;const i=e[0]/255,r=e[1]/255,c=e[2]/255,s=Math.max(i,r,c),d=s-Math.min(i,r,c),u=function(e){return(s-e)/6/d+.5};return 0===d?(a=0,l=0):(l=d/s,t=u(i),n=u(r),o=u(c),i===s?a=o-n:r===s?a=1/3+t-o:c===s&&(a=2/3+n-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*l,100*s]},n.rgb.hwb=function(e){const t=e[0],o=e[1];let a=e[2];const l=n.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(o,a));return a=1-1/255*Math.max(t,Math.max(o,a)),[l,100*i,100*a]},n.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,o=e[2]/255,a=Math.min(1-t,1-n,1-o);return[100*((1-t-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-o-a)/(1-a)||0),100*a]},n.rgb.keyword=function(n){const a=t[n];if(a)return a;let l,i=1/0;for(const t of Object.keys(e)){const a=o(n,e[t]);a<i&&(i=a,l=t)}return l},n.keyword.rgb=function(t){return e[t]},n.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,o=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;return[100*(.4124*t+.3576*n+.1805*o),100*(.2126*t+.7152*n+.0722*o),100*(.0193*t+.1192*n+.9505*o)]},n.rgb.lab=function(e){const t=n.rgb.xyz(e);let o=t[0],a=t[1],l=t[2];o/=95.047,a/=100,l/=108.883,o=o>.008856?o**(1/3):7.787*o+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;return[116*a-16,500*(o-a),200*(a-l)]},n.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,o=e[2]/100;let a,l,i;if(0===n)return i=255*o,[i,i,i];a=o<.5?o*(1+n):o+n-o*n;const r=2*o-a,c=[0,0,0];for(let s=0;s<3;s++)l=t+1/3*-(s-1),l<0&&l++,l>1&&l--,i=6*l<1?r+6*(a-r)*l:2*l<1?a:3*l<2?r+(a-r)*(2/3-l)*6:r,c[s]=255*i;return c},n.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,o=e[2]/100,a=n;const l=Math.max(o,.01);o*=2,n*=o<=1?o:2-o,a*=l<=1?l:2-l;return[t,100*(0===o?2*a/(l+a):2*n/(o+n)),100*((o+n)/2)]},n.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let o=e[2]/100;const a=Math.floor(t)%6,l=t-Math.floor(t),i=255*o*(1-n),r=255*o*(1-n*l),c=255*o*(1-n*(1-l));switch(o*=255,a){case 0:return[o,c,i];case 1:return[r,o,i];case 2:return[i,o,c];case 3:return[i,r,o];case 4:return[c,i,o];case 5:return[o,i,r]}},n.hsv.hsl=function(e){const t=e[0],n=e[1]/100,o=e[2]/100,a=Math.max(o,.01);let l,i;i=(2-n)*o;const r=(2-n)*a;return l=n*a,l/=r<=1?r:2-r,l=l||0,i/=2,[t,100*l,100*i]},n.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,o=e[2]/100;const a=n+o;let l;a>1&&(n/=a,o/=a);const i=Math.floor(6*t),r=1-o;l=6*t-i,1&i&&(l=1-l);const c=n+l*(r-n);let s,d,u;switch(i){default:case 6:case 0:s=r,d=c,u=n;break;case 1:s=c,d=r,u=n;break;case 2:s=n,d=r,u=c;break;case 3:s=n,d=c,u=r;break;case 4:s=c,d=n,u=r;break;case 5:s=r,d=n,u=c}return[255*s,255*d,255*u]},n.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,o=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,o*(1-a)+a))]},n.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,o=e[2]/100;let a,l,i;return a=3.2406*t+-1.5372*n+-.4986*o,l=-.9689*t+1.8758*n+.0415*o,i=.0557*t+-.204*n+1.057*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,l=l>.0031308?1.055*l**(1/2.4)-.055:12.92*l,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,a=Math.min(Math.max(0,a),1),l=Math.min(Math.max(0,l),1),i=Math.min(Math.max(0,i),1),[255*a,255*l,255*i]},n.xyz.lab=function(e){let t=e[0],n=e[1],o=e[2];t/=95.047,n/=100,o/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(t-n),200*(n-o)]},n.lab.xyz=function(e){let t,n,o;n=(e[0]+16)/116,t=e[1]/500+n,o=n-e[2]/200;const a=n**3,l=t**3,i=o**3;return n=a>.008856?a:(n-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,t*=95.047,n*=100,o*=108.883,[t,n,o]},n.lab.lch=function(e){const t=e[0],n=e[1],o=e[2];let a;a=360*Math.atan2(o,n)/2/Math.PI,a<0&&(a+=360);return[t,Math.sqrt(n*n+o*o),a]},n.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI;return[t,n*Math.cos(o),n*Math.sin(o)]},n.rgb.ansi16=function(e,t=null){const[o,a,l]=e;let i=null===t?n.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let r=30+(Math.round(l/255)<<2|Math.round(a/255)<<1|Math.round(o/255));return 2===i&&(r+=60),r},n.hsv.ansi16=function(e){return n.rgb.ansi16(n.hsv.rgb(e),e[2])},n.rgb.ansi256=function(e){const t=e[0],n=e[1],o=e[2];if(t===n&&n===o)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},n.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},n.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},n.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},n.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},n.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,o=e[2]/255,a=Math.max(Math.max(t,n),o),l=Math.min(Math.min(t,n),o),i=a-l;let r,c;return r=i<1?l/(1-i):0,c=i<=0?0:a===t?(n-o)/i%6:a===n?2+(o-t)/i:4+(t-n)/i,c/=6,c%=1,[360*c,100*i,100*r]},n.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,o=n<.5?2*t*n:2*t*(1-n);let a=0;return o<1&&(a=(n-.5*o)/(1-o)),[e[0],100*o,100*a]},n.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,o=t*n;let a=0;return o<1&&(a=(n-o)/(1-o)),[e[0],100*o,100*a]},n.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,o=e[2]/100;if(0===n)return[255*o,255*o,255*o];const a=[0,0,0],l=t%1*6,i=l%1,r=1-i;let c=0;switch(Math.floor(l)){case 0:a[0]=1,a[1]=i,a[2]=0;break;case 1:a[0]=r,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=i;break;case 3:a[0]=0,a[1]=r,a[2]=1;break;case 4:a[0]=i,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=r}return c=(1-n)*o,[255*(n*a[0]+c),255*(n*a[1]+c),255*(n*a[2]+c)]},n.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let o=0;return n>0&&(o=t/n),[e[0],100*o,100*n]},n.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],100*o,100*n]},n.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},n.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,o=n-t;let a=0;return o<1&&(a=(n-o)/(1-o)),[e[0],100*o,100*a]},n.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},n.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},n.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},n.gray.hsl=function(e){return[0,0,e[0]]},n.gray.hsv=n.gray.hsl,n.gray.hwb=function(e){return[0,100,e[0]]},n.gray.cmyk=function(e){return[0,0,0,e[0]]},n.gray.lab=function(e){return[e[0],0,0]},n.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},n.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]},Es}function Ps(){if(Ms)return Ts;Ms=1;const e=zs();function t(t){const n=function(){const t={},n=Object.keys(e);for(let e=n.length,o=0;o<e;o++)t[n[o]]={distance:-1,parent:null};return t}(),o=[t];for(n[t].distance=0;o.length;){const t=o.pop(),a=Object.keys(e[t]);for(let e=a.length,l=0;l<e;l++){const e=a[l],i=n[e];-1===i.distance&&(i.distance=n[t].distance+1,i.parent=t,o.unshift(e))}}return n}function n(e,t){return function(n){return t(e(n))}}function o(t,o){const a=[o[t].parent,t];let l=e[o[t].parent][t],i=o[t].parent;for(;o[i].parent;)a.unshift(o[i].parent),l=n(e[o[i].parent][i],l),i=o[i].parent;return l.conversion=a,l}return Ts=function(e){const n=t(e),a={},l=Object.keys(n);for(let t=l.length,i=0;i<t;i++){const e=l[i];null!==n[e].parent&&(a[e]=o(e,n))}return a}}const Ds=ws(function(){if(Ss)return Vs;Ss=1;const e=zs(),t=Ps(),n={};return Object.keys(e).forEach(o=>{n[o]={},Object.defineProperty(n[o],"channels",{value:e[o].channels}),Object.defineProperty(n[o],"labels",{value:e[o].labels});const a=t(o);Object.keys(a).forEach(e=>{const t=a[e];n[o][e]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const o=e(t);if("object"==typeof o)for(let e=o.length,a=0;a<e;a++)o[a]=Math.round(o[a]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}(t),n[o][e].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(t)})}),Vs=n}()),Is=[180,300,60],qs=[360,240,120,0];function $s(e,t,n){const o=e.sort((e,n)=>Math.abs(e-t)-Math.abs(n-t))[0]-t;return Math.round(n*o*.5)}function Os(e){const t=function(e){const t=e.replace("#","");return`#${3===t.length?t.replace(/(.)/g,"$1$1"):t.padEnd(6,"0")}`}(e),n={500:t},o={50:.95,100:.9,200:.75,300:.6,400:.3,600:.9,700:.75,800:.6,900:.45,950:.29};return[50,100,200,300,400].forEach(e=>{n[e]=function(e,t){if(!e)return"";const[n,o,a]=Ds.hex.hsv(e),l=n+$s(Is,n,t),i=o-Math.round(o*t),r=a+Math.round((100-a)*t);return`#${Ds.hsv.hex([l,i,r])}`}(t,o[e])}),[600,700,800,900,950].forEach(e=>{n[e]=function(e,t){if(!e)return"";const n=1-t,[o,a,l]=Ds.hex.hsv(e),i=o+$s(qs,o,n),r=a+Math.round((100-a)*n),c=l-Math.round(l*n);return`#${Ds.hsv.hex([i,r,c])}`}(t,o[e])}),n}const Hs=e.defineComponent({__name:"BrandProvider",props:{primaryColor:{default:"#000000"},secondaryColor:{default:"#444444"},isShadowRoot:{type:Boolean,default:!1}},setup(t){const n=t,o=e.computed(()=>Os(n.primaryColor)),a=e.computed(()=>Os(n.secondaryColor)),l=e.computed(()=>n.isShadowRoot?":host":":root");return(t,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent("style"),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value)+" { --color-primary-50: "+e.toDisplayString(o.value[50])+"; --color-primary-100: "+e.toDisplayString(o.value[100])+"; --color-primary-200: "+e.toDisplayString(o.value[200])+"; --color-primary-300: "+e.toDisplayString(o.value[300])+"; --color-primary-400: "+e.toDisplayString(o.value[400])+"; --color-primary-500: "+e.toDisplayString(o.value[500])+"; --color-primary-600: "+e.toDisplayString(o.value[600])+"; --color-primary-700: "+e.toDisplayString(o.value[700])+"; --color-primary-800: "+e.toDisplayString(o.value[800])+"; --color-primary-900: "+e.toDisplayString(o.value[900])+" --color-secondary-50: "+e.toDisplayString(a.value[50])+"; --color-secondary-100: "+e.toDisplayString(a.value[100])+"; --color-secondary-200: "+e.toDisplayString(a.value[200])+"; --color-secondary-300: "+e.toDisplayString(a.value[300])+"; --color-secondary-400: "+e.toDisplayString(a.value[400])+"; --color-secondary-500: "+e.toDisplayString(a.value[500])+"; --color-secondary-600: "+e.toDisplayString(a.value[600])+"; --color-secondary-700: "+e.toDisplayString(a.value[700])+"; --color-secondary-800: "+e.toDisplayString(a.value[800])+"; --color-secondary-900: "+e.toDisplayString(a.value[900])+" } ",1)]),_:1}))}}),As=e.defineComponent({__name:"CardContent",props:{spacing:{default:"md"}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"p-2":"xs"===t.spacing,"px-4 py-3":"sm"===t.spacing,"p-4":"md"===t.spacing,"px-8 py-6":"lg"===t.spacing})},[e.renderSlot(n.$slots,"default")],2))}),Ls={class:"expand__inner"},Zs=e.defineComponent({__name:"Expand",props:{isOpen:{type:Boolean},lazy:{type:Boolean,default:!1},unmountOnClose:{type:Boolean}},setup(t){const n=t,o=e.ref(n.isOpen||!n.lazy);let a=null;return e.watch(()=>n.isOpen,e=>{e&&!o.value&&null===a?a=requestAnimationFrame(()=>{a=null,o.value=!0}):!e&&n.unmountOnClose&&(null!==a&&(cancelAnimationFrame(a),a=null),o.value=!1)}),e.onBeforeUnmount(()=>{null!==a&&(cancelAnimationFrame(a),a=null)}),(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["expand",{"expand--open":t.isOpen}])},[e.createElementVNode("div",Ls,[o.value?e.renderSlot(n.$slots,"default",{},void 0,void 0,0):e.createCommentVNode("",!0)])],2))}}),Rs="w-6",Fs=e.defineComponent({__name:"CollapsibleList",props:{type:{default:"ordered"},hasAddButton:{type:Boolean},i18n:{}},emits:["add"],setup(t){const n=t,o=e.computed(()=>"ordered"===n.type?"ol":"ul");return(n,a)=>{var l;return e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),null,{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3})),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col items-center justify-center",e.unref(Rs)])},[t.hasAddButton?(e.openBlock(),e.createBlock(e.unref(on),{key:0,square:"","aria-label":(null==(l=t.i18n)?void 0:l.addButtonLabel)??"Add item",color:"gray",variant:"outline",size:"sm","icon-prefix":"add",onClick:a[0]||(a[0]=e=>n.$emit("add"))},null,8,["aria-label"])):e.createCommentVNode("",!0)],2)])}}}),Us=e.defineComponent({__name:"CombinedVolumeChip",props:{i18n:{},placement:{}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(dr,{offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(pn,{color:"dark"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.combinedVolume),1)]),_:1})]),tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.description),1)]),_:1})]),_:1})]),_:1},8,["placement"]))}),Gs=["innerHTML"],js=e.defineComponent({__name:"Comparator",props:{propertyName:{},comparator:{},value:{},values:{},hasFormatting:{type:Boolean,default:!0},i18n:{}},setup(t){const n=t,o=e.computed(()=>({propertyName:n.propertyName,comparator:n.comparator,value:n.value??"",values:n.values??[""]}));return(n,a)=>(e.openBlock(),e.createElementBlock("span",{class:"py-0.25 px-0.5",innerHTML:e.unref(pi)(t.i18n)(o.value,{hasFormatting:t.hasFormatting})},null,8,Gs))}}),Qs=e.defineComponent({__name:"Comparators",props:{comparators:{},expressionComparators:{},i18n:{},display:{default:"block"},rootClass:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.comparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.comparators,({meter_property:n,comparator:o,value:a,values:l},i)=>{var r,c;return e.openBlock(),e.createElementBlock("span",{key:null==n?void 0:n.id,class:e.normalizeClass({block:"block"===t.display,inline:"inline"===t.display})},[e.createVNode(js,{"property-name":(null==n?void 0:n.name)??(null==(r=t.i18n)?void 0:r.unknown)??"Unknown",comparator:o,value:a,values:l},null,8,["property-name","comparator","value","values"]),i<t.comparators.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString((null==(c=t.i18n)?void 0:c.and)??"and")+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0),t.expressionComparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.expressionComparators.operands,(n,o)=>{var a,l;return e.openBlock(),e.createElementBlock("span",{key:o,class:e.normalizeClass(["bg-primary-400/25 mr-1 rounded-sm px-2",t.rootClass])},[n.meter_property?(e.openBlock(),e.createBlock(js,{key:0,"property-name":(null==(a=n.meter_property.meter_property)?void 0:a.name)??(null==(l=t.i18n)?void 0:l.unknown)??"Unknown",comparator:n.meter_property.comparator,value:n.meter_property.value,values:n.meter_property.values},null,8,["property-name","comparator","value","values"])):e.createCommentVNode("",!0),n.expression?(e.openBlock(),e.createBlock(Qs,{key:1,"expression-comparators":n.expression,display:t.display,i18n:t.i18n,"root-class":t.rootClass},null,8,["expression-comparators","display","i18n","root-class"])):e.createCommentVNode("",!0),o<t.expressionComparators.operands.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(e.unref(jl)(t.expressionComparators.operator).toLocaleLowerCase())+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0)],64))}),Ks=e.defineComponent({__name:"CountrySelect",props:{label:{},singleModelValue:{},multiModelValue:{},error:{},required:{type:Boolean,default:!0},hasReset:{type:Boolean},disabled:{type:Boolean},name:{},form:{}},emits:["update:modelValue","update:singleModelValue"],setup(t,{emit:n}){const o=t,a=re(o,"singleModelValue"),l=re(o,"multiModelValue"),i=n;return(n,o)=>(e.openBlock(),e.createBlock(xs,{"multi-model-value":e.unref(l),"onUpdate:multiModelValue":o[0]||(o[0]=t=>e.isRef(l)?l.value=t:null),"single-model-value":e.unref(a),"onUpdate:singleModelValue":[o[1]||(o[1]=t=>e.isRef(a)?a.value=t:null),o[2]||(o[2]=e=>{i("update:modelValue",e)})],"root-class":n.$attrs.class,label:t.label,options:e.unref(ei).map(({key:e,value:t})=>({label:t,value:e})),error:t.error,"has-reset":t.hasReset,disabled:t.disabled,required:t.required,"with-chips":!!t.multiModelValue,name:t.name,form:t.form},{"label-suffix":e.withCtx(()=>[e.renderSlot(n.$slots,"label-suffix")]),_:3},8,["multi-model-value","single-model-value","root-class","label","options","error","has-reset","disabled","required","with-chips","name","form"]))}}),Ws={class:"flex items-center gap-4"},Ys={key:1},Xs=e.defineComponent({__name:"SectionTitle",setup:t=>(t,n)=>(e.openBlock(),e.createElementBlock("div",Ws,[t.$slots.default?(e.openBlock(),e.createBlock(e.unref(m),{key:0,tag:"h2",variant:"heading-3",class:"grow"},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3})):e.createCommentVNode("",!0),t.$slots.right?(e.openBlock(),e.createElementBlock("div",Ys,[e.renderSlot(t.$slots,"right")])):e.createCommentVNode("",!0)]))}),Js=e.defineComponent({__name:"Section",props:{contentClasses:{},contentBackground:{default:"gray"},title:{},noSpacing:{type:Boolean},hasError:{type:Boolean},noBorder:{type:Boolean,default:!1}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.title?"section":"div"),null,{default:e.withCtx(()=>[e.createVNode(Xs,null,e.createSlots({_:2},[t.title?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),key:"0"}:void 0,n.$slots.right?{name:"right",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"right")]),key:"1"}:void 0]),1024),e.createElementVNode("div",{class:e.normalizeClass({"rounded border":!t.noBorder,"p-3 py-2":!t.noSpacing,"bg-gray-50/50":"gray"===t.contentBackground,"mt-1 md:mt-2":!!t.title,[t.contentClasses??""]:!!t.contentClasses,"border-red-600":t.hasError,"border-gray-100":!t.hasError})},[e.renderSlot(n.$slots,"default")],2)]),_:3}))}),ed={key:0,class:"flex flex-col gap-2"},td={key:0},nd={key:1},od={key:2},ad={key:3},ld={key:1},id=e.defineComponent({__name:"CustomerBillingInformation",props:{customer:{},title:{},fallbackToReference:{type:Boolean,default:!0}},setup(t){const{$t:n}=Xa(),o=t,a=e.computed(()=>{if(!o.customer)return;const e=Ai(o.customer);return o.fallbackToReference&&""===e?o.customer.reference:o.fallbackToReference||""!==e?e:void 0}),l=e.computed(()=>o.title||n({defaultMessage:"Billing information",description:"Title for the billing information",id:"customer_billing_information.title"})),i=e.computed(()=>{if(o.customer)return"individual"in o.customer?o.customer.individual.residential_address:"organization"in o.customer?o.customer.organization.registered_address:void 0});return(o,r)=>(e.openBlock(),e.createBlock(Js,{title:l.value},{right:e.withCtx(()=>[e.renderSlot(o.$slots,"settings")]),default:e.withCtx(()=>{var o;return[t.customer?(e.openBlock(),e.createElementBlock("div",ed,[a.value?(e.openBlock(),e.createElementBlock("div",td,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Name",description:"The label for the customer name in the billing information",id:"customer_billing_information.name_label"})),1)]),_:1}),e.createVNode(m,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value),1)]),_:1})])):e.createCommentVNode("",!0),(null==(o=i.value)?void 0:o.line1)?(e.openBlock(),e.createElementBlock("div",nd,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Billing address",description:"The label for the customer billing address in the billing information",id:"customer_billing_information.billing_address_label"})),1)]),_:1}),e.createVNode(m,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref($i)(i.value)),1)]),_:1})])):e.createCommentVNode("",!0),t.customer.email?(e.openBlock(),e.createElementBlock("div",od,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Email address",description:"The label for the customer email address in the billing information",id:"customer_billing_information.email_address_label"})),1)]),_:1}),e.createVNode(m,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.customer.email),1)]),_:1})])):e.createCommentVNode("",!0),e.unref(Ni)(t.customer)?(e.openBlock(),e.createElementBlock("div",ad,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"VAT number",description:"The label for the customer Vat number in the billing information",id:"customer_billing_information.vat_number_label"})),1)]),_:1}),e.createVNode(m,{variant:"body-xs"},{default:e.withCtx(()=>{var n,o;return[e.createTextVNode(e.toDisplayString(null==(o=null==(n=t.customer.organization.tax_ids)?void 0:n[0])?void 0:o.id),1)]}),_:1})])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",ld,[e.createVNode(m,{variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"No billing information to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.billing_information.no_billing_information_available"})),1)]),_:1})]))]}),_:3},8,["title"]))}}),rd=e.defineComponent({__name:"DateTimeAgo",props:{date:{},actionVerb:{}},setup(t){const n=3600,o=t,{$t:a,formatDate:l}=Xa(),i=e.ref(Date.now());let r;e.onMounted(()=>{r=setInterval(()=>{i.value=Date.now()},3e4)}),e.onBeforeUnmount(()=>{clearInterval(r)});const c=e.computed(()=>{const e=Math.max(0,(i.value-o.date.getTime())/1e3);if(e<60)return a({defaultMessage:"{count, plural, one {# second} other {# seconds}} ago",id:"dateTimeAgo.seconds",description:"Relative time in whole seconds"},{count:Math.trunc(e)});if(e<n)return a({defaultMessage:"{count, plural, one {# minute} other {# minutes}} ago",id:"dateTimeAgo.minutes",description:"Relative time in whole minutes"},{count:Math.trunc(e/60)});if(e<86400)return a({defaultMessage:"{count, plural, one {# hour} other {# hours}} ago",id:"dateTimeAgo.hours",description:"Relative time in whole hours"},{count:Math.trunc(e/n)});const t=((e,t)=>{const n=12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth());return t.getDate()<e.getDate()?n-1:n})(o.date,new Date(i.value));if(t<1){const t=Math.trunc(e/86400);return 1===t?a({defaultMessage:"yesterday",id:"dateTimeAgo.yesterday",description:'Relative time for a single day ago, reading as "updated yesterday" once the action verb is in front'}):a({defaultMessage:"{count, plural, one {# day} other {# days}} ago",id:"dateTimeAgo.days",description:"Relative time in whole days"},{count:t})}return t<12?a({defaultMessage:"{count, plural, one {# month} other {# months}} ago",id:"dateTimeAgo.months",description:"Relative time in whole months"},{count:t}):a({defaultMessage:"{count, plural, one {# year} other {# years}} ago",id:"dateTimeAgo.years",description:"Relative time in whole years"},{count:Math.trunc(t/12)})}),s=e.computed(()=>o.actionVerb?`${o.actionVerb} ${c.value}`:c.value),d=e.computed(()=>l({date:o.date,format:"dateTime",offsetType:"local"}));return(t,n)=>(e.openBlock(),e.createBlock(dr,null,{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(s.value),1)]),_:1}))}}),cd=e.defineComponent({__name:"DeltaChip",props:{oldValue:{},newValue:{},color:{default:"dark"},content:{},dark:{type:Boolean},removable:{type:Boolean},size:{},variant:{},textClass:{},tag:{},hasChipBefore:{type:Boolean},hasChipAfter:{type:Boolean}},setup(t){const n=e.createPropsRestProxy(t,["oldValue","newValue","color"]),o=e.computed(()=>{const e=t.newValue-t.oldValue;return`${e>=0?"+":""}${e}`});return(a,l)=>(e.openBlock(),e.createBlock(e.unref(pn),e.mergeProps(n,{color:t.color,class:"pointer-events-none select-none"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},16,["color"]))}}),sd={key:1,class:"flex flex-col items-end gap-1"},dd=e.defineComponent({__name:"DownloadButton",props:{downloadService:{type:Function},mobileIconOnly:{type:Boolean,default:!1},type:{},variant:{default:"outline"},color:{default:"gray"},size:{default:"md"},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{},preventDoubleClick:{type:Boolean}},setup(t){const{$t:n}=Xa(),o=e.createPropsRestProxy(t,["downloadService","size","color","mobileIconOnly","variant"]),a=e.ref(!1),l=e.ref(!1),i=U(H).smaller("md"),c=e.computed(()=>t.mobileIconOnly&&i.value),s=async()=>{l.value=!0,a.value=!1;try{await t.downloadService()}catch{a.value=!0}finally{l.value=!1}};return(i,d)=>a.value?(e.openBlock(),e.createElementBlock("div",sd,[a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(on),e.mergeProps({key:0},{...o,size:t.size,color:t.color},{disabled:l.value,loading:l.value,type:"button","icon-prefix":"download",onClick:s}),e.createSlots({_:2},[i.$slots.default&&!c.value?{name:"default",fn:e.withCtx(()=>[i.$slots.default?e.renderSlot(i.$slots,"default",{},void 0,void 0,0):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading"])),a.value?(e.openBlock(),e.createBlock(e.unref(r),{key:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"download_button.download_failed_message",defaultMessage:"Download failed, please try again later",description:"Error message when a download fails"})),1)]),_:1})):e.createCommentVNode("",!0)])):(e.openBlock(),e.createBlock(e.unref(on),e.mergeProps({key:0},{...o,size:t.size,color:t.color},{disabled:l.value,loading:l.value,variant:t.variant,type:"button","icon-prefix":"download",onClick:s}),e.createSlots({_:2},[i.$slots.default&&!c.value?{name:"default",fn:e.withCtx(()=>[i.$slots.default?e.renderSlot(i.$slots,"default",{},void 0,void 0,0):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading","variant"]))}}),ud=["data-portal-target"],pd=e.defineComponent({__name:"PortalProvider",props:{name:{}},setup(t){const n=t,o=e.ref(null);return e.provide(an(n.name),o),(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"target",ref:o,"data-portal-target":n.name},null,8,ud)],64))}}),md=e.defineComponent({__name:"DropdownTeleportProvider",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(e.unref(pd),{name:e.unref(qt)},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["name"]))}),fd=e.defineComponent({__name:"ErrorHandlingProvider",props:{onError:{type:Function}},setup(t){const n=t;return e.provide(wn,n),(t,n)=>e.renderSlot(t.$slots,"default")}}),hd=e.defineComponent({__name:"ErrorNotification",props:{title:{},description:{}},setup(t){const{formatMessage:n}=Xa(),o=t,a=e.computed(()=>o.title??n({defaultMessage:"Something went wrong",id:"error_notification.default_error_message",description:"The default message to display"}));return(t,n)=>(e.openBlock(),e.createBlock(or,e.mergeProps({type:"danger",title:a.value},t.$attrs),null,16,["title"]))}}),vd=["aria-label","aria-expanded","disabled"],gd=e.defineComponent({__name:"ExpandController",props:{isCollapsible:{type:Boolean,default:!0},isExpanded:{type:Boolean,default:!1},iconPosition:{default:"before"},collapsedIcon:{default:"unfold_more"},expandedIcon:{default:"unfold_less"},iconSize:{default:"xs"},rootClass:{},ariaLabel:{},disabled:{type:Boolean,default:!1}},emits:["toggle"],setup(t,{emit:n}){const o=t,a=n,l=e.computed(()=>o.isExpanded?o.expandedIcon:o.collapsedIcon);return(n,o)=>t.isCollapsible?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(["flex cursor-pointer items-center disabled:cursor-not-allowed",t.rootClass]),"aria-label":t.ariaLabel,"aria-expanded":t.isExpanded,disabled:t.disabled,onClick:o[0]||(o[0]=e=>a("toggle"))},["before"===t.iconPosition?(e.openBlock(),e.createBlock(y,{key:0,icon:l.value,size:t.iconSize},null,8,["icon","size"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),"after"===t.iconPosition?(e.openBlock(),e.createBlock(y,{key:1,icon:l.value,size:t.iconSize},null,8,["icon","size"])):e.createCommentVNode("",!0)],10,vd)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(t.rootClass)},[e.renderSlot(n.$slots,"default")],2))}}),bd=e.defineComponent({__name:"ExpandWithHeader",props:{isCollapsible:{type:Boolean,default:!0},isExpanded:{type:Boolean,default:!1},headerClass:{},unmountOnClose:{type:Boolean}},emits:["toggle"],setup(t){const n=e.useSlots(),o=e.computed(()=>!!n.default&&!zi(n.default()));return(n,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(gd,{"is-collapsible":t.isCollapsible,"is-expanded":t.isExpanded,"root-class":"w-full",onToggle:a[0]||(a[0]=e=>n.$emit("toggle"))},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["w-full",t.headerClass])},[e.renderSlot(n.$slots,"header")],2)]),_:3},8,["is-collapsible","is-expanded"]),o.value?(e.openBlock(),e.createBlock(Zs,{key:0,"is-open":!t.isCollapsible||t.isExpanded,lazy:"","unmount-on-close":t.unmountOnClose},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["is-open","unmount-on-close"])):e.createCommentVNode("",!0)]))}});function yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function xd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yd(Object(n),!0).forEach(function(t){kd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _d(e){return"function"==typeof e}function wd(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function Bd(e){return _d(e.$validator)?xd({},e):{$validator:e}}function Cd(e){return"object"==typeof e?e.$valid:e}function Ed(e){return e.$validator||e}const Nd=t=>{if(t=e.unref(t),Array.isArray(t))return!!t.length;if(null==t)return!1;if(!1===t)return!0;if(t instanceof Date)return!isNaN(t.getTime());if("object"==typeof t){for(let e in t)return!0;return!1}return!!String(t).length};function Td(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return t=>(t=e.unref(t),!Nd(t)||n.every(e=>(e.lastIndex=0,e.test(t))))}var Md=Object.freeze({__proto__:null,forEach:function(t){return{$validator(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];return e.unref(n).reduce((e,n,o)=>{const l=Object.entries(n).reduce((e,l)=>{let[i,r]=l;const c=t[i]||{},s=Object.entries(c).reduce((e,t)=>{let[l,c]=t;const s=Ed(c).call(this,r,n,o,...a),d=Cd(s);if(e.$data[l]=s,e.$data.$invalid=!d||!!e.$data.$invalid,e.$data.$error=e.$data.$invalid,!d){let t=c.$message||"";const n=c.$params||{};"function"==typeof t&&(t=t({$pending:!1,$invalid:!d,$params:n,$model:r,$response:s})),e.$errors.push({$property:i,$message:t,$params:n,$response:s,$model:r,$pending:!1,$validator:l})}return{$valid:e.$valid&&d,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:[]});return e.$data[i]=s.$data,e.$errors[i]=s.$errors,{$valid:e.$valid&&s.$valid,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:e.$valid&&l.$valid,$data:e.$data.concat(l.$data),$errors:e.$errors.concat(l.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:e=>{let{$response:t}=e;return t?t.$errors.map(e=>Object.values(e).map(e=>e.map(e=>e.$message)).reduce((e,t)=>e.concat(t),[])):[]}}},len:t=>(t=e.unref(t),Array.isArray(t)?t.length:"object"==typeof t?Object.keys(t).length:String(t).length),normalizeValidatorObject:Bd,regex:Td,req:Nd,unwrap:e.unref,unwrapNormalizedValidator:Ed,unwrapValidatorResponse:Cd,withAsync:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return xd(xd({},Bd(e)),{},{$async:!0,$watchTargets:t})},withMessage:function(t,n){if(!_d(t)&&"string"!=typeof e.unref(t))throw new Error('[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided '+typeof t);if(!wd(n)&&!_d(n))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const o=Bd(n);return o.$message=t,o},withParams:function(e,t){if(!wd(e))throw new Error('[@vuelidate/validators]: First parameter to "withParams" should be an object, provided '+typeof e);if(!wd(t)&&!_d(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=Bd(t);return n.$params=xd(xd({},n.$params||{}),e),n}});Td(/^[a-zA-Z]*$/),Td(/^[a-zA-Z0-9]*$/),Td(/^\d*(\.\d+)?$/);Td(/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i);Td(/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i),Td(/(^[0-9]*$)|(^-[0-9]+$)/),Td(/^[-]?\d*(\.\d+)?$/);const Vd=["innerHTML"],Sd=e.defineComponent({__name:"IconSpriteProvider",setup(t){const n=e.ref(null);return e.onMounted(async()=>{n.value=await fetch("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='account_balance'%3e%3cpath%20d='M212-241v-339h60v339h-60Zm242%200v-339h60v339h-60ZM80-121v-60h800v60H80Zm608-120v-339h60v339h-60ZM80-640v-53l400-228%20400%20228v53H80Zm134-60h532-532Zm0%200h532L480-852%20214-700Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='account_balance_wallet'%3e%3cpath%20d='M180-233v53-600%20547Zm0%20113q-24.75%200-42.37-17.63Q120-155.25%20120-180v-600q0-24.75%2017.63-42.38Q155.25-840%20180-840h600q24.75%200%2042.38%2017.62Q840-804.75%20840-780v134h-60v-134H180v600h600v-133h60v133q0%2024.75-17.62%2042.37Q804.75-120%20780-120H180Zm358-173q-30.52%200-52.26-21.44Q464-335.89%20464-366v-227q0-30.11%2021.74-51.56Q507.48-666%20538-666h270q30.53%200%2052.26%2021.44Q882-623.11%20882-593v227q0%2030.11-21.74%2051.56Q838.53-293%20808-293H538Zm284-60v-253H524v253h298Zm-169.76-63q26.76%200%2045.26-18.96Q716-453.92%20716-481q0-26.25-19-44.63Q678-544%20652-544t-45%2018.37q-19%2018.38-19%2044.63%200%2027.08%2018.74%2046.04Q625.47-416%20652.24-416Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='add'%3e%3cpath%20d='M450-450H200v-60h250v-250h60v250h250v60H510v250h-60v-250Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='add_circle'%3e%3cpath%20d='M453-280h60v-166h167v-60H513v-174h-60v174H280v60h173v166Zm27.27%20200q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='alternate_email'%3e%3cpath%20d='M480-80q-83%200-156-31.5T197-197q-54-54-85.5-127T80-480q0-83%2031.5-156T197-763q54-54%20127-85.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480v53q0%2056-39.34%2094.5Q801.31-294%20744-294q-36.08%200-68.04-17.5Q644-329%20627-361q-26%2034-65.08%2050.5Q522.83-294%20480-294q-77.61%200-132.3-54Q293-402%20293-480.01q0-78.02%2054.7-133Q402.39-668%20480-668q77.6%200%20132.3%2054.99Q667-558.02%20667-480v53q0%2030.61%2022.5%2051.81Q712-354%20743.5-354t54-21.19Q820-396.39%20820-427v-53q0-142.38-98.81-241.19T480-820q-142.37%200-241.19%2098.81Q140-622.38%20140-480q0%20142.37%2098.81%20241.19Q337.63-140%20480-140h214v60H480Zm.06-274Q533-354%20570-390.75T607-480q0-54-37.06-91t-90-37Q427-608%20390-571t-37%2091q0%2052.5%2037.06%2089.25t90%2036.75Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_back'%3e%3cpath%20d='m274-450%20248%20248-42%2042-320-320%20320-320%2042%2042-248%20248h526v60H274Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_cool_down'%3e%3cpath%20d='M480-80%20200-360l42-42%20208%20208v-306h60v306l208-208%2042%2042L480-80Zm-30-480v-140h60v140h-60Zm0-200v-120h60v120h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_forward'%3e%3cpath%20d='M686-450H160v-60h526L438-758l42-42%20320%20320-320%20320-42-42%20248-248Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_outward'%3e%3cpath%20d='m242-246-42-42%20412-412H234v-60h480v480h-60v-378L242-246Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='arrow_right_alt'%3e%3cpath%20d='m560-242-43-42%20168-168H160v-60h525L516-681l43-42%20241%20241-240%20240Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='article'%3e%3cpath%20d='M277-279h275v-60H277v60Zm0-171h406v-60H277v60Zm0-171h406v-60H277v60Zm-97%20501q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='automation'%3e%3cpath%20d='M283-272q-40%2034-83.5%2030.5T124-272q-32-27-42.5-69.5T98-429l82-137q-27-21-43-52.63-16-31.64-16-68.37%200-63.53%2045.24-108.76Q211.48-841%20275-841t108.76%2045.24Q429-750.53%20429-687q0%2063.53-45.24%20108.76Q338.52-533%20275-533q-10.8%200-21.6-1.5T233-539l-84%20141q-14%2023-8.82%2045.11%205.17%2022.1%2022%2036Q179-303%20201.5-301.5T244-317l433-372q40-34%2084-31t76%2030q32%2027%2042.5%2070T863-532l-81%20137q27%2021%2043%2052.63%2016%2031.64%2016%2068.37%200%2063.52-45.54%20108.76Q749.91-120%20685.96-120%20622-120%20577.5-165.24%20533-210.48%20533-274t44.5-108.76Q622-428%20686-428q10.73%200%2020.87%201%2010.13%201%2020.13%204l84-140q14-23%208.82-45.11-5.17-22.1-22-36Q781-658%20758.5-659.5T716-644L283-272Zm-7.84-321q38.84%200%2066.34-27.66t27.5-66.5q0-38.84-27.66-66.34t-66.5-27.5q-38.84%200-66.34%2027.66t-27.5%2066.5q0%2038.84%2027.66%2066.34t66.5%2027.5Zm410.97%20413q39.14%200%2067-27.66Q781-235.32%20781-274.16t-27.87-66.34q-27.86-27.5-67-27.5Q647-368%20620-340.34q-27%2027.66-27%2066.5t27%2066.34q27%2027.5%2066.13%2027.5ZM275-687Zm412%20413Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='barcode'%3e%3cpath%20d='M40-200v-560h85v560H40Zm120%200v-560h80v560h-80Zm120%200v-560h40v560h-40Zm120%200v-560h80v560h-80Zm120%200v-560h120v560H520Zm160%200v-560h40v560h-40Zm120%200v-560h120v560H800Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='barcode_scanner'%3e%3cpath%20d='M40-120v-182h60v122h122v60H40Zm697%200v-60h122v-122h60v182H737ZM153-231v-499h80v499h-80Zm121%200v-499h42v499h-42Zm122%200v-499h83v499h-83Zm125%200v-499h121v499H521Zm163%200v-499h42v499h-42Zm83%200v-499h38v499h-38ZM40-658v-182h182v60H100v122H40Zm819%200v-122H737v-60h182v182h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='cached'%3e%3cpath%20d='M481-158q-131%200-225.5-94.5T161-478v-45l-80%2080-39-39%20149-149%20149%20149-39%2039-80-80v45q0%20107%2076.5%20183.5T481-218q29%200%2055-5t49-15l43%2043q-36%2020-72.5%2028.5T481-158Zm289-169L621-476l40-40%2079%2079v-41q0-107-76.5-183.5T480-738q-29%200-55%205.5T376-719l-43-43q36-20%2072.5-28t74.5-8q131%200%20225.5%2094.5T800-478v43l80-80%2039%2039-149%20149Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='calculate'%3e%3cpath%20d='M314-228h50v-88h88v-50h-88v-88h-50v88h-88v50h88v88Zm215-35h201v-49H529v49Zm0-107h201v-50H529v50Zm37-163%2061-61%2061%2061%2036-36-61-61%2061-61-36-36-61%2061-61-61-36%2036%2061%2061-61%2061%2036%2036Zm-325-72h196v-50H241v50Zm-61%20485q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='calendar_today'%3e%3cpath%20d='M180-80q-24%200-42-18t-18-42v-620q0-24%2018-42t42-18h65v-60h65v60h340v-60h65v60h65q24%200%2042%2018t18%2042v620q0%2024-18%2042t-42%2018H180Zm0-60h600v-430H180v430Zm0-490h600v-130H180v130Zm0%200v-130%20130Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='cancel'%3e%3cpath%20d='m330-288%20150-150%20150%20150%2042-42-150-150%20150-150-42-42-150%20150-150-150-42%2042%20150%20150-150%20150%2042%2042ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='captive_portal'%3e%3cpath%20d='M838-79%20710-207v103h-60v-206h206v60H752l128%20128-42%2043Zm-358-1q-83%200-156-31.5T197-197q-54-54-85.5-126.36T80-478q0-83.49%2031.5-156.93Q143-708.36%20197-762.68%20251-817%20324-848.5%20397-880%20480-880t156%2031.5q73%2031.5%20127%2085.82%2054%2054.32%2085.5%20127.75Q880-561.49%20880-478q0%2023-2%2044.5t-7%2043.5h-63q6-21.67%209-43.33%203-21.67%203-44.47%200-22.8-2.95-45.6-2.94-22.8-8.83-45.6H648q2%2023%204%2045.5t2%2045q0%2022.5-1.25%2044.5T649-390h-61q3-22%204.5-44t1.5-44q0-22.75-1.5-45.5T588-569H373.42q-3.42%2023-4.92%2045.5t-1.5%2045q0%2022.5%201.5%2044.5t4.5%2044h197v60H384q14%2053%2034%20104t62%2086q23%200%2045-2.5t45-7.5v60q-23%205-45%207.5T480-80ZM151.78-390H312q-2.5-22-3.75-44T307-478q0-22.75%201-45.5t3-45.5H151.71q-5.85%2022.8-8.78%2045.6-2.93%2022.8-2.93%2045.6t2.95%2044.47q2.94%2021.66%208.83%2043.33ZM172-629h149.59q11.41-48%2028.91-93.5T395-810q-71%2024-129.5%2069.5T172-629Zm222%20478q-26-41-43.5-86T323-330H172q33%2067%2091%20114t131%2065Zm-10-478h193q-13-54-36-104t-61-89q-38%2040-61%2089.5T384-629Zm255.34%200H788q-35-66-93-112t-129-68q27%2041%2044.5%2086.5t28.84%2093.5Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='category'%3e%3cpath%20d='m261-526%20220-354%20220%20354H261ZM706-80q-74%200-124-50t-50-124q0-74%2050-124t124-50q74%200%20124%2050t50%20124q0%2074-50%20124T706-80Zm-586-25v-304h304v304H120Zm586.08-35Q754-140%20787-173.08q33-33.09%2033-81Q820-302%20786.92-335q-33.09-33-81-33Q658-368%20625-334.92q-33%2033.09-33%2081Q592-206%20625.08-173q33.09%2033%2081%2033ZM180-165h184v-184H180v184Zm189-421h224L481-767%20369-586Zm112%200ZM364-349Zm342%2095Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='change_circle'%3e%3cpath%20d='m482-200%20114-113-114-113-42%2042%2043%2043q-28%201-54.5-9T381-381q-20-20-30.5-46T340-479q0-17%204.5-34t12.5-33l-44-44q-17%2025-25%2053t-8%2057q0%2038%2015%2075t44%2066q29%2029%2065%2043.5t74%2015.5l-38%2038%2042%2042Zm165-170q17-25%2025-53t8-57q0-38-14.5-75.5T622-622q-29-29-65.5-43T482-679l38-39-42-42-114%20113%20114%20113%2042-42-44-44q27%200%2055%2010.5t48%2030.5q20%2020%2030.5%2046t10.5%2052q0%2017-4.5%2034T603-414l44%2044ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check'%3e%3cpath%20d='M378-246%20154-470l43-43%20181%20181%20384-384%2043%2043-427%20427Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check_circle'%3e%3cpath%20d='m421-298%20283-283-46-45-237%20237-120-120-45%2045%20165%20166Zm59%20218q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='check_small'%3e%3cpath%20d='M400-318%20247-471l42-42%20111%20111%20271-271%2042%2042-313%20313Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='checkbook'%3e%3cpath%20d='M237-363h335l60-60H237v60Zm0-178h231v-60H237v60Zm-97-159v439h330l-61%2061H80v-560h800v149h-60v-89H140Zm775%20220q5%205%205%2012.5t-5%2012.5l-37%2037-50-50%2039-39q5-5%2010.5-5t10.5%205l27%2027ZM530-120v-50l272-272%2050%2050-272%20272h-50ZM140-700v439-439Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='checklist'%3e%3cpath%20d='M222-214%2080-356l42-42%20100%2099%20179-179%2042%2043-221%20221Zm0-320L80-676l42-42%20100%2099%20179-179%2042%2043-221%20221Zm298%20244v-60h360v60H520Zm0-320v-60h360v60H520Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='chevron_left'%3e%3cpath%20d='M561-240%20320-481l241-241%2043%2043-198%20198%20198%20198-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='chevron_right'%3e%3cpath%20d='M530-481%20332-679l43-43%20241%20241-241%20241-43-43%20198-198Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='close'%3e%3cpath%20d='m249-207-42-42%20231-231-231-231%2042-42%20231%20231%20231-231%2042%2042-231%20231%20231%20231-42%2042-231-231-231%20231Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='content_copy'%3e%3cpath%20d='M300-200q-24%200-42-18t-18-42v-560q0-24%2018-42t42-18h440q24%200%2042%2018t18%2042v560q0%2024-18%2042t-42%2018H300Zm0-60h440v-560H300v560ZM180-80q-24%200-42-18t-18-42v-620h60v620h500v60H180Zm120-180v-560%20560Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='copy_all'%3e%3cpath%20d='M120-240v-60h60v60h-60Zm0-160v-60h60v60h-60Zm0-160v-60h60v60h-60ZM280-80v-60h60v60h-60Zm60-160q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h400q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H340Zm0-60h400v-520H340v520ZM440-80v-60h60v60h-60Zm-260%200q-24.75%200-42.37-17.63Q120-115.25%20120-140h60v60Zm420%200v-60h60q0%2025-17.62%2042.5Q624.75-80%20600-80ZM120-720q0-24.75%2017.63-42.38Q155.25-780%20180-780v60h-60Zm420%20160Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='credit_card'%3e%3cpath%20d='M880-740v520q0%2024-18%2042t-42%2018H140q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h680q24%200%2042%2018t18%2042ZM140-631h680v-109H140v109Zm0%20129v282h680v-282H140Zm0%20282v-520%20520Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='credit_card_off'%3e%3cpath%20d='m865-181-45-45v-276H544L415-631h405v-109H306l-60-60h574q24%200%2042%2018t18%2042v520.16q0%2010.84-4%2020.84t-11%2018ZM401-474Zm162-9Zm-191-19H140v282h514L372-502ZM813-61l-99-99H140q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h20l60%2060h-80v109h103L26-848l43-43%20787%20787-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='dark_mode'%3e%3cpath%20d='M480-120q-150%200-255-105T120-480q0-150%20105-255t255-105q8%200%2017%20.5t23%201.5q-36%2032-56%2079t-20%2099q0%2090%2063%20153t153%2063q52%200%2099-18.5t79-51.5q1%2012%201.5%2019.5t.5%2014.5q0%20150-105%20255T480-120Zm0-60q109%200%20190-67.5T771-406q-25%2011-53.67%2016.5Q688.67-384%20660-384q-114.69%200-195.34-80.66Q384-545.31%20384-660q0-24%205-51.5t18-62.5q-98%2027-162.5%20109.5T180-480q0%20125%2087.5%20212.5T480-180Zm-4-297Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='delete'%3e%3cpath%20d='M261-120q-24.75%200-42.37-17.63Q201-155.25%20201-180v-570h-41v-60h188v-30h264v30h188v60h-41v570q0%2024-18%2042t-42%2018H261Zm438-630H261v570h438v-570ZM367-266h60v-399h-60v399Zm166%200h60v-399h-60v399ZM261-750v570-570Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='description'%3e%3cpath%20d='M319-250h322v-60H319v60Zm0-170h322v-60H319v60ZM220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='do_not_disturb_on'%3e%3cpath%20d='M280-453h400v-60H280v60ZM480-80q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='download'%3e%3cpath%20d='M480-313%20287-506l43-43%20120%20120v-371h60v371l120-120%2043%2043-193%20193ZM220-160q-24%200-42-18t-18-42v-143h60v143h520v-143h60v143q0%2024-18%2042t-42%2018H220Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='draft'%3e%3cpath%20d='M220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='drag_indicator'%3e%3cpath%20d='M349.91-160q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm-260-250q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm-260-250q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Zm260%200q-28.91%200-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5%2049.5-20.5t49.41%2020.59q20.5%2020.59%2020.5%2049.5t-20.59%2049.41q-20.59%2020.5-49.5%2020.5Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='east'%3e%3cpath%20d='m600-200-42-42%20208-208H80v-60h686L558-718l42-42%20280%20280-280%20280Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='edit'%3e%3cpath%20d='M180-180h44l472-471-44-44-472%20471v44Zm-60%2060v-128l575-574q8-8%2019-12.5t23-4.5q11%200%2022%204.5t20%2012.5l44%2044q9%209%2013%2020t4%2022q0%2011-4.5%2022.5T823-694L248-120H120Zm659-617-41-41%2041%2041Zm-105%2064-22-22%2044%2044-22-22Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='edit_square'%3e%3cpath%20d='M180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h405l-60%2060H180v600h600v-348l60-60v408q0%2024-18%2042t-42%2018H180Zm300-360ZM360-360v-170l382-382q9-9%2020-13t22-4q11%200%2022.32%204.5Q817.63-920%20827-911l83%2084q8.61%208.96%2013.3%2019.78%204.7%2010.83%204.7%2022.02%200%2011.2-4.5%2022.7T910-742L530-360H360Zm508-425-84-84%2084%2084ZM420-420h85l253-253-43-42-43-42-252%20251v86Zm295-295-43-42%2043%2042%2043%2042-43-42Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='emergency_home'%3e%3cpath%20d='M480-71q-11%200-21.96-4.43Q447.07-79.87%20438-88L88-438q-8.13-9.07-12.57-20.04Q71-469%2071-480t4.43-22.34Q79.87-513.68%2088-522l350-350q9.07-8.87%2020.04-12.93Q469-889%20480-889t22.34%204.07Q513.68-880.87%20522-872l350%20350q8.87%208.32%2012.93%2019.66Q889-491%20889-480t-4.07%2021.96Q880.87-447.07%20872-438L522-88q-8.32%208.13-19.66%2012.57Q491-71%20480-71Zm0-60%20349-349-349-349-349%20349%20349%20349Zm-30-309h60v-240h-60v240Zm30%20110q12%200%2021-9t9-21q0-12-9-21t-21-9q-12%200-21%209t-9%2021q0%2012%209%2021t21%209Zm0-150Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='error'%3e%3cpath%20d='M479.98-280q14.02%200%2023.52-9.48t9.5-23.5q0-14.02-9.48-23.52t-23.5-9.5q-14.02%200-23.52%209.48t-9.5%2023.5q0%2014.02%209.48%2023.52t23.5%209.5ZM453-433h60v-253h-60v253Zm27.27%20353q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='expand_all'%3e%3cpath%20d='M480-80%20240-320l44-44%20196%20196%20196-196%2044%2044L480-80ZM284-596l-44-44%20240-240%20240%20240-44%2044-196-196-196%20196Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='filter_list'%3e%3cpath%20d='M400-240v-60h160v60H400ZM240-450v-60h480v60H240ZM120-660v-60h720v60H120Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='filter_list_off'%3e%3cpath%20d='M813-61%2061-813l43-43%20752%20752-43%2043ZM595-450l-60-60h185v60H595ZM385-660l-60-60h515v60H385Zm15%20420v-60h160v60H400ZM240-450v-60h184v60H240ZM120-660v-60h94v60h-94Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='first_page'%3e%3cpath%20d='M240-240v-480h60v480h-60Zm447-3L453-477l234-234%2043%2043-191%20191%20191%20191-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20fill='currentColor'%20viewBox='0%200%2016%2016'%20id='folder_double'%3e%3cpath%20d='M2.001%2014q-.55%200-.941-.392a1.28%201.28%200%200%201-.392-.942V4h1.333v8.666h11.334V14H2.001Zm2.667-2.667q-.55%200-.942-.392A1.28%201.28%200%200%201%203.335%2010V2.666q0-.55.391-.941.391-.392.942-.392h3.333l1.334%201.333H14q.55%200%20.942.392t.392.942v6q0%20.55-.392.941a1.28%201.28%200%200%201-.942.392H4.668Zm0-1.333h9.333V4H8.785L7.45%202.666H4.668V10Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='group'%3e%3cpath%20d='M38-160v-94q0-35%2018-63.5t50-42.5q73-32%20131.5-46T358-420q62%200%20120%2014t131%2046q32%2014%2050.5%2042.5T678-254v94H38Zm700%200v-94q0-63-32-103.5T622-423q69%208%20130%2023.5t99%2035.5q33%2019%2052%2047t19%2063v94H738ZM358-481q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042Zm360-150q0%2066-42%20108t-108%2042q-11%200-24.5-1.5T519-488q24-25%2036.5-61.5T568-631q0-45-12.5-79.5T519-774q11-3%2024.5-5t24.5-2q66%200%20108%2042t42%20108ZM98-220h520v-34q0-16-9.5-31T585-306q-72-32-121-43t-106-11q-57%200-106.5%2011T130-306q-14%206-23%2021t-9%2031v34Zm260-321q39%200%2064.5-25.5T448-631q0-39-25.5-64.5T358-721q-39%200-64.5%2025.5T268-631q0%2039%2025.5%2064.5T358-541Zm0%20321Zm0-411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='group_add'%3e%3cpath%20d='M474-486q26-32%2038.5-66t12.5-79q0-45-12.5-79T474-776q76-17%20133.5%2023T665-631q0%2082-57.5%20122T474-486Zm216%20326v-94q0-51-26-95t-90-74q173%2022%20236.5%2064T874-254v94H690Zm110-289v-100H700v-60h100v-100h60v100h100v60H860v100h-60Zm-485-32q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM0-160v-94q0-35%2018.5-63.5T68-360q72-32%20128.5-46T315-420q62%200%20118%2014t128%2046q31%2014%2050%2042.5t19%2063.5v94H0Zm315-381q39%200%2064.5-25.5T405-631q0-39-25.5-64.5T315-721q-39%200-64.5%2025.5T225-631q0%2039%2025.5%2064.5T315-541ZM60-220h510v-34q0-16-8-30t-25-22q-69-32-117-43t-105-11q-57%200-104.5%2011T92-306q-15%207-23.5%2021.5T60-254v34Zm255-411Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='handshake'%3e%3cpath%20d='M475-140q5%200%2011.5-2.5T497-149l337-338q13-13%2019.5-29.67Q860-533.33%20860-550q0-17-6.5-34T834-614L654-794q-13-13-30-19.5t-34-6.5q-16.67%200-33.33%206.5Q540-807%20527-794l-18%2018%2081%2082q13%2014%2023%2032.5t10%2040.5q0%2038-29.5%2067T526-525q-25%200-41.5-7.5t-30.19-21.34L381-627%20200-446q-5%205-7%2010.53-2%205.52-2%2011.84%200%2012.63%208.5%2021.13%208.5%208.5%2021.17%208.5%206.33%200%2011.83-3t9.5-7l138-138%2042%2042-137%20137q-5%205-7%2011t-2%2012q0%2012%209%2021t21%209q6%200%2011.5-2.5t9.5-6.5l138-138%2042%2042-137%20137q-4%204-6.5%2010.33-2.5%206.34-2.5%2012.67%200%2012%209%2021t21%209q6%200%2011-2t10-7l138-138%2042%2042-138%20138q-5%205-7%2011t-2%2011q0%2014%208%2022t22%208Zm.06%2060Q442-80%20416-104.5t-31-60.62Q351-170%20328-193t-28-57q-34-5-56.5-28.5T216-335q-37-5-61-30t-24-60q0-17%206.72-34.05Q144.45-476.1%20157-489l224-224%20110%20110q8%208%2017.33%2012.5%209.34%204.5%2018.67%204.5%2013%200%2024.5-11.5t11.5-24.65q0-5.85-3.5-13.35T548-651L405-794q-13-13-30-19.5t-34-6.5q-16.67%200-33.33%206.5-16.67%206.5-29.61%2019.36L126-642q-14%2014-19.5%2029.5t-6.5%2035q-1%2019.5%207.5%2038T128-506l-43%2043q-20-22-32.5-53T40-579q0-30%2011.5-57.5T84-685l151-151q22-22%2049.79-32.5%2027.8-10.5%2057-10.5%2029.21%200%2056.71%2010.5T448-836l18%2018%2018-18q22-22%2049.79-32.5%2027.8-10.5%2057-10.5%2029.21%200%2056.71%2010.5T697-836l179%20179q22%2022%2033%2050.03%2011%2028.04%2011%2057%200%2028.97-11%2056.47T876-444L539-107q-13%2013-29.53%2020t-34.41%207ZM377-626Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='handyman'%3e%3cpath%20d='M764-80q-6%200-11-2t-10-7L501-331q-5-5-7-10t-2-11q0-6%202-11t7-10l85-85q5-5%2010-7t11-2q6%200%2011%202t10%207l242%20242q5%205%207%2010t2%2011q0%206-2%2011t-7%2010l-85%2085q-5%205-10%207t-11%202Zm0-72%2043-43-200-200-43%2043%20200%20200ZM195-80q-6%200-11.5-2T173-89l-84-84q-5-5-7-10.5T80-195q0-6%202-11t7-10l225-225h85l38-38-175-175h-57L80-779l99-99%20125%20125v57l175%20175%20130-130-67-67%2056-56H485l-18-18%20128-128%2018%2018v113l56-56%20169%20169q15%2015%2023.5%2034.5T870-600q0%2020-6.5%2038.5T845-528l-85-85-56%2056-52-52-211%20211v84L216-89q-5%205-10%207t-11%202Zm0-72%20200-200v-43h-43L152-195l43%2043Zm0%200-43-43%2022%2021%2021%2022Zm569%200%2043-43-43%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='help'%3e%3cpath%20d='M484-247q16%200%2027-11t11-27q0-16-11-27t-27-11q-16%200-27%2011t-11%2027q0%2016%2011%2027t27%2011Zm-35-146h59q0-26%206.5-47.5T555-490q31-26%2044-51t13-55q0-53-34.5-85T486-713q-49%200-86.5%2024.5T345-621l53%2020q11-28%2033-43.5t52-15.5q34%200%2055%2018.5t21%2047.5q0%2022-13%2041.5T508-512q-30%2026-44.5%2051.5T449-393Zm31%20313q-82%200-155-31.5t-127.5-86Q143-252%20111.5-325T80-480q0-83%2031.5-156t86-127Q252-817%20325-848.5T480-880q83%200%20156%2031.5T763-763q54%2054%2085.5%20127T880-480q0%2082-31.5%20155T763-197.5q-54%2054.5-127%2086T480-80Zm0-60q142%200%20241-99.5T820-480q0-142-99-241t-241-99q-141%200-240.5%2099T140-480q0%20141%2099.5%20240.5T480-140Zm0-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='home'%3e%3cpath%20d='M220-180h150v-250h220v250h150v-390L480-765%20220-570v390Zm-60%2060v-480l320-240%20320%20240v480H530v-250H430v250H160Zm320-353Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='info'%3e%3cpath%20d='M453-280h60v-240h-60v240Zm26.98-314q14.02%200%2023.52-9.2T513-626q0-14.45-9.48-24.22-9.48-9.78-23.5-9.78t-23.52%209.78Q447-640.45%20447-626q0%2013.6%209.48%2022.8%209.48%209.2%2023.5%209.2Zm.29%20514q-82.74%200-155.5-31.5Q252-143%20197.5-197.5t-86-127.34Q80-397.68%2080-480.5t31.5-155.66Q143-709%20197.5-763t127.34-85.5Q397.68-880%20480.5-880t155.66%2031.5Q709-817%20763-763t85.5%20127Q880-563%20880-480.27q0%2082.74-31.5%20155.5Q817-252%20763-197.68q-54%2054.31-127%2086Q563-80%20480.27-80Zm.23-60Q622-140%20721-239.5t99-241Q820-622%20721.19-721T480-820q-141%200-240.5%2098.81T140-480q0%20141%2099.5%20240.5t241%2099.5Zm-.5-340Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='inventory_2'%3e%3cpath%20d='M180-80q-24.75%200-42.37-17.63Q120-115.25%20120-140v-483q-17-6-28.5-21.39T80-680v-140q0-24.75%2017.63-42.38Q115.25-880%20140-880h680q24.75%200%2042.38%2017.62Q880-844.75%20880-820v140q0%2020.22-11.5%2035.61T840-623v483q0%2024.75-17.62%2042.37Q804.75-80%20780-80H180Zm0-540v480h600v-480H180Zm-40-60h680v-140H140v140Zm220%20260h240v-60H360v60Zm120%2040Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='key'%3e%3cpath%20d='M280-412q-28%200-48-20t-20-48q0-28%2020-48t48-20q28%200%2048%2020t20%2048q0%2028-20%2048t-48%2020Zm0%20172q-100%200-170-70T40-480q0-100%2070-170t170-70q72%200%20126%2034t85%20103h356l113%20113-167%20153-88-64-88%2064-75-60h-51q-25%2060-78.5%2098.5T280-240Zm0-60q58%200%20107-38.5t63-98.5h114l54%2045%2088-63%2082%2062%2085-79-51-51H450q-12-56-60-96.5T280-660q-75%200-127.5%2052.5T100-480q0%2075%2052.5%20127.5T280-300Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='keyboard_arrow_down'%3e%3cpath%20d='M480-344%20240-584l43-43%20197%20197%20197-197%2043%2043-240%20240Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='keyboard_arrow_up'%3e%3cpath%20d='M480-554%20283-357l-43-43%20240-240%20240%20240-43%2043-197-197Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lab_profile'%3e%3cpath%20d='M320-490v-60h320v60H320Zm0-160v-60h320v60H320ZM220-390h320q26.43%200%2049.22%2012Q612-366%20628-346l112%20146v-620H220v430Zm0%20250h490L581-309q-7.57-9.88-18.28-15.44Q552-330%20540-330H220v190Zm520%2060H220q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h520q24%200%2042%2018t18%2042v680q0%2024-18%2042t-42%2018Zm-520-60v-680%20680Zm0-190v-60%2060Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='label'%3e%3cpath%20d='M140-160q-24.75%200-42.37-17.63Q80-195.25%2080-220v-520q0-24.75%2017.63-42.38Q115.25-800%20140-800h471q14.25%200%2027%206.37%2012.75%206.38%2021%2017.63l222%20296-221%20296q-8.25%2011.25-21%2017.62-12.75%206.38-27%206.38H140Zm0-60h471l195-260-195-260H140v520Zm236-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='last_page'%3e%3cpath%20d='m272-245-43-43%20192-192-192-192%2043-43%20235%20235-235%20235Zm388%205v-480h60v480h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='library_add_check'%3e%3cpath%20d='m490-383%20228-228-42-41-185%20186-97-97-42%2042%20138%20138ZM260-200q-24%200-42-18t-18-42v-560q0-24%2018-42t42-18h560q24%200%2042%2018t18%2042v560q0%2024-18%2042t-42%2018H260Zm0-60h560v-560H260v560ZM140-80q-24%200-42-18t-18-42v-620h60v620h620v60H140Zm120-740v560-560Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='light_mode'%3e%3cpath%20d='M480-340q58%200%2099-41t41-99q0-58-41-99t-99-41q-58%200-99%2041t-41%2099q0%2058%2041%2099t99%2041Zm0%2060q-83%200-141.5-58.5T280-480q0-83%2058.5-141.5T480-680q83%200%20141.5%2058.5T680-480q0%2083-58.5%20141.5T480-280ZM200-450H40v-60h160v60Zm720%200H760v-60h160v60ZM450-760v-160h60v160h-60Zm0%20720v-160h60v160h-60ZM262-658l-100-97%2043-44%2096%20100-39%2041Zm494%20496-98-100%2041-41%2099%2098-42%2043Zm-99-537%2098-99%2044%2042-99%2098-43-41ZM162-205l99-98%2042%2042-98%2099-43-43Zm318-275Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='link'%3e%3cpath%20d='M450-280H280q-83%200-141.5-58.5T80-480q0-83%2058.5-141.5T280-680h170v60H280q-58.33%200-99.17%2040.76-40.83%2040.77-40.83%2099Q140-422%20180.83-381q40.84%2041%2099.17%2041h170v60ZM325-450v-60h310v60H325Zm185%20170v-60h170q58.33%200%2099.17-40.76%2040.83-40.77%2040.83-99Q820-538%20779.17-579q-40.84-41-99.17-41H510v-60h170q83%200%20141.5%2058.5T880-480q0%2083-58.5%20141.5T680-280H510Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='local_activity'%3e%3cpath%20d='m376-318%20104-81%20104%2081-40-128%2098-82H522l-42-122-42%20122H318l98%2082-40%20128ZM140-160q-25%200-42.5-17.5T80-220v-132q0-10%205.5-17.5T100-380q31-11%2048.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25%2017.5-42.5T140-800h680q25%200%2042.5%2017.5T880-740v132q0%2010-5.5%2017.5T860-580q-31%2011-48.5%2040T794-480q0%2032%2017.5%2060.5T860-380q9%203%2014.5%2010.5T880-352v132q0%2025-17.5%2042.5T820-160H140Zm0-60h680v-109q-38-26-62-65t-24-86q0-47%2024-86t62-65v-109H140v109q39%2026%2062.5%2065t23.5%2086q0%2047-23.5%2086T140-329v109Zm340-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='local_activity-fill'%3e%3cpath%20d='m376-318%20104-81%20104%2081-40-128%2098-82H522l-42-122-42%20122H318l98%2082-40%20128ZM140-160q-25%200-42.5-17.5T80-220v-132q0-10%205.5-17.5T100-380q31-11%2048.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25%2017.5-42.5T140-800h680q25%200%2042.5%2017.5T880-740v132q0%2010-5.5%2017.5T860-580q-31%2011-48.5%2040T794-480q0%2032%2017.5%2060.5T860-380q9%203%2014.5%2010.5T880-352v132q0%2025-17.5%2042.5T820-160H140Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lock'%3e%3cpath%20d='M220-80q-24.75%200-42.37-17.63Q160-115.25%20160-140v-434q0-24.75%2017.63-42.38Q195.25-634%20220-634h70v-96q0-78.85%2055.61-134.42Q401.21-920%20480.11-920q78.89%200%20134.39%2055.58Q670-808.85%20670-730v96h70q24.75%200%2042.38%2017.62Q800-598.75%20800-574v434q0%2024.75-17.62%2042.37Q764.75-80%20740-80H220Zm0-60h520v-434H220v434Zm260.17-140q31.83%200%2054.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83%200-54.33%2024.5t-22.5%2055q0%2030.5%2022.67%2052.5t54.5%2022ZM350-634h260v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38%2037.91-38%2092.08v96ZM220-140v-434%20434Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='lock_open'%3e%3cpath%20d='M220-634h390v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38%2037.91-38%2092.08h-60q0-79%2055.61-134.5%2055.6-55.5%20134.5-55.5%2078.89%200%20134.39%2055.58Q670-808.85%20670-730v96h70q24.75%200%2042.38%2017.62Q800-598.75%20800-574v434q0%2024.75-17.62%2042.37Q764.75-80%20740-80H220q-24.75%200-42.37-17.63Q160-115.25%20160-140v-434q0-24.75%2017.63-42.38Q195.25-634%20220-634Zm0%20494h520v-434H220v434Zm260.17-140q31.83%200%2054.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83%200-54.33%2024.5t-22.5%2055q0%2030.5%2022.67%2052.5t54.5%2022ZM220-140v-434%20434Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='more_horiz'%3e%3cpath%20d='M207.86-432Q188-432%20174-446.14t-14-34Q160-500%20174.14-514t34-14Q228-528%20242-513.86t14%2034Q256-460%20241.86-446t-34%2014Zm272%200Q460-432%20446-446.14t-14-34Q432-500%20446.14-514t34-14Q500-528%20514-513.86t14%2034Q528-460%20513.86-446t-34%2014Zm272%200Q732-432%20718-446.14t-14-34Q704-500%20718.14-514t34-14Q772-528%20786-513.86t14%2034Q800-460%20785.86-446t-34%2014Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='more_vert'%3e%3cpath%20d='M479.86-160Q460-160%20446-174.14t-14-34Q432-228%20446.14-242t34-14Q500-256%20514-241.86t14%2034Q528-188%20513.86-174t-34%2014Zm0-272Q460-432%20446-446.14t-14-34Q432-500%20446.14-514t34-14Q500-528%20514-513.86t14%2034Q528-460%20513.86-446t-34%2014Zm0-272Q460-704%20446-718.14t-14-34Q432-772%20446.14-786t34-14Q500-800%20514-785.86t14%2034Q528-732%20513.86-718t-34%2014Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='multiple_stop'%3e%3cpath%20d='M282-160%20120-322l162-162%2042%2042-90%2090h286v60H234l90%2090-42%2042Zm328-132q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T640-322q0%2012-8.5%2021t-21.5%209Zm120%200q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T760-322q0%2012-8.5%2021t-21.5%209Zm-52-184-42-42%2090-90H440v-60h286l-90-90%2042-42%20162%20162-162%20162ZM230-608q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T260-638q0%2012-8.5%2021t-21.5%209Zm120%200q-12%200-21-9t-9-21q0-13%209-21.5t21-8.5q13%200%2021.5%208.5T380-638q0%2012-8.5%2021t-21.5%209Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='north'%3e%3cpath%20d='M450-80v-686L242-558l-42-42%20280-280%20280%20280-42%2042-208-208v686h-60Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='north_east'%3e%3cpath%20d='m202-160-42-42%20498-498H364v-60h396v396h-60v-294L202-160Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='notifications_active'%3e%3cpath%20d='M120-566q0-90%2040-165t107-125l36%2048q-56%2042-89.5%20104.5T180-566h-60Zm660%200q0-75-33.5-137.5T657-808l36-48q67%2050%20107%20125t40%20165h-60ZM160-200v-60h80v-304q0-84%2049.5-150.5T420-798v-22q0-25%2017.5-42.5T480-880q25%200%2042.5%2017.5T540-820v22q81%2017%20130.5%2083.5T720-564v304h80v60H160Zm320-302Zm0%20422q-33%200-56.5-23.5T400-160h160q0%2033-23.5%2056.5T480-80ZM300-260h360v-304q0-75-52.5-127.5T480-744q-75%200-127.5%2052.5T300-564v304Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='open_in_new'%3e%3cpath%20d='M180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h279v60H180v600h600v-279h60v279q0%2024-18%2042t-42%2018H180Zm202-219-42-43%20398-398H519v-60h321v321h-60v-218L382-339Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person'%3e%3cpath%20d='M480-481q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM160-160v-94q0-38%2019-65t49-41q67-30%20128.5-45T480-420q62%200%20123%2015.5t127.92%2044.69q31.3%2014.13%2050.19%2040.97Q800-292%20800-254v94H160Zm60-60h520v-34q0-16-9.5-30.5T707-306q-64-31-117-42.5T480-360q-57%200-111%2011.5T252-306q-14%207-23%2021.5t-9%2030.5v34Zm260-321q39%200%2064.5-25.5T570-631q0-39-25.5-64.5T480-721q-39%200-64.5%2025.5T390-631q0%2039%2025.5%2064.5T480-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_add'%3e%3cpath%20d='M730-400v-130H600v-60h130v-130h60v130h130v60H790v130h-60Zm-370-81q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM40-160v-94q0-35%2017.5-63.5T108-360q75-33%20133.34-46.5t118.5-13.5Q420-420%20478-406.5T611-360q33%2015%2051%2043t18%2063v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58%200-107.5%2010.5T132-306q-15%207-23.5%2021.5T100-254v34Zm260-321q39%200%2064.5-25.5T450-631q0-39-25.5-64.5T360-721q-39%200-64.5%2025.5T270-631q0%2039%2025.5%2064.5T360-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_pin'%3e%3cpath%20d='M480-40%20359-161H180q-24%200-42-18t-18-42v-600q0-24.75%2018-42.38Q156-881%20180-881h600q24%200%2042%2017.62%2018%2017.63%2018%2042.38v600q0%2024-18%2042t-42%2018H601L480-40ZM180-258q60-56%20135.9-90.5%2075.89-34.5%20164-34.5%2088.1%200%20164.1%2034.5T780-258v-563H180v563Zm302-204q58%200%2098-40t40-98q0-58-40-98t-98-40q-58%200-98%2040t-40%2098q0%2058%2040%2098t98%2040ZM235-221h490v-9q-54-46-116-69.5T480-323q-67%200-129%2023.5T235-230v9Zm247-301q-32.5%200-55.25-22.75T404-600q0-32.5%2022.75-55.25T482-678q32.5%200%2055.25%2022.75T560-600q0%2032.5-22.75%2055.25T482-522Zm-2-18Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='person_remove'%3e%3cpath%20d='M648-542v-60h232v60H648Zm-288%2061q-66%200-108-42t-42-108q0-66%2042-108t108-42q66%200%20108%2042t42%20108q0%2066-42%20108t-108%2042ZM40-160v-94q0-35%2017.5-63.5T108-360q75-33%20133.34-46.5t118.5-13.5Q420-420%20478-406.5T611-360q33%2015%2051%2043t18%2063v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58%200-107.5%2010.5T132-306q-15%207-23.5%2021.5T100-254v34Zm260-321q39%200%2064.5-25.5T450-631q0-39-25.5-64.5T360-721q-39%200-64.5%2025.5T270-631q0%2039%2025.5%2064.5T360-541Zm0-90Zm0%20411Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='question_mark'%3e%3cpath%20d='M431-330q1-72%2016.5-105t58.5-72q42-38%2064.5-70.5T593-647q0-45-30-75t-84-30q-52%200-80%2029.5T358-661l-84-37q22-59%2074.5-100.5T479-840q100%200%20154%2055.5T687-651q0%2048-20.5%2087T601-482q-49%2047-59%2072t-11%2080H431Zm48%20250q-29%200-49.5-20.5T409-150q0-29%2020.5-49.5T479-220q29%200%2049.5%2020.5T549-150q0%2029-20.5%2049.5T479-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='receipt_long'%3e%3cpath%20d='M222-80q-43.75%200-74.37-30.63Q117-141.25%20117-185v-125h127v-570l59.8%2060%2059.8-60%2059.8%2060%2059.8-60%2059.8%2060%2060-60%2060%2060%2060-60%2060%2060%2060-60v695q0%2043.75-30.62%2074.37Q781.75-80%20738-80H222Zm516-60q20%200%2032.5-12.5T783-185v-595H304v470h389v125q0%2020%2012.5%2032.5T738-140ZM357-622v-60h240v60H357Zm0%20134v-60h240v60H357Zm333-134q-12%200-21-9t-9-21q0-12%209-21t21-9q12%200%2021%209t9%2021q0%2012-9%2021t-21%209Zm0%20129q-12%200-21-9t-9-21q0-12%209-21t21-9q12%200%2021%209t9%2021q0%2012-9%2021t-21%209ZM221-140h412v-110H177v65q0%2020%2012.65%2032.5T221-140Zm-44%200v-110%20110Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='refresh'%3e%3cpath%20d='M480-160q-133%200-226.5-93.5T160-480q0-133%2093.5-226.5T480-800q85%200%20149%2034.5T740-671v-129h60v254H546v-60h168q-38-60-97-97t-137-37q-109%200-184.5%2075.5T220-480q0%20109%2075.5%20184.5T480-220q83%200%20152-47.5T728-393h62q-29%20105-115%20169t-195%2064Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='remove'%3e%3cpath%20d='M200-450v-60h560v60H200Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='remove_shopping_cart'%3e%3cpath%20d='M381-656v-60h227v60H381ZM289.79-80Q260-80%20239-101.21t-21-51Q218-182%20239.21-203t51-21Q320-224%20341-202.79t21%2051Q362-122%20340.79-101t-51%2021Zm404%200Q664-80%20643-101.21t-21-51Q622-182%20643.21-203t51-21Q724-224%20745-202.79t21%2051Q766-122%20744.79-101t-51%2021ZM62-820v-60h116l170%20364h287.71L796-796h67L701-493q-11%2019-28.56%2030.5T634-451H331l-56%20104h491v60H284q-37.66%200-57.33-30T224-378l64-118-148-324H62Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='replay'%3e%3cpath%20d='M480-80q-75%200-140.5-28T225-185q-49-49-77-114.5T120-440h60q0%20125%2087.5%20212.5T480-140q125%200%20212.5-87.5T780-440q0-125-85-212.5T485-740h-23l73%2073-41%2042-147-147%20147-147%2041%2041-78%2078h23q75%200%20140.5%2028T735-695q49%2049%2077%20114.5T840-440q0%2075-28%20140.5T735-185q-49%2049-114.5%2077T480-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='right_panel_close'%3e%3cpath%20d='M297-616v272l136-136-136-136ZM180-120q-24.75%200-42.37-17.63Q120-155.25%20120-180v-600q0-24.75%2017.63-42.38Q155.25-840%20180-840h600q24.75%200%2042.38%2017.62Q840-804.75%20840-780v600q0%2024.75-17.62%2042.37Q804.75-120%20780-120H180Zm453-60h147v-600H633v600Zm-60%200v-600H180v600h393Zm60%200h147-147Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='right_panel_open'%3e%3cpath%20d='M433-344v-272L297-480l136%20136ZM180-120q-24.75%200-42.37-17.63Q120-155.25%20120-180v-600q0-24.75%2017.63-42.38Q155.25-840%20180-840h600q24.75%200%2042.38%2017.62Q840-804.75%20840-780v600q0%2024.75-17.62%2042.37Q804.75-120%20780-120H180Zm453-60h147v-600H633v600Zm-60%200v-600H180v600h393Zm60%200h147-147Z'/%3e%3c/symbol%3e%3csymbol%20fill='currentColor'%20viewBox='0%200%2014%2014'%20id='rocket_launch'%3e%3cpath%20d='m2.4%205.33%201.3.55c.156-.31.317-.61.483-.9.167-.289.35-.577.55-.866L3.8%203.93l-1.4%201.4Zm2.367%201.384%201.9%201.883c.466-.178.966-.45%201.5-.817a10.658%2010.658%200%200%200%201.5-1.25%208.972%208.972%200%200%200%201.825-2.591c.439-.95.63-1.825.575-2.625-.8-.056-1.678.136-2.634.575a8.933%208.933%200%200%200-2.6%201.825c-.466.466-.883.966-1.25%201.5-.366.533-.639%201.033-.816%201.5ZM7.35%204.689c0-.373.128-.686.383-.942a1.29%201.29%200%200%201%20.95-.383c.378%200%20.695.127.95.383.256.256.384.57.384.942s-.128.686-.384.941a1.29%201.29%200%200%201-.95.384%201.29%201.29%200%200%201-.95-.384%201.28%201.28%200%200%201-.383-.941Zm.7%206.291%201.4-1.4-.183-.933c-.29.2-.578.38-.867.542-.289.16-.589.32-.9.475l.55%201.316ZM13.267.097a7.677%207.677%200%200%201-.392%203.925c-.472%201.272-1.286%202.486-2.442%203.642l.334%201.65a1.334%201.334%200%200%201-.367%201.2l-2.8%202.8-1.4-3.284-2.85-2.85-3.283-1.4%202.783-2.8a1.33%201.33%200%200%201%20.558-.333c.217-.067.436-.078.659-.033l1.65.333C6.872%201.791%208.083.975%209.35.497a7.583%207.583%200%200%201%203.917-.4ZM1.25%209.297a1.968%201.968%200%200%201%201.425-.592A1.91%201.91%200%200%201%204.1%209.28c.389.39.58.864.575%201.425a1.968%201.968%200%200%201-.592%201.425c-.277.278-.741.517-1.391.717-.65.2-1.548.378-2.692.533.156-1.144.333-2.041.533-2.691.2-.65.44-1.114.717-1.392Zm.95.933c-.111.111-.222.314-.333.609a4.31%204.31%200%200%200-.234.891c.3-.044.598-.12.892-.225.294-.105.497-.214.608-.325a.722.722%200%200%200%20.217-.483.605.605%200%200%200-.183-.483.63.63%200%200%200-.484-.192.689.689%200%200%200-.483.208Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='search'%3e%3cpath%20d='M796-121%20533-384q-30%2026-69.96%2040.5Q423.08-329%20378-329q-108.16%200-183.08-75Q120-479%20120-585t75-181q75-75%20181.5-75t181%2075Q632-691%20632-584.85%20632-542%20618-502q-14%2040-42%2075l264%20262-44%2044ZM377-389q81.25%200%20138.13-57.5Q572-504%20572-585t-56.87-138.5Q458.25-781%20377-781q-82.08%200-139.54%2057.5Q180-666%20180-585t57.46%20138.5Q294.92-389%20377-389Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='search_insights'%3e%3cpath%20d='M400.06-300Q508-300%20584.5-376.13%20661-452.25%20661-561q0-107.92-76.5-183.46T400.06-820q-107.94%200-183.5%2075.54T141-561q0%20108.75%2075.56%20184.87Q292.12-300%20400.06-300ZM371-448v-267h60v267h-60Zm-145%200v-184h60v184h-60Zm290%200v-143h60v143h-60ZM838-80%20605-314q-42%2035-94.24%2054.5Q458.51-240%20400-240q-133%200-226-93.5T81-560.7q0-133.71%2092.8-226.5Q266.59-880%20400.3-880q133.7%200%20227.2%2093T721-561q0%2058.51-19.5%20110.76Q682-398%20647-356l233%20233-42%2043Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='sell'%3e%3cpath%20d='M863-404%20557-97q-9%208.5-20.25%2012.75T514.25-80Q503-80%20492-84.5T472-97L98-472q-8-8-13-18.96-5-10.95-5-23.04v-306q0-24.75%2017.63-42.38Q115.25-880%20140-880h307q12.07%200%2023.39%204.87Q481.7-870.25%20490-862l373%20373q9.39%209%2013.7%2020.25%204.3%2011.25%204.3%2022.5t-4.5%2022.75Q872-412%20863-404ZM516-138l306-307-375-375H140v304l376%20378ZM245-664q21%200%2036.5-15.5T297-716q0-21-15.5-36.5T245-768q-21%200-36.5%2015.5T193-716q0%2021%2015.5%2036.5T245-664Zm236%20185Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='send'%3e%3cpath%20d='M120-160v-640l760%20320-760%20320Zm60-93%20544-227-544-230v168l242%2062-242%2060v167Zm0%200v-457%20457Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='settings'%3e%3cpath%20d='m388-80-20-126q-19-7-40-19t-37-25l-118%2054-93-164%20108-79q-2-9-2.5-20.5T185-480q0-9%20.5-20.5T188-521L80-600l93-164%20118%2054q16-13%2037-25t40-18l20-127h184l20%20126q19%207%2040.5%2018.5T669-710l118-54%2093%20164-108%2077q2%2010%202.5%2021.5t.5%2021.5q0%2010-.5%2021t-2.5%2021l108%2078-93%20164-118-54q-16%2013-36.5%2025.5T592-206L572-80H388Zm48-60h88l14-112q33-8%2062.5-25t53.5-41l106%2046%2040-72-94-69q4-17%206.5-33.5T715-480q0-17-2-33.5t-7-33.5l94-69-40-72-106%2046q-23-26-52-43.5T538-708l-14-112h-88l-14%20112q-34%207-63.5%2024T306-642l-106-46-40%2072%2094%2069q-4%2017-6.5%2033.5T245-480q0%2017%202.5%2033.5T254-413l-94%2069%2040%2072%20106-46q24%2024%2053.5%2041t62.5%2025l14%20112Zm44-210q54%200%2092-38t38-92q0-54-38-92t-92-38q-54%200-92%2038t-38%2092q0%2054%2038%2092t92%2038Zm0-130Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='shopping_cart'%3e%3cpath%20d='M286.79-81Q257-81%20236-102.21t-21-51Q215-183%20236.21-204t51-21Q317-225%20338-203.79t21%2051Q359-123%20337.79-102t-51%2021Zm400%200Q657-81%20636-102.21t-21-51Q615-183%20636.21-204t51-21Q717-225%20738-203.79t21%2051Q759-123%20737.79-102t-51%2021ZM235-741l110%20228h288l125-228H235Zm-30-60h589.07q22.97%200%2034.95%2021%2011.98%2021-.02%2042L694-495q-11%2019-28.56%2030.5T627-453H324l-56%20104h491v60H277q-42%200-60.5-28t.5-63l64-118-152-322H51v-60h117l37%2079Zm140%20288h288-288Z'/%3e%3c/symbol%3e%3csymbol%20fill='currentColor'%20viewBox='0%200%2015%2013'%20id='signature'%3e%3cpath%20d='M8.05%206.483c.811-.6%201.444-1.258%201.9-1.975.456-.716.683-1.43.683-2.141%200-.356-.058-.617-.175-.784a.55.55%200%200%200-.475-.25c-.522%200-.983.442-1.383%201.325-.4.884-.6%201.88-.6%202.992%200%20.156.003.303.008.442.006.139.02.27.042.391ZM.667%2012.667v-1.334H2v1.334H.667Zm2.666%200v-1.334h1.334v1.334H3.333Zm2.667%200v-1.334h1.333v1.334H6Zm2.667%200v-1.334H10v1.334H8.667Zm2.666%200v-1.334h1.334v1.334h-1.334ZM.933%2010%200%209.067%201.067%208%200%206.933.933%206%202%207.067%203.067%206%204%206.933%202.933%208%204%209.067%203.067%2010%202%208.933.933%2010Zm8.034-.667c-.334%200-.64-.064-.917-.191a1.777%201.777%200%200%201-.717-.625%208.15%208.15%200%200%201-.858.416c-.294.123-.597.245-.908.367L5.1%208.05a11.923%2011.923%200%200%200%201.717-.767%206.366%206.366%200%200%201-.125-.8%209.779%209.779%200%200%201-.042-.933c0-1.6.317-2.925.95-3.975C8.233.525%209.028%200%209.983%200c.578%200%201.05.214%201.417.642.367.427.55%201.025.55%201.791%200%20.956-.303%201.9-.908%202.834-.606.933-1.448%201.772-2.525%202.516a.859.859%200%200%200%20.241.175c.084.04.17.059.259.059.289%200%20.625-.184%201.008-.55.383-.367.73-.85%201.042-1.45l1.216.566a3.183%203.183%200%200%200-.183.684c-.044.266-.039.5.017.7.11-.056.241-.15.391-.284.15-.133.303-.3.459-.5l1.05.817c-.29.4-.623.722-1%20.967-.378.244-.728.366-1.05.366-.234%200-.442-.07-.625-.208-.184-.139-.336-.353-.459-.642a3.725%203.725%200%200%201-.95.634%202.346%202.346%200%200%201-.966.216Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='skip_next'%3e%3cpath%20d='M680-240v-480h60v480h-60Zm-460%200v-480l346%20240-346%20240Zm60-240Zm0%20125%20181-125-181-125v250Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='south'%3e%3cpath%20d='M480-80%20200-360l42-42%20208%20208v-686h60v686l208-208%2042%2042L480-80Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='south_east'%3e%3cpath%20d='M364-200v-60h294L160-758l42-42%20498%20498v-294h60v396H364Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='speed'%3e%3cpath%20d='M407-325q23%2023%2066.5%2021.5T537-336l216-339-335%20219q-30%2020-32%2064t21%2067Zm71-474q57%200%20119%2018.5T716-717l-52%2037q-45-30-96.5-44.5T477.98-739q-140.47%200-239.23%20100.22Q140-538.57%20140-396.02%20140-351%20152.5-305q12.5%2046%2035.5%2085h579q22-36%2035-84t13-94q0-42-12.5-90.5T758-578l39-52q38%2056%2057%20112.5T875-404q2%2060-12%20113t-41%2098q-12%2023-25.5%2028t-33.5%205H192q-17%200-33.5-8.5T134-193q-26-48-40-97.5T80-396q0-83%2031.5-156.5t85.5-128Q251-735%20323.68-767T478-799Zm-9%20331Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='stacked_email'%3e%3cpath%20d='M220-240q-24%200-42-18.5T160-300v-480q0-24%2018-42t42-18h640q24%200%2042%2018t18%2042v480q0%2023-18%2041.5T860-240H220Zm320-200L220-706v406h640v-406L540-440Zm0-79%20315-261H225l315%20261ZM100-120q-24%200-42-18.5T40-180v-559h60v559h720v60H100Zm760-586v-74H220v74-74h640v74Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='style'%3e%3cpath%20d='m152-145-23-7q-32-14-43.5-48t6.5-67l60-136v258Zm186%2078q-34%200-58-24t-24-58v-207l92%20262q2%208%206%2014t10%2013h-26Zm188-24q-21%209-44-4t-33-36L258-650q-10-23%202-45t37-32l318-115q23-8%2045%204t32%2036l191%20513q7%2025-3%2049t-35%2033L526-91Zm-82-495q12%200%2021-9t9-21q0-12-9-21t-21-9q-12%200-21%209t-9%2021q0%2012%209%2021t21%209Zm63%20437%20318-116-191-519-318%20115%20191%20520ZM316-669l318-115-318%20115Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='terminal'%3e%3cpath%20d='M140-160q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h680q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H140Zm0-60h680v-436H140v436Zm160-72-42-42%20103-104-104-104%2043-42%20146%20146-146%20146Zm190%204v-60h220v60H490Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='title'%3e%3cpath%20d='M430-160v-540H200v-100h560v100H530v540H430Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='toggle_on'%3e%3cpath%20d='M280-240q-100%200-170-70T40-480q0-100%2070-170t170-70h400q100%200%20170%2070t70%20170q0%20100-70%20170t-170%2070H280Zm0-60h400q75%200%20127.5-52.5T860-480q0-75-52.5-127.5T680-660H280q-75%200-127.5%2052.5T100-480q0%2075%2052.5%20127.5T280-300Zm400.94-79q42.06%200%2071.56-29.44t29.5-71.5q0-42.06-29.44-71.56t-71.5-29.5q-42.06%200-71.56%2029.44t-29.5%2071.5q0%2042.06%2029.44%2071.56t71.5%2029.5ZM480-480Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='undo'%3e%3cpath%20d='M259-200v-60h310q70%200%20120.5-46.5T740-422q0-69-50.5-115.5T569-584H274l114%20114-42%2042-186-186%20186-186%2042%2042-114%20114h294q95%200%20163.5%2064T800-422q0%2094-68.5%20158T568-200H259Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='unfold_less'%3e%3cpath%20d='m343-160-43-43%20180-180%20180%20180-43%2043-137-137-137%20137Zm137-417L300-757l43-43%20137%20137%20137-137%2043%2043-180%20180Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='unfold_more'%3e%3cpath%20d='M480-120%20300-300l44-44%20136%20136%20136-136%2044%2044-180%20180ZM344-612l-44-44%20180-180%20180%20180-44%2044-136-136-136%20136Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='upload_file'%3e%3cpath%20d='M452-202h60v-201l82%2082%2042-42-156-152-154%20154%2042%2042%2084-84v201ZM220-80q-24%200-42-18t-18-42v-680q0-24%2018-42t42-18h361l219%20219v521q0%2024-18%2042t-42%2018H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186%20680-680Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='view_week'%3e%3cpath%20d='M140-220h187v-520H140v520Zm247%200h186v-520H387v520Zm246%200h187v-520H633v520Zm-493%2060q-24%200-42-18t-18-42v-520q0-24%2018-42t42-18h680q24%200%2042%2018t18%2042v520q0%2024-18%2042t-42%2018H140Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='visibility'%3e%3cpath%20d='M480.12-330q70.88%200%20120.38-49.62t49.5-120.5q0-70.88-49.62-120.38T479.88-670Q409-670%20359.5-620.38T310-499.88q0%2070.88%2049.62%20120.38t120.5%2049.5Zm-.36-58q-46.76%200-79.26-32.74-32.5-32.73-32.5-79.5%200-46.76%2032.74-79.26%2032.73-32.5%2079.5-32.5%2046.76%200%2079.26%2032.74%2032.5%2032.73%2032.5%2079.5%200%2046.76-32.74%2079.26-32.73%2032.5-79.5%2032.5Zm.24%20188q-146%200-264-83T40-500q58-134%20176-217t264-83q146%200%20264%2083t176%20217q-58%20134-176%20217t-264%2083Zm0-300Zm-.17%20240Q601-260%20702.5-325.5%20804-391%20857-500q-53-109-154.33-174.5Q601.34-740%20480.17-740T257.5-674.5Q156-609%20102-500q54%20109%20155.33%20174.5Q358.66-260%20479.83-260Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='warning'%3e%3cpath%20d='m40-120%20440-760%20440%20760H40Zm104-60h672L480-760%20144-180Zm340.18-57q12.82%200%2021.32-8.68%208.5-8.67%208.5-21.5%200-12.82-8.68-21.32-8.67-8.5-21.5-8.5-12.82%200-21.32%208.68-8.5%208.67-8.5%2021.5%200%2012.82%208.68%2021.32%208.67%208.5%2021.5%208.5ZM454-348h60v-224h-60v224Zm26-122Z'/%3e%3c/symbol%3e%3csymbol%20viewBox='0%20-960%20960%20960'%20fill='currentColor'%20id='west'%3e%3cpath%20d='M360-200%2080-480l280-280%2042%2042-208%20208h686v60H194l208%20208-42%2042Z'/%3e%3c/symbol%3e%3c/svg%3e").then(e=>e.text())}),(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hidden",innerHTML:n.value},null,8,Vd)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))}}),zd={class:"min-w-0 grow"},Pd=e.defineComponent({__name:"IconTitle",props:{title:{},subTitle:{},icon:{},variant:{default:"default"},suffix:{},size:{default:"md"},avatar:{type:Boolean,default:!1},uppercase:{type:Boolean,default:!0},resourceId:{}},setup(t){const n=t,o=e.computed(()=>{switch(n.variant){case"transparent":return"";case"warning":return"bg-gradient-to-br backdrop-blur-sm from-orange-600/20 to-yellow-200/20";case"neutral":return"bg-neutral-100";default:return"bg-gradient-to-br backdrop-blur-sm from-peach-100/20 to-mint-100/20"}});return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex min-w-0 items-center",{"gap-4":["md","lg"].includes(t.size),"gap-3":"sm"===t.size,"gap-2":"xs"===t.size&&"transparent"!==t.variant,"gap-1":"xs"===t.size&&"transparent"===t.variant}])},[t.icon?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{[o.value]:!0,"h-9 w-9":["md","lg"].includes(t.size),"h-8 w-8":"sm"===t.size,"h-6 w-6":"xs"===t.size},"flex shrink-0 items-center justify-center rounded-md"])},[t.icon?(e.openBlock(),e.createBlock(e.unref(y),{key:0,size:["sm","xs"].includes(t.size)?"xs":"md",icon:t.icon},null,8,["size","icon"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.avatar&&t.title?(e.openBlock(),e.createBlock(e.unref(ks),{key:1,initials:t.title.slice(0,1),"color-hash":t.title,size:["sm","xs"].includes(t.size)?"lg":"xl"},null,8,["initials","color-hash","size"])):e.createCommentVNode("",!0),e.createElementVNode("div",zd,[t.title||n.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{"text-3xl":"lg"===t.size,"text-2xl":"md"===t.size,"text-base":"sm"===t.size,"text-xs text-gray-600":"xs"===t.size,"text-gray-900":"xs"!==t.size,uppercase:"xs"===t.size&&t.uppercase,"font-general-sans":["md","lg"].includes(t.size)},"flex flex-wrap items-center break-words font-semibold"])},[e.renderSlot(n.$slots,"prefix"),e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),e.renderSlot(n.$slots,"suffix",{},()=>[e.createTextVNode(e.toDisplayString(t.suffix),1)])],2)):e.createCommentVNode("",!0),t.subTitle||n.$slots.subTitle&&!e.unref(zi)(n.$slots.subTitle({}))?(e.openBlock(),e.createBlock(e.unref(m),{key:1,variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"subTitle",{},()=>[e.createTextVNode(e.toDisplayString(t.subTitle),1)])]),_:3})):e.createCommentVNode("",!0)])],2))}}),Dd={class:"flex items-start gap-2"},Id=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"default"},hasIcon:{type:Boolean}},setup(t){const n={default:"info",warning:"error",danger:"error",success:"check_circle"};return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center justify-between gap-2 rounded border px-4 py-3 text-sm",{"border-blue-200/75 bg-blue-100 text-blue-700":"default"===t.variant,"border-red-100 bg-red-50 text-red-700":"danger"===t.variant,"border-yellow-200 bg-yellow-200/75 text-yellow-700":"warning"===t.variant,"border-green-200 bg-green-200/90 text-green-700":"success"===t.variant}])},[e.createElementVNode("div",Dd,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(y),{key:0,icon:n[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(o.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(o.$slots,"cta")])],2))}}),qd=e.defineComponent({__name:"IntlProvider",props:{locale:{},dateLocale:{},messages:{},showTimezones:{type:Boolean,default:!0}},setup(t){const n=t;return e.provide(ja,(({locale:t,dateLocale:n,messages:o})=>{const{onError:a}=Bn(),l=e.computed(()=>t.value||"en-US"),i=e.computed(()=>n.value||l.value),r=e.computed(()=>({...En,...o.value})),c=Ga({locale:l.value,messages:r.value},Wa),s=Ga({locale:i.value},Ya);e.watch(l,e=>{c.locale=e}),e.watch(r,e=>{c.messages=e}),e.watch(i,e=>{s.locale=e});const d=({id:e,defaultMessage:t,description:n},o)=>c.formatMessage({id:e,defaultMessage:t,description:n},o),u=e=>{const t={year:"numeric",month:"2-digit",day:"2-digit",timeZone:e.timezone&&Cn(e.timezone)},n=Ka(i.value)?{...t,month:"short",day:"numeric"}:t,o=Ka(i.value)?{...Qa,hour12:!0}:Qa;try{switch(e.format){case"date":return new Intl.DateTimeFormat(i.value,n).format(new Date(e.date));case"dateTime":return new Intl.DateTimeFormat(i.value,{...n,...o}).format(new Date(e.date));case"monthYearTime":return new Intl.DateTimeFormat(i.value,{...n,...o,day:void 0,second:void 0}).format(new Date(e.date))}}catch(l){return null==a||a(new Error("Failed to format date",{cause:l})),u({...e,timezone:void 0,offsetType:"local",format:"dateTime"})}};return{...c,$t:d,formatMessage:d,formatDate:u,formatNumber:s.formatNumber}})({locale:e.computed(()=>n.locale),dateLocale:e.computed(()=>n.dateLocale),messages:e.computed(()=>n.messages)})),(t,n)=>e.renderSlot(t.$slots,"default")}}),$d={class:"w-full table-fixed"};const Od=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("table",$d,[e.renderSlot(t.$slots,"default")])}]]),Hd=e.defineComponent({__name:"InvoiceTableData",props:{number:{type:Boolean,default:!1},hasPadding:{type:Boolean,default:!0}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({"text-right tabular-nums":t.number,"py-2":t.hasPadding})},[e.renderSlot(n.$slots,"default")],2))}),Ad=e.defineComponent({__name:"InvoiceTableHeader",props:{left:{type:Boolean,default:!1},right:{type:Boolean,default:!1}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(["border-b py-1.5 text-xs font-bold uppercase text-gray-400",{"text-left":t.left,"text-right":t.right}])},[e.renderSlot(n.$slots,"default")],2))}),Ld={class:"flex items-center"},Zd={key:0,class:"text-xs text-gray-400"},Rd={class:"flex items-center"},Fd={key:0},Ud=e.defineComponent({__name:"InvoiceSubLineRow",props:{subLines:{},isOpen:{type:Boolean},lineOrder:{},periodOrder:{},groupOrder:{},processingOnlyCustomers:{},showTaxPerLineItem:{type:Boolean,default:!0}},setup(t){const{formatMessage:n}=Xa(),o=t,a=e=>{var t;const a=null==(t=o.processingOnlyCustomers)?void 0:t.find(t=>t.id===e);return a?Ai(a):n({id:"generic.not_available",defaultMessage:"N/A",description:"Used in scenarios where no data is available to be displayed"})},l=e=>{var t;return(null==(t=e.usage_based_conversion)?void 0:t.conditions)??e.conditions};return(n,o)=>t.subLines&&t.isOpen?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.processingOnlyCustomers?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.subLines,(a,i)=>(e.openBlock(),e.createElementBlock("tr",{key:i,class:e.normalizeClass(i>0?"border-t":"")},[e.createVNode(Hd,null,{default:e.withCtx(()=>{var o,i,r,c,s,d;return[e.createElementVNode("div",Ld,[e.renderSlot(n.$slots,"invoice-line-prefix",{lineOrder:t.lineOrder,periodOrder:t.periodOrder,groupOrder:t.groupOrder}),e.createElementVNode("div",null,[e.createElementVNode("div",null,[a.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(a.description),1)],64)):a.details.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(a.details.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]),(null==(o=l(a))?void 0:o.name)||(null==(i=l(a))?void 0:i.meter_properties)?(e.openBlock(),e.createElementBlock("div",Zd,[(null==(r=l(a))?void 0:r.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(c=l(a))?void 0:c.name),1)],64)):(null==(s=l(a))?void 0:s.meter_properties)?(e.openBlock(),e.createBlock(e.unref(Qs),{key:1,comparators:null==(d=l(a))?void 0:d.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]}),_:2},1024),e.createVNode(Hd,{number:"",class:"text-right tabular-nums"},{default:e.withCtx(()=>{var t,n;return[e.createTextVNode(e.toDisplayString((null==(n=null==(t=a.details.conversion)?void 0:t.credits)?void 0:n.quantity)??"N/A"),1)]}),_:2},1024),e.createVNode(Hd,{class:"text-right tabular-nums"},{default:e.withCtx(()=>{var t,n;return[(null==(t=a.details.band)?void 0:t.amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:a.details.band.amount},null,8,["value"])):(null==(n=a.details.band)?void 0:n.percentage)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(a.details.band.percentage)+"% ",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]}),_:2},1024),t.showTaxPerLineItem?(e.openBlock(),e.createBlock(Hd,{key:0},{default:e.withCtx(()=>[...o[0]||(o[0]=[e.createTextVNode(" ",-1)])]),_:1})):e.createCommentVNode("",!0),a.details.amount?(e.openBlock(),e.createBlock(Hd,{key:1,class:"text-right tabular-nums"},{default:e.withCtx(()=>[e.createVNode(ar,{value:a.details.amount},null,8,["value"])]),_:2},1024)):e.createCommentVNode("",!0)],2))),128)),t.processingOnlyCustomers?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.subLines,(t,o)=>(e.openBlock(),e.createElementBlock("tr",{key:o,tabindex:void 0,class:e.normalizeClass(["group",{"border-t":0!==o}])},[e.createVNode(Hd,{class:"pl-4"},{default:e.withCtx(()=>[e.createElementVNode("div",Rd,[t.processing_only_customer_resource_id?(e.openBlock(),e.createElementBlock("div",Fd,e.toDisplayString(a(t.processing_only_customer_resource_id)),1)):e.createCommentVNode("",!0)])]),_:2},1024),e.renderSlot(n.$slots,"subline-content",{details:t.details,hideTaxDetails:!0})],2))),128)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)}}),Gd=["tabindex","onClick"],jd={class:"flex items-center"},Qd=e.defineComponent({__name:"InvoiceCommitment",props:{commitments:{},groupOrder:{},invoicePeriodOrder:{}},setup(t){const n=Xa(),{getIsOpen:o,toggle:a}=bl(),l=(e,t)=>`${e}-line-${t}`;return(i,r)=>(e.openBlock(),e.createBlock(Od,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(Ad,{left:"",colspan:"5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.unit",defaultMessage:"Unit",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(Ad,{right:"",class:"w-60"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.commitments,(c,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":c.sub_lines}]),tabindex:c.sub_lines?0:void 0,onClick:e=>{return n=t.groupOrder,o=c.line_order,void a(l(n,o));var n,o}},[e.createVNode(Hd,{colspan:"2"},{default:e.withCtx(()=>{var a,r;return[c.sub_lines?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(o)(l(t.groupOrder,c.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",jd,[e.renderSlot(i.$slots,"invoice-line-prefix",{lineOrder:c.line_order,periodOrder:t.invoicePeriodOrder,groupOrder:t.groupOrder}),c.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(c.description),1)],64)):(null==(a=c.details)?void 0:a.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(r=c.details)?void 0:r.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"generic.not_available",defaultMessage:"N/A",description:"Used in scenarios where no data is available to be displayed"})),1)],64))])]}),_:2},1024),e.createVNode(Hd,{colspan:"3"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>{var t,n;return[(null==(t=c.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:null==(n=c.details)?void 0:n.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,Gd),e.createVNode(Ud,{ref_for:!0,ref:l(t.groupOrder,c.line_order),"sub-lines":c.sub_lines??[],"line-order":c.line_order,"period-order":t.invoicePeriodOrder,"group-order":t.groupOrder,"is-open":e.unref(o)(l(t.groupOrder,c.line_order))},null,8,["sub-lines","line-order","period-order","group-order","is-open"])],64))),128))]),_:3}))}}),Kd=["tabindex","onClick"],Wd={class:"flex items-center"},Yd=e.defineComponent({__name:"InvoiceDiscountMarkup",props:{lines:{},type:{},handleToggleItems:{type:Function},formatIndex:{type:Function},expandedItems:{},isExpandable:{type:Boolean},invoicePeriodOrder:{},groupOrder:{}},setup(t){const n=Xa(),{getIsOpen:o,toggle:a}=bl(),l=(e,t)=>`${e}-line-${t}`;return(i,r)=>(e.openBlock(),e.createBlock(Od,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(Ad,{left:"",class:"w-3/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(Ad,{colspan:"2"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(Ad,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(n).$t({id:"invoice.table_header.discount",defaultMessage:"Discount",description:"Table header for discount column"}):e.unref(n).$t({id:"invoice.table_header.markup",defaultMessage:"Markup",description:"Table header for markup column"})),1)]),_:1}),e.createVNode(Ad,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(n).$t({id:"invoice.table_header.total",defaultMessage:"Total",description:"Table header for total column"}):" "),1)]),_:1}),e.createVNode(Ad,{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lines,(n,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:e=>{return o=t.groupOrder,i=n.line_order,void a(l(o,i));var o,i}},[e.createVNode(Hd,{class:"w-3/5"},{default:e.withCtx(()=>{var a,r;return[n.sub_lines?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(o)(l(t.groupOrder,n.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",Wd,[e.renderSlot(i.$slots,"invoice-line-prefix",{lineOrder:n.line_order,periodOrder:t.invoicePeriodOrder,groupOrder:t.groupOrder}),n.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(n.description),1)],64)):(null==(a=n.details)?void 0:a.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(r=n.details)?void 0:r.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode("N/A")],64))])]}),_:2},1024),e.createVNode(Hd,{colspan:"2"},{default:e.withCtx(()=>[...r[1]||(r[1]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(Hd,{class:"w-1/5 tabular-nums"},{default:e.withCtx(()=>{var t,o,a;return[e.createTextVNode(e.toDisplayString((null==(o=null==(t=n.details)?void 0:t.band)?void 0:o.percentage)?`${null==(a=n.details)?void 0:a.band.percentage}%`:" "),1)]}),_:2},1024),e.createVNode(Hd,{class:"w-1/5"},{default:e.withCtx(()=>[...r[2]||(r[2]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(Hd,{number:"",class:"w-1/5"},{default:e.withCtx(()=>{var t;return[(null==(t=n.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:n.details.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,Kd),e.createVNode(Ud,{ref_for:!0,ref:l(t.groupOrder,n.line_order),"sub-lines":n.sub_lines??[],"line-order":n.line_order,"is-open":e.unref(o)(l(t.groupOrder,n.line_order)),"period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},null,8,["sub-lines","line-order","is-open","period-order","group-order"])],64))),128))]),_:3}))}}),Xd=["tabindex"],Jd={key:0},eu={colspan:"2",class:"p-0"},tu={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},nu=e.defineComponent({__name:"InvoiceGroupCommitment",props:{group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{},showTaxPerLineItem:{type:Boolean}},setup(t){const n=Xa();return(o,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:a[0]||(a[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[a[1]||(a[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),a[2]||(a[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(Hd,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(n).$t({id:"invoice.commitment_heading",defaultMessage:"Commitment",description:"Heading used for commitment in invoice tables"})),1)]),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(ar,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(ar,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,Xd),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",Jd,[e.createElementVNode("td",eu,[e.createElementVNode("div",tu,[e.createVNode(Qd,{commitments:t.group.lines,"format-index":t.formatIndex,"handle-toggle-items":t.handleToggleItems,"expanded-items":t.expandedItems,"is-expandable":t.isExpandable,"invoice-period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["commitments","format-index","handle-toggle-items","expanded-items","is-expandable","invoice-period-order","group-order"])])])])):e.createCommentVNode("",!0)],64))}}),ou=["tabindex"],au={key:0},lu={colspan:"2",class:"p-0"},iu={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},ru=e.defineComponent({__name:"InvoiceGroupDiscountMarkup",props:{heading:{},group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{},showTaxPerLineItem:{type:Boolean}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:o[0]||(o[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[o[1]||(o[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),o[2]||(o[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(Hd,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.heading),1)]),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(ar,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(ar,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,ou),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",au,[e.createElementVNode("td",lu,[e.createElementVNode("div",iu,[e.createVNode(Yd,{type:t.group.type,lines:t.group.lines,"format-index":t.formatIndex,"handle-toggle-items":t.handleToggleItems,"expanded-items":t.expandedItems,"is-expandable":t.isExpandable,"invoice-period-order":t.invoicePeriodOrder,"group-order":t.groupOrder},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["type","lines","format-index","handle-toggle-items","expanded-items","is-expandable","invoice-period-order","group-order"])])])])):e.createCommentVNode("",!0)],64))}),cu={class:"flex gap-4"},su={class:"flex items-center gap-2"},du=e.defineComponent({__name:"PricingClauseChip",props:{iconName:{},chipColor:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",cu,[e.createVNode(pn,{color:t.chipColor},{default:e.withCtx(()=>[e.createElementVNode("div",su,[e.createVNode(y,{icon:t.iconName,size:"xs"},null,8,["icon"]),e.createElementVNode("span",null,[e.renderSlot(n.$slots,"chip-content")])])]),_:3},8,["color"]),e.renderSlot(n.$slots,"chip-postfix")]))}),uu={class:"flex flex-col gap-2"},pu=e.defineComponent({__name:"InvoicePricingClauseChip",props:{clauseType:{},priceDetailsBand:{},invoiceLineDescription:{}},setup(t){const n=Xa();return(o,a)=>(e.openBlock(),e.createElementBlock("div",uu,[e.createElementVNode("span",null,e.toDisplayString(t.invoiceLineDescription),1),"DISCOUNT"===t.clauseType&&t.priceDetailsBand?(e.openBlock(),e.createBlock(e.unref(du),{key:0,"icon-name":"south_east","chip-color":"yellow"},e.createSlots({_:2},[t.priceDetailsBand.amount?{name:"chip-content",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.amount_discount",defaultMessage:"{amount} discount",description:"Represents a certain amount of discount, where {amount} is replaced with the amount"},{amount:e.unref(Gl)(t.priceDetailsBand.amount)}).toUpperCase()),1)]),key:"0"}:t.priceDetailsBand.percentage?{name:"chip-content",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.percentage_discount",defaultMessage:"{percentage}% discount",description:"Represents a certain percentage of discount, where {percentage} is replaced with the percentage (number only)"},{percentage:t.priceDetailsBand.percentage??"0"}).toUpperCase()),1)]),key:"1"}:void 0]),1024)):"ADJUSTMENT"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(du),{key:1,"icon-name":"info","chip-color":"yellow"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.adjustment_chip_body",defaultMessage:"Adjustment",description:"Used on invoice lines to mark as adjusted"}).toUpperCase()),1)]),_:1})):"MARKUP"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(du),{key:2,"icon-name":"north_east","chip-color":"teal-light"},{"chip-content":e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.markup_percentage",defaultMessage:"{percentage}% markup",description:"Markup percentage, where {percentage} is replaced with the percentage (number only)"},{percentage:(null==(o=t.priceDetailsBand)?void 0:o.percentage)??"0"}).toUpperCase()),1)]}),_:1})):"COMMITMENT"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(du),{key:3,"icon-name":"sell","chip-color":"orange"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.commitment",defaultMessage:"commitment",description:"Used on invoice lines to mark as commitment"}).toUpperCase()),1)]),_:1})):e.createCommentVNode("",!0)]))}}),mu={class:"items-left flex flex-col gap-1 leading-none"},fu={class:"flex items-center"},hu={key:0,class:"ml-1 text-xs text-gray-400"},vu={key:0},gu={key:1,class:"text-xs text-gray-400"},bu={key:2,class:"text-xs text-gray-400"},yu={class:"text-[9pt] text-slate-600"},xu=e.defineComponent({__name:"InvoiceLineRow",props:{data:{},isLast:{type:Boolean},periodOrder:{},groupOrder:{},groupType:{},isExpanded:{type:Boolean}},setup(t){const{$t:n,formatNumber:o}=Xa(),a=t,l=e=>{if(!e)return"";let t="0",n="+";if(e.tier_lower_bound&&"number"in e.tier_lower_bound)t=o(+e.tier_lower_bound.number);else if(e.tier_lower_bound&&"amount"in e.tier_lower_bound){const{quantity:n,currency:o}=e.tier_lower_bound.amount;t=`${o} ${n??0}`}if(e.tier_top_bound&&"number"in e.tier_top_bound)n=` - ${o(+e.tier_top_bound.number)}`;else if(e.tier_top_bound&&"amount"in e.tier_top_bound){const{quantity:t,currency:o}=e.tier_top_bound.amount;n=` - ${o} ${t}`}return t+n},i=e.computed(()=>{var e;return null==(e=a.data.details)?void 0:e.included_volume_details}),r=e.computed(()=>{var e,t;return(null==(e=a.data)?void 0:e.product_items)?ni(a.data.product_items.map(e=>e.name)):(null==(t=a.data)?void 0:t.description)??"N/A"});return(o,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Hd,{class:"align-top"},{default:e.withCtx(()=>{var a,c,s,d,u,p,m,f,h,v,g,b,x,k,_,w,B,C;return[e.createElementVNode("div",mu,[e.createElementVNode("div",null,[t.data.sub_lines?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 -translate-y-2 text-slate-400",{"-rotate-90":!t.isExpanded}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",fu,[e.renderSlot(o.$slots,"invoice-line-prefix",{lineOrder:t.data.line_order,periodOrder:t.periodOrder,groupOrder:t.groupOrder}),["PRICING","REVENUE","ONE_OFF"].includes(t.data.type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(r.value)+" ",1),"ONE_OFF"===t.data.type&&"ONE_OFF"!==t.groupType?(e.openBlock(),e.createElementBlock("div",hu,e.toDisplayString(e.unref(jl)(t.data.type)),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(pu,{key:1,"invoice-line-description":r.value,"clause-type":t.data.type,"price-details-band":null==(a=t.data.details)?void 0:a.band},null,8,["invoice-line-description","clause-type","price-details-band"]))])]),["TIERED","STAIR_STEP","TOP_TIERED"].includes(t.data.pricing_type)&&!i.value&&(null==(c=t.data.details)?void 0:c.band)?(e.openBlock(),e.createElementBlock("div",vu,e.toDisplayString(l(null==(s=t.data.details)?void 0:s.band)),1)):e.createCommentVNode("",!0),(null==(u=null==(d=t.data.details)?void 0:d.split_pricing)?void 0:u.meter_properties)?(e.openBlock(),e.createElementBlock("span",gu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(null==(m=null==(p=t.data.details)?void 0:p.split_pricing)?void 0:m.meter_properties,(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(e.toDisplayString(n.meter_property.name)+": "+e.toDisplayString(n.value),1),o<t.data.details.split_pricing.meter_properties.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(", "))],64)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),(null==(f=t.data.conditions)?void 0:f.name)||(null==(h=t.data.conditions)?void 0:h.meter_properties)?(e.openBlock(),e.createElementBlock("div",bu,[t.data.conditions.name?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.data.conditions.name),1)],64)):t.data.conditions.meter_properties?(e.openBlock(),e.createBlock(e.unref(Qs),{key:1,comparators:t.data.conditions.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("span",yu,["BELOW_MINIMUM_AMOUNT"===(null==(v=t.data.details)?void 0:v.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice.line.band_minimum_amount",defaultMessage:"Band minimum amount",description:"Minimum amount specified in a band"}))+" ",1),(null==(g=t.data.details.band)?void 0:g.minimum_amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:t.data.details.band.minimum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"NOT_HIT"===(null==(b=t.data.details)?void 0:b.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice.line.price_bound_within_bounds",defaultMessage:"Within bounds",description:"Label used when min and max bounds are specified but reached"})),1)],64)):"ABOVE_MAXIMUM_AMOUNT"===(null==(x=t.data.details)?void 0:x.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice.line.price_bound_maximum_amount",defaultMessage:"Maximum amount",description:"Minimum amount specified in a band"}))+" ",1),(null==(k=t.data.details.band)?void 0:k.maximum_amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:t.data.details.band.maximum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"BELOW_MINIMUM_NUMBER"===(null==(_=t.data.details)?void 0:_.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice.line.band_minimum_number",defaultMessage:"Minimum number",description:"Minimum number of units specified in a band"}))+" "+e.toDisplayString(null==(w=t.data.details.band)?void 0:w.minimum_number),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(B=t.data.details)?void 0:B.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(e.unref(n)({id:"invoice.line.band_maximum_number",defaultMessage:"Maximum number",description:"Maximum number of units specified in a band"}))+" "+e.toDisplayString(null==(C=t.data.details.band)?void 0:C.maximum_number),1)],64)):e.createCommentVNode("",!0)])]}),_:3}),e.renderSlot(o.$slots,"line-content",{details:t.data.details})],64))}}),ku={key:4,class:"text-xs text-gray-400"},_u={key:1,class:"tabular-nums"},wu={key:0,class:"text-2xs text-gray-500"},Bu={class:"text-2xs text-gray-500"},Cu={key:0,class:"text-2xs text-gray-500"},Eu={key:1,class:"text-2xs text-gray-500"},Nu={key:0,class:"text-2xs text-gray-500"},Tu={key:1,class:"text-2xs text-gray-500"},Mu={key:2,class:"text-2xs text-gray-500"},Vu={class:"text-2xs text-gray-500"},Su={key:0,class:"flex justify-end"},zu={class:"flex items-center justify-end gap-1"},Pu={key:0,class:"text-2xs tabular-nums text-gray-500"},Du={key:1,class:"inline-block"},Iu={class:"flex items-center justify-end gap-1"},qu=e.defineComponent({__name:"InvoiceRowContent",props:{pricingType:{},details:{},taxCategories:{},amountType:{},hideTaxDetails:{type:Boolean},modelType:{},showTaxPerLineItem:{type:Boolean,default:!0}},setup(t){const n=t,o=e.computed(()=>{var e;return null==(e=n.details)?void 0:e.included_volume_details}),a=e.computed(()=>{var e;return null==(e=o.value)?void 0:e.available_included_volume}),{$t:l,formatNumber:i}=Xa(),r=e.computed(()=>{var e,t;const o=null==(t=null==(e=n.details)?void 0:e.band)?void 0:t.tier_top_bound;return o&&"number"in o?o.number:void 0}),c=e.computed(()=>{if(void 0!==r.value)return l({id:"invoice.line.per_units_tier_top_bound",defaultMessage:"per {count, plural, one {unit} other {{formattedCount} units}}",description:"Number of units a tiered price band applies per. Singular form omits the count."},{count:+r.value,formattedCount:r.value})}),s=e.computed(()=>{var e,t;const o=null==(t=null==(e=n.details)?void 0:e.band)?void 0:t.block_size;return o&&"number"in o?o.number:void 0}),d=e.computed(()=>{if(void 0!==s.value)return l({id:"invoice.line.per_units_block_size",defaultMessage:"Per {count, plural, one {unit} other {{formattedCount} units}}",description:"Number of units a price band block applies per. Singular form omits the count."},{count:+s.value,formattedCount:i(+s.value)})});return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Hd,{number:"",class:"align-top"},{default:e.withCtx(()=>{var n,o,r,c,s,d,u,p,m,f,h,v,g,b,y,x,k,_,w,B,C,E,N,T;return["PASS_THROUGH"!==t.pricingType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(null==(n=t.details)?void 0:n.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["BELOW_MINIMUM_AMOUNT"===(null==(o=t.details)?void 0:o.price_bound)||"ABOVE_MAXIMUM_AMOUNT"===(null==(r=t.details)?void 0:r.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(c=t.details)?void 0:c.meter_value.count),1)],64)):"NOT_HIT"===(null==(s=t.details)?void 0:s.price_bound)&&"amount"in t.details.meter_value&&(null==(u=null==(d=t.details)?void 0:d.meter_value)?void 0:u.amount)?(e.openBlock(),e.createBlock(ar,{key:1,value:null==(m=null==(p=t.details)?void 0:p.meter_value)?void 0:m.amount},null,8,["value"])):"NOT_HIT"===(null==(f=t.details)?void 0:f.price_bound)&&"number"in t.details.meter_value&&(null==(v=null==(h=t.details)?void 0:h.meter_value)?void 0:v.number)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(null==(b=null==(g=t.details)?void 0:g.meter_value)?void 0:b.number),1)],64)):"RATIO"===(null==(y=t.details)?void 0:y.price_bound)&&t.details.meter_value.number?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(e.unref(i)(+t.details.meter_value.number)),1)],64)):"BELOW_MINIMUM_NUMBER"===(null==(x=t.details)?void 0:x.price_bound)&&(null==(_=null==(k=t.details)?void 0:k.band)?void 0:_.minimum_number)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(e.unref(i)(+t.details.band.minimum_number)),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(w=t.details)?void 0:w.price_bound)&&(null==(C=null==(B=t.details)?void 0:B.band)?void 0:C.maximum_number)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[e.createTextVNode(e.toDisplayString(e.unref(i)(+t.details.band.maximum_number)),1)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(null==(E=t.details)?void 0:E.meter_value)&&"number"in t.details.meter_value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(i)(+t.details.meter_value.number)),1)],64)):(null==(N=t.details)?void 0:N.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(i)(+t.details.total_count)),1)],64)):(null==(T=t.details)?void 0:T.meter_value)&&"amount"in t.details.meter_value?(e.openBlock(),e.createBlock(ar,{key:2,value:t.details.meter_value.amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode("1")],64)),a.value?(e.openBlock(),e.createElementBlock("div",ku,["AMOUNT"===a.value.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(ar,{value:a.value.amount},null,8,["value"]),e.createTextVNode(" "+e.toDisplayString(e.unref(l)({id:"invoice.line.included",defaultMessage:"included",description:"Used to specify an included amount. Should be lowercase."})),1)],64)):"NUMBER"===a.value.type?(e.openBlock(),e.createElementBlock("span",_u,e.toDisplayString(a.value.number)+" "+e.toDisplayString(e.unref(l)({id:"invoice.line.units_included",defaultMessage:"units included",description:"Used to specify an included units. Should be lowercase."})),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)]}),_:1}),"PASS_THROUGH"===t.pricingType?(e.openBlock(),e.createBlock(Hd,{key:0,class:"text-right align-top"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({id:"invoice.line.pass_through",defaultMessage:"Pass through",description:"Name of the pass through pricing type"})),1)]),_:1})):(e.openBlock(),e.createBlock(Hd,{key:1,number:"",class:"align-top"},{default:e.withCtx(()=>{var n,o,a,i,r,s,u,p,m,f,h,v,g,b;return[(null==(n=t.details)?void 0:n.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["BELOW_MINIMUM_AMOUNT"===(null==(o=t.details)?void 0:o.price_bound)&&(null==(i=null==(a=t.details)?void 0:a.band)?void 0:i.minimum_amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:t.details.band.minimum_amount},null,8,["value"])):"ABOVE_MAXIMUM_AMOUNT"===(null==(r=t.details)?void 0:r.price_bound)&&(null==(u=null==(s=t.details)?void 0:s.band)?void 0:u.maximum_amount)?(e.openBlock(),e.createBlock(ar,{key:1,value:t.details.band.maximum_amount},null,8,["value"])):"RATIO"===t.details.price_bound?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(ar,{value:t.details.amount},null,8,["value"]),c.value?(e.openBlock(),e.createElementBlock("div",wu,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0)],64)):["NOT_HIT","BELOW_MINIMUM_NUMBER","ABOVE_MAXIMUM_NUMBER"].includes(null==(p=t.details)?void 0:p.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[(null==(m=t.details)?void 0:m.band)&&t.details.band.amount?(e.openBlock(),e.createBlock(ar,{key:0,value:t.details.band.amount},null,8,["value"])):(null==(f=t.details)?void 0:f.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):(null==(h=t.details)?void 0:h.band)&&t.details.amount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(ar,{value:t.details.amount},null,8,["value"]),e.createElementVNode("div",Bu,e.toDisplayString(e.unref(l)({id:"invoice.line.fixed_amount",defaultMessage:"Fixed amount",description:"Label shown when a price band charges a fixed amount regardless of usage"})),1)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(null==(v=t.details)?void 0:v.band)&&t.details.band.amount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(ar,{value:t.details.band.amount},null,8,["value"]),d.value?(e.openBlock(),e.createElementBlock("div",Cu,e.toDisplayString(d.value),1)):"RECURRING"!==t.modelType?(e.openBlock(),e.createElementBlock("div",Eu,e.toDisplayString(e.unref(l)({id:"invoice.line.per_unit",defaultMessage:"Per unit",description:"Label shown when a price band applies per single unit"})),1)):e.createCommentVNode("",!0)],64)):(null==(g=t.details)?void 0:g.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):(null==(b=t.details)?void 0:b.band)&&t.details.amount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(ar,{value:t.details.amount},null,8,["value"]),"STAIR_STEP"===t.pricingType||"STAIR_STEP_TOP_UP"===t.pricingType?(e.openBlock(),e.createElementBlock("div",Nu,e.toDisplayString(e.unref(l)({id:"invoice.line.fixed_amount",defaultMessage:"Fixed amount",description:"Label shown when a price band charges a fixed amount regardless of usage"})),1)):e.createCommentVNode("",!0),"TOP_TIERED"===t.pricingType?(e.openBlock(),e.createElementBlock("div",Tu,e.toDisplayString(e.unref(l)({id:"invoice.line.per_unit",defaultMessage:"Per unit",description:"Label shown when a price band applies per single unit"})),1)):e.createCommentVNode("",!0),"FLAT"===t.pricingType?(e.openBlock(),e.createElementBlock("div",Mu,e.toDisplayString(e.unref(l)({id:"invoice.line.flat_fee",defaultMessage:"Flat fee",description:"Label shown for a flat, usage-independent fee"})),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64))]}),_:1})),t.showTaxPerLineItem?(e.openBlock(),e.createBlock(Hd,{key:2,number:"",class:"align-top"},{default:e.withCtx(()=>[t.hideTaxDetails?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.taxCategories,(t,n)=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"tabular-nums"},[e.createElementVNode("div",null,e.toDisplayString(t.percentage)+"%",1),e.createElementVNode("div",Vu,[e.createVNode(ar,{value:t.tax_amount},null,8,["value"])])]))),128))]),_:1})):e.createCommentVNode("",!0),e.createVNode(Hd,{number:"",class:"align-top"},{default:e.withCtx(()=>{var o,a,i,r,c;return[(null==(a=null==(o=t.details)?void 0:o.amount)?void 0:a.currency)&&(null==(r=null==(i=t.details)?void 0:i.amount)?void 0:r.quantity)?(e.openBlock(),e.createElementBlock("div",Su,[t.showTaxPerLineItem?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.taxCategories,(n,o)=>{var a;return e.openBlock(),e.createElementBlock("div",{key:o,class:"inline-block"},[e.createElementVNode("div",zu,[e.createVNode(ar,{value:t.details.amount},null,8,["value"]),(null==(a=t.details)?void 0:a.pricing_amount.quantity)!==t.details.amount.quantity?(e.openBlock(),e.createBlock(dr,{key:0,placement:"top-end"},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({id:"invoice.line.original_currency",defaultMessage:"Original currency",description:"Original currency"}))+" ",1),e.createVNode(ar,{value:t.details.pricing_amount,class:"font-semibold"},null,8,["value"])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(y,{icon:"info",size:"2xs"})]),_:1})):e.createCommentVNode("",!0)]),t.hideTaxDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Pu,["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(l)({id:"invoice.line.excl.tax",defaultMessage:"Excl. tax",description:"Value excludes tax"}))+" ",1),e.createVNode(ar,{value:n.base_amount},null,8,["value"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(l)({id:"invoice.line.incl.tax",defaultMessage:"Incl. tax",description:"Value includes tax"}))+" ",1),e.createVNode(ar,{value:n.total_amount},null,8,["value"])],64))]))])}),128)):(e.openBlock(),e.createElementBlock("div",Du,[e.createElementVNode("div",Iu,[e.createVNode(ar,{value:t.details.amount},null,8,["value"]),(null==(c=t.details)?void 0:c.pricing_amount.quantity)!==t.details.amount.quantity?(e.openBlock(),e.createBlock(dr,{key:0,placement:"top-end"},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({id:"invoice.line.original_currency",defaultMessage:"Original currency",description:"Original currency"}))+" ",1),e.createVNode(ar,{value:t.details.pricing_amount,class:"font-semibold"},null,8,["value"])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(y,{icon:"info",size:"2xs"})]),_:1})):e.createCommentVNode("",!0)])])),e.renderSlot(n.$slots,"one-off-line-context-menu")])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("-")],64))]}),_:3})],64))}}),$u=["tabindex","onClick"],Ou=e.defineComponent({__name:"InvoiceLineGroup",props:{group:{},startDate:{},endDate:{},total:{},amountType:{},invoicePeriodOrder:{},processingOnlyCustomers:{},showTaxPerLineItem:{type:Boolean,default:!0}},setup(t){const n=t,o=e.computed(()=>{var e;return null==(e=[...n.group.lines??[]])?void 0:e.sort((e,t)=>e.line_order-t.line_order)}),a=Xa(),{getIsOpen:l,toggle:i}=bl(),r=(e,t)=>`${e}-line-${t}`;return(n,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(Od,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(Ad,{left:"",class:"w-1/5 text-gray-400"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.table_header.unit",defaultMessage:"Unit",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(Ad,{right:"",class:"w-1/5 text-gray-400"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(Ad,{right:"",class:"w-1/5 text-gray-400"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.table_header.price",defaultMessage:"Price",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),t.showTaxPerLineItem?(e.openBlock(),e.createBlock(Ad,{key:0,right:"",class:"w-1/5 text-gray-400"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.table_header.tax_rate",defaultMessage:"Tax rate",description:"Table header for the column containing the tax percentage of invoice groups"})),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Ad,{right:"",class:"w-1/5 text-gray-400"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.table_header.sub_total",defaultMessage:"Subtotal",description:"Table header for the column containing the subtotal for invoices"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(a,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",{tabindex:a.sub_lines?0:void 0,class:e.normalizeClass(["group",{"cursor-pointer":a.sub_lines,"border-t":0!==c}]),onClick:e=>{return n=t.group.group_order,o=a.line_order,void i(r(n,o));var n,o}},[(e.openBlock(),e.createBlock(xu,{key:c,data:a,"is-first-in-group":0===c,"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order,"is-last":c===o.value.length-1,"group-type":t.group.type,"is-expanded":e.unref(l)(r(t.group.group_order,a.line_order))},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"line-content":e.withCtx(o=>{var l,i;return[e.createVNode(qu,{details:o.details,"pricing-type":a.pricing_type,"tax-categories":a.tax_categories,"amount-type":t.amountType,"model-type":null==(i=null==(l=a.product_items)?void 0:l[0])?void 0:i.model_type,"show-tax-per-line-item":t.showTaxPerLineItem},e.createSlots({_:2},["ONE_OFF"===a.type?{name:"one-off-line-context-menu",fn:e.withCtx(t=>[e.renderSlot(n.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{lineOrder:a.line_order}))]),key:"0"}:void 0]),1032,["details","pricing-type","tax-categories","amount-type","model-type","show-tax-per-line-item"])]}),_:2},1032,["data","is-first-in-group","period-order","group-order","is-last","group-type","is-expanded"]))],10,$u),e.createVNode(Ud,{ref_for:!0,ref:r(t.group.group_order,a.line_order),"sub-lines":a.sub_lines??[],"processing-only-customers":t.processingOnlyCustomers,"line-order":a.line_order,"is-open":e.unref(l)(r(t.group.group_order,a.line_order)),"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order,"show-tax-per-line-item":t.showTaxPerLineItem},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"subline-content":e.withCtx(n=>{var o,l;return[e.createVNode(qu,{details:n.details,"hide-tax-details":n.hideTaxDetails,"pricing-type":a.pricing_type,"tax-categories":a.tax_categories,"amount-type":t.amountType,"model-type":null==(l=null==(o=a.product_items)?void 0:o[0])?void 0:l.model_type,"show-tax-per-line-item":t.showTaxPerLineItem},null,8,["details","hide-tax-details","pricing-type","tax-categories","amount-type","model-type","show-tax-per-line-item"])]}),_:2},1032,["sub-lines","processing-only-customers","line-order","is-open","period-order","group-order","show-tax-per-line-item"])],64))),128))]),_:3})]))}}),Hu={class:"flex items-center"},Au={key:2,class:"ml-1 inline-flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full bg-primary-100 text-2xs font-bold text-primary-600"},Lu=e.defineComponent({__name:"InvoiceTableRowLabel",props:{label:{},count:{}},setup(t){const n=e.ref(),o=e.ref(!1);return J(n,([e])=>{o.value=e.target.clientWidth<e.target.scrollWidth}),(a,l)=>(e.openBlock(),e.createElementBlock("div",Hu,[o.value?(e.openBlock(),e.createBlock(dr,{key:0,placement:"bottom-start",class:"min-w-0 leading-normal"},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{ref_key:"labelElement",ref:n,class:"block truncate"},e.toDisplayString(t.label),513)]),_:1})):(e.openBlock(),e.createElementBlock("span",{key:1,ref_key:"labelElement",ref:n,class:e.normalizeClass(["block",{truncate:void 0!==t.count}])},e.toDisplayString(t.label),3)),void 0!==t.count?(e.openBlock(),e.createElementBlock("span",Au,e.toDisplayString(t.count),1)):e.createCommentVNode("",!0)]))}}),Zu=["tabindex"],Ru={key:0},Fu={colspan:"2",class:"p-0"},Uu={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},Gu=e.defineComponent({__name:"InvoiceGroupRevenue",props:{forwardedFromCustomers:{},showOriginalCustomerInvoiceLine:{},group:{},expandedItems:{},handleToggleItems:{},formatIndex:{},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{},showTaxPerLineItem:{type:Boolean,default:!0}},setup(t){const n=t,o=e.computed(()=>{var e,t,o;const a=[null==(e=n.group.pricing)?void 0:e.name,ni((null==(t=n.group.products)?void 0:t.map(e=>e.name))??[])].filter(Boolean).join(" - "),l=((e,t)=>{if(t)return e.forwarded_from_customer_id})(n.group,!!n.showOriginalCustomerInvoiceLine);if(!l)return a;const i=null==(o=n.forwardedFromCustomers)?void 0:o.find(e=>e.id===l);return[i&&Ai(i),a].filter(Boolean).join(" - ")});return(n,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:a[0]||(a[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[a[1]||(a[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),a[2]||(a[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(Hd,{class:"p-0"},{default:e.withCtx(()=>{var n;return[t.isExpandable?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createVNode(Lu,{label:o.value,count:t.isExpandable?(null==(n=t.group.lines)?void 0:n.length)??0:void 0},null,8,["label","count"])]}),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(ar,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(ar,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,Zu),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))?(e.openBlock(),e.createElementBlock("tr",Ru,[e.createElementVNode("td",Fu,[e.createElementVNode("div",Uu,[e.createVNode(Ou,{"invoice-period-order":t.invoicePeriodOrder,"start-date":t.group.start_at,"end-date":t.group.end_at,total:t.group.amount_excluding_tax,group:t.group,"amount-type":t.amountType,"processing-only-customers":t.processingOnlyCustomers,"show-tax-per-line-item":t.showTaxPerLineItem},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(n.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),"one-off-line-context-menu":e.withCtx(o=>[e.renderSlot(n.$slots,"one-off-line-context-menu",e.mergeProps(o,{groupOrder:t.groupOrder}))]),_:3},8,["invoice-period-order","start-date","end-date","total","group","amount-type","processing-only-customers","show-tax-per-line-item"])])])])):e.createCommentVNode("",!0)],64))}}),ju={class:"flex items-center justify-between md:py-2"},Qu=e.defineComponent({__name:"InvoiceHeader",props:{invoice:{},paymentAttempts:{},downloadService:{},showDownloadButton:{type:Boolean},variant:{default:"internal"}},setup(t){const n=t,{$t:o,formatDate:a}=Xa(),l=e.computed(()=>n.paymentAttempts.findLast(e=>"AUTHORIZED"===e.result)),i=e.computed(()=>o({defaultMessage:"Due on {date}",description:"Label for due date, where {date} gets replaced with the due date",id:"invoice.due_on_label"},{date:a({date:n.invoice.due_date,format:"date",offsetType:"offsetted",timezone:n.invoice.customer.timezone})})),r=e.computed(()=>a({date:n.invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:n.invoice.customer.timezone})),c=e.computed(()=>"external"===n.variant?r.value:n.invoice.invoice_number||"N/A"),s=e.computed(()=>{if(n.invoice.paid&&l.value)return o({defaultMessage:"Paid on {date}",description:"Label for payment date, where {date} gets replaced with the date",id:"invoice.paid_on_label"},{date:a({date:l.value.created_at,format:"date",offsetType:"offsetted",timezone:n.invoice.customer.timezone})})}),d=e.computed(()=>"external"===n.variant?[n.invoice.invoice_number,s.value||i.value].join(" - "):s.value||i.value);return(n,a)=>(e.openBlock(),e.createElementBlock("div",ju,[e.createVNode(Pd,{title:c.value},{suffix:e.withCtx(()=>[t.invoice.paid?(e.openBlock(),e.createBlock(pn,{key:0,color:"green",class:"ml-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Paid",description:"The paid chip label text for a paid invoice",id:"invoice.paid_chip"})),1)]),_:1})):e.createCommentVNode("",!0)]),subTitle:e.withCtx(()=>[e.createVNode(m,{variant:"body-xs",class:"flex gap-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.value),1)]),_:1})]),_:1},8,["title"]),t.showDownloadButton?(e.openBlock(),e.createBlock(dd,{key:0,size:"lg",variant:"outline","download-service":t.downloadService,"mobile-icon-only":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Download PDF",description:"Title for button download pdf invoice",id:"invoice.download_pdf_button"})),1)]),_:1},8,["download-service"])):e.createCommentVNode("",!0)]))}}),Ku=e.defineComponent({__name:"invoicePreviewRow",props:{weight:{default:"normal"},variant:{default:"body-xs"},noSpacing:{type:Boolean,default:!1}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-row gap-2",{"py-1.5":!t.noSpacing}])},[e.createVNode(m,{tag:"span",variant:t.variant,class:"grow",weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"label")]),_:3},8,["variant","weight"]),e.createVNode(m,{tag:"span",variant:t.variant,weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"value")]),_:3},8,["variant","weight"])],2))}),Wu=e.defineComponent({__name:"Skeleton",props:{widthClass:{default:"w-10"},heightClass:{default:"h-3"},shade:{default:"default"}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rounded",[t.widthClass,t.heightClass,{"bg-gray-50/50":"default"===t.shade,"bg-gray-100/50":"dark"===t.shade,"bg-gray-200/50":"darker"===t.shade,"bg-gray-400/50":"darkest"===t.shade}]])},null,2))}),Yu=e.defineComponent({__name:"InvoicePreviewNoTaxesSkeleton",props:{widthClass:{default:"w-12"},heightClass:{default:"h-5"}},setup(t){const{$t:n}=Xa();return(o,a)=>(e.openBlock(),e.createBlock(dr,{"is-dark-mode":""},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Will be determined by billing information",description:"Tooltip content for the invoice preview when taxes are not determined by billing information",id:"invoice_preview.taxes_not_determined_by_billing_information_tooltip"})),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(Wu,{"width-class":t.widthClass,"height-class":t.heightClass,shade:"darker"},null,8,["width-class","height-class"])]),_:1}))}}),Xu=e.defineComponent({__name:"InvoicePreviewGroups",props:{invoice:{},wrapperComponent:{}},setup(t){const o=e=>e.groups.reduce((e,t)=>t.type in e?{...e,[t.type]:[...e[t.type],t]}:{...e,[t.type]:[t]},{}),a=e=>{var t,o,a;return(null==(t=e.pricing)?void 0:t.name)&&!n(null==(o=e.pricing)?void 0:o.name)?e.pricing.name:ni((null==(a=e.products)?void 0:a.map(e=>e.name))??[])};return(n,l)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(n,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(o(n)),([n,o])=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.wrapperComponent??"div"),{key:o},{default:e.withCtx(()=>[e.createVNode(Ku,{"no-spacing":void 0!==t.wrapperComponent},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a(n)),1)]),value:e.withCtx(()=>[e.createVNode(ar,{value:n.amount_excluding_tax},null,8,["value"])]),_:2},1032,["no-spacing"])]),_:2},1024))),128))],64))),128))],64))),128))}}),Ju={class:"flex flex-col"},ep=e.defineComponent({__name:"InvoicePreview",props:{invoice:{},trialInvoice:{},isCustomerFacing:{type:Boolean,default:!1},variant:{default:"default"},isPaid:{type:Boolean,default:!1},collapsible:{default:void 0},isPreviewWithoutTaxes:{type:Boolean}},setup(t){const n=t,{$t:o}=Xa(),a=e.ref(void 0!==n.collapsible&&"expanded"!==n.collapsible),l=e.computed(()=>void 0!==n.collapsible),i=e.computed(()=>!!n.trialInvoice),r=e.computed(()=>n.trialInvoice?n.trialInvoice.tax_summary.total_amount:n.invoice.tax_summary.total_amount),c=()=>{l.value&&(a.value=!a.value)};return(n,s)=>(e.openBlock(),e.createElementBlock("div",Ju,[e.createVNode(Zs,{"is-open":!a.value,lazy:""},{default:e.withCtx(()=>[e.createElementVNode("div",null,[i.value?(e.openBlock(),e.createBlock(m,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice_preview.after_trial_heading",defaultMessage:"After trial",description:"After trial heading for the invoice preview"})),1)]),_:1})):e.createCommentVNode("",!0),"without-products"!==t.variant?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(Xu,{invoice:t.invoice},null,8,["invoice"]),e.createVNode(w,{spacing:"xxs"})],64)):e.createCommentVNode("",!0),e.createVNode(Ku,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice_preview.total_excluding_taxes_heading",defaultMessage:"Total excluding taxes",description:"Total excluding taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[e.createVNode(ar,{value:t.invoice.tax_summary.base_amount},null,8,["value"])]),_:1}),e.createVNode(Ku,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice_preview.taxes_heading",defaultMessage:"Taxes",description:"Taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes?(e.openBlock(),e.createBlock(Yu,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(ar,{key:1,value:t.invoice.tax_summary.tax_amount},null,8,["value"]))]),_:1}),i.value?(e.openBlock(),e.createBlock(Ku,{key:2},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice_preview.total_including_taxes_heading",defaultMessage:"Total including taxes",description:"Total including taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes?(e.openBlock(),e.createBlock(Yu,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(ar,{key:1,value:t.invoice.tax_summary.total_amount},null,8,["value"]))]),_:1})):e.createCommentVNode("",!0),e.createVNode(w,{spacing:"xxs"})])]),_:1},8,["is-open"]),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?"button":"div"),{class:e.normalizeClass({"text-left hover:cursor-pointer":l.value}),onClick:c},{default:e.withCtx(()=>[e.createVNode(Ku,{weight:"semibold",variant:"body-sm"},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isPaid?e.unref(o)({id:"invoice_preview.total_paid_heading",defaultMessage:"Total paid",description:"Total paid heading for the invoice preview"}):e.unref(o)({id:"invoice_preview.total_due_today_heading",defaultMessage:"Total due today",description:"Total due today heading for the invoice preview"}))+" ",1),l.value?(e.openBlock(),e.createBlock(y,{key:0,size:"xs",icon:"keyboard_arrow_down",class:e.normalizeClass(["text-gray-400 transition ease-in-out",{"rotate-0":a.value,"rotate-180":!a.value}])},null,8,["class"])):e.createCommentVNode("",!0)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes&&(!i.value||i.value&&"0.00"!==r.value.quantity)?(e.openBlock(),e.createBlock(Yu,{key:0})):(e.openBlock(),e.createBlock(ar,{key:1,value:r.value},null,8,["value"]))]),_:1})]),_:1},8,["class"]))]))}}),tp=s(e.defineComponent({__name:"Card",props:{borderStyle:{default:"solid"},spacing:{default:"md"},cappedWidth:{type:Boolean,default:!1},variant:{default:"default"},shadowSize:{default:"sm"},borderRadius:{default:"base"},title:{},rootClass:{},wrapperClass:{},printBehavior:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col",e.unref(as)("grouped"===t.variant?"border border-dashed border-opacity-50":"gap-1","md"===t.borderRadius?"rounded-md":"","lg"===t.borderRadius?"rounded-lg":"","base"===t.borderRadius?"rounded":"","grouped"===t.variant?t.rootClass:"",t.wrapperClass,"avoid"===t.printBehavior?"card-print-avoid":"")])},[t.title||n.$slots.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(as)("flex items-center justify-between","sm"===t.spacing?"p-1.5":"","md"===t.spacing?"p-3":"","lg"===t.spacing?"p-6":""))},[e.renderSlot(n.$slots,"title",{},()=>[e.createVNode(e.unref(m),{tag:"span",variant:"grouped"===t.variant?"caps-heading":"body-sm",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1},8,["variant"])],!0),e.renderSlot(n.$slots,"right",{},void 0,!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(as)("sm"===t.spacing?"p-1.5":"","md"===t.spacing?"p-3":"","lg"===t.spacing?"p-6":"","solid"===t.borderStyle&&"sm"===t.shadowSize?"shadow-sm":"","solid"===t.borderStyle&&"md"===t.shadowSize?"shadow-md":"","solid"===t.borderStyle&&"lg"===t.shadowSize?"shadow-lg":"","dashed"===t.borderStyle?"border-dashed border-opacity-50":"","none"===t.shadowSize&&"default"===t.variant?"border-gray-100":"","error"===t.variant?"border-red-600":"","warning"===t.variant?"border-yellow-400":"","primary"===t.variant?"border-primary-400":"",t.cappedWidth?"max-w-220":"","base"===t.borderRadius?"rounded":"","md"===t.borderRadius?"rounded-md":"","lg"===t.borderRadius?"rounded-lg":"","grouped"===t.variant?"border-b-0 border-l-0 border-r-0":"","grouped"===t.variant?"rounded-t-none":"","primary"===t.variant?"bg-primary-50/50":"","default"===t.variant?"bg-white":"",t.rootClass?`${t.rootClass}`:""),"card-surface border"]),"data-testid":"card"},[e.renderSlot(n.$slots,"default",{},void 0,!0)],2)],2))}),[["__scopeId","data-v-561cca98"]]);function np(t){return"function"==typeof t?t():e.unref(t)}"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const op={key:0,totals:"",class:"border-t"},ap=e.defineComponent({__name:"InvoiceSummaryTotalExcludingTax",props:{baseAmount:{}},setup(t){const n=Xa();return(o,a)=>t.baseAmount?(e.openBlock(),e.createElementBlock("tr",op,[e.createVNode(Hd,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.total_excluding_taxes",defaultMessage:"Total excluding taxes",description:"Table row header for the total excluding taxes column in the invoice table"})),1)]),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:t.baseAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),lp={key:0,class:"border-t font-bold"},ip=e.defineComponent({__name:"InvoiceSummaryTotalIncludingTax",props:{totalAmount:{},isCustomerFacing:{type:Boolean}},setup(t){const n=Xa();return(o,a)=>t.totalAmount?(e.openBlock(),e.createElementBlock("tr",lp,[e.createVNode(Hd,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isCustomerFacing?e.unref(n).$t({id:"invoice.table_header.total_including_taxes_customer_facing",defaultMessage:"Total due today",description:"Table row header for the total including taxes column in the invoice table for a customer facing component"}):e.unref(n).$t({id:"invoice.table_header.total_including_taxes",defaultMessage:"Total including taxes",description:"Table row header for the total including taxes column in the invoice table"})),1)]),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:t.totalAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),rp={key:0,colspan:"4",class:"p-0"},cp=e.defineComponent({__name:"InvoiceTaxes",props:{taxCategories:{}},setup(t){const n=Xa();return(o,a)=>(e.openBlock(),e.createBlock(Od,{class:"table-fixed"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(Ad,{left:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.tax type",defaultMessage:"Tax type",description:"Table header for the column containing the tax type"})),1)]),_:1}),e.createVNode(Ad,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.base amount",defaultMessage:"Base amount",description:"Table header for the column containing the base amount"})),1)]),_:1}),e.createVNode(Ad,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.tax_percentage",defaultMessage:"Percentage",description:"Table header for the column containing the tax percentage"})),1)]),_:1}),e.createVNode(Ad,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.table_header.tax amount",defaultMessage:"Tax amount",description:"Table header for the column containing the tax amount"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.taxCategories,(t,n)=>(e.openBlock(),e.createElementBlock("tr",{key:n},[t.rates?(e.openBlock(),e.createElementBlock("td",rp,[e.createVNode(Od,{class:"table-fixed"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rates,(n,o)=>(e.openBlock(),e.createElementBlock("tr",{key:o},[e.createVNode(Hd,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.percentage)+"%",1)]),_:2},1024),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:n.tax_amount},null,8,["value"])]),_:2},1024)]))),128))]),_:2},1024)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(Hd,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.percentage)+"%",1)]),_:2},1024),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:t.tax_amount},null,8,["value"])]),_:2},1024)],64))]))),128))]),_:1}))}}),sp={class:"flex items-start justify-between"},dp={key:0,class:"max-h-9"},up={class:"flex flex-col gap-2"},pp={key:0},mp=["tabindex"],fp={key:3},hp={colspan:"2",class:"p-0"},vp={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},gp=["tabindex","onClick","onKeyup"],bp={key:0},yp={colspan:"2",class:"p-0"},xp={class:"-mx-9 bg-gray-50 px-9 py-3 text-xs"},kp={key:0,class:"border-t font-bold"},_p=e.defineComponent({__name:"InvoiceSummary",props:{invoice:{},isExpandable:{type:Boolean,default:!1},isInvoiceLineCreatable:{type:Boolean,default:!1},isNoteCreatable:{type:Boolean,default:!1},showRenderedServicesHeader:{type:Boolean,default:!0},isCustomerFacing:{type:Boolean}},emits:["add-invoice-line","add-note"],setup(t,{emit:o}){const a=Xa(),{formatMessage:l}=a,i=o,r=t,[c,s]=yl(),[d,u]=yl(),[p,f]=function(t=!1,n={}){const{truthyValue:o=!0,falsyValue:a=!1}=n,l=e.isRef(t),i=e.ref(t);function r(e){if(arguments.length)return i.value=e,i.value;{const e=np(o);return i.value=i.value===e?np(a):e,i.value}}return l?r:[i,r]}(),h=(...e)=>{r.isExpandable&&s(...e)},v=e=>{r.isExpandable&&u(e)},g=()=>{r.invoice.tax_categories&&r.isExpandable&&f()},b=(e,t)=>+`${e}${t}`,x=e=>a.$t({id:"invoice.service_period_heading",defaultMessage:"Service period - {start_at} - {end_at}",description:"Heading for rendered services where {start_at} is replaced for the start date and {end_at} for the end date in invoice summary"},{start_at:a.formatDate({date:e.start_at,format:"date",timezone:Cn(r.invoice.customer.timezone),offsetType:"offsetted"}),end_at:a.formatDate({date:e.end_at,format:"date",timezone:Cn(r.invoice.customer.timezone),offsetType:"offsetted"})}),k=e=>{switch(e){case"PRICING":case"REVENUE":return a.$t({id:"invoice.table_heading.products",defaultMessage:"Products",description:"Table heading for the column containing the products of the invoice"});case"COMMITMENT":return a.$t({id:"invoice.table_heading.commitments",defaultMessage:"Commitments",description:"Table heading for the column containing the commitments of the invoice"});case"DISCOUNT":return a.$t({id:"invoice.table_heading.discounts",defaultMessage:"Discounts",description:"Table heading for the column containing the discounts of the invoice"});case"MARKUP":return a.$t({id:"invoice.table_heading.markups",defaultMessage:"Markups",description:"Table heading for the column containing the markups of the invoice"});case"ONE_OFF":return a.$t({id:"invoice.table_heading.one_offs",defaultMessage:"One-off's",description:"Table heading for the column containing the one-offs of the invoice"})}},w=e=>{var t,n;return(null==(t=e.products)?void 0:t.length)?[null==(n=e.pricing)?void 0:n.name,ni(e.products.map(e=>e.name))].filter(Boolean).join(" - "):e.description??""},B=e=>e.groups.reduce((e,t)=>t.type in e?{...e,[t.type]:[...e[t.type],t]}:{...e,[t.type]:[t]},{}),C=e.computed(()=>{const e=[];return["ONE_OFF","STANDARD","ONE_OFF_CREDIT"].includes(r.invoice.type)&&["DRAFT","OPEN"].includes(r.invoice.status)&&r.isInvoiceLineCreatable&&e.push({label:l({defaultMessage:"Invoice line",id:"JlhdD2",description:"Label for adding an invoice line"}),onClick:()=>i("add-invoice-line")}),r.isNoteCreatable&&e.push({label:l({defaultMessage:"Note",id:"jB8+k/",description:"Label for adding a note to an invoice"}),onClick:()=>i("add-note")}),e}),E=e.computed(()=>!1!==r.invoice.show_tax_per_line_item);return(o,i)=>{var r;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",sp,[o.$slots.logo?(e.openBlock(),e.createElementBlock("div",dp,[e.renderSlot(o.$slots,"logo")])):(e.openBlock(),e.createBlock(Pd,{key:1,title:e.unref(a).$t({id:"invoice.title",defaultMessage:"Details",description:"Title for the invoice summary"}),variant:"neutral",icon:"draft"},null,8,["title"])),o.$slots.intro?e.renderSlot(o.$slots,"intro",{},void 0,void 0,2):e.createCommentVNode("",!0),e.createElementVNode("div",up,[(null==(r=C.value)?void 0:r.length)?(e.openBlock(),e.createBlock(e.unref(fn),{key:0,items:C.value,width:"auto"},{trigger:e.withCtx(()=>[e.createVNode(e.unref(on),{"icon-prefix":"add",size:"sm",variant:"outline",color:"gray"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Add",id:"YnK/yF",description:"Label for adding an item to an invoice"})),1)]),_:1})]),_:1},8,["items"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"child-customers-selector")])]),o.$slots.total?e.renderSlot(o.$slots,"total",{},void 0,void 0,0):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"notes"),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(n,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[t.showRenderedServicesHeader?(e.openBlock(),e.createBlock(_,{key:0,class:"mt-6"},{default:e.withCtx(()=>[e.createVNode(m,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x(n)),1)]),_:2},1024)]),_:2},1024)):e.createCommentVNode("",!0),n.groups?(e.openBlock(),e.createBlock(Od,{key:1,class:e.normalizeClass({"mt-3":t.showRenderedServicesHeader})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(B(n)),([l,r],s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[s>0?(e.openBlock(),e.createElementBlock("tr",pp,[...i[0]||(i[0]=[e.createElementVNode("td",null,[e.createElementVNode("div",{class:"h-4"})],-1)])])):e.createCommentVNode("",!0),e.createElementVNode("tr",null,[e.createVNode(Ad,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(k(l)),1)]),_:2},1024),e.createVNode(Ad,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.amount_table_heading",defaultMessage:"Amount",description:"Table heading for the amount column in the invoice table"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(i,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},["REVENUE"===l||"PRICING"===l||"ONE_OFF"===l?(e.openBlock(),e.createBlock(Gu,{key:0,group:i,"expanded-items":e.unref(c),"handle-toggle-items":h,"is-expandable":t.isExpandable,"format-index":b,"invoice-period-order":n.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type,"processing-only-customers":t.invoice.processing_only_customers,"show-tax-per-line-item":E.value,"forwarded-from-customers":t.invoice.forwarded_from_customers,"show-original-customer-invoice-line":t.invoice.show_original_customer_invoice_line},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"one-off-line-context-menu":e.withCtx(t=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{periodOrder:n.period_order}))]),_:2},1032,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type","processing-only-customers","show-tax-per-line-item","forwarded-from-customers","show-original-customer-invoice-line"])):"DISCOUNT"===l||"MARKUP"===l?(e.openBlock(),e.createBlock(ru,{key:1,group:i,"expanded-items":e.unref(c),"handle-toggle-items":h,"is-expandable":t.isExpandable,"format-index":b,"invoice-period-order":n.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type,heading:"DISCOUNT"===l?e.unref(a).$t({id:"invoice.discounts_table_heading",defaultMessage:"Discounts",description:"Heading for discounts in the invoice table"}):e.unref(a).$t({id:"invoice.markups_table_heading",defaultMessage:"Markups",description:"Heading for markups in the invoice table"})},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),_:3},8,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type","heading"])):"COMMITMENT"===l?(e.openBlock(),e.createBlock(nu,{key:2,group:i,"expanded-items":e.unref(c),"handle-toggle-items":h,"is-expandable":t.isExpandable,"format-index":b,"invoice-period-order":n.period_order,"group-order":i.group_order,"amount-type":t.invoice.pricing_amount_type},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),_:3},8,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type"])):e.createCommentVNode("",!0)],64))),128))],64))),128))]),_:2},1032,["class"])):e.createCommentVNode("",!0)],64))),128)),t.invoice.tax_summary?(e.openBlock(),e.createBlock(Od,{key:1,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(Ad,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.totals_table_heading",defaultMessage:"Totals",description:"Table heading for the totals column in the invoice table"})),1)]),_:1}),e.createVNode(Ad,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.amount_table_heading",defaultMessage:"Amount",description:"Table heading for the amount column in the invoice table"})),1)]),_:1})]),"INCLUDING_TAX"===t.invoice.pricing_amount_type?(e.openBlock(),e.createBlock(ip,{key:0,"total-amount":t.invoice.tax_summary.total_amount,"is-customer-facing":t.isCustomerFacing},null,8,["total-amount","is-customer-facing"])):(e.openBlock(),e.createBlock(ap,{key:1,"base-amount":t.invoice.tax_summary.base_amount},null,8,["base-amount"])),t.invoice.tax_summary.tax_amount?(e.openBlock(),e.createElementBlock("tr",{key:2,class:e.normalizeClass([{"cursor-pointer":t.invoice.tax_categories&&t.isExpandable},"border-t"]),tabindex:t.isExpandable?0:void 0,onClick:g,onKeyup:[e.withKeys(g,["enter"]),e.withKeys(g,["space"])]},[e.createVNode(Hd,null,{default:e.withCtx(()=>[t.isExpandable&&t.invoice.tax_categories&&t.invoice.tax_categories.length?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(p)}])},null,8,["class"])):e.createCommentVNode("",!0),e.createVNode(Lu,{label:e.unref(a).$t({id:"invoice.taxes_table_heading",defaultMessage:"Taxes",description:"Table heading for the taxes column in the invoice table"}),count:t.isExpandable&&t.invoice.tax_categories?t.invoice.tax_categories.length:void 0},null,8,["label","count"])]),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:t.invoice.tax_summary.tax_amount},null,8,["value"])]),_:1})],42,mp)):e.createCommentVNode("",!0),e.unref(p)&&t.invoice.tax_categories?(e.openBlock(),e.createElementBlock("tr",fp,[e.createElementVNode("td",hp,[e.createElementVNode("div",vp,[e.createVNode(cp,{"tax-categories":t.invoice.tax_categories},null,8,["tax-categories"])])])])):e.createCommentVNode("",!0),"INCLUDING_TAX"===t.invoice.pricing_amount_type?(e.openBlock(),e.createBlock(ap,{key:4,"base-amount":t.invoice.tax_summary.base_amount},null,8,["base-amount"])):(e.openBlock(),e.createBlock(ip,{key:5,"total-amount":t.invoice.tax_summary.total_amount},null,8,["total-amount"]))]),_:1})):e.createCommentVNode("",!0),e.unref(n)(t.invoice.closed_periods)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Od,{key:2,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(Ad,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.already_deducted_table_heading",defaultMessage:"Already deducted",description:"Table heading for the already deducted rows in the invoice table"})),1)]),_:1})]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.closed_periods,(n,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.groups,(l,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:i},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"pt-6":0===a,"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:e=>v(b(a,i)),onKeyup:[e.withKeys(e=>v(b(a,i)),["enter"]),e.withKeys(e=>v(b(a,i)),["space"])]},[e.createVNode(Hd,{class:"p-0"},{default:e.withCtx(()=>{var n;return[t.isExpandable?(e.openBlock(),e.createBlock(y,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["absolute -translate-x-7 text-slate-400",{"-rotate-90":!e.unref(d).includes(b(a,i))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createVNode(Lu,{label:w(l),count:t.isExpandable?(null==(n=l.lines)?void 0:n.length)??0:void 0},null,8,["label","count"])]}),_:2},1024),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:l.amount_excluding_tax},null,8,["value"])]),_:2},1024)],42,gp),e.unref(d).includes(b(a,i))?(e.openBlock(),e.createElementBlock("tr",bp,[e.createElementVNode("td",yp,[e.createElementVNode("div",xp,[e.createVNode(Ou,{"start-date":l.start_at,"end-date":l.end_at,total:l.amount_excluding_tax,group:l,"amount-type":t.invoice.pricing_amount_type,"show-tax-per-line-item":E.value},{"one-off-line-context-menu":e.withCtx(t=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{groupOrder:l.group_order,periodOrder:n.period_order}))]),_:2},1032,["start-date","end-date","total","group","amount-type","show-tax-per-line-item"])])])])):e.createCommentVNode("",!0)],64))),128))],64))),128)),t.invoice.open_invoice_amount&&!t.invoice.paid?(e.openBlock(),e.createElementBlock("tr",kp,[e.createVNode(Hd,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a).$t({id:"invoice.amount_due_table_heading",defaultMessage:"Amount due",description:"Table heading for the amount due row in the invoice table"})),1)]),_:1}),e.createVNode(Hd,{number:""},{default:e.withCtx(()=>[e.createVNode(ar,{value:t.invoice.open_invoice_amount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)]),_:3}))])}}}),wp={sm:"range-sm",md:"range-md",lg:"range-lg",xl:"range-xl"};const Bp=e.defineComponent({__name:"CustomStyles",props:{css:{},marker:{}},setup(t){const n=t,o=e.ref();function a(e){if(!e||!o.value)return;const t=o.value.getRootNode();if(!(t instanceof ShadowRoot))return;if(t.querySelector(`style[${n.marker}]`))return;const a=document.createElement("style");a.setAttribute(n.marker,"true"),a.textContent=e,t.appendChild(a)}return e.onMounted(()=>{n.css&&a(n.css)}),e.watch(()=>n.css,e=>{if(!e||!o.value)return;const t=o.value.getRootNode();if(!(t instanceof ShadowRoot))return;const l=t.querySelector(`style[${n.marker}]`);l?l.textContent=e:a(e)}),(t,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:o},[e.renderSlot(t.$slots,"default")],512))}}),Cp=["data-testid"],Ep=["step","min","max","name","disabled"],Np={key:0,class:"mt-2 text-sm text-gray-500"},Tp=e.defineComponent({__name:"RangeInput",props:e.mergeModels({disabled:{type:Boolean,default:!1},label:{default:void 0},labelAfter:{type:Boolean,default:!1},max:{default:100},min:{default:0},name:{},required:{type:Boolean,default:!1},rootClass:{default:""},size:{default:"md"},steps:{default:1},variant:{default:"default"},error:{},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const o=t,a=e.useModel(t,"modelValue"),l=e.useTemplateRef("inputRef");function i(){const e=l.value;if(!e)return;const t=a.value??o.min,n=(Number(t)-o.min)/(o.max-o.min)*100;e.style.setProperty("--range-percentage",`${n}%`)}const{rangeClasses:c}=function(t){return{rangeClasses:e.computed(()=>`w-full appearance-none cursor-pointer ${wp[t.size.value]}`)}}(e.toRefs(o)),s=e.computed(()=>{switch(o.size){case"xl":return"lg";case"lg":return"md";case"md":return"sm";default:return o.size}}),d=o.name??Ki("range-input-"),u=e.computed(()=>null!=a.value&&a.value>o.min?()=>{a.value=(a.value??0)-o.steps}:void 0),p=e.computed(()=>null!=a.value&&a.value<o.max?()=>{a.value=(a.value??0)+o.steps}:void 0),m=e.computed(()=>["stepped","stepped-contained","stepped-ghost"].includes(o.variant)),f=e.computed(()=>"stepped-contained"===o.variant),h=e.computed(()=>f.value||"stepped-ghost"===o.variant?"ghost":"outline");return e.watch([a,l],()=>e.nextTick(i),{immediate:!0}),(o,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps(o.$attrs,{class:["flex flex-col gap-2",{rootClass:t.rootClass,"flex-col-reverse":t.labelAfter}],"data-testid":e.unref(br)(e.unref(d))}),[t.label?(e.openBlock(),e.createBlock(fr,{key:0,for:e.unref(d),required:t.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label)+" ",1)]),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0]),1032,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass({flex:m.value,"rounded border bg-white":f.value})},[m.value?(e.openBlock(),e.createBlock(e.unref(Hr),{key:0,size:s.value,variant:h.value,icon:"remove",square:"",color:"gray",disabled:!u.value||t.disabled,onMousedown:v[0]||(v[0]=e=>{var t;return null==(t=u.value)?void 0:t.call(u)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"flex grow items-center px-3":m.value,"border-x":f.value},t.inputWrapperClass])},[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:l,"onUpdate:modelValue":v[1]||(v[1]=e=>a.value=e),step:t.steps,min:t.min,max:t.max,name:e.unref(d),disabled:t.disabled,type:"range",class:e.normalizeClass(e.unref(c)),onInput:i},null,42,Ep),[[e.vModelText,a.value]])],2),m.value?(e.openBlock(),e.createBlock(e.unref(Hr),{key:1,size:s.value,variant:h.value,icon:"add",square:"",color:"gray",disabled:!p.value||t.disabled,onMousedown:v[2]||(v[2]=e=>{var t;return null==(t=p.value)?void 0:t.call(p)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0)],2)],16,Cp),e.createVNode(Bp,{marker:"range-input-styles",css:e.unref("/* Base - transparent background so track styles show through */\ninput[type='range'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%;\n background: transparent;\n margin: 0.5rem 0;\n}\n\n/* Thumb - white with explicit border (required for Firefox) */\ninput[type='range']::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']::-moz-range-thumb {\n -moz-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']:not(:disabled):hover::-webkit-slider-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):hover::-moz-range-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-webkit-slider-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-moz-range-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\n/* Track - WebKit */\ninput[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-webkit-slider-runnable-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Track - Mozilla */\ninput[type='range']::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-moz-range-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Size: sm */\ninput[type='range'].range-sm::-webkit-slider-thumb {\n width: 0.8rem;\n height: 0.8rem;\n margin-top: -0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-thumb {\n width: 0.8rem;\n height: 0.8rem;\n}\n\ninput[type='range'].range-sm::-webkit-slider-runnable-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\n/* Size: md */\ninput[type='range'].range-md::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n}\n\ninput[type='range'].range-md::-webkit-slider-runnable-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\n/* Size: lg */\ninput[type='range'].range-lg::-webkit-slider-thumb {\n width: 1.4rem;\n height: 1.4rem;\n margin-top: -0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-thumb {\n width: 1.4rem;\n height: 1.4rem;\n}\n\ninput[type='range'].range-lg::-webkit-slider-runnable-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\n/* Size: xl */\ninput[type='range'].range-xl::-webkit-slider-thumb {\n width: 1.8rem;\n height: 1.8rem;\n margin-top: -0.5rem;\n}\n\ninput[type='range'].range-xl::-moz-range-thumb {\n width: 1.8rem;\n height: 1.8rem;\n}\n\ninput[type='range'].range-xl::-webkit-slider-runnable-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\ninput[type='range'].range-xl::-moz-range-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n")},null,8,["css"]),!e.unref(n)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",Np,[e.unref(n)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{},void 0,void 0,1):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(r,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],64))}}),Mp=e.defineComponent({__name:"RangeInputExtended",props:e.mergeModels({options:{default:()=>[]},label:{},name:{},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},variant:{},error:{},disabled:{type:Boolean},labelAfter:{type:Boolean},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const n=t,o=e.useModel(t,"modelValue"),a=e.computed({get:()=>{const e=o.value?n.options.findIndex(e=>e===o.value):0;return e>=0?e:0},set:e=>(o.value=n.options[e],n.options.findIndex(e=>e===o.value))}),l=e.computed(()=>n.options.length??1);return(n,o)=>(e.openBlock(),e.createBlock(Tp,e.mergeProps({modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=e=>a.value=e)},n.$attrs,{variant:t.variant,"label-after":t.labelAfter,min:0,max:l.value-1,steps:1,label:t.label,name:t.name,required:t.required,"root-class":t.rootClass,size:t.size,"input-wrapper-class":t.inputWrapperClass}),{"label-suffix":e.withCtx(()=>[e.renderSlot(n.$slots,"label-suffix")]),_:3},16,["modelValue","variant","label-after","max","label","name","required","root-class","size","input-wrapper-class"]))}}),Vp=e.defineComponent({__name:"PricingGroupRangeInput",props:e.mergeModels({modelValue:{},options:{},name:{},variant:{default:"stepped-contained"},size:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const n=t,o=e.useModel(t,"modelValue"),a=e.computed(()=>{var e;return null==(e=n.options.find(e=>e.value===o.value))?void 0:e.label}),l=e.computed(()=>n.options.map(e=>e.value)),i=e.computed(()=>{var e;return null==(e=n.options.find(e=>e.value===o.value))?void 0:e.description});return(n,r)=>(e.openBlock(),e.createBlock(e.unref(Mp),e.mergeProps({modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=e=>o.value=e)},n.$attrs,{label:a.value,"label-after":"",variant:t.variant,name:t.name,options:l.value,size:t.size,"input-wrapper-class":"border-l border-r",required:""}),{"label-suffix":e.withCtx(()=>[e.createVNode(e.unref(m),{tag:"span",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1})]),_:1},16,["modelValue","label","variant","name","options","size"]))}}),Sp={defaultPricing:"Pricing",combinedVolume:{combinedVolume:"Combined volume",description:"Total volume sets the tier, applied proportionally to the selected rules."},topUpChip:{topUp:"Top up",defaultTooltip:"Top up allows moving unused volume over to the next billing cycle",tieredTooltip:{blockSize:"Includes prior volume to determine the tier and unused volume will move over",nonBlockSize:"Includes prior volume to determine the tier"},rollover:{title:"Rollover",tooltip:"Top up is applied to the next following schedule's billing cycles"}},splitBy:"Split by"},zp={class:"inline-flex items-center"},Pp=e.defineComponent({__name:"TopUpChip",props:{i18n:{},placement:{},hasTooltip:{type:Boolean},pricingItemConfig:{}},setup(t){const n=t,o=e.computed(()=>{var e,t;return!!(null==(t=null==(e=n.pricingItemConfig)?void 0:e.top_up)?void 0:t.rollover)}),a=e.computed(()=>({color:"dark",hasChipAfter:o.value})),l={color:"dark",dark:!0,hasChipBefore:!0},i=e.computed(()=>{var e,t,o;return null==(o=null==(t=null==(e=n.pricingItemConfig)?void 0:e.details)?void 0:t.bands)?void 0:o.some(e=>e.block_size)}),r=e.computed(()=>hi(n.pricingItemConfig)&&i.value?n.i18n.tieredTooltip.blockSize:hi(n.pricingItemConfig)&&!i.value?n.i18n.tieredTooltip.nonBlockSize:n.i18n.defaultTooltip);return(n,i)=>(e.openBlock(),e.createElementBlock("span",zp,[t.hasTooltip?(e.openBlock(),e.createBlock(dr,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(pn,e.normalizeProps(e.guardReactiveProps(a.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(pn,e.normalizeProps(e.mergeProps({key:1},a.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)),o.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.hasTooltip?(e.openBlock(),e.createBlock(dr,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(pn,e.normalizeProps(e.guardReactiveProps(l)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.tooltip),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(pn,e.normalizeProps(e.mergeProps({key:1},l)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16))],64)):e.createCommentVNode("",!0)]))}}),Dp={class:"flex items-center gap-2"},Ip={class:"flex items-center gap-2"},qp={key:0},$p=e.defineComponent({__name:"PricingItemConfigHeader",props:{config:{},i18n:{},hasTooltip:{type:Boolean,default:!0},isCombinedPricing:{type:Boolean},hideDefaultLabel:{type:Boolean}},setup(t){const o=t,a=e.computed(()=>o.i18n??Sp),l=e.computed(()=>{var e,t;return!n(null==(t=null==(e=o.config)?void 0:e.conditions)?void 0:t.meter_properties)});return(n,o)=>(e.openBlock(),e.createElementBlock("div",Dp,[e.createElementVNode("div",Ip,[e.createVNode(m,{class:"line-clamp-1","no-spacing":"",shade:"light",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>{var n,o,i,r,c,s;return[(null==(n=t.config.conditions)?void 0:n.name)||l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(null==(o=t.config.conditions)?void 0:o.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(i=t.config.conditions)?void 0:i.name),1)],64)):e.createCommentVNode("",!0),l.value&&(null==(c=null==(r=t.config)?void 0:r.conditions)?void 0:c.meter_properties)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.hasTooltip&&(null==(s=t.config.conditions)?void 0:s.name)?(e.openBlock(),e.createBlock(dr,{key:0,variant:"outline",class:"ml-1"},{default:e.withCtx(()=>[e.createVNode(y,{icon:"help",size:"2xs",class:"rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"})]),tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(m,{variant:"body-sm","no-spacing":"",shade:"light"},{default:e.withCtx(()=>{var n,o;return[e.createVNode(Qs,{comparators:null==(o=null==(n=t.config)?void 0:n.conditions)?void 0:o.meter_properties},null,8,["comparators"])]}),_:1})]),_:1})]),_:1})):(e.openBlock(),e.createBlock(m,{key:1,variant:"body-sm",weight:"normal",shade:"light",tag:"span"},{default:e.withCtx(()=>{var n,o,a;return[(null==(n=t.config.conditions)?void 0:n.name)?(e.openBlock(),e.createElementBlock("span",qp," - ")):e.createCommentVNode("",!0),e.createVNode(Qs,{comparators:null==(a=null==(o=t.config)?void 0:o.conditions)?void 0:a.meter_properties,display:"inline"},null,8,["comparators"])]}),_:1}))],64)):e.createCommentVNode("",!0)],64)):t.hideDefaultLabel?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(a.value.defaultPricing),1)],64))]}),_:1}),t.config.volume_group_reference?(e.openBlock(),e.createBlock(Us,{key:0,i18n:a.value.combinedVolume},null,8,["i18n"])):e.createCommentVNode("",!0),e.unref(fi)(t.config)?(e.openBlock(),e.createBlock(Pp,{key:1,i18n:a.value.topUpChip,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"override-tooltip")]))}}),Op=["disabled"],Hp=["aria-label"],Ap=["id","disabled","value","aria-checked","aria-describedby"],Lp=["tabindex","data-testid","for","aria-label","onKeydown"],Zp={class:"text-xs"},Rp={key:1,class:"mt-2 text-sm text-gray-500"},Fp=e.defineComponent({__name:"RadioGroupExtended",props:{options:{},direction:{default:"row"},showRadio:{type:Boolean,default:!0},columns:{},disabled:{type:Boolean},label:{},modelValue:{type:[String,Boolean]},name:{},required:{type:Boolean},rootClass:{},error:{},variant:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,a=re(o,"modelValue",n),l=e.computed(()=>o.columns?"grid":["flex","column"===o.direction?"flex-col":"flex-row"]),i=e.computed(()=>o.columns?{gridTemplateColumns:`repeat(${o.columns}, minmax(0, 1fr))`}:void 0),c=Ki(o.name?`radio_${o.name}_`:"radio_");return(n,s)=>(e.openBlock(),e.createElementBlock("fieldset",{class:e.normalizeClass(t.rootClass),disabled:t.disabled},[t.label?(e.openBlock(),e.createBlock(e.unref(fr),{key:0,tag:"legend",required:t.required},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:1},8,["required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{role:"group","aria-label":t.label,class:e.normalizeClass([l.value,"gap-1 rounded"]),style:e.normalizeStyle(i.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,l=>(e.openBlock(),e.createElementBlock("div",{key:l.value.toString(),class:"min-w-0 flex-1"},[e.withDirectives(e.createElementVNode("input",e.mergeProps({ref_for:!0},n.$attrs,{id:`${e.unref(c)}${l.value}`,"onUpdate:modelValue":s[0]||(s[0]=t=>e.isRef(a)?a.value=t:null),disabled:t.disabled,value:l.value,type:"radio","aria-checked":e.unref(a)===l.value,"aria-describedby":l.warning?`${e.unref(c)}${l.value}-warning`:void 0,tabindex:"-1",class:"sr-only"}),null,16,Ap),[[e.vModelRadio,e.unref(a)]]),e.createElementVNode("label",{tabindex:t.disabled?void 0:0,"data-testid":`radio-group-item-${l.value}`,for:`${e.unref(c)}${l.value}`,"aria-label":l.label+(l.description?`: ${l.description}`:""),class:e.normalizeClass(["label hover:bg-primary-50/50 relative flex h-full gap-3 rounded border border-gray-100 bg-gray-50/50 px-4 py-3 outline-none focus:bg-primary-50 focus-visible:border-primary-600 focus-visible:bg-primary-50 focus-visible:ring-1 focus-visible:ring-primary-600",{"cursor-pointer":!t.disabled,"cursor-not-allowed":t.disabled,"border-transparent bg-white ring-1 ring-primary-600":e.unref(a)===l.value&&!t.disabled,"opacity-60":t.disabled}]),onKeydown:e=>{return t=e,n=l.value,void(o.disabled||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),a.value=n));var t,n}},[t.showRadio?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["material-symbols-outlined mt-px inline-block h-4 w-4 min-w-4 rounded-full leading-4",{"border-4 border-primary-800":e.unref(a)===l.value,"border border-gray-300":e.unref(a)!==l.value}])},null,2)):n.$slots.prefix?e.renderSlot(n.$slots,"prefix",{option:l,optionValue:l.value},void 0,void 0,1):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex min-w-0 grow flex-col",{"opacity-50":t.disabled}])},[e.createVNode(e.unref(m),{tag:"span",weight:"semibold","no-spacing":"",variant:"body-sm",class:"align-center flex justify-between"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"label",{option:l,optionValue:l.value},()=>[e.createTextVNode(e.toDisplayString(l.label),1)])]),_:2},1024),e.renderSlot(n.$slots,"description",{option:l,optionValue:l.value},()=>[l.description?(e.openBlock(),e.createBlock(e.unref(m),{key:0,tag:"span",variant:"body-xs","no-spacing":"",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.description),1)]),_:2},1024)):e.createCommentVNode("",!0)])],2),e.renderSlot(n.$slots,"suffix",{option:l,optionValue:l.value})],42,Lp),l.warning?(e.openBlock(),e.createBlock(e.unref(or),{key:0,id:`${e.unref(c)}${l.value}-warning`,class:"mt-1",type:e.unref(a)===l.value?"danger":"dark",role:"alert"},{default:e.withCtx(()=>[e.createElementVNode("span",Zp,e.toDisplayString(l.warning),1)]),_:2},1032,["id","type"])):e.createCommentVNode("",!0)]))),128))],14,Hp),t.error||n.$slots.helper?(e.openBlock(),e.createElementBlock("div",Rp,[t.error?(e.openBlock(),e.createBlock(e.unref(r),{key:0,message:t.error},null,8,["message"])):n.$slots.helper?e.renderSlot(n.$slots,"helper",{},void 0,void 0,1):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,Op))}}),Up={class:"flex items-center pt-1"},Gp={class:"px-1.5 text-xs font-semibold text-gray-500"};const jp=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("div",Up,[n[0]||(n[0]=e.createElementVNode("div",{class:"w-2 border-t"},null,-1)),e.createElementVNode("span",Gp,[e.renderSlot(t.$slots,"default")]),n[1]||(n[1]=e.createElementVNode("div",{class:"grow border-t"},null,-1))])}]]),Qp=["aria-selected","aria-disabled","data-testid"],Kp=["id","value","checked","disabled"],Wp=["for"],Yp={class:"flex items-center gap-1"},Xp={class:"flex flex-grow flex-col"},Jp={class:"flex flex-grow gap-2"},em={class:"flex flex-grow flex-col"},tm={class:"flex flex-grow items-start justify-between gap-2"},nm={class:"flex items-center gap-2"},om=e.defineComponent({__name:"SelectExtendedOption",props:{multiple:{type:Boolean},inputValue:{},condensed:{type:Boolean},label:{},checked:{type:Boolean},disabled:{type:Boolean},subLabel:{},labelPrefixComponent:{},labelSuffixComponent:{},labelInlineComponent:{},value:{},labelSrOnly:{type:Boolean}},emits:["value-changed"],setup(n,{emit:o}){const a=o,l=n,r=e=>{const t=e.target;a("value-changed",{value:t.value,checked:t.checked})},c=()=>{l.multiple||l.disabled||a("value-changed",{value:l.value})},s=e.computed(()=>`checkbox-item-${l.value}`),d=e.computed(()=>t(l.inputValue??""));return(t,o)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":n.checked,"aria-disabled":n.disabled,class:e.normalizeClass([{"hover:bg-gray-50":!n.disabled},"relative flex"]),"data-testid":s.value,tabindex:"0",onClick:c,onKeydown:e.withKeys(c,["enter"])},[n.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(t.$attrs,{id:s.value,ref:"inputRef",value:n.value,checked:n.checked,disabled:n.disabled,type:"checkbox",class:["absolute left-3.5 top-1/2 h-4 w-4 -translate-y-2 rounded border-gray-300 bg-gray-100 focus:ring-2 focus:ring-primary-500",n.disabled?"text-gray-400 placeholder-gray-500":"text-primary-600"],tabindex:"-1",onChange:r}),null,16,Kp),e.createElementVNode("label",{for:s.value,class:e.normalizeClass([n.disabled?"text-gray-400":"rounded text-gray-900","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",Yp,[n.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelPrefixComponent.component),{key:0})):e.createCommentVNode("",!0),e.createElementVNode("div",Xp,[e.createElementVNode("div",Jp,[e.createVNode(i,{text:n.label,search:d.value,class:e.normalizeClass(["font-semibold",{"sr-only":n.labelSrOnly}])},null,8,["text","search","class"]),n.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},n.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),n.subLabel&&n.condensed?(e.openBlock(),e.createBlock(i,{key:1,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),n.subLabel&&!n.condensed?(e.openBlock(),e.createBlock(i,{key:0,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),n.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},n.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,Wp)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex w-full items-start gap-3 px-4 text-sm font-medium",[n.condensed?"p-2":"py-3",n.disabled??"cursor-not-allowed",!n.disabled&&"cursor-pointer"]])},[n.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelPrefixComponent.component),e.normalizeProps(e.mergeProps({key:0},n.labelPrefixComponent.props)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",em,[e.createElementVNode("div",tm,[e.createVNode(i,{text:n.label,search:d.value,class:e.normalizeClass(["font-semibold",{"text-gray-400":n.disabled}])},null,8,["text","search","class"]),e.createElementVNode("div",nm,[n.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},n.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),n.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},n.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])]),n.subLabel&&n.condensed?(e.openBlock(),e.createBlock(i,{key:0,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0),n.subLabel&&!n.condensed?(e.openBlock(),e.createBlock(i,{key:1,class:"text-xs text-slate-500",text:n.subLabel,search:d.value},null,8,["text","search"])):e.createCommentVNode("",!0)])],2))],42,Qp))}}),am={class:"flex flex-col rounded-bl rounded-br"},lm={key:0},im={key:2,class:"border-t border-gray-200"},rm=e.defineComponent({__name:"SelectExtendedOptions",props:{model:{},multiple:{type:Boolean},condensed:{type:Boolean},hasLargeDropdown:{type:Boolean},inputValue:{},addOnly:{type:Boolean},options:{}},emits:["value-changed"],setup(t,{emit:n}){const o=t,a=n,l=e=>a("value-changed",e),i=e.computed(()=>Qi(o.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{})),r=e.computed(()=>0===o.options.length);return(n,o)=>(e.openBlock(),e.createElementBlock("div",am,[r.value?(e.openBlock(),e.createBlock(m,{key:0,tag:"div","no-spacing":"",variant:"body-sm",shade:"lighter",class:"px-5 py-5"},{default:e.withCtx(()=>[...o[0]||(o[0]=[e.createTextVNode("No results",-1)])]),_:1})):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["list-none overflow-y-auto text-gray-700",[t.hasLargeDropdown?"max-h-76":"max-h-48"]])},[t.addOnly?(e.openBlock(),e.createElementBlock("div",lm,[e.createVNode(m,{tag:"p","no-spacing":"",variant:"body-sm",shade:"lighter",class:"mt-1 px-3 py-2"},{default:e.withCtx(()=>[...o[1]||(o[1]=[e.createTextVNode(e.toDisplayString("You can only select currently unselected options."),-1)])]),_:1})])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,({label:n,subLabel:o,value:a,checked:r,disabled:c,labelInlineComponent:s,labelSuffixComponent:d,labelSrOnly:u,labelPrefixComponent:p,hidden:m})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[i.value[a]?(e.openBlock(),e.createBlock(jp,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value[a]),1)]),_:2},1024)):e.createCommentVNode("",!0),m?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(om,{key:1,label:n,"sub-label":o,value:a,checked:r,disabled:c,multiple:t.multiple,condensed:t.condensed,"label-suffix-component":d,"label-prefix-component":p,"label-inline-component":s,"label-sr-only":u,"input-value":t.inputValue,onValueChanged:l},null,8,["label","sub-label","value","checked","disabled","multiple","condensed","label-suffix-component","label-prefix-component","label-inline-component","label-sr-only","input-value"]))],64))),128))],2)),n.$slots["list-footer-content"]?(e.openBlock(),e.createElementBlock("div",im,[e.renderSlot(n.$slots,"list-footer-content")])):e.createCommentVNode("",!0)]))}}),cm=["aria-expanded","aria-controls"],sm={class:"flex items-center gap-2"},dm={key:1},um={class:"flex items-center gap-2"},pm={key:0,class:"mt-2 flex flex-wrap gap-2"},mm=["innerHTML"],fm=["id"],hm=e.defineComponent({__name:"SelectExtended",props:{addOnly:{type:Boolean,default:!1},disabled:{type:Boolean},label:{},labelScreenReaderOnly:{type:Boolean},inputModel:{},singleModelValue:{},multiModelValue:{},options:{default:()=>[]},optionsOrder:{default:()=>["asc","asc"]},optionsOrderProperties:{default:()=>["group","label"]},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},withChips:{type:Boolean,default:!1},chipColor:{},error:{},hasReset:{type:Boolean},name:{},hasLargeDropdown:{type:Boolean,default:!1},showSuffixInClosedInput:{type:Boolean},showSuffixLabelInInput:{type:Boolean},showSubLabelInInput:{type:Boolean,default:!1},condensed:{type:Boolean},form:{},isInputReadOnly:{type:Boolean,default:!0},textContent:{default:()=>({placeholderSingleOpen:"Search",placeholderSingleEmpty:"Select an option",placeholderMultipleOpen:"Search",placeholderMultipleEmpty:"Select one or more options",buttonAddLabel:"Add",buttonClearLabel:"Reset",buttonDoneLabel:"Done"})}},emits:["update:inputModel","update:singleModelValue","update:multiModelValue","blur","change","focus","add-option"],setup(t,{emit:o}){var l;const i=t,r=o,c=null==(l=e.getCurrentInstance())?void 0:l.vnode.props,s=re(i,"inputModel",r),d=re(i,"singleModelValue",r),u=re(i,"multiModelValue",r),p=e.computed(()=>h.value?u.value??[]:d.value?[d.value]:[]),f=e.ref(i.multiModelValue??[]),h=e.computed(()=>Array.isArray(i.multiModelValue)),v=e.computed({get:()=>h.value?f.value??[]:"string"==typeof d.value?[d.value]:[],set(e){h.value?f.value=e:d.value=(null==e?void 0:e[0])??""}}),g=e.ref(!1),b=gl(),x=e.ref(),k=e.ref(),_=e.inject(Ir),w=e.computed(()=>{return e=v.value,i.options.filter(t=>e.some(e=>t.value===e));var e}),B=e.computed(()=>w.value[0]),C=e.computed(()=>U.value[0]),E=e.computed(()=>{var e;return!g.value&&!h.value&&(null==(e=B.value)?void 0:e.labelPrefixComponent)}),N=!!(null==c?void 0:c.onAddOption),T=()=>{r("add-option"),V()},M=e.computed(()=>{var e,t,n,o;if(!h.value){if(B.value)return null==(e=B.value)?void 0:e.label;if(0===w.value.length)return i.textContent.placeholderSingleEmpty}if(h.value){if(1===w.value.length)return null==(t=B.value)?void 0:t.label;if(w.value.length>=2)return`${null==(n=B.value)?void 0:n.label} +${w.value.length-1}`;if(0===w.value.length)return i.textContent.placeholderMultipleEmpty}return null==(o=C.value)?void 0:o.label}),V=()=>{h.value,g.value=!1},S=({value:e,checked:t})=>{let n;h.value?n=t?[...v.value,e]:v.value.filter(t=>t!==e):(n=[e],g.value=!1),v.value=n,r("change")},z=e.computed(()=>!(!i.addOnly||a(f.value,i.multiModelValue))||!i.addOnly&&v.value.length>0&&!i.disabled&&(1!==v.value.length||""!==v.value[0])),P=()=>{if(i.addOnly)return f.value=p.value,s.value="",void V();v.value=[],f.value=[],s.value&&(s.value=""),V()},I=()=>x.value?Array.from(x.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],q=()=>{var e;let t=document.activeElement;for(;null==(e=null==t?void 0:t.shadowRoot)?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t},$=()=>{if(!k.value)return null;let e=k.value.querySelector("input");if(e)return e;const t=k.value.querySelectorAll("*");for(const n of t)if(n.shadowRoot&&(e=n.shadowRoot.querySelector("input"),e))return e;return null},O=e=>{var t,n;if(!g.value)return;const o=I(),a=$();if(q()===a)switch(e.key){case"ArrowDown":o.length>0&&(e.preventDefault(),null==(t=o[0])||t.focus());break;case"Tab":!e.shiftKey&&o.length>0&&(e.preventDefault(),null==(n=o[0])||n.focus());break;case"Escape":e.preventDefault(),V()}},H=t=>{var n,o,a,l;const i=I(),r=q(),c=i.indexOf(r),s=$();switch(t.key){case"ArrowDown":c<i.length-1&&(t.preventDefault(),null==(n=i[c+1])||n.focus());break;case"ArrowUp":t.preventDefault(),c<=0?null==s||s.focus():null==(o=i[c-1])||o.focus();break;case"Tab":t.shiftKey?c<=0?(t.preventDefault(),null==s||s.focus()):(t.preventDefault(),null==(a=i[c-1])||a.focus()):c>=i.length-1?(t.preventDefault(),V(),null==s||s.focus()):(t.preventDefault(),null==(l=i[c+1])||l.focus());break;case"Escape":t.preventDefault(),V(),e.nextTick(()=>{null==s||s.focus()})}};D("mousedown",e=>{const t=e.composedPath();x.value&&t.includes(x.value)||k.value&&t.includes(k.value)||g.value&&V()});const{floatingStyles:A}=It(k,x,{whileElementsMounted:Ct,placement:"bottom",middleware:[Et(4),Tt({mainAxis:!0})]}),L=Ki("search-select-options-"),{width:Z}=ee(k),R=()=>{const e=$();e&&e.focus()},F=e.computed(()=>i.options.map(e=>({...e,checked:w.value.some(t=>t.value===e.value),disabled:i.disabled||!i.disabled&&i.addOnly&&!!p.value.includes(e.value)}))),U=e.computed(()=>F.value.filter(e=>{var t;return null==(t=v.value)?void 0:t.includes(e.value)}));return(o,a)=>{var l;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:k,class:e.normalizeClass(["relative flex items-end",{rootClass:t.rootClass,"z-30":g.value,"cursor-text":!t.disabled}]),role:"combobox","aria-expanded":g.value,"aria-haspopup":!0,"aria-controls":e.unref(L),onKeydown:O,onClick:R},[e.createVNode(e.unref(ps),{modelValue:e.unref(s),"onUpdate:modelValue":a[0]||(a[0]=t=>e.isRef(s)?s.value=t:null),readonly:t.isInputReadOnly,required:t.required,label:t.label,name:t.name,form:t.form,"label-screen-reader-only":t.labelScreenReaderOnly,placeholder:M.value,class:e.normalizeClass(["grow !outline-none",{"placeholder:text-gray-900":!g.value&&(!h.value&&e.unref(d)||h.value&&!e.unref(n)(t.multiModelValue)),"cursor-default":t.isInputReadOnly}]),"wrapper-class":{"border-transparent border-b-gray-200 focus-within:border-b relative z-10":g.value},"suffix-class":"border-l-0 pl-0",disabled:t.disabled,size:t.size,error:t.error,"prefix-has-border":!1,"aria-autocomplete":"list",onFocus:a[1]||(a[1]=()=>g.value=!0),onBlur:a[2]||(a[2]=e=>o.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var n,o;return[e.createElementVNode("div",um,[g.value||h.value||!(null==(n=B.value)?void 0:n.labelInlineComponent)||t.showSuffixInClosedInput&&!t.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},B.value.labelInlineComponent.props)),null,16)),!g.value&&!h.value&&(null==(o=B.value)?void 0:o.labelSuffixComponent)&&t.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},B.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),e.unref(s)||z.value&&t.hasReset?(e.openBlock(),e.createBlock(Hr,{key:2,icon:"close",size:"xs",variant:"ghost",color:"gray",type:"button",onClick:P})):e.createCommentVNode("",!0),e.createVNode(y,{icon:"keyboard_arrow_down",size:"xs",class:e.normalizeClass(["transition-transform",{"rotate-180":g.value}])},null,8,["class"])])]}),_:2},[t.showSubLabelInInput&&(null==(l=B.value)?void 0:l.subLabel)?{name:"input",fn:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none absolute inset-0 bg-white",{"px-4 py-3":"xl"===t.size}])},[e.createVNode(m,{tag:"span",class:"block",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=B.value)?void 0:t.label),1)]}),_:1}),e.createVNode(m,{tag:"span",class:"block",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=B.value)?void 0:t.subLabel),1)]}),_:1})],2)]),key:"0"}:void 0,o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"1"}:void 0,E.value||o.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",sm,[o.$slots.prefix?e.renderSlot(o.$slots,"prefix",{},void 0,void 0,0):E.value&&(null==(t=B.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",dm,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps(B.value.labelPrefixComponent.props)),null,16))])):e.createCommentVNode("",!0)])]}),key:"2"}:void 0,o.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"helper")]),key:"3"}:void 0]),1032,["modelValue","readonly","required","label","name","form","label-screen-reader-only","placeholder","wrapper-class","class","disabled","size","error"])],42,cm),t.withChips?(e.openBlock(),e.createElementBlock("div",pm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,({value:n,label:o,disabled:a})=>(e.openBlock(),e.createBlock(pn,{key:n,removable:!a,color:a?"dark":t.chipColor,onRemoved:e=>S({value:n,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:o},null,8,mm)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0),e.unref(b)&&e.unref(_)?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(_)},[g.value&&!t.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(L),ref_key:"optionsRef",ref:x,role:"listbox",style:e.normalizeStyle(e.unref(A)),class:"z-70 rounded bg-white drop-shadow-md",onMouseenter:a[3]||(a[3]=e=>g.value=!0),onKeydown:H},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(Z)}px`})},[e.createVNode(rm,{options:F.value,multiple:h.value,model:v.value,"add-only":t.addOnly,"allows-multiple-values":!!h.value,condensed:t.condensed,"has-large-dropdown":t.hasLargeDropdown,"input-value":e.unref(s),onValueChanged:S},{"list-footer-content":e.withCtx(()=>[N?(e.openBlock(),e.createBlock(on,{key:0,variant:"ghost",class:"w-full",type:"button","icon-prefix":"add",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonAddLabel),1)]),_:1})):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex items-center justify-between",{"py-2":!o.$slots["list-footer-content"]}])},[z.value?(e.openBlock(),e.createBlock(on,{key:0,type:"button",color:"gray",variant:"ghost",size:"sm",class:"ml-2",onClick:P},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonClearLabel),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(o.$slots,"list-footer-content")]),e.createVNode(on,{type:"button",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonDoneLabel),1)]),_:1},8,["data-testid"])],2)):e.renderSlot(o.$slots,"list-footer-content",{},void 0,void 0,2)]),_:3},8,["options","multiple","model","add-only","allows-multiple-values","condensed","has-large-dropdown","input-value"])],4)],44,fm)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64)}}}),vm=e.defineComponent({__name:"SearchSelectInputTeleportProvider",setup(t){const n=e.ref(null);return e.provide(Ir,n),(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"teleportTarget",ref:n,"data-search-select-teleport-target":""},null,512)],64))}}),gm={class:"flex items-center gap-1.5 text-gray-800"},bm=e.defineComponent({__name:"StepInput",props:e.mergeModels({step:{default:1},min:{default:0},max:{},initialValue:{default:1},unitName:{},showDelta:{type:Boolean,default:!1},size:{default:"md"},name:{},required:{type:Boolean},label:{},error:{},disabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const n=t,o=e.useModel(t,"modelValue"),a=e.ref(null),l=e.computed(()=>{if(n.unitName)return n.unitName[1===o.value?"singular":"plural"]}),i=()=>{n.max&&o.value+n.step>n.max||(o.value+=n.step)},r=()=>{o.value-n.step<n.min||(o.value-=n.step)};function c(e){var t;const n=null==(t=a.value)?void 0:t.el;if(!n)return;const l=parseInt(`${e}`);o.value=l,n.innerText=`${l}`,n.focus();const i=document.createRange();i.selectNodeContents(n),i.collapse(!1);const r=window.getSelection();null==r||r.removeAllRanges(),null==r||r.addRange(i)}const s=e=>{const t=e.target;t instanceof HTMLElement&&c(t.innerText)},d=e.computed(()=>!n.disabled&&(!n.max||o.value+n.step<n.max)),u=e.computed(()=>!n.disabled&&o.value-n.step>=n.min);function p(){var e;const t=null==(e=a.value)?void 0:e.el;if(!t)return;t.focus();const n=document.createRange();n.selectNodeContents(t);const o=window.getSelection();null==o||o.removeAllRanges(),null==o||o.addRange(n)}return e.onMounted(()=>{var e;const t=null==(e=a.value)?void 0:e.el;t&&(t.innerText=`${o.value}`)}),e.watch(()=>o.value,e=>{c(e)}),(c,f)=>(e.openBlock(),e.createBlock(ps,{modelValue:o.value,"onUpdate:modelValue":f[0]||(f[0]=e=>o.value=e),type:"number",class:"text-transparent [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none","prefix-class":{"!px-0 w-5":"sm"===t.size,"!px-0 w-6":"md"===t.size,"!px-0 w-7":"lg"===t.size},"suffix-class":{"!px-0 w-5":"sm"===t.size,"!px-0 w-6":"md"===t.size,"!px-0 w-7":"lg"===t.size},size:t.size,label:t.label,disabled:t.disabled,name:t.name,required:t.required},e.createSlots({prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"absolute inset-0 flex items-center justify-center",onMousedown:p},[e.createElementVNode("div",gm,[e.createVNode(m,{ref_key:"contentEditableRef",ref:a,tag:"span",variant:"sm"===t.size?"body":"body-lg",contenteditable:!t.disabled,class:e.normalizeClass(["outline-none",{"pointer-events-none select-none":t.disabled}]),weight:"semibold",onInput:s},null,8,["variant","contenteditable","class"]),l.value?(e.openBlock(),e.createBlock(m,{key:0,tag:"span",shade:"lighter",class:"pointer-events-none select-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(l.value),1)]),_:1})):e.createCommentVNode("",!0),t.showDelta?(e.openBlock(),e.createBlock(cd,{key:1,"old-value":n.initialValue,"new-value":o.value,class:"pointer-events-none ml-0.5 select-none"},null,8,["old-value","new-value"])):e.createCommentVNode("",!0)])],32),e.createVNode(Hr,{disabled:!u.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-br-none rounded-tr-none",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"remove",onMousedown:r},null,8,["disabled","class"])]),suffix:e.withCtx(()=>[e.createVNode(Hr,{disabled:!d.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["!h-full select-none rounded-bl-none rounded-tl-none",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"add",onMousedown:i},null,8,["disabled","class"])]),_:2},[c.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(c.$slots,"helper")]),key:"0"}:void 0]),1032,["modelValue","prefix-class","suffix-class","size","label","disabled","name","required"]))}}),ym={...ui,and:"and"},xm={...ym,or:"or",unsupported:"unsupported",product:"product",revenueItem:"revenue item",commitmentBody:(e,t,n)=>`Commitment on ${e} <strong>${t}</strong> ${n}`,startOfSchedule:"Start of schedule",endOfSchedule:"End of schedule",unknown:"unknown",products:e=>1===e?"product":"products",pluralRevenueItems:e=>1===e?"revenue item":"revenue items",pricingRule:"price rule",invoice:"invoice",units:e=>`${e} units`,commitmentOnInvoice:e=>`Commitment on <strong>Invoice</strong> ${e}`,basedOnMeterValue:"based on meter value"},km={class:"flex items-center justify-between"},_m={class:"flex items-center gap-2"},wm={key:0,class:"ml-3 flex gap-3"},Bm=e.defineComponent({__name:"CommitmentDiscountItem",props:{icon:{},iconColor:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{}},emits:["edit","delete"],setup:t=>(n,o)=>(e.openBlock(),e.createBlock(tp,{spacing:"none","root-class":"p-2 pr-3"},{default:e.withCtx(()=>[e.createElementVNode("div",km,[e.createElementVNode("div",_m,[e.createVNode(y,{icon:t.icon,size:"sm",variant:"contained",class:e.normalizeClass(["p-1",{"bg-orange-50 text-orange-700":"orange"===t.iconColor,"bg-yellow-50 text-yellow-700":"yellow"===t.iconColor}])},null,8,["icon","class"]),e.createVNode(m,{variant:"body-sm","no-spacing":""},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"body")]),_:3})]),t.isEditable||t.isRemovable?(e.openBlock(),e.createElementBlock("div",wm,[t.isEditable?(e.openBlock(),e.createBlock(on,{key:0,variant:"ghost",color:"gray",square:"","icon-prefix":"edit",onClick:o[0]||(o[0]=e=>n.$emit("edit"))})):e.createCommentVNode("",!0),t.isRemovable?(e.openBlock(),e.createBlock(on,{key:1,variant:"ghost",color:"red",square:"","icon-prefix":"delete",onClick:o[1]||(o[1]=e=>n.$emit("delete"))})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createVNode(Zs,{"is-open":!!t.error},{default:e.withCtx(()=>[t.error?(e.openBlock(),e.createBlock(or,{key:0,type:"danger",class:"-mb-2 -ml-2 -mr-3 mt-2 rounded-bl-md rounded-br-md rounded-tl-none rounded-tr-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Fl)(t.error)),1)]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["is-open"])]),_:3}))}),Cm={class:"font-semibold"},Em={key:2,class:"font-semibold text-primary-600"},Nm=["innerHTML"],Tm=["innerHTML"],Mm={key:2},Vm=e.defineComponent({__name:"SubscriptionCommitmentItem",props:{commitment:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{},i18n:{},timezone:{}},emits:["edit","delete"],setup(t){const n=t,o=e.computed(()=>n.i18n??xm),{getCommitmentBody:a,getFormattedDuration:l}=((t,n=xm,o)=>{const{formatDate:a}=Xa(),l=e.computed(()=>{var e,n;return(null==(n=null==(e=t.value)?void 0:e.pricing_categories)?void 0:n.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),i=e.computed(()=>l.value.map(e=>{var t;return{pricing:e,product:null==(t=e.products)?void 0:t[0],pricingId:e.id}})),r=e.computed(()=>{var e;return(null==(e=l.value)?void 0:e.flatMap(e=>{var t;return(null==(t=e.items)?void 0:t.map(e=>{var t;return{productItem:null==(t=e.product_items)?void 0:t[0],pricingItemId:e.id}}))??[]}))??[]}),c=e=>{var t,o,a,c,d;switch(e.commitmentLevel){case"PRODUCTS":{const n=null==(t=e.ids)?void 0:t.map(e=>i.value.find(t=>t.pricingId===e));return s((null==n?void 0:n.map(e=>{var t;return(null==e?void 0:e.pricing.name)??((null==(t=null==e?void 0:e.product)?void 0:t.name)||"")}))??[])}case"REVENUE_ITEMS":{const t=null==(o=e.ids)?void 0:o.map(e=>{var t;return null==(t=r.value.find(t=>t.pricingItemId===e))?void 0:t.productItem});return s((null==t?void 0:t.map(e=>(null==e?void 0:e.name)||""))??[])}case"PRICING_RULE":{const t=t=>{var n;return t.id===(null==(n=e.ids)?void 0:n[0])},o=e=>{var n,a;return t(e)||!!(null==(a=null==(n=e.conditions)?void 0:n.configs)?void 0:a.some(o))},i=e=>{var t;return null==(t=e.configs)?void 0:t.some(o)},r=e=>{var t;return null==(t=e.items)?void 0:t.some(i)},s=null==(a=l.value)?void 0:a.find(r),u=null==(c=null==s?void 0:s.items)?void 0:c.find(i),p=null==(d=null==u?void 0:u.configs)?void 0:d.flatMap(bi),m=null==p?void 0:p.find(t);return`<strong>${wi(n)({pricing:s,item:u,config:m})}</strong>`}}},s=e=>e.reduce((t,n,o)=>{const a=`<strong>${n}</strong>`;return 0===o?a:o===e.length-1?[t,a].join(" and "):[t,a].join(", ")},""),d=e=>{var t,o;switch(e.commitmentLevel){case"PRODUCTS":return n.products((null==(t=e.ids)?void 0:t.length)??0);case"REVENUE_ITEMS":return n.pluralRevenueItems((null==(o=e.ids)?void 0:o.length)??0);case"PRICING_RULE":return n.pricingRule;case"INVOICE":return n.invoice}},u=e=>{if(!e.start_at&&!e.end_at)return"";let t,l;return e.start_at||(t=n.startOfSchedule),e.end_at||(l=n.endOfSchedule),e.start_at&&(t=a(o?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:o}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(l=a(o?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:o}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${l})`};return{getCommitmentBody:e=>n.commitmentBody(d(e),c(e)??"",u(e)),getFormattedDuration:u}})(e.computed(()=>n.pricingPlanVersion),o.value,n.timezone);return(n,i)=>(e.openBlock(),e.createBlock(Bm,{icon:"handshake","icon-color":"orange","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:i[0]||(i[0]=e=>n.$emit("edit")),onDelete:i[1]||(i[1]=e=>n.$emit("delete"))},{body:e.withCtx(()=>{var n;return[e.createElementVNode("span",Cm,[t.commitment.amount?(e.openBlock(),e.createBlock(ar,{key:0,value:t.commitment.amount,highlighted:""},null,8,["value"])):"meter_value_calculation"in t.commitment&&(null==(n=t.commitment.meter_value_calculation)?void 0:n.amount)?(e.openBlock(),e.createBlock(ar,{key:1,value:t.commitment.meter_value_calculation.amount,highlighted:""},null,8,["value"])):"meter_value_calculation"in t.commitment&&t.commitment.meter_value_calculation&&"number"in t.commitment.meter_value_calculation?(e.openBlock(),e.createElementBlock("span",Em,e.toDisplayString(t.commitment.meter_value_calculation.number&&o.value.units(t.commitment.meter_value_calculation.number)),1)):e.createCommentVNode("",!0)]),i[2]||(i[2]=e.createTextVNode(" ",-1)),"INVOICE"===t.commitment.commitmentLevel?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:o.value.commitmentOnInvoice(e.unref(l)(t.commitment))},null,8,Nm)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(a)(t.commitment)},null,8,Tm)),"meter_value_calculation"in t.commitment&&t.commitment.meter_value_calculation&&"amount"in t.commitment.meter_value_calculation?(e.openBlock(),e.createElementBlock("span",Mm,e.toDisplayString(" ")+"("+e.toDisplayString(o.value.basedOnMeterValue)+")",1)):e.createCommentVNode("",!0)]}),_:1},8,["is-editable","is-removable","error"]))}}),Sm={...xm,title:"Commitments",orderOfApplicationExplanation:"Commitments are applied after discounts on invoices",description:"Setup a minimum usage per an agreed-upon time period.",selectPricingPlanHint:"Please select a pricing plan to add commitments",addItemLabel:"Add commitment",notEditableExplanation:"Commitments can't be edited for active schedules"},zm=({isEditable:t,isRemovable:n})=>({isEditableFlag:e.computed(()=>"function"==typeof t||!!t),isItemEditable:e=>"function"==typeof t?t(e):!!t,isItemRemovable:e=>"function"==typeof n?n(e):"boolean"!=typeof n||n}),Pm={class:"flex items-center justify-between gap-4"},Dm={class:"flex items-center gap-4"},Im={class:"flex items-center gap-1"},qm={class:"mt-1 text-xs text-gray-500"},$m={class:"flex items-center justify-between gap-4"},Om={class:"flex items-center gap-1"},Hm={class:"text-xs font-bold uppercase text-gray-700"},Am={class:"mt-1 flex flex-col gap-2"},Lm=e.defineComponent({__name:"CommitmentDiscountsSection",props:{title:{},orderOfApplicationExplanation:{},description:{},selectPricingPlanHint:{},addItemLabel:{},notEditableExplanation:{},hasItems:{type:Boolean},pricingPlanVersionIsSelected:{type:Boolean},isEditable:{type:Boolean},isCreatable:{type:Boolean}},emits:["add"],setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("section",null,[t.hasItems?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("header",$m,[e.createElementVNode("div",Om,[e.createElementVNode("h2",Hm,e.toDisplayString(t.title),1),e.createVNode(dr,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(y,{icon:"help",class:"drop-shadow-sm hover:cursor-default hover:bg-gray-50",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})])]),e.createElementVNode("ul",Am,[e.renderSlot(n.$slots,"list-items")])],64)):(e.openBlock(),e.createBlock(tp,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Pm,[e.createElementVNode("div",Dm,[e.renderSlot(n.$slots,"icon"),e.createElementVNode("div",null,[e.createElementVNode("div",Im,[e.createVNode(m,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),e.createVNode(dr,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(y,{icon:"help",class:"drop-shadow-sm hover:cursor-default hover:bg-gray-50",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})]),e.createElementVNode("p",qm,e.toDisplayString(t.description),1)])]),t.isEditable?(e.openBlock(),e.createBlock(dr,{key:0,variant:"outline"},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[t.pricingPlanVersionIsSelected?t.isEditable?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m,{key:1,variant:"body-sm","no-spacing":"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.notEditableExplanation),1)]),_:1})):(e.openBlock(),e.createBlock(m,{key:0,variant:"body-sm","no-spacing":"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.selectPricingPlanHint),1)]),_:1}))]),_:1})]),_:1})):e.createCommentVNode("",!0)])]),_:3}))]))}),Zm=["src"],Rm=e.defineComponent({__name:"SubscriptionCommitments",props:{pricingPlanVersion:{},commitment:{},i18n:{},isCreatable:{type:Boolean},isEditable:{type:[Boolean,Function]},isRemovable:{type:[Boolean,Function]},error:{},timezone:{}},setup(t){const n=t,o=e.computed(()=>n.i18n??Sm),{isEditableFlag:a,isItemEditable:l,isItemRemovable:i}=zm({isEditable:n.isEditable,isRemovable:n.isRemovable}),r=e.computed(()=>{if("error"in n)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[n,o]=t[0],[a,l,i]=n.split(".");return{commitmentLevel:a,index:parseInt(l,10),fieldName:i,message:o}})(n.error)}),c=e.computed(()=>{var e,t,o,a,l,i,c,s;return[...(null==(t=null==(e=n.commitment)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var n,o;return{item:{commitmentLevel:"PRICING_RULE",...e},error:t===(null==(n=r.value)?void 0:n.index)&&"pricing_item_configs"===(null==(o=r.value)?void 0:o.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(a=null==(o=n.commitment)?void 0:o.pricing_items)?void 0:a.map((e,t)=>{var n,o;return{item:{commitmentLevel:"REVENUE_ITEMS",...e},error:t===(null==(n=r.value)?void 0:n.index)&&"pricing_items"===(null==(o=r.value)?void 0:o.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(i=null==(l=n.commitment)?void 0:l.pricings)?void 0:i.map((e,t)=>{var n,o;return{item:{commitmentLevel:"PRODUCTS",...e},error:t===(null==(n=r.value)?void 0:n.index)&&"pricings"===(null==(o=r.value)?void 0:o.commitmentLevel)?r.value.message:void 0}}))||[],...(null==(s=null==(c=n.commitment)?void 0:c.totals)?void 0:s.map((e,t)=>{var n,o;return{item:{commitmentLevel:"INVOICE",...e},error:t===(null==(n=r.value)?void 0:n.index)&&"totals"===(null==(o=r.value)?void 0:o.commitmentLevel)?r.value.message:void 0}}))||[]]});return(n,r)=>(e.openBlock(),e.createBlock(Lm,{title:o.value.title,"order-of-application-explanation":o.value.orderOfApplicationExplanation,description:o.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":o.value.selectPricingPlanHint,"add-item-label":o.value.addItemLabel,"not-editable-explanation":o.value.notEditableExplanation,"is-creatable":!!t.isCreatable,"is-editable":e.unref(a),"has-items":c.value.length>0,onAdd:r[0]||(r[0]=e=>n.$emit("add"))},{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20fill='none'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='%23D9D9D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.922%2015.593A6%206%200%200%200%208.03%208.816c-.072-.516.251-1.035.767-1.108l21.957-3.086c.516-.072.97.338%201.043.854a6%206%200%200%200%206.776%205.106c.589-.082%201.19.281%201.273.87L42.06%2027.22c.083.589-.395%201.104-.984%201.186a6%206%200%200%200-5.106%206.777c.074.525-.255%201.055-.78%201.13l-21.925%203.08c-.526.074-.988-.344-1.062-.87a6%206%200%200%200-6.776-5.107c-.452.064-.901-.223-.965-.674L2.182%2016.507c-.064-.451.29-.85.74-.914Z'%20fill='url(%23c)'/%3e%3cpath%20d='m39.845%2011.452-1.09.153%201.09-.153Zm-9.092-6.83.153%201.09-.153-1.09Zm11.308%2022.599%201.09-.153-1.09.153ZM8.796%207.708%208.643%206.62l.153%201.09ZM6.94%208.97a4.9%204.9%200%200%201-4.17%205.534l.306%202.179a7.1%207.1%200%200%200%206.042-8.019l-2.178.306ZM30.6%203.533%208.643%206.62l.306%202.179%2021.957-3.086-.306-2.179Zm7.819%205.96a4.9%204.9%200%200%201-5.534-4.17l-2.179.306a7.1%207.1%200%200%200%208.02%206.043l-.307-2.179Zm4.731%2017.575-2.216-15.77-2.179.307%202.217%2015.769%202.178-.306Zm-6.09%207.963a4.9%204.9%200%200%201%204.17-5.534l-.306-2.179a7.1%207.1%200%200%200-6.043%208.019l2.179-.306Zm-23.641%205.453%2021.924-3.081-.306-2.179-21.924%203.081.306%202.179ZM5.58%2034.507a4.9%204.9%200%200%201%205.534%204.17l2.178-.306a7.1%207.1%200%200%200-8.018-6.043l.306%202.179ZM1.092%2016.66l2.282%2016.236%202.179-.306L3.27%2016.354l-2.179.306Zm2.179-.306a.333.333%200%200%201-.066.254.202.202%200%200%201-.13.074l-.306-2.179c-.95.134-1.838%201.008-1.677%202.157l2.179-.306Zm9.841%2021.951a.244.244%200%200%201%20.105.009c.031.01.05.023.06.03.014.013.016.02.017.027l-2.179.306c.142%201.008%201.064%201.981%202.304%201.807l-.306-2.179Zm21.77-2.968c-.002-.006-.002-.014.009-.03a.168.168%200%200%201%20.048-.046.244.244%200%200%201%20.098-.037l.306%202.179c1.24-.175%201.859-1.365%201.717-2.372l-2.179.306Zm3.843-23.665a.117.117%200%200%201%20.069.012c.003.002-.005-.002-.015-.017a.153.153%200%200%201-.024-.062l2.179-.306c-.185-1.317-1.46-1.954-2.515-1.806l.306%202.179ZM5.275%2032.328a.202.202%200%200%201%20.144.036.332.332%200%200%201%20.134.226l-2.179.306c.162%201.15%201.255%201.745%202.207%201.61l-.306-2.178ZM30.906%205.712a.258.258%200%200%201-.11-.01.186.186%200%200%201-.065-.033c-.019-.016-.023-.028-.025-.04l2.179-.306c-.14-1-1.057-1.963-2.285-1.79l.306%202.179Zm10.066%2021.662a.153.153%200%200%201%20.005-.066c.006-.018.012-.024.01-.02a.115.115%200%200%201-.062.03l.305%202.179c1.056-.149%202.105-1.112%201.92-2.43l-2.178.307ZM9.118%208.663c.002.012.001.025-.012.045a.186.186%200%200%201-.053.05.258.258%200%200%201-.104.04l-.306-2.179c-1.229.173-1.844%201.35-1.703%202.35l2.178-.306Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='24'%20height='24'%3e%3cpath%20transform='rotate(-8%2010.706%2013.489)'%20fill='%23D9D9D9'%20d='M10.706%2013.489h20v20h-20z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='M22.825%2028.616a.486.486%200%200%200%20.271-.164l5.816-7.718a1.54%201.54%200%200%200%20.283-.608%201.804%201.804%200%200%200-.176-1.248%201.375%201.375%200%200%200-.435-.475l-4-3.014a1.376%201.376%200%200%200-.577-.288%201.775%201.775%200%200%200-1.248.176%201.54%201.54%200%200%200-.506.44l-.195.258%201.744%201.333c.233.163.416.362.547.596.13.234.215.489.254.764.081.577-.047%201.09-.383%201.537-.337.447-.795.711-1.372.792a2.245%202.245%200%200%201-.815-.033%201.895%201.895%200%200%201-.731-.339l-1.762-1.309-3.103%204.118a.393.393%200%200%200-.083.306c.015.11.07.204.166.282a.386.386%200%200%200%20.307.094.484.484%200%200%200%20.271-.164l2.412-3.201%201.318.993-2.391%203.197a.394.394%200%200%200-.083.306.4.4%200%200%200%20.164.272.4.4%200%200%200%20.306.083.486.486%200%200%200%20.271-.164l2.415-3.18%201.318.993-2.39%203.197a.25.25%200%200%200-.076.137.472.472%200%200%200-.008.17.4.4%200%200%200%20.164.27.4.4%200%200%200%20.578-.08l2.414-3.18%201.318.993-2.412%203.2a.394.394%200%200%200-.083.306c.016.11.074.2.175.27.101.07.207.098.317.082Zm.21%201.654a2.033%202.033%200%200%201-1.422-.316%201.99%201.99%200%200%201-.869-1.172%202.054%202.054%200%200%201-1.257-.412%202.054%202.054%200%200%201-.743-1.095%201.979%201.979%200%200%201-1.248-.424%202.12%202.12%200%200%201-.731-1.086%201.982%201.982%200%200%201-1.375-.5%202.046%202.046%200%200%201-.687-1.293%202.119%202.119%200%200%201%20.043-.816c.068-.269.184-.513.35-.733l4.116-5.438%203.083%202.323a.25.25%200%200%200%20.137.075.47.47%200%200%200%20.169.008.445.445%200%200%200%20.294-.157.39.39%200%200%200%20.081-.317.473.473%200%200%200-.054-.16.25.25%200%200%200-.11-.111l-3.365-2.536a1.377%201.377%200%200%200-.577-.287%201.778%201.778%200%200%200-1.248.176%201.538%201.538%200%200%200-.506.44l-2.497%203.337c-.107.142-.19.3-.249.477-.06.177-.091.35-.095.518a1.57%201.57%200%200%200%20.304.968l-1.029%201.364a3.313%203.313%200%200%201-.662-.969%203.273%203.273%200%200%201-.154-2.293c.114-.387.295-.746.543-1.075l2.5-3.318c.286-.363.62-.655%201.003-.877a3.316%203.316%200%200%201%203.68.219l.26.195.195-.259c.285-.363.62-.655%201.002-.877a3.316%203.316%200%200%201%203.68.219l3.977%202.996a3.393%203.393%200%200%201%201.3%202.216c.06.426.036.854-.072%201.283a3.282%203.282%200%200%201-.57%201.185l-5.818%207.697c-.166.22-.368.402-.607.548a2.002%202.002%200%200%201-.771.277Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.097'%20y1='10.89'%20x2='36.001'%20y2='44.744'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF6200'/%3e%3cstop%20offset='1'%20stop-color='%23FF6200'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='40.312'%20y1='5.379'%20x2='16.092'%20y2='47.542'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='24.991'%20y1='38.635'%20x2='20.304'%20y2='5.283'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,Zm)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:a,error:r})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(a)},[e.createVNode(Vm,{timezone:t.timezone,commitment:a,error:r,"is-editable":e.unref(l)(a),"is-removable":e.unref(i)(a),"pricing-plan-version":t.pricingPlanVersion,i18n:o.value,onEdit:e=>n.$emit("edit",a),onDelete:e=>n.$emit("delete",a)},null,8,["timezone","commitment","error","is-editable","is-removable","pricing-plan-version","i18n","onEdit","onDelete"])]))),128))]),_:1},8,["title","order-of-application-explanation","description","pricing-plan-version-is-selected","select-pricing-plan-hint","add-item-label","not-editable-explanation","is-creatable","is-editable","has-items"]))}}),Fm=(t,n,o)=>{const{formatDate:a}=Xa(),l=e.computed(()=>{var e,n;return null==(n=null==(e=t.value)?void 0:e.pricing_categories)?void 0:n.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]})}),i=e=>{var t,o,a,i,r,c,s,d,u,p;let m,f;switch(e.discountLevel){case"PRODUCT":m=null==(t=l.value)?void 0:t.find(t=>{var n,o;return t.id===(null==(n=e.ids)?void 0:n[0])||(null==(o=t.products)?void 0:o.some(t=>{var n;return t.id===(null==(n=e.ids)?void 0:n[0])}))});break;case"REVENUE_ITEM":{const t=t=>{var n,o;return t.id===(null==(n=e.ids)?void 0:n[0])||"product_items"in t&&(null==(o=t.product_items)?void 0:o.some(t=>{var n;return t.id===(null==(n=e.ids)?void 0:n[0])}))};m=null==(o=l.value)?void 0:o.find(e=>{var n;return null==(n=e.items)?void 0:n.some(t)}),f=null==(a=null==m?void 0:m.items)?void 0:a.find(t);break}case"PRICING_RULE":{const t=t=>{var n,o,a;return e.meter_property_condition_expression?(o=(e=>{var t,n;return(null==(n=null==(t=e.conditions)?void 0:t.meter_properties)?void 0:n.length)?{operator:"AND",operands:e.conditions.meter_properties.map(e=>({meter_property:{id:e.id,comparator:e.comparator,value:e.value,values:e.values}}))}:void 0})(t),a=e.meter_property_condition_expression,o&&a?o.operator===a.operator&&o.operands.length===a.operands.length&&o.operands.every((e,t)=>{var n,o,l,i,r;const c=null==(n=a.operands[t])?void 0:n.meter_property;return(null==(o=e.meter_property)?void 0:o.id)===(null==c?void 0:c.id)&&(null==(l=e.meter_property)?void 0:l.comparator)===(null==c?void 0:c.comparator)&&(null==(i=e.meter_property)?void 0:i.value)===(null==c?void 0:c.value)&&JSON.stringify(null==(r=e.meter_property)?void 0:r.values)===JSON.stringify(null==c?void 0:c.values)}):!o==!a):t.id===(null==(n=e.ids)?void 0:n[0])},o=e=>{var n,a;return t(e)||!!(null==(a=null==(n=e.conditions)?void 0:n.configs)?void 0:a.some(o))},a=t=>{var n,a,l;return e.meter_property_condition_expression?(null==(n=t.product_items)?void 0:n.some(t=>{var n;return t.id===(null==(n=e.ids)?void 0:n[0])}))&&(null==(a=t.configs)?void 0:a.some(o)):null==(l=t.configs)?void 0:l.some(o)},s=e=>{var t;return null==(t=e.items)?void 0:t.some(a)},d=null==(i=l.value)?void 0:i.find(s),u=null==(r=null==d?void 0:d.items)?void 0:r.find(a),p=null==(c=null==u?void 0:u.configs)?void 0:c.flatMap(bi),m=null==p?void 0:p.find(t);return`<strong>${wi(n)({pricing:d,item:u,config:m})}</strong>`}}return[(null==m?void 0:m.name)??(null==(d=null==(s=null==m?void 0:m.products)?void 0:s[0])?void 0:d.name),null==(p=null==(u=null==f?void 0:f.product_items)?void 0:u[0])?void 0:p.name].filter(Boolean).join(" - ")},r=e=>{if(!e.start_at&&!e.end_at)return"";let t,l;return e.start_at||(t=n.startOfSchedule),e.end_at||(l=n.endOfSchedule),e.start_at&&(t=a(o?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:o}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(l=a(o?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:o}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${l})`};return{getDiscountBody:e=>{let t;switch(e.discountLevel){case"PRODUCT":t=n.product;break;case"REVENUE_ITEM":t=n.revenueItem;break;case"PRICING_RULE":t=n.pricingRule}return n.discountBody(t??"",i(e)??"",r(e))},getConditionBody:e=>{var t,o;const a=e.condition;if(!(null==(o=null==(t=null==a?void 0:a.value)?void 0:t.amount)?void 0:o.quantity))return"";const l=pi(n)({propertyName:n.conditionResource,comparator:a.comparator,value:Gl(a.value.amount)},{hasFormatting:!0});return n.discountCondition(l)},getFormattedDuration:r}},Um={...ym,product:"product",revenueItem:"revenue item",pricingRule:"price rule",discountBody:(e,t,n)=>`Discount on ${e} <strong>${t}</strong> ${n}`,conditionResource:"invoice amount",discountCondition:e=>`when ${e}`,startOfSchedule:"Start of schedule",endOfSchedule:"End of schedule",or:"or",unsupported:"unsupported",unknown:"unknown"},Gm={class:"inline-block"},jm={key:0,class:"inline-flex flex-wrap items-center gap-1"},Qm=["innerHTML"],Km=["innerHTML"],Wm=e.defineComponent({__name:"SubscriptionDiscountItem",props:{discount:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:n}){const o=t,a=n,{$t:l}=Xa(),i=e.computed(()=>o.i18n??Um),{getDiscountBody:r,getConditionBody:c,getFormattedDuration:s}=Fm(e.toRef(()=>o.pricingPlanVersion),i.value,o.timezone);return(n,o)=>{var i,d;return e.openBlock(),e.createBlock(Bm,{icon:"south_east","icon-color":"yellow","is-editable":("INVOICE"!==t.discount.discountLevel||!(null==(i=t.discount.ids)?void 0:i[0]))&&t.isEditable,"is-removable":("INVOICE"!==t.discount.discountLevel||!(null==(d=t.discount.ids)?void 0:d[0]))&&t.isRemovable,error:t.error,onEdit:o[0]||(o[0]=e=>a("edit")),onDelete:o[1]||(o[1]=e=>a("delete"))},{body:e.withCtx(()=>{var n;return[e.createElementVNode("div",Gm,[e.createVNode(m,{tag:"span",weight:"semibold"},{default:e.withCtx(()=>{var n;return[(null==(n=t.discount.amount)?void 0:n.quantity)?(e.openBlock(),e.createBlock(ar,{key:0,value:t.discount.amount,highlighted:""},null,8,["value"])):t.discount.percentage?(e.openBlock(),e.createBlock(m,{key:1,tag:"span",class:"text-primary-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.discount.percentage)+"%",1)]),_:1})):e.createCommentVNode("",!0)]}),_:1}),o[3]||(o[3]=e.createTextVNode("   ",-1)),"INVOICE"===t.discount.discountLevel?(e.openBlock(),e.createElementBlock("span",jm,[e.createVNode(m,{tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Discount on",description:"Discount on",id:"SubscriptionDiscountItem.discountOn"})),1)]),_:1}),e.createVNode(m,{tag:"span",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Invoice",description:"invoice indicator",id:"SubscriptionDiscountItem.invoice"})),1)]),_:1}),(null==(n=t.discount.ids)?void 0:n[0])?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(m,{tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"applied by",description:"Subscription discount applied by",id:"SubscriptionDiscountItem.coupon.applied_by"})),1)]),_:1}),e.createVNode(m,{tag:"span",weight:"semibold"},{default:e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString(t.discount.coupon_name??(null==(n=t.discount.ids)?void 0:n[0])),1)]}),_:1})],64)):e.createCommentVNode("",!0),e.unref(s)(t.discount)?(e.openBlock(),e.createBlock(m,{key:1,tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)(t.discount)),1)]),_:1})):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(r)(t.discount)},null,8,Qm)),t.discount.condition?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o[2]||(o[2]=e.createTextVNode("  ",-1)),e.createElementVNode("span",{innerHTML:e.unref(c)(t.discount)},null,8,Km)],64)):e.createCommentVNode("",!0)])]}),_:1},8,["is-editable","is-removable","error"])}}}),Ym={...Um,title:"Discounts",orderOfApplicationExplanation:"Discounts are applied before commitments on invoices",description:"Add price reductions for a defined period or specific terms.",selectPricingPlanHint:"Please select a pricing plan to add discounts",addItemLabel:"Add",notEditableExplanation:"Discounts can't be edited for active schedules"},Xm=["src"],Jm=e.defineComponent({__name:"SubscriptionDiscounts",props:{i18n:{},discount:{},pricingPlanVersion:{},isEditable:{type:[Boolean,Function]},isCreatable:{type:Boolean},isRemovable:{type:[Boolean,Function]},scheduleStart:{},billingPeriod:{},billingTime:{},isDraftSubscription:{type:Boolean,default:!1},error:{},timezone:{}},emits:["add","edit","delete"],setup(t){const n=t,o=e.computed(()=>n.i18n??Ym),a=e.computed(()=>{if("error"in n)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[n,o]=t[0],[a,l,i]=n.split(".");return{discountLevel:a,index:parseInt(l,10),fieldName:i,message:o}})(n.error)}),{isEditableFlag:l,isItemEditable:i,isItemRemovable:r}=zm({isEditable:n.isEditable,isRemovable:n.isRemovable}),c=e.computed(()=>{var e,t,o,l,i,r,c,s,d,u,p,m,f,h;return[...(null==(t=null==(e=n.discount)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var n,o;return{item:{...e,discountLevel:"PRICING_RULE"},error:t===(null==(n=a.value)?void 0:n.index)&&"pricing_item_configs"===(null==(o=a.value)?void 0:o.discountLevel)?a.value.message:void 0}}))||[],...(null==(l=null==(o=n.discount)?void 0:o.product_items)?void 0:l.map((e,t)=>{var n,o;return{item:{...e,discountLevel:"REVENUE_ITEM"},error:t===(null==(n=a.value)?void 0:n.index)&&"product_items"===(null==(o=a.value)?void 0:o.discountLevel)?a.value.message:void 0}}))||[],...(null==(r=null==(i=n.discount)?void 0:i.product_item_meter_property_conditions)?void 0:r.map((e,t)=>{var n,o;return{item:{...e,discountLevel:"PRICING_RULE"},error:t===(null==(n=a.value)?void 0:n.index)&&"product_item_meter_property_conditions"===(null==(o=a.value)?void 0:o.discountLevel)?a.value.message:void 0}}))||[],...(null==(s=null==(c=n.discount)?void 0:c.pricing_items)?void 0:s.map((e,t)=>{var n,o;return{item:{...e,discountLevel:"REVENUE_ITEM"},error:t===(null==(n=a.value)?void 0:n.index)&&"pricing_items"===(null==(o=a.value)?void 0:o.discountLevel)?a.value.message:void 0}}))||[],...(null==(u=null==(d=n.discount)?void 0:d.pricings)?void 0:u.map((e,t)=>{var n,o;return{item:{...e,discountLevel:"PRODUCT"},error:t===(null==(n=a.value)?void 0:n.index)&&"pricings"===(null==(o=a.value)?void 0:o.discountLevel)?a.value.message:void 0}}))||[],...(null==(m=null==(p=n.discount)?void 0:p.products)?void 0:m.map((e,t)=>{var n,o;return{item:{...e,discountLevel:"PRODUCT"},error:t===(null==(n=a.value)?void 0:n.index)&&"products"===(null==(o=a.value)?void 0:o.discountLevel)?a.value.message:void 0}}))||[],...(null==(h=null==(f=n.discount)?void 0:f.totals)?void 0:h.map((e,t)=>{var n,o;return{item:{...e,discountLevel:"INVOICE"},error:t===(null==(n=a.value)?void 0:n.index)&&"totals"===(null==(o=a.value)?void 0:o.discountLevel)?a.value.message:void 0}}))||[]]});return(n,a)=>(e.openBlock(),e.createBlock(Lm,e.mergeProps(n.$attrs,{title:o.value.title,"order-of-application-explanation":o.value.orderOfApplicationExplanation,description:o.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":o.value.selectPricingPlanHint,"add-item-label":o.value.addItemLabel,"is-editable":e.unref(l),"is-creatable":!!t.isCreatable,"not-editable-explanation":o.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:a[0]||(a[0]=e=>n.$emit("add"))}),{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20width='44'%20height='44'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='m18.55%2039.32%203.45%203.4%203.46-3.41%204.48%201.85%201.86-4.5h4.87v-4.84l4.47-1.9-1.82-4.47%203.4-3.45-3.41-3.46%201.85-4.48-4.5-1.86V7.33h-4.84l-1.9-4.47-4.47%201.82L22%201.28%2018.54%204.7l-4.48-1.85-1.86%204.5H7.33v4.84l-4.47%201.9%201.82%204.47L1.28%2022l3.41%203.46-1.85%204.48%204.5%201.86v4.87h4.84l1.9%204.47%204.47-1.82Z'%20fill='url(%23c)'/%3e%3cpath%20d='m22%2042.72-.7.7.7.7.7-.7-.7-.7Zm-3.45-3.4.7-.71-.46-.46-.61.25.37.92Zm6.91-.01.38-.93-.6-.25-.48.47.7.7Zm4.48%201.85-.38.93.92.38.38-.92-.92-.39Zm1.86-4.5v-1h-.67l-.25.62.92.39Zm4.87%200v1h1v-1h-1Zm0-4.84-.4-.92-.6.26v.66h1Zm4.47-1.9.39.93.9-.39-.36-.9-.93.37Zm-1.82-4.47-.7-.7-.47.46.25.61.92-.37Zm3.4-3.45.7.7.7-.7-.7-.7-.7.7Zm-3.41-3.46-.93-.38-.25.61.47.47.7-.7Zm1.85-4.48.93.39.38-.93-.92-.38-.39.92Zm-4.5-1.86h-1v.67l.62.25.39-.92Zm0-4.87h1v-1h-1v1Zm-4.84%200-.92.4.26.6h.66v-1Zm-1.9-4.47.93-.39-.38-.9-.92.36.38.93Zm-4.47%201.82-.7.71.46.46.61-.25-.37-.92ZM22%201.28l.7-.7-.7-.7-.7.7.7.7ZM18.54%204.7l-.38.93.61.25.47-.47-.7-.7Zm-4.48-1.85.39-.93-.93-.38-.38.92.92.39Zm-1.86%204.5v1h.67l.25-.62-.92-.39Zm-4.87%200v-1h-1v1h1Zm0%204.84.4.92.6-.26v-.66h-1Zm-4.47%201.9-.39-.93-.9.38.36.92.93-.38Zm1.82%204.47.71.7.46-.46-.25-.61-.92.37ZM1.28%2022l-.7-.7-.7.7.7.7.7-.7Zm3.41%203.46.93.38.25-.61-.47-.47-.7.7Zm-1.85%204.48-.93-.39-.38.93.92.38.39-.92Zm4.5%201.86h1v-.67l-.62-.25-.39.92Zm0%204.87h-1v1h1v-1Zm4.84%200%20.92-.4-.26-.6h-.66v1Zm1.9%204.47-.93.39.39.9.9-.36-.37-.93Zm8.62.86-3.44-3.39-1.4%201.42%203.44%203.4L22.7%2042Zm2.06-3.4L21.3%2042l1.4%201.43%203.46-3.41-1.4-1.42Zm5.56%201.64-4.48-1.86-.76%201.85%204.48%201.86.76-1.85Zm.56-3.96L29%2040.78l1.85.77%201.86-4.5-1.84-.77Zm5.79-.61H31.8v2h4.87v-2Zm-1-3.85v4.85h2v-4.85h-2Zm5.08-2.81-4.47%201.89.78%201.84%204.47-1.9-.78-1.83Zm-2.35-3.19%201.81%204.48%201.86-.75-1.82-4.48-1.85.75ZM42%2021.3l-3.39%203.44%201.43%201.4%203.39-3.44L42%2021.3Zm-3.4-2.06L42%2022.7l1.43-1.4-3.4-3.46-1.43%201.4Zm1.64-5.56-1.86%204.48%201.85.76%201.86-4.47-1.85-.77Zm-3.96-.56%204.5%201.87.77-1.85-4.5-1.86-.77%201.84Zm-.61-5.79v4.87h2V7.33h-2Zm-3.85%201h4.85v-2h-4.85v2Zm-2.81-5.08%201.89%204.47%201.84-.78-1.9-4.47-1.83.78ZM25.82%205.6%2030.3%203.8l-.75-1.86-4.48%201.82.75%201.85ZM21.3%202l3.44%203.39%201.4-1.42L22.7.57%2021.3%202Zm-2.06%203.4L22.7%202%2021.3.57l-3.46%203.4%201.4%201.43Zm-5.56-1.64%204.48%201.86.76-1.85-4.47-1.86-.77%201.85Zm-.56%203.96L15%203.22l-1.85-.77-1.86%204.5%201.84.77Zm-5.79.61h4.87v-2H7.33v2Zm1%203.85V7.33h-2v4.85h2Zm-5.08%202.81%204.47-1.89-.78-1.84-4.47%201.9.78%201.83Zm2.35%203.19L3.8%2013.7l-1.86.75%201.82%204.48%201.85-.75ZM2%2022.7l3.39-3.44-1.42-1.4-3.4%203.44L2%2022.7Zm3.4%202.06L2%2021.3.57%2022.7l3.41%203.46%201.42-1.4Zm-1.64%205.56%201.86-4.48-1.85-.76-1.86%204.47%201.85.77Zm3.96.56L3.22%2029l-.77%201.85%204.5%201.86.77-1.84Zm.61%205.79V31.8h-2v4.87h2Zm3.85-1H7.33v2h4.85v-2Zm2.81%205.08-1.89-4.47-1.84.78%201.9%204.47%201.83-.78Zm3.19-2.35L13.7%2040.2l.75%201.86%204.48-1.82-.75-1.85Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='12'%20y='12'%20width='20'%20height='20'%3e%3cpath%20fill='%23D9D9D9'%20d='M12%2012h20v20H12z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='M19.5%2027.83v-1.66H25l-9.67-9.67%201.17-1.17L26.17%2025v-5.5h1.66v8.33H19.5Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.28'%20y1='1.28'%20x2='42.72'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F6D449'/%3e%3cstop%20offset='1'%20stop-color='%23F6D449'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='42.72'%20y1='1.28'%20x2='1.28'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='22'%20y1='42.72'%20x2='22'%20y2='-2.59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,Xm)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:a,error:l})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(a)},[e.createVNode(Wm,{discount:a,error:l,"is-editable":e.unref(i)(a),"is-removable":e.unref(r)(a),"pricing-plan-version":t.pricingPlanVersion,i18n:o.value,timezone:t.timezone,onEdit:e=>n.$emit("edit",a),onDelete:e=>n.$emit("delete",a)},null,8,["discount","error","is-editable","is-removable","pricing-plan-version","i18n","timezone","onEdit","onDelete"])]))),128))]),_:1},16,["title","order-of-application-explanation","description","pricing-plan-version-is-selected","select-pricing-plan-hint","add-item-label","is-editable","is-creatable","not-editable-explanation","has-items"]))}}),ef={...xm,...ym,markupBody:(e,t,n)=>`Markup on ${e} <strong>${t}</strong> ${n}`},tf={class:"font-semibold text-primary-600"},nf=["innerHTML"],of=e.defineComponent({__name:"SubscriptionMarkupItem",props:{markup:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:n}){const o=t,a=n,l=e.computed(()=>o.i18n??ef),{getMarkupBody:i}=((t,n=ef,o)=>{const{formatDate:a}=Xa(),l=e.computed(()=>{var e,n;return(null==(n=null==(e=t.value)?void 0:e.pricing_categories)?void 0:n.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),i=e=>{var t,o;const a=t=>{var n;return t.id===(null==(n=e.ids)?void 0:n[0])},i=e=>{var t,n;return a(e)||!!(null==(n=null==(t=e.conditions)?void 0:t.configs)?void 0:n.some(a))},r=e=>{var t;return null==(t=e.configs)?void 0:t.some(i)},c=null==(t=l.value)?void 0:t.find(e=>{var t;return null==(t=e.items)?void 0:t.some(r)}),s=null==(o=null==c?void 0:c.items)?void 0:o.find(r),d=(null==s?void 0:s.configs)&&(null==s?void 0:s.configs.flatMap(bi)),u=null==d?void 0:d.find(a);return`<strong>${wi(n)({pricing:c,item:s,config:u})}</strong>`},r=e=>{if(!e.start_at&&!e.end_at)return"";let t,l;return e.start_at||(t=n.startOfSchedule),e.end_at||(l=n.endOfSchedule),e.start_at&&(t=a(o?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:o}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(l=a(o?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:o}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${l})`};return{getMarkupBody:e=>n.markupBody(n.pricingRule,i(e)??"",r(e)),getFormattedDuration:r}})(e.toRef(()=>o.pricingPlanVersion),l.value,o.timezone);return(n,o)=>(e.openBlock(),e.createBlock(Bm,{icon:"north_east","icon-color":"teal","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:o[0]||(o[0]=e=>a("edit")),onDelete:o[1]||(o[1]=e=>a("delete"))},{body:e.withCtx(()=>[e.createElementVNode("span",tf,e.toDisplayString(t.markup.percentage)+"%"+e.toDisplayString(" "),1),e.createElementVNode("span",{innerHTML:e.unref(i)(t.markup)},null,8,nf)]),_:1},8,["is-editable","is-removable","error"]))}}),af={...ef,title:"Markups",orderOfApplicationExplanation:"Markups are applied before commitments on invoices",description:"Add price markups for a defined period or specific terms.",selectPricingPlanHint:"Please select a pricing plan to add markups",addItemLabel:"Add",notEditableExplanation:"Markups can't be edited for active schedules"},lf=["src"],rf=e.defineComponent({__name:"SubscriptionMarkups",props:{i18n:{},markup:{},pricingPlanVersion:{},isCreatable:{type:Boolean},isEditable:{type:[Boolean,Function]},isRemovable:{type:[Boolean,Function]},error:{},timezone:{}},emits:["add","edit","delete"],setup(t){const n=t,o=e.computed(()=>n.i18n??af),{isEditableFlag:a,isItemEditable:l,isItemRemovable:i}=zm({isEditable:n.isEditable,isRemovable:n.isRemovable}),r=e.computed(()=>{if("error"in n)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[n,o]=t[0],[a,l,i]=n.split(".");return{markupLevel:a,index:parseInt(l,10),fieldName:i,message:o}})(n.error)}),c=e.computed(()=>{var e,t;return(null==(t=null==(e=n.markup)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var n,o;return{item:e,error:t===(null==(n=r.value)?void 0:n.index)&&"pricing_item_configs"===(null==(o=r.value)?void 0:o.markupLevel)?r.value.message:void 0}}))??[]});return(n,r)=>(e.openBlock(),e.createBlock(Lm,e.mergeProps(n.$attrs,{title:o.value.title,"order-of-application-explanation":o.value.orderOfApplicationExplanation,description:o.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":o.value.selectPricingPlanHint,"add-item-label":o.value.addItemLabel,"is-editable":e.unref(a),"is-creatable":!!t.isCreatable,"not-editable-explanation":o.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:r[0]||(r[0]=e=>n.$emit("add"))}),{icon:e.withCtx(()=>[e.createElementVNode("img",{src:e.unref("data:image/svg+xml,%3csvg%20width='44'%20height='44'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='a'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='44'%20height='44'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h44v44H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cmask%20id='e'%20fill='%23fff'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='%23BFEAFB'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='url(%23b)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.76%2040.05a2.94%202.94%200%200%201%203.17.63%202.96%202.96%200%200%200%204.15%200%202.93%202.93%200%200%201%203.17-.63c1.48.61%203.19-.1%203.8-1.58a2.92%202.92%200%200%201%202.7-1.8c1.61%200%202.92-1.3%202.92-2.92%200-1.17.7-2.23%201.78-2.69a2.96%202.96%200%200%200%201.6-3.82%202.94%202.94%200%200%201%20.63-3.17%202.96%202.96%200%200%200%200-4.15%202.93%202.93%200%200%201-.63-3.16c.61-1.5-.1-3.2-1.58-3.81a2.92%202.92%200%200%201-1.8-2.7c0-1.61-1.3-2.92-2.92-2.92a2.93%202.93%200%200%201-2.69-1.78%202.96%202.96%200%200%200-3.82-1.6c-1.09.44-2.34.2-3.17-.63a2.96%202.96%200%200%200-4.15%200%202.93%202.93%200%200%201-3.16.63c-1.5-.61-3.2.1-3.81%201.58a2.92%202.92%200%200%201-2.7%201.8%202.92%202.92%200%200%200-2.92%202.92c0%201.17-.7%202.23-1.78%202.69a2.96%202.96%200%200%200-1.6%203.82c.44%201.09.2%202.34-.63%203.17a2.96%202.96%200%200%200%20.01%204.15c.82.83%201.07%202.08.62%203.16-.61%201.5.1%203.2%201.58%203.81a2.92%202.92%200%200%201%201.8%202.7c0%201.61%201.3%202.92%202.92%202.92%201.17%200%202.23.7%202.69%201.78a2.96%202.96%200%200%200%203.82%201.6Z'%20fill='url(%23c)'/%3e%3cpath%20d='M12.02%2038.84a3.96%203.96%200%200%200%205.12%202.14l-.75-1.86c-.98.4-2.12-.07-2.53-1.05l-1.84.77Zm-1.77-1.17c.76%200%201.46.46%201.77%201.17l1.84-.78a3.93%203.93%200%200%200-3.61-2.4v2Zm-3.92-3.92a3.92%203.92%200%200%200%203.92%203.92v-2a1.92%201.92%200%200%201-1.92-1.92h-2Zm-1.18-1.77c.72.3%201.18%201%201.18%201.77h2c0-1.58-.95-3.01-2.42-3.62l-.76%201.85Zm-2.12-5.12c-.83%202%20.12%204.29%202.12%205.12l.76-1.85a1.92%201.92%200%200%201-1.03-2.5l-1.85-.77Zm-.41-2.08c.54.55.7%201.37.4%202.08l1.86.77c.6-1.46.26-3.14-.84-4.25l-1.42%201.4Zm-.01-5.55a3.96%203.96%200%200%200%200%205.55l1.43-1.4a1.96%201.96%200%200%201%200-2.75l-1.43-1.4Zm.41-2.1c.3.73.13%201.55-.41%202.1l1.42%201.4a3.94%203.94%200%200%200%20.85-4.25l-1.86.76Zm2.14-5.11a3.96%203.96%200%200%200-2.14%205.12l1.86-.76c-.4-.97.07-2.1%201.06-2.52l-.78-1.84Zm1.17-1.77c0%20.76-.46%201.46-1.17%201.77l.78%201.84a3.93%203.93%200%200%200%202.4-3.61h-2Zm3.92-3.92a3.92%203.92%200%200%200-3.92%203.92h2c0-1.06.86-1.92%201.92-1.92v-2Zm1.77-1.18c-.3.72-1%201.18-1.77%201.18v2c1.58%200%203.01-.95%203.62-2.42l-1.85-.76Zm5.12-2.12c-2-.83-4.29.12-5.12%202.12l1.85.76a1.92%201.92%200%200%201%202.5-1.03l.77-1.85Zm2.08-.41c-.55.54-1.37.7-2.08.4l-.77%201.86c1.46.6%203.14.26%204.26-.84l-1.4-1.42Zm5.55-.01a3.96%203.96%200%200%200-5.55%200l1.4%201.43a1.96%201.96%200%200%201%202.75%200l1.4-1.43Zm2.1.41c-.72.3-1.55.13-2.1-.41l-1.4%201.42a3.94%203.94%200%200%200%204.25.85l-.76-1.86Zm5.12%202.14a3.96%203.96%200%200%200-5.13-2.14l.76%201.86c.97-.4%202.1.07%202.52%201.05L32%205.16Zm1.76%201.17c-.76%200-1.46-.46-1.76-1.17l-1.85.77a3.93%203.93%200%200%200%203.61%202.4v-2Zm3.92%203.92a3.92%203.92%200%200%200-3.92-3.92v2c1.06%200%201.92.86%201.92%201.92h2Zm1.18%201.77c-.71-.3-1.18-1-1.18-1.77h-2c0%201.58.95%203.01%202.42%203.62l.76-1.85Zm2.12%205.12c.83-2-.12-4.29-2.12-5.12l-.76%201.85c.97.4%201.44%201.53%201.03%202.5l1.85.77Zm.41%202.08a1.93%201.93%200%200%201-.4-2.08l-1.86-.77a3.93%203.93%200%200%200%20.84%204.25l1.42-1.4Zm.01%205.55a3.96%203.96%200%200%200%200-5.55l-1.43%201.4c.75.77.75%202%200%202.74l1.43%201.4Zm-.41%202.1c-.3-.73-.13-1.55.41-2.1l-1.42-1.4a3.94%203.94%200%200%200-.85%204.25l1.86-.76Zm-2.14%205.11a3.96%203.96%200%200%200%202.14-5.12l-1.86.76c.4.97-.07%202.1-1.05%202.52l.77%201.84Zm-1.17%201.77c0-.76.46-1.46%201.17-1.77l-.77-1.84a3.93%203.93%200%200%200-2.4%203.61h2Zm-3.92%203.92a3.92%203.92%200%200%200%203.92-3.92h-2c0%201.06-.86%201.92-1.92%201.92v2Zm-1.77%201.18c.3-.72%201-1.18%201.77-1.18v-2c-1.58%200-3.01.95-3.62%202.42l1.85.76Zm-5.12%202.12c2%20.83%204.3-.12%205.12-2.12l-1.85-.76a1.92%201.92%200%200%201-2.5%201.03l-.77%201.85Zm-2.08.41c.55-.54%201.38-.7%202.08-.4l.77-1.86a3.93%203.93%200%200%200-4.25.84l1.4%201.42Zm-4.14-1.41a3.94%203.94%200%200%200-4.25-.85l.75%201.86c.72-.3%201.54-.13%202.1.41l1.4-1.42Zm-1.4%201.42a3.96%203.96%200%200%200%205.54%200l-1.4-1.43c-.77.75-2%20.75-2.74%200l-1.4%201.43Z'%20fill='url(%23d)'%20fill-opacity='.1'%20mask='url(%23e)'/%3e%3cg%20opacity='.5'%3e%3cmask%20id='f'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='12'%20y='12'%20width='20'%20height='20'%3e%3cpath%20fill='%23D9D9D9'%20d='M12%2012h20v20H12z'/%3e%3c/mask%3e%3cg%20mask='url(%23f)'%3e%3cpath%20d='m16.5%2028.67-1.17-1.17L25%2017.83h-5.5v-1.66h8.33v8.33h-1.66V19l-9.67%209.67Z'%20fill='%23222B35'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='1.28'%20y1='1.28'%20x2='42.72'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23395E6D'/%3e%3cstop%20offset='1'%20stop-color='%23395E6D'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='42.72'%20y1='1.28'%20x2='1.28'%20y2='42.72'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='22'%20y1='42.72'%20x2='22'%20y2='-2.59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230C0E41'/%3e%3cstop%20offset='1'%20stop-color='%230C0E41'%20stop-opacity='.5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e"),alt:""},null,8,lf)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:a,error:r})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(a)},[e.createVNode(of,{markup:a,error:r,"is-editable":e.unref(l)(a),"is-removable":e.unref(i)(a),"pricing-plan-version":t.pricingPlanVersion,i18n:o.value,timezone:t.timezone,onEdit:e=>n.$emit("edit",a),onDelete:e=>n.$emit("delete",a)},null,8,["markup","error","is-editable","is-removable","pricing-plan-version","i18n","timezone","onEdit","onDelete"])]))),128))]),_:1},16,["title","order-of-application-explanation","description","pricing-plan-version-is-selected","select-pricing-plan-hint","add-item-label","is-editable","is-creatable","not-editable-explanation","has-items"]))}}),cf={startOfSchedule:Sm.startOfSchedule,endOfSchedule:Sm.endOfSchedule,markupPercentage:e=>`${e}% markup`},sf={class:"flex items-center gap-2"},df=e.defineComponent({__name:"SubscriptionScheduleConfigMarkup",props:{markup:{},i18n:{}},setup(t){const n=t,o=e.computed(()=>n.i18n??cf),{formatDate:a}=Xa();return(n,l)=>(e.openBlock(),e.createBlock(pn,{color:"teal-light"},{default:e.withCtx(()=>[e.createElementVNode("div",sf,[e.createVNode(y,{icon:"north_east",size:"xs"}),e.createElementVNode("span",null,[t.markup.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value.markupPercentage(t.markup.percentage)),1)],64)):e.createCommentVNode("",!0),t.markup.start_at||t.markup.end_at?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(" ")+"("+e.toDisplayString(t.markup.start_at?e.unref(a)({date:t.markup.start_at,format:"date",offsetType:"local",showTimezone:!1}):o.value.startOfSchedule)+" - "+e.toDisplayString(t.markup.end_at?e.unref(a)({date:t.markup.end_at,format:"date",offsetType:"local",showTimezone:!1}):o.value.endOfSchedule)+") ",1)],64)):e.createCommentVNode("",!0)])])]),_:1}))}}),uf={class:"relative"},pf={class:"w-full text-left text-sm text-gray-500"},mf=e.defineComponent({__name:"Table",props:{striped:{type:Boolean},stripeClass:{},hoverable:{type:Boolean},sorting:{},rounded:{type:Boolean},noBorder:{type:Boolean}},emits:["sort"],setup(t,{emit:n}){const o=t,a=n;return e.provide("striped",o.striped),e.provide("stripeClass",o.stripeClass),e.provide("hoverable",o.hoverable),e.provide("sorting",e.computed(()=>o.sorting)),e.provide("emit",a),e.provide("rounded",o.rounded??!1),e.provide("noBorder",o.noBorder??!1),(t,n)=>(e.openBlock(),e.createElementBlock("div",uf,[e.createElementVNode("table",pf,[e.renderSlot(t.$slots,"default")])]))}}),ff={key:0,class:"transition-duration-700 shadow-left pointer-events-none absolute right-0 top-0 z-10 h-full w-3.5 translate-x-3.5 bg-transparent bg-gradient-to-r from-black/[.06] to-transparent opacity-0 shadow-none transition-opacity [.scroll-shadow-left_&]:opacity-100"},hf={key:1,class:"transition-duration-700 shadow-right pointer-events-none absolute left-0 top-0 z-10 h-full w-3.5 -translate-x-3.5 bg-transparent bg-gradient-to-l from-black/[.06] to-transparent opacity-0 shadow-none transition-opacity [.scroll-shadow-right_&]:opacity-100"},vf=e.defineComponent({__name:"TableCellScrollShadow",props:{elRef:{}},setup(t){const n=t,o=e.ref(!1),a=e.ref(!1);return e.onMounted(()=>{var e;if((null==(e=n.elRef)?void 0:e.value)&&n.elRef.value.parentElement){const e=Array.from(n.elRef.value.parentElement.children);o.value=e[0]===n.elRef.value,a.value=e[e.length-1]===n.elRef.value}}),(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.value?(e.openBlock(),e.createElementBlock("div",ff)):e.createCommentVNode("",!0),a.value?(e.openBlock(),e.createElementBlock("div",hf)):e.createCommentVNode("",!0)],64))}}),gf=e.defineComponent({__name:"TableCell",props:{hasPadding:{type:Boolean,default:!1}},setup(t){const n=e.inject("stripeClass")??"group-odd:bg-gray-50",o=e.inject("rounded")??!1,a=e.inject("hoverable"),l=e.inject("striped"),i=e.inject("tdLinkSlot"),r=t,c=e.ref(),s=e.computed(()=>{let e="relative transition ease-in-out px-4 py-2.5 text-gray-800 whitespace-nowrap leading-none";return l&&(e+=` group-even:bg-white ${n}`),o&&(e+=" first-of-type:rounded-l last-of-type:rounded-r overflow-clip"),r.hasPadding||(e+=" first:pl-0"),a&&(e+=" group-hover:bg-gray-50 cursor-pointer"),e});return(t,n)=>(e.openBlock(),e.createElementBlock("td",{ref_key:"el",ref:c,class:e.normalizeClass(s.value)},[c.value?(e.openBlock(),e.createBlock(vf,{key:0,"el-ref":e.toRef(c.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.unref(i)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)),{key:1})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2))}}),bf=["colspan","tabindex"],yf=e.defineComponent({__name:"TableHeadCell",props:{colspan:{},columnName:{},sortable:{type:Boolean},hasPadding:{type:Boolean,default:!1},tooltip:{},fixedWidth:{}},emits:["sort"],setup(t,{emit:n}){const o=n,a=e.inject("sorting"),l=t,i=e.ref(),r=e.computed(()=>!(!l.sortable||!(null==a?void 0:a.value))&&(a.value.columnName===l.columnName&&a.value.direction)),c=()=>{l.sortable&&a&&l.columnName&&o("sort",l.columnName)};return(n,o)=>(e.openBlock(),e.createElementBlock("th",{ref_key:"el",ref:i,style:e.normalizeStyle(t.fixedWidth?{"--col-w":`${t.fixedWidth}px`}:void 0),class:e.normalizeClass([[{"cursor-pointer":t.sortable,"first:pl-0":!t.hasPadding},t.fixedWidth?["min-w-[var(--col-w)]"]:null],"relative select-none whitespace-nowrap px-4 py-2 text-xs font-medium"]),colspan:t.colspan,tabindex:t.sortable?0:-1,scope:"col",onClick:c},[i.value?(e.openBlock(),e.createBlock(vf,{key:0,"el-ref":e.toRef(i.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({"text-primary-700":r.value})},[e.renderSlot(n.$slots,"default")],2),t.sortable?(e.openBlock(),e.createBlock(y,{key:1,icon:r.value&&"desc"===r.value?"north":"south",class:e.normalizeClass([{"text-primary-700":r.value},"text-sm"]),size:"2xs"},null,8,["icon","class"])):e.createCommentVNode("",!0),t.tooltip?(e.openBlock(),e.createBlock(dr,{key:2,variant:"outline"},{default:e.withCtx(()=>[e.createVNode(y,{icon:"help",size:"xs",class:"-mt-0.5 ml-0.5 rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"})]),tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0)],14,bf))}}),xf=e.defineComponent({__name:"TableRow",props:{backgroundClass:{}},setup(t){const n=e.useSlots();e.provide("tdLinkSlot",n.link);const o=e.inject("noBorder");return(n,a)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(["group rounded-md",{"bg-white":!t.backgroundClass,"border-y border-gray-200":!e.unref(o)}])},[e.renderSlot(n.$slots,"default")],2))}}),kf={class:"grow overflow-hidden text-ellipsis"},_f=e.defineComponent({__name:"Title",props:{title:{},subTitle:{},variant:{default:"default"},suffix:{},size:{default:"md"},avatar:{type:Boolean,default:!1},uppercase:{type:Boolean,default:!0},resourceId:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex text-left",{"gap-4":["md","lg"].includes(t.size),"gap-3":"sm"===t.size,"gap-2":"xs"===t.size&&"transparent"!==t.variant,"gap-1":"xs"===t.size&&"transparent"===t.variant}])},[t.avatar&&t.title?(e.openBlock(),e.createBlock(e.unref(ks),{key:0,initials:t.title.slice(0,1),"color-hash":t.title,size:["sm","xs"].includes(t.size)?"lg":"xl"},null,8,["initials","color-hash","size"])):e.createCommentVNode("",!0),e.createElementVNode("div",kf,[t.title||n.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{"text-3xl":"lg"===t.size,"text-2xl":"md"===t.size,"text-base":"sm"===t.size,"text-xs text-gray-600":"xs"===t.size,"text-gray-900":"xs"!==t.size,uppercase:"xs"===t.size&&t.uppercase,"font-general-sans":["md","lg"].includes(t.size)},"flex items-center font-semibold"])},[e.renderSlot(n.$slots,"prefix"),e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),e.renderSlot(n.$slots,"suffix",{},()=>[e.createTextVNode(e.toDisplayString(t.suffix),1)])],2)):e.createCommentVNode("",!0),t.subTitle||n.$slots.subTitle&&!e.unref(zi)(n.$slots.subTitle({}))?(e.openBlock(),e.createBlock(e.unref(m),{key:1,variant:"body-sm",shade:"lighter","no-spacing":"",class:"mt-1"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"subTitle",{},()=>[e.createTextVNode(e.toDisplayString(t.subTitle),1)])]),_:3})):e.createCommentVNode("",!0)])],2))}),wf={"w-fit":!0,relative:!0,"inline-flex":!0,"items-center":!0},Bf={xl:"w-16 h-8 after:top-0.5 after:left-0.5 after:h-7 after:w-7",lg:"w-14 h-7 after:top-0.5 after:left-0.5 after:h-6 after:w-6",md:"w-11 h-6 after:top-0.5 after:left-0.5 after:h-5 after:w-5",sm:"w-9 h-5 after:top-0.5 after:left-0.5 after:h-4 after:w-4",xs:"w-7 h-4 after:top-0.5 after:left-0.5 after:h-3 after:w-3"},Cf={red:"peer-focus:ring-red-300 peer-checked:bg-red-600",green:"peer-focus:ring-green-300 peer-checked:bg-green-600",purple:"peer-focus:ring-purple-300 peer-checked:bg-purple-600",yellow:"peer-focus:ring-yellow-300 peer-checked:bg-yellow-400",teal:"peer-focus:ring-teal-300 peer-checked:bg-teal-600",orange:"peer-focus:ring-orange-300 peer-checked:bg-orange-500"},Ef=["disabled"],Nf=e.defineComponent({__name:"Toggle",props:{modelValue:{type:Boolean,default:!1},labelPosition:{default:"after"},size:{default:"md"},disabled:{type:Boolean,default:!1},color:{default:""},hasBackground:{type:Boolean,default:!1},noSpacing:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:n}){const o=t,a=n,l=e.computed({get:()=>o.modelValue,set(e){a("update:modelValue",e)}}),{labelClasses:i,toggleSize:r,toggleClasses:c,toggleColor:s,toggleBallClasses:d}=(t=>{const n=e.computed(()=>{var e,n;return{...wf,"cursor-pointer":!(null==(e=t.disabled)?void 0:e.value),"cursor-default":!!(null==(n=t.disabled)?void 0:n.value)}}),o=e.computed(()=>{var e,n;return{'peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-primary-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[""] after:absolute after:top-0.5 after:left-0.5 after:border-gray-300 after:border after:rounded-full after:transition-all':!0,"bg-gray-200 peer-checked:bg-primary-600 after:bg-white":!(null==(e=t.disabled)?void 0:e.value),"bg-gray-100 peer-checked:bg-primary-200 after:bg-gray-200":null==(n=t.disabled)?void 0:n.value}});return{labelClasses:n,toggleSize:e.computed(()=>Bf[t.size.value]),toggleClasses:o,toggleColor:e.computed(()=>Cf[t.color.value]),toggleBallClasses:e.computed(()=>"grow text-sm font-medium text-gray-900")}})(e.toRefs(o));return(n,o)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["inline-flex items-center gap-1.5",{"flex-row-reverse":"before"===t.labelPosition,"rounded border-l-4 border-gray-200 bg-gray-50":t.hasBackground,"p-2":!t.noSpacing}]),onClick:o[1]||(o[1]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i))},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":o[0]||(o[0]=e=>l.value=e),disabled:t.disabled,class:"peer sr-only",type:"checkbox"},null,8,Ef),[[e.vModelCheckbox,l.value]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(c),e.unref(r),e.unref(s)])},null,2)],2),n.$slots["inline-label"]?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(d))},[e.renderSlot(n.$slots,"inline-label")],2)):e.createCommentVNode("",!0)],2))}}),Tf=e.defineComponent({__name:"TooltipTeleportProvider",setup(t){const n=e.ref(null);return e.provide(rr,n),(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"tooltipTarget",ref:n,"data-tooltip-teleport-target":""},null,512)],64))}}),Mf=e.defineComponent({__name:"TopUpDescription",props:{i18n:{},pricingItemConfig:{}},setup(t){const n=t,o=e.computed(()=>{var e;return!!(null==(e=n.pricingItemConfig.top_up)?void 0:e.rollover)}),a=e.computed(()=>{var e,t;return null==(t=null==(e=n.pricingItemConfig.details)?void 0:e.bands)?void 0:t.some(e=>!!e.block_size)}),l=e.computed(()=>hi(n.pricingItemConfig)&&a.value?o.value?n.i18n.tiered.blockSize.rolloverDescription:n.i18n.tiered.blockSize.nonRolloverDescription:hi(n.pricingItemConfig)&&!a.value?o.value?n.i18n.tiered.nonBlockSize.rolloverDescription:n.i18n.tiered.nonBlockSize.nonRolloverDescription:o.value?n.i18n.rolloverDescription:n.i18n.nonRolloverDescription);return(t,n)=>(e.openBlock(),e.createBlock(m,{variant:"body-xs",class:"italic text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1}))}}),Vf=e.defineComponent({__name:"TrialChip",props:{trialPeriod:{},size:{default:"sm"}},setup(t){const n=t,{formatTimePeriod:o}=Hl(),a=e.computed(()=>"string"==typeof n.trialPeriod?n.trialPeriod:`${o(n.trialPeriod,{short:!0,singular:!0})} trial`);return(n,o)=>(e.openBlock(),e.createBlock(e.unref(pn),{color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value),1)]),_:1},8,["size"]))}}),Sf=t=>{const{$t:n,formatNumber:o}=Xa(),a=e=>Gi(n,o,e),l=e.computed(()=>{var e,o;return(null==(o=null==(e=t.walletBalance.wallet)?void 0:e.wallet_type)?void 0:o.name)||n({defaultMessage:"Balance",id:"wallet_balance.balance_label",description:"Label shown above a wallet's balance amount"})}),i=e=>{var t;return((null==(t=e.pricing_item)?void 0:t.configs)??[]).filter(e=>!!e.on_demand)},r=e.computed(()=>(t.walletBalance.charge_on_demand_pricing_items??[]).filter(e=>i(e).some(e=>(e=>mi(e,["FIXED"]))(e)||gi(e)))),c=e.computed(()=>r.value.find(e=>i(e).some(e=>gi(e)))),s=e.computed(()=>!!t.showManualTopUp&&r.value.length>0),d=e.computed(()=>!!t.showAutoTopUp&&!!c.value),u=e.computed(()=>{var e,n;return null==(n=null==(e=t.walletBalance.wallet)?void 0:e.auto_top_up_configs)?void 0:n.find(e=>"ACTIVE"===e.status)}),p=e.computed(()=>{var e,n;return null==(n=null==(e=t.walletBalance.wallet_balance.open_balance)?void 0:e.credits)?void 0:n.credit_type}),m=(e,t)=>a({credits:{quantity:e,credit_type_id:t,credit_type:p.value}}),f=e.computed(()=>{var e,n;const o=null==(e=u.value)?void 0:e.pricing_item_id;if(!o)return;const a=(t.walletBalance.charge_on_demand_pricing_items??[]).filter(e=>e.pricing_item_id===o).flatMap(e=>i(e)).flatMap(e=>e.wallet_grants??[]),l=null==(n=t.walletBalance.wallet)?void 0:n.wallet_type_id;return a.find(e=>e.wallet_type_id===l)??a[0]}),h=e.computed(()=>{var e,t;const n=null==(e=u.value)?void 0:e.topup_amount,o=null==(t=f.value)?void 0:t.credits_grant;if(!n||!o)return"";if(o.credits)return m(o.credits.quantity,o.credits.credit_type_id);if(o.conversion){const e=Number(n.quantity)*Number(o.conversion.rate);return m(String(e),o.conversion.credit_type_id)}return""}),v=e.computed(()=>u.value?n({defaultMessage:"Auto top-up enabled",id:"wallet_balance.auto_top_up_enabled_label",description:"Label shown when a wallet tops itself up automatically"}):n({defaultMessage:"No auto top-up enabled",id:"wallet_balance.auto_top_up_disabled_label",description:"Label shown when a wallet has no automatic top-up configured"})),g=e.computed(()=>{const e=u.value;if(!e)return n({defaultMessage:"Set up an automatic top-up and your balance is increased for you whenever it drops below an amount you choose, so you never run out.",id:"wallet_balance.auto_top_up_setup_explanation",description:"Tooltip explaining what automatic top-ups do, shown when none is configured yet"});const t=e.topup_amount?a({amount:e.topup_amount}):"",o=(e=>e.amount?a({amount:e.amount}):e.credits?m(e.credits.quantity,e.credits.credit_type_id):"")(e.threshold);return t&&o?h.value?n({defaultMessage:"Your balance is automatically increased with {topUpCredits} ({topUpAmount}) when it drops below {threshold}.",id:"wallet_balance.auto_top_up_credits_explanation",description:"Tooltip explaining an automatic top-up that grants credits for a paid amount"},{topUpCredits:h.value,topUpAmount:t,threshold:o}):n({defaultMessage:"Your balance is automatically increased with {topUpAmount} when it drops below {threshold}.",id:"wallet_balance.auto_top_up_explanation",description:"Tooltip explaining how the automatic top-up of a wallet balance works"},{topUpAmount:t,threshold:o}):n({defaultMessage:"Your balance is topped up automatically once it runs low.",id:"wallet_balance.auto_top_up_generic_explanation",description:"Tooltip shown for an active automatic top-up whose amount or threshold is unknown"})});return{walletName:l,formatBalance:a,manualTopUpItems:r,flexibleManualTopUpItem:c,showManualTopUp:s,showAutoTopUp:d,activeTopUpConfig:u,autoTopUpLabel:v,autoTopUpExplanation:g}},zf={class:"flex flex-col gap-3 py-3"},Pf={class:"flex flex-col gap-1 px-4"},Df={class:"flex w-full justify-between gap-3"},If={class:"flex w-full items-center gap-4"},qf={key:0},$f={key:1,class:"flex w-full justify-between gap-3 px-4"},Of={class:"flex min-w-0 items-center gap-1"},Hf={class:"flex min-w-0 items-center gap-1"},Af={class:"shrink-0"},Lf=e.defineComponent({__name:"WalletBalancesItem",props:{walletBalance:{},showAutoTopUp:{type:Boolean},showManualTopUp:{type:Boolean}},emits:["top-up","auto-top-up","cancel-auto-top-up"],setup(t){const n=t,{$t:o}=Xa(),{walletName:a,formatBalance:l,manualTopUpItems:i,flexibleManualTopUpItem:r,showManualTopUp:c,showAutoTopUp:s,activeTopUpConfig:d,autoTopUpLabel:u,autoTopUpExplanation:p}=Sf(n);return(f,h)=>(e.openBlock(),e.createElementBlock("div",zf,[e.createElementVNode("div",Pf,[e.createElementVNode("div",Df,[e.createVNode(m,{variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)),1)]),_:1}),e.createVNode(m,{variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>{var n,a;return[(null==(n=t.walletBalance.wallet_balance)?void 0:n.balance_at)?(e.openBlock(),e.createBlock(rd,{key:0,date:new Date(null==(a=t.walletBalance.wallet_balance)?void 0:a.balance_at),"action-verb":e.unref(o)({defaultMessage:"updated",id:"wallet_balance.updated_action_verb",description:"Verb in front of when a wallet balance was last updated, e.g. 'updated 5 minutes ago'"})},null,8,["date","action-verb"])):e.createCommentVNode("",!0)]}),_:1})]),e.createElementVNode("div",If,[e.createVNode(m,{variant:"body-lg",weight:"semibold","no-spacing":"",class:"grow"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)(n.walletBalance.wallet_balance.open_balance)),1)]),_:1}),e.unref(c)?(e.openBlock(),e.createBlock(e.unref(on),{key:0,size:"xs",color:"primary",onClick:h[0]||(h[0]=t=>f.$emit("top-up",e.unref(i)[0]))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Top up",id:"v1V8kA",description:"Button to top up a wallet balance"})),1)]),_:1})):e.createCommentVNode("",!0)])]),f.$slots.graph?(e.openBlock(),e.createElementBlock("div",qf,[e.renderSlot(f.$slots,"graph")])):e.createCommentVNode("",!0),e.unref(s)?(e.openBlock(),e.createElementBlock("div",$f,[e.createElementVNode("div",Of,[e.createVNode(dr,{class:"min-w-0"},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Hf,[e.createVNode(m,{variant:"body-sm",shade:"lighter","no-spacing":"",class:"truncate"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u)),1)]),_:1}),e.createVNode(y,{icon:"info",size:"2xs",class:"shrink-0 cursor-help text-gray-400"})])]),_:1})]),e.createElementVNode("div",Af,[e.unref(d)?(e.openBlock(),e.createBlock(e.unref(on),{key:0,size:"xs",color:"gray",variant:"outline",onClick:h[1]||(h[1]=t=>f.$emit("cancel-auto-top-up",e.unref(d)))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Disable",id:"wallet_balance.auto_top_up_disable_button",description:"Button to turn off a wallet's automatic top-up"})),1)]),_:1})):(e.openBlock(),e.createBlock(e.unref(on),{key:1,size:"xs",color:"gray",variant:"outline",onClick:h[2]||(h[2]=t=>f.$emit("auto-top-up",e.unref(r)))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Enable",id:"wallet_balance.auto_top_up_enable_button",description:"Button to set up a wallet's automatic top-up"})),1)]),_:1}))])])):e.createCommentVNode("",!0)]))}}),Zf={class:"flex flex-col gap-2"},Rf=e.defineComponent({__name:"WalletBalances",props:{customerWalletBalances:{},title:{default:void 0},showAutoTopUp:{type:Boolean,default:!1},showManualTopUp:{type:Boolean,default:!1}},emits:["top-up","auto-top-up","cancel-auto-top-up"],setup:t=>(n,o)=>(e.openBlock(),e.createBlock(Js,{"no-spacing":"","no-border":"",title:t.title},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Zf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.customerWalletBalances,a=>(e.openBlock(),e.createBlock(Js,{key:a.wallet_id,"no-spacing":""},{default:e.withCtx(()=>[e.createVNode(Lf,{"wallet-balance":a,"show-auto-top-up":t.showAutoTopUp,"show-manual-top-up":t.showManualTopUp,onTopUp:o[0]||(o[0]=e=>n.$emit("top-up",e)),onAutoTopUp:o[1]||(o[1]=e=>n.$emit("auto-top-up",e)),onCancelAutoTopUp:o[2]||(o[2]=e=>n.$emit("cancel-auto-top-up",e))},null,8,["wallet-balance","show-auto-top-up","show-manual-top-up"])]),_:2},1024))),128))])]),_:2},[n.$slots["heading-right"]?{name:"right",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"heading-right")]),key:"0"}:void 0]),1032,["title"]))}),Ff={class:"min-w-0 grow"},Uf={class:"shrink-0"},Gf=s(e.defineComponent({__name:"CardHeader",props:{icon:{},iconVariant:{default:"neutral"},title:{},subTitle:{},spacing:{default:"md"},size:{default:"sm"},variant:{default:"default"},uppercase:{type:Boolean,default:!0},cardVariant:{default:"default"}},setup(t){const n=t,o=e.computed(()=>{switch(n.cardVariant){case"error":return"border-red-100";case"dark":return"border-gray-600";default:return"border-gray-100"}});return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card-header-print-root flex items-center justify-between gap-3",{"px-2 pt-2":"xs"===t.spacing,"px-4 pt-2":"sm"===t.spacing,"pb-2":["xs","sm"].includes(t.spacing)&&"bordered"===t.variant,"px-4 pt-4":"md"===t.spacing,"pb-4":"md"===t.spacing&&"bordered"===t.variant,"px-8 pt-6":"lg"===t.spacing,"pb-6":"lg"===t.spacing&&"bordered"===t.variant,"border-b":"bordered"===t.variant,[o.value]:"bordered"===t.variant}])},[e.createElementVNode("div",Ff,[e.createVNode(e.unref(Pd),{icon:t.icon,title:t.title,"sub-title":t.subTitle,variant:t.iconVariant,size:t.size,uppercase:t.uppercase},{prefix:e.withCtx(()=>[e.renderSlot(n.$slots,"prefix",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},void 0,!0)]),subTitle:e.withCtx(()=>[e.renderSlot(n.$slots,"subTitle",{},void 0,!0)]),suffix:e.withCtx(()=>[e.renderSlot(n.$slots,"title-suffix",{},void 0,!0)]),_:3},8,["icon","title","sub-title","variant","size","uppercase"])]),e.createElementVNode("div",Uf,[e.renderSlot(n.$slots,"right",{},void 0,!0)])],2))}}),[["__scopeId","data-v-fd2a04c5"]]),jf={class:"min-w-0 grow"},Qf={class:"flex items-center justify-center gap-2"},Kf={class:"collapsible-card-print-content"},Wf=s(e.defineComponent({__name:"CollapsibleCard",props:{isOpen:{type:Boolean,default:!1},isControlled:{type:Boolean},title:{},icon:{},iconVariant:{},spacing:{default:"md"},borderStyle:{},isExpandContentHidden:{type:Boolean,default:!1},printBehavior:{},withLeftAccent:{type:Boolean,default:!1},headerSize:{default:"sm"},uppercase:{type:Boolean,default:!0},cappedWidth:{type:Boolean},variant:{default:"default"},shadowSize:{},borderRadius:{},rootClass:{},wrapperClass:{}},emits:["toggle","toggled"],setup(t,{emit:n}){const o=t,a=n,[l,i]=function(t=!1,n={}){const{truthyValue:o=!0,falsyValue:a=!1}=n,l=e.isRef(t),i=e.ref(t);function r(e){if(arguments.length)return i.value=e,i.value;{const e=V(o);return i.value=i.value===e?V(a):e,i.value}}return l?r:[i,r]}(!o.isOpen),r=()=>{o.isControlled?a("toggle"):i()};e.watch(()=>l.value,e=>{a("toggled",e)}),e.watch(()=>o.isOpen,e=>{o.isControlled&&i(!e)});const c=e.computed(()=>{switch(o.variant){case"error":return"border-red-50 bg-red-50";case"dark":return"bg-gray-800";default:return""}}),s=e.computed(()=>"error"===o.variant?"bg-red-200":""),d=e.computed(()=>["ease-in-out duration-200 hover:shadow-md",c.value].join(" "));return(n,o)=>(e.openBlock(),e.createBlock(tp,{spacing:"none","wrapper-class":"collapsible-card-print-wrapper","root-class":e.unref(as)("collapsible-card-print-root",d.value),"border-style":t.borderStyle,"print-behavior":t.printBehavior},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(as)(t.withLeftAccent?"flex p-1":""))},[t.withLeftAccent?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mr-2 w-1 rounded-md",s.value])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",jf,[e.renderSlot(n.$slots,"pre-header",{},void 0,!0),e.createVNode(Gf,{"data-testid":"card-header",title:t.title,icon:t.icon,"icon-variant":t.iconVariant,spacing:t.spacing,size:t.headerSize,uppercase:t.uppercase,class:e.normalizeClass(["cursor-pointer",{"pb-4":"md"===t.spacing,"pb-6":"lg"===t.spacing}]),variant:"bordered",tabindex:"0","card-variant":t.variant,onClick:e.withModifiers(r,["stop"]),onKeyup:e.withKeys(r,["enter"])},e.createSlots({prefix:e.withCtx(()=>[e.renderSlot(n.$slots,"title-prefix",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"title",{},void 0,!0)]),"title-suffix":e.withCtx(()=>[e.renderSlot(n.$slots,"title-suffix",{},void 0,!0)]),_:2},[t.isExpandContentHidden?void 0:{name:"right",fn:e.withCtx(()=>[e.createElementVNode("div",Qf,[n.$slots.right?(e.openBlock(),e.createElementBlock("div",{key:0,class:"flex justify-center",onClick:o[0]||(o[0]=e.withModifiers(()=>{},["stop"])),onKeyup:o[1]||(o[1]=e.withKeys(e.withModifiers(()=>{},["stop"]),["enter"]))},[e.renderSlot(n.$slots,"right",{},void 0,!0)],32)):e.createCommentVNode("",!0),e.createVNode(y,{icon:e.unref(l)?"unfold_more":"unfold_less",size:t.headerSize,class:e.normalizeClass({"text-white":"dark"===t.variant,"print:hidden":!0})},null,8,["icon","size","class"])])]),key:"0"}]),1032,["title","icon","icon-variant","spacing","size","uppercase","class","card-variant"]),t.isExpandContentHidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Zs,{key:0,"is-open":!e.unref(l),lazy:""},{default:e.withCtx(()=>[e.createElementVNode("div",Kf,[e.createVNode(As,{spacing:t.spacing},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["spacing"])])]),_:3},8,["is-open"]))])],2)]),_:3},8,["root-class","border-style","print-behavior"]))}}),[["__scopeId","data-v-af6dc6e1"]]),Yf={tooltipCollapse:"Close",tooltipExpand:"Open"},Xf={class:"flex flex-col"},Jf=["aria-label"],eh={class:"flex grow select-none items-center justify-between"},th={class:"text-left"},nh={class:"flex items-center gap-2"},oh={key:0},ah={class:"flex gap-6 print:block"},lh={class:"grow pt-5"},ih={class:"collapsible-list-item-content pb-6"},rh=s(e.defineComponent({__name:"CollapsibleListItem",props:{hasContinuedPreline:{type:Boolean,default:!0},itemNumber:{default:1},i18n:{default:()=>Yf},isOpen:{type:Boolean,default:!1},hideCollapseIcon:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1}},emits:["toggle"],setup(t){const n=t,o=e.computed(()=>n.isOpen?"unfold_less":"unfold_more");return(n,a)=>(e.openBlock(),e.createElementBlock("li",Xf,[e.createElementVNode("button",{type:"button",class:"flex items-center gap-6","aria-label":t.isOpen?t.i18n.tooltipCollapse:t.i18n.tooltipExpand,onClick:a[0]||(a[0]=e.withModifiers(e=>n.$emit("toggle"),["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(["flex h-6 select-none items-center justify-center rounded border bg-white shadow-sm print:hidden",e.unref(Rs)])},[e.renderSlot(n.$slots,"icon",{},()=>[e.createVNode(m,{tag:"span",variant:"body-xs",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.itemNumber),1)]),_:1})],!0)],2),e.createElementVNode("div",eh,[e.createElementVNode("div",th,[e.renderSlot(n.$slots,"left",{},void 0,!0)]),e.createElementVNode("div",nh,[n.$slots.right?(e.openBlock(),e.createElementBlock("div",oh,[e.renderSlot(n.$slots,"right",{},void 0,!0)])):e.createCommentVNode("",!0),t.hideCollapseIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(y,{key:1,icon:o.value,size:"sm",class:"h-6 print:hidden"},null,8,["icon"]))])])],8,Jf),e.createElementVNode("div",ah,[e.createElementVNode("div",{class:e.normalizeClass(["relative flex shrink-0 justify-center",e.unref(Rs)])},[e.createElementVNode("div",{class:e.normalizeClass(["pointer-events-none h-full w-0.5",[t.hasContinuedPreline?"bg-gray-100":"bg-gradient-to-b from-gray-100 to-transparent"]])},null,2)],2),e.createElementVNode("div",lh,[e.createVNode(Zs,{"is-open":t.isOpen,lazy:t.lazy},{default:e.withCtx(()=>[e.createElementVNode("div",ih,[e.renderSlot(n.$slots,"default",{},void 0,!0)])]),_:3},8,["is-open","lazy"])])])]))}}),[["__scopeId","data-v-333bc619"]]),ch={class:"relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg"},sh={key:0,class:"absolute bottom-0 left-0 right-0 top-0 z-10 flex items-center justify-center bg-white/80"},dh={key:1,"data-testid":"modal-top-bar",class:"flex justify-end border-b border-gray-200 py-2 pr-2"},uh={class:"sticky top-0 z-10 -mx-6 h-0"},ph={"data-testid":"modal-body-content",class:"py-6"},mh={class:"sticky bottom-0 z-10 -mx-6 h-0"},fh={key:0},hh={key:3,"data-testid":"modal-footer",class:"border-t border-gray-200 px-6 py-3"},vh={class:"flex flex-col gap-2"},gh=s(e.defineComponent({__name:"Modal",props:{children:{default:()=>[]},position:{default:"center"},size:{default:"2xl"},noCloseButton:{type:Boolean,default:!1},noClickAway:{type:Boolean,default:!1},noBackdropClose:{type:Boolean,default:!1},showModal:{type:Boolean,default:!1},blurred:{type:Boolean,default:!1},title:{},subTitle:{},confirmButtonText:{},cancelButtonText:{},overflowVisible:{type:Boolean},isLoading:{type:Boolean,default:!1},isEmbedded:{type:Boolean,default:!1}},emits:["confirm","close"],setup(t,{emit:n}){const o=t,a=n,l=e.useSlots(),{$t:i}=Xa(),r=e.computed(()=>{var e,t;return!!(null==(e=l.body)?void 0:e.call(l))&&!zi(null==(t=l.body)?void 0:t.call(l,{}))}),c=e.computed(()=>{var e,t;return!!o.title||!!(null==(e=l.header)?void 0:e.call(l))&&!zi(null==(t=l.header)?void 0:t.call(l,{}))}),s=e.computed(()=>r.value||c.value),{getZIndex:d,trackingClass:u,defaultZIndex:p}={defaultZIndex:60,getZIndex:()=>{const e=document.querySelectorAll(`.${Al}`);let t=60;return(e??[]).forEach(e=>{const n=window.getComputedStyle(e).getPropertyValue("z-index");n&&+n>=t&&(t=+n+1)}),t},trackingClass:Al},m=e.ref(),f=e.ref(p),h=e.ref(!1),v=e.ref(!1),g=e.computed(()=>o.blurred||o.isEmbedded),b={xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},y=()=>a("close"),x=()=>{o.noBackdropClose||y()},k=()=>{if(!m.value)return;const{scrollTop:e,scrollHeight:t,clientHeight:n}=m.value;h.value=e>0,v.value=e+n<t-1};q("Escape",()=>{o.noClickAway||a("close")});const _=e=>{const t=document.querySelector("body");t&&(t.style.overflowY=e)};return e.watch(()=>o.showModal,e=>{f.value=e?d():p,_(e?"hidden":"unset");const t=document.querySelector("body");t&&(t.style.overflowY=e?"hidden":"unset")}),e.onBeforeUnmount(()=>{_("unset")}),(n,a)=>(e.openBlock(),e.createBlock(e.unref(rn),{to:"modal"},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:"modal",appear:""},{default:e.withCtx(()=>[t.showModal?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full",e.unref(u)]),style:e.normalizeStyle({zIndex:f.value})},[e.createVNode(e.unref(_s),{blurred:g.value,color:o.isEmbedded?"white":void 0,onMousedown:e.withModifiers(x,["self"])},null,8,["blurred","color"]),e.createElementVNode("div",{class:e.normalizeClass(["modal-panel relative h-full w-full p-4 md:h-auto",`${b[t.size]}`])},[e.createElementVNode("div",ch,[t.isLoading?(e.openBlock(),e.createElementBlock("div",sh,[e.createVNode(Jt,{size:"6"})])):e.createCommentVNode("",!0),t.noCloseButton?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",dh,[e.createVNode(e.unref(Hr),{icon:"close",size:"xs",variant:"outline",color:"gray","data-testid":"close-button",onClick:y})])),s.value?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"contentElementRef",ref:m,class:e.normalizeClass(["overflow-auto px-6",{"overflow-visible":t.overflowVisible}]),onScroll:k},[e.createElementVNode("div",uh,[e.createElementVNode("div",{class:e.normalizeClass(["transition-duration-700 pointer-events-none h-6 w-full bg-gradient-to-b from-black/[.06] to-transparent transition-opacity",h.value?"opacity-100":"opacity-0"])},null,2)]),e.createElementVNode("div",ph,[c.value?e.renderSlot(n.$slots,"header",{},()=>[t.title?(e.openBlock(),e.createBlock(_f,{key:0,title:t.title,"sub-title":t.subTitle,size:"md"},null,8,["title","sub-title"])):e.createCommentVNode("",!0)],!0,0):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass({"mt-4":c.value})},[e.renderSlot(n.$slots,"body",{},void 0,!0)],2)):e.createCommentVNode("",!0)]),e.createElementVNode("div",mh,[e.createElementVNode("div",{class:e.normalizeClass(["transition-duration-700 pointer-events-none h-6 w-full -translate-y-6 bg-gradient-to-t from-black/[.06] to-transparent transition-opacity",v.value?"opacity-100":"opacity-0"])},null,2)])],34)):e.createCommentVNode("",!0),e.createVNode(C,null,{default:e.withCtx(()=>[n.$slots.error?(e.openBlock(),e.createElementBlock("div",fh,[e.renderSlot(n.$slots,"error",{},void 0,!0)])):e.createCommentVNode("",!0)]),_:3}),n.$slots.footer||t.confirmButtonText||t.cancelButtonText?(e.openBlock(),e.createElementBlock("div",hh,[e.renderSlot(n.$slots,"footer",{},()=>[e.createElementVNode("div",vh,[e.createVNode(e.unref(on),{size:"md",autofocus:"","loading-position":"overlay",loading:t.isLoading,onClick:a[0]||(a[0]=e=>n.$emit("confirm"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.confirmButtonText||e.unref(i)({defaultMessage:"Confirm",id:"N2IrpM",description:"Modal comfirm button"})),1)]),_:1},8,["loading"]),e.createVNode(e.unref(on),{size:"md",color:"gray",variant:"outline",onClick:a[1]||(a[1]=e=>n.$emit("close"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.cancelButtonText||e.unref(i)({defaultMessage:"Cancel",id:"47FYwb",description:"Modal cancel button"})),1)]),_:1})])],!0)])):e.createCommentVNode("",!0)])],2)],6)):e.createCommentVNode("",!0)]),_:3})]),_:3}))}}),[["__scopeId","data-v-f0379c5c"]]),bh={class:"flex flex-col gap-1"},yh={class:"text-base text-gray-900"},xh=e.defineComponent({__name:"PricingItemHeader",props:{item:{},creditTypesById:{}},setup:t=>(n,o)=>(e.openBlock(),e.createElementBlock("div",bh,[e.createElementVNode("h4",yh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.item.product_items,t=>(e.openBlock(),e.createBlock(m,{key:t.id,tag:"span",class:"flex flex-wrap items-center gap-3",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.name),1)]),_:2},1024))),128))])]))}),kh={tiered:{nonBlockSize:{rolloverDescription:"Includes prior volume to determine the tier, including volume from prior schedule's billing cycles",nonRolloverDescription:"Prior volume is included to determine the tier"},blockSize:{rolloverDescription:"Includes prior volume to determine the tier and unused volume will move over, including volume from adjacent schedule's billing cycles",nonRolloverDescription:"Includes prior volume to determine the tier and unused volume will move over to the following billing cycles"}},nonRolloverDescription:"Unused volume will be moved over to the next billing cycle",rolloverDescription:"Unused volume will be moved over to the next billing cycle, including the next schedule's billing cycle"},_h={...Sp,formatBillingPeriod:Ql,formatAmount:Gl,formatNumber:e=>new Intl.NumberFormat("en-US").format(e),billedEvery:"Billed every",every:"every",from:"From",upTo:"Up to",feeFloor:"Fee floor",feeCap:"Fee cap",price:"Price",pricePerStep:()=>"Price / Step",pricePerUnit:()=>"Price / Unit",percentage:"Percentage",per:"Per",infinite:"infinite",topUpDescription:kh,fixedAmount:"Fixed amount",tieringConditions:"Tiering conditions"},wh={...Sp,topUpDescription:kh,notBilled:"Not billed",passThrough:"Pass through",perNumberOfUnits:(e,t)=>"per "+(Number(e)>1?`${e} ${(null==t?void 0:t.plural)??"units"}`:`${(null==t?void 0:t.singular)??"unit"}`),ofAmount:()=>"of amount",with:"with",aMinimumOf:"a minimum of",and:"and",aMaximumOf:"a maximum of",perSeat:"per seat",billedInAdvance:"billed in advance",billedEvery:"billed every",oneOff:"one-off",formatBillingPeriod:Ql},Bh={...wh,..._h,includedVolumeAmountPerSchedule:e=>`with <strong class="text-primary-600">${new Intl.NumberFormat("en-US",{style:"currency",currencyDisplay:"symbol",currency:e.currency,maximumFractionDigits:10}).format(Number(e.quantity))}</strong> free amount per schedule included`,includedVolumeAmountPerBillingPeriod:e=>`with <strong class="text-primary-600">${new Intl.NumberFormat("en-US",{style:"currency",currencyDisplay:"symbol",currency:e.currency,maximumFractionDigits:10}).format(Number(e.quantity))}</strong> free amount per billing period included`,includedVolumeUnitsPerSchedule:e=>`with <strong class="text-primary-600">${e} unit${"1"===e?"":"s"}</strong> per schedule included`,includedVolumeUnitsPerBillingPeriod:e=>`with <strong class="text-primary-600">${e} unit${"1"===e?"":"s"}</strong> per billing period included`,includedSeats:e=>`with default <strong class="text-primary-600">${e}</strong> seat${"1"===e?"":"s"}`},Ch={key:0,class:"flex flex-col gap-1"},Eh={class:"flex items-center gap-2"},Nh={key:0,class:"flex justify-center gap-2"},Th={key:0,class:"ml-auto text-gray-600"},Mh={key:1,class:"ml-auto text-gray-600"},Vh={key:0,class:"ml-4 flex shrink-0 flex-col text-gray-600 empty:hidden"},Sh={class:"flex items-center justify-end"},zh={"data-testid":"flat-fixed-none-amount"},Ph={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},Dh={key:0,class:"pl-1"},Ih={"data-testid":"flat-fixed-none-amount"},qh={key:0,class:"pl-1"},$h={"data-testid":"flat-fixed-none-credits-label",class:"font-semibold text-primary-600"},Oh={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},Hh={key:0,class:"pl-1"},Ah={class:"font-semibold text-primary-600"},Lh={class:"pl-1"},Zh={key:0,class:"pl-1"},Rh={key:1,class:"mr-1"},Fh={key:3,class:"mr-1"},Uh={key:0,class:"flex shrink-0 flex-col text-gray-600"},Gh={key:2,class:"pl-1"},jh={key:3,class:"pl-1"},Qh={key:4,class:"shrink-9 pl-1 italic"},Kh={class:"font-semibold text-primary-600"},Wh={key:1,class:"flex shrink-0 flex-col text-gray-600"},Yh={class:"pl-1"},Xh={key:0,class:"italic"},Jh={key:2,class:"flex shrink-0 flex-col text-gray-600"},ev={class:"pl-1"},tv={key:1,class:"pl-1"},nv={key:2,class:"pl-1 italic"},ov={class:"font-semibold text-primary-600"},av=e.defineComponent({__name:"FlatFixedNonePricingRule",props:{config:{},item:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},isCombinedPricing:{type:Boolean},showConfigHeader:{type:Boolean,default:!0},showDefaultValues:{type:Boolean,default:!0},creditTypesById:{},isCollapsible:{type:Boolean},isExpanded:{type:Boolean}},emits:["expand-toggled"],setup(t){const n=t,{formatMessage:o}=Xa(),a=e.computed(()=>n.i18n??wh),l=e.computed(()=>fi(n.config)),i=o({defaultMessage:"unit",id:"lWOCGz",description:"Fallback singular unit label for pricing rule display"}),r=o({defaultMessage:"units",id:"Vl9vDx",description:"Fallback plural unit label for pricing rule display"}),c=e.computed(()=>n.item.product_items&&n.item.product_items[0]),s=e.computed(()=>{var e,t,o,a,l,s,d,u;if("CREDITS"===(null==(e=c.value)?void 0:e.model_type)){const e=null==(t=c.value.credits)?void 0:t.credit_type_id,l=e?null==(a=null==(o=n.creditTypesById)?void 0:o[e])?void 0:a.unit_name:void 0;return{singular:(null==l?void 0:l.singular)||i,plural:(null==l?void 0:l.plural)||r}}return{singular:(null==(s=null==(l=c.value)?void 0:l.unit_name)?void 0:s.singular)||i,plural:(null==(u=null==(d=c.value)?void 0:d.unit_name)?void 0:u.plural)||r}}),d=e.computed(()=>{var e,t,n,o;return{singular:(null==(t=null==(e=c.value)?void 0:e.unit_name)?void 0:t.singular)||i,plural:(null==(o=null==(n=c.value)?void 0:n.unit_name)?void 0:o.plural)||r}}),u=e.computed(()=>{var e,t,o,a;return null==(a=null==(o=null==(t=null==(e=n.config.split_pricing)?void 0:e.meter_properties)?void 0:t.map(e=>{var t;return null==(t=e.meter_property)?void 0:t.name}))?void 0:o.filter(e=>!!e))?void 0:a.join(",")}),p=e.computed(()=>n.showConfigHeader||n.config.split_pricing),f=e.computed(()=>!!n.config.use_fallback_currency&&!!n.config.fallback_currency),h=e.computed(()=>`Based on fallback currency – ${n.config.fallback_currency}`),v=e.computed(()=>{var e,t,o;return null==(o=null==(t=null==(e=n.config.details)?void 0:e.bands)?void 0:t[0])?void 0:o.credits}),g=e.computed(()=>{var e,t,o,a,l,i;const r=null==(e=v.value)?void 0:e.credit_type_id,c=null==(t=v.value)?void 0:t.quantity;if(!c)return"";const s=r?null==(o=n.creditTypesById)?void 0:o[r]:void 0;if(!s)return c;const d=1===Number(c)?(null==(a=s.unit_name)?void 0:a.singular)??s.name:(null==(l=s.unit_name)?void 0:l.plural)??(null==(i=s.unit_name)?void 0:i.singular)??s.name;return d?`${c} ${d}`:c}),b=e.computed(()=>{var e;return"NONE"===(null==(e=n.config.details)?void 0:e.pricing_type)});return(n,o)=>(e.openBlock(),e.createBlock(bd,{class:e.normalizeClass({"print:hidden":b.value}),"is-collapsible":t.isCollapsible,"is-expanded":t.isExpanded,"header-class":"flex items-start justify-between",onToggle:o[0]||(o[0]=e=>n.$emit("expand-toggled"))},{header:e.withCtx(()=>{var o,l,i,r,v,b,x,k,_,w,B,C,E,N,T,M,V,S,z,P,D,I,q,$,O,H,A,L,Z,R,F,U,G,j,Q,K,W,Y,X,J,ee,te,ne,oe,ae,le,ie;return[p.value?(e.openBlock(),e.createElementBlock("div",Ch,[e.createElementVNode("div",Eh,[t.showConfigHeader?(e.openBlock(),e.createBlock($p,{key:0,config:t.config,i18n:a.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip")]),_:3},8,["config","i18n"])):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createBlock(dr,{key:1,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(y,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0)]),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",Nh,[e.createVNode(m,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value.splitBy),1)]),_:1}),e.createVNode(m,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),"NONE"===(null==(o=t.config.details)?void 0:o.pricing_type)||"PASS_THROUGH"===(null==(l=t.config.details)?void 0:l.pricing_type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["NONE"===(null==(i=t.config.details)?void 0:i.pricing_type)?(e.openBlock(),e.createElementBlock("div",Th,e.toDisplayString(a.value.notBilled),1)):e.createCommentVNode("",!0),"PASS_THROUGH"===(null==(r=t.config.details)?void 0:r.pricing_type)?(e.openBlock(),e.createElementBlock("div",Mh,e.toDisplayString(a.value.passThrough),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[c.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["USAGE_BASED"===c.value.model_type||"CREDITS"===c.value.model_type?(e.openBlock(),e.createElementBlock("div",Vh,[e.createElementVNode("div",null,[e.createElementVNode("div",Sh,[(null==(v=t.config.details)?void 0:v.bands)&&(null==(b=t.config.details)?void 0:b.bands[0].amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",zh,[e.createVNode(ar,{value:null==(x=t.config.details)?void 0:x.bands[0].amount,highlighted:""},null,8,["value"])]),e.createElementVNode("span",Ph,e.toDisplayString(a.value.perNumberOfUnits((null==(_=null==(k=t.config.details)?void 0:k.bands[0])?void 0:_.block_size)&&e.unref(Bi)(null==(w=t.config.details)?void 0:w.bands[0].block_size)?null==(B=t.config.details)?void 0:B.bands[0].block_size.number:"1",s.value)),1),(null==(C=t.config.details)?void 0:C.pricing_period)?(e.openBlock(),e.createElementBlock("span",Dh,e.toDisplayString(a.value.formatBillingPeriod(null==(E=t.config.details)?void 0:E.pricing_period)),1)):e.createCommentVNode("",!0)],64)):(null==(N=t.config.details)?void 0:N.bands)&&(null==(T=t.config.details)?void 0:T.bands[0].fixed_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ih,[e.createVNode(ar,{value:null==(M=t.config.details)?void 0:M.bands[0].fixed_amount,highlighted:""},null,8,["value"])]),(null==(V=t.config.details)?void 0:V.pricing_period)?(e.openBlock(),e.createElementBlock("span",qh,e.toDisplayString(a.value.formatBillingPeriod(null==(S=t.config.details)?void 0:S.pricing_period)),1)):e.createCommentVNode("",!0)],64)):(null==(z=t.config.details)?void 0:z.bands)&&(null==(D=null==(P=t.config.details)?void 0:P.bands[0].credits)?void 0:D.quantity)&&(null==(q=null==(I=t.config.details)?void 0:I.bands[0].credits)?void 0:q.credit_type_id)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",$h,e.toDisplayString(g.value),1),e.createElementVNode("span",Oh,e.toDisplayString(a.value.perNumberOfUnits((null==(O=null==($=t.config.details)?void 0:$.bands[0])?void 0:O.block_size)&&e.unref(Bi)(null==(H=t.config.details)?void 0:H.bands[0].block_size)?null==(A=t.config.details)?void 0:A.bands[0].block_size.number:"1",d.value)),1),(null==(L=t.config.details)?void 0:L.pricing_period)?(e.openBlock(),e.createElementBlock("span",Hh,e.toDisplayString(a.value.formatBillingPeriod(null==(Z=t.config.details)?void 0:Z.pricing_period)),1)):e.createCommentVNode("",!0)],64)):(null==(R=t.config.details)?void 0:R.bands)&&"string"==typeof(null==(F=t.config.details)?void 0:F.bands[0].percentage)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",Ah,e.toDisplayString(null==(U=t.config.details)?void 0:U.bands[0].percentage)+"% ",1),e.createElementVNode("span",Lh,e.toDisplayString(a.value.ofAmount(null==(G=c.value.unit_name)?void 0:G.singular)),1),(null==(j=t.config.details)?void 0:j.pricing_period)?(e.openBlock(),e.createElementBlock("span",Zh,e.toDisplayString(a.value.formatBillingPeriod(null==(Q=t.config.details)?void 0:Q.pricing_period)),1)):e.createCommentVNode("",!0),(null==(K=t.config.details)?void 0:K.bands[0].minimum_amount)||(null==(W=t.config.details)?void 0:W.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock("span",Rh," , "+e.toDisplayString(a.value.with),1)):e.createCommentVNode("",!0),(null==(Y=t.config.details)?void 0:Y.bands[0].minimum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(a.value.aMinimumOf)+" ",1),e.createVNode(ar,{value:null==(X=t.config.details)?void 0:X.bands[0].minimum_amount,highlighted:"",class:"mx-1"},null,8,["value"])],64)):e.createCommentVNode("",!0),(null==(J=t.config.details)?void 0:J.bands[0].minimum_amount)&&(null==(ee=t.config.details)?void 0:ee.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock("span",Fh,e.toDisplayString(a.value.and),1)):e.createCommentVNode("",!0),(null==(te=t.config.details)?void 0:te.bands[0].maximum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(a.value.aMaximumOf)+" ",1),e.createVNode(ar,{value:null==(ne=t.config.details)?void 0:ne.bands[0].maximum_amount,highlighted:"",class:"ml-1"},null,8,["value"])],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"included")])])):e.createCommentVNode("",!0),t.isCombinedPricing?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["RECURRING"===c.value.model_type?(e.openBlock(),e.createElementBlock("div",Uh,[e.createElementVNode("div",null,[e.createVNode(m,{tag:"div",variant:"body-sm",class:"flex items-center"},{default:e.withCtx(()=>{var n,o,l,i,r,c,s,d,u;return[(null==(n=t.config.details)?void 0:n.bands)&&(null==(o=t.config.details)?void 0:o.bands[0].amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:null==(l=t.config.details)?void 0:l.bands[0].amount,highlighted:""},null,8,["value"])):(null==(i=t.config.details)?void 0:i.bands)&&(null==(r=t.config.details)?void 0:r.bands[0].fixed_amount)?(e.openBlock(),e.createBlock(ar,{key:1,value:null==(c=t.config.details)?void 0:c.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),(null==(d=null==(s=t.config.details)?void 0:s.pricing_period)?void 0:d.type)?(e.openBlock(),e.createElementBlock("div",Gh,e.toDisplayString(a.value.formatBillingPeriod(null==(u=t.config.details)?void 0:u.pricing_period)),1)):(e.openBlock(),e.createElementBlock("div",jh,"per billing period")),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Qh," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0)]}),_:1}),(null==(ae=null==(oe=t.config.details)?void 0:oe.billing_period)?void 0:ae.type)?(e.openBlock(),e.createBlock(m,{key:0,tag:"div",variant:"body-sm",class:"text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value.billedEvery)+" ",1),e.createElementVNode("span",Kh,e.toDisplayString(a.value.formatBillingPeriod(t.config.details.billing_period,{prefix:!1})),1)]),_:1})):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"included")])):e.createCommentVNode("",!0),"ONE_OFF"===c.value.model_type?(e.openBlock(),e.createElementBlock("div",Wh,[e.createElementVNode("div",null,[e.createVNode(m,{tag:"div",variant:"body-sm",class:"flex items-center"},{default:e.withCtx(()=>{var n,o,l,i,r,c;return[(null==(n=t.config.details)?void 0:n.bands)&&(null==(o=t.config.details)?void 0:o.bands[0].amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:null==(l=t.config.details)?void 0:l.bands[0].amount,highlighted:""},null,8,["value"])):(null==(i=t.config.details)?void 0:i.bands)&&(null==(r=t.config.details)?void 0:r.bands[0].fixed_amount)?(e.openBlock(),e.createBlock(ar,{key:1,value:null==(c=t.config.details)?void 0:c.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("div",Yh,[e.createTextVNode(e.toDisplayString(a.value.oneOff)+" ",1),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Xh," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0)])]}),_:1})]),e.renderSlot(n.$slots,"included")])):e.createCommentVNode("",!0),"PER_SEAT"===c.value.model_type?(e.openBlock(),e.createElementBlock("div",Jh,[e.createElementVNode("div",null,[e.createVNode(m,{tag:"div",variant:"body-sm",class:"flex items-center"},{default:e.withCtx(()=>{var n,o,l,i,r,c;return[(null==(n=t.config.details)?void 0:n.bands)&&(null==(o=t.config.details)?void 0:o.bands[0].amount)?(e.openBlock(),e.createBlock(ar,{key:0,value:null==(l=t.config.details)?void 0:l.bands[0].amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("span",ev,e.toDisplayString(a.value.perSeat),1),(null==(r=null==(i=t.config.details)?void 0:i.pricing_period)?void 0:r.type)?(e.openBlock(),e.createElementBlock("div",tv,e.toDisplayString(a.value.formatBillingPeriod(null==(c=t.config.details)?void 0:c.pricing_period)),1)):e.createCommentVNode("",!0),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",nv," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0)]}),_:1}),(null==(ie=null==(le=t.config.details)?void 0:le.billing_period)?void 0:ie.type)?(e.openBlock(),e.createBlock(m,{key:0,tag:"div",variant:"body-sm",class:"text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value.billedEvery)+" ",1),e.createElementVNode("span",ov,e.toDisplayString(a.value.formatBillingPeriod(t.config.details.billing_period,{prefix:!1})),1)]),_:1})):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"included")])):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)],64))]}),default:e.withCtx(()=>[l.value?(e.openBlock(),e.createBlock(Mf,{key:0,i18n:a.value.topUpDescription,class:"mt-1","pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)]),_:3},8,["class","is-collapsible","is-expanded"]))}}),lv={key:0,class:"flex items-center gap-2"},iv={key:1,class:"ml-4 flex shrink-0 flex-wrap items-center justify-end gap-1 text-gray-600"},rv=e.defineComponent({__name:"FlexiblePricingRule",props:{config:{},showConfigHeader:{type:Boolean,default:!0},isCollapsible:{type:Boolean},isExpanded:{type:Boolean}},emits:["expand-toggled"],setup(t){const n=t,{formatMessage:o}=Xa(),a=e.computed(()=>{var e,t;return null==(t=null==(e=n.config.details)?void 0:e.bands)?void 0:t[0]}),l=o({defaultMessage:"Flexible pricing",id:"wYqODC",description:"Read-only label for a flexible (choose-your-amount) pricing rule"}),i=o({defaultMessage:"minimum amount",id:"Bbc4Nn",description:"Suffix after the minimum amount of a flexible pricing rule"}),r=o({defaultMessage:"maximum amount",id:"V6mQFd",description:"Suffix after the maximum amount of a flexible pricing rule"});return(n,o)=>(e.openBlock(),e.createBlock(bd,{"is-collapsible":t.isCollapsible,"is-expanded":t.isExpanded,"header-class":"flex items-start justify-between",onToggle:o[0]||(o[0]=e=>n.$emit("expand-toggled"))},{header:e.withCtx(()=>{var o,c,s,d,u;return[t.showConfigHeader?(e.openBlock(),e.createElementBlock("div",lv,[e.createVNode(m,{"no-spacing":"",shade:"light",variant:"body",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)),1)]),_:1}),e.renderSlot(n.$slots,"override-tooltip")])):e.createCommentVNode("",!0),(null==(o=a.value)?void 0:o.minimum_amount)||(null==(c=a.value)?void 0:c.maximum_amount)?(e.openBlock(),e.createElementBlock("div",iv,[(null==(s=a.value)?void 0:s.minimum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(ar,{value:a.value.minimum_amount,highlighted:""},null,8,["value"]),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(e.unref(i)),1),(null==(d=a.value)?void 0:d.maximum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(",")],64)):e.createCommentVNode("",!0)])],64)):e.createCommentVNode("",!0),(null==(u=a.value)?void 0:u.maximum_amount)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ar,{value:a.value.maximum_amount,highlighted:""},null,8,["value"]),e.createElementVNode("span",null,e.toDisplayString(e.unref(r)),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]}),_:3},8,["is-collapsible","is-expanded"]))}}),cv={key:0,"data-testid":"tiering-conditions",class:"flex flex-col gap-1"},sv={class:"text-xs text-gray-700"},dv=e.defineComponent({__name:"TieringConditions",props:{expression:{},i18n:{}},setup:t=>(n,o)=>t.expression?(e.openBlock(),e.createElementBlock("div",cv,[e.createVNode(m,{variant:"body-xs",weight:"semibold",shade:"light","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.tieringConditions),1)]),_:1}),e.createElementVNode("div",sv,[e.createVNode(Qs,{"expression-comparators":t.expression,"root-class":"bg-teal-400/25"},null,8,["expression-comparators"])])])):e.createCommentVNode("",!0)}),uv={key:0,class:"flex gap-2"},pv={key:1,class:"flex justify-center gap-2"},mv={class:"tiered-table-print-wrapper mt-3 overflow-clip rounded border"},fv={class:"tiered-table-print w-full table-auto text-gray-600"},hv=["colspan"],vv={class:"border-t"},gv={class:"px-2 py-1 text-left"},bv={class:"px-2 py-1 text-left"},yv={key:0,class:"px-2 py-1 text-right"},xv={key:1,class:"px-2 py-1 text-right"},kv={key:2,class:"px-2 py-1 text-right"},_v={class:"px-2 py-1 text-left"},wv={class:"px-2 py-1 text-left"},Bv={key:4,class:"pr-2 text-right"},Cv={class:"px-2 py-1"},Ev={class:"px-2 py-1"},Nv={key:0,class:"px-2 py-1 text-right"},Tv={class:"font-semibold text-primary-600"},Mv={key:1,class:"px-2 py-1 text-right"},Vv={class:"font-semibold text-primary-600"},Sv={key:2,class:"px-2 py-1 text-right"},zv={class:"px-2 py-1"},Pv={class:"px-2 py-1"},Dv={key:4,class:"px-2 py-1 text-right"},Iv={key:2,class:"mt-2 flex items-center"},qv={key:0},$v={class:"font-semibold text-primary-600"},Ov=s(e.defineComponent({__name:"TieredSteppedPricingRule",props:{config:{},itemIndex:{},configIndex:{},item:{},i18n:{},isCombinedPricing:{type:Boolean},showConfigHeader:{type:Boolean,default:!0},creditTypesById:{},isCollapsible:{type:Boolean},isExpanded:{type:Boolean}},emits:["expand-toggled"],setup(t){const n=t,o=e.computed(()=>n.i18n??_h),a=e.computed(()=>({tieringConditions:o.value.tieringConditions})),l=e.computed(()=>{var e,t,o,a,l,i,r;return(null==(a=null==(o=null==(t=null==(e=n.config.details)?void 0:e.bands)?void 0:t.find(e=>{var t;return null==(t=e.credits)?void 0:t.credit_type_id}))?void 0:o.credits)?void 0:a.credit_type_id)??(null==(r=null==(i=null==(l=n.item.product_items)?void 0:l[0])?void 0:i.credits)?void 0:r.credit_type_id)}),i=e.computed(()=>{var e,t,o,a,i;if(l.value){const o=null==(e=n.creditTypesById)?void 0:e[l.value];if(o)return(null==(t=o.unit_name)?void 0:t.singular)||"unit"}return(null==(i=null==(a=null==(o=n.item.product_items)?void 0:o[0])?void 0:a.unit_name)?void 0:i.singular)||"unit"}),r=e.computed(()=>{var e,t;const o=null==(e=n.config.details)?void 0:e.pricing_type;if(o&&["TIERED","TOP_TIERED"].includes(o)&&(null==(t=n.config.details)?void 0:t.bands))for(const a of n.config.details.bands)if(a.minimum_amount||a.maximum_amount)return!0;return!1}),c=e.computed(()=>{var e;return hi(n.config)?"TIERED":vi(n.config)?"STAIR_STEP":null==(e=n.config.details)?void 0:e.pricing_type}),s=e.computed(()=>fi(n.config)),d=e.computed(()=>{var e,t;return null==(t=null==(e=n.config.details)?void 0:e.bands)?void 0:t.some(e=>e.block_size)}),u=e.computed(()=>{var e;return null==(e=n.config.details.bands)?void 0:e.some(e=>e.fixed_amount)}),p=e.computed(()=>{var e;return null==(e=n.config.details.bands)?void 0:e.some(e=>e.amount)}),f=e.computed(()=>{var e;return null==(e=n.config.details.bands)?void 0:e.some(e=>e.percentage)}),h=e.computed(()=>{var e,t,o,a;return null==(a=null==(o=null==(t=null==(e=n.config.split_pricing)?void 0:e.meter_properties)?void 0:t.map(e=>{var t;return null==(t=e.meter_property)?void 0:t.name}))?void 0:o.filter(e=>!!e))?void 0:a.join(", ")}),v=e.computed(()=>n.showConfigHeader||n.config.split_pricing),g=e.computed(()=>!!n.config.use_fallback_currency&&!!n.config.fallback_currency),b=e.computed(()=>`Based on fallback currency – ${n.config.fallback_currency}`),x=e.computed(()=>2+(u.value?1:0)+(p.value?1:0)+(f.value?1:0)+(r.value?2:0)+(d.value?1:0));return(n,l)=>(e.openBlock(),e.createBlock(bd,{"is-collapsible":t.isCollapsible,"is-expanded":t.isExpanded,"header-class":"tiered-rule-header flex items-start justify-between","unmount-on-close":"",onToggle:l[0]||(l[0]=e=>n.$emit("expand-toggled"))},{header:e.withCtx(()=>[v.value?(e.openBlock(),e.createElementBlock("div",uv,[e.createVNode($p,{config:t.config,i18n:o.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip",{},void 0,!0)]),_:3},8,["config","i18n"]),g.value?(e.openBlock(),e.createBlock(dr,{key:0,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode($r,null,{default:e.withCtx(()=>[e.createVNode(Or,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(y,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",pv,[e.createVNode(m,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.splitBy),1)]),_:1}),e.createVNode(m,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value),1)]),_:1})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>{var l,h,v,g;return[s.value?(e.openBlock(),e.createBlock(e.unref(Mf),{key:0,class:"mb-3 mt-1",i18n:o.value.topUpDescription,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0),e.createElementVNode("div",mv,[e.createElementVNode("table",fv,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:x.value,class:"bg-gray-50 px-2 text-left"},[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(jl)(c.value)),1)]),_:1})],8,hv)]),e.createElementVNode("tr",vv,[e.createElementVNode("th",gv,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.from),1)]),_:1})]),e.createElementVNode("th",bv,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.upTo),1)]),_:1})]),u.value?(e.openBlock(),e.createElementBlock("th",yv,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.fixedAmount),1)]),_:1})])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("th",xv,["STAIR_STEP"===c.value?(e.openBlock(),e.createBlock(m,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>{var n,a,l;return[e.createTextVNode(e.toDisplayString(o.value.pricePerStep(null==(l=null==(a=null==(n=t.item.product_items)?void 0:n[0])?void 0:a.unit_name)?void 0:l.plural)),1)]}),_:1})):d.value?(e.openBlock(),e.createBlock(m,{key:1,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.price),1)]),_:1})):t.config.details.bands&&t.config.details.bands[0].amount||t.config.details.bands&&t.config.details.bands[0].fixed_amount?(e.openBlock(),e.createBlock(m,{key:2,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.pricePerUnit(i.value)),1)]),_:1})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createElementBlock("th",kv,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.percentage),1)]),_:1})])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("th",_v,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.feeFloor),1)]),_:1})]),e.createElementVNode("th",wv,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.feeCap),1)]),_:1})])],64)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("th",Bv,[e.createVNode(m,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.per),1)]),_:1})])):e.createCommentVNode("",!0)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.details.bands,(n,a)=>{var l,i,c,s,h,v;return e.openBlock(),e.createElementBlock("tr",{key:a,class:"border-t"},[e.createElementVNode("td",Cv,[(null==(l=t.config.details)?void 0:l.bands)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(Mi)(o.value)(null==(i=t.config.details)?void 0:i.bands[a-1])),1)],64)):e.createCommentVNode("",!0)]),e.createElementVNode("td",Ev,[(null==(c=t.config.details)?void 0:c.bands)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(Vi)(o.value)(n,null==(s=t.config.details)?void 0:s.bands,a)),1)],64)):e.createCommentVNode("",!0)]),u.value?(e.openBlock(),e.createElementBlock("td",Nv,[n.fixed_amount?(e.openBlock(),e.createBlock(ar,{key:0,value:n.fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),n.fixed_amount&&(null==(h=t.config.details)?void 0:h.pricing_period)?(e.openBlock(),e.createBlock(m,{key:1,tag:"span",class:"pl-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.every)+" ",1),e.createElementVNode("span",Tv,e.toDisplayString(o.value.formatBillingPeriod(t.config.details.pricing_period,{prefix:!1})),1)]),_:1})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("td",Mv,[n.amount?(e.openBlock(),e.createBlock(ar,{key:0,value:n.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),n.amount&&(null==(v=t.config.details)?void 0:v.pricing_period)?(e.openBlock(),e.createBlock(m,{key:1,tag:"span",class:"pl-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.every)+" ",1),e.createElementVNode("span",Vv,e.toDisplayString(o.value.formatBillingPeriod(t.config.details.pricing_period,{prefix:!1})),1)]),_:1})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createElementBlock("td",Sv,[n.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(n.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("td",zv,[n.minimum_amount?(e.openBlock(),e.createBlock(ar,{key:0,value:n.minimum_amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ")],64))]),e.createElementVNode("td",Pv,[n.maximum_amount?(e.openBlock(),e.createBlock(ar,{key:0,value:n.maximum_amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ")],64))])],64)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("td",Dv,[e.unref(Ei)(n.block_size)?(e.openBlock(),e.createBlock(ar,{key:0,value:n.block_size.amount},null,8,["value"])):e.unref(Bi)(n.block_size)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value.formatNumber(+n.block_size.number)),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}),128))])])]),t.config.tiering_conditions?(e.openBlock(),e.createBlock(dv,{key:1,class:"mt-2",i18n:a.value,expression:t.config.tiering_conditions.expression},null,8,["i18n","expression"])):e.createCommentVNode("",!0),n.$slots.included||(null==(h=null==(l=t.config.details)?void 0:l.billing_period)?void 0:h.type)?(e.openBlock(),e.createElementBlock("div",Iv,[n.$slots.included?(e.openBlock(),e.createElementBlock("div",qv,[e.renderSlot(n.$slots,"included",{},void 0,!0)])):e.createCommentVNode("",!0),(null==(g=null==(v=t.config.details)?void 0:v.billing_period)?void 0:g.type)?(e.openBlock(),e.createBlock(m,{key:1,tag:"div",variant:"body-sm",class:"ml-auto text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value.billedEvery)+" ",1),e.createElementVNode("span",$v,e.toDisplayString(o.value.formatBillingPeriod(t.config.details.billing_period,{prefix:!1})),1)]),_:1})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]}),_:3},8,["is-collapsible","is-expanded"]))}}),[["__scopeId","data-v-2d2501dc"]]),Hv={key:0,class:"conditions-root"},Av=["innerHTML"],Lv=["innerHTML"],Zv=["innerHTML"],Rv=["innerHTML"],Fv=["innerHTML"],Uv=["innerHTML"],Gv={key:3,class:"mt-3"},jv={key:0,class:"context-menu-wrapper absolute -top-2 right-2"},Qv=s(e.defineComponent({__name:"PricingItemConfig",props:{areNonBillableItemsVisible:{type:Boolean},rootConfig:{},config:{},configIndex:{},item:{},itemIndex:{},pricing:{},i18n:{},rootClass:{},showConfigHeader:{type:Boolean,default:!0},showDefaultValues:{type:Boolean,default:!0},schedule:{},creditTypesById:{},canCollapseNestedConditions:{type:Boolean,default:!1},mountInViewOnly:{type:Boolean}},setup(t){const o=t,a=e.inject(Jl,!1),l=e.computed(()=>o.mountInViewOnly??a),i=e.ref(null),{shouldRender:r,placeholderStyle:c}=((t,n={})=>{const{estimatedHeight:o,mountMargin:a="200px 0px",unmountMargin:l="600px 0px",keepMountedOnce:i=!1}=n,r=()=>e.unref(n.disabled)??!1,c=e.ref(r()),s=e.ref(null),d=async()=>{c.value=!0,await e.nextTick();const n=e.unref(t);n&&n.offsetHeight>0&&(s.value=n.offsetHeight)},u=te(t,([e])=>{!r()&&(null==e?void 0:e.isIntersecting)&&(d(),i&&(u.stop(),p.stop()))},{rootMargin:a,threshold:0}),p=te(t,([e])=>{r()||i||(null==e?void 0:e.isIntersecting)||(c.value=!1)},{rootMargin:l,threshold:0});u.isSupported.value||(c.value=!0),e.watch(r,e=>{e&&d()}),e.onBeforeUnmount(()=>{u.stop(),p.stop()});const m=e.computed(()=>{if(c.value)return;const e=s.value??o;return void 0===e?void 0:{minHeight:`${e}px`}});return{shouldRender:c,placeholderStyle:m}})(i,{estimatedHeight:_i(o.config),disabled:e.computed(()=>!l.value)}),s=((t={})=>e.inject(Yl,null)||Xl(t))({defaultCollapsed:o.canCollapseNestedConditions}),d=e.computed(()=>s.isExpanded(o.config.id)),u=e.computed(()=>{var e;return null==(e=o.config.conditions)?void 0:e.configs}),p=e.computed(()=>!!o.canCollapseNestedConditions&&!n(u.value)),m=()=>{var e;d.value?s.collapse(o.config.id):s.expand((e=o.config,bi(e).map(e=>e.id)))},f=()=>{p.value?m():s.expand(o.config.id)},h=e.computed(()=>o.i18n??Bh),v=e.useSlots(),g=e=>{var t,n,a;return(e=>mi(e,["FLAT","FLAT_TOP_UP"]))(e)||"FIXED"===(null==(t=e.details)?void 0:t.pricing_type)||"PASS_THROUGH"===(null==(n=e.details)?void 0:n.pricing_type)||"NONE"===(null==(a=e.details)?void 0:a.pricing_type)&&o.areNonBillableItemsVisible},b=e=>mi(e,["TIERED","TIERED_TOP_UP","TOP_TIERED"])||vi(e),y=e=>{var t,n,o,a,l;return"AMOUNT"===(null==(l=null==(a=null==(o=null==(n=null==(t=e.product_items)?void 0:t[0])?void 0:n.usage_based)?void 0:o.meter_value_calculation)?void 0:a.meter_value)?void 0:l.type)},x=e=>{var t,n,o,a,l;return"NUMBER"===(null==(l=null==(a=null==(o=null==(n=null==(t=e.product_items)?void 0:t[0])?void 0:n.usage_based)?void 0:o.meter_value_calculation)?void 0:a.meter_value)?void 0:l.type)},k=(e,t)=>{var n,o,a;return"PER_SEAT"===(null==(o=null==(n=e.product_items)?void 0:n[0])?void 0:o.model_type)&&"NONE"!==(null==(a=t.details)?void 0:a.pricing_type)},_=e.computed(()=>o.rootConfig??o.config),w=e.computed(()=>({pricing:o.pricing,item:o.item,config:o.config})),B=e.computed(()=>!!v["pricing-item-config-settings"]&&!zi(v["pricing-item-config-settings"](w.value))),C=e.computed(()=>{var e,t,n;const a=o.config.original_pricing_item_config_id;return o.schedule?(null==(e=li({schedule:o.schedule,pricingItemConfigIds:[o.config.id,...a?[a]:[]]}))?void 0:e.number)??(null==(t=o.config.default_seats_value)?void 0:t.number):null==(n=o.config.default_seats_value)?void 0:n.number});return(a,s)=>{var v,E,N,T,M;const V=e.resolveComponent("PricingItemConfig",!0);return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative",{[`${t.rootClass}`]:t.rootClass,"mb-4 last:mb-0":g(t.config)&&((null==(v=t.config.conditions)?void 0:v.meter_properties)||0===t.configIndex&&t.item.configs&&t.item.configs.length>0),"mb-6 last:mb-0":b(t.config)}])},[e.createElementVNode("div",{ref_key:"bodyEl",ref:i,style:e.normalizeStyle(e.unref(c))},[e.unref(r)?(e.openBlock(),e.createElementBlock("div",Hv,[e.createElementVNode("div",{class:e.normalizeClass({"conditions-with-context-menu":B.value})},[(null==(E=t.config.details)?void 0:E.bands)||(null==(N=t.config.details)?void 0:N.pricing_type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[g(t.config)?(e.openBlock(),e.createBlock(e.unref(av),{key:0,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,"are-non-billable-items-visible":t.areNonBillableItemsVisible,config:t.config,item:t.item,class:e.normalizeClass({"mt-3":!t.rootClass}),i18n:h.value,"show-config-header":t.showConfigHeader,"show-default-values":t.showDefaultValues,"credit-types-by-id":t.creditTypesById,"is-collapsible":p.value,"is-expanded":d.value,onExpandToggled:m},{"override-tooltip":e.withCtx(()=>[e.renderSlot(a.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),included:e.withCtx(()=>{var n,o,a,l;return[y(t.item)&&(null==(n=t.config.default_included_volume)?void 0:n.amount)?(e.openBlock(),e.createElementBlock("span",{key:0,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?h.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):h.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,Av)):e.createCommentVNode("",!0),x(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.number)?(e.openBlock(),e.createElementBlock("span",{key:1,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?h.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):h.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(l=t.item.product_items)?void 0:l[0].unit_name)},null,8,Lv)):e.createCommentVNode("",!0),t.showDefaultValues&&k(t.item,t.config)&&C.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:h.value.includedSeats(C.value)},null,8,Zv)):e.createCommentVNode("",!0)]}),_:3},8,["is-combined-pricing","are-non-billable-items-visible","config","item","class","i18n","show-config-header","show-default-values","credit-types-by-id","is-collapsible","is-expanded"])):b(t.config)?(e.openBlock(),e.createBlock(e.unref(Ov),{key:1,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,config:t.config,"item-index":t.itemIndex,"config-index":t.configIndex,item:t.item,"credit-types-by-id":t.creditTypesById,class:"mt-3",i18n:h.value,"show-config-header":t.showConfigHeader,"is-collapsible":p.value,"is-expanded":d.value,onExpandToggled:m},{"override-tooltip":e.withCtx(()=>[e.renderSlot(a.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),included:e.withCtx(()=>{var n,o,a,l;return[y(t.item)&&(null==(n=t.config.default_included_volume)?void 0:n.amount)?(e.openBlock(),e.createElementBlock("span",{key:0,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?h.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):h.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,Rv)):e.createCommentVNode("",!0),x(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.number)?(e.openBlock(),e.createElementBlock("span",{key:1,class:"mt-1 text-right text-gray-600",innerHTML:"BILLING_PERIOD"===t.config.default_included_volume.reset_type?h.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):h.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(l=t.item.product_items)?void 0:l[0].unit_name)},null,8,Fv)):e.createCommentVNode("",!0),t.showDefaultValues&&k(t.item,t.config)&&C.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:h.value.includedSeats(C.value)},null,8,Uv)):e.createCommentVNode("",!0)]}),_:3},8,["is-combined-pricing","config","item-index","config-index","item","credit-types-by-id","i18n","show-config-header","is-collapsible","is-expanded"])):(S=t.config,gi(S)?(e.openBlock(),e.createBlock(e.unref(rv),{key:2,config:t.config,class:"mt-3","show-config-header":t.showConfigHeader,"is-collapsible":p.value,"is-expanded":d.value,onExpandToggled:m},{"override-tooltip":e.withCtx(()=>[e.renderSlot(a.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),_:3},8,["config","show-config-header","is-collapsible","is-expanded"])):e.createCommentVNode("",!0)),a.$slots["pricing-item-config-additions"]&&!e.unref(zi)(null==(M=(T=a.$slots)["pricing-item-config-additions"])?void 0:M.call(T,w.value))?(e.openBlock(),e.createElementBlock("div",Gv,[e.renderSlot(a.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(w.value)),void 0,!0)])):e.createCommentVNode("",!0)],64)):t.showConfigHeader?(e.openBlock(),e.createBlock(gd,{key:1,"is-collapsible":p.value,"is-expanded":d.value,class:"mb-1 mt-2 print:hidden",onClick:f},{default:e.withCtx(()=>[e.createVNode($p,{"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,config:t.config,i18n:h.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(a.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),_:3},8,["is-combined-pricing","config","i18n"])]),_:3},8,["is-collapsible","is-expanded"])):e.createCommentVNode("",!0)],2),B.value?(e.openBlock(),e.createElementBlock("div",jv,[e.renderSlot(a.$slots,"pricing-item-config-settings",e.mergeProps(w.value,{rootConfig:_.value}),void 0,!0)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4),u.value&&!e.unref(n)(u.value)?(e.openBlock(),e.createBlock(Zs,{key:0,"is-open":d.value,lazy:"","unmount-on-close":"",class:"nesting-line relative mb-4 w-full pl-4 before:bottom-3 before:left-1.5"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([...u.value].sort((e,t)=>t.order-e.order),(n,o)=>(e.openBlock(),e.createElementBlock("div",{key:n.id,class:"print:mb-4 print:last:mb-0"},[e.createVNode(V,{pricing:t.pricing,item:t.item,"item-index":t.itemIndex,config:n,"config-index":o,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:h.value,"root-class":t.rootClass,"root-config":_.value,"credit-types-by-id":t.creditTypesById,"can-collapse-nested-conditions":t.canCollapseNestedConditions,"mount-in-view-only":l.value},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(a.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(a.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(a.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","root-config","credit-types-by-id","can-collapse-nested-conditions","mount-in-view-only"])]))),128))]),_:3},8,["is-open"])):e.createCommentVNode("",!0)],2);var S}}}),[["__scopeId","data-v-48a7a4db"]]),Kv=["onClick"],Wv={class:"text-gray-500"},Yv={class:"px-4 pb-3"},Xv=s(e.defineComponent({__name:"PricingDetail",props:{itemClass:{},rootClass:{},titleWithIcon:{type:Boolean},pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{},canCollapseNestedConditions:{type:Boolean}},setup(t){const n=Xa(),o=t,a=e.ref({}),l=e=>e?`${e.type}:${e.value}`:"none",i=e=>!a.value[e],r=(e,t)=>{if(!t)return null;const n=new Map;return e.forEach(e=>{var t,o,a;const i=(null==(t=e.details)?void 0:t.billing_period)??(null==(o=e.details)?void 0:o.pricing_period);if(!i)return;const r=l(i);n.has(r)||n.set(r,{billingPeriod:i,configs:[]}),null==(a=n.get(r))||a.configs.push(e)}),Array.from(n.entries()).map(([e,t])=>({key:e,...t}))},c=e=>[...e].sort((e,t)=>t.order-e.order),s=e=>{var t,n;return(null==(t=e.configs)?void 0:t.length)?e.configs:(null==(n=e.billing_period_configs)?void 0:n.flatMap(e=>(e.configs??[]).map(e=>({...e}))))??[]},d=e=>{var t;return u(e)?(null==(t=e.billing_period_configs)?void 0:t.length)?e.billing_period_configs.map(e=>({key:l(e.billing_period),billingPeriod:e.billing_period,configs:e.configs??[]})):r(s(e),!0):r(s(e),!1)},u=e=>{var t,n;return((null==(t=e.billing_period_configs)?void 0:t.length)??0)>0||((null==(n=o.groupedPricingItemIds)?void 0:n.includes(e.id))??!1)},p=e.computed(()=>{var e;return(null==(e=o.pricing.items)?void 0:e.map(e=>({id:e.id,groups:d(e)})))??[]}),m=e=>{const t=s(e),n=t.some(e=>{var t;return"NONE"!==(null==(t=e.details)?void 0:t.pricing_type)}),a=t.some(e=>{var t;return"NONE"===(null==(t=e.details)?void 0:t.pricing_type)});return n||a&&!!o.areNonBillableItemsVisible};return(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.items,(l,r)=>{var d;return e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[m(l)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["pricing-item-block pb-5 last:pb-3",{[`${t.itemClass}`]:t.itemClass}])},[e.createVNode(Pd,{icon:t.titleWithIcon?"inventory_2":void 0,variant:"neutral",size:"sm",class:"pricing-item-heading"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-item-header",{item:l},()=>[e.createVNode(xh,{item:l,"credit-types-by-id":t.creditTypesById},null,8,["item","credit-types-by-id"])],!0)]),_:2},1032,["icon"]),(null==(d=p.value[r])?void 0:d.groups)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(p.value[r].groups,s=>{var d,u,p;return e.openBlock(),e.createElementBlock("div",{key:s.key,class:"mt-3 rounded border border-gray-100"},[e.createElementVNode("button",{type:"button",class:"flex w-full items-center justify-between px-4 py-2 text-left text-sm font-semibold text-gray-700",onClick:e=>{return t=s.key,void(a.value={...a.value,[t]:!a.value[t]});var t}},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString((null==(d=t.i18n)?void 0:d.formatBillingPeriod)?e.unref(n).$t({defaultMessage:"Billing period",id:"pricing_detail.billing_period",description:"The billing period in the pricing detail card"}):"Billing period")+" ",1),e.createElementVNode("span",Wv,e.toDisplayString(null==(p=null==(u=t.i18n)?void 0:u.formatBillingPeriod)?void 0:p.call(u,s.billingPeriod)),1)]),e.createVNode(y,{icon:i(s.key)?"unfold_less":"unfold_more",size:"sm",class:"print:hidden"},null,8,["icon"])],8,Kv),e.createVNode(Zs,{"is-open":i(s.key),lazy:""},{default:e.withCtx(()=>[e.createElementVNode("div",Yv,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c(s.configs),(n,a)=>(e.openBlock(),e.createBlock(Qv,{key:n.id,pricing:t.pricing,item:l,"item-index":r,config:n,"config-index":a,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById,"can-collapse-nested-conditions":t.canCollapseNestedConditions},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id","can-collapse-nested-conditions"]))),128))])]),_:2},1032,["is-open"])])}),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(c(s(l)??[]),(n,a)=>(e.openBlock(),e.createBlock(Qv,{key:n.id,pricing:t.pricing,item:l,"item-index":r,config:n,"config-index":a,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById,"can-collapse-nested-conditions":t.canCollapseNestedConditions},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id","can-collapse-nested-conditions"]))),128))],2)):e.createCommentVNode("",!0)],64)}),128))]))}}),[["__scopeId","data-v-24491e06"]]);var Jv=(e=>(e.ENUM="ENUM",e.SWITCH="SWITCH",e.NUMBER="NUMBER",e.AMOUNT="AMOUNT",e.STRING="STRING",e))(Jv||{});const eg={...{...Bh},revenueItems:"Revenue items",billedItems:"Billed Items",deductionItems:"Deduction items",features:"Features"},tg={class:"text-xs font-semibold uppercase text-gray-500"},ng={class:"print:hidden"},og={class:"hidden print:inline"},ag={class:"text-xs font-semibold uppercase text-gray-500"},lg={key:2,class:"mt-2"},ig={class:"text-xs font-semibold uppercase text-gray-500"},rg={key:0,class:"absolute right-0 top-1/2 z-10 -translate-y-1/2 bg-white"},cg={class:"pl-4"},sg={class:"mt-2"},dg={class:"font-bold text-gray-700 print:font-normal"},ug={key:1,class:"font-bold text-primary-600"},pg={key:2,class:"font-bold text-primary-600"},mg={key:4,class:"font-bold text-primary-600"},fg=s(e.defineComponent({__name:"PricingInfo",props:{pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{},canCollapseNestedConditions:{type:Boolean}},setup(t){const o=t;e.provide("pricingId",o.pricing.id);const a=e.computed(()=>o.i18n??eg),l=e.computed(()=>{var e;return null==(e=o.pricing.items)?void 0:e.filter(e=>{return!!(null==(t=e.product_items)?void 0:t.every(ci));var t})}),i=e.computed(()=>{var e;return null==(e=o.pricing.items)?void 0:e.filter(e=>{return!!(t=e.product_items)&&t.length>0&&(null==t?void 0:t.every(si));var t})});return(o,r)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(o.$slots,"pricing-item-warning",{},void 0,!0),e.unref(n)(l.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(n)(t.pricing.items)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(_,{key:0,class:"section-label my-3"},{default:e.withCtx(()=>[e.createElementVNode("h3",tg,[e.createElementVNode("span",ng,e.toDisplayString(a.value.revenueItems),1),e.createElementVNode("span",og,e.toDisplayString(a.value.billedItems),1)])]),_:1})),e.createVNode(Xv,{pricing:{...t.pricing,items:l.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:a.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,schedule:t.schedule,"credit-types-by-id":t.creditTypesById,"can-collapse-nested-conditions":t.canCollapseNestedConditions},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id","can-collapse-nested-conditions"])],64)),e.unref(n)(i.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.pricing.items&&t.pricing.items.length>0?(e.openBlock(),e.createBlock(_,{key:0,class:"section-label mb-3 mt-6"},{default:e.withCtx(()=>[e.createElementVNode("h3",ag,e.toDisplayString(a.value.deductionItems),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Xv,{pricing:{...t.pricing,items:i.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:a.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,"credit-types-by-id":t.creditTypesById,"can-collapse-nested-conditions":t.canCollapseNestedConditions},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)),void 0,!0)]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","credit-types-by-id","can-collapse-nested-conditions"])],64)),e.unref(n)(t.pricing.entitlements)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",lg,[e.createVNode(_,{class:"section-label relative"},{default:e.withCtx(()=>[e.createElementVNode("h3",ig,e.toDisplayString(a.value.features),1),o.$slots["pricing-entitlements-settings"]?(e.openBlock(),e.createElementBlock("div",rg,[e.createElementVNode("div",cg,[e.renderSlot(o.$slots,"pricing-entitlements-settings",{pricing:t.pricing},void 0,!0)])])):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("ul",sg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.entitlements,t=>(e.openBlock(),e.createElementBlock("li",{key:t.feature_id,class:"flex items-center justify-between py-2"},[e.createElementVNode("span",dg,e.toDisplayString(t.feature.name),1),t.feature.type===e.unref(Jv).AMOUNT&&t.amount?(e.openBlock(),e.createBlock(ar,{key:0,value:t.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),t.feature.type===e.unref(Jv).NUMBER&&t.number?(e.openBlock(),e.createElementBlock("span",ug,e.toDisplayString(t.number),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(Jv).STRING&&t.string?(e.openBlock(),e.createElementBlock("span",pg,e.toDisplayString(t.string),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(Jv).SWITCH&&"switch"in t?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["inline-block rounded-full leading-[0.5] text-white",t.switch?"bg-primary-600":"bg-red-500"])},[e.createVNode(y,{icon:t.switch?"check":"close",size:"xs"},null,8,["icon"])],2)):e.createCommentVNode("",!0),t.feature.type===e.unref(Jv).ENUM&&t.enum?(e.openBlock(),e.createElementBlock("span",mg,e.toDisplayString(t.enum),1)):e.createCommentVNode("",!0)]))),128))])]))]))}}),[["__scopeId","data-v-2ae5b045"]]),hg=e=>"cancellationDate"in e,vg=e=>"schedule"in e,gg={...eg,volumePooling:"Volume pooling",addon:"Addon",someItemsDeprecatedWarning:"Some of the product items are deprecated. They cannot be used for pricing and needs to be deleted",allItemsDeprecatedWarning:"All product items are deprecated, this pricing needs to be deleted",expandAllConditions:"Expand all",collapseAllConditions:"Collapse all"},bg={addon:"Addon",singleSelect:"Single select",multiSelect:"Multi select"},yg={...bg,...gg,productsCount:e=>0===e?"no products":1===e?"1 product":`${e} products`},xg={...Ym,...Sm,...af,...yg,...cf,commitmentsTitle:Sm.title,discountsTitle:Ym.title,markupsTitle:af.title,commitmentsOrderOfApplicationExplanation:Sm.orderOfApplicationExplanation,discountsOrderOfApplicationExplanation:Ym.orderOfApplicationExplanation,markupsOrderOfApplicationExplanation:af.orderOfApplicationExplanation,scheduleNumber:e=>`Schedule ${e}`,versionNumber:e=>`Version ${e}`,subscriptionCancelled:e=>`Subscription cancelled from ${e}`},kg={class:"ml-2 inline-block"},_g={class:"flex items-center gap-2"},wg={key:0,class:"mb-2"},Bg=e.defineComponent({__name:"PricingCard",props:{pricing:{},groupedPricingItemIds:{},pricingPlanId:{},pricingPlanVersionId:{},isCustomizedPlan:{type:Boolean},subscriptionId:{},showNonBillable:{type:Boolean},defaultExpanded:{type:Boolean},i18n:{},showAddonChip:{type:Boolean,default:!0},isEnabled:{type:Boolean,default:!0},schedule:{},creditTypesById:{},canCollapseNestedConditions:{type:Boolean}},emits:["pricing-toggled","pricing-toggle"],setup(t,{emit:o}){const a=t,l=o,i=e.computed(()=>a.i18n??gg);e.provide("pricingId",a.pricing.id);const r=Xl({defaultCollapsed:a.canCollapseNestedConditions}),c=e=>[...e.configs??[],...(e.billing_period_configs??[]).flatMap(e=>e.configs??[]),...(e.pricing_currency_configs??[]).flatMap(e=>[...e.configs??[],...(e.billing_period_configs??[]).flatMap(e=>e.configs??[])])],s=e.computed(()=>(a.pricing.items??[]).flatMap(c).flatMap(e=>bi(e)).filter(e=>{var t;return!n(null==(t=e.conditions)?void 0:t.configs)}).map(e=>e.id)),d=e.computed(()=>s.value.length>0),u=e.computed(()=>s.value.every(e=>r.isExpanded(e))),p=e.ref(!!a.defaultExpanded);e.watch(()=>a.defaultExpanded,e=>{p.value=!!e});const f=e=>{p.value!==e&&(p.value=e,l("pricing-toggle",a.pricing.id))},h=e.computed(()=>!!a.canCollapseNestedConditions&&d.value),v=e.computed(()=>p.value&&u.value),g=e.computed(()=>v.value?i.value.collapseAllConditions??"Collapse all":i.value.expandAllConditions??"Expand all"),b=()=>{if(v.value)return r.collapseAll(),void f(!1);f(!0),r.expandAll()},y=e=>"DEPRECATED"===e.status,x=e.computed(()=>(a.pricing.items||[]).flatMap(e=>e.product_items||[]).some(y)),k=e.computed(()=>(a.pricing.items||[]).flatMap(e=>e.product_items||[]).every(y));return(n,o)=>(e.openBlock(),e.createBlock(Wf,{class:"flex flex-col justify-between","capped-width":"","is-controlled":"","is-open":p.value,"data-testid":`pricing-${t.pricing.id}`,spacing:"sm",onToggle:o[0]||(o[0]=e=>f(!p.value)),onToggled:o[1]||(o[1]=e=>n.$emit("pricing-toggled",e))},{"pre-header":e.withCtx(()=>[e.renderSlot(n.$slots,"pre-header")]),"title-prefix":e.withCtx(()=>[e.renderSlot(n.$slots,"title-prefix")]),title:e.withCtx(()=>[e.createVNode(m,{weight:"semibold",tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(oi)(t.pricing,!(t.pricing.products&&t.pricing.products.length>1))),1)]),_:1})]),"title-suffix":e.withCtx(()=>[t.pricing.products&&t.pricing.products.length>1?(e.openBlock(),e.createBlock(pn,{key:0,color:"green",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.volumePooling),1)]),_:1})):e.createCommentVNode("",!0),t.showAddonChip&&t.pricing.product_type&&"ADDON"===t.pricing.product_type?(e.openBlock(),e.createBlock(pn,{key:1,color:"indigo",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("span",kg,[e.renderSlot(n.$slots,"id")])]),right:e.withCtx(()=>[e.createElementVNode("div",_g,[e.renderSlot(n.$slots,"right"),h.value?(e.openBlock(),e.createBlock(e.unref(on),{key:0,variant:"outline",color:"gray",size:"xs","aria-expanded":v.value,onClick:b},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value),1)]),_:1},8,["aria-expanded"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(As,{spacing:"none"},{default:e.withCtx(()=>[n.$slots["pricing-note"]?(e.openBlock(),e.createElementBlock("div",wg,[e.renderSlot(n.$slots,"pricing-note")])):e.createCommentVNode("",!0),e.createVNode(fg,{pricing:t.pricing,"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:i.value,"are-non-billable-items-visible":t.showNonBillable,schedule:t.schedule,"credit-types-by-id":t.creditTypesById,"can-collapse-nested-conditions":t.canCollapseNestedConditions},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(n.$slots,"pricing-item-header",{item:t})]),"pricing-item-warning":e.withCtx(()=>[k.value?(e.openBlock(),e.createBlock(or,{key:0,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.allItemsDeprecatedWarning),1)]),_:1})):x.value?(e.openBlock(),e.createBlock(or,{key:1,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.someItemsDeprecatedWarning),1)]),_:1})):e.createCommentVNode("",!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-entitlements-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id","can-collapse-nested-conditions"])]),_:3})]),_:3},8,["is-open","data-testid"]))}}),Cg={class:"inline-block"},Eg=e.defineComponent({__name:"PricingGroupCard",props:{pricingGroup:{},i18n:{default:()=>bg},isEnabled:{type:Boolean}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(tp,{spacing:t.isEnabled?"sm":"none","border-style":t.isEnabled?"solid":"dashed"},{default:e.withCtx(()=>[e.createVNode(Gf,{spacing:"none",title:t.pricingGroup.name},{"title-suffix":e.withCtx(()=>[t.pricingGroup.product_type&&"ADDON"===t.pricingGroup.product_type?(e.openBlock(),e.createBlock(pn,{key:0,color:"indigo",class:"ml-2 align-middle print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(pn,{color:"dark",class:"mx-2 align-middle print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(di)(t.pricingGroup)?t.i18n.singleSelect:t.i18n.multiSelect),1)]),_:1}),e.createElementVNode("span",Cg,[e.renderSlot(n.$slots,"id")])]),right:e.withCtx(()=>[e.renderSlot(n.$slots,"settings")]),_:3},8,["title"]),e.createVNode(As,{spacing:"none",class:"mt-2"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"pricings")]),_:3})]),_:3},8,["spacing","border-style"]))}),Ng=e.defineComponent({__name:"PricingGroupSingleSelectCard",props:{pricingGroup:{},pricingPlanVersion:{},schedule:{},showNonBillable:{type:Boolean},isEnabled:{type:Boolean}},emits:["update-enabled-pricing"],setup(t,{emit:n}){const o=t,a=n,l=e.computed(()=>{var e,t,n;return null==(n=null==(t=null==(e=o.schedule)?void 0:e.enabled_pricings)?void 0:t.find(e=>o.pricingGroup.pricings.some(t=>t.id===e.pricing_id)))?void 0:n.pricing_id}),i=e=>{a("update-enabled-pricing",l.value,e??"")},r=e.computed(()=>o.pricingGroup.pricings.map(e=>({value:e.id}))),{renderPricingForPricingItem:c}=Kl(),s=e.computed(()=>o.pricingGroup.pricings.find(e=>e.id===l.value)),d=e.computed(()=>s.value??o.pricingGroup.pricings[0]),u=e.computed(()=>{var e,t,n,o;return(null==(t=null==(e=s.value)?void 0:e.items)?void 0:t[0])?c({pricingItem:null==(o=null==(n=s.value)?void 0:n.items)?void 0:o[0]}):""}),p=e.computed(()=>Object.fromEntries((o.pricingPlanVersion.credit_types??[]).map(e=>[e.id,e])));return e.onMounted(()=>{l.value||i(d.value.id)}),(n,o)=>(e.openBlock(),e.createBlock(e.unref(Eg),{"pricing-group":t.pricingGroup,"is-enabled":t.isEnabled},{id:e.withCtx(()=>[e.renderSlot(n.$slots,"id",{id:t.pricingGroup.id})]),settings:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-group-settings",{pricingGroup:t.pricingGroup})]),pricings:e.withCtx(()=>[d.value?(e.openBlock(),e.createBlock(e.unref(Bg),{key:0,"default-expanded":!0,pricing:d.value,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,class:"flex flex-col","show-addon-chip":!1,"is-enabled":t.isEnabled,schedule:t.schedule,"credit-types-by-id":p.value},{"pre-header":e.withCtx(()=>[e.createVNode(Vp,{"model-value":l.value,options:r.value,name:"pricing-group-single-select",variant:"stepped-ghost",size:"lg",class:"border-b","onUpdate:modelValue":i},null,8,["model-value","options"])]),"pricing-note":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-note",e.normalizeProps(e.guardReactiveProps({pricing:s.value})))]),"title-prefix":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:t.pricingGroup,pricing:s.value})]),id:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-title-suffix",{id:d.value.id})]),right:e.withCtx(()=>[u.value?(e.openBlock(),e.createBlock(m,{key:0,variant:"body-xs",shade:"lighter",class:"mr-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1})):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"pricing-group-pricing-settings",{pricing:s.value,pricingGroup:t.pricingGroup})]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(n.$slots,"pricing-item-header",{item:t})]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-entitlements-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-settings":e.withCtx(o=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps(o,{pricingGroup:t.pricingGroup}))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","pricing-plan-version-id","pricing-plan-id","show-non-billable","is-customized-plan","is-enabled","schedule","credit-types-by-id"])):e.createCommentVNode("",!0)]),_:3},8,["pricing-group","is-enabled"]))}}),Tg={key:0,class:"category-heading mb-2 flex items-center gap-2 text-sm print:hidden"},Mg={class:"font-bold"},Vg={class:"flex flex-col gap-2"},Sg={class:"flex flex-col"},zg=s(e.defineComponent({__name:"PricingPlanVersionContent",props:{pricingPlanVersion:{},groupedPricingItemIdsByPricing:{},defaultExpanded:{type:Boolean},showNonBillable:{type:Boolean},expandedPricings:{},enabledPricings:{},i18n:{},schedule:{},enablePricingGroupSelection:{type:Boolean,default:!1},canCollapseNestedConditions:{type:Boolean,default:!1}},emits:["pricing-toggle","pricing-toggled","delete-pricing","update-enabled-pricing"],setup(t){const n=t,o=e.computed(()=>n.i18n??yg),a=e.computed(()=>n.enabledPricings??[]),l=e.computed(()=>{var e;return Object.fromEntries(((null==(e=n.pricingPlanVersion)?void 0:e.credit_types)??[]).map(e=>[e.id,e]))}),i=e=>"DEFAULT"===e.product_type||e.pricings.some(e=>a.value.includes(e.id)),r=e=>"DEFAULT"===e.product_type||a.value.includes(e.id);return(n,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(n.$slots,"header",{},void 0,!0),!t.pricingPlanVersion||t.pricingPlanVersion.pricing_categories&&0!==t.pricingPlanVersion.pricing_categories.length?t.pricingPlanVersion?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.pricingPlanVersion.pricing_categories??[],(c,s)=>{var d,u;return e.openBlock(),e.createElementBlock("div",{key:c.product_category_id,class:e.normalizeClass({"mt-6":s>0})},[(null==(d=c.product_category)?void 0:d.name)?(e.openBlock(),e.createElementBlock("h2",Tg,[e.createElementVNode("span",Mg,e.toDisplayString(null==(u=c.product_category)?void 0:u.name),1),e.createElementVNode("div",null,[e.createVNode(pn,{size:"sm",color:"dark",class:"rounded-2xl font-semibold uppercase text-gray-600"},{default:e.withCtx(()=>{var t,n;return[e.createTextVNode(e.toDisplayString(o.value.productsCount(((null==(t=c.pricing_groups)?void 0:t.length)??0)+((null==(n=c.pricings)?void 0:n.length)??0))),1)]}),_:2},1024)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Vg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricing_groups,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.id},[t.enablePricingGroupSelection&&"EXACTLY_ONE"===c.selection_constraint&&c.pricings.length>=7?(e.openBlock(),e.createBlock(Ng,{key:0,"pricing-group":c,"pricing-plan-version":t.pricingPlanVersion,"is-enabled":i(c),i18n:o.value,schedule:t.schedule,"show-non-billable":t.showNonBillable,onUpdateEnabledPricing:a[0]||(a[0]=(e,t)=>n.$emit("update-enabled-pricing",e,t))},{id:e.withCtx(()=>[e.renderSlot(n.$slots,"id",{id:c.id},void 0,!0)]),"pricing-group-settings":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-group-settings",{pricingGroup:c},void 0,!0)]),_:2},1032,["pricing-group","pricing-plan-version","is-enabled","i18n","schedule","show-non-billable"])):(e.openBlock(),e.createBlock(e.unref(Eg),{key:1,"pricing-group":c,"is-enabled":i(c),i18n:o.value},{id:e.withCtx(()=>[e.renderSlot(n.$slots,"id",{id:c.id},void 0,!0)]),settings:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-group-settings",{pricingGroup:c},void 0,!0)]),pricings:e.withCtx(()=>[e.createElementVNode("div",Sg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,i=>{var s,d;return e.openBlock(),e.createBlock(e.unref(Bg),{key:i.id,"default-expanded":!0===t.defaultExpanded||(null==(s=t.expandedPricings)?void 0:s.includes(i.id)),pricing:i,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,"grouped-pricing-item-ids":null==(d=t.groupedPricingItemIdsByPricing)?void 0:d[i.id],class:"flex flex-col",i18n:o.value,"show-addon-chip":!1,"is-enabled":r(i),"credit-types-by-id":l.value,"can-collapse-nested-conditions":t.canCollapseNestedConditions,onPricingToggled:e=>n.$emit("pricing-toggled",i.id,e),onPricingToggle:a[1]||(a[1]=e=>n.$emit("pricing-toggle",e))},{"pricing-note":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:i}),void 0,!0)]),"title-prefix":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:c,pricing:i},void 0,!0)]),id:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-title-suffix",{id:i.id},void 0,!0)]),right:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-group-pricing-settings",{pricing:i,pricingGroup:c},void 0,!0)]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(n.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:c}),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","show-non-billable","is-customized-plan","grouped-pricing-item-ids","i18n","is-enabled","credit-types-by-id","can-collapse-nested-conditions","onPricingToggled"])}),128))])]),_:2},1032,["pricing-group","is-enabled","i18n"]))],64))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,i=>{var c,s;return e.openBlock(),e.createBlock(e.unref(Bg),{key:i.id,"default-expanded":!0===t.defaultExpanded||(null==(c=t.expandedPricings)?void 0:c.includes(i.id)),pricing:i,"pricing-plan-version-id":t.pricingPlanVersion.id,"pricing-plan-id":t.pricingPlanVersion.pricing_plan_id,"grouped-pricing-item-ids":null==(s=t.groupedPricingItemIdsByPricing)?void 0:s[i.id],"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,class:"flex flex-col",i18n:o.value,"is-enabled":r(i),"credit-types-by-id":l.value,schedule:t.schedule,"can-collapse-nested-conditions":t.canCollapseNestedConditions,onPricingToggled:e=>n.$emit("pricing-toggled",i.id,e),onPricingToggle:a[2]||(a[2]=e=>n.$emit("pricing-toggle",e))},{id:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-title-suffix",{id:i.id},void 0,!0)]),right:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-settings",{pricing:i},void 0,!0)]),"pricing-note":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:i}),void 0,!0)]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(n.$slots,"pricing-item-header",{item:t},void 0,!0)]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:void 0}),void 0,!0)]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","grouped-pricing-item-ids","show-non-billable","is-customized-plan","i18n","is-enabled","credit-types-by-id","schedule","can-collapse-nested-conditions","onPricingToggled"])}),128))])],2)}),128)):e.createCommentVNode("",!0):e.renderSlot(n.$slots,"empty-state",{},void 0,!0,0)],64))}}),[["__scopeId","data-v-28988ce7"]]),Pg={class:"flex items-center gap-2"},Dg={key:0,class:"mb-8 flex items-center gap-2 print:hidden"},Ig={class:"text-base font-semibold"},qg={key:1,class:"transition-opacity-300"},$g=s(e.defineComponent({__name:"PricingPlanSchedules",props:{schedules:{},isEditable:{type:Boolean},openScheduleId:{},i18n:{},displayDisabledAddonPricings:{type:Boolean,default:!1},isExpandedByDefault:{type:Boolean},timezone:{},cancellationDate:{},cancellationReason:{},enablePricingGroupSelection:{type:Boolean,default:!1},forPrint:{type:Boolean,default:!1}},emits:["add-schedule","toggle-schedule"],setup(t,{emit:n}){var o;const a=t,l=n,i=e.computed(()=>a.i18n??xg),{formatDate:r}=Xa(),{getIsOpen:c,toggle:s}=bl({closeOthers:!0,initialToggledItems:[null==(o=a.schedules[0])?void 0:o.schedule.id]}),d=e.ref(null);Wl(d,".collapsible-card-print-wrapper",{companionSelector:".category-heading",expandSelectors:[".collapsible-list-item-content",".collapsible-card-print-content"],protectedTopSelectors:[".card-header-print-root",".section-label",".pricing-item-block"],enabled:a.forPrint});const u=e.computed(()=>a.schedules.map((e,t)=>({...e,inferredPricingPlanVersion:e.selectedPricingPlanVersion&&ri(e.selectedPricingPlanVersion,e.schedule,{displayDisabledAddonPricings:a.displayDisabledAddonPricings}),scheduleNumber:t+1,cancelled:!1}))),p=e.computed(()=>{let e=[...u.value.map((e,t)=>({...e,inferredPricingPlanVersion:e.selectedPricingPlanVersion&&ri(e.selectedPricingPlanVersion,e.schedule,{displayDisabledAddonPricings:a.displayDisabledAddonPricings}),scheduleNumber:t+1}))];if(a.cancellationDate){let t=0;const n={cancellationDate:a.cancellationDate,cancellationReason:a.cancellationReason},o=e.findLastIndex(e=>vg(e)&&(e.schedule.start_at??"")<(a.cancellationDate??""));if(-1===o)e=[n,...e];else{const l=e[o];t=vg(l)&&(l.schedule.end_at??"")>=(a.cancellationDate??"")?o:o+1,t===a.schedules.length+1?e=[...e,n]:e.splice(t,0,n)}return e.map((e,n)=>vg(e)?{...e,cancelled:n>t}:e)}return e}),f=e=>{if(e.inferredPricingPlanVersion)return((e,t,n)=>{var o;return{...e,pricing_categories:null==(o=e.pricing_categories)?void 0:o.map(e=>{var o,a;return{...e,pricings:null==(o=e.pricings)?void 0:o.map(e=>({...e,items:Ui(e,t,n)})),pricing_groups:null==(a=e.pricing_groups)?void 0:a.map(e=>{var o;return{...e,pricings:null==(o=e.pricings)?void 0:o.map(e=>({...e,items:Ui(e,t,n)}))}})}})}})(e.inferredPricingPlanVersion,e.schedule.pricing_currency,e.schedule.billing_period)},h=e=>e.inferredPricingPlanVersion?((e,t)=>{const n=[],o=e=>{for(const o of e??[]){const e=(o.items??[]).filter(e=>Fi(e,t)).map(e=>e.id);n.push([o.id,e])}};for(const a of e.pricing_categories??[]){o(a.pricings);for(const e of a.pricing_groups??[])o(e.pricings)}return Object.fromEntries(n)})(e.inferredPricingPlanVersion,e.schedule.pricing_currency):{},v=e=>{if(a.isExpandedByDefault)return;return((e,t)=>{if(e.length>0)return e;const n=(e=>{var t;for(const n of(null==e?void 0:e.pricing_categories)??[]){for(const e of n.pricing_groups??[])if(e.pricings[0])return e.pricings[0].id;if(null==(t=n.pricings)?void 0:t[0])return n.pricings[0].id}})(t);return n?[n]:[]})([],f(e)??e.inferredPricingPlanVersion)},g=e.computed(()=>void 0===a.openScheduleId);return(n,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:d},[e.createVNode(Fs,e.mergeProps(n.$attrs,{"has-add-button":t.isEditable,onAdd:o[0]||(o[0]=e=>n.$emit("add-schedule"))}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(o,d)=>{return e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[e.unref(hg)(o)?(e.openBlock(),e.createBlock(rh,{key:0,"hide-collapse-icon":""},{icon:e.withCtx(()=>[e.createVNode(y,{icon:"cancel",class:"text-red-600"})]),left:e.withCtx(()=>[e.createVNode(m,{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.subscriptionCancelled(t.timezone?e.unref(r)({date:o.cancellationDate,format:"date",offsetType:"offsetted",timezone:t.timezone}):e.unref(r)({date:o.cancellationDate,format:"dateTime",offsetType:"local"}))),1)]),_:2},1024),o.cancellationReason?(e.openBlock(),e.createBlock(m,{key:0,variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.cancellationReason),1)]),_:2},1024)):e.createCommentVNode("",!0)]),_:2},1024)):e.createCommentVNode("",!0),e.unref(vg)(o)?(e.openBlock(),e.createBlock(rh,{key:1,"item-number":o.scheduleNumber,"is-open":(p=o.schedule,g.value?c(p.id):a.openScheduleId===p.id),"has-continued-preline":!!t.isEditable||o.scheduleNumber-1!=u.value.length-1,class:e.normalizeClass({"opacity-60":o.cancelled}),lazy:!t.forPrint,onToggle:e=>(e=>{g.value?s(e.id):l("toggle-schedule",e.id)})(o.schedule)},{left:e.withCtx(()=>[e.createElementVNode("div",Pg,[e.createVNode(m,{tag:"h3",weight:"semibold",class:"print:text-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.scheduleNumber(o.scheduleNumber)),1)]),_:2},1024),"TRIAL"===o.schedule.type&&o.schedule.start_at&&o.schedule.end_at?(e.openBlock(),e.createBlock(Vf,{key:0,"trial-period":e.unref(Hi)(new Date(o.schedule.start_at),new Date(o.schedule.end_at))},null,8,["trial-period"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"id",{id:o.schedule.id},void 0,!0)])]),right:e.withCtx(()=>[e.renderSlot(n.$slots,"schedule-right",{item:o,itemIndex:o.scheduleNumber-1},()=>[t.timezone?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(m,{variant:"body-xs",class:"print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.schedule.start_at?e.unref(r)({date:o.schedule.start_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):i.value.startOfSchedule)+" - "+e.toDisplayString(o.schedule.end_at?e.unref(r)({date:o.schedule.end_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):i.value.endOfSchedule),1)]),_:2},1024),e.createVNode(m,{variant:"body-xs",class:"hidden print:block"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.schedule.start_at?e.unref(r)({date:o.schedule.start_at,format:"date",offsetType:"offsetted",timezone:t.timezone}):i.value.startOfSchedule)+" - "+e.toDisplayString(o.schedule.end_at?e.unref(r)({date:o.schedule.end_at,format:"date",offsetType:"offsetted",timezone:t.timezone}):i.value.endOfSchedule),1)]),_:2},1024)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(m,{variant:"body-xs",class:"print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.schedule.start_at?e.unref(r)({date:o.schedule.start_at,format:"dateTime",offsetType:"local"}):i.value.startOfSchedule)+" - "+e.toDisplayString(o.schedule.end_at?e.unref(r)({date:o.schedule.end_at,format:"dateTime",offsetType:"local"}):i.value.endOfSchedule),1)]),_:2},1024),e.createVNode(m,{variant:"body-xs",class:"hidden print:block"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.schedule.start_at?e.unref(r)({date:o.schedule.start_at,format:"date",offsetType:"local"}):i.value.startOfSchedule)+" - "+e.toDisplayString(o.schedule.end_at?e.unref(r)({date:o.schedule.end_at,format:"date",offsetType:"local"}):i.value.endOfSchedule),1)]),_:2},1024)],64))],!0)]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"schedule",{item:o,previousItem:u.value.find(e=>e.scheduleNumber===o.scheduleNumber-1),nextItem:u.value.find(e=>e.scheduleNumber===o.scheduleNumber+1),timezone:t.timezone},()=>[o.selectedPricingPlan?(e.openBlock(),e.createElementBlock("div",Dg,[e.createVNode(ks,{initials:o.selectedPricingPlan.name[0],"color-hash":o.selectedPricingPlan.id,size:"lg",class:"print:hidden"},null,8,["initials","color-hash"]),e.createElementVNode("h2",Ig,e.toDisplayString(o.selectedPricingPlan.name),1),e.createVNode(pn,{color:"teal"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(i.value.versionNumber((null==(t=o.inferredPricingPlanVersion)?void 0:t.version)??1)),1)]}),_:2},1024)])):e.createCommentVNode("",!0),o.inferredPricingPlanVersion?(e.openBlock(),e.createElementBlock("div",qg,[e.createVNode(zg,{"pricing-plan-version":f(o)??o.inferredPricingPlanVersion,"grouped-pricing-item-ids-by-pricing":h(o),"enabled-pricings":e.unref(ai)(o.schedule),"default-expanded":t.isExpandedByDefault,"expanded-pricings":v(o),i18n:i.value,"enable-pricing-group-selection":t.enablePricingGroupSelection,"show-non-billable":""},{"pricing-item-config-additions":e.withCtx(({config:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([e.unref(Si)(o.schedule,t)],(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t?(e.openBlock(),e.createBlock(df,{key:n,markup:t,i18n:i.value},null,8,["markup","i18n"])):e.createCommentVNode("",!0)],64))),256)),e.renderSlot(n.$slots,"pricing-item-config-additions",{config:t,item:o,pricingPlanVersion:o.inferredPricingPlanVersion},void 0,!0)]),_:2},1032,["pricing-plan-version","grouped-pricing-item-ids-by-pricing","enabled-pricings","default-expanded","expanded-pricings","i18n","enable-pricing-group-selection"])])):e.createCommentVNode("",!0),o.schedule.discount?(e.openBlock(),e.createBlock(Jm,{key:2,discount:o.schedule.discount,"read-only":"","pricing-plan-version":o.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...i.value,title:i.value.discountsTitle,orderOfApplicationExplanation:i.value.discountsOrderOfApplicationExplanation}},null,8,["discount","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0),o.schedule.markup?(e.openBlock(),e.createBlock(rf,{key:3,markup:o.schedule.markup,"pricing-plan-version":o.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...i.value,title:i.value.markupsTitle,orderOfApplicationExplanation:i.value.markupsOrderOfApplicationExplanation}},null,8,["markup","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0),o.schedule&&o.schedule.commitment?(e.openBlock(),e.createBlock(Rm,{key:4,class:"mt-2",commitment:o.schedule.commitment,"read-only":"","pricing-plan-version":o.inferredPricingPlanVersion,timezone:t.timezone,i18n:{...i.value,title:i.value.commitmentsTitle,orderOfApplicationExplanation:i.value.commitmentsOrderOfApplicationExplanation}},null,8,["commitment","pricing-plan-version","timezone","i18n"])):e.createCommentVNode("",!0)],!0)]),_:2},1032,["item-number","is-open","has-continued-preline","class","lazy","onToggle"])):e.createCommentVNode("",!0)],64);var p}),128))]),_:3},16,["has-add-button"])],512))}}),[["__scopeId","data-v-8abb6425"]]);const Og=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("tbody",null,[e.renderSlot(t.$slots,"default")])}]]),Hg={class:"bg-white"};const Ag=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("thead",Hg,[e.renderSlot(t.$slots,"default")])}]]),Lg={class:"bg-white"};const Zg=s({},[["render",function(t,n){return e.openBlock(),e.createElementBlock("tr",Lg,[e.renderSlot(t.$slots,"default")])}]]);const Rg={AT:{regex:/^ATU\d{8}$/,prefix:"AT",example:"ATU12345678"},BE:{regex:/^BE0?\d{9}$/,prefix:"BE",example:"BE0123456789"},BG:{regex:/^BG\d{9,10}$/,prefix:"BG",example:"BG123456789"},HR:{regex:/^HR\d{11}$/,prefix:"HR",example:"HR12345678901"},CY:{regex:/^CY\d{8}[A-Z]$/,prefix:"CY",example:"CY12345678X"},CZ:{regex:/^CZ\d{8,10}$/,prefix:"CZ",example:"CZ12345678"},DE:{regex:/^DE\d{9}$/,prefix:"DE",example:"DE123456789"},DK:{regex:/^DK\d{8}$/,prefix:"DK",example:"DK12345678"},EE:{regex:/^EE\d{9}$/,prefix:"EE",example:"EE123456789"},GR:{regex:/^(EL|GR)\d{9}$/,prefix:"GR",example:"GR123456789"},ES:{regex:/^ES[A-Z0-9]\d{7}[A-Z0-9]$/,prefix:"ES",example:"ESX1234567X"},FI:{regex:/^FI\d{8}$/,prefix:"FI",example:"FI12345678"},FR:{regex:/^FR[0-9A-Z]{2}\d{9}$/,prefix:"FR",example:"FRXX123456789"},HU:{regex:/^HU\d{8}$/,prefix:"HU",example:"HU12345678"},IE:{regex:/^IE[0-9A-Z]{8,9}$/,prefix:"IE",example:"IE1234567A"},IS:{regex:/^IS\d{5}$/,prefix:"IS",example:"IS12345"},IT:{regex:/^IT\d{11}$/,prefix:"IT",example:"IT12345678901"},LT:{regex:/^LT(\d{9}|\d{12})$/,prefix:"LT",example:"LT123456789 or LT123456789012"},LU:{regex:/^LU\d{8}$/,prefix:"LU",example:"LU12345678"},LV:{regex:/^LV\d{11}$/,prefix:"LV",example:"LV12345678901"},ME:{regex:/^ME\d{9}$/,prefix:"ME",example:"ME123456789"},MT:{regex:/^MT\d{8}$/,prefix:"MT",example:"MT12345678"},NL:{regex:/^NL\d{9}B\d{2}$/,prefix:"NL",example:"NL123456789B01"},PL:{regex:/^PL\d{10}$/,prefix:"PL",example:"PL1234567890"},PT:{regex:/^PT\d{9}$/,prefix:"PT",example:"PT123456789"},RO:{regex:/^RO\d{2,10}$/,prefix:"RO",example:"RO1234567890"},RU:{regex:/^RU(\d{9}|\d{10}|\d{12})$/,prefix:"RU",example:"RU123456789 or RU1234567890 or RU123456789012"},SE:{regex:/^SE\d{10}01$/,prefix:"SE",example:"SE123456789001"},SI:{regex:/^SI\d{8}$/,prefix:"SI",example:"SI12345678"},SK:{regex:/^SK\d{10}$/,prefix:"SK",example:"SK1234567890"},CH:{regex:/^CHE\d{9}(MWST|TVA|IVA)?$/,prefix:"CHE",example:"CHE123456789MWST"},NO:{regex:/^NO\d{9}MVA$/,prefix:"NO",example:"NO123456789MVA"},GB:{regex:/^GB(\d{9}|\d{12}|GD\d{3}|HA\d{3})$/,prefix:"GB",example:"GB123456789"},XI:{regex:/^XI(\d{9}|\d{12})$/,prefix:"XI",example:"XI123456789"}},Fg=Md.withMessage(({$model:t})=>{if(!t||"string"!=typeof t||""===t.trim())return"";const n=e.inject(ja,null);if(!n)return"Invalid tax ID";const{formatMessage:o}=n,a=Object.values(Rg).find(e=>t.toUpperCase().startsWith(e.prefix.toUpperCase()));return a?o({defaultMessage:"Invalid tax ID format. Example: {example}",id:"form_validation.tax_id.invalid_format",description:"Error message when tax ID format is invalid but prefix matches"},{example:a.example}):o({defaultMessage:"Invalid tax ID",id:"taxId.invalid",description:"Error message when tax ID is invalid"})},e=>!e||"string"!=typeof e||""===e.trim()||Object.values(Rg).some(t=>t.regex.test(e))),Ug="minimum amount",Gg="Invoice line",jg="Minimum amount",Qg="Confirm",Kg="maximum amount",Wg="units",Yg="Amount must be at least {minimum}",Xg="Enter an amount between {minimum} and {maximum}",Jg="Amount must be at most {maximum}",eb="unit",tb="expires after {period}",nb="{pricing} per {billing_period}",ob="Enter an amount of at least {minimum}",ab="Amount must be greater than 0",lb="Updated {date}",ib="Top up",rb="Flexible pricing",cb="Enter an amount up to {maximum}",sb={"47FYwb":"Cancel",Bbc4Nn:Ug,"Cg/Rk9":"Maximum amount must be greater than the minimum amount",JlhdD2:Gg,M8HcCn:jg,N2IrpM:Qg,"PW+sL4":"N/A","Ptszz+":"Amount","SubscriptionDiscountItem.coupon.applied_by":"applied by","SubscriptionDiscountItem.discountOn":"Discount on","SubscriptionDiscountItem.invoice":"Invoice",V6mQFd:Kg,Vl9vDx:Wg,"YnK/yF":"Add",aQ4uM8:Yg,"customer_billing_information.billing_address_label":"Billing address","customer_billing_information.email_address_label":"Email address","customer_billing_information.name_label":"Name","customer_billing_information.title":"Billing information","customer_billing_information.vat_number_label":"VAT number","customer_overview.billing_information.no_billing_information_available":"No billing information to display.","dateTimeAgo.days":"{count,plural,one{# day ago} other{# days ago}}","dateTimeAgo.hours":"{count,plural,one{# hour ago} other{# hours ago}}","dateTimeAgo.minutes":"{count,plural,one{# minute ago} other{# minutes ago}}","dateTimeAgo.months":"{count,plural,one{# month ago} other{# months ago}}","dateTimeAgo.seconds":"{count,plural,one{# second ago} other{# seconds ago}}","dateTimeAgo.years":"{count,plural,one{# year ago} other{# years ago}}","dateTimeAgo.yesterday":"yesterday","download_button.download_failed_message":"Download failed, please try again later","editor.placeholder":"Enter text or type ‘/’ for commands","editorComponent.entityDetailsFallbackTitles.customerTitle":"Customer details","editorComponent.entityDetailsFallbackTitles.supplierTitle":"Supplier details","editorComponent.slashCommands.addContactPersonDescription":"Insert contact person from portal","editorComponent.slashCommands.addContactPersonTitle":"Add Contact Person","editorComponent.slashCommands.addCustomerDetailsDescription":"Insert customer details block","editorComponent.slashCommands.addCustomerDetailsTitle":"Add Customer Details","editorComponent.slashCommands.addInvoicePreviewDescription":"Insert an invoice preview snapshot","editorComponent.slashCommands.addInvoicePreviewTitle":"Add Invoice Preview","editorComponent.slashCommands.addPartyDetailsDescription":"Insert customer and supplier details in one row","editorComponent.slashCommands.addPartyDetailsTitle":"Add Party Details","editorComponent.slashCommands.addQuoteBillingDetailsDescription":"Insert quote billing details block","editorComponent.slashCommands.addQuoteBillingDetailsTitle":"Add Quote Billing Details","editorComponent.slashCommands.addSupplierDetailsDescription":"Insert supplier details block","editorComponent.slashCommands.addSupplierDetailsTitle":"Add Supplier Details","editorComponent.slashCommands.dividerDescription":"Insert a horizontal rule","editorComponent.slashCommands.dividerTitle":"Divider","editorComponent.slashCommands.headingDescription":"Start writing with heading.","editorComponent.slashCommands.headingTitle":"Heading","editorComponent.slashCommands.textDescription":"Start writing with plain text","editorComponent.slashCommands.textTitle":"Text","error_notification.default_error_message":"Something went wrong","flexible_pricing.credit_unit_plural":"credits","flexible_pricing.credit_unit_singular":"credit","form_validation.tax_id.invalid_format":"Invalid tax ID format. Example: {example}","generic.not_available":"N/A","gpU2/S":"Maximum amount","invoice.adjustment_chip_body":"Adjustment","invoice.already_deducted_table_heading":"Already deducted","invoice.amount_discount":"{amount} discount","invoice.amount_due_table_heading":"Amount due","invoice.amount_table_heading":"Amount","invoice.commitment":"commitment","invoice.commitment_heading":"Commitment","invoice.discounts_table_heading":"Discounts","invoice.download_pdf_button":"Download PDF","invoice.due_on_label":"Due on {date}","invoice.line.band_maximum_number":"Maximum number","invoice.line.band_minimum_amount":"Band minimum amount","invoice.line.band_minimum_number":"Minimum number","invoice.line.excl.tax":"Excl. tax","invoice.line.fixed_amount":"Fixed amount","invoice.line.flat_fee":"Flat fee","invoice.line.incl.tax":"Incl. tax","invoice.line.included":"included","invoice.line.original_currency":"Original currency","invoice.line.pass_through":"Pass through","invoice.line.per_unit":"Per unit","invoice.line.per_units_block_size":"{count,plural,one{Per unit} other{Per {formattedCount} units}}","invoice.line.per_units_tier_top_bound":"{count,plural,one{per unit} other{per {formattedCount} units}}","invoice.line.price_bound_maximum_amount":"Maximum amount","invoice.line.price_bound_within_bounds":"Within bounds","invoice.line.units_included":"units included","invoice.markup_percentage":"{percentage}% markup","invoice.markups_table_heading":"Markups","invoice.paid_chip":"Paid","invoice.paid_on_label":"Paid on {date}","invoice.percentage_discount":"{percentage}% discount","invoice.service_period_heading":"Service period - {start_at} - {end_at}","invoice.table_header.base amount":"Base amount","invoice.table_header.discount":"Discount","invoice.table_header.markup":"Markup","invoice.table_header.price":"Price","invoice.table_header.quantity":"Quantity","invoice.table_header.sub_total":"Subtotal","invoice.table_header.tax amount":"Tax amount","invoice.table_header.tax type":"Tax type","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Tax rate","invoice.table_header.total":"Total","invoice.table_header.total_excluding_taxes":"Total excluding taxes","invoice.table_header.total_including_taxes":"Total including taxes","invoice.table_header.total_including_taxes_customer_facing":"Total due today","invoice.table_header.unit":"Unit","invoice.table_heading.commitments":"Commitments","invoice.table_heading.discounts":"Discounts","invoice.table_heading.markups":"Markups","invoice.table_heading.one_offs":"One-off's","invoice.table_heading.products":"Products","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Local VAT applied instead of reverse charge mechanism because customer VAT number is missing and this is an intra-EU sale","invoice.tax_notes.no_charge_provided_outside_eu":"No VAT charged – services provided outside the EU","invoice.tax_notes.not_applicable_article":"TVA non applicable – Article 294, 1 du CGI","invoice.tax_notes.reverse_charge":"Reverse charge - Art 196 of the VAT Directive 2006/ 112/EC","invoice.tax_notes.reverse_charge_outside_eu":"No VAT – Service supplied outside the EU (Art. 44 EU VAT Directive)","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Reverse charge","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Out of scope for EU VAT","invoice.taxes_table_heading":"Taxes","invoice.title":"Details","invoice.totals_table_heading":"Totals","invoicePreviewCard.taxes":"Taxes","invoicePreviewCard.title":"Invoice preview","invoicePreviewCard.totalExcludingTaxes":"Total excluding taxes","invoicePreviewCard.totalIncludingTaxes":"Total including taxes","invoice_preview.after_trial_heading":"After trial","invoice_preview.taxes_heading":"Taxes","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_preview.total_due_today_heading":"Total due today","invoice_preview.total_excluding_taxes_heading":"Total excluding taxes","invoice_preview.total_including_taxes_heading":"Total including taxes","invoice_preview.total_paid_heading":"Total paid","jB8+k/":"Note",kkzP6R:Xg,l6rWtM:Jg,lWOCGz:eb,pH6Zg0:tb,"payment_methods.default_chip.label":"Default","payment_methods.inactive_chip.label":"Inactive","pricing_detail.billing_period":"Billing period",pricing_item_pricing:nb,"pricing_item_pricing.flat_top_up":"Flat top up pricing","pricing_item_pricing.none":"Not billed","pricing_item_pricing.pass_through":"Pass through pricing","pricing_item_pricing.per_seat":"Per seat","pricing_item_pricing.stair_step":"Stair step pricing","pricing_item_pricing.tiered":"Tiered pricing","pricing_item_pricing.tiered_top_up":"Tiered top up pricing","pricing_item_pricing.top_tiered":"Top tiered pricing","pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","promotion.code.expiry":"Never expires","quoteBillingDetails.autoRenewalLabel":"Auto renewal","quoteBillingDetails.initialTermLabel":"Initial term","quoteBillingDetails.no":"No","quoteBillingDetails.renewalTermLabel":"Renewal term","quoteBillingDetails.title":"Quote billing details","quoteBillingDetails.yes":"Yes",r5g8Y8:ob,rN2Xxr:ab,"slashCommandList.emptyState":"No matching commands",spcNSp:lb,"taxId.invalid":"Invalid tax ID","time_period.day.full":"daily","time_period.day.plural":"days","time_period.day.singular":"day","time_period.month.full":"monthly","time_period.month.plural":"months","time_period.month.singular":"month","time_period.week.full":"weekly","time_period.week.plural":"weeks","time_period.week.singular":"week","time_period.year.full":"yearly","time_period.year.plural":"years","time_period.year.singular":"year","timezone_select.option.inherit_from_platform":"Inherit from platform","ui.CalloutRow.moreActions":"More actions",v1V8kA:ib,"wB/wXs":"credits",wYqODC:rb,"wallet_balance.auto_top_up_credits_explanation":"Your balance is automatically increased with {topUpCredits} ({topUpAmount}) when it drops below {threshold}.","wallet_balance.auto_top_up_disable_button":"Disable","wallet_balance.auto_top_up_disabled_label":"No auto top-up enabled","wallet_balance.auto_top_up_enable_button":"Enable","wallet_balance.auto_top_up_enabled_label":"Auto top-up enabled","wallet_balance.auto_top_up_explanation":"Your balance is automatically increased with {topUpAmount} when it drops below {threshold}.","wallet_balance.auto_top_up_generic_explanation":"Your balance is topped up automatically once it runs low.","wallet_balance.auto_top_up_setup_explanation":"Set up an automatic top-up and your balance is increased for you whenever it drops below an amount you choose, so you never run out.","wallet_balance.balance_label":"Balance","wallet_balance.updated_action_verb":"updated",yv2Ck1:cb},db=Object.freeze(Object.defineProperty({__proto__:null,Bbc4Nn:Ug,JlhdD2:Gg,M8HcCn:jg,N2IrpM:Qg,V6mQFd:Kg,Vl9vDx:Wg,aQ4uM8:Yg,default:sb,kkzP6R:Xg,l6rWtM:Jg,lWOCGz:eb,pH6Zg0:tb,pricing_item_pricing:nb,r5g8Y8:ob,rN2Xxr:ab,spcNSp:lb,v1V8kA:ib,wYqODC:rb,yv2Ck1:cb},Symbol.toStringTag,{value:"Module"})),ub=Object.freeze(Object.defineProperty({__proto__:null,default:{"download_button.download_failed_message":"Download mislukt, probeer later nog een keer","customer_billing_information.billing_address_label":"Factuuradres","customer_billing_information.email_address_label":"E-mailadres","customer_billing_information.name_label":"Naam","customer_billing_information.title":"Facturatiegegevens","customer_billing_information.vat_number_label":"Btw-nummer","customer_overview.billing_information.no_billing_information_available":"Geen facturatiegegevens beschikbaar.","generic.not_available":"N/B","invoice.add_invoice_line":"Factuurregel toevoegen","invoice.adjustment_chip_body":"Aanpassing","invoice.already_deducted_table_heading":"Reeds afgetrokken","invoice.amount_discount":"{amount} korting","invoice.amount_due_table_heading":"Te betalen bedrag","invoice.amount_table_heading":"Bedrag","invoice.commitment_heading":"Verplichting","invoice.commitment":"verplichting","invoice.discounts_table_heading":"Kortingen","invoice.download_pdf_button":"PDF downloaden","invoice.due_on_label":"Vervaldatum {date}","invoice.header.customer_title":"Klant","invoice.header.due_date_title":"Vervaldatum","invoice.header.e_invoice_error":"E-factuur fout","invoice.header.e_invoice_status_title":"E-factuur status","invoice.header.invoice_date_title":"Factuurdatum","invoice.header.invoice_number_title":"Factuurnummer","invoice.header.invoice_type_title":"Factuurtype","invoice.header.multiple_subscriptions_chip_body":"Meerdere abonnementen","invoice.header.original_invoice_title":"Originele factuur","invoice.header.po_number_title":"Inkoopordernummer","invoice.header.subscription_title":"Abonnement","invoice.header.supplier_title":"Leverancier","invoice.line.band_maximum_number":"Maximum aantal","invoice.line.band_minimum_amount":"Minimaal bedrag","invoice.line.band_minimum_number":"Minimum aantal","invoice.line.excl.tax":"Excl. belasting","invoice.line.fixed_amount":"Vast bedrag","invoice.line.flat_fee":"Vast tarief","invoice.line.incl.tax":"Incl. belasting","invoice.line.original_currency":"Oorspronkelijke valuta","invoice.line.included":"inbegrepen","invoice.line.pass_through":"Doorbelast","invoice.line.per_unit":"Per eenheid","invoice.line.per_units_block_size":"Per {count, plural, one {eenheid} other {{formattedCount} eenheden}}","invoice.line.per_units_tier_top_bound":"per {count, plural, one {eenheid} other {{formattedCount} eenheden}}","invoice.line.price_bound_maximum_amount":"Maximum bedrag","invoice.line.price_bound_within_bounds":"Binnen grenzen","invoice.line.units_included":"inbegrepen eenheden","invoice.markup_percentage":"{percentage}% opslag","invoice.markups_table_heading":"Opslagen","invoice.paid_chip":"Betaald","invoice.percentage_discount":"{percentage}% korting","invoice.service_period_heading":"Diensten over periode - {start_at} - {end_at}","invoice.table_header.base amount":"Basisbedrag","invoice.table_header.discount":"Korting","invoice.table_header.markup":"Opslag","invoice.table_header.price_amount":"Prijsbedrag","invoice.table_header.price":"Prijs","invoice.table_header.quantity":"Aantal","invoice.table_header.sub_total":"Subtotaal","invoice.table_header.tax amount":"Belastingbedrag","invoice.table_header.tax type":"Belastingtype","invoice.table_header.tax_percentage":"Percentage","invoice.table_header.tax_rate":"Belastingtarief","invoice.table_header.total_excluding_taxes":"Totaal exclusief belastingen","invoice.table_header.total_including_taxes":"Totaal inclusief belastingen","invoice.table_header.total":"Totaal","invoice.table_header.unit":"Eenheid","invoice.table_heading.commitments":"Verplichtingen","invoice.table_heading.discounts":"Kortingen","invoice.table_heading.markups":"Opslagen","invoice.table_heading.one_offs":"Eenmalige posten","invoice.table_heading.products":"Producten","invoice.tax_notes.local_vat_applied_for_missing_tax_id":"Lokale btw toegepast in plaats van verleggingsregeling omdat het btw-nummer van de klant ontbreekt en dit een intracommunautaire levering is","invoice.tax_notes.reverse_charge_outside_eu":"Geen BTW – Dienst geleverd buiten de EU (art. 44 EU-btw-richtlijn)","invoice.tax_notes.no_charge_provided_outside_eu":"Geen BTW in rekening gebracht – diensten geleverd buiten de EU","invoice.tax_notes.reverse_charge":"Verleggingsregeling - Art. 196 van de btw-richtlijn 2006/112/EG","invoice.tax_notes.reverse_charge_tax_registration":"[1] - Verleggingsregeling","invoice.tax_notes.reverse_charge_tax_registration_outside_eu":"Buiten het toepassingsgebied van de EU-btw-heffing","invoice.tax_notes.not_applicable_article":"Btw niet van toepassing – Artikel 294, lid 1 van het CGI","invoice.taxes_table_heading":"Belastingen","invoice.title":"Details","invoice.totals_table_heading":"Totalen","pricing_detail.billing_cycle":"Billing cycle"}},Symbol.toStringTag,{value:"Module"}));exports.InvoiceTable=Od,exports.Modal=gh,exports.PricingPlanSchedules=$g,exports.TableBody=Og,exports.TableHead=Ag,exports.TableHeadRow=Zg,exports.TooltipContent=$r,exports._sfc_main=ks,exports._sfc_main$1=m,exports._sfc_main$10=Fp,exports._sfc_main$11=mf,exports._sfc_main$12=yf,exports._sfc_main$13=xf,exports._sfc_main$14=gf,exports._sfc_main$15=ar,exports._sfc_main$16=hd,exports._sfc_main$17=_p,exports._sfc_main$18=hm,exports._sfc_main$19=Vp,exports._sfc_main$2=Js,exports._sfc_main$20=_,exports._sfc_main$21=Ad,exports._sfc_main$22=Hd,exports._sfc_main$23=Id,exports._sfc_main$24=ps,exports._sfc_main$25=Ks,exports._sfc_main$26=Nf,exports._sfc_main$27=w,exports._sfc_main$28=qd,exports._sfc_main$29=ep,exports._sfc_main$3=y,exports._sfc_main$30=or,exports._sfc_main$31=fr,exports._sfc_main$32=Zs,exports._sfc_main$33=Rf,exports._sfc_main$34=Vf,exports._sfc_main$35=dr,exports._sfc_main$36=Wu,exports._sfc_main$37=Or,exports._sfc_main$38=Xu,exports._sfc_main$39=bm,exports._sfc_main$4=Qu,exports._sfc_main$40=md,exports._sfc_main$41=pd,exports._sfc_main$42=Tf,exports._sfc_main$43=vm,exports._sfc_main$44=fd,exports._sfc_main$45=Hs,exports._sfc_main$46=Sd,exports._sfc_main$5=id,exports._sfc_main$6=on,exports._sfc_main$7=pn,exports._sfc_main$8=vl,exports._sfc_main$9=r,exports.componentStyles=['.tiptap h1,\n.editor-content-typography h1 {\n\n margin-top: 0px;\n\n font-size: 2.1428571em;\n\n font-weight: 700;\n\n line-height: 1.2\n}\n\n.tiptap h2,\n.editor-content-typography h2 {\n\n margin-top: 0px;\n\n font-size: 1.5em;\n\n font-weight: 700;\n\n line-height: 1.3333333\n}\n\n.tiptap h3,\n.editor-content-typography h3 {\n\n margin-top: 0px;\n\n font-size: 1.2857143em;\n\n font-weight: 600;\n\n line-height: 1.4444444\n}\n\n.tiptap h4,\n.editor-content-typography h4 {\n\n margin-top: 0px;\n\n font-size: 1.1em;\n\n font-weight: 600;\n\n line-height: 1.4444444\n}\n\n.tiptap p,\n.editor-content-typography p {\n\n margin-top: 0px;\n\n line-height: 1.45;\n\n --tw-text-opacity: 1;\n\n color: rgb(71 85 105 / var(--tw-text-opacity, 1))\n}\n\n.tiptap ul,\n.tiptap ol,\n.editor-content-typography ul,\n.editor-content-typography ol {\n\n margin-top: 0px;\n\n padding-left: 1.625em\n}\n\n.tiptap ul,\n.editor-content-typography ul {\n\n list-style-type: disc\n}\n\n.tiptap ol,\n.editor-content-typography ol {\n\n list-style-type: decimal\n}\n\n.tiptap li,\n.editor-content-typography li {\n\n margin-top: 0.2em;\n\n line-height: 1.45;\n\n --tw-text-opacity: 1;\n\n color: rgb(71 85 105 / var(--tw-text-opacity, 1))\n}\n\n.tiptap blockquote,\n.editor-content-typography blockquote {\n\n margin-bottom: 1rem;\n\n margin-top: 0px;\n\n border-left-width: 3px;\n\n --tw-border-opacity: 1;\n\n border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));\n\n padding-left: 0.875rem;\n\n font-style: italic;\n\n line-height: 1.45;\n\n --tw-text-opacity: 1;\n\n color: rgb(100 116 139 / var(--tw-text-opacity, 1))\n}\n\n.tiptap blockquote p,\n.editor-content-typography blockquote p {\n\n margin-bottom: 0px;\n\n color: inherit\n}\n\n.tiptap pre,\n.editor-content-typography pre {\n\n margin-bottom: 1rem;\n\n margin-top: 0px;\n\n white-space: pre-wrap;\n\n border-radius: 0.375rem;\n\n border-width: 1px;\n\n --tw-border-opacity: 1;\n\n border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));\n\n padding-left: 0.75rem;\n\n padding-right: 0.75rem;\n\n padding-top: 0.5rem;\n\n padding-bottom: 0.5rem;\n\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n\n font-size: 0.875em;\n\n line-height: 1.5;\n\n --tw-text-opacity: 1;\n\n color: rgb(51 65 85 / var(--tw-text-opacity, 1))\n}\n\n.tiptap pre code,\n.editor-content-typography pre code {\n\n background-color: transparent;\n\n padding: 0px;\n\n color: inherit\n}\n\n.tiptap code:not(pre code),\n.editor-content-typography code:not(pre code) {\n\n border-radius: 0.25rem;\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));\n\n padding-left: 0.25rem;\n\n padding-right: 0.25rem;\n\n padding-top: 0.125rem;\n\n padding-bottom: 0.125rem;\n\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n\n font-size: 0.875em;\n\n --tw-text-opacity: 1;\n\n color: rgb(51 65 85 / var(--tw-text-opacity, 1))\n}\n\n.tiptap a,\n.editor-content-typography a {\n\n color: var(--color-primary-600);\n\n text-decoration-line: none\n}\n\n.tiptap a:hover,\n.editor-content-typography a:hover {\n\n text-decoration-line: underline\n}\n\n.tiptap > *:last-child,\n.editor-content-typography *:last-child {\n\n margin-bottom: 0px\n}',"@media print {\n.pricing-item-heading[data-v-24491e06] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n.pricing-item-block[data-v-24491e06] {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n page-break-inside: avoid;\n}\n}","@media print {\n.section-label[data-v-2ae5b045] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n}",".conditions-with-context-menu[data-v-48a7a4db] {\n padding-right: 3rem;\n}","@media print {\n[data-v-8abb6425] .card-surface {\n box-shadow: none !important;\n border-color: #e5e7eb !important;\n}\n}","@media print {\n.category-heading[data-v-28988ce7] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n[data-v-28988ce7] .collapsible-card-print-root .card-header-print-root {\n border-bottom-width: 0;\n}\n}","@media print {\n.tiered-rule-header[data-v-2d2501dc] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n.tiered-table-print-wrapper[data-v-2d2501dc] {\n -moz-column-break-inside: auto;\n break-inside: auto;\n page-break-inside: auto;\n}\n.tiered-table-print thead[data-v-2d2501dc] {\n display: table-header-group;\n}\n.tiered-table-print-row[data-v-2d2501dc] {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n page-break-inside: avoid;\n}\n}","@media print {\n.card-print-avoid[data-v-561cca98] {\n break-inside: avoid-page;\n page-break-inside: avoid;\n}\n}","@media print {\n.card-header-print-root[data-v-fd2a04c5] {\n -moz-column-break-after: avoid;\n break-after: avoid-page;\n page-break-after: avoid;\n}\n}","@media print {\n.collapsible-card-print-root[data-v-af6dc6e1],\n .collapsible-card-print-content[data-v-af6dc6e1] {\n -moz-column-break-inside: auto;\n break-inside: auto;\n page-break-inside: auto;\n}\n.collapsible-card-print-content[data-v-af6dc6e1] {\n display: block !important;\n}\n}",".collapsible-list-item-content[data-v-333bc619] {\n content-visibility: auto;\n}\n@media print {\n.collapsible-list-item-content[data-v-333bc619] {\n content-visibility: visible;\n display: block !important;\n}\n}","/* to right */\n.to-right-enter-active[data-v-c0f85806],\n.to-right-leave-to[data-v-c0f85806] {\n opacity: 0;\n transform: translateX(-10px);\n}\n.to-right-leave[data-v-c0f85806],\n.to-right-enter-to[data-v-c0f85806] {\n opacity: 1;\n transform: translateX(0);\n}\n.to-right-enter-active[data-v-c0f85806],\n.to-right-leave-active[data-v-c0f85806] {\n transition: all 250ms;\n}\n\n/* to left */\n.to-left-enter-active[data-v-c0f85806],\n.to-left-leave-to[data-v-c0f85806] {\n opacity: 0;\n transform: translateX(10px);\n}\n.to-left-leave[data-v-c0f85806],\n.to-left-enter-to[data-v-c0f85806] {\n opacity: 1;\n transform: translateX(0);\n}\n.to-left-enter-active[data-v-c0f85806],\n.to-left-leave-active[data-v-c0f85806] {\n transition: all 250ms;\n}\n\n/* to top */\n.to-top-enter-active[data-v-c0f85806],\n.to-top-leave-to[data-v-c0f85806] {\n opacity: 0;\n transform: translateY(10px);\n}\n.to-top-leave[data-v-c0f85806],\n.to-top-enter-to[data-v-c0f85806] {\n opacity: 1;\n transform: translateY(0);\n}\n.to-top-enter-active[data-v-c0f85806],\n.to-top-leave-active[data-v-c0f85806] {\n transition: all 250ms;\n}\n\n/* to bottom */\n.to-bottom-enter-active[data-v-c0f85806],\n.to-bottom-leave-to[data-v-c0f85806] {\n opacity: 0;\n transform: translateY(-10px);\n}\n.to-bottom-leave[data-v-c0f85806],\n.to-bottom-enter-to[data-v-c0f85806] {\n opacity: 1;\n transform: translateY(0);\n}\n.to-bottom-enter-active[data-v-c0f85806],\n.to-bottom-leave-active[data-v-c0f85806] {\n transition: all 250ms;\n}","[data-v-19945196] .tiptap .is-empty::before {\n content: attr(data-placeholder);\n float: left;\n height: 0;\n pointer-events: none;\n}\n[data-v-19945196] .tiptap .is-empty::before {\n font-weight: 400;\n font-style: italic;\n --tw-text-opacity: 1;\n color: rgb(148 163 184 / var(--tw-text-opacity, 1));\n}",".modal-enter-active[data-v-f0379c5c] {\n transition: opacity 250ms ease-out;\n}\n.modal-leave-active[data-v-f0379c5c] {\n transition: opacity 200ms ease-in;\n}\n.modal-enter-from[data-v-f0379c5c],\n.modal-leave-to[data-v-f0379c5c] {\n opacity: 0;\n}\n.modal-enter-active .modal-panel[data-v-f0379c5c] {\n transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n.modal-leave-active .modal-panel[data-v-f0379c5c] {\n transition: transform 200ms ease-in;\n}\n.modal-enter-from .modal-panel[data-v-f0379c5c],\n.modal-leave-to .modal-panel[data-v-f0379c5c] {\n transform: translateY(1rem);\n}\n@media (prefers-reduced-motion: reduce) {\n.modal-enter-active .modal-panel[data-v-f0379c5c],\n .modal-leave-active .modal-panel[data-v-f0379c5c] {\n transition: none;\n}\n.modal-enter-from .modal-panel[data-v-f0379c5c],\n .modal-leave-to .modal-panel[data-v-f0379c5c] {\n transform: none;\n}\n}",".animated-gradient[data-v-f1f0dadf] {\n background: repeating-linear-gradient(\n to right,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 0.75) 50%,\n rgba(255, 255, 255, 0) 100%\n );\n width: 100%;\n background-size: 200% auto;\n background-position: 0 100%;\n animation: gradient-f1f0dadf 2s infinite;\n animation-fill-mode: forwards;\n animation-timing-function: linear;\n}\n@keyframes gradient-f1f0dadf {\n0% {\n background-position: 0 0;\n}\n100% {\n background-position: -200% 0;\n}\n}","thead th:first-of-type,\ntr td:first-of-type {\n position: sticky;\n left: 0;\n background: inherit;\n z-index: 2;\n}\nthead th:last-of-type,\ntr td:last-of-type {\n position: sticky;\n right: 0;\n background: inherit;\n z-index: 2;\n}",".slide-left-enter-active[data-v-1a3d5742],\n.slide-left-leave-active[data-v-1a3d5742] {\n transition: all 0.5s ease;\n}\n.slide-left-enter-from[data-v-1a3d5742],\n.slide-left-leave-to[data-v-1a3d5742] {\n opacity: 0;\n transform: translateX(30px);\n}\n.slide-right-enter-active[data-v-1a3d5742],\n.slide-right-leave-active[data-v-1a3d5742] {\n transition: all 0.5s ease;\n}\n.slide-right-enter-from[data-v-1a3d5742],\n.slide-right-leave-to[data-v-1a3d5742] {\n opacity: 0;\n transform: translateX(-30px);\n}\n.slide-top-enter-active[data-v-1a3d5742],\n.slide-top-leave-active[data-v-1a3d5742] {\n transition: all 0.5s ease;\n}\n.slide-top-enter-from[data-v-1a3d5742],\n.slide-top-leave-to[data-v-1a3d5742] {\n opacity: 0;\n transform: translateY(30px);\n}\n.slide-bottom-enter-active[data-v-1a3d5742],\n.slide-bottom-leave-active[data-v-1a3d5742] {\n transition: all 0.5s ease;\n}\n.slide-bottom-enter-from[data-v-1a3d5742],\n.slide-bottom-leave-to[data-v-1a3d5742] {\n opacity: 0;\n transform: translateY(-30px);\n}\n.fade-enter-active[data-v-1a3d5742],\n.fade-leave-active[data-v-1a3d5742] {\n transition: all 0.5s ease;\n}\n.fade-enter-from[data-v-1a3d5742],\n.fade-leave-to[data-v-1a3d5742] {\n opacity: 0;\n}",".expand {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows 300ms ease-in-out;\n}\n\n.expand--open {\n grid-template-rows: 1fr;\n}\n\n.expand__inner {\n overflow: hidden;\n min-height: 0;\n}\n\n@media print {\n .expand {\n grid-template-rows: 1fr;\n }\n\n .expand__inner {\n overflow: visible;\n }\n}","/* Base - transparent background so track styles show through */\ninput[type='range'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%;\n background: transparent;\n margin: 0.5rem 0;\n}\n\n/* Thumb - white with explicit border (required for Firefox) */\ninput[type='range']::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n -webkit-transition: all 0.1s ease-in-out;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']::-moz-range-thumb {\n -moz-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n -moz-transition: all 0.1s ease-in-out;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']:not(:disabled):hover::-webkit-slider-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):hover::-moz-range-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-webkit-slider-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-moz-range-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\n/* Track - WebKit */\ninput[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-webkit-slider-runnable-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Track - Mozilla */\ninput[type='range']::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-moz-range-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Size: sm */\ninput[type='range'].range-sm::-webkit-slider-thumb {\n width: 0.8rem;\n height: 0.8rem;\n margin-top: -0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-thumb {\n width: 0.8rem;\n height: 0.8rem;\n}\n\ninput[type='range'].range-sm::-webkit-slider-runnable-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\n/* Size: md */\ninput[type='range'].range-md::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n}\n\ninput[type='range'].range-md::-webkit-slider-runnable-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\n/* Size: lg */\ninput[type='range'].range-lg::-webkit-slider-thumb {\n width: 1.4rem;\n height: 1.4rem;\n margin-top: -0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-thumb {\n width: 1.4rem;\n height: 1.4rem;\n}\n\ninput[type='range'].range-lg::-webkit-slider-runnable-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\n/* Size: xl */\ninput[type='range'].range-xl::-webkit-slider-thumb {\n width: 1.8rem;\n height: 1.8rem;\n margin-top: -0.5rem;\n}\n\ninput[type='range'].range-xl::-moz-range-thumb {\n width: 1.8rem;\n height: 1.8rem;\n}\n\ninput[type='range'].range-xl::-webkit-slider-runnable-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\ninput[type='range'].range-xl::-moz-range-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}",".expand {\n display: grid;\n grid-template-rows: 0fr;\n transition: grid-template-rows 300ms ease-in-out;\n}\n\n.expand--open {\n grid-template-rows: 1fr;\n}\n\n.expand__inner {\n overflow: hidden;\n min-height: 0;\n}\n\n@media print {\n .expand {\n grid-template-rows: 1fr;\n }\n\n .expand__inner {\n overflow: visible;\n }\n}\n\n@media print {\n.card-print-avoid[data-v-561cca98] {\n break-inside: avoid-page;\n page-break-inside: avoid;\n}\n}\n\n@media print {\n.card-header-print-root[data-v-fd2a04c5] {\n -moz-column-break-after: avoid;\n break-after: avoid-page;\n page-break-after: avoid;\n}\n}\n\n@media print {\n.collapsible-card-print-root[data-v-af6dc6e1],\n .collapsible-card-print-content[data-v-af6dc6e1] {\n -moz-column-break-inside: auto;\n break-inside: auto;\n page-break-inside: auto;\n}\n.collapsible-card-print-content[data-v-af6dc6e1] {\n display: block !important;\n}\n}\n\n@media print {\n.tiered-rule-header[data-v-2d2501dc] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n.tiered-table-print-wrapper[data-v-2d2501dc] {\n -moz-column-break-inside: auto;\n break-inside: auto;\n page-break-inside: auto;\n}\n.tiered-table-print thead[data-v-2d2501dc] {\n display: table-header-group;\n}\n.tiered-table-print-row[data-v-2d2501dc] {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n page-break-inside: avoid;\n}\n}\n\n.conditions-with-context-menu[data-v-48a7a4db] {\n padding-right: 3rem;\n}\n\n@media print {\n.pricing-item-heading[data-v-24491e06] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n.pricing-item-block[data-v-24491e06] {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n page-break-inside: avoid;\n}\n}\n\n@media print {\n.section-label[data-v-2ae5b045] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n}\n/* Base - transparent background so track styles show through */\ninput[type='range'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: 100%;\n background: transparent;\n margin: 0.5rem 0;\n}\n\n/* Thumb - white with explicit border (required for Firefox) */\ninput[type='range']::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n -webkit-transition: all 0.1s ease-in-out;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']::-moz-range-thumb {\n -moz-appearance: none;\n appearance: none;\n width: 1rem;\n height: 1rem;\n border: 2px solid rgb(229 231 235);\n border-radius: 50%;\n background: #ffffff;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);\n cursor: pointer;\n -moz-transition: all 0.1s ease-in-out;\n transition: all 0.1s ease-in-out;\n}\n\ninput[type='range']:disabled::-moz-range-thumb {\n cursor: not-allowed;\n}\n\ninput[type='range']:not(:disabled):hover::-webkit-slider-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):hover::-moz-range-thumb {\n box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-webkit-slider-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\ninput[type='range']:not(:disabled):active::-moz-range-thumb {\n box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);\n}\n\n/* Track - WebKit */\ninput[type='range']::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-webkit-slider-runnable-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Track - Mozilla */\ninput[type='range']::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n cursor: pointer;\n background: linear-gradient(\n to right,\n var(--color-primary-600) var(--range-percentage, 0%),\n #e0e5eb var(--range-percentage, 0%)\n );\n border-radius: 0.25rem;\n}\n\ninput[type='range']:disabled::-moz-range-track {\n background: #e0e5eb;\n cursor: not-allowed;\n}\n\n/* Size: sm */\ninput[type='range'].range-sm::-webkit-slider-thumb {\n width: 0.8rem;\n height: 0.8rem;\n margin-top: -0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-thumb {\n width: 0.8rem;\n height: 0.8rem;\n}\n\ninput[type='range'].range-sm::-webkit-slider-runnable-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\ninput[type='range'].range-sm::-moz-range-track {\n height: 0.4rem;\n border-radius: 0.2rem;\n}\n\n/* Size: md */\ninput[type='range'].range-md::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n}\n\ninput[type='range'].range-md::-webkit-slider-runnable-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\ninput[type='range'].range-md::-moz-range-track {\n height: 0.5rem;\n border-radius: 0.25rem;\n}\n\n/* Size: lg */\ninput[type='range'].range-lg::-webkit-slider-thumb {\n width: 1.4rem;\n height: 1.4rem;\n margin-top: -0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-thumb {\n width: 1.4rem;\n height: 1.4rem;\n}\n\ninput[type='range'].range-lg::-webkit-slider-runnable-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\ninput[type='range'].range-lg::-moz-range-track {\n height: 0.7rem;\n border-radius: 0.35rem;\n}\n\n/* Size: xl */\ninput[type='range'].range-xl::-webkit-slider-thumb {\n width: 1.8rem;\n height: 1.8rem;\n margin-top: -0.5rem;\n}\n\ninput[type='range'].range-xl::-moz-range-thumb {\n width: 1.8rem;\n height: 1.8rem;\n}\n\ninput[type='range'].range-xl::-webkit-slider-runnable-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\ninput[type='range'].range-xl::-moz-range-track {\n height: 0.9rem;\n border-radius: 0.45rem;\n}\n\n@media print {\n.category-heading[data-v-28988ce7] {\n -moz-column-break-after: avoid;\n break-after: avoid;\n page-break-after: avoid;\n}\n[data-v-28988ce7] .collapsible-card-print-root .card-header-print-root {\n border-bottom-width: 0;\n}\n}\n\n.collapsible-list-item-content[data-v-333bc619] {\n content-visibility: auto;\n}\n@media print {\n.collapsible-list-item-content[data-v-333bc619] {\n content-visibility: visible;\n display: block !important;\n}\n}\n\n@media print {\n[data-v-8abb6425] .card-surface {\n box-shadow: none !important;\n border-color: #e5e7eb !important;\n}\n}"],exports.convertDateRangeToTimePeriod=Hi,exports.downloadFile=(e,t)=>{const n=window.URL.createObjectURL(e);ti(n,t)},exports.enUS=db,exports.formatAmount=Gl,exports.formatBillingPeriod=Ql,exports.formatEnum=jl,exports.formatWalletBalanceValue=Gi,exports.getApiError=function(e){return"field"in e&&e.field?{[e.field]:e.message}:"message"in e?{_generic:e.message}:void 0},exports.getCountryNameByCode=Ii,exports.getCustomerCountry=e=>{var t,n;return Ti(e)?null==(t=e.individual.residential_address)?void 0:t.country:Ni(e)?null==(n=e.organization.registered_address)?void 0:n.country:void 0},exports.getCustomerName=Ai,exports.getPaginatedFullList=async e=>{let t=!0,n=1,o=[],a={data:[],links:{current:"",next:void 0},page:n,limit:50};for(;t;)a=await e(n),o=[...o,...a.data],t=!!a.links.next,n+=1;return{...a,data:o}},exports.hasOneOfPricingTypes=mi,exports.isApiSuccessCollectionResponse=function(e){return"data"in e&&"links"in e},exports.isEUCountry=function(e){return Object.keys(ji).includes(e)},exports.isEmpty=n,exports.isEqual=a,exports.isFlexiblePricing=gi,exports.isIndividual=Ti,exports.isOrganization=Ni,exports.isValidCountryCode=function(e){return!!ei.find(t=>t.key===e)},exports.nlNL=ub,exports.objectDiff=({from:e,to:t,mode:n="shallow",nullifyEmptyValues:a=!1})=>"deep"===n?(({from:e,to:t,nullifyEmptyValues:n=!1})=>{const a={},l=(e,t,n)=>{const o=t[n];return void 0===e?Array.isArray(o)?a[n]=[]:Di(o)&&(a[n]={}):Array.isArray(o)?e[n]=[]:Di(o)&&(e[n]={}),[void 0===e?a:e,n]},i=(e,t,a)=>{for(const n of Object.keys(e)){const o=l(a,e,n);n in t||(o[0][o[1]]={from:e[n]})}for(const[r,c]of Object.entries(t)){const t=r in e,s=l(a,e,r);if(t){const t=e[r];o(t,c)?delete s[0][s[1]]:Di(c)&&Di(t)?i(t,c,s[0][s[1]]):s[0][s[1]]=n&&"boolean"!=typeof c?Pi(c):c}else s[0][s[1]]=n?Pi(c):c}};return i(e,t),a})({from:e,to:t,nullifyEmptyValues:a}):(({from:e,to:t,nullifyEmptyValues:n=!1})=>{const a=Object.fromEntries(Object.entries(t).filter(([t,n])=>!o(n,e[t])));return n?Object.entries(a).reduce((e,[t,n])=>({...e,[t]:Pi(n)}),{}):a})({from:e,to:t,nullifyEmptyValues:a}),exports.serializeQueryParams=function(e){const t=function(e){const t=new URLSearchParams;for(const n in e){const o=e[n];null!==o&&(Array.isArray(o)?o.forEach(e=>t.append(`${n}[]`,e)):""!==o&&t.append(n,o))}return t.toString()}(e);return""===t?"":`?${t}`},exports.taxId=Fg,exports.uniqueId=Ki,exports.useErrorHandling=Bn,exports.useIntl=Xa,exports.usePricingItem=Kl,exports.useTimePeriod=Hl,exports.useToggleList=bl,exports.useValidation=function(e,t,n){return e&&t?Ol(e,t,{$autoDirty:!0,...n}):Ol({$autoDirty:!0,...e})},exports.withExpand=function({initialParams:e={},expandParams:t,expand:n=!0}){return n?{...e,expand:t}:e},exports.withPagination=function(e,{page:t=1,pageSize:n,orderBy:o,orderDirection:a}){const l={...e??{},page:t.toString()};return n&&Object.assign(l,{limit:n}),o&&Object.assign(l,{order_by:o}),a&&Object.assign(l,{order_direction:a}),l};