@solvimon/solvimon-web 0.1.0-alpha.7 → 0.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApiStatus-CyNDp_op.mjs +9 -0
- package/dist/ApiStatus-oqvUEWJx.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C-C0i6i6.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CupcH8TZ.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-CT0Tjsnw.mjs} +2 -4
- package/dist/{ContentWithAsideLayout-Ct24RV-2.mjs → ContentWithAsideLayout-BTdixy3L.mjs} +2 -11
- package/dist/ContentWithAsideLayout-oAYVrLvL.js +1 -0
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZJ0xukI.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CK73bYUe.mjs} +2 -5
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CLU7Yiyx.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B_WLgBur.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DsrBsrtk.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dt_Vb7Wz.mjs} +1 -2
- package/dist/PaymentHistoryBlock-DHM-3fh-.js +1 -0
- package/dist/PaymentHistoryBlock-YzJ6bxKr.mjs +4 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BnKwmJ2s.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D6Cr2Uga.mjs} +1 -5
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DFw8lrDv.js +1 -0
- package/dist/PaymentIntegrationForm-Cl5ua8v8.js +1 -0
- package/dist/PaymentIntegrationForm-ID4QnvA3.mjs +4 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BE1lWOk9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CVWPT3Ni.mjs} +32 -189
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DifRn1ok.js +1 -0
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CKNMt-JH.js +1 -0
- package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-BbvDXvIS.mjs → PricingGroupContent.vue_vue_type_script_setup_true_lang-CzS32ZUt.mjs} +5 -31
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DVhJy0t8.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BIxGqr9U.mjs} +4 -7
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CpEqDnO3.js +1 -0
- package/dist/adyenLoader-CEH4A2b2.js +1 -0
- package/dist/adyenLoader-gsbzSjYV.mjs +177 -0
- package/dist/component-C2Gc-wsE.js +1 -0
- package/dist/component-CM9g6tbD.mjs +804 -0
- package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +3 -7
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +9 -17
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +3 -7
- package/dist/components/Invoice/Invoice.cjs.js +1 -1
- package/dist/components/Invoice/Invoice.es.js +42 -2659
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -7
- package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +2 -6
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -7
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +7 -33
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +8 -4824
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +4 -8
- package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +3 -7
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/core/types.d.ts +2 -0
- package/dist/{customer-CcQR-JIm.js → customer-C_Hz_npf.js} +1 -1
- package/dist/{customer-CJrpbGX4.mjs → customer-TIi7iZFw.mjs} +1 -1
- package/dist/en-US-CBoPxQwX.mjs +199 -0
- package/dist/en-US-DJq-9dD8.js +1 -0
- package/dist/index-CzL1ZcGi.mjs +85 -0
- package/dist/index-DRdBmZ2-.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +4 -1
- package/dist/{invoices-CNK1Ushv.mjs → invoices-BuVOuTOm.mjs} +2 -15
- package/dist/invoices-DbvwXAsm.js +1 -0
- package/dist/nl-NL-BB7KbK-h.mjs +181 -0
- package/dist/nl-NL-CtU1Lg2F.js +1 -0
- package/dist/paymentMethods-B4AYGf0K.js +1 -0
- package/dist/{paymentMethods-C-ApE-G4.mjs → paymentMethods-Di32oJ39.mjs} +2 -2
- package/dist/{payments-CE9U7aKK.mjs → payments-C5fD1PXB.mjs} +1 -1
- package/dist/{payments-CLt0SExf.js → payments-DeutKq9x.js} +1 -1
- package/dist/{registry-B99ZnfEn.mjs → registry-BLwMl1bK.mjs} +6 -4
- package/dist/registry-CMSmkLcy.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +420 -2388
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +13 -14
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +3 -0
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -0
- package/dist/screens/PayInvoice/PayInvoice.es.js +456 -0
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +79 -61
- package/dist/solvimon-web.css +1 -1
- package/dist/source-DKDKBlUm.mjs +179 -0
- package/dist/source-dkMNFWDc.js +1 -0
- package/dist/{subscriptions-CoeCrY1I.mjs → subscriptions-mOgjjzUi.mjs} +2 -2
- package/dist/subscriptions-wdMADcQZ.js +1 -0
- package/dist/{useActionDispatchProvider-eO2qFPGv.mjs → useActionDispatchProvider-B4gszz0Q.mjs} +1 -1
- package/dist/{useActionDispatchProvider-CWVV_xsi.js → useActionDispatchProvider-DfS2P0bd.js} +1 -1
- package/dist/{useCustomer-PthyTFLl.js → useCustomer-DanZzn-l.js} +1 -1
- package/dist/{useCustomer--jycAz--.mjs → useCustomer-cbhDyWJL.mjs} +2 -2
- package/dist/useIncrementalLoading-DFe5Yh8M.js +1 -0
- package/dist/{useIncrementalLoading-CcnL3flF.mjs → useIncrementalLoading-RRicokf1.mjs} +3 -8
- package/dist/useInvoiceData-CxxHa5R2.js +1 -0
- package/dist/{useInvoiceData-BiMMoVoW.mjs → useInvoiceData-fS6G_244.mjs} +6 -12
- package/dist/{useInvoicesList-DFhF_gp7.mjs → useInvoicesList-BQQxcPdz.mjs} +23 -260
- package/dist/useInvoicesList-CtJqmblZ.js +1 -0
- package/dist/usePaymentMethodOptions-2MloZ9bY.mjs +26 -0
- package/dist/usePaymentMethodOptions-D01YWW3G.js +1 -0
- package/dist/{usePaymentMethods-BRQ7-dUr.js → usePaymentMethods-Cm9WdSW0.js} +1 -1
- package/dist/{usePaymentMethods-BX2RnHZN.mjs → usePaymentMethods-DZvfWSlx.mjs} +2 -2
- package/dist/usePayments-B13S_yai.js +1 -0
- package/dist/usePayments-D4uGKBsV.mjs +36 -0
- package/dist/usePortal-DJDJNLbo.mjs +12 -0
- package/dist/usePortal-DWJEVkTj.js +1 -0
- package/dist/useService-9fCKPTmu.js +1 -0
- package/dist/useService-BuWWE5ND.mjs +68 -0
- package/dist/useViewport-Bu0cyeSi.mjs +38 -0
- package/dist/useViewport-CKRY1CKR.js +1 -0
- package/dist/useWalletBalanceItems-B53Gkjro.mjs +106 -0
- package/dist/useWalletBalanceItems-BMaVT4TW.js +1 -0
- package/dist/useWatchDebounced-2ZLnfgvG.js +1 -0
- package/dist/useWatchDebounced-D1xuIX6_.mjs +12 -0
- package/dist/vendor-ui-BwxuPDg8.mjs +28598 -0
- package/dist/vendor-ui-Ce_Yp7xA.js +1 -0
- package/package.json +17 -10
- package/dist/Alert.vue.es-DMPvSykx.js +0 -1
- package/dist/Alert.vue.es-DsJ1ckRU.mjs +0 -172
- package/dist/Amount.vue.es-C6JE5rL8.mjs +0 -23
- package/dist/Amount.vue.es-h8wulbBG.js +0 -1
- package/dist/Avatar.vue.es-Ba8ZGfm4.mjs +0 -93
- package/dist/Avatar.vue.es-BbyE0AjW.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C4Ndo83E.js +0 -1
- package/dist/Button.vue.es-6sBk5tBL.mjs +0 -408
- package/dist/Button.vue.es-BC4_TItq.js +0 -1
- package/dist/CardContent.vue.es-ChEMrFCc.mjs +0 -115
- package/dist/CardContent.vue.es-i9ivuGKG.js +0 -1
- package/dist/Chip.vue.es-D0fkSe8a.js +0 -1
- package/dist/Chip.vue.es-DcW2CjUA.mjs +0 -1576
- package/dist/Comparators.vue.es-BdxDqU8o.js +0 -1
- package/dist/Comparators.vue.es-DdTKGB80.mjs +0 -406
- package/dist/ContentWithAsideLayout-UHovpjZu.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-9rP7-RzN.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-DBMl01Es.mjs +0 -175
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CYTCcMgP.js +0 -1
- package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
- package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
- package/dist/DividerText.vue.es-B7oa5Xpn.mjs +0 -72
- package/dist/DividerText.vue.es-yiFdPQvo.js +0 -1
- package/dist/ErrorNotification.vue.es-Bgw0MIl8.mjs +0 -30
- package/dist/ErrorNotification.vue.es-FpRyg0De.js +0 -1
- package/dist/FormMessage.vue.es-DFQXxiSC.mjs +0 -46
- package/dist/FormMessage.vue.es-LeWoj774.js +0 -1
- package/dist/IconButton.vue.es-DNCwwH_j.mjs +0 -825
- package/dist/IconButton.vue.es-DiSiGPWO.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BDitcx8B.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-6yi47YWd.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CC3hm3nx.js +0 -1
- package/dist/PaymentMethod.vue.es-DYlnmZh7.js +0 -1
- package/dist/PaymentMethod.vue.es-nXZoQjG3.mjs +0 -1255
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CmQILA3q.js +0 -1
- package/dist/Section.vue.es-3-H1pUTB.mjs +0 -79
- package/dist/Section.vue.es-BuzTXRLP.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Pq3d7DTb.js +0 -1
- package/dist/TooltipParagraph.vue.es-DVJLF9Kv.mjs +0 -136
- package/dist/TooltipParagraph.vue.es-kTbRGoPF.js +0 -1
- package/dist/TrialChip.vue.es-BHYbW8b6.mjs +0 -759
- package/dist/TrialChip.vue.es-C6Xg_5rR.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/_flatRest.es-BHFPCqZh.mjs +0 -642
- package/dist/_flatRest.es-dFffnTpX.js +0 -1
- package/dist/api.es-B4qAAJKr.js +0 -1
- package/dist/api.es-UkfpLiLL.mjs +0 -83
- package/dist/cloneDeep-Hs8Pp07F.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/cn.es-C7xoIs3C.js +0 -1
- package/dist/cn.es-tfxVlz02.mjs +0 -3191
- package/dist/component-ZRZIt3ZW.js +0 -1
- package/dist/component-dpA83LIN.mjs +0 -6569
- package/dist/countryData.es--zJAd6LA.mjs +0 -252
- package/dist/countryData.es-D3MFzU92.js +0 -1
- package/dist/customer.es-D42Md24r.js +0 -1
- package/dist/customer.es-LIW2YmLL.mjs +0 -30
- package/dist/formatting.es-9hM8aHSg.js +0 -1
- package/dist/formatting.es-D5H_ySFv.mjs +0 -68
- package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CI71bVGE.mjs +0 -2521
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-WLSPwi90.js +0 -1
- package/dist/index.es-BBJF2O2l.js +0 -1
- package/dist/index.es-LCAKs4tH.mjs +0 -438
- package/dist/invoices-3kVHsAXr.js +0 -1
- package/dist/isEmpty.es-Bp1SbWFu.mjs +0 -131
- package/dist/isEmpty.es-Dycf-CD_.js +0 -1
- package/dist/paymentMethods-DZRf0WRl.js +0 -1
- package/dist/pick.es-BgDAfhAl.js +0 -1
- package/dist/pick.es-DdVOyp0Q.mjs +0 -45
- package/dist/registry-ClZ43bQn.js +0 -1
- package/dist/sprite.svg.es-CCc3Mz1x.js +0 -1
- package/dist/sprite.svg.es-DZD704h3.mjs +0 -4
- package/dist/subscriptions-CS8HTxzC.js +0 -1
- package/dist/typeGuards.es-C4nR5FkL.js +0 -1
- package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
- package/dist/useIncrementalLoading-CAdNW-Bf.js +0 -1
- package/dist/useInvoiceData-DvQO_nKz.js +0 -1
- package/dist/useInvoicesList-CHkwSNO9.js +0 -1
- package/dist/useService-B67YWAcN.js +0 -1
- package/dist/useService-DG_zedHV.mjs +0 -282
- package/dist/useWalletBalanceItems-B5FMmoU2.mjs +0 -308
- package/dist/useWalletBalanceItems-BY3gq0fc.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),t=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"}},o=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(o,{expose:n}){const l=o,a=e.computed(()=>t(l)),r=e.computed(()=>(e=>{switch(e.variant){case"heading-1":return"text-2xl";case"heading-2":case"body-lg":return"text-lg";case"heading-3":return"text-md";case"body-xs":return"text-xs";case"body-sm":return"text-sm";case"caps-heading":return"inline-block text-2xs uppercase font-bold";case"label":return"block text-sm font-medium";default:return""}})(l)),i=e.computed(()=>(e=>{if(e.noSpacing)return"";if("p"===t(e))switch(e.variant){case"body-sm":return"my-1";case"body":case"body-lg":return"my-2";default:return""}return""})(l)),c=e.computed(()=>(e=>{if(e.weight)switch(e.weight){case"bold":return"font-bold";case"semibold":return"font-semibold";default:return"font-normal"}return e.variant&&["heading-1","heading-2","heading-3"].includes(e.variant)?"font-semibold":""})(l)),s=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"}})(l)),d=e.computed(()=>l.center?"text-center":""),u=e.ref(null);return n({el:u}),(t,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),e.mergeProps(t.$attrs,{id:o.id,ref_key:"el",ref:u,class:[r.value,i.value,d.value,c.value,s.value,o.mono?"font-mono":void 0].join(" ")}),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["id","class"]))}}),n={class:"flex gap-4 items-center"},l={key:1},a=e.defineComponent({__name:"SectionTitle",setup:t=>(t,a)=>(e.openBlock(),e.createElementBlock("div",n,[t.$slots.default?(e.openBlock(),e.createBlock(e.unref(o),{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",l,[e.renderSlot(t.$slots,"right")])):e.createCommentVNode("",!0)]))}),r=e.defineComponent({__name:"Section",props:{contentClasses:{},contentBackground:{default:"gray"},title:{},noSpacing:{type:Boolean},hasError:{type:Boolean},noBorder:{type:Boolean,default:!1}},setup:t=>(o,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.title?"section":"div"),null,{default:e.withCtx(()=>[e.createVNode(a,null,e.createSlots({_:2},[t.title?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),key:"0"}:void 0,o.$slots.right?{name:"right",fn:e.withCtx(()=>[e.renderSlot(o.$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(o.$slots,"default")],2)]),_:3}))}),i=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");var c="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,d=c||s||Function("return this")(),u=d.Symbol;function p(e,t){for(var o=-1,n=null==e?0:e.length,l=Array(n);++o<n;)l[o]=t(e[o],o,e);return l}var m=Array.isArray,f=Object.prototype,h=f.hasOwnProperty,v=f.toString,g=u?u.toStringTag:void 0;var y=Object.prototype.toString;var b=u?u.toStringTag:void 0;function x(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":b&&b in Object(e)?function(e){var t=h.call(e,g),o=e[g];try{e[g]=void 0;var n=!0}catch(a){}var l=v.call(e);return n&&(t?e[g]=o:delete e[g]),l}(e):function(e){return y.call(e)}(e)}function k(e){return null!=e&&"object"==typeof e}function _(e){return"symbol"==typeof e||k(e)&&"[object Symbol]"==x(e)}var w=u?u.prototype:void 0,B=w?w.toString:void 0;function C(e){if("string"==typeof e)return e;if(m(e))return p(e,C)+"";if(_(e))return B?B.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function E(e){return null==e?"":C(e)}var N=/[\\^$.*+?()[\]{}|]/g,T=RegExp(N.source);var M=Object.prototype;function V(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||M)}function S(e,t){return function(o){return e(t(o))}}var z=S(Object.keys,Object),P=Object.prototype.hasOwnProperty;function q(e){if(!V(e))return z(e);var t=[];for(var o in Object(e))P.call(e,o)&&"constructor"!=o&&t.push(o);return t}function D(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function I(e){if(!D(e))return!1;var t=x(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var $,O=d["__core-js_shared__"],H=($=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"";var A=Function.prototype.toString;function L(e){if(null!=e){try{return A.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Z=/^\[object .+?Constructor\]$/,R=Function.prototype,F=Object.prototype,U=R.toString,j=F.hasOwnProperty,G=RegExp("^"+U.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Q(e){return!(!D(e)||(t=e,H&&H in t))&&(I(e)?G:Z).test(L(e));var t}function K(e,t){var o=function(e,t){return null==e?void 0:e[t]}(e,t);return Q(o)?o:void 0}var W=K(d,"DataView"),Y=K(d,"Map"),X=K(d,"Promise"),J=K(d,"Set"),ee=K(d,"WeakMap"),te="[object Map]",oe="[object Promise]",ne="[object Set]",le="[object WeakMap]",ae="[object DataView]",re=L(W),ie=L(Y),ce=L(X),se=L(J),de=L(ee),ue=x;(W&&ue(new W(new ArrayBuffer(1)))!=ae||Y&&ue(new Y)!=te||X&&ue(X.resolve())!=oe||J&&ue(new J)!=ne||ee&&ue(new ee)!=le)&&(ue=function(e){var t=x(e),o="[object Object]"==t?e.constructor:void 0,n=o?L(o):"";if(n)switch(n){case re:return ae;case ie:return te;case ce:return oe;case se:return ne;case de:return le}return t});function pe(e){return k(e)&&"[object Arguments]"==x(e)}var me=Object.prototype,fe=me.hasOwnProperty,he=me.propertyIsEnumerable,ve=pe(function(){return arguments}())?pe:function(e){return k(e)&&fe.call(e,"callee")&&!he.call(e,"callee")};function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function ye(e){return null!=e&&ge(e.length)&&!I(e)}var be="object"==typeof exports&&exports&&!exports.nodeType&&exports,xe=be&&"object"==typeof module&&module&&!module.nodeType&&module,ke=xe&&xe.exports===be?d.Buffer:void 0,_e=(ke?ke.isBuffer:void 0)||function(){return!1},we={};function Be(e){return function(t){return e(t)}}we["[object Float32Array]"]=we["[object Float64Array]"]=we["[object Int8Array]"]=we["[object Int16Array]"]=we["[object Int32Array]"]=we["[object Uint8Array]"]=we["[object Uint8ClampedArray]"]=we["[object Uint16Array]"]=we["[object Uint32Array]"]=!0,we["[object Arguments]"]=we["[object Array]"]=we["[object ArrayBuffer]"]=we["[object Boolean]"]=we["[object DataView]"]=we["[object Date]"]=we["[object Error]"]=we["[object Function]"]=we["[object Map]"]=we["[object Number]"]=we["[object Object]"]=we["[object RegExp]"]=we["[object Set]"]=we["[object String]"]=we["[object WeakMap]"]=!1;var Ce="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ee=Ce&&"object"==typeof module&&module&&!module.nodeType&&module,Ne=Ee&&Ee.exports===Ce&&c.process,Te=function(){try{var e=Ee&&Ee.require&&Ee.require("util").types;return e||Ne&&Ne.binding&&Ne.binding("util")}catch(t){}}(),Me=Te&&Te.isTypedArray,Ve=Me?Be(Me):function(e){return k(e)&&ge(e.length)&&!!we[x(e)]},Se=Object.prototype.hasOwnProperty;function ze(e){if(null==e)return!0;if(ye(e)&&(m(e)||"string"==typeof e||"function"==typeof e.splice||_e(e)||Ve(e)||ve(e)))return!e.length;var t=ue(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(V(e))return!q(e).length;for(var o in e)if(Se.call(e,o))return!1;return!0}const Pe=["innerHTML"],qe=e.defineComponent({__name:"TextWithHighlights",props:{text:{},search:{default:""},highlighClasses:{default:"text-primary-600 font-bold underline"}},setup(t){const o=t,n=e.computed(()=>{const e=i(o.text),t=[{type:"text",value:e}];if(""===o.search)return t;const n=new RegExp((l=E(l=o.search))&&T.test(l)?l.replace(N,"\\$&"):l,"gi");var l;const a=[...e.matchAll(n)];if(ze(a))return t;const r=[];return a.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+o.search.length)})),n>0&&n<a.length-1&&a[n-1].index&&(r.push({type:"text",value:e.substring(a[n-1].index??0+o.search.length,t.index)}),r.push({type:"highlight",value:e.substring(t.index,t.index+o.search.length)})),n===a.length-1&&t.index+o.search.length<e.length&&r.push({type:"text",value:e.substring(t.index+o.search.length,e.length)}))}),r});return(o,l)=>(e.openBlock(),e.createElementBlock("span",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,({type:o,value:n},l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},["text"===o?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:n},null,8,Pe)):e.createCommentVNode("",!0),"highlight"===o?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(t.highlighClasses)},e.toDisplayString(n),3)):e.createCommentVNode("",!0)],64))),128))]))}}),De=e.defineComponent({__name:"FormMessage",props:{message:{},variant:{default:"error"},capitalizeFirstLetter:{type:Boolean,default:!0}},setup(t){const o=t,n=e.computed(()=>{let e="text-xs";return"default"===o.variant&&(e+=" text-slate-400"),"error"===o.variant&&(e+=" text-red-600"),"warning"===o.variant&&(e+=" text-yellow-600"),o.capitalizeFirstLetter&&(e+=" first-letter:capitalize"),e});return(o,l)=>"object"!=typeof t.message||"value"in t.message?t.message||o.$slots.default?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(n.value)},[e.renderSlot(o.$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:o})=>(e.openBlock(),e.createElementBlock("p",{key:t,class:e.normalizeClass(n.value)},e.toDisplayString(o),3))),128))}}),Ie=e.defineComponent({__name:"FullClickableBlock",props:{tag:{default:"div"}},setup:t=>(o,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"relative"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}),$e=(e,t)=>{const o=e.__vccOpts||e;for(const[n,l]of t)o[n]=l;return o},Oe={class:"after:absolute after:inset-0 appearance-none"};const He=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("button",Oe,[e.renderSlot(t.$slots,"default")])}]]),Ae={key:0},Le={key:1},Ze=e.defineComponent({__name:"ListGroupItem",props:{disabled:{type:Boolean,default:!1},onClick:{},dataTestid:{},variant:{}},setup:t=>(n,l)=>(e.openBlock(),e.createBlock(e.unref(Ie),{tag:"li",class:e.normalizeClass(["w-full px-4 py-2 border-b border-gray-200 transition-colors",{block:!t.disabled&&t.onClick,"hover:bg-gray-50 hover:text-gray-900 focus-within:bg-gray-50 focus-within:text-gray-900":!t.disabled&&t.onClick&&"danger"!==t.variant,"hover:bg-red-50 text-red-700 focus-within:bg-red-50 focus-within:text-red-700":!t.disabled&&t.onClick&&"danger"===t.variant,"bg-gray-50 text-gray-400 cursor-not-allowed":t.disabled}]),onClick:l[1]||(l[1]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.onClick?e.unref(He):"span"),{class:"flex items-start w-full gap-2 focus:outline-none active:outline-none text-left",disabled:t.onClick?t.disabled:void 0,type:t.onClick?"button":void 0,"data-testid":t.dataTestid,onClick:l[0]||(l[0]=e=>{var o;return null==(o=t.onClick)?void 0:o.call(t)})},{default:e.withCtx(()=>[n.$slots.prefix?(e.openBlock(),e.createElementBlock("div",Ae,[e.renderSlot(n.$slots,"prefix")])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),n.$slots.suffix?(e.openBlock(),e.createElementBlock("div",Le,[e.renderSlot(n.$slots,"suffix")])):e.createCommentVNode("",!0)]),_:3},8,["disabled","type","data-testid"])),n.$slots.description?(e.openBlock(),e.createBlock(e.unref(o),{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"]))}),Re={class:"w-full h-full",xmlns:"http://www.w3.org/2000/svg",viewbox:"0 0 48 48"},Fe=["xlink:href"],Ue=e.defineComponent({__name:"Icon",props:{icon:{},size:{default:"sm"},variant:{default:"default"}},setup(t){const o={"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(n,l)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["inline-flex items-center justify-center leading-none align-middle icon",[o[t.size],{"rounded selection:drop-shadow-sm border bg-gray-50":"contained"===t.variant}]])},[(e.openBlock(),e.createElementBlock("svg",Re,[e.createElementVNode("use",{"xlink:href":`#${t.icon}`},null,8,Fe)]))],2))}}),je=e.defineComponent({__name:"ContextMenuItem",props:{icon:{},label:{},description:{},labelSuffixComponent:{},labelPrefixComponent:{},onClick:{type:Function},classes:{},variant:{},testId:{},disabled:{type:Boolean}},setup:t=>(o,n)=>(e.openBlock(),e.createBlock(e.unref(Ze),{class:e.normalizeClass(["border-none",{[`${t.classes}`]:!!t.classes}]),"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.createElementVNode("span",null,e.toDisplayString(t.label),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(Ue),{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"]))}),Ge="relative translate-y-1/2 top-1/2 border-t border-gray-100",Qe=e.defineComponent({__name:"DividerText",props:{spacing:{default:"none"},textPosition:{default:"left"},hasOuterDivider:{type:Boolean,default:!1},text:{}},setup(t){const n=t,{leftDividerClasses:l,rightDividerClasses:a}=(t=>({leftDividerClasses:e.computed(()=>{let e=`${Ge}`;return t.hasOuterDivider&&"left"===t.textPosition?e+=" w-2":e+=" grow",e}),rightDividerClasses:e.computed(()=>{let e=`${Ge}`;return t.hasOuterDivider&&"right"===t.textPosition?e+=" w-2":e+=" grow",e})}))(n);return(n,r)=>(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(l))},null,2)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},()=>[e.createVNode(e.unref(o),{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))}}),Ke=e.defineComponent({__name:"Divider",props:{spacing:{default:"md"}},setup:t=>(o,n)=>(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))}),We=e.defineComponent({__name:"ContextMenuGroup",props:{label:{},items:{}},setup:t=>(n,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(Qe),{"has-outer-divider":""},{default:e.withCtx(()=>[e.createVNode(e.unref(o),{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,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},["divider"===t?(e.openBlock(),e.createBlock(e.unref(Ke),{key:0})):t.label?(e.openBlock(),e.createBlock(je,{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},null,8,["label","on-click","icon","variant","classes","label-suffix-component","label-prefix-component"])):e.createCommentVNode("",!0)],64))),128))],64))});const Ye=$e({},[["render",function(t,o){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 Xe;const Je="undefined"!=typeof window,et=()=>{},tt=Je&&(null==(Xe=null==window?void 0:window.navigator)?void 0:Xe.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ot(t){return"function"==typeof t?t():e.unref(t)}function nt(t){return!!e.getCurrentScope()&&(e.onScopeDispose(t),!0)}function lt(e){var t;const o=ot(e);return null!=(t=null==o?void 0:o.$el)?t:o}const at=Je?window:void 0;function rt(...t){let o,n,l,a;if("string"==typeof t[0]||Array.isArray(t[0])?([n,l,a]=t,o=at):[o,n,l,a]=t,!o)return et;Array.isArray(n)||(n=[n]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(e=>e()),r.length=0},c=e.watch(()=>[lt(o),ot(a)],([e,t])=>{i(),e&&r.push(...n.flatMap(o=>l.map(n=>((e,t,o,n)=>(e.addEventListener(t,o,n),()=>e.removeEventListener(t,o,n)))(e,o,n,t))))},{immediate:!0,flush:"post"}),s=()=>{c(),i()};return nt(s),s}let it=!1;function ct(...e){let t,o,n={};3===e.length?(t=e[0],o=e[1],n=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,o=e[0],n=e[1]):(t=e[0],o=e[1]):(t=!0,o=e[0]);const{target:l=at,eventName:a="keydown",passive:r=!1}=n,i="function"==typeof(c=t)?c:"string"==typeof c?e=>e.key===c:Array.isArray(c)?e=>c.includes(e.key):()=>!0;var c;return rt(l,a,e=>{i(e)&&o(e)},r)}function st(t,o=!1){const n=e.ref(),l=()=>n.value=Boolean(t());return l(),function(t,o=!0){e.getCurrentInstance()?e.onMounted(t):o?t():e.nextTick(t)}(l,o),n}function dt(t,o={}){const{window:n=at}=o,l=st(()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia);let a;const r=e.ref(!1),i=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",c):a.removeListener(c))},c=()=>{var o;l.value&&(i(),a=n.matchMedia((o=t,"function"==typeof o?e.computed(o):e.ref(o)).value),r.value=a.matches,"addEventListener"in a?a.addEventListener("change",c):a.addListener(c))};return e.watchEffect(c),nt(()=>i()),r}const ut={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var pt=Object.defineProperty,mt=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,vt=(e,t,o)=>t in e?pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;function gt(e,t={}){function o(t,o){let n=e[t];return null!=o&&(n=function(e,t){var o;if("number"==typeof e)return e+t;const n=(null==(o=e.match(/^-?[0-9]+\.?[0-9]*/))?void 0:o[0])||"",l=e.slice(n.length),a=parseFloat(n)+t;return Number.isNaN(a)?e:a+l}(n,o)),"number"==typeof n&&(n=`${n}px`),n}const{window:n=at}=t;function l(e){return!!n&&n.matchMedia(e).matches}const a=e=>dt(`(min-width: ${o(e)})`,t),r=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>a(t),enumerable:!0,configurable:!0}),e),{});return((e,t)=>{for(var o in t||(t={}))ft.call(t,o)&&vt(e,o,t[o]);if(mt)for(var o of mt(t))ht.call(t,o)&&vt(e,o,t[o]);return e})({greater:e=>dt(`(min-width: ${o(e,.1)})`,t),greaterOrEqual:a,smaller:e=>dt(`(max-width: ${o(e,-.1)})`,t),smallerOrEqual:e=>dt(`(max-width: ${o(e)})`,t),between:(e,n)=>dt(`(min-width: ${o(e)}) and (max-width: ${o(n,-.1)})`,t),isGreater:e=>l(`(min-width: ${o(e,.1)})`),isGreaterOrEqual:e=>l(`(min-width: ${o(e)})`),isSmaller:e=>l(`(max-width: ${o(e,-.1)})`),isSmallerOrEqual:e=>l(`(max-width: ${o(e)})`),isInBetween:(e,t)=>l(`(min-width: ${o(e)}) and (max-width: ${o(t,-.1)})`)},r)}const yt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},bt="__vueuse_ssr_handlers__";yt[bt]=yt[bt]||{};var xt,kt,_t=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable;function Ct(t,o,n={}){const l=n,{window:a=at}=l,r=((e,t)=>{var o={};for(var n in e)wt.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&_t)for(var n of _t(e))t.indexOf(n)<0&&Bt.call(e,n)&&(o[n]=e[n]);return o})(l,["window"]);let i;const c=st(()=>a&&"ResizeObserver"in a),s=()=>{i&&(i.disconnect(),i=void 0)},d=e.watch(()=>lt(t),e=>{s(),c.value&&a&&e&&(i=new ResizeObserver(o),i.observe(e,r))},{immediate:!0,flush:"post"}),u=()=>{s(),d()};return nt(u),{isSupported:c,stop:u}}function Et(t,o={width:0,height:0},n={}){const{window:l=at,box:a="content-box"}=n,r=e.computed(()=>{var e,o;return null==(o=null==(e=lt(t))?void 0:e.namespaceURI)?void 0:o.includes("svg")}),i=e.ref(o.width),c=e.ref(o.height);return Ct(t,([e])=>{const o="border-box"===a?e.borderBoxSize:"content-box"===a?e.contentBoxSize:e.devicePixelContentBoxSize;if(l&&r.value){const e=lt(t);if(e){const t=l.getComputedStyle(e);i.value=parseFloat(t.width),c.value=parseFloat(t.height)}}else if(o){const e=Array.isArray(o)?o:[o];i.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else i.value=e.contentRect.width,c.value=e.contentRect.height},n),e.watch(()=>lt(t),e=>{i.value=e?o.width:0,c.value=e?o.height:0}),{width:i,height:c}}(kt=xt||(xt={})).UP="UP",kt.RIGHT="RIGHT",kt.DOWN="DOWN",kt.LEFT="LEFT",kt.NONE="NONE";var Nt=Object.defineProperty,Tt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,St=(e,t,o)=>t in e?Nt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;function zt(t,o,n,l={}){var a,r,i;const{clone:c=!1,passive:s=!1,eventName:d,deep:u=!1,defaultValue:p}=l,m=e.getCurrentInstance(),f=n||(null==m?void 0:m.emit)||(null==(a=null==m?void 0:m.$emit)?void 0:a.bind(m))||(null==(i=null==(r=null==m?void 0:m.proxy)?void 0:r.$emit)?void 0:i.bind(null==m?void 0:m.proxy));let h=d;o||(o="modelValue"),h=d||h||`update:${o.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[o]?v(t[o]):p;if(s){const n=g(),l=e.ref(n);return e.watch(()=>t[o],e=>l.value=v(e)),e.watch(l,e=>{(e!==t[o]||u)&&f(h,e)},{deep:u}),l}return e.computed({get:()=>g(),set(e){f(h,e)}})}((e,t)=>{for(var o in t||(t={}))Mt.call(t,o)&&St(e,o,t[o]);if(Tt)for(var o of Tt(t))Vt.call(t,o)&&St(e,o,t[o])})({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 Pt=Math.min,qt=Math.max,Dt=Math.round,It=Math.floor,$t=e=>({x:e,y:e}),Ot={left:"right",right:"left",bottom:"top",top:"bottom"},Ht={start:"end",end:"start"};function At(e,t){return"function"==typeof e?e(t):e}function Lt(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function Rt(e){return"y"===e?"height":"width"}const Ft=new Set(["top","bottom"]);function Ut(e){return Ft.has(Lt(e))?"y":"x"}function jt(e){return"x"===Ut(e)?"y":"x"}function Gt(e){return e.replace(/start|end/g,e=>Ht[e])}const Qt=["left","right"],Kt=["right","left"],Wt=["top","bottom"],Yt=["bottom","top"];function Xt(e,t,o,n){const l=Zt(e);let a=function(e,t,o){switch(e){case"top":case"bottom":return o?t?Kt:Qt:t?Qt:Kt;case"left":case"right":return t?Wt:Yt;default:return[]}}(Lt(e),"start"===o,n);return l&&(a=a.map(e=>e+"-"+l),t&&(a=a.concat(a.map(Gt)))),a}function Jt(e){return e.replace(/left|right|bottom|top/g,e=>Ot[e])}function eo(e){const{x:t,y:o,width:n,height:l}=e;return{width:n,height:l,top:o,left:t,right:t+n,bottom:o+l,x:t,y:o}}function to(e,t,o){let{reference:n,floating:l}=e;const a=Ut(t),r=jt(t),i=Rt(r),c=Lt(t),s="y"===a,d=n.x+n.width/2-l.width/2,u=n.y+n.height/2-l.height/2,p=n[i]/2-l[i]/2;let m;switch(c){case"top":m={x:d,y:n.y-l.height};break;case"bottom":m={x:d,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:u};break;case"left":m={x:n.x-l.width,y:u};break;default:m={x:n.x,y:n.y}}switch(Zt(t)){case"start":m[r]-=p*(o&&s?-1:1);break;case"end":m[r]+=p*(o&&s?-1:1)}return m}async function oo(e,t){var o;void 0===t&&(t={});const{x:n,y:l,platform:a,rects:r,elements:i,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:m=0}=At(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=i[p?"floating"===u?"reference":"floating":u],v=eo(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(h)))||o?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(i.floating)),boundary:s,rootBoundary:d,strategy:c})),g="floating"===u?{x:n,y:l,width:r.floating.width,height:r.floating.height}:r.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(i.floating)),b=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},x=eo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:g,offsetParent:y,strategy:c}):g);return{top:(v.top-x.top+f.top)/b.y,bottom:(x.bottom-v.bottom+f.bottom)/b.y,left:(v.left-x.left+f.left)/b.x,right:(x.right-v.right+f.right)/b.x}}const no=new Set(["left","top"]);function lo(){return"undefined"!=typeof window}function ao(e){return co(e)?(e.nodeName||"").toLowerCase():"#document"}function ro(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function io(e){var t;return null==(t=(co(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function co(e){return!!lo()&&(e instanceof Node||e instanceof ro(e).Node)}function so(e){return!!lo()&&(e instanceof Element||e instanceof ro(e).Element)}function uo(e){return!!lo()&&(e instanceof HTMLElement||e instanceof ro(e).HTMLElement)}function po(e){return!(!lo()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ro(e).ShadowRoot)}const mo=new Set(["inline","contents"]);function fo(e){const{overflow:t,overflowX:o,overflowY:n,display:l}=Eo(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!mo.has(l)}const ho=new Set(["table","td","th"]);function vo(e){return ho.has(ao(e))}const go=[":popover-open",":modal"];function yo(e){return go.some(t=>{try{return e.matches(t)}catch(o){return!1}})}const bo=["transform","translate","scale","rotate","perspective"],xo=["transform","translate","scale","rotate","perspective","filter"],ko=["paint","layout","strict","content"];function _o(e){const t=wo(),o=so(e)?Eo(e):e;return bo.some(e=>!!o[e]&&"none"!==o[e])||!!o.containerType&&"normal"!==o.containerType||!t&&!!o.backdropFilter&&"none"!==o.backdropFilter||!t&&!!o.filter&&"none"!==o.filter||xo.some(e=>(o.willChange||"").includes(e))||ko.some(e=>(o.contain||"").includes(e))}function wo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Bo=new Set(["html","body","#document"]);function Co(e){return Bo.has(ao(e))}function Eo(e){return ro(e).getComputedStyle(e)}function No(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function To(e){if("html"===ao(e))return e;const t=e.assignedSlot||e.parentNode||po(e)&&e.host||io(e);return po(t)?t.host:t}function Mo(e){const t=To(e);return Co(t)?e.ownerDocument?e.ownerDocument.body:e.body:uo(t)&&fo(t)?t:Mo(t)}function Vo(e,t,o){var n;void 0===t&&(t=[]),void 0===o&&(o=!0);const l=Mo(e),a=l===(null==(n=e.ownerDocument)?void 0:n.body),r=ro(l);if(a){const e=So(r);return t.concat(r,r.visualViewport||[],fo(l)?l:[],e&&o?Vo(e):[])}return t.concat(l,Vo(l,[],o))}function So(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zo(e){const t=Eo(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const l=uo(e),a=l?e.offsetWidth:o,r=l?e.offsetHeight:n,i=Dt(o)!==a||Dt(n)!==r;return i&&(o=a,n=r),{width:o,height:n,$:i}}function Po(e){return so(e)?e:e.contextElement}function qo(e){const t=Po(e);if(!uo(t))return $t(1);const o=t.getBoundingClientRect(),{width:n,height:l,$:a}=zo(t);let r=(a?Dt(o.width):o.width)/n,i=(a?Dt(o.height):o.height)/l;return r&&Number.isFinite(r)||(r=1),i&&Number.isFinite(i)||(i=1),{x:r,y:i}}const Do=$t(0);function Io(e){const t=ro(e);return wo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Do}function $o(e,t,o,n){void 0===t&&(t=!1),void 0===o&&(o=!1);const l=e.getBoundingClientRect(),a=Po(e);let r=$t(1);t&&(n?so(n)&&(r=qo(n)):r=qo(e));const i=function(e,t,o){return void 0===t&&(t=!1),!(!o||t&&o!==ro(e))&&t}(a,o,n)?Io(a):$t(0);let c=(l.left+i.x)/r.x,s=(l.top+i.y)/r.y,d=l.width/r.x,u=l.height/r.y;if(a){const e=ro(a),t=n&&so(n)?ro(n):n;let o=e,l=So(o);for(;l&&n&&t!==o;){const e=qo(l),t=l.getBoundingClientRect(),n=Eo(l),a=t.left+(l.clientLeft+parseFloat(n.paddingLeft))*e.x,r=t.top+(l.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,u*=e.y,c+=a,s+=r,o=ro(l),l=So(o)}}return eo({width:d,height:u,x:c,y:s})}function Oo(e,t){const o=No(e).scrollLeft;return t?t.left+o:$o(io(e)).left+o}function Ho(e,t){const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-Oo(e,o),y:o.top+t.scrollTop}}const Ao=new Set(["absolute","fixed"]);function Lo(e,t,o){let n;if("viewport"===t)n=function(e,t){const o=ro(e),n=io(e),l=o.visualViewport;let a=n.clientWidth,r=n.clientHeight,i=0,c=0;if(l){a=l.width,r=l.height;const e=wo();(!e||e&&"fixed"===t)&&(i=l.offsetLeft,c=l.offsetTop)}const s=Oo(n);if(s<=0){const e=n.ownerDocument,t=e.body,o=getComputedStyle(t),l="CSS1Compat"===e.compatMode&&parseFloat(o.marginLeft)+parseFloat(o.marginRight)||0,r=Math.abs(n.clientWidth-t.clientWidth-l);r<=25&&(a-=r)}else s<=25&&(a+=s);return{width:a,height:r,x:i,y:c}}(e,o);else if("document"===t)n=function(e){const t=io(e),o=No(e),n=e.ownerDocument.body,l=qt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=qt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+Oo(e);const i=-o.scrollTop;return"rtl"===Eo(n).direction&&(r+=qt(t.clientWidth,n.clientWidth)-l),{width:l,height:a,x:r,y:i}}(io(e));else if(so(t))n=function(e,t){const o=$o(e,!0,"fixed"===t),n=o.top+e.clientTop,l=o.left+e.clientLeft,a=uo(e)?qo(e):$t(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:l*a.x,y:n*a.y}}(t,o);else{const o=Io(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return eo(n)}function Zo(e,t){const o=To(e);return!(o===t||!so(o)||Co(o))&&("fixed"===Eo(o).position||Zo(o,t))}function Ro(e,t,o){const n=uo(t),l=io(t),a="fixed"===o,r=$o(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const c=$t(0);function s(){c.x=Oo(l)}if(n||!n&&!a)if(("body"!==ao(t)||fo(l))&&(i=No(t)),n){const e=$o(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else l&&s();a&&!n&&l&&s();const d=!l||n||a?$t(0):Ho(l,i);return{x:r.left+i.scrollLeft-c.x-d.x,y:r.top+i.scrollTop-c.y-d.y,width:r.width,height:r.height}}function Fo(e){return"static"===Eo(e).position}function Uo(e,t){if(!uo(e)||"fixed"===Eo(e).position)return null;if(t)return t(e);let o=e.offsetParent;return io(e)===o&&(o=o.ownerDocument.body),o}function jo(e,t){const o=ro(e);if(yo(e))return o;if(!uo(e)){let t=To(e);for(;t&&!Co(t);){if(so(t)&&!Fo(t))return t;t=To(t)}return o}let n=Uo(e,t);for(;n&&vo(n)&&Fo(n);)n=Uo(n,t);return n&&Co(n)&&Fo(n)&&!_o(n)?o:n||function(e){let t=To(e);for(;uo(t)&&!Co(t);){if(_o(t))return t;if(yo(t))return null;t=To(t)}return null}(e)||o}const Go={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:o,offsetParent:n,strategy:l}=e;const a="fixed"===l,r=io(n),i=!!t&&yo(t.floating);if(n===r||i&&a)return o;let c={scrollLeft:0,scrollTop:0},s=$t(1);const d=$t(0),u=uo(n);if((u||!u&&!a)&&(("body"!==ao(n)||fo(r))&&(c=No(n)),uo(n))){const e=$o(n);s=qo(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}const p=!r||u||a?$t(0):Ho(r,c);return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-c.scrollLeft*s.x+d.x+p.x,y:o.y*s.y-c.scrollTop*s.y+d.y+p.y}},getDocumentElement:io,getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:n,strategy:l}=e;const a=[..."clippingAncestors"===o?yo(t)?[]:function(e,t){const o=t.get(e);if(o)return o;let n=Vo(e,[],!1).filter(e=>so(e)&&"body"!==ao(e)),l=null;const a="fixed"===Eo(e).position;let r=a?To(e):e;for(;so(r)&&!Co(r);){const t=Eo(r),o=_o(r);o||"fixed"!==t.position||(l=null),(a?!o&&!l:!o&&"static"===t.position&&l&&Ao.has(l.position)||fo(r)&&!o&&Zo(e,r))?n=n.filter(e=>e!==r):l=t,r=To(r)}return t.set(e,n),n}(t,this._c):[].concat(o),n],r=a[0],i=a.reduce((e,o)=>{const n=Lo(t,o,l);return e.top=qt(n.top,e.top),e.right=Pt(n.right,e.right),e.bottom=Pt(n.bottom,e.bottom),e.left=qt(n.left,e.left),e},Lo(t,r,l));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}},getOffsetParent:jo,getElementRects:async function(e){const t=this.getOffsetParent||jo,o=this.getDimensions,n=await o(e.floating);return{reference:Ro(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:o}=zo(e);return{width:t,height:o}},getScale:qo,isElement:so,isRTL:function(e){return"rtl"===Eo(e).direction}};function Qo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ko(e,t,o,n){void 0===n&&(n={});const{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:r="function"==typeof ResizeObserver,layoutShift:i="function"==typeof IntersectionObserver,animationFrame:c=!1}=n,s=Po(e),d=l||a?[...s?Vo(s):[],...Vo(t)]:[];d.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});const u=s&&i?function(e,t){let o,n=null;const l=io(e);function a(){var e;clearTimeout(o),null==(e=n)||e.disconnect(),n=null}return function r(i,c){void 0===i&&(i=!1),void 0===c&&(c=1),a();const s=e.getBoundingClientRect(),{left:d,top:u,width:p,height:m}=s;if(i||t(),!p||!m)return;const f={rootMargin:-It(u)+"px "+-It(l.clientWidth-(d+p))+"px "+-It(l.clientHeight-(u+m))+"px "+-It(d)+"px",threshold:qt(0,Pt(1,c))||1};let h=!0;function v(t){const n=t[0].intersectionRatio;if(n!==c){if(!h)return r();n?r(!1,n):o=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==n||Qo(s,e.getBoundingClientRect())||r(),h=!1}try{n=new IntersectionObserver(v,{...f,root:l.ownerDocument})}catch(g){n=new IntersectionObserver(v,f)}n.observe(e)}(!0),a}(s,o):null;let p,m=-1,f=null;r&&(f=new ResizeObserver(e=>{let[n]=e;n&&n.target===s&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),o()}),s&&!c&&f.observe(s),f.observe(t));let h=c?$o(e):null;return c&&function t(){const n=$o(e);h&&!Qo(h,n)&&o();h=n,p=requestAnimationFrame(t)}(),o(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==u||u(),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(p)}}const Wo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:l,y:a,placement:r,middlewareData:i}=t,c=await async function(e,t){const{placement:o,platform:n,elements:l}=e,a=await(null==n.isRTL?void 0:n.isRTL(l.floating)),r=Lt(o),i=Zt(o),c="y"===Ut(o),s=no.has(r)?-1:1,d=a&&c?-1:1,u=At(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 i&&"number"==typeof f&&(m="end"===i?-1*f:f),c?{x:m*d,y:p*s}:{x:p*s,y:m*d}}(t,e);return r===(null==(o=i.offset)?void 0:o.placement)&&null!=(n=i.arrow)&&n.alignmentOffset?{}:{x:l+c.x,y:a+c.y,data:{...c,placement:r}}}}},Yo=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:l,middlewareData:a,rects:r,initialPlacement:i,platform:c,elements:s}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...v}=At(e,t);if(null!=(o=a.arrow)&&o.alignmentOffset)return{};const g=Lt(l),y=Ut(i),b=Lt(i)===i,x=await(null==c.isRTL?void 0:c.isRTL(s.floating)),k=p||(b||!h?[Jt(i)]:function(e){const t=Jt(e);return[Gt(e),t,Gt(t)]}(i)),_="none"!==f;!p&&_&&k.push(...Xt(i,h,f,x));const w=[i,...k],B=await c.detectOverflow(t,v),C=[];let E=(null==(n=a.flip)?void 0:n.overflows)||[];if(d&&C.push(B[g]),u){const e=function(e,t,o){void 0===o&&(o=!1);const n=Zt(e),l=jt(e),a=Rt(l);let r="x"===l?n===(o?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(r=Jt(r)),[r,Jt(r)]}(l,r,x);C.push(B[e[0]],B[e[1]])}if(E=[...E,{placement:l,overflows:C}],!C.every(e=>e<=0)){var N,T;const e=((null==(N=a.flip)?void 0:N.index)||0)+1,t=w[e];if(t){if(!("alignment"===u&&y!==Ut(t))||E.every(e=>Ut(e.placement)!==y||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let o=null==(T=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:T.placement;if(!o)switch(m){case"bestFit":{var M;const e=null==(M=E.filter(e=>{if(_){const t=Ut(e.placement);return t===y||"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&&(o=e);break}case"initialPlacement":o=i}if(l!==o)return{reset:{placement:o}}}return{}}}},Xo=(e,t,o)=>{const n=new Map,l={platform:Go,...o},a={...l.platform,_c:n};return(async(e,t,o)=>{const{placement:n="bottom",strategy:l="absolute",middleware:a=[],platform:r}=o,i=a.filter(Boolean),c=await(null==r.isRTL?void 0:r.isRTL(t));let s=await r.getElementRects({reference:e,floating:t,strategy:l}),{x:d,y:u}=to(s,n,c),p=n,m={},f=0;for(let v=0;v<i.length;v++){var h;const{name:o,fn:a}=i[v],{x:g,y:y,data:b,reset:x}=await a({x:d,y:u,initialPlacement:n,placement:p,strategy:l,middlewareData:m,rects:s,platform:{...r,detectOverflow:null!=(h=r.detectOverflow)?h:oo},elements:{reference:e,floating:t}});d=null!=g?g:d,u=null!=y?y:u,m={...m,[o]:{...m[o],...b}},x&&f<=50&&(f++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(s=!0===x.rects?await r.getElementRects({reference:e,floating:t,strategy:l}):x.rects),({x:d,y:u}=to(s,p,c))),v=-1)}return{x:d,y:u,placement:p,strategy:l,middlewareData:m}})(e,t,{...l,platform:a})};function Jo(e){if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el;return co(t)&&"#comment"===ao(t)?null:t}return e}function en(t){return"function"==typeof t?t():e.unref(t)}function tn(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function on(e,t){const o=tn(e);return Math.round(t*o)/o}function nn(t,o,n){void 0===n&&(n={});const l=n.whileElementsMounted,a=e.computed(()=>{var e;return null==(e=en(n.open))||e}),r=e.computed(()=>en(n.middleware)),i=e.computed(()=>{var e;return null!=(e=en(n.placement))?e:"bottom"}),c=e.computed(()=>{var e;return null!=(e=en(n.strategy))?e:"absolute"}),s=e.computed(()=>{var e;return null==(e=en(n.transform))||e}),d=e.computed(()=>Jo(t.value)),u=e.computed(()=>Jo(o.value)),p=e.ref(0),m=e.ref(0),f=e.ref(c.value),h=e.ref(i.value),v=e.shallowRef({}),g=e.ref(!1),y=e.computed(()=>{const e={position:f.value,left:"0",top:"0"};if(!u.value)return e;const t=on(u.value,p.value),o=on(u.value,m.value);return s.value?{...e,transform:"translate("+t+"px, "+o+"px)",...tn(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:t+"px",top:o+"px"}});let b;function x(){if(null==d.value||null==u.value)return;const e=a.value;Xo(d.value,u.value,{middleware:r.value,placement:i.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 b&&(b(),b=void 0)}return e.watch([r,i,c,a],x,{flush:"sync"}),e.watch([d,u],function(){k(),void 0!==l?null==d.value||null==u.value||(b=l(d.value,u.value,x)):x()},{flush:"sync"}),e.watch(a,function(){a.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:y,update:x}}const ln=(t,o=!0,n=[])=>(t.forEach(t=>{if(null!==t)if("object"==typeof t)if(Array.isArray(t))ln(t,o,n);else if(t.type===e.Fragment){if(null===t.children)return;Array.isArray(t.children)&&ln(t.children,o,n)}else t.type!==e.Comment&&n.push(t);else"string"!=typeof t&&"number"!=typeof t||n.push(e.createTextVNode(String(t)))}),n);var an=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rn=/^\w*$/;function cn(e,t){if(m(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!_(e))||(rn.test(e)||!an.test(e)||null!=t&&e in Object(t))}var sn=K(Object,"create");var dn=Object.prototype.hasOwnProperty;var un=Object.prototype.hasOwnProperty;function pn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}function mn(e,t){return e===t||e!=e&&t!=t}function fn(e,t){for(var o=e.length;o--;)if(mn(e[o][0],t))return o;return-1}pn.prototype.clear=function(){this.__data__=sn?sn(null):{},this.size=0},pn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},pn.prototype.get=function(e){var t=this.__data__;if(sn){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return dn.call(t,e)?t[e]:void 0},pn.prototype.has=function(e){var t=this.__data__;return sn?void 0!==t[e]:un.call(t,e)},pn.prototype.set=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=sn&&void 0===t?"__lodash_hash_undefined__":t,this};var hn=Array.prototype.splice;function vn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}function gn(e,t){var o,n,l=e.__data__;return("string"==(n=typeof(o=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==o:null===o)?l["string"==typeof t?"string":"hash"]:l.map}function yn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}vn.prototype.clear=function(){this.__data__=[],this.size=0},vn.prototype.delete=function(e){var t=this.__data__,o=fn(t,e);return!(o<0)&&(o==t.length-1?t.pop():hn.call(t,o,1),--this.size,!0)},vn.prototype.get=function(e){var t=this.__data__,o=fn(t,e);return o<0?void 0:t[o][1]},vn.prototype.has=function(e){return fn(this.__data__,e)>-1},vn.prototype.set=function(e,t){var o=this.__data__,n=fn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this},yn.prototype.clear=function(){this.size=0,this.__data__={hash:new pn,map:new(Y||vn),string:new pn}},yn.prototype.delete=function(e){var t=gn(this,e).delete(e);return this.size-=t?1:0,t},yn.prototype.get=function(e){return gn(this,e).get(e)},yn.prototype.has=function(e){return gn(this,e).has(e)},yn.prototype.set=function(e,t){var o=gn(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this};function bn(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var n=arguments,l=t?t.apply(this,n):n[0],a=o.cache;if(a.has(l))return a.get(l);var r=e.apply(this,n);return o.cache=a.set(l,r)||a,r};return o.cache=new(bn.Cache||yn),o}bn.Cache=yn;var xn,kn,_n,wn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bn=/\\(\\)?/g,Cn=(xn=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(wn,function(e,o,n,l){t.push(n?l.replace(Bn,"$1"):o||e)}),t},kn=bn(xn,function(e){return 500===_n.size&&_n.clear(),e}),_n=kn.cache,kn);function En(e,t){return m(e)?e:cn(e,t)?[e]:Cn(E(e))}function Nn(e){if("string"==typeof e||_(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Tn(e,t){for(var o=0,n=(t=En(t,e)).length;null!=e&&o<n;)e=e[Nn(t[o++])];return o&&o==n?e:void 0}var Mn=function(){try{var e=K(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();function Vn(e,t,o){"__proto__"==t&&Mn?Mn(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var Sn=Object.prototype.hasOwnProperty;function zn(e,t,o){var n=e[t];Sn.call(e,t)&&mn(n,o)&&(void 0!==o||t in e)||Vn(e,t,o)}var Pn=/^(?:0|[1-9]\d*)$/;function qn(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&Pn.test(e))&&e>-1&&e%1==0&&e<t}function Dn(e,t,o,n){if(!D(e))return e;for(var l=-1,a=(t=En(t,e)).length,r=a-1,i=e;null!=i&&++l<a;){var c=Nn(t[l]),s=o;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(l!=r){var d=i[c];void 0===(s=void 0)&&(s=D(d)?d:qn(t[l+1])?[]:{})}zn(i,c,s),i=i[c]}return e}function In(e,t){return null!=e&&t in Object(e)}function $n(e,t,o){for(var n=-1,l=(t=En(t,e)).length,a=!1;++n<l;){var r=Nn(t[n]);if(!(a=null!=e&&o(e,r)))break;e=e[r]}return a||++n!=l?a:!!(l=null==e?0:e.length)&&ge(l)&&qn(r,l)&&(m(e)||ve(e))}function On(e,t){return null!=e&&$n(e,t,In)}function Hn(e,t){return function(e,t,o){for(var n=-1,l=t.length,a={};++n<l;){var r=t[n],i=Tn(e,r);o(i,r)&&Dn(a,En(r,e),i)}return a}(e,t,function(t,o){return On(e,o)})}function An(e,t){for(var o=-1,n=t.length,l=e.length;++o<n;)e[l+o]=t[o];return e}var Ln=u?u.isConcatSpreadable:void 0;function Zn(e){return m(e)||ve(e)||!!(Ln&&e&&e[Ln])}function Rn(e,t,o,n,l){var a=-1,r=e.length;for(o||(o=Zn),l||(l=[]);++a<r;){var i=e[a];o(i)?An(l,i):n||(l[l.length]=i)}return l}function Fn(e){return(null==e?0:e.length)?Rn(e):[]}var Un=Math.max;function jn(e,t,o){return t=Un(void 0===t?e.length-1:t,0),function(){for(var n=arguments,l=-1,a=Un(n.length-t,0),r=Array(a);++l<a;)r[l]=n[t+l];l=-1;for(var i=Array(t+1);++l<t;)i[l]=n[l];return i[t]=o(r),function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}(e,this,i)}}function Gn(e){return e}var Qn=Mn?function(e,t){return Mn(e,"toString",{configurable:!0,enumerable:!1,value:(o=t,function(){return o}),writable:!0});var o}:Gn,Kn=Date.now;var Wn=function(e){var t=0,o=0;return function(){var n=Kn(),l=16-(n-o);if(o=n,l>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Qn);function Yn(e){return Wn(jn(e,void 0,Fn),e+"")}var Xn=Yn(function(e,t){return null==e?{}:Hn(e,t)});const Jn={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"]};const el=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},o=((e,t="default",o)=>{const n=e[t];if(!n)return null;const l=ln(n(o));return 1===l.length?l[0]:null})(e,"default"),n=[t];(null==o?void 0:o.props)&&n.push(Xn(o.props,"onClick","onMouseenter","onMouseleave","onFocus","onBlur"));var l,a;return o&&(l=o,a={onBlur:e=>{n.forEach(t=>{var o;null==(o=null==t?void 0:t.onBlur)||o.call(t,e)})},onFocus:e=>{n.forEach(t=>{var o;null==(o=null==t?void 0:t.onFocus)||o.call(t,e)})},onClick:e=>{n.forEach(t=>{var o;null==(o=null==t?void 0:t.onClick)||o.call(t,e)})},onMouseenter:e=>{n.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseenter)||o.call(t,e)})},onMouseleave:e=>{n.forEach(t=>{var o;null==(o=null==t?void 0:t.onMouseleave)||o.call(t,e)})}},Object.entries(Jn).forEach(([,e])=>{e.forEach(e=>{l.props?l.props=Object.assign({},l.props):l.props={};const t=l.props[e],o=a[e];l.props[e]=t?(...e)=>{t(...e),o(...e)}:o})})),o}}),tl={color:"primary",variant:"primary",size:"md",pill:!1,square:!1,loading:!1,disabled:!1,iconPrefix:void 0,iconSuffix:void 0,tag:"button"},ol="transition-colors transition-opacity",nl={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"},ll={blue:"hover:bg-blue-700",red:"hover:bg-red-800",green:"hover:bg-green-800",gray:"hover:bg-gray-50",primary:"hover:bg-primary-700",yellow:"hover:bg-yellow-700",white:"hover:bg-gray-500"},al={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"},rl={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"},il={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"},cl={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"},sl={xs:"p-0.5",sm:"p-1.5",md:"p-2",lg:"p-3"},dl={xs:"w-5 h-5",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-12 h-12"};function ul(t){const o=e.useSlots(),n=e.computed(()=>{var e;return(null==(e=t.square)?void 0:e.value)?dl[t.size.value]:sl[t.size.value]}),l=e.computed(()=>{const e=t.color.value||tl.color,l=t.variant.value||tl.variant,a=t.loading.value,r=t.disabled.value;let i={},c={};switch(l){case"ghost":c=il,i=cl;break;case"transparent":c=il;break;case"outline":c=al,i=rl;break;default:c=nl,i=ll}const s=c[e],d=a||r?"":i[e];return[ol,s,d,n.value,t.pill.value?"!rounded-full":"",t.disabled.value||t.loading.value?"cursor-not-allowed opacity-50":"",o.prefix||t.iconPrefix||o.suffix||t.loading.value?"inline-flex items-center":""].filter(e=>!!e).join(" ")}),a=e.computed(()=>t.loading.value?"opacity-0":"");return{contentClasses:e.computed(()=>{switch(t.size.value){case"xs":case"sm":return"mx-1";case"md":return"mx-1.5";case"lg":return"mx-2";default:return""}}),wrapperClasses:l,spanClasses:a}}const pl={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"},ml={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 fl=e.defineComponent({__name:"Spinner",props:{size:{default:"4"},color:{default:"primary"}},setup(t){const o=t,{spinnerClasses:n}=function(t){const o=e.computed(()=>pl[t.size.value]),n=e.computed(()=>ml[t.color.value]),l="text-gray-200",a="animate-spin";return{spinnerClasses:e.computed(()=>[o.value,l,n.value,a].join(" "))}}(e.toRefs(o));return(t,o)=>(e.openBlock(),e.createElementBlock("svg",{role:"status",class:e.normalizeClass(e.unref(n)),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[...o[0]||(o[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))}}),hl={key:0,class:"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-inherit"},vl={key:0,class:"flex items-center justify-center"},gl={key:2,class:"flex items-center justify-center"},yl=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:{}},tl),emits:["click"],setup(t,{emit:n}){const l=t,a=n,r=e.computed(()=>{switch(l.size){case"xs":return"2xs";case"sm":return"xs";default:return"sm"}}),i=e.computed(()=>"xs"===r.value?"4":"5"),c=e.computed(()=>["xs","sm"].includes(l.size)?"body-xs":"body-sm"),{wrapperClasses:s,spanClasses:d,contentClasses:u}=ul(e.toRefs(l)),{color:p}=function(t){const o={lg:"5",md:"4",sm:"3",xs:"2"};return{size:e.computed(()=>o[t.size.value]),color:e.computed(()=>"primary"===t.variant.value?"white":t.color.value)}}(e.toRefs(l)),{handleClick:m}=function(t=500){const o=e.ref(!1);return{isClicked:o,handleClick:function(e){if(!o.value){o.value=!0;try{e()}finally{setTimeout(()=>{o.value=!1},t)}}}}}(),f=e.computed(()=>"button"===l.tag&&(l.disabled||l.loading)),h=e=>{m(()=>{a("click",e)})};return(n,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:e.normalizeClass([e.unref(s),"relative shrink-0 items-center justify-center overflow-clip whitespace-nowrap"]),type:"button"===t.tag?t.type:void 0,disabled:f.value,onClick:h},{default:e.withCtx(()=>[t.loading?(e.openBlock(),e.createElementBlock("span",hl,[e.createVNode(e.unref(fl),{size:i.value,color:e.unref(p)},null,8,["size","color"])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass([e.unref(d),"flex items-center justify-center"])},[t.iconPrefix||n.$slots.prefix?(e.openBlock(),e.createElementBlock("span",vl,[e.renderSlot(n.$slots,"prefix",{},()=>[e.createVNode(e.unref(Ue),{icon:t.iconPrefix,size:r.value,class:"overflow-clip"},null,8,["icon","size"])])])):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createBlock(e.unref(o),{key:1,tag:"span",variant:c.value,class:e.normalizeClass(e.unref(u))},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["variant","class"])):e.createCommentVNode("",!0),t.iconSuffix||n.$slots.suffix?(e.openBlock(),e.createElementBlock("span",gl,[e.renderSlot(n.$slots,"suffix",{},()=>[e.createVNode(e.unref(Ue),{icon:t.iconSuffix,size:r.value},null,8,["icon","size"])])])):e.createCommentVNode("",!0)],2)]),_:3},8,["class","type","disabled"]))}}),bl=["id"],xl=e.defineComponent({__name:"Portal",props:{to:{},name:{},disabled:{type:Boolean}},setup(t){const o=t;return e.onMounted(()=>{if(!o.name&&!o.to)throw new Error("Define either the `to` or the `name` prop.")}),(o,n)=>t.name?(e.openBlock(),e.createElementBlock("div",{key:0,id:`portal-${t.name}`},null,8,bl)):t.to?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:`#portal-${t.to}`,disabled:t.disabled},[e.renderSlot(o.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),kl={class:"inline-flex items-center"},_l=$e(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 o=t,n=e.ref(!1),l=()=>n.value=!1,a=()=>{o.disabled||(n.value=!n.value)},r={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"},i=e.ref(),c=e.ref(),s=e.ref(),d=e.computed(()=>null===o.transition?r[o.placement]:o.transition),{floatingStyles:u}=nn(s,c,{whileElementsMounted:Ko,placement:o.placement,middleware:[Wo(o.offset),Yo()]});return function(e,t,o={}){const{window:n=at,ignore:l=[],capture:a=!0,detectIframe:r=!1}=o;if(!n)return;tt&&!it&&(it=!0,Array.from(n.document.body.children).forEach(e=>e.addEventListener("click",et)));let i=!0;const c=e=>l.some(t=>{if("string"==typeof t)return Array.from(n.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const o=lt(t);return o&&(e.target===o||e.composedPath().includes(o))}}),s=[rt(n,"click",o=>{const n=lt(e);n&&n!==o.target&&!o.composedPath().includes(n)&&(0===o.detail&&(i=!c(o)),i?t(o):i=!0)},{passive:!0,capture:a}),rt(n,"pointerdown",t=>{const o=lt(e);o&&(i=!t.composedPath().includes(o)&&!c(t))},{passive:!0}),r&&rt(n,"blur",o=>{var l;const a=lt(e);"IFRAME"!==(null==(l=n.document.activeElement)?void 0:l.tagName)||(null==a?void 0:a.contains(n.document.activeElement))||t(o)})].filter(Boolean)}(s,()=>{n.value&&(n.value=!1)}),ct("Escape",()=>{n.value=!1}),(o,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapper",ref:s,class:"inline-flex relative"},[e.createElementVNode("div",kl,[e.createVNode(e.unref(el),{onClick:a},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"trigger",{visible:n.value},()=>[e.createVNode(e.unref(yl),{ref_key:"trigger",ref:i},{suffix:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{class:"w-4 h-4 ml-2",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(xl),{to:e.unref("dropdown"),disabled:t.isPortalDisabled},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:d.value},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"content",ref:c,style:e.normalizeStyle(e.unref(u)),class:e.normalizeClass(["z-60 bg-white divide-y divide-gray-100 rounded shadow",t.dropdownClass])},[e.createVNode(e.unref(el),{onClick:l},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3})],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]),_:3},8,["to","disabled"])],512))}}),[["__scopeId","data-v-ce4df87e"]]),wl=e.defineComponent({__name:"ListGroup",props:{width:{default:"default"}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(["overflow-hidden text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded",{"w-48":"default"===t.width,"w-64":"wide"===t.width}])},[e.renderSlot(o.$slots,"default")],2))}),Bl=e.defineComponent({__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:{}},setup(t){const o=t,n=e.useSlots(),l=e.computed(()=>{var e,t;return o.disabled||(null==(t=(null==(e=o.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))&&!n.default});return(o,n)=>(e.openBlock(),e.createBlock(e.unref(Ye),null,{default:e.withCtx(()=>{var a;return[(null==(a=t.items)?void 0:a.length)||o.$slots.default||t.disabled?(e.openBlock(),e.createBlock(e.unref(_l),e.mergeProps({key:0,"is-portal-disabled":l.value},o.$attrs,{"dropdown-class":t.dropdownClass}),{trigger:e.withCtx(({visible:a})=>[e.renderSlot(o.$slots,"trigger",{visible:a},()=>[e.createVNode(e.unref(yl),{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:l.value,"icon-prefix":t.icon,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["stop"]))},null,8,["pill","size","class","disabled","icon-prefix"])])]),default:e.withCtx(()=>[t.items||o.$slots.default?(e.openBlock(),e.createBlock(e.unref(wl),{key:0,width:t.width,class:"z-60 p-0.5"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"header"),t.items?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.items,(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},["divider"===o&&n<t.items.length-1?(e.openBlock(),e.createBlock(e.unref(Ke),{key:0,spacing:"none"})):"divider"===o||"items"in o?"divider"!==o?(e.openBlock(),e.createBlock(We,{key:2,class:"rounded-sm",label:o.label,items:o.items},null,8,["label","items"])):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(je,{key:1,label:o.label,variant:o.variant,icon:o.icon,"label-suffix-component":o.labelSuffixComponent,"label-prefix-component":o.labelPrefixComponent,description:o.description,classes:o.classes,"test-id":o.testId,disabled:o.disabled,onClick:o.onClick},null,8,["label","variant","icon","label-suffix-component","label-prefix-component","description","classes","test-id","disabled","onClick"]))],64))),128)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")]),_:3},8,["width"])):e.createCommentVNode("",!0)]),_:3},16,["is-portal-disabled","dropdown-class"])):e.createCommentVNode("",!0)]}),_:3}))}}),Cl="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",El={class:"shrink-0"},Nl={class:"flex items-center justify-center overflow-clip rounded"},Tl=["src","alt","width","height"],Ml={class:"grow"},Vl={key:0},Sl={key:0,class:"pt-3"},zl=e.defineComponent({__name:"PaymentMethodBase",props:{imageSrc:{},imageAlt:{},variant:{default:"default"},isInactive:{type:Boolean},options:{},error:{}},setup(t){const o=t,n=e.computed(()=>o.imageSrc||Cl);return(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:e.normalizeClass(["flex gap-3",{"opacity-50":t.isInactive}])},[e.createElementVNode("div",El,[e.createElementVNode("div",Nl,[n.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:n.value,alt:t.imageAlt,width:"condensed"===t.variant?20:36,height:"condensed"===t.variant?20:36,class:e.normalizeClass({"w-9 h-9":"default"===t.variant,"w-5 h-5":"condensed"===t.variant})},null,10,Tl)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Ml,[e.renderSlot(o.$slots,"default")]),t.options&&t.options.length>0?(e.openBlock(),e.createElementBlock("div",Vl,[e.createVNode(Bl,{width:"wide",square:"",items:t.options},null,8,["items"])])):e.createCommentVNode("",!0)],2),t.error?(e.openBlock(),e.createElementBlock("div",Sl,[e.createVNode(De,{message:t.error,variant:"error"},null,8,["message"])])):e.createCommentVNode("",!0)]))}}),Pl=Symbol("ErrorProvider"),ql=()=>{const t=e.inject(Pl);if(!t)throw new Error("ErrorHandlingProvider is not provided");return t},Dl=e=>e.match(/^(Etc\/)?GMT/)?e.includes("-")?e.replace(/^(Etc\/)?GMT-/,"Etc/GMT+"):e.includes("+")?e.replace(/^(Etc\/)?GMT\+/,"Etc/GMT-"):e:e,Il={"47FYwb":"Cancel",N2IrpM:"Confirm",Vl9vDx:"units","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.","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.addCustomerDetailsDescription":"Insert customer details block","editorComponent.slashCommands.addCustomerDetailsTitle":"Add Customer Details","editorComponent.slashCommands.addPartyDetailsDescription":"Insert customer and supplier details in one row","editorComponent.slashCommands.addPartyDetailsTitle":"Add Party Details","editorComponent.slashCommands.addSupplierDetailsDescription":"Insert supplier details block","editorComponent.slashCommands.addSupplierDetailsTitle":"Add Supplier Details","editorComponent.slashCommands.customerFallbackTitle":"Customer 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.supplierFallbackTitle":"Supplier details","editorComponent.slashCommands.textDescription":"Start writing with plain text","editorComponent.slashCommands.textTitle":"Text","error_notification.default_error_message":"Something went wrong","form_validation.tax_id.invalid_format":"Invalid tax ID format. Example: {example}","generic.not_available":"N/A","invoice.add_invoice_line":"Add invoice line","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.incl.tax":"Incl. tax","invoice.line.included":"included","invoice.line.original_currency":"Original currency","invoice.line.pass_through":"Pass through","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","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",lWOCGz:"unit","payment_methods.default_chip.label":"Default","payment_methods.inactive_chip.label":"Inactive","pricing_detail.billing_cycle":"Billing cycle",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","slashCommandList.emptyState":"No matching commands","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"};var $l=function(e,t){return($l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function Ol(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}$l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var Hl,Al,Ll=function(){return Ll=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var l in t=arguments[o])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},Ll.apply(this,arguments)};function Zl(e,t,o){if(2===arguments.length)for(var n,l=0,a=t.length;l<a;l++)!n&&l in t||(n||(n=Array.prototype.slice.call(t,0,l)),n[l]=t[l]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,(Al=Hl||(Hl={})).FORMAT_ERROR="FORMAT_ERROR",Al.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Al.INVALID_CONFIG="INVALID_CONFIG",Al.MISSING_DATA="MISSING_DATA",Al.MISSING_TRANSLATION="MISSING_TRANSLATION";var Rl=function(e){function t(o,n,l){var a=this,r=l?l instanceof Error?l:new Error(String(l)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(o,"] ").concat(n,"\n").concat(r?"\n".concat(r.message,"\n").concat(r.stack):""))||this).code=o,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return Ol(t,e),t}(Error),Fl=function(e){function t(t,o){return e.call(this,Hl.UNSUPPORTED_FORMATTER,t,o)||this}return Ol(t,e),t}(Rl),Ul=function(e){function t(t,o){return e.call(this,Hl.INVALID_CONFIG,t,o)||this}return Ol(t,e),t}(Rl),jl=function(e){function t(t,o){return e.call(this,Hl.MISSING_DATA,t,o)||this}return Ol(t,e),t}(Rl),Gl=function(e){function t(t,o,n){var l=e.call(this,Hl.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(o,"\n"),n)||this;return l.locale=o,l}return Ol(t,e),t}(Rl),Ql=function(e){function t(t,o,n,l){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),o,l)||this;return a.descriptor=n,a.locale=o,a}return Ol(t,e),t}(Gl),Kl=function(e){function t(t,o){var n=e.call(this,Hl.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(o,'", 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 n.descriptor=t,n}return Ol(t,e),t}(Rl);function Wl(e,t){var o=t&&t.cache?t.cache:sa,n=t&&t.serializer?t.serializer:ia;return(t&&t.strategy?t.strategy:ea)(e,{cache:o,serializer:n})}function Yl(e,t,o,n){var l,a=null==(l=n)||"number"==typeof l||"boolean"==typeof l?n:o(n),r=t.get(a);return void 0===r&&(r=e.call(this,n),t.set(a,r)),r}function Xl(e,t,o){var n=Array.prototype.slice.call(arguments,3),l=o(n),a=t.get(l);return void 0===a&&(a=e.apply(this,n),t.set(l,a)),a}function Jl(e,t,o,n,l){return o.bind(t,e,n,l)}function ea(e,t){return Jl(e,this,1===e.length?Yl:Xl,t.cache.create(),t.serializer)}var ta,oa,na,la,aa,ra,ia=function(){return JSON.stringify(arguments)},ca=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}(),sa={create:function(){return new ca}},da={variadic:function(e,t){return Jl(e,this,Xl,t.cache.create(),t.serializer)}};function ua(e){return e.type===na.literal}function pa(e){return e.type===na.argument}function ma(e){return e.type===na.number}function fa(e){return e.type===na.date}function ha(e){return e.type===na.time}function va(e){return e.type===na.select}function ga(e){return e.type===na.plural}function ya(e){return e.type===na.pound}function ba(e){return e.type===na.tag}function xa(e){return!(!e||"object"!=typeof e||e.type!==aa.number)}function ka(e){return!(!e||"object"!=typeof e||e.type!==aa.dateTime)}(oa=ta||(ta={}))[oa.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",oa[oa.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",oa[oa.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",oa[oa.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",oa[oa.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",oa[oa.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",oa[oa.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",oa[oa.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",oa[oa.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",oa[oa.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",oa[oa.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",oa[oa.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",oa[oa.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",oa[oa.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",oa[oa.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",oa[oa.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",oa[oa.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",oa[oa.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",oa[oa.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",oa[oa.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",oa[oa.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",oa[oa.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",oa[oa.INVALID_TAG=23]="INVALID_TAG",oa[oa.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",oa[oa.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",oa[oa.UNCLOSED_TAG=27]="UNCLOSED_TAG",(la=na||(na={}))[la.literal=0]="literal",la[la.argument=1]="argument",la[la.number=2]="number",la[la.date=3]="date",la[la.time=4]="time",la[la.select=5]="select",la[la.plural=6]="plural",la[la.pound=7]="pound",la[la.tag=8]="tag",(ra=aa||(aa={}))[ra.number=0]="number",ra[ra.dateTime=1]="dateTime";var _a=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,wa=/(?:[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 Ba(e){var t={};return e.replace(wa,function(e){var o=e.length;switch(e[0]){case"G":t.era=4===o?"long":5===o?"narrow":"short";break;case"y":t.year=2===o?"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"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-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===o?"long":5===o?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-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"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-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"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<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 Ca=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ea(e){return e.replace(/^(.*?)-/,"")}var Na=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ta=/^(@+)?(\+|#+)?[rs]?$/g,Ma=/(\*)(0+)|(#+)(0+)|(0+)/g,Va=/^(0+)$/;function Sa(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ta,function(e,o,n){return"string"!=typeof n?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):"+"===n?t.minimumSignificantDigits=o.length:"#"===o[0]?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+("string"==typeof n?n.length:0)),""}),t}function za(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 Pa(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 o=e.slice(0,2);if("+!"===o?(t.signDisplay="always",e=e.slice(2)):"+?"===o&&(t.signDisplay="exceptZero",e=e.slice(2)),!Va.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function qa(e){var t=za(e);return t||{}}function Da(e){for(var t={},o=0,n=e;o<n.length;o++){var l=n[o];switch(l.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=l.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=Ea(l.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=Ll(Ll(Ll({},t),{notation:"scientific"}),l.options.reduce(function(e,t){return Ll(Ll({},e),qa(t))},{}));continue;case"engineering":t=Ll(Ll(Ll({},t),{notation:"engineering"}),l.options.reduce(function(e,t){return Ll(Ll({},e),qa(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(l.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(l.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");l.options[0].replace(Ma,function(e,o,n,l,a,r){if(o)t.minimumIntegerDigits=n.length;else{if(l&&a)throw new Error("We currently do not support maximum integer digits");if(r)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Va.test(l.stem))t.minimumIntegerDigits=l.stem.length;else if(Na.test(l.stem)){if(l.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");l.stem.replace(Na,function(e,o,n,l,a,r){return"*"===n?t.minimumFractionDigits=o.length:l&&"#"===l[0]?t.maximumFractionDigits=l.length:a&&r?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+r.length):(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length),""});var a=l.options[0];"w"===a?t=Ll(Ll({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Ll(Ll({},t),Sa(a)))}else if(Ta.test(l.stem))t=Ll(Ll({},t),Sa(l.stem));else{var r=za(l.stem);r&&(t=Ll(Ll({},t),r));var i=Pa(l.stem);i&&(t=Ll(Ll({},t),i))}}return t}var Ia,$a={"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 Oa(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 o,n=e.language;return"root"!==n&&(o=e.maximize().region),($a[o||""]||$a[n||""]||$a["".concat(n,"-001")]||$a["001"])[0]}var Ha=new RegExp("^".concat(_a.source,"*")),Aa=new RegExp("".concat(_a.source,"*$"));function La(e,t){return{start:e,end:t}}var Za=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ra=!!String.fromCodePoint,Fa=!!Object.fromEntries,Ua=!!String.prototype.codePointAt,ja=!!String.prototype.trimStart,Ga=!!String.prototype.trimEnd,Qa=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ka=!0;try{Ka="a"===(null===(Ia=nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ia?void 0:Ia[0])}catch(Mx){Ka=!1}var Wa,Ya=Za?function(e,t,o){return e.startsWith(t,o)}:function(e,t,o){return e.slice(o,o+t.length)===t},Xa=Ra?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o,n="",l=e.length,a=0;l>a;){if((o=e[a++])>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(55296+((o-=65536)>>10),o%1024+56320)}return n},Ja=Fa?Object.fromEntries:function(e){for(var t={},o=0,n=e;o<n.length;o++){var l=n[o],a=l[0],r=l[1];t[a]=r}return t},er=Ua?function(e,t){return e.codePointAt(t)}:function(e,t){var o=e.length;if(!(t<0||t>=o)){var n,l=e.charCodeAt(t);return l<55296||l>56319||t+1===o||(n=e.charCodeAt(t+1))<56320||n>57343?l:n-56320+(l-55296<<10)+65536}},tr=ja?function(e){return e.trimStart()}:function(e){return e.replace(Ha,"")},or=Ga?function(e){return e.trimEnd()}:function(e){return e.replace(Aa,"")};function nr(e,t){return new RegExp(e,t)}if(Ka){var lr=nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Wa=function(e,t){var o;return lr.lastIndex=t,null!==(o=lr.exec(e)[1])&&void 0!==o?o:""}}else Wa=function(e,t){for(var o=[];;){var n=er(e,t);if(void 0===n||dr(n)||ur(n))break;o.push(n),t+=n>=65536?2:1}return Xa.apply(void 0,o)};var ar,rr,ir=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,o){for(var n=[];!this.isEOF();){var l=this.char();if(123===l){if((a=this.parseArgument(e,o)).err)return a;n.push(a.val)}else{if(125===l&&e>0)break;if(35!==l||"plural"!==t&&"selectordinal"!==t){if(60===l&&!this.ignoreTag&&47===this.peek()){if(o)break;return this.error(ta.UNMATCHED_CLOSING_TAG,La(this.clonePosition(),this.clonePosition()))}if(60===l&&!this.ignoreTag&&cr(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;n.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;n.push(a.val)}}else{var r=this.clonePosition();this.bump(),n.push({type:na.pound,location:La(r,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var o=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:na.literal,value:"<".concat(n,"/>"),location:La(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var l=this.parseMessage(e+1,t,!0);if(l.err)return l;var a=l.val,r=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!cr(this.char()))return this.error(ta.INVALID_TAG,La(r,this.clonePosition()));var i=this.clonePosition();return n!==this.parseTagName()?this.error(ta.UNMATCHED_CLOSING_TAG,La(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:na.tag,value:n,children:a,location:La(o,this.clonePosition())},err:null}:this.error(ta.INVALID_TAG,La(r,this.clonePosition())))}return this.error(ta.UNCLOSED_TAG,La(o,this.clonePosition()))}return this.error(ta.INVALID_TAG,La(o,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&sr(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var o=this.clonePosition(),n="";;){var l=this.tryParseQuote(t);if(l)n+=l;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var r=this.tryParseLeftAngleBracket();if(!r)break;n+=r}}}var i=La(o,this.clonePosition());return{val:{type:na.literal,value:n,location:i},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(cr(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 o=this.char();if(39===o){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(o);this.bump()}return Xa.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var o=this.char();return 60===o||123===o||35===o&&("plural"===t||"selectordinal"===t)||125===o&&e>0?null:(this.bump(),Xa(o))},e.prototype.parseArgument=function(e,t){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ta.EXPECT_ARGUMENT_CLOSING_BRACE,La(o,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ta.EMPTY_ARGUMENT,La(o,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ta.MALFORMED_ARGUMENT,La(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ta.EXPECT_ARGUMENT_CLOSING_BRACE,La(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:na.argument,value:n,location:La(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ta.EXPECT_ARGUMENT_CLOSING_BRACE,La(o,this.clonePosition())):this.parseArgumentOptions(e,t,n,o);default:return this.error(ta.MALFORMED_ARGUMENT,La(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),o=Wa(this.message,t),n=t+o.length;return this.bumpTo(n),{value:o,location:La(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,o,n){var l,a=this.clonePosition(),r=this.parseIdentifierIfPossible().value,i=this.clonePosition();switch(r){case"":return this.error(ta.EXPECT_ARGUMENT_TYPE,La(a,i));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=or(g.val)).length)return this.error(ta.EXPECT_ARGUMENT_STYLE,La(this.clonePosition(),this.clonePosition()));c={style:m,styleLocation:La(s,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var d=La(n,this.clonePosition());if(c&&Ya(null==c?void 0:c.style,"::",0)){var u=tr(c.style.slice(2));if("number"===r)return(g=this.parseNumberSkeletonFromString(u,c.styleLocation)).err?g:{val:{type:na.number,value:o,location:d,style:g.val},err:null};if(0===u.length)return this.error(ta.EXPECT_DATE_TIME_SKELETON,d);var p=u;this.locale&&(p=function(e,t){for(var o="",n=0;n<e.length;n++){var l=e.charAt(n);if("j"===l){for(var a=0;n+1<e.length&&e.charAt(n+1)===l;)a++,n++;var r=1+(1&a),i=a<2?1:3+(a>>1),c=Oa(t);for("H"!=c&&"k"!=c||(i=0);i-- >0;)o+="a";for(;r-- >0;)o=c+o}else o+="J"===l?"H":l}return o}(u,this.locale));var m={type:aa.dateTime,pattern:p,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Ba(p):{}};return{val:{type:"date"===r?na.date:na.time,value:o,location:d,style:m},err:null}}return{val:{type:"number"===r?na.number:"date"===r?na.date:na.time,value:o,location:d,style:null!==(l=null==c?void 0:c.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ta.EXPECT_SELECT_ARGUMENT_OPTIONS,La(f,Ll({},f)));this.bumpSpace();var h=this.parseIdentifierIfPossible(),v=0;if("select"!==r&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(ta.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,La(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(ta.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ta.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),h=this.parseIdentifierIfPossible(),v=g.val}var y,b=this.tryParsePluralOrSelectOptions(e,r,t,h);if(b.err)return b;if((y=this.tryParseArgumentClose(n)).err)return y;var x=La(n,this.clonePosition());return"select"===r?{val:{type:na.select,value:o,options:Ja(b.val),location:x},err:null}:{val:{type:na.plural,value:o,options:Ja(b.val),offset:v,pluralType:"plural"===r?"cardinal":"ordinal",location:x},err:null};default:return this.error(ta.INVALID_ARGUMENT_TYPE,La(a,i))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ta.EXPECT_ARGUMENT_CLOSING_BRACE,La(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 o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ta.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,La(o,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 o=[];try{o=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],o=0,n=e.split(Ca).filter(function(e){return e.length>0});o<n.length;o++){var l=n[o].split("/");if(0===l.length)throw new Error("Invalid number skeleton");for(var a=l[0],r=l.slice(1),i=0,c=r;i<c.length;i++)if(0===c[i].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:r})}return t}(e)}catch(n){return this.error(ta.INVALID_NUMBER_SKELETON,t)}return{val:{type:aa.number,tokens:o,location:t,parsedOptions:this.shouldParseSkeletons?Da(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,o,n){for(var l,a=!1,r=[],i=new Set,c=n.value,s=n.location;;){if(0===c.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(ta.EXPECT_PLURAL_ARGUMENT_SELECTOR,ta.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;s=La(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}if(i.has(c))return this.error("select"===t?ta.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ta.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===c&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ta.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ta.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,La(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,o);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;r.push([c,{value:m.val,location:La(p,this.clonePosition())}]),i.add(c),this.bumpSpace(),c=(l=this.parseIdentifierIfPossible()).value,s=l.location}return 0===r.length?this.error("select"===t?ta.EXPECT_SELECT_ARGUMENT_SELECTOR:ta.EXPECT_PLURAL_ARGUMENT_SELECTOR,La(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(ta.MISSING_OTHER_CLAUSE,La(this.clonePosition(),this.clonePosition())):{val:r,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var o=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var l=!1,a=0;!this.isEOF();){var r=this.char();if(!(r>=48&&r<=57))break;l=!0,a=10*a+(r-48),this.bump()}var i=La(n,this.clonePosition());return l?Qa(a*=o)?{val:a,err:null}:this.error(t,i):this.error(e,i)},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=er(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(Ya(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(),o=this.message.indexOf(e,t);return o>=0?(this.bumpTo(o),!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()&&dr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),o=this.message.charCodeAt(t+(e>=65536?2:1));return null!=o?o:null},e}();function cr(e){return e>=97&&e<=122||e>=65&&e<=90}function sr(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 dr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ur(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 pr(e){e.forEach(function(e){if(delete e.location,va(e)||ga(e))for(var t in e.options)delete e.options[t].location,pr(e.options[t].value);else ma(e)&&xa(e.style)||(fa(e)||ha(e))&&ka(e.style)?delete e.style.location:ba(e)&&pr(e.children)})}function mr(e,t){void 0===t&&(t={}),t=Ll({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var o=new ir(e,t).parse();if(o.err){var n=SyntaxError(ta[o.err.kind]);throw n.location=o.err.location,n.originalMessage=o.err.message,n}return(null==t?void 0:t.captureLocation)||pr(o.val),o.val}(rr=ar||(ar={})).MISSING_VALUE="MISSING_VALUE",rr.INVALID_VALUE="INVALID_VALUE",rr.MISSING_INTL_API="MISSING_INTL_API";var fr,hr,vr=function(e){function t(t,o,n){var l=e.call(this,t)||this;return l.code=o,l.originalMessage=n,l}return Ol(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),gr=function(e){function t(t,o,n,l){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(o,'". Options are "').concat(Object.keys(n).join('", "'),'"'),ar.INVALID_VALUE,l)||this}return Ol(t,e),t}(vr),yr=function(e){function t(t,o,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(o),ar.INVALID_VALUE,n)||this}return Ol(t,e),t}(vr),br=function(e){function t(t,o){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(o,'"'),ar.MISSING_VALUE,o)||this}return Ol(t,e),t}(vr);function xr(e){return"function"==typeof e}function kr(e,t,o,n,l,a,r){if(1===e.length&&ua(e[0]))return[{type:fr.literal,value:e[0].value}];for(var i=[],c=0,s=e;c<s.length;c++){var d=s[c];if(ua(d))i.push({type:fr.literal,value:d.value});else if(ya(d))"number"==typeof a&&i.push({type:fr.literal,value:o.getNumberFormat(t).format(a)});else{var u=d.value;if(!l||!(u in l))throw new br(u,r);var p=l[u];if(pa(d))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),i.push({type:"string"==typeof p?fr.literal:fr.object,value:p});else if(fa(d)){var m="string"==typeof d.style?n.date[d.style]:ka(d.style)?d.style.parsedOptions:void 0;i.push({type:fr.literal,value:o.getDateTimeFormat(t,m).format(p)})}else if(ha(d)){m="string"==typeof d.style?n.time[d.style]:ka(d.style)?d.style.parsedOptions:n.time.medium;i.push({type:fr.literal,value:o.getDateTimeFormat(t,m).format(p)})}else if(ma(d)){(m="string"==typeof d.style?n.number[d.style]:xa(d.style)?d.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),i.push({type:fr.literal,value:o.getNumberFormat(t,m).format(p)})}else{if(ba(d)){var f=d.children,h=d.value,v=l[h];if(!xr(v))throw new yr(h,"function",r);var g=v(kr(f,t,o,n,l,a).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),i.push.apply(i,g.map(function(e){return{type:"string"==typeof e?fr.literal:fr.object,value:e}}))}if(va(d)){if(!(y=d.options[p]||d.options.other))throw new gr(d.value,p,Object.keys(d.options),r);i.push.apply(i,kr(y.value,t,o,n,l))}else if(ga(d)){var y;if(!(y=d.options["=".concat(p)])){if(!Intl.PluralRules)throw new vr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ar.MISSING_INTL_API,r);var b=o.getPluralRules(t,{type:d.pluralType}).select(p-(d.offset||0));y=d.options[b]||d.options.other}if(!y)throw new gr(d.value,p,Object.keys(d.options),r);i.push.apply(i,kr(y.value,t,o,n,l,p-(d.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce(function(e,t){var o=e[e.length-1];return o&&o.type===fr.literal&&t.type===fr.literal?o.value+=t.value:e.push(t),e},[])}(i)}function _r(e,t){return t?Object.keys(e).reduce(function(o,n){var l,a;return o[n]=(l=e[n],(a=t[n])?Ll(Ll(Ll({},l||{}),a||{}),Object.keys(l).reduce(function(e,t){return e[t]=Ll(Ll({},l[t]),a[t]||{}),e},{})):l),o},Ll({},e)):e}function wr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}(hr=fr||(fr={}))[hr.literal=0]="literal",hr[hr.object=1]="object";var Br=function(){function e(t,o,n,l){void 0===o&&(o=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var o=t.reduce(function(e,t){return e.length&&t.type===fr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return o.length<=1?o[0]||"":o},this.formatToParts=function(e){return kr(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=a.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=o,this.resolvedLocale=e.resolveLocale(o),"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=l||{};r.formatters;var i=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(o[n[l]]=e[n[l]])}return o}(r,["formatters"]);this.ast=e.__parse(t,Ll(Ll({},i),{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=_r(e.formats,n),this.formatters=l&&l.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Wl(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.NumberFormat).bind.apply(e,Zl([void 0],t,!1)))},{cache:wr(e.number),strategy:da.variadic}),getDateTimeFormat:Wl(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.DateTimeFormat).bind.apply(e,Zl([void 0],t,!1)))},{cache:wr(e.dateTime),strategy:da.variadic}),getPluralRules:Wl(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.PluralRules).bind.apply(e,Zl([void 0],t,!1)))},{cache:wr(e.pluralRules),strategy:da.variadic})}}(this.formatterCache)}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=mr,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 Cr(e,t,o){return void 0===o&&(o={}),t.reduce(function(t,n){return n in e?t[n]=e[n]:n in o&&(t[n]=o[n]),t},{})}var Er={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 Nr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}function Tr(e,t,o,n){var l,a=e&&e[t];if(a&&(l=a[o]),l)return l;n(new Fl("No ".concat(t," format named: ").concat(o)))}var Mr=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Vr(e,t,o,n){var l=e.locale,a=e.formats,r=e.onError,i=e.timeZone;void 0===n&&(n={});var c=n.format,s=Ll(Ll({},i&&{timeZone:i}),c&&Tr(a,t,c,r)),d=Cr(n,Mr,s);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=Ll(Ll({},d),{hour:"numeric",minute:"numeric"})),o(l,d)}function Sr(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var l=o[0],a=o[1],r=void 0===a?{}:a,i="string"==typeof l?new Date(l||0):l;try{return Vr(e,"date",t,r).format(i)}catch(c){e.onError(new Gl("Error formatting date.",e.locale,c))}return String(i)}function zr(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var l=o[0],a=o[1],r=void 0===a?{}:a,i="string"==typeof l?new Date(l||0):l;try{return Vr(e,"time",t,r).format(i)}catch(c){e.onError(new Gl("Error formatting time.",e.locale,c))}return String(i)}function Pr(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var l=o[0],a=o[1],r=o[2],i=void 0===r?{}:r,c="string"==typeof l?new Date(l||0):l,s="string"==typeof a?new Date(a||0):a;try{return Vr(e,"dateTimeRange",t,i).formatRange(c,s)}catch(d){e.onError(new Gl("Error formatting date time range.",e.locale,d))}return String(c)}function qr(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var l=o[0],a=o[1],r=void 0===a?{}:a,i="string"==typeof l?new Date(l||0):l;try{return Vr(e,"date",t,r).formatToParts(i)}catch(c){e.onError(new Gl("Error formatting date.",e.locale,c))}return[]}function Dr(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];var l=o[0],a=o[1],r=void 0===a?{}:a,i="string"==typeof l?new Date(l||0):l;try{return Vr(e,"time",t,r).formatToParts(i)}catch(c){e.onError(new Gl("Error formatting time.",e.locale,c))}return[]}var Ir=["style","type","fallback","languageDisplay"];function $r(e,t,o,n){var l=e.locale,a=e.onError;Intl.DisplayNames||a(new vr('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',ar.MISSING_INTL_API));var r=Cr(n,Ir);try{return t(l,r).of(o)}catch(i){a(new Gl("Error formatting display name.",l,i))}}var Or=["type","style"],Hr=Date.now();function Ar(e,t,o,n){void 0===n&&(n={});var l=Lr(e,t,o,n).reduce(function(e,t){var o=t.value;return"string"!=typeof o?e.push(o):"string"==typeof e[e.length-1]?e[e.length-1]+=o:e.push(o),e},[]);return 1===l.length?l[0]:0===l.length?"":l}function Lr(e,t,o,n){var l=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new vr('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',ar.MISSING_INTL_API));var r=Cr(n,Or);try{var i={},c=Array.from(o).map(function(e,t){if("object"==typeof e&&null!==e){var o=function(e){return"".concat(Hr,"_").concat(e,"_").concat(Hr)}(t);return i[o]=e,o}return String(e)});return t(l,r).formatToParts(c).map(function(e){return"literal"===e.type?e:Ll(Ll({},e),{value:i[e.value]||e.value})})}catch(s){a(new Gl("Error formatting list.",l,s))}return o}function Zr(e,t){return Object.keys(e).reduce(function(o,n){return o[n]=Ll({timeZone:t},e[n]),o},{})}function Rr(e,t){return Object.keys(Ll(Ll({},e),t)).reduce(function(o,n){return o[n]=Ll(Ll({},e[n]||{}),t[n]||{}),o},{})}function Fr(e,t){if(!t)return e;var o=Br.formats;return Ll(Ll(Ll({},o),e),{date:Rr(Zr(o.date,t),Zr(e.date||{},t)),time:Rr(Zr(o.time,t),Zr(e.time||{},t))})}var Ur=function(e,t,o,n,l){var a=e.locale,r=e.formats,i=e.messages,c=e.defaultLocale,s=e.defaultFormats,d=e.fallbackOnEmptyString,u=e.onError,p=e.timeZone,m=e.defaultRichTextElements;void 0===o&&(o={id:""});var f=o.id,h=o.defaultMessage;!function(e,t,o){if(void 0===o&&(o=Error),!e)throw new o(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=i&&Object.prototype.hasOwnProperty.call(i,v)&&i[v];if(Array.isArray(g)&&1===g.length&&g[0].type===na.literal)return g[0].value;if(!n&&g&&"string"==typeof g&&!m)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=Ll(Ll({},m),n||{}),r=Fr(r,p),s=Fr(s,p),!g){if(!1===d&&""===g)return g;if((!h||a&&a.toLowerCase()!==c.toLowerCase())&&u(new Kl(o,a)),h)try{return t.getMessageFormat(h,c,s,l).format(n)}catch(y){return u(new Ql('Error formatting default message for: "'.concat(v,'", rendering default message verbatim'),a,o,y)),"string"==typeof h?h:v}return v}try{return t.getMessageFormat(g,a,r,Ll({formatters:t},l||{})).format(n)}catch(y){u(new Ql('Error formatting message: "'.concat(v,'", using ').concat(h?"default message":"id"," as fallback."),a,o,y))}if(h)try{return t.getMessageFormat(h,c,s,l).format(n)}catch(y){u(new Ql('Error formatting the default message for: "'.concat(v,'", rendering message verbatim'),a,o,y))}return"string"==typeof g?g:"string"==typeof h?h:v},jr=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Gr(e,t,o){var n=e.locale,l=e.formats,a=e.onError;void 0===o&&(o={});var r=o.format,i=r&&Tr(l,"number",r,a)||{};return t(n,Cr(o,jr,i))}function Qr(e,t,o,n){void 0===n&&(n={});try{return Gr(e,t,n).format(o)}catch(l){e.onError(new Gl("Error formatting number.",e.locale,l))}return String(o)}function Kr(e,t,o,n){void 0===n&&(n={});try{return Gr(e,t,n).formatToParts(o)}catch(l){e.onError(new Gl("Error formatting number.",e.locale,l))}return[]}var Wr=["type"];function Yr(e,t,o,n){var l=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new vr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ar.MISSING_INTL_API));var r=Cr(n,Wr);try{return t(l,r).select(o)}catch(i){a(new Gl("Error formatting plural.",l,i))}return"other"}var Xr=["numeric","style"];function Jr(e,t,o,n,l){void 0===l&&(l={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new vr('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',ar.MISSING_INTL_API));try{return function(e,t,o){var n=e.locale,l=e.formats,a=e.onError;void 0===o&&(o={});var r=o.format,i=!!r&&Tr(l,"relative",r,a)||{};return t(n,Cr(o,Xr,i))}(e,t,l).format(o,n)}catch(a){e.onError(new Gl("Error formatting relative time.",e.locale,a))}return String(o)}function ei(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 ti(e,t){var o=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,o=Intl.ListFormat,n=Intl.DisplayNames,l=Wl(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.DateTimeFormat).bind.apply(e,Zl([void 0],t,!1)))},{cache:Nr(e.dateTime),strategy:da.variadic}),a=Wl(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.NumberFormat).bind.apply(e,Zl([void 0],t,!1)))},{cache:Nr(e.number),strategy:da.variadic}),r=Wl(function(){for(var e,t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return new((e=Intl.PluralRules).bind.apply(e,Zl([void 0],t,!1)))},{cache:Nr(e.pluralRules),strategy:da.variadic});return{getDateTimeFormat:l,getNumberFormat:a,getMessageFormat:Wl(function(e,t,o,n){return new Br(e,t,o,Ll({formatters:{getNumberFormat:a,getDateTimeFormat:l,getPluralRules:r}},n||{}))},{cache:Nr(e.message),strategy:da.variadic}),getRelativeTimeFormat:Wl(function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return new(t.bind.apply(t,Zl([void 0],e,!1)))},{cache:Nr(e.relativeTime),strategy:da.variadic}),getPluralRules:r,getListFormat:Wl(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(o.bind.apply(o,Zl([void 0],e,!1)))},{cache:Nr(e.list),strategy:da.variadic}),getDisplayNames:Wl(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Zl([void 0],e,!1)))},{cache:Nr(e.displayNames),strategy:da.variadic})}}(t),n=Ll(Ll({},Er),e),l=n.locale,a=n.defaultLocale,r=n.onError;return l?!Intl.NumberFormat.supportedLocalesOf(l).length&&r?r(new jl('Missing locale data for locale: "'.concat(l,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(l).length&&r&&r(new jl('Missing locale data for locale: "'.concat(l,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(r&&r(new Ul('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),ei(n),Ll(Ll({},n),{formatters:o,formatNumber:Qr.bind(null,n,o.getNumberFormat),formatNumberToParts:Kr.bind(null,n,o.getNumberFormat),formatRelativeTime:Jr.bind(null,n,o.getRelativeTimeFormat),formatDate:Sr.bind(null,n,o.getDateTimeFormat),formatDateToParts:qr.bind(null,n,o.getDateTimeFormat),formatTime:zr.bind(null,n,o.getDateTimeFormat),formatDateTimeRange:Pr.bind(null,n,o.getDateTimeFormat),formatTimeToParts:Dr.bind(null,n,o.getDateTimeFormat),formatPlural:Yr.bind(null,n,o.getPluralRules),formatMessage:Ur.bind(null,n,o),$t:Ur.bind(null,n,o),formatList:Ar.bind(null,n,o.getListFormat),formatListToParts:Lr.bind(null,n,o.getListFormat),formatDisplayName:$r.bind(null,n,o.getDisplayNames)})}const oi=Symbol(),ni={hour:"2-digit",minute:"2-digit",second:"2-digit"},li=e=>e.includes("US"),ai={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},ri=()=>{const t=e.inject(oi);if(!t)throw new Error("IntlProvider is not provided");return t},ii={"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"}},ci=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 o=t,n=e.computed(()=>ii[o.color][o.dark?"baseDark":"base"]),l=e.computed(()=>ii[o.color].text),a=e.computed(()=>ii[o.color].border);return(o,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(o.$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,[n.value]:!!n.value&&"outline"!==t.variant,"border bg-transparent":"outline"===t.variant,[a.value]:"outline"===t.variant&&!!a.value}]}),{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass([[l.value,t.textClass,"xs"===t.size?"text-[11px]":"text-xs"],"flex-grow text-center"])},[e.renderSlot(o.$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,[n.value]:!!n.value},"flex aspect-square h-full items-center justify-center rounded"]),type:"button",title:"Remove",onClick:r[0]||(r[0]=e=>o.$emit("removed"))},[e.createVNode(e.unref(Ue),{class:e.normalizeClass(l.value),icon:"close",size:"xs"},null,8,["class"])],2)):e.createCommentVNode("",!0)]),_:3},16,["class"]))}}),si=e.defineComponent({__name:"PaymentMethodDefaultChip",props:{isDefault:{type:Boolean}},setup(t){const o=ri();return(n,l)=>t.isDefault?(e.openBlock(),e.createBlock(ci,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({defaultMessage:"Default",description:"The textual label for the default payment method chip",id:"payment_methods.default_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),di=e.defineComponent({__name:"PaymentMethodInactiveChip",props:{isInactive:{type:Boolean}},setup(t){const o=ri();return(n,l)=>t.isInactive?(e.openBlock(),e.createBlock(ci,{key:0,class:"mt-1 self-start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({defaultMessage:"Inactive",description:"The textual label for the inactive payment method chip",id:"payment_methods.inactive_chip.label"})),1)]),_:1})):e.createCommentVNode("",!0)}}),ui={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"}},pi={class:"flex h-full grow flex-col justify-center"},mi=e.defineComponent({__name:"PaymentMethodBuyNowPayLater",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const n=t,l=e.computed(()=>{var e;return(null==(e=n.paymentMethod.buy_now_pay_later)?void 0:e.variant)?ui[n.paymentMethod.buy_now_pay_later.variant]:void 0});return(n,a)=>{var r,i,c;return e.openBlock(),e.createBlock(zl,{"image-src":(null==(r=l.value)?void 0:r.logo)??e.unref(Cl),"image-alt":null==(c=null==(i=l.value)?void 0:i.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",pi,[e.createVNode(o,{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=l.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(si,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(di,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),fi={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"},hi={class:"flex h-full grow flex-col justify-center"},vi=e.defineComponent({__name:"PaymentMethodCard",props:{paymentMethod:{},isDefault:{type:Boolean},i18n:{},options:{},variant:{default:"default"}},setup(t){const n=t,l=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?fi[n.paymentMethod.card.brand]:Cl);return(n,r)=>{var i;return e.openBlock(),e.createBlock(zl,{"image-src":a.value,"image-alt":null==(i=t.paymentMethod.card.brand)?void 0:i.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",hi,[e.createVNode(o,{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&&l.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(si,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(di,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),gi={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"}},yi={class:"flex h-full grow flex-col justify-center"},bi=e.defineComponent({__name:"PaymentMethodDigitalWallet",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const n=t,l=e.computed(()=>{var e;return(null==(e=n.paymentMethod.digital_wallet)?void 0:e.variant)?gi[n.paymentMethod.digital_wallet.variant]:void 0});return(n,a)=>{var r,i,c;return e.openBlock(),e.createBlock(zl,{"image-src":(null==(r=l.value)?void 0:r.logo)??e.unref(Cl),"image-alt":null==(c=null==(i=l.value)?void 0:i.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",yi,[e.createVNode(o,{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=l.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(si,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(di,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),xi={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"}},ki={class:"flex h-full grow flex-col justify-center"},_i=e.defineComponent({__name:"PaymentMethodDirectDebit",props:{paymentMethod:{},isDefault:{type:Boolean},options:{},variant:{default:"default"}},setup(t){const n=t,l=e.computed(()=>{var e;return(null==(e=n.paymentMethod.direct_debit)?void 0:e.variant)?xi[n.paymentMethod.direct_debit.variant]:void 0});return(n,a)=>{var r,i,c;return e.openBlock(),e.createBlock(zl,{"image-src":(null==(r=l.value)?void 0:r.logo)??e.unref(Cl),"image-alt":null==(c=null==(i=l.value)?void 0:i.name)?void 0:c.toLowerCase(),variant:t.variant,options:t.options,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",ki,[e.createVNode(o,{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=l.value)?void 0:t.name),1)]}),_:1},8,["variant","shade"]),e.createVNode(si,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(di,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-src","image-alt","variant","options","is-inactive"])}}}),wi={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"}},Bi={class:"flex h-full grow flex-col justify-center"},Ci=e.defineComponent({__name:"PaymentMethodOnlineBanking",props:{paymentMethod:{},i18n:{},isDefault:{type:Boolean},variant:{default:"default"}},setup(t){const n=t,l=e.computed(()=>{var e;return(null==(e=n.paymentMethod.online_banking)?void 0:e.variant)?wi[n.paymentMethod.online_banking.variant]:void 0});return(n,a)=>{var r,i,c;return e.openBlock(),e.createBlock(zl,{"image-alt":(null==(r=l.value)?void 0:r.name)??(null==(i=t.i18n)?void 0:i.imageAlt)??"Bank transfer","image-src":(null==(c=l.value)?void 0:c.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,"is-inactive":"INACTIVE"===t.paymentMethod.status},{default:e.withCtx(()=>[e.createElementVNode("div",Bi,[e.createVNode(o,{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 o;return[e.createTextVNode(e.toDisplayString(null==(o=l.value)?void 0:o.name)+" ",1),"SETUP"===t.paymentMethod.status?(e.openBlock(),e.createBlock(ci,{key:0,size:"sm",class:"font-normal ml-1"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.pendingLabel)??"Pending"),1)]}),_:1})):e.createCommentVNode("",!0)]}),_:1},8,["variant","shade"]),"default"===t.variant?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>{var o,n;return[e.createTextVNode(e.toDisplayString((null==(o=t.paymentMethod.online_banking)?void 0:o.iban)??(null==(n=t.i18n)?void 0:n.onlineBankingLabel)??"Online banking"),1)]}),_:1})):e.createCommentVNode("",!0),e.createVNode(si,{"is-default":t.isDefault},null,8,["is-default"]),e.createVNode(di,{"is-inactive":"INACTIVE"===t.paymentMethod.status},null,8,["is-inactive"])])]),_:1},8,["image-alt","image-src","variant","is-inactive"])}}}),Ei=e.defineComponent({__name:"PaymentMethod",props:{paymentMethod:{},variant:{},i18n:{}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,["CARD"===t.paymentMethod.type?(e.openBlock(),e.createBlock(vi,e.mergeProps({key:0},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"ONLINE_BANKING"===t.paymentMethod.type?(e.openBlock(),e.createBlock(Ci,e.mergeProps({key:1},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"BUY_NOW_PAY_LATER"===t.paymentMethod.type?(e.openBlock(),e.createBlock(mi,e.mergeProps({key:2},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"DIRECT_DEBIT"===t.paymentMethod.type?(e.openBlock(),e.createBlock(_i,e.mergeProps({key:3},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0),"DIGITAL_WALLET"===t.paymentMethod.type?(e.openBlock(),e.createBlock(bi,e.mergeProps({key:4},o.$attrs,{"payment-method":t.paymentMethod,variant:t.variant,"is-default":t.paymentMethod.is_default}),null,16,["payment-method","variant","is-default"])):e.createCommentVNode("",!0)],64))}),Ni=()=>{const t=e.ref(!1);return e.onMounted(()=>{t.value=!0}),t},Ti=t=>{const o=(null==t?void 0:t.initialToggledItems)??[],n=(null==t?void 0:t.closeOthers)??!1,l=e.ref(o??[]);return{toggledItems:l,toggle:e=>((e,t=!1)=>{const o=l.value.find(t=>t===e);l.value=t?e===o?[]:[e]:o?l.value.filter(t=>t!==e):[...l.value,e]})(e,n),getIsOpen:e=>l.value.includes(e),toggleAll:e=>{0!==e.length&&(l.value.length===e.length?l.value=[]:l.value=e)}}},Mi=(t=[])=>{const o=e.ref(t);return[o,e=>{const t=o.value.find(t=>t===e);o.value="number"==typeof t?o.value.filter(t=>t!==e):[...o.value,e]}]};function Vi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function Si(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vi(Object(o),!0).forEach(function(t){zi(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vi(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function zi(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Pi(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.keys(t).reduce((n,l)=>(o.includes(l)||(n[l]=e.unref(t[l])),n),{})}function qi(e){return"function"==typeof e}function Di(e,t,o){let n=e;const l=t.split(".");for(let a=0;a<l.length;a++){if(!n[l[a]])return o;n=n[l[a]]}return n}function Ii(t,o,n){return e.computed(()=>t.some(e=>Di(o,e,{[n]:!1})[n]))}function $i(t,o,n){return e.computed(()=>t.reduce((e,t)=>{const l=Di(o,t,{[n]:!1})[n]||[];return e.concat(l)},[]))}function Oi(t,o,n,l){return t.call(l,e.unref(o),e.unref(n),l)}function Hi(e){return void 0!==e.$valid?!e.$valid:!e}function Ai(t,o,n,l,a,r,i,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,o,n,l,a,r,i){let{$lazy:c,$rewardEarly:s}=a,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(!!l.value),h=e.ref(0);n.value=!1;const v=e.watch([o,l].concat(d,m),()=>{if(c&&!l.value||s&&!p.value&&!n.value)return;let e;try{e=Oi(t,o,u,i)}catch(a){e=Promise.reject(a)}h.value++,n.value=!!h.value,f.value=!1,Promise.resolve(e).then(e=>{h.value--,n.value=!!h.value,r.value=e,f.value=Hi(e)}).catch(e=>{h.value--,n.value=!!h.value,r.value=e,f.value=!0})},{immediate:!0,deep:"object"==typeof o});return{$invalid:f,$unwatch:v}}(t.$validator,o,p,n,l,f,a,t.$watchTargets,s,d,u)):({$invalid:h,$unwatch:v}=function(t,o,n,l,a,r,i,c){let{$lazy:s,$rewardEarly:d}=l;const u=e.computed(()=>{if(s&&!n.value||d&&!c.value)return!1;let e=!0;try{const n=Oi(t,o,i,r);a.value=n,e=Hi(n)}catch(l){a.value=l}return e});return{$unwatch:()=>({}),$invalid:u}}(t.$validator,o,n,l,f,a,s,d));const g=t.$message;return{$message:qi(g)?e.computed(()=>g(Pi({$pending:p,$invalid:h,$params:Pi(m),$model:o,$response:f,$validator:r,$propertyPath:c,$property:i}))):g||"",$params:m,$pending:p,$invalid:h,$response:f,$unwatch:v}}function Li(t){let{validations:o,state:n,key:l,parentKey:a,childResults:r,resultsCache:i,globalConfig:c={},instance:s,externalResults:d}=t;const u=a?`${a}.${l}`:l,{rules:p,nestedValidators:m,config:f,validationGroups:h}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=e.unref(t),n=Object.keys(o),l={},a={},r={};let i=null;return n.forEach(e=>{const t=o[e];switch(!0){case qi(t.$validator):l[e]=t;break;case qi(t):l[e]={$validator:t};break;case"$validationGroups"===e:i=t;break;case e.startsWith("$"):r[e]=t;break;default:a[e]=t}}),{rules:l,nestedValidators:a,config:r,validationGroups:i}}(o),v=Si(Si({},c),f),g=l?e.computed(()=>{const t=e.unref(n);return t?e.unref(t[l]):void 0}):n,y=Si({},e.unref(d)||{}),b=e.computed(()=>{const t=e.unref(d);return l?t?e.unref(t[l]):void 0:t}),x=function(t,o,n,l,a,r,i,c,s){const d=Object.keys(t),u=l.get(a,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:a,$touch:()=>{p.value||(p.value=!0)},$reset:()=>{p.value&&(p.value=!1)},$commit:()=>{}};return d.length?(d.forEach(e=>{h[e]=Ai(t[e],o,h.$dirty,r,i,e,n,a,s,m,f)}),h.$externalResults=e.computed(()=>c.value?[].concat(c.value).map((e,t)=>({$propertyPath:a,$property:n,$validator:"$externalResults",$uid:`${a}-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 o=h[t];return e.reactive({$propertyPath:a,$property:n,$validator:t,$uid:`${a}-${t}`,$message:o.$message,$params:o.$params,$response:o.$response,$pending:o.$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()},l.set(a,t,h),h):(u&&l.set(a,t,h),h)}(p,g,l,i,u,v,s,b,n),k=function(e,t,o,n,l,a,r){const i=Object.keys(e);return i.length?i.reduce((i,c)=>(i[c]=Li({validations:e[c],state:t,key:c,parentKey:o,resultsCache:n,globalConfig:l,instance:a,externalResults:r}),i),{}):{}}(m,g,u,i,v,s,b),_={};h&&Object.entries(h).forEach(e=>{let[t,o]=e;_[t]={$invalid:Ii(o,k,"$invalid"),$error:Ii(o,k,"$error"),$pending:Ii(o,k,"$pending"),$errors:$i(o,k,"$errors"),$silentErrors:$i(o,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,o,n){const l=e.computed(()=>[o,n].filter(e=>e).reduce((t,o)=>t.concat(Object.values(e.unref(o))),[])),a=e.computed({get:()=>t.$dirty.value||!!l.value.length&&l.value.every(e=>e.$dirty),set(e){t.$dirty.value=e}}),r=e.computed(()=>{const o=e.unref(t.$silentErrors)||[],n=l.value.filter(t=>(e.unref(t).$silentErrors||[]).length).reduce((e,t)=>e.concat(...t.$silentErrors),[]);return o.concat(n)}),i=e.computed(()=>{const o=e.unref(t.$errors)||[],n=l.value.filter(t=>(e.unref(t).$errors||[]).length).reduce((e,t)=>e.concat(...t.$errors),[]);return o.concat(n)}),c=e.computed(()=>l.value.some(e=>e.$invalid)||e.unref(t.$invalid)||!1),s=e.computed(()=>l.value.some(t=>e.unref(t.$pending))||e.unref(t.$pending)||!1),d=e.computed(()=>l.value.some(e=>e.$dirty)||l.value.some(e=>e.$anyDirty)||a.value),u=e.computed(()=>!!a.value&&(s.value||c.value)),p=()=>{t.$touch(),l.value.forEach(e=>{e.$touch()})};return l.value.length&&l.value.every(e=>e.$dirty)&&p(),{$dirty:a,$errors:i,$invalid:c,$anyDirty:d,$error:u,$pending:s,$touch:p,$reset:()=>{t.$reset(),l.value.forEach(e=>{e.$reset()})},$silentErrors:r,$commit:()=>{t.$commit(),l.value.forEach(e=>{e.$commit()})}}}(x,k,r),P=l?e.computed({get:()=>e.unref(g),set:t=>{w.value=!0;const o=e.unref(n),a=e.unref(d);a&&(a[l]=y[l]),e.isRef(o[l])?o[l].value=t:o[l]=t}}):null;return l&&v.$autoDirty&&e.watch(g,()=>{w.value||M();const t=e.unref(d);t&&(t[l]=y[l])},{flush:"sync"}),e.reactive(Si(Si(Si({},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 o=e.watch(T,()=>{t(!C.value),o()})})},$commit:z},r&&{$getResultsForChild:function(e){return(r.value||{})[e]},$clearExternalResults:function(){e.isRef(d)?d.value=y:0===Object.keys(y).length?Object.keys(d).forEach(e=>{delete d[e]}):Object.assign(d,y)},$validationGroups:_}),k))}class Zi{constructor(){this.storage=new Map}set(e,t,o){this.storage.set(e,{rules:t,result:o})}checkRulesValidity(t,o,n){const l=Object.keys(n),a=Object.keys(o);if(a.length!==l.length)return!1;return!!a.every(e=>l.includes(e))&&a.every(t=>!o[t].$params||Object.keys(o[t].$params).every(l=>e.unref(n[t].$params[l])===e.unref(o[t].$params[l])))}get(e,t){const o=this.storage.get(e);if(!o)return;const{rules:n,result:l}=o,a=this.checkRulesValidity(e,t,n),r=l.$unwatch?l.$unwatch:()=>({});return a?l:{$dirty:l.$dirty,$partial:!0,$unwatch:r}}}const Ri={COLLECT_ALL:!0,COLLECT_NONE:!1},Fi=Symbol("vuelidate#injectChildResults"),Ui=Symbol("vuelidate#removeChildResults");function ji(t){return new Proxy(t,{get:(t,o)=>"object"==typeof t[o]?ji(t[o]):e.computed(()=>t[o])})}let Gi=0;function Qi(t,o){var n;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};1===arguments.length&&(l=t,t=void 0,o=void 0);let{$registerAs:a,$scope:r=Ri.COLLECT_ALL,$stopPropagation:i,$externalResults:c,currentVueInstance:s}=l;const d=s||(null===(n=e.getCurrentInstance())||void 0===n?void 0:n.proxy),u=d?d.$options:{};a||(Gi+=1,a=`_vuelidate_${Gi}`);const p=e.ref({}),m=new Zi,{childResults:f,sendValidationResultsToParent:h,removeValidationResultsFromParent:v}=d?function(t){let{$scope:o,instance:n}=t;const l={},a=e.ref([]),r=e.computed(()=>a.value.reduce((t,o)=>(t[o]=e.unref(l[o]),t),{}));n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],function(e,t){let{$registerAs:n,$scope:r,$stopPropagation:i}=t;i||o===Ri.COLLECT_NONE||r===Ri.COLLECT_NONE||o!==Ri.COLLECT_ALL&&o!==r||(l[n]=e,a.value.push(n))}),n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],function(e){a.value=a.value.filter(t=>t!==e),delete l[e]});const i=e.inject(Fi,[]);e.provide(Fi,n.__vuelidateInjectInstances);const c=e.inject(Ui,[]);return e.provide(Ui,n.__vuelidateRemoveInstances),{childResults:r,sendValidationResultsToParent:i,removeValidationResultsFromParent:c}}({$scope:r,instance:d}):{childResults:e.ref({})};if(!t&&u.validations){const t=u.validations;o=e.ref({}),e.onBeforeMount(()=>{o.value=d,e.watch(()=>qi(t)?t.call(o.value,new ji(o.value)):t,e=>{p.value=Li({validations:e,state:o,childResults:f,resultsCache:m,globalConfig:l,instance:d,externalResults:c||d.vuelidateExternalResults})},{immediate:!0})}),l=u.validationsConfig||l}else{const n=e.isRef(t)||(g=t,e.isReactive(g)||e.isReadonly(g))?t:e.reactive(t||{});e.watch(n,e=>{p.value=Li({validations:e,state:o,childResults:f,resultsCache:m,globalConfig:l,instance:null!=d?d:{},externalResults:c})},{immediate:!0})}var g;return d&&(h.forEach(e=>e(p,{$registerAs:a,$scope:r,$stopPropagation:i})),e.onBeforeUnmount(()=>v.forEach(e=>e(a)))),e.computed(()=>Si(Si({},e.unref(p.value)),f.value))}function Ki(){const{$t:t}=ri(),o=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:o,formatTimePeriod:(e,t={short:!1,hideValueForExactPeriods:!1,singular:!1})=>{const n=e.value??1,l=o.value[e.type].literal[t.singular||1===+n?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===n?l:`${n} ${l}`}`},formatTimePeriodLiteral:(e,t={singular:!1})=>o.value[e].literal[t.singular?"singular":"plural"]}}function Wi(e){var t=this.__data__=new vn(e);this.size=t.size}Wi.prototype.clear=function(){this.__data__=new vn,this.size=0},Wi.prototype.delete=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o},Wi.prototype.get=function(e){return this.__data__.get(e)},Wi.prototype.has=function(e){return this.__data__.has(e)},Wi.prototype.set=function(e,t){var o=this.__data__;if(o instanceof vn){var n=o.__data__;if(!Y||n.length<199)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new yn(n)}return o.set(e,t),this.size=o.size,this};function Yi(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new yn;++t<o;)this.add(e[t])}function Xi(e,t){for(var o=-1,n=null==e?0:e.length;++o<n;)if(t(e[o],o,e))return!0;return!1}function Ji(e,t){return e.has(t)}Yi.prototype.add=Yi.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Yi.prototype.has=function(e){return this.__data__.has(e)};function ec(e,t,o,n,l,a){var r=1&o,i=e.length,c=t.length;if(i!=c&&!(r&&c>i))return!1;var s=a.get(e),d=a.get(t);if(s&&d)return s==t&&d==e;var u=-1,p=!0,m=2&o?new Yi:void 0;for(a.set(e,t),a.set(t,e);++u<i;){var f=e[u],h=t[u];if(n)var v=r?n(h,f,u,t,e,a):n(f,h,u,e,t,a);if(void 0!==v){if(v)continue;p=!1;break}if(m){if(!Xi(t,function(e,t){if(!Ji(m,t)&&(f===e||l(f,e,o,n,a)))return m.push(t)})){p=!1;break}}else if(f!==h&&!l(f,h,o,n,a)){p=!1;break}}return a.delete(e),a.delete(t),p}var tc=d.Uint8Array;function oc(e){var t=-1,o=Array(e.size);return e.forEach(function(e,n){o[++t]=[n,e]}),o}function nc(e){var t=-1,o=Array(e.size);return e.forEach(function(e){o[++t]=e}),o}var lc=u?u.prototype:void 0,ac=lc?lc.valueOf:void 0;function rc(e,t,o){var n=t(e);return m(e)?n:An(n,o(e))}function ic(){return[]}var cc=Object.prototype.propertyIsEnumerable,sc=Object.getOwnPropertySymbols,dc=sc?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var o=-1,n=null==e?0:e.length,l=0,a=[];++o<n;){var r=e[o];t(r,o,e)&&(a[l++]=r)}return a}(sc(e),function(t){return cc.call(e,t)}))}:ic;var uc=Object.prototype.hasOwnProperty;function pc(e,t){var o=m(e),n=!o&&ve(e),l=!o&&!n&&_e(e),a=!o&&!n&&!l&&Ve(e),r=o||n||l||a,i=r?function(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}(e.length,String):[],c=i.length;for(var s in e)!t&&!uc.call(e,s)||r&&("length"==s||l&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||qn(s,c))||i.push(s);return i}function mc(e){return ye(e)?pc(e):q(e)}function fc(e){return rc(e,mc,dc)}var hc=Object.prototype.hasOwnProperty;var vc="[object Arguments]",gc="[object Array]",yc="[object Object]",bc=Object.prototype.hasOwnProperty;function xc(e,t,o,n,l,a){var r=m(e),i=m(t),c=r?gc:ue(e),s=i?gc:ue(t),d=(c=c==vc?yc:c)==yc,u=(s=s==vc?yc:s)==yc,p=c==s;if(p&&_e(e)){if(!_e(t))return!1;r=!0,d=!1}if(p&&!d)return a||(a=new Wi),r||Ve(e)?ec(e,t,o,n,l,a):function(e,t,o,n,l,a,r){switch(o){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!a(new tc(e),new tc(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return mn(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var i=oc;case"[object Set]":var c=1&n;if(i||(i=nc),e.size!=t.size&&!c)return!1;var s=r.get(e);if(s)return s==t;n|=2,r.set(e,t);var d=ec(i(e),i(t),n,l,a,r);return r.delete(e),d;case"[object Symbol]":if(ac)return ac.call(e)==ac.call(t)}return!1}(e,t,c,o,n,l,a);if(!(1&o)){var f=d&&bc.call(e,"__wrapped__"),h=u&&bc.call(t,"__wrapped__");if(f||h){var v=f?e.value():e,g=h?t.value():t;return a||(a=new Wi),l(v,g,o,n,a)}}return!!p&&(a||(a=new Wi),function(e,t,o,n,l,a){var r=1&o,i=fc(e),c=i.length;if(c!=fc(t).length&&!r)return!1;for(var s=c;s--;){var d=i[s];if(!(r?d in t:hc.call(t,d)))return!1}var u=a.get(e),p=a.get(t);if(u&&p)return u==t&&p==e;var m=!0;a.set(e,t),a.set(t,e);for(var f=r;++s<c;){var h=e[d=i[s]],v=t[d];if(n)var g=r?n(v,h,d,t,e,a):n(h,v,d,e,t,a);if(!(void 0===g?h===v||l(h,v,o,n,a):g)){m=!1;break}f||(f="constructor"==d)}if(m&&!f){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(m=!1)}return a.delete(e),a.delete(t),m}(e,t,o,n,l,a))}function kc(e,t,o,n,l){return e===t||(null==e||null==t||!k(e)&&!k(t)?e!=e&&t!=t:xc(e,t,o,n,kc,l))}function _c(e,t){return kc(e,t)}const wc=(e,t)=>e.find(e=>e.currency===t),Bc=(e,t)=>{var o,n;return null==(n=null==(o=e.find(e=>e.currency===t))?void 0:o.configs)?void 0:n[0]},Cc=(e,t)=>{var o,n;return null==(n=null==(o=e.find(e=>_c(e.billing_period,t)))?void 0:o.configs)?void 0:n[0]},Ec=e=>{if(!e)return"";const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)},Nc={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"}},Tc=(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),Mc=e=>Ec((e??"").replace(/_/g," ")),Vc=(e,t={short:!1,hideValueForExactPeriods:!1,prefix:"every"})=>{const o=e.value??1,n=Nc[e.type].literal[1===+o?"singular":"plural"].toLowerCase();return`${t.prefix&&!t.short?`${t.prefix} `:""}${t.hideValueForExactPeriods&&1===o?n:`${o} ${n}`}`};function Sc({currency:e,billingPeriod:t}={}){const{$t:o}=ri(),{formatTimePeriod:n}=Ki();return{renderPricingForPricingItem:({pricingItem:l})=>{var a,r,i,c,s,d,u,p,m,f,h;const v=null==(a=l.product_items)?void 0:a[0],g=function({pricingItem:e,currency:t,billingPeriod:o}){var n,l,a,r,i,c;if(null==(n=e.pricing_currency_configs)?void 0:n.length){const n=wc(e.pricing_currency_configs,t);if((null==(l=null==n?void 0:n.billing_period_configs)?void 0:l.length)&&o){const e=Cc(n.billing_period_configs,o);if(e)return e}if(n){const t=n.fallback_currency;if(t){const o=Bc(e.pricing_currency_configs,t);if(o)return o}if(null==(a=n.configs)?void 0:a.length)return n.configs[0]}}if(null==(r=e.billing_period_configs)?void 0:r.length){const t=Cc(e.billing_period_configs,o);if(t)return t}if(null==(i=e.configs)?void 0:i.length)return null==(c=e.configs)?void 0:c[0]}({pricingItem:l,currency:null==e?void 0:e.value,billingPeriod:null==t?void 0:t.value});return g?"PER_SEAT"===(null==v?void 0:v.model_type)?o({defaultMessage:"Per seat",id:"pricing_item_pricing.per_seat",description:"The pricing item pricing for a per seat pricing item"}):"ONE_OFF"===(null==v?void 0:v.model_type)&&(null==(i=null==(r=g.bands)?void 0:r[0])?void 0:i.fixed_amount)?Tc(null==(s=null==(c=g.bands)?void 0:c[0])?void 0:s.fixed_amount):"FLAT"===g.type&&(null==(u=null==(d=g.bands)?void 0:d[0])?void 0:u.amount)?o({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:Tc(g.bands[0].amount),billing_period:n((null==g?void 0:g.billing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"FIXED"===g.type&&(null==(m=null==(p=g.bands)?void 0:p[0])?void 0:m.fixed_amount)?o({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:Tc(null==(h=null==(f=g.bands)?void 0:f[0])?void 0:h.fixed_amount),billing_period:n((null==g?void 0:g.billing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):"TIERED"===g.type?o({defaultMessage:"Tiered pricing",id:"pricing_item_pricing.tiered",description:"The pricing item pricing for a tiered pricing item"}):"TOP_TIERED"===g.type?o({defaultMessage:"Top tiered pricing",id:"pricing_item_pricing.top_tiered",description:"The pricing item pricing for a top tiered pricing item"}):"STAIR_STEP"===g.type?o({defaultMessage:"Stair step pricing",id:"pricing_item_pricing.stair_step",description:"The pricing item pricing for a stair step pricing item"}):"PASS_THROUGH"===g.type?o({defaultMessage:"Pass through pricing",id:"pricing_item_pricing.pass_through",description:"The pricing item pricing for a pass through pricing item"}):"NONE"===g.type?o({defaultMessage:"Not billed",id:"pricing_item_pricing.none",description:"The pricing item pricing for a not billed pricing item"}):"FLAT_TOP_UP"===g.type?o({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"===g.type?o({defaultMessage:"Tiered top up pricing",id:"pricing_item_pricing.tiered_top_up",description:"The pricing item pricing for a tiered top up pricing item"}):o({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"}):o({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"})}}}const zc=[{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"}],Pc=(e,t)=>{const o=document.createElement("a");o.href=e,o.download=t,o.click(),setTimeout(()=>{window.URL.revokeObjectURL(e)},250)},qc=(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(", ")},Dc=(e,t=!0)=>{const o=qc((e.products??[]).map(e=>e.name??""));return e.name?t?`${e.name} - ${o}`:e.name:o},Ic=e=>{var t,o;return[...(null==(t=e.enabled_pricings)?void 0:t.map(({pricing_id:e})=>e))??[],...(null==(o=e.override_pricings)?void 0:o.map(e=>"id"in e?e.id:e.original_pricing_id))??[]]},$c=({schedule:e,pricingItemConfigIds:t})=>{var o,n;const l=new Date,a=new Set(t),r=null==(o=e.seats_values)?void 0:o.map((e,t)=>({seatsValue:e,index:t})).filter(({seatsValue:e})=>{if(!a.has(e.pricing_item_config_id))return!1;const t=e.set_start_at_to_now||!e.start_at||new Date(e.start_at)<=l,o=!e.end_at||new Date(e.end_at)>l;return t&&o});return null==(n=null==r?void 0:r.sort((e,t)=>{const o=e.seatsValue.set_start_at_to_now?l.getTime():e.seatsValue.start_at?new Date(e.seatsValue.start_at).getTime():0,n=t.seatsValue.set_start_at_to_now?l.getTime():t.seatsValue.start_at?new Date(t.seatsValue.start_at).getTime():0;return n!==o?n-o:t.index-e.index})[0])?void 0:n.seatsValue},Oc=(e,t)=>{var o;const n=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,n,a;const r=null==(o=t.included_volumes)?void 0:o.find(t=>t.pricing_item_config_id===e.id),i=$c({schedule:t,pricingItemConfigIds:[e.id]})??(null==(n=t.seats_values)?void 0:n.find(t=>t.pricing_item_config_id===e.id));return{...e,...!ze(r)&&{default_included_volume:Xn(r,["amount","number","reset_type"])},...!ze(i)&&{default_seats_value:Xn(i,"number")},conditions:e.conditions?{...e.conditions,configs:null==(a=e.conditions.configs)?void 0:a.map(l)}:void 0}};return{...e,entitlements:(e=>{var o,n,l;const a=t=>{var o;return null==(o=e.products)?void 0:o.some(e=>{var o;return null==(o=e.features)?void 0:o.some(e=>e.id===t.feature_id)})},r=(null==(n=null==(o=t.entitlements)?void 0:o.filter(e=>a(e)))?void 0:n.reduce((t,o)=>{var n,l;const a=null==(l=null==(n=e.entitlements)?void 0:n.find(e=>e.feature_id===o.feature_id))?void 0:l.feature;return a?[...t,{...o,feature:a}]:t},[]))??[];if(ze(r))return e.entitlements;return[...(null==(l=e.entitlements)?void 0:l.filter(e=>a(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:n(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:n(e.billing_period_configs)}}))}};var t})}},Hc=(e,t,o={displayDisabledAddonPricings:!1})=>{var n,l;const a=e=>o.displayDisabledAddonPricings||"ADDON"!==e.product_type||((e,t)=>{var o,n;return!(!(null==(o=e.enabled_pricings)?void 0:o.some(({pricing_id:e})=>e===t.id))&&!(null==(n=e.override_pricings)?void 0:n.some(e=>"id"in e&&e.id===t.id||e.original_pricing_id===t.id)))})(t,e);return{...e,pricing_categories:null==(l=null==(n=e.pricing_categories)?void 0:n.map(e=>{var o,n,l,r;return{...e,pricing_groups:null==(n=null==(o=e.pricing_groups)?void 0:o.map(e=>{var o,n;return{...e,pricings:null==(n=null==(o=e.pricings)?void 0:o.filter(a))?void 0:n.map(e=>Oc(e,t))}}))?void 0:n.filter(e=>!ze(e.pricings)),pricings:null==(r=null==(l=e.pricings)?void 0:l.filter(a))?void 0:r.map(e=>Oc(e,t))}}))?void 0:l.filter(e=>o.displayDisabledAddonPricings||!(ze(e.pricing_groups)&&ze(e.pricings)))}},Ac=e=>"REVENUE"===e.type,Lc=e=>"DEDUCTION"===e.type,Zc=e=>["AT_MOST_ONE","EXACTLY_ONE"].includes(e.selection_constraint),Rc={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"},Fc=(e=Rc)=>({propertyName:t,comparator:o,value:n,values:l},{hasFormatting:a}={})=>{const r=((e=Rc)=>[{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===o),i=null==l?void 0:l.reduce((t,o,n,l)=>{const r=a?`<strong class="font-semibold">${o}</strong>`:o;return n===l.length-1?`${t} ${(null==e?void 0:e.or)??"or"} ${r}`:0===n?r:[t,r].join(", ")},"");return r?["IN","NOT_IN"].includes(r.comparator)&&l?a?`<strong>${t}</strong> ${r.label.output} <strong>${i}</strong>`:`${t} ${r.label.output} ${i}`:a?`<strong class="font-semibold">${t}</strong> ${r.label.output} <strong class="font-semibold">${n}</strong>`:`${t} ${r.label.output} ${n}`:(null==e?void 0:e.unsupported)??"Unsupported comparator"},Uc=(e,t)=>!!e.type&&t.includes(e.type),jc=e=>Uc(e,["FLAT_TOP_UP","TIERED_TOP_UP","STAIR_STEP_TOP_UP"]),Gc=e=>Uc(e,["TIERED","TIERED_TOP_UP"]),Qc=e=>Uc(e,["STAIR_STEP","STAIR_STEP_TOP_UP"]),Kc=e=>{var t,o;return[e,...(null==(o=null==(t=e.conditions)?void 0:t.configs)?void 0:o.flatMap(e=>Kc(e)))??[]]},Wc=e=>({pricing:t,item:o,config:n})=>{var l,a,r,i;return[(null==t?void 0:t.name)??(null==(a=null==(l=null==t?void 0:t.products)?void 0:l[0])?void 0:a.name),null==(i=null==(r=null==o?void 0:o.product_items)?void 0:r[0])?void 0:i.name,n&&(c=n,(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=Rc)=>(t,o)=>t.map(t=>Fc(e)(t,o)).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},Yc=e=>!!e&&"number"in e,Xc=e=>!!e&&"count"in e,Jc=e=>!!e&&"amount"in e,es=e=>"ORGANIZATION"===e.type,ts=e=>"INDIVIDUAL"===e.type,os=e=>t=>t?t.tier_top_bound&&Yc(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):Xc(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):Jc(t.tier_top_bound)?Tc(t.tier_top_bound.amount):void 0:0,ns=e=>(t,o,n)=>n===o.length-1?e.infinite:t.tier_top_bound&&"number"in t.tier_top_bound&&Yc(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.number):t.tier_top_bound&&"count"in t.tier_top_bound&&Xc(t.tier_top_bound)?e.formatNumber(+t.tier_top_bound.count):t.tier_top_bound&&"amount"in t.tier_top_bound&&Jc(t.tier_top_bound)?Tc(t.tier_top_bound.amount):void 0,ls=(e,t)=>{var o,n;return null==(n=null==(o=e.markup)?void 0:o.pricing_item_configs)?void 0:n.find(({ids:e})=>null==e?void 0:e.includes(t.id))},as=t=>t.every(t=>t.type===e.Comment||(t.type===e.Text&&"string"==typeof t.children&&!t.children.trim()||!(t.type!==e.Fragment||!as(t.children)))),rs=e=>ze(e)&&"boolean"!=typeof e?null:e;function is(e){return e!=e}function cs(e,t){return!!(null==e?0:e.length)&&function(e,t,o){return t==t?function(e,t,o){for(var n=o-1,l=e.length;++n<l;)if(e[n]===t)return n;return-1}(e,t,o):function(e,t,o){for(var n=e.length,l=o+-1;++l<n;)if(t(e[l],l,e))return l;return-1}(e,is,o)}(e,t,0)>-1}function ss(e,t,o){for(var n=-1,l=null==e?0:e.length;++n<l;)if(o(t,e[n]))return!0;return!1}function ds(e){return k(e)&&ye(e)}function us(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var ps=function(e,t){return Wn(jn(e,t,Gn),e+"")}(function(e,t){var o=us(t);return ds(o)&&(o=void 0),ds(e)?function(e,t,o,n){var l=-1,a=cs,r=!0,i=e.length,c=[],s=t.length;if(!i)return c;n?(a=ss,r=!1):t.length>=200&&(a=Ji,r=!1,t=new Yi(t));e:for(;++l<i;){var d=e[l],u=d;if(d=n||0!==d?d:0,r&&u==u){for(var p=s;p--;)if(t[p]===u)continue e;c.push(d)}else a(t,u,n)||c.push(d)}return c}(e,Rn(t,0,ds,!0),0,o):[]});var ms,fs=(ms=mc,function(e){var t=ue(e);return"[object Map]"==t?oc(e):"[object Set]"==t?function(e){var t=-1,o=Array(e.size);return e.forEach(function(e){o[++t]=[e,e]}),o}(e):function(e,t){return p(t,function(t){return[t,e[t]]})}(e,ms(e))}),hs=Object.prototype.hasOwnProperty;function vs(e,t){return null!=e&&hs.call(e,t)}function gs(e,t){return null!=e&&$n(e,t,vs)}function ys(e,t,o){var n=null==e?void 0:Tn(e,t);return void 0===n?o:n}function bs(e){return!0===e||!1===e||k(e)&&"[object Boolean]"==x(e)}function xs(e){return void 0===e}const ks=({from:e,to:t,nullifyEmptyValues:o=!1})=>{const n=function(e){for(var t=-1,o=null==e?0:e.length,n={};++t<o;){var l=e[t];Vn(n,l[0],l[1])}return n}(ps(fs(t),fs(e),_c));return o?Object.entries(n).reduce((e,[t,o])=>({...e,[t]:rs(o)}),{}):n};function _s(e){var t;return(null==(t=zc.find(t=>t.key===e))?void 0:t.value)??e}const ws=["US","CA"];function Bs(e){if(ws.includes(e.country)){const t=Cs([e.line1,e.line2],", "),o=Cs([e.state,e.postal_code]," "),n=_s(e.country);return Cs([t,e.city,o,n],", ")}const t=Cs([e.line1,e.line2]," "),o=Cs([e.postal_code,e.city]," "),n=_s(e.country);return Cs([t,o,e.state,n],", ")}function Cs(e,t){return e.filter(Boolean).join(t)}const Es=(e,t)=>{const o=new Date(e),n=new Date(t),l=n.getFullYear()-o.getFullYear(),a=new Date(o);if(a.setFullYear(a.getFullYear()+l),l>0&&a.getTime()===n.getTime())return{type:"YEAR",value:l};const r=12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth()),i=new Date(o);if(i.setMonth(i.getMonth()+r),r>0&&i.getTime()===n.getTime())return{type:"MONTH",value:r};const c=Math.round((n.getTime()-o.getTime())/864e5);return c>0&&c%7==0?{type:"WEEK",value:c/7}:{type:"DAY",value:c}},Ns=e=>ts(e)?Ts(e.individual.name):es(e)?e.organization.legal_name:void 0,Ts=e=>{if(e)return[e.first_name,e.infix,e.last_name].filter(e=>e).join(" ")},Ms={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"};const Vs="py-2 px-4 text-sm",Ss={danger:"text-red-700",dark:"text-gray-700",info:"text-blue-700",success:"text-green-700",warning:"text-yellow-700"},zs={danger:"bg-red-100",dark:"bg-gray-100",info:"bg-blue-100",success:"bg-green-100",warning:"bg-yellow-100"},Ps={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"},qs="ml-auto -mx-1.5 -my-1.5 rounded focus:ring-2 p-1.5 inline-flex h-8 w-8",Ds={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 Is={key:0,class:"ml-auto inline-flex items-center"},$s=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 o=t,{alertClasses:n,textClasses:l,closeClasses:a,contentClasses:r,titleClasses:i}=function(t){const o=e.computed(()=>[Vs,zs[t.type.value],n.value,t.border.value?Ps[t.type.value]:"rounded",t.inline.value?"flex items-center":""].filter(e=>!!e).join(" ")),n=e.computed(()=>Ss[t.type.value]??""),l=e.computed(()=>[qs,Ds[t.type.value]??""].filter(e=>!!e).join(" ")),a=e.computed(()=>t.inline.value?t.icon.value||t.title.value?t.title.value?"grow ml-1":"grow ml-2":"":"my-2"),r=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:o,textClasses:n,closeClasses:l,contentClasses:a,titleClasses:r}}(e.toRefs(o)),c=e.ref(!0),s=()=>{c.value=!1};return(o,d)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n)),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(l)]),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(i))},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(a)),"aria-label":"Close",onClick:s},[...d[1]||(d[1]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"w-5 h-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(r))},[e.renderSlot(o.$slots,"default")],2),o.$slots.actions?(e.openBlock(),e.createElementBlock("div",Is,[e.renderSlot(o.$slots,"actions")])):e.createCommentVNode("",!0),t.inline&&t.closable?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:e.normalizeClass(e.unref(a)),"aria-label":"Close",onClick:s},[...d[2]||(d[2]=[e.createElementVNode("span",{class:"sr-only"},"Dismiss",-1),e.createElementVNode("svg",{class:"w-5 h-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)}}),Os=e.defineComponent({__name:"Amount",props:{value:{},highlighted:{type:Boolean,default:!1}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps(o.$attrs,{class:[{"text-primary-600 font-semibold":t.highlighted},"inline-block"]}),e.toDisplayString(e.unref(Tc)(t.value)),17))}),Hs=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"}},setup(t){const o=t,n={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"},l={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},a=(t=>{const o=e.ref();return e.watch(()=>t,()=>{o.value=(e=>{let t=0;for(let n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);let o="#";for(let n=0;n<3;n++)o+=("00"+(t>>8*n&255).toString(16)).substr(-2);return o})(t)},{immediate:!0}),o})(o.colorHash??o.initials??"A"),r=e.computed(()=>({backgroundImage:o.imageSrc?`url(${o.imageSrc})`:`linear-gradient(140deg, ${a.value}60 0%, #DCF3FD 75%)`}));return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex shrink-0 justify-center items-center rounded overflow-hidden bg-cover bg-primary-100",{[n[o.size]]:!0,"rounded-full":t.round,"border border-black border-opacity-5":"dark"===t.variant}]),style:e.normalizeStyle(r.value)},[t.initials&&!t.imageSrc?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-semibold font-regular text-2xl",{[l[o.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.createCommentVNode("",!0)],6))}});function As(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ls,Zs,Rs,Fs,Us,js,Gs,Qs;function Ks(){if(Fs)return Rs;Fs=1;const e=Zs?Ls:(Zs=1,Ls={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 l of Object.keys(e))t[e[l]]=l;const o={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"]}};Rs=o;for(const l of Object.keys(o)){if(!("channels"in o[l]))throw new Error("missing channels property: "+l);if(!("labels"in o[l]))throw new Error("missing channel labels property: "+l);if(o[l].labels.length!==o[l].channels)throw new Error("channel and label counts mismatch: "+l);const{channels:e,labels:t}=o[l];delete o[l].channels,delete o[l].labels,Object.defineProperty(o[l],"channels",{value:e}),Object.defineProperty(o[l],"labels",{value:t})}function n(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}return o.rgb.hsl=function(e){const t=e[0]/255,o=e[1]/255,n=e[2]/255,l=Math.min(t,o,n),a=Math.max(t,o,n),r=a-l;let i,c;a===l?i=0:t===a?i=(o-n)/r:o===a?i=2+(n-t)/r:n===a&&(i=4+(t-o)/r),i=Math.min(60*i,360),i<0&&(i+=360);const s=(l+a)/2;return c=a===l?0:s<=.5?r/(a+l):r/(2-a-l),[i,100*c,100*s]},o.rgb.hsv=function(e){let t,o,n,l,a;const r=e[0]/255,i=e[1]/255,c=e[2]/255,s=Math.max(r,i,c),d=s-Math.min(r,i,c),u=function(e){return(s-e)/6/d+.5};return 0===d?(l=0,a=0):(a=d/s,t=u(r),o=u(i),n=u(c),r===s?l=n-o:i===s?l=1/3+t-n:c===s&&(l=2/3+o-t),l<0?l+=1:l>1&&(l-=1)),[360*l,100*a,100*s]},o.rgb.hwb=function(e){const t=e[0],n=e[1];let l=e[2];const a=o.rgb.hsl(e)[0],r=1/255*Math.min(t,Math.min(n,l));return l=1-1/255*Math.max(t,Math.max(n,l)),[a,100*r,100*l]},o.rgb.cmyk=function(e){const t=e[0]/255,o=e[1]/255,n=e[2]/255,l=Math.min(1-t,1-o,1-n);return[100*((1-t-l)/(1-l)||0),100*((1-o-l)/(1-l)||0),100*((1-n-l)/(1-l)||0),100*l]},o.rgb.keyword=function(o){const l=t[o];if(l)return l;let a,r=1/0;for(const t of Object.keys(e)){const l=n(o,e[t]);l<r&&(r=l,a=t)}return a},o.keyword.rgb=function(t){return e[t]},o.rgb.xyz=function(e){let t=e[0]/255,o=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*t+.3576*o+.1805*n),100*(.2126*t+.7152*o+.0722*n),100*(.0193*t+.1192*o+.9505*n)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let n=t[0],l=t[1],a=t[2];n/=95.047,l/=100,a/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;return[116*l-16,500*(n-l),200*(l-a)]},o.hsl.rgb=function(e){const t=e[0]/360,o=e[1]/100,n=e[2]/100;let l,a,r;if(0===o)return r=255*n,[r,r,r];l=n<.5?n*(1+o):n+o-n*o;const i=2*n-l,c=[0,0,0];for(let s=0;s<3;s++)a=t+1/3*-(s-1),a<0&&a++,a>1&&a--,r=6*a<1?i+6*(l-i)*a:2*a<1?l:3*a<2?i+(l-i)*(2/3-a)*6:i,c[s]=255*r;return c},o.hsl.hsv=function(e){const t=e[0];let o=e[1]/100,n=e[2]/100,l=o;const a=Math.max(n,.01);n*=2,o*=n<=1?n:2-n,l*=a<=1?a:2-a;return[t,100*(0===n?2*l/(a+l):2*o/(n+o)),100*((n+o)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,o=e[1]/100;let n=e[2]/100;const l=Math.floor(t)%6,a=t-Math.floor(t),r=255*n*(1-o),i=255*n*(1-o*a),c=255*n*(1-o*(1-a));switch(n*=255,l){case 0:return[n,c,r];case 1:return[i,n,r];case 2:return[r,n,c];case 3:return[r,i,n];case 4:return[c,r,n];case 5:return[n,r,i]}},o.hsv.hsl=function(e){const t=e[0],o=e[1]/100,n=e[2]/100,l=Math.max(n,.01);let a,r;r=(2-o)*n;const i=(2-o)*l;return a=o*l,a/=i<=1?i:2-i,a=a||0,r/=2,[t,100*a,100*r]},o.hwb.rgb=function(e){const t=e[0]/360;let o=e[1]/100,n=e[2]/100;const l=o+n;let a;l>1&&(o/=l,n/=l);const r=Math.floor(6*t),i=1-n;a=6*t-r,1&r&&(a=1-a);const c=o+a*(i-o);let s,d,u;switch(r){default:case 6:case 0:s=i,d=c,u=o;break;case 1:s=c,d=i,u=o;break;case 2:s=o,d=i,u=c;break;case 3:s=o,d=c,u=i;break;case 4:s=c,d=o,u=i;break;case 5:s=i,d=o,u=c}return[255*s,255*d,255*u]},o.cmyk.rgb=function(e){const t=e[0]/100,o=e[1]/100,n=e[2]/100,l=e[3]/100;return[255*(1-Math.min(1,t*(1-l)+l)),255*(1-Math.min(1,o*(1-l)+l)),255*(1-Math.min(1,n*(1-l)+l))]},o.xyz.rgb=function(e){const t=e[0]/100,o=e[1]/100,n=e[2]/100;let l,a,r;return l=3.2406*t+-1.5372*o+-.4986*n,a=-.9689*t+1.8758*o+.0415*n,r=.0557*t+-.204*o+1.057*n,l=l>.0031308?1.055*l**(1/2.4)-.055:12.92*l,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,l=Math.min(Math.max(0,l),1),a=Math.min(Math.max(0,a),1),r=Math.min(Math.max(0,r),1),[255*l,255*a,255*r]},o.xyz.lab=function(e){let t=e[0],o=e[1],n=e[2];t/=95.047,o/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*o-16,500*(t-o),200*(o-n)]},o.lab.xyz=function(e){let t,o,n;o=(e[0]+16)/116,t=e[1]/500+o,n=o-e[2]/200;const l=o**3,a=t**3,r=n**3;return o=l>.008856?l:(o-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,n=r>.008856?r:(n-16/116)/7.787,t*=95.047,o*=100,n*=108.883,[t,o,n]},o.lab.lch=function(e){const t=e[0],o=e[1],n=e[2];let l;l=360*Math.atan2(n,o)/2/Math.PI,l<0&&(l+=360);return[t,Math.sqrt(o*o+n*n),l]},o.lch.lab=function(e){const t=e[0],o=e[1],n=e[2]/360*2*Math.PI;return[t,o*Math.cos(n),o*Math.sin(n)]},o.rgb.ansi16=function(e,t=null){const[n,l,a]=e;let r=null===t?o.rgb.hsv(e)[2]:t;if(r=Math.round(r/50),0===r)return 30;let i=30+(Math.round(a/255)<<2|Math.round(l/255)<<1|Math.round(n/255));return 2===r&&(i+=60),i},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){const t=e[0],o=e[1],n=e[2];if(t===o&&o===n)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(o/255*5)+Math.round(n/255*5)},o.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 o=.5*(1+~~(e>50));return[(1&t)*o*255,(t>>1&1)*o*255,(t>>2&1)*o*255]},o.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]},o.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},o.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 o=t[0];3===t[0].length&&(o=o.split("").map(e=>e+e).join(""));const n=parseInt(o,16);return[n>>16&255,n>>8&255,255&n]},o.rgb.hcg=function(e){const t=e[0]/255,o=e[1]/255,n=e[2]/255,l=Math.max(Math.max(t,o),n),a=Math.min(Math.min(t,o),n),r=l-a;let i,c;return i=r<1?a/(1-r):0,c=r<=0?0:l===t?(o-n)/r%6:l===o?2+(n-t)/r:4+(t-o)/r,c/=6,c%=1,[360*c,100*r,100*i]},o.hsl.hcg=function(e){const t=e[1]/100,o=e[2]/100,n=o<.5?2*t*o:2*t*(1-o);let l=0;return n<1&&(l=(o-.5*n)/(1-n)),[e[0],100*n,100*l]},o.hsv.hcg=function(e){const t=e[1]/100,o=e[2]/100,n=t*o;let l=0;return n<1&&(l=(o-n)/(1-n)),[e[0],100*n,100*l]},o.hcg.rgb=function(e){const t=e[0]/360,o=e[1]/100,n=e[2]/100;if(0===o)return[255*n,255*n,255*n];const l=[0,0,0],a=t%1*6,r=a%1,i=1-r;let c=0;switch(Math.floor(a)){case 0:l[0]=1,l[1]=r,l[2]=0;break;case 1:l[0]=i,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=r;break;case 3:l[0]=0,l[1]=i,l[2]=1;break;case 4:l[0]=r,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=i}return c=(1-o)*n,[255*(o*l[0]+c),255*(o*l[1]+c),255*(o*l[2]+c)]},o.hcg.hsv=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);let n=0;return o>0&&(n=t/o),[e[0],100*n,100*o]},o.hcg.hsl=function(e){const t=e[1]/100,o=e[2]/100*(1-t)+.5*t;let n=0;return o>0&&o<.5?n=t/(2*o):o>=.5&&o<1&&(n=t/(2*(1-o))),[e[0],100*n,100*o]},o.hcg.hwb=function(e){const t=e[1]/100,o=t+e[2]/100*(1-t);return[e[0],100*(o-t),100*(1-o)]},o.hwb.hcg=function(e){const t=e[1]/100,o=1-e[2]/100,n=o-t;let l=0;return n<1&&(l=(o-n)/(1-n)),[e[0],100*n,100*l]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),o=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(o.length)+o},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]},Rs}function Ws(){if(js)return Us;js=1;const e=Ks();function t(t){const o=function(){const t={},o=Object.keys(e);for(let e=o.length,n=0;n<e;n++)t[o[n]]={distance:-1,parent:null};return t}(),n=[t];for(o[t].distance=0;n.length;){const t=n.pop(),l=Object.keys(e[t]);for(let e=l.length,a=0;a<e;a++){const e=l[a],r=o[e];-1===r.distance&&(r.distance=o[t].distance+1,r.parent=t,n.unshift(e))}}return o}function o(e,t){return function(o){return t(e(o))}}function n(t,n){const l=[n[t].parent,t];let a=e[n[t].parent][t],r=n[t].parent;for(;n[r].parent;)l.unshift(n[r].parent),a=o(e[n[r].parent][r],a),r=n[r].parent;return a.conversion=l,a}return Us=function(e){const o=t(e),l={},a=Object.keys(o);for(let t=a.length,r=0;r<t;r++){const e=a[r];null!==o[e].parent&&(l[e]=n(e,o))}return l}}var Ys=function(){if(Qs)return Gs;Qs=1;const e=Ks(),t=Ws(),o={};return Object.keys(e).forEach(n=>{o[n]={},Object.defineProperty(o[n],"channels",{value:e[n].channels}),Object.defineProperty(o[n],"labels",{value:e[n].labels});const l=t(n);Object.keys(l).forEach(e=>{const t=l[e];o[n][e]=function(e){const t=function(...t){const o=t[0];if(null==o)return o;o.length>1&&(t=o);const n=e(t);if("object"==typeof n)for(let e=n.length,l=0;l<e;l++)n[l]=Math.round(n[l]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(t),o[n][e].raw=function(e){const t=function(...t){const o=t[0];return null==o?o:(o.length>1&&(t=o),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(t)})}),Gs=o}();const Xs=As(Ys),Js=[180,300,60],ed=[360,240,120,0];function td(e,t,o){const n=e.sort((e,o)=>Math.abs(e-t)-Math.abs(o-t))[0]-t;return Math.round(o*n*.5)}function od(e){const t=function(e){const t=e.replace("#","");return`#${3===t.length?t.replace(/(.)/g,"$1$1"):t.padEnd(6,"0")}`}(e),o={500:t},n={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=>{o[e]=function(e,t){if(!e)return"";const[o,n,l]=Xs.hex.hsv(e),a=o+td(Js,o,t),r=n-Math.round(n*t),i=l+Math.round((100-l)*t);return`#${Xs.hsv.hex([a,r,i])}`}(t,n[e])}),[600,700,800,900,950].forEach(e=>{o[e]=function(e,t){if(!e)return"";const o=1-t,[n,l,a]=Xs.hex.hsv(e),r=n+td(ed,n,o),i=l+Math.round((100-l)*o),c=a-Math.round(a*o);return`#${Xs.hsv.hex([r,i,c])}`}(t,n[e])}),o}const nd=e.defineComponent({__name:"BrandProvider",props:{primaryColor:{default:"#000000"},secondaryColor:{default:"#444444"},isShadowRoot:{type:Boolean,default:!1}},setup(t){const o=t,n=e.computed(()=>od(o.primaryColor)),l=e.computed(()=>od(o.secondaryColor)),a=e.computed(()=>o.isShadowRoot?":host":":root");return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent("style"),null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value)+" { --color-primary-50: "+e.toDisplayString(n.value[50])+"; --color-primary-100: "+e.toDisplayString(n.value[100])+"; --color-primary-200: "+e.toDisplayString(n.value[200])+"; --color-primary-300: "+e.toDisplayString(n.value[300])+"; --color-primary-400: "+e.toDisplayString(n.value[400])+"; --color-primary-500: "+e.toDisplayString(n.value[500])+"; --color-primary-600: "+e.toDisplayString(n.value[600])+"; --color-primary-700: "+e.toDisplayString(n.value[700])+"; --color-primary-800: "+e.toDisplayString(n.value[800])+"; --color-primary-900: "+e.toDisplayString(n.value[900])+" --color-secondary-50: "+e.toDisplayString(l.value[50])+"; --color-secondary-100: "+e.toDisplayString(l.value[100])+"; --color-secondary-200: "+e.toDisplayString(l.value[200])+"; --color-secondary-300: "+e.toDisplayString(l.value[300])+"; --color-secondary-400: "+e.toDisplayString(l.value[400])+"; --color-secondary-500: "+e.toDisplayString(l.value[500])+"; --color-secondary-600: "+e.toDisplayString(l.value[600])+"; --color-secondary-700: "+e.toDisplayString(l.value[700])+"; --color-secondary-800: "+e.toDisplayString(l.value[800])+"; --color-secondary-900: "+e.toDisplayString(l.value[900])+" } ",1)]),_:1}))}}),ld=e.defineComponent({__name:"Link",props:e.mergeDefaults({external:{type:Boolean},showOnHover:{type:Boolean},button:{type:Boolean},to:{},target:{},custom:{type:Boolean},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean},replace:{type:Boolean},type:{},variant:{},color:{},size:{},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{}},{external:!1,showOnHover:!1,button:!1,...tl}),setup(t){const o=t,n=e.useAttrs(),l=e.ref(!!n.href),a=e.computed(()=>null===o.target?"_self":"_blank"),r=e.computed(()=>{const e=l.value?{rel:"noopener noreferrer",target:a.value}:{to:o.to,target:o.target||null};return{tag:l.value?"a":"RouterLink",props:{...n,...e}}}),{wrapperClasses:i,spanClasses:c}=ul(e.toRefs(o)),s=e.computed(()=>o.button?`inline-flex text-center hover:no-underline ${i.value} text-sm`:"group hover:text-blue-600 hover:underline "+(o.showOnHover?"hover:text-blue-600":"text-blue-600"));return(n,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value.tag),e.mergeProps(r.value.props,{class:s.value}),{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass({[`${e.unref(c)} flex items-center grow`]:o.button})},[e.renderSlot(n.$slots,"default"),t.external&&!t.button?(e.openBlock(),e.createBlock(e.unref(Ue),{key:0,icon:"arrow_outward",size:"xs",class:e.normalizeClass(["ml-0.5",{"invisible group-hover:visible":o.showOnHover}])},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},16,["class"]))}});function ad(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(o=ad(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}const rd=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),id="-",cd=[],sd=e=>{const t=pd(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return ud(e);const o=e.split(id),n=""===o[0]&&o.length>1?1:0;return dd(o,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=n[e],l=o[e];return t?l?((e,t)=>{const o=new Array(e.length+t.length);for(let n=0;n<e.length;n++)o[n]=e[n];for(let n=0;n<t.length;n++)o[e.length+n]=t[n];return o})(l,t):t:l||cd}return o[e]||cd}}},dd=(e,t,o)=>{if(0===e.length-t)return o.classGroupId;const n=e[t],l=o.nextPart.get(n);if(l){const o=dd(e,t+1,l);if(o)return o}const a=o.validators;if(null===a)return;const r=0===t?e.join(id):e.slice(t).join(id),i=a.length;for(let c=0;c<i;c++){const e=a[c];if(e.validator(r))return e.classGroupId}},ud=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),n=t.slice(0,o);return n?"arbitrary.."+n:void 0})(),pd=e=>{const{theme:t,classGroups:o}=e;return md(o,t)},md=(e,t)=>{const o=rd();for(const n in e){const l=e[n];fd(l,o,n,t)}return o},fd=(e,t,o,n)=>{const l=e.length;for(let a=0;a<l;a++){const l=e[a];hd(l,t,o,n)}},hd=(e,t,o,n)=>{"string"!=typeof e?"function"!=typeof e?yd(e,t,o,n):gd(e,t,o,n):vd(e,t,o)},vd=(e,t,o)=>{(""===e?t:bd(t,e)).classGroupId=o},gd=(e,t,o,n)=>{xd(e)?fd(e(n),t,o,n):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(o,e)))},yd=(e,t,o,n)=>{const l=Object.entries(e),a=l.length;for(let r=0;r<a;r++){const[e,a]=l[r];fd(a,bd(t,e),o,n)}},bd=(e,t)=>{let o=e;const n=t.split(id),l=n.length;for(let a=0;a<l;a++){const e=n[a];let t=o.nextPart.get(e);t||(t=rd(),o.nextPart.set(e,t)),o=t}return o},xd=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,kd=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),n=Object.create(null);const l=(l,a)=>{o[l]=a,t++,t>e&&(t=0,n=o,o=Object.create(null))};return{get(e){let t=o[e];return void 0!==t?t:void 0!==(t=n[e])?(l(e,t),t):void 0},set(e,t){e in o?o[e]=t:l(e,t)}}},_d=[],wd=(e,t,o,n,l)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:n,isExternal:l}),Bd=e=>{const{prefix:t,experimentalParseClassName:o}=e;let n=e=>{const t=[];let o,n=0,l=0,a=0;const r=e.length;for(let d=0;d<r;d++){const r=e[d];if(0===n&&0===l){if(":"===r){t.push(e.slice(a,d)),a=d+1;continue}if("/"===r){o=d;continue}}"["===r?n++:"]"===r?n--:"("===r?l++:")"===r&&l--}const i=0===t.length?e:e.slice(a);let c=i,s=!1;i.endsWith("!")?(c=i.slice(0,-1),s=!0):i.startsWith("!")&&(c=i.slice(1),s=!0);return wd(t,s,c,o&&o>a?o-a:void 0)};if(t){const e=t+":",o=n;n=t=>t.startsWith(e)?o(t.slice(e.length)):wd(_d,!1,t,void 0,!0)}if(o){const e=n;n=t=>o({className:t,parseClassName:e})}return n},Cd=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,o)=>{t.set(e,1e6+o)}),e=>{const o=[];let n=[];for(let l=0;l<e.length;l++){const a=e[l],r="["===a[0],i=t.has(a);r||i?(n.length>0&&(n.sort(),o.push(...n),n=[]),o.push(a)):n.push(a)}return n.length>0&&(n.sort(),o.push(...n)),o}},Ed=/\s+/,Nd=e=>{if("string"==typeof e)return e;let t,o="";for(let n=0;n<e.length;n++)e[n]&&(t=Nd(e[n]))&&(o&&(o+=" "),o+=t);return o},Td=(e,...t)=>{let o,n,l,a;const r=e=>{const t=n(e);if(t)return t;const a=((e,t)=>{const{parseClassName:o,getClassGroupId:n,getConflictingClassGroupIds:l,sortModifiers:a}=t,r=[],i=e.trim().split(Ed);let c="";for(let s=i.length-1;s>=0;s-=1){const e=i[s],{isExternal:t,modifiers:d,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:m}=o(e);if(t){c=e+(c.length>0?" "+c:c);continue}let f=!!m,h=n(f?p.substring(0,m):p);if(!h){if(!f){c=e+(c.length>0?" "+c:c);continue}if(h=n(p),!h){c=e+(c.length>0?" "+c:c);continue}f=!1}const v=0===d.length?"":1===d.length?d[0]:a(d).join(":"),g=u?v+"!":v,y=g+h;if(r.indexOf(y)>-1)continue;r.push(y);const b=l(h,f);for(let o=0;o<b.length;++o){const e=b[o];r.push(g+e)}c=e+(c.length>0?" "+c:c)}return c})(e,o);return l(e,a),a};return a=i=>{const c=t.reduce((e,t)=>t(e),e());return o=(e=>({cache:kd(e.cacheSize),parseClassName:Bd(e),sortModifiers:Cd(e),...sd(e)}))(c),n=o.cache.get,l=o.cache.set,a=r,r(i)},(...e)=>a(((...e)=>{let t,o,n=0,l="";for(;n<e.length;)(t=e[n++])&&(o=Nd(t))&&(l&&(l+=" "),l+=o);return l})(...e))},Md=[],Vd=e=>{const t=t=>t[e]||Md;return t.isThemeGetter=!0,t},Sd=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,zd=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Pd=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,qd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dd=/\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$/,Id=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$d=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Od=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Hd=e=>Pd.test(e),Ad=e=>!!e&&!Number.isNaN(Number(e)),Ld=e=>!!e&&Number.isInteger(Number(e)),Zd=e=>e.endsWith("%")&&Ad(e.slice(0,-1)),Rd=e=>qd.test(e),Fd=()=>!0,Ud=e=>Dd.test(e)&&!Id.test(e),jd=()=>!1,Gd=e=>$d.test(e),Qd=e=>Od.test(e),Kd=e=>!Yd(e)&&!au(e),Wd=e=>mu(e,gu,jd),Yd=e=>Sd.test(e),Xd=e=>mu(e,yu,Ud),Jd=e=>mu(e,bu,Ad),eu=e=>mu(e,ku,Fd),tu=e=>mu(e,xu,jd),ou=e=>mu(e,hu,jd),nu=e=>mu(e,vu,Qd),lu=e=>mu(e,_u,Gd),au=e=>zd.test(e),ru=e=>fu(e,yu),iu=e=>fu(e,xu),cu=e=>fu(e,hu),su=e=>fu(e,gu),du=e=>fu(e,vu),uu=e=>fu(e,_u,!0),pu=e=>fu(e,ku,!0),mu=(e,t,o)=>{const n=Sd.exec(e);return!!n&&(n[1]?t(n[1]):o(n[2]))},fu=(e,t,o=!1)=>{const n=zd.exec(e);return!!n&&(n[1]?t(n[1]):o)},hu=e=>"position"===e||"percentage"===e,vu=e=>"image"===e||"url"===e,gu=e=>"length"===e||"size"===e||"bg-size"===e,yu=e=>"length"===e,bu=e=>"number"===e,xu=e=>"family-name"===e,ku=e=>"number"===e||"weight"===e,_u=e=>"shadow"===e,wu=Td(()=>{const e=Vd("color"),t=Vd("font"),o=Vd("text"),n=Vd("font-weight"),l=Vd("tracking"),a=Vd("leading"),r=Vd("breakpoint"),i=Vd("container"),c=Vd("spacing"),s=Vd("radius"),d=Vd("shadow"),u=Vd("inset-shadow"),p=Vd("text-shadow"),m=Vd("drop-shadow"),f=Vd("blur"),h=Vd("perspective"),v=Vd("aspect"),g=Vd("ease"),y=Vd("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",au,Yd],x=()=>[au,Yd,c],k=()=>[Hd,"full","auto",...x()],_=()=>[Ld,"none","subgrid",au,Yd],w=()=>["auto",{span:["full",Ld,au,Yd]},Ld,au,Yd],B=()=>[Ld,"auto",au,Yd],C=()=>["auto","min","max","fr",au,Yd],E=()=>["auto",...x()],N=()=>[Hd,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[Hd,"screen","full","dvw","lvw","svw","min","max","fit",...x()],M=()=>[Hd,"screen","full","lh","dvh","lvh","svh","min","max","fit",...x()],V=()=>[e,au,Yd],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",cu,ou,{position:[au,Yd]}],z=()=>["auto","cover","contain",su,Wd,{size:[au,Yd]}],P=()=>[Zd,ru,Xd],q=()=>["","none","full",s,au,Yd],D=()=>["",Ad,ru,Xd],I=()=>[Ad,Zd,cu,ou],$=()=>["","none",f,au,Yd],O=()=>["none",Ad,au,Yd],H=()=>["none",Ad,au,Yd],A=()=>[Ad,au,Yd],L=()=>[Hd,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Rd],breakpoint:[Rd],color:[Fd],container:[Rd],"drop-shadow":[Rd],ease:["in","out","in-out"],font:[Kd],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Rd],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Rd],shadow:[Rd],spacing:["px",Ad],text:[Rd],"text-shadow":[Rd],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Hd,Yd,au,v]}],container:["container"],columns:[{columns:[Ad,Yd,au,i]}],"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:b()}],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:[Ld,"auto",au,Yd]}],basis:[{basis:[Hd,"full","auto",i,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ad,Hd,"auto","initial","none",Yd]}],grow:[{grow:["",Ad,au,Yd]}],shrink:[{shrink:["",Ad,au,Yd]}],order:[{order:[Ld,"first","last","none",au,Yd]}],"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:[i,"screen",...N()]}],"min-w":[{"min-w":[i,"screen","none",...N()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[r]},...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",o,ru,Xd]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,pu,eu]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Zd,Yd]}],"font-family":[{font:[iu,tu,t]}],"font-features":[{"font-features":[Yd]}],"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:[l,au,Yd]}],"line-clamp":[{"line-clamp":[Ad,"none",au,Jd]}],leading:[{leading:[a,...x()]}],"list-image":[{"list-image":["none",au,Yd]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",au,Yd]}],"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:[Ad,"from-font","auto",au,Xd]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[Ad,"auto",au,Yd]}],"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",au,Yd]}],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",au,Yd]}],"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"]},Ld,au,Yd],radial:["",au,Yd],conic:[Ld,au,Yd]},du,nu]}],"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:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()}],"border-w-bs":[{"border-bs":D()}],"border-w-be":[{"border-be":D()}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":D()}],"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":[Ad,au,Yd]}],"outline-w":[{outline:["",Ad,ru,Xd]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",d,uu,lu]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",u,uu,lu]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[Ad,Xd]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",p,uu,lu]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[Ad,au,Yd]}],"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":[Ad]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"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":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"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":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"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":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"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":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"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":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"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":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[au,Yd]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"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":[Ad]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"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",au,Yd]}],filter:[{filter:["","none",au,Yd]}],blur:[{blur:$()}],brightness:[{brightness:[Ad,au,Yd]}],contrast:[{contrast:[Ad,au,Yd]}],"drop-shadow":[{"drop-shadow":["","none",m,uu,lu]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",Ad,au,Yd]}],"hue-rotate":[{"hue-rotate":[Ad,au,Yd]}],invert:[{invert:["",Ad,au,Yd]}],saturate:[{saturate:[Ad,au,Yd]}],sepia:[{sepia:["",Ad,au,Yd]}],"backdrop-filter":[{"backdrop-filter":["","none",au,Yd]}],"backdrop-blur":[{"backdrop-blur":$()}],"backdrop-brightness":[{"backdrop-brightness":[Ad,au,Yd]}],"backdrop-contrast":[{"backdrop-contrast":[Ad,au,Yd]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ad,au,Yd]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ad,au,Yd]}],"backdrop-invert":[{"backdrop-invert":["",Ad,au,Yd]}],"backdrop-opacity":[{"backdrop-opacity":[Ad,au,Yd]}],"backdrop-saturate":[{"backdrop-saturate":[Ad,au,Yd]}],"backdrop-sepia":[{"backdrop-sepia":["",Ad,au,Yd]}],"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",au,Yd]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ad,"initial",au,Yd]}],ease:[{ease:["linear","initial",g,au,Yd]}],delay:[{delay:[Ad,au,Yd]}],animate:[{animate:["none",y,au,Yd]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,au,Yd]}],"perspective-origin":[{"perspective-origin":b()}],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:[au,Yd,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"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",au,Yd]}],"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",au,Yd]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[Ad,ru,Xd,Jd]}],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 Bu(...e){return wu(function(){for(var e,t,o=0,n="",l=arguments.length;o<l;o++)(e=arguments[o])&&(t=ad(e))&&(n&&(n+=" "),n+=t);return n}(e))}const Cu=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:{}},setup:t=>(n,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-col",e.unref(Bu)("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)])},[t.title||n.$slots.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(Bu)("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(o),{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"])]),e.renderSlot(n.$slots,"right")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(Bu)("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-blue-50/50":"","default"===t.variant?"bg-white":"",t.rootClass?`${t.rootClass}`:""),"border"]),"data-testid":"card"},[e.renderSlot(n.$slots,"default")],2)],2))}),Eu=e.defineComponent({__name:"CardContent",props:{spacing:{default:"md"}},setup:t=>(o,n)=>(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(o.$slots,"default")],2))}),Nu={class:"grow text-ellipsis overflow-hidden"},Tu=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,l=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 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([{[l.value]:!0,"w-9 h-9":["md","lg"].includes(t.size),"w-8 h-8":"sm"===t.size,"w-6 h-6":"xs"===t.size},"rounded-md flex items-center justify-center shrink-0"])},[t.icon?(e.openBlock(),e.createBlock(e.unref(Ue),{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(Hs),{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",Nu,[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},"flex font-semibold items-center"])},[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(as)(n.$slots.subTitle({}))?(e.openBlock(),e.createBlock(e.unref(o),{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))}}),Mu={class:"grow items-center truncate"},Vu=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 o=t,n=e.computed(()=>{switch(o.cardVariant){case"error":return"border-red-100";case"dark":return"border-gray-600";default:return"border-gray-100"}});return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex items-center",{"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,[n.value]:"bordered"===t.variant}])},[e.createElementVNode("div",Mu,[e.createVNode(e.unref(Tu),{icon:t.icon,title:t.title,"sub-title":t.subTitle,variant:t.iconVariant,size:t.size,uppercase:t.uppercase},{prefix:e.withCtx(()=>[e.renderSlot(o.$slots,"prefix")]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),subTitle:e.withCtx(()=>[e.renderSlot(o.$slots,"subTitle")]),suffix:e.withCtx(()=>[e.renderSlot(o.$slots,"title-suffix")]),_:3},8,["icon","title","sub-title","variant","size","uppercase"])]),e.renderSlot(o.$slots,"right")],2))}});var Su=0;function zu(e){var t=++Su;return E(e)+t}const Pu={key:0,class:"text-gray-500 font-normal text-xs"},qu=e.defineComponent({__name:"LabelContent",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{},optionalLabel:{}},setup:t=>(o,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps(o.$attrs,{class:["block text-sm font-medium text-gray-900",{"sr-only":t.screenReaderOnly}]}),{default:e.withCtx(()=>{var n;return[e.renderSlot(o.$slots,"default"),t.required?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Pu," ("+e.toDisplayString((null==(n=t.i18n)?void 0:n.optionalLabel)??"optional")+") ",1))]}),_:3},16,["class"]))}),Du=Symbol("tooltip"),Iu=Symbol("tooltip-dark-mode"),$u={key:0,class:"px-3 mb-1"},Ou=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,l=e.ref(),a=e.ref(null),r=e.ref(!1),i=e.inject(Du),{floatingStyles:c}=nn(l,a,{whileElementsMounted:Ko,placement:n.placement,middleware:[Wo(n.offset),Yo()]});return e.provide(Iu,n.isDarkMode),(n,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps(n.$attrs,{ref_key:"triggerRef",ref:l,class:"relative leading-none",onMouseenter:s[0]||(s[0]=e=>r.value=!0),onMouseleave:s[1]||(s[1]=e=>r.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)},[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:a,style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass(["border z-70 shadow-md",[t.rootClass,`max-w-${t.maxWidth}`,{"border-gray-200 rounded bg-white":!t.isDarkMode,"border-gray-700 rounded bg-gray-700":t.isDarkMode}]]),onMouseenter:s[2]||(s[2]=e=>r.value=!0),onMouseleave:s[3]||(s[3]=e=>r.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",$u,[e.createVNode(o,{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(["py-2 rounded",{"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))}}),Hu={class:"flex items-center justify-between mb-1"},Au={class:"flex items-center gap-1"},Lu={key:0,class:"leading-none"},Zu=e.defineComponent({inheritAttrs:!1,__name:"Label",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock("div",Hu,[e.createElementVNode("div",Au,[o.$slots.tooltip?(e.openBlock(),e.createBlock(Ou,{key:0,variant:"outline",class:"flex"},{default:e.withCtx(()=>{var n;return[e.createVNode(qu,e.mergeProps({...o.$props,...o.$attrs},{i18n:{optionalLabel:null==(n=t.i18n)?void 0:n.optionalLabel}}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["i18n"]),e.createVNode(Ue,{icon:"help",size:"2xs",class:"rounded drop-shadow-sm hover:bg-gray-50 hover:cursor-default"})]}),tooltip:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),_:3})):(e.openBlock(),e.createBlock(qu,e.normalizeProps(e.mergeProps({key:1},{...o.$props,...o.$attrs})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))]),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",Lu,[e.renderSlot(o.$slots,"suffix")])):e.createCommentVNode("",!0)]))}),Ru="data-expand-transition-style",Fu=e.defineComponent({__name:"Expand",setup(t){const o=e=>{const t=e.getRootNode();if(t instanceof ShadowRoot){if(t.querySelector(`style[${Ru}]`))return;const e=document.createElement("style");e.setAttribute(Ru,"true"),e.textContent="\n .expand-enter-active,\n .expand-leave-active {\n transition: height 300ms ease-in-out;\n overflow: hidden;\n }\n\n .expand-enter,\n .expand-leave-to {\n height: 0;\n }\n ",t.appendChild(e)}},n=e=>{o(e);const t=e,n=getComputedStyle(t).width;t.style.width=n,t.style.position="absolute",t.style.visibility="hidden",t.style.height="auto";const l=getComputedStyle(t).height;t.style.width="",t.style.position="",t.style.visibility="",t.style.height="0",requestAnimationFrame(()=>{t.style.height=l})},l=e=>{e.style.height="auto"},a=e=>{o(e);const t=e,n=getComputedStyle(t).height;t.style.height=n,requestAnimationFrame(()=>{t.style.height="0"})};return(t,o)=>(e.openBlock(),e.createBlock(e.Transition,{name:"expand",onEnter:n,onLeave:a,onAfterEnter:l},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Uu={class:"grow min-w-0"},ju={key:0},Gu=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},withLeftAccent:{type:Boolean,default:!1},cappedWidth:{type:Boolean},variant:{default:"default"},shadowSize:{},borderRadius:{},rootClass:{},wrapperClass:{}},emits:["toggle","toggled"],setup(t,{emit:o}){const n=t,l=o,[a,r]=function(t=!1,o={}){const{truthyValue:n=!0,falsyValue:l=!1}=o,a=e.isRef(t),r=e.ref(t);function i(e){if(arguments.length)return r.value=e,r.value;{const e=ot(n);return r.value=r.value===e?ot(l):e,r.value}}return a?i:[r,i]}(!n.isOpen),i=()=>{n.isControlled?l("toggle"):r()};e.watch(()=>a.value,e=>{l("toggled",e)}),e.watch(()=>n.isOpen,e=>{n.isControlled&&r(!e)});const c=e.computed(()=>{switch(n.variant){case"error":return"border-red-50 bg-red-50";case"dark":return"bg-gray-800";default:return""}}),s=e.computed(()=>"error"===n.variant?"bg-red-200":""),d=e.computed(()=>["ease-in-out duration-200 hover:shadow-md",c.value].join(" "));return(o,n)=>(e.openBlock(),e.createBlock(Cu,{spacing:"none","root-class":d.value,"border-style":t.borderStyle},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Bu)(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",Uu,[e.renderSlot(o.$slots,"pre-header"),e.createVNode(Vu,{"data-testid":"card-header",title:t.title,icon:t.icon,"icon-variant":t.iconVariant,spacing:t.spacing,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(i,["stop"]),onKeyup:e.withKeys(i,["enter"])},e.createSlots({prefix:e.withCtx(()=>[e.renderSlot(o.$slots,"title-prefix")]),default:e.withCtx(()=>[e.renderSlot(o.$slots,"title")]),"title-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"title-suffix")]),_:2},[t.isExpandContentHidden?void 0:{name:"right",fn:e.withCtx(()=>[o.$slots.right?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["stop"])),onKeyup:n[1]||(n[1]=e.withKeys(e.withModifiers(()=>{},["stop"]),["enter"]))},[e.renderSlot(o.$slots,"right")],32)):e.createCommentVNode("",!0),e.createVNode(Ue,{icon:e.unref(a)?"unfold_more":"unfold_less",size:"md",class:e.normalizeClass({"text-white":"dark"===t.variant})},null,8,["icon","class"])]),key:"0"}]),1032,["title","icon","icon-variant","spacing","class","card-variant"]),t.isExpandContentHidden?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Fu,{key:0},{default:e.withCtx(()=>[e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ju,[e.createVNode(Eu,{spacing:t.spacing,class:"pt-0"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["spacing"])]))]),_:3}))])],2)]),_:3},8,["root-class","border-style"]))}}),Qu="w-6",Ku=e.defineComponent({__name:"CollapsibleList",props:{type:{default:"ordered"},hasAddButton:{type:Boolean},i18n:{}},emits:["add"],setup(t){const o=t,n=e.computed(()=>"ordered"===o.type?"ol":"ul");return(o,l)=>{var a;return e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3})),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col items-center justify-center",e.unref(Qu)])},[t.hasAddButton?(e.openBlock(),e.createBlock(e.unref(yl),{key:0,square:"","aria-label":(null==(a=t.i18n)?void 0:a.addButtonLabel)??"Add item",color:"gray",variant:"outline",size:"sm","icon-prefix":"add",onClick:l[0]||(l[0]=e=>o.$emit("add"))},null,8,["aria-label"])):e.createCommentVNode("",!0)],2)])}}}),Wu={tooltipCollapse:"Close",tooltipExpand:"Open"},Yu={class:"flex flex-col"},Xu=["aria-label"],Ju={class:"flex grow justify-between items-center select-none"},ep={class:"flex gap-2 items-center"},tp={key:0},op={class:"flex gap-6"},np={class:"pt-5 grow"},lp={key:0,class:"pb-6"},ap=e.defineComponent({__name:"CollapsibleListItem",props:{hasContinuedPreline:{type:Boolean,default:!0},itemNumber:{default:1},i18n:{default:()=>Wu},isOpen:{type:Boolean},hideCollapseIcon:{type:Boolean,default:!1}},emits:["toggle"],setup(t){const n=t,l=e.computed(()=>n.isOpen?"unfold_less":"unfold_more");return(n,a)=>(e.openBlock(),e.createElementBlock("li",Yu,[e.createElementVNode("button",{type:"button",class:"flex gap-6 items-center","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 items-center justify-center border rounded bg-white h-6 shadow-sm select-none",e.unref(Qu)])},[e.renderSlot(n.$slots,"icon",{},()=>[e.createVNode(o,{tag:"span",variant:"body-xs",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.itemNumber),1)]),_:1})])],2),e.createElementVNode("div",Ju,[e.createElementVNode("div",null,[e.renderSlot(n.$slots,"left")]),e.createElementVNode("div",ep,[n.$slots.right?(e.openBlock(),e.createElementBlock("div",tp,[e.renderSlot(n.$slots,"right")])):e.createCommentVNode("",!0),t.hideCollapseIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ue,{key:1,icon:l.value,size:"sm",class:"h-6"},null,8,["icon"]))])])],8,Xu),e.createElementVNode("div",op,[e.createElementVNode("div",{class:e.normalizeClass(["flex justify-center relative shrink-0",e.unref(Qu)])},[e.createElementVNode("div",{class:e.normalizeClass(["w-0.5 h-full pointer-events-none",[t.hasContinuedPreline?"bg-gray-100":"bg-gradient-to-b from-gray-100 to-transparent"]])},null,2)],2),e.createElementVNode("div",np,[e.createVNode(Fu,null,{default:e.withCtx(()=>[t.isOpen?(e.openBlock(),e.createElementBlock("div",lp,[e.renderSlot(n.$slots,"default")])):e.createCommentVNode("",!0)]),_:3})])])]))}}),rp={class:"px-3"};const ip=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",rp,[e.renderSlot(t.$slots,"default")])}]]),cp=e.defineComponent({__name:"TooltipParagraph",setup(t){const n=e.inject(Iu);return(t,l)=>(e.openBlock(),e.createBlock(e.unref(o),{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"]))}}),sp=e.defineComponent({__name:"CombinedVolumeChip",props:{i18n:{},placement:{}},setup:t=>(o,n)=>(e.openBlock(),e.createBlock(Ou,{offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(ci,{color:"dark"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.combinedVolume),1)]),_:1})]),tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.description),1)]),_:1})]),_:1})]),_:1},8,["placement"]))}),dp=["innerHTML"],up=e.defineComponent({__name:"Comparator",props:{propertyName:{},comparator:{},value:{},values:{},hasFormatting:{type:Boolean,default:!0},i18n:{}},setup(t){const o=t,n=e.computed(()=>({propertyName:o.propertyName,comparator:o.comparator,value:o.value??"",values:o.values??[""]}));return(o,l)=>(e.openBlock(),e.createElementBlock("span",{class:"py-0.25 px-0.5",innerHTML:e.unref(Fc)(t.i18n)(n.value,{hasFormatting:t.hasFormatting})},null,8,dp))}}),pp=e.defineComponent({__name:"Comparators",props:{comparators:{},expressionComparators:{},i18n:{},display:{default:"block"},rootClass:{}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.comparators?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.comparators,({meter_property:o,comparator:n,value:l,values:a},r)=>{var i,c;return e.openBlock(),e.createElementBlock("span",{key:null==o?void 0:o.id,class:e.normalizeClass({block:"block"===t.display,inline:"inline"===t.display})},[e.createVNode(up,{"property-name":(null==o?void 0:o.name)??(null==(i=t.i18n)?void 0:i.unknown)??"Unknown",comparator:n,value:l,values:a},null,8,["property-name","comparator","value","values"]),r<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,(o,n)=>{var l,a;return e.openBlock(),e.createElementBlock("span",{key:n,class:e.normalizeClass(["bg-blue-400/25 rounded-sm px-2 mr-1",t.rootClass])},[o.meter_property?(e.openBlock(),e.createBlock(up,{key:0,"property-name":(null==(l=o.meter_property.meter_property)?void 0:l.name)??(null==(a=t.i18n)?void 0:a.unknown)??"Unknown",comparator:o.meter_property.comparator,value:o.meter_property.value,values:o.meter_property.values},null,8,["property-name","comparator","value","values"])):e.createCommentVNode("",!0),o.expression?(e.openBlock(),e.createBlock(pp,{key:1,"expression-comparators":o.expression,display:t.display,i18n:t.i18n,"root-class":t.rootClass},null,8,["expression-comparators","display","i18n","root-class"])):e.createCommentVNode("",!0),n<t.expressionComparators.operands.length-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(e.unref(Mc)(t.expressionComparators.operator).toLocaleLowerCase())+e.toDisplayString(" "),1)],64)):e.createCommentVNode("",!0)],2)}),128)):e.createCommentVNode("",!0)],64))}),mp={class:"flex items-center pt-1"},fp={class:"px-1.5 text-gray-500 text-xs font-semibold"};const hp=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",mp,[o[0]||(o[0]=e.createElementVNode("div",{class:"border-t w-2"},null,-1)),e.createElementVNode("span",fp,[e.renderSlot(t.$slots,"default")]),o[1]||(o[1]=e.createElementVNode("div",{class:"border-t grow"},null,-1))])}]]),vp=e=>`input-${e}`,gp=["aria-selected","aria-disabled","data-testid"],yp=["id","value","checked","disabled"],bp=["for"],xp={class:"flex items-center gap-1"},kp={class:"flex flex-grow flex-col"},_p={class:"flex flex-grow gap-2"},wp={class:"flex flex-grow flex-col"},Bp={class:"flex flex-grow gap-2 items-center"},Cp=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(t,{emit:o}){const n=o,l=t,a=e=>{const t=e.target,o={value:t.value,checked:t.checked};n("value-changed",o)},r=()=>{l.multiple||l.disabled||n("value-changed",{value:l.value})},c=e.computed(()=>`checkbox-item-${l.value}`),s=e.computed(()=>i(l.search??""));return(o,n)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":t.checked,"aria-disabled":t.disabled,class:e.normalizeClass([{"hover:bg-gray-100":!t.disabled},"flex relative"]),"data-testid":c.value,tabindex:"0",onClick:r,onKeydown:e.withKeys(r,["enter"])},[t.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(o.$attrs,{id:c.value,ref:"inputRef",value:t.value,checked:t.checked,disabled:t.disabled,type:"checkbox",class:["absolute top-[50%] -translate-y-2 left-3.5 w-4 h-4 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2",t.disabled?"text-gray-400 placeholder-gray-500":"text-blue-600"],tabindex:"-1",onChange:a}),null,16,yp),e.createElementVNode("label",{for:c.value,class:e.normalizeClass([t.disabled?"text-gray-400":"text-gray-900 rounded","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",xp,[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.createElementVNode("div",kp,[e.createElementVNode("div",_p,[e.createVNode(qe,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"sr-only":t.labelSrOnly}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(qe,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(qe,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,bp)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full px-4 text-sm font-medium flex items-center gap-3",[t.condensed?"p-2":"py-3",t.disabled??"cursor-not-allowed",!t.disabled&&"cursor-pointer"]])},[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.createElementVNode("div",wp,[e.createElementVNode("div",Bp,[e.createVNode(qe,{text:t.label,search:e.unref(i)(t.search??""),class:e.normalizeClass(["font-semibold",{"text-gray-400":t.disabled}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(qe,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(qe,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)],2))],42,gp))}});function Ep(e){return e==e&&!D(e)}function Np(e,t){return function(o){return null!=o&&(o[e]===t&&(void 0!==t||e in Object(o)))}}function Tp(e){var t=function(e){for(var t=mc(e),o=t.length;o--;){var n=t[o],l=e[n];t[o]=[n,l,Ep(l)]}return t}(e);return 1==t.length&&t[0][2]?Np(t[0][0],t[0][1]):function(o){return o===e||function(e,t,o,n){var l=o.length,a=l;if(null==e)return!a;for(e=Object(e);l--;){var r=o[l];if(r[2]?r[1]!==e[r[0]]:!(r[0]in e))return!1}for(;++l<a;){var i=(r=o[l])[0],c=e[i],s=r[1];if(r[2]){if(void 0===c&&!(i in e))return!1}else if(!kc(s,c,3,n,new Wi))return!1}return!0}(o,0,t)}}function Mp(e){return cn(e)?(t=Nn(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return Tn(t,e)}}(e);var t}function Vp(e){return"function"==typeof e?e:null==e?Gn:"object"==typeof e?m(e)?(t=e[0],o=e[1],cn(t)&&Ep(o)?Np(Nn(t),o):function(e){var n=ys(e,t);return void 0===n&&n===o?On(e,t):kc(o,n,3)}):Tp(e):Mp(e);var t,o}function Sp(e,t){return e&&e.length?function(e,t){for(var o=-1,n=e.length,l=0,a=[];++o<n;){var r=e[o],i=t?t(r):r;if(!o||!mn(i,c)){var c=i;a[l++]=0===r?0:r}}return a}(e,Vp(t)):[]}const zp={class:"flex flex-col rounded-bl rounded-br"},Pp={key:0,class:"px-5 py-5 text-sm text-slate-400"},qp={key:0},Dp=["innerHTML"],Ip={key:0},$p={class:"mt-1 px-3 py-2 text-sm text-slate-600"},Op={key:2,class:"border-t border-gray-200"},Hp=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(t,{emit:o}){const n=o,l=t,a=e=>n("value-changed",e),r=e.computed(()=>{var e,t;const o=l.search?`<span class="font-bold">"${i(l.search)}"</span>`:"";return(null==(t=null==(e=l.i18n)?void 0:e.noResults)?void 0:t.call(e,o))??`No matches found for ${o}.`}),c=e.computed(()=>""===l.search),s=e.computed(()=>Sp(l.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{}));return(o,n)=>{var i,d;return e.openBlock(),e.createElementBlock("div",zp,[0===t.options.length?(e.openBlock(),e.createElementBlock("div",Pp,[c.value?(e.openBlock(),e.createElementBlock("span",qp,e.toDisplayString((null==(i=l.i18n)?void 0:i.noOptionsAvailable)??"No available options."),1)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.value},null,8,Dp))])):(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",Ip,[e.createElementVNode("p",$p,e.toDisplayString((null==(d=t.i18n)?void 0:d.addOnly)??"You can only select currently unselected options."),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,({label:o,subLabel:n,value:l,checked:r,disabled:i,labelInlineComponent:c,labelSuffixComponent:d,labelSrOnly:u,labelPrefixComponent:p,hidden:m,searchValues:f})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[s.value[l]?(e.openBlock(),e.createBlock(hp,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.value[l]),1)]),_:2},1024)):e.createCommentVNode("",!0),m?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Cp,{key:1,label:o,"sub-label":n,value:l,checked:r,disabled:i,search:f?"":t.search,multiple:t.multiple,condensed:t.condensed,"label-suffix-component":d,"label-prefix-component":p,"label-inline-component":c,"label-sr-only":u,onValueChanged:a},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)),o.$slots["list-footer-content"]?(e.openBlock(),e.createElementBlock("div",Op,[e.renderSlot(o.$slots,"list-footer-content")])):e.createCommentVNode("",!0)])}}}),Ap=Symbol("search-select-input");var Lp="object"==typeof exports&&exports&&!exports.nodeType&&exports,Zp=Lp&&"object"==typeof module&&module&&!module.nodeType&&module,Rp=Zp&&Zp.exports===Lp?d.Buffer:void 0;Rp&&Rp.allocUnsafe;var Fp=S(Object.getPrototypeOf,Object),Up=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)An(t,dc(e)),e=Fp(e);return t}:ic;var jp=Object.prototype.hasOwnProperty;function Gp(e){if(!D(e))return function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}(e);var t=V(e),o=[];for(var n in e)("constructor"!=n||!t&&jp.call(e,n))&&o.push(n);return o}function Qp(e){return ye(e)?pc(e,!0):Gp(e)}function Kp(e){return rc(e,Qp,Up)}var Wp=Object.prototype.hasOwnProperty;function Yp(e){var t=new e.constructor(e.byteLength);return new tc(t).set(new tc(e)),t}var Xp=/\w*$/;var Jp=u?u.prototype:void 0,em=Jp?Jp.valueOf:void 0;function tm(e,t,o){var n,l,a,r=e.constructor;switch(t){case"[object ArrayBuffer]":return Yp(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return a=Yp((l=e).buffer),new l.constructor(a,l.byteOffset,l.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e){var t=Yp(e.buffer);return new e.constructor(t,e.byteOffset,e.length)}(e);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,Xp.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return n=e,em?Object(em.call(n)):{}}}var om=Te&&Te.isMap,nm=om?Be(om):function(e){return k(e)&&"[object Map]"==ue(e)};var lm=Te&&Te.isSet,am=lm?Be(lm):function(e){return k(e)&&"[object Set]"==ue(e)},rm="[object Arguments]",im="[object Function]",cm="[object Object]",sm={};function dm(e,t,o,n,l,a){var r;if(o&&(r=l?o(e,n,l,a):o(e)),void 0!==r)return r;if(!D(e))return e;var i=m(e);if(i)r=function(e){var t=e.length,o=new e.constructor(t);return t&&"string"==typeof e[0]&&Wp.call(e,"index")&&(o.index=e.index,o.input=e.input),o}(e);else{var c=ue(e),s=c==im||"[object GeneratorFunction]"==c;if(_e(e))return e.slice();if(c==cm||c==rm||s&&!l)r={};else{if(!sm[c])return l?e:{};r=tm(e,c)}}a||(a=new Wi);var d=a.get(e);if(d)return d;a.set(e,r),am(e)?e.forEach(function(n){r.add(dm(n,t,o,n,e,a))}):nm(e)&&e.forEach(function(n,l){r.set(l,dm(n,t,o,l,e,a))});var u=i?void 0:Kp(e);return function(e,t){for(var o=-1,n=null==e?0:e.length;++o<n&&!1!==t(e[o],o,e););}(u||e,function(n,l){u&&(n=e[l=n]),zn(r,l,dm(n,t,o,l,e,a))}),r}function um(e,t){return t.length<2?e:Tn(e,function(e,t,o){var n=-1,l=e.length;t<0&&(t=-t>l?0:l+t),(o=o>l?l:o)<0&&(o+=l),l=t>o?0:o-t>>>0,t>>>=0;for(var a=Array(l);++n<l;)a[n]=e[n+t];return a}(t,0,-1))}sm[rm]=sm["[object Array]"]=sm["[object ArrayBuffer]"]=sm["[object DataView]"]=sm["[object Boolean]"]=sm["[object Date]"]=sm["[object Float32Array]"]=sm["[object Float64Array]"]=sm["[object Int8Array]"]=sm["[object Int16Array]"]=sm["[object Int32Array]"]=sm["[object Map]"]=sm["[object Number]"]=sm[cm]=sm["[object RegExp]"]=sm["[object Set]"]=sm["[object String]"]=sm["[object Symbol]"]=sm["[object Uint8Array]"]=sm["[object Uint8ClampedArray]"]=sm["[object Uint16Array]"]=sm["[object Uint32Array]"]=!0,sm["[object Error]"]=sm[im]=sm["[object WeakMap]"]=!1;var pm=Object.prototype.hasOwnProperty;function mm(e,t){var o=-1,n=(t=En(t,e)).length;if(!n)return!0;for(;++o<n;){var l=Nn(t[o]);if("__proto__"===l&&!pm.call(e,"__proto__"))return!1;if(("constructor"===l||"prototype"===l)&&o<n-1)return!1}var a=um(e,t);return null==a||delete a[Nn(us(t))]}var fm=Function.prototype,hm=Object.prototype,vm=fm.toString,gm=hm.hasOwnProperty,ym=vm.call(Object);function bm(e){return function(e){if(!k(e)||"[object Object]"!=x(e))return!1;var t=Fp(e);if(null===t)return!0;var o=gm.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&vm.call(o)==ym}(e)?void 0:e}var xm=Yn(function(e,t){var o={};if(null==e)return o;var n=!1;t=p(t,function(t){return t=En(t,e),n||(n=t.length>1),t}),function(e,t,o){var n=!o;o||(o={});for(var l=-1,a=t.length;++l<a;){var r=t[l],i=void 0;void 0===i&&(i=e[r]),n?Vn(o,r,i):zn(o,r,i)}}(e,Kp(e),o),n&&(o=dm(o,7,bm));for(var l=t.length;l--;)mm(o,t[l]);return o});const km=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:{}},setup(t){const o=t,n=e.useAttrs(),l=(e=>{switch(e){case"sm":return"xs";case"md":default:return"sm";case"lg":return"md"}})(o.size),a=e.computed(()=>xm({...o,...n},"icon","tooltip"));return(o,n)=>t.tooltip?(e.openBlock(),e.createBlock(Ou,{key:0},{tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(yl,e.mergeProps(a.value,{square:""}),{default:e.withCtx(()=>[e.createVNode(Ue,{icon:t.icon,size:e.unref(l)},null,8,["icon","size"])]),_:1},16)]),_:1})):(e.openBlock(),e.createBlock(yl,e.mergeProps({key:1},a.value,{square:""}),{default:e.withCtx(()=>[e.createVNode(Ue,{icon:t.icon,size:e.unref(l)},null,8,["icon","size"])]),_:1},16))}});var _m=function(e,t,o){for(var n=-1,l=Object(e),a=o(e),r=a.length;r--;){var i=a[++n];if(!1===t(l[i],i,l))break}return e};var wm,Bm=(wm=function(e,t){return e&&_m(e,t,mc)},function(e,t){if(null==e)return e;if(!ye(e))return wm(e,t);for(var o=e.length,n=-1,l=Object(e);++n<o&&!1!==t(l[n],n,l););return e});function Cm(e,t){if(e!==t){var o=void 0!==e,n=null===e,l=e==e,a=_(e),r=void 0!==t,i=null===t,c=t==t,s=_(t);if(!i&&!s&&!a&&e>t||a&&r&&c&&!i&&!s||n&&r&&c||!o&&c||!l)return 1;if(!n&&!a&&!s&&e<t||s&&o&&l&&!n&&!a||i&&o&&l||!r&&l||!c)return-1}return 0}function Em(e,t,o){t=t.length?p(t,function(e){return m(e)?function(t){return Tn(t,1===e.length?e[0]:e)}:e}):[Gn];var n=-1;t=p(t,Be(Vp));var l=function(e,t){var o=-1,n=ye(e)?Array(e.length):[];return Bm(e,function(e,l,a){n[++o]=t(e,l,a)}),n}(e,function(e,o,l){return{criteria:p(t,function(t){return t(e)}),index:++n,value:e}});return function(e,t){var o=e.length;for(e.sort(t);o--;)e[o]=e[o].value;return e}(l,function(e,t){return function(e,t,o){for(var n=-1,l=e.criteria,a=t.criteria,r=l.length,i=o.length;++n<r;){var c=Cm(l[n],a[n]);if(c)return n>=i?c:c*("desc"==o[n]?-1:1)}return e.index-t.index}(e,t,o)})}const Nm={sm:"h-8",md:"h-10",lg:"h-12",xl:"h-16"};const Tm=["data-testid"],Mm={class:"relative"},Vm={class:"relative grow"},Sm=["id","disabled","type","value","name","form","placeholder"],zm=["id","value","disabled","type","name","form","placeholder"],Pm={key:1,class:"mt-2 text-sm text-gray-500"},qm=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:{}},{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(t){const o=t,n=e.useModel(t,"modelValue"),l="number"===o.type&&o.asTextType,a=o.name??zu("name"),r=e=>{l&&(n.value=e.target.value)},i=o.id??zu(`${a}-`),c=e=>{if("number"===o.type){e.target.blur()}},{wrapperClasses:s,inputClasses:d,labelClasses:u,prefixClasses:p,suffixClasses:m}=function({size:t,disabled:o,labelScreenReaderOnly:n,ring:l,hasShadow:a,hasFocusStyles:r,type:i,prefixHasBorder:c,wrapperClass:s,inputClass:d,prefixClass:u,suffixClass:p}){const m=e.computed(()=>(null==o?void 0:o.value)??!1),f=e.computed(()=>"checkbox"===(null==i?void 0:i.value)),h=e.computed(()=>!1!==(null==r?void 0:r.value)),v=e.computed(()=>({"block text-sm font-medium text-gray-900":!0,"sr-only":null==n?void 0:n.value})),g=e.computed(()=>({"rounded border border-gray-300 overflow-hidden":!0,"cursor-not-allowed bg-gray-50 border-transparent":m.value,"bg-white":!m.value,"focus-within:border-primary-500 focus-within:outline-1 focus-within:outline focus-within:outline-primary-500":h.value,"focus-within:ring-primary-500":null==l?void 0:l.value,"shadow-sm focus-within:shadow-sm":null==a?void 0:a.value})),y=e.computed(()=>({"text-gray-900 text-sm block w-full border-0 focus:border-transparent focus:outline-0 focus:ring-0 bg-transparent":!0,"p-2":f.value,"px-4":!f.value,[Nm[t.value]]:!f.value,"cursor-default":m.value})),b=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)}));return{wrapperClasses:e.computed(()=>Bu(g.value,null==s?void 0:s.value)),inputClasses:e.computed(()=>Bu(y.value,null==d?void 0:d.value)),prefixClasses:e.computed(()=>Bu(b.value,null==u?void 0:u.value)),suffixClasses:e.computed(()=>Bu("align-end z-10 flex shrink-0 items-center gap-2 border-l border-gray-300 px-4",null==p?void 0:p.value)),labelClasses:v}}(e.toRefs(o));return(o,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(t.rootClass),"data-testid":e.unref(vp)(e.unref(a))},[t.label?(e.openBlock(),e.createBlock(Zu,{key:0,class:e.normalizeClass(e.unref(u)),for:e.unref(i),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",Mm,[e.createElementVNode("div",{class:e.normalizeClass(["flex",e.unref(s)])},[o.$slots.prefix?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(p))},[e.renderSlot(o.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",Vm,[e.unref(l)?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0},o.$attrs,{id:e.unref(i),disabled:t.disabled,type:t.type,class:e.unref(d),value:n.value,name:e.unref(a),form:t.form,placeholder:t.placeholder,autocomplete:"off",onKeyup:r,onChange:r,onBlur:f[0]||(f[0]=e=>o.$emit("blur")),onWheel:c}),null,16,Sm)):e.withDirectives((e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},o.$attrs,{id:e.unref(i),"onUpdate:modelValue":f[1]||(f[1]=e=>n.value=e),value:"checkbox"===t.type?t.value:n.value,disabled:t.disabled,type:t.type,name:e.unref(a),form:t.form,class:e.unref(d),placeholder:t.placeholder,autocomplete:"off",onBlur:f[2]||(f[2]=e=>o.$emit("blur")),onWheel:c}),null,16,zm)),[[e.vModelDynamic,n.value]]),e.renderSlot(o.$slots,"input")]),o.$slots.suffix?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(m))},[e.renderSlot(o.$slots,"suffix")],2)):e.createCommentVNode("",!0)],2),e.renderSlot(o.$slots,"adornment-end")]),!e.unref(ze)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",Pm,[e.unref(ze)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{key:1}):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(De,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],10,Tm))}}),Dm={class:"flex flex-col gap-2"},Im=["aria-expanded"],$m={class:"flex items-center gap-2"},Om={key:0},Hm={class:"flex items-center gap-2"},Am={key:0,class:"flex flex-wrap gap-2"},Lm=["innerHTML"],Zm=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:{},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(t,{expose:o,emit:n}){var l;const a=t,r=e.inject(Ap),c=null==(l=e.getCurrentInstance())?void 0:l.vnode.props,s=!(null==c?void 0:c["onUpdate:search"]),d=e.computed(()=>Array.isArray(a.multiModelValue)),u=e.ref(a.singleModelValue),p=n,f=zt(a,"singleModelValue",p),h=zt(a,"multiModelValue",p),v=e.ref(h.value??[]);e.watch(()=>a.multiModelValue,e=>{e&&(v.value=e)});const g=e.useModel(t,"search"),y=e.computed({get:()=>d.value?v.value??[]:"string"==typeof f.value?[f.value]:[],set(e){d.value?v.value=e:f.value=(null==e?void 0:e[0])??""}}),b=e.computed(()=>q.value.filter(e=>{var t;return null==(t=y.value)?void 0:t.includes(e.value)})),x=e.computed(()=>b.value[0]),k=Ni(),_=e.ref(!1),w=e.ref(),B=e.ref(),C=e.ref(),E=()=>w.value?Array.from(w.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],N=()=>{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},T=()=>{if(!B.value)return null;let e=B.value.querySelector("input");if(e)return e;const t=B.value.querySelectorAll("*");for(const o of t)if(o.shadowRoot&&(e=o.shadowRoot.querySelector("input"),e))return e;return null},M=e=>{var t,o;if(!_.value)return;const n=E(),l=T();if(N()===l)switch(e.key){case"ArrowDown":n.length>0&&(e.preventDefault(),null==(t=n[0])||t.focus());break;case"Tab":!e.shiftKey&&n.length>0&&(e.preventDefault(),null==(o=n[0])||o.focus());break;case"Escape":e.preventDefault(),F(),g.value=""}},V=t=>{var o,n,l,a;const r=E(),i=N(),c=r.indexOf(i),s=T();switch(t.key){case"ArrowDown":c<r.length-1&&(t.preventDefault(),null==(o=r[c+1])||o.focus());break;case"ArrowUp":t.preventDefault(),c<=0?null==s||s.focus():null==(n=r[c-1])||n.focus();break;case"Tab":t.shiftKey?c<=0?(t.preventDefault(),null==s||s.focus()):(t.preventDefault(),null==(l=r[c-1])||l.focus()):c>=r.length-1?(t.preventDefault(),F(),g.value="",null==s||s.focus()):(t.preventDefault(),null==(a=r[c+1])||a.focus());break;case"Escape":t.preventDefault(),F(),g.value="",e.nextTick(()=>{null==s||s.focus()})}},{floatingStyles:S}=nn(B,w,{whileElementsMounted:Ko,placement:"bottom",middleware:[Wo(4),Yo({mainAxis:!0})]}),{width:z}=Et(B),P=e=>{var t;return a.disabled||!a.disabled&&a.addOnly&&!!(null==(t=u.value)?void 0:t.includes(e))},q=e.computed(()=>{const e=a.options.map(e=>({...e,checked:y.value.includes(e.value),disabled:e.disabled??P(e.value)})),t=[...e,...0===g.value.length&&O.value?O.value.filter(t=>!e.some(e=>e.value===t.value)):[]];return a.optionsOrderProperties&&!ze(a.optionsOrderProperties)?(o=t,n=a.optionsOrderProperties,l=a.optionsOrder,null==o?[]:(m(n)||(n=null==n?[]:[n]),m(l)||(l=null==l?[]:[l]),Em(o,n,l))):t;var o,n,l}),D=e=>q.value.filter(t=>e.some(e=>t.value===e)),I=e.computed(()=>D(y.value)),$=e.computed(()=>I.value[0]),O=e.ref([]),H=({value:e,checked:t})=>{let o;d.value?o=t?[...y.value,e]:y.value.filter(t=>t!==e):(o=[e],_.value=!1,g.value=""),O.value=D(o),y.value=o,p("change")},A=e.computed(()=>y.value.length>0&&!a.disabled&&!(1===y.value.length&&""===y.value[0])),L=()=>{y.value=[],v.value=[]},Z=()=>{g.value=""},R=e.computed(()=>s?q.value.filter(e=>{const t=i(g.value.toLowerCase());return e.searchValues?e.searchValues.some(e=>e.toLowerCase().match(t)):(e.label??"").toLowerCase().match(t)}):q.value),F=()=>{d.value&&(h.value=v.value),_.value=!1};e.watch(v,()=>{_.value||_c(h.value,v.value)||!d.value||(h.value=v.value)});rt("mousedown",e=>{const t=e.composedPath();w.value&&t.includes(w.value)||B.value&&t.includes(B.value)||_.value&&(F(),g.value="")});const U=e.computed(()=>{var e,t,o,n,l,r;return d.value&&_.value?(null==(e=a.i18n)?void 0:e.placeholderSearch)??"Search":d.value&&1===I.value.length?null==(t=$.value)?void 0:t.label:d.value&&I.value.length>=2?`${null==(o=$.value)?void 0:o.label} +${I.value.length-1}`:f.value||$.value?_.value?(null==(l=a.i18n)?void 0:l.placeholderSearch)??"Search":a.singleModelValue||$.value?null==(r=q.value.find(e=>{var t;return e.value===(null==(t=x.value)?void 0:t.value)}))?void 0:r.label:"":(null==(n=a.i18n)?void 0:n.placeholderDefault)??"Select an option"}),j=e.computed(()=>""===g.value),G=!!(null==c?void 0:c.onAddOption),Q=()=>{p("add-option"),F()},K=e.computed(()=>{var e;return!_.value&&!d.value&&(null==(e=$.value)?void 0:e.labelPrefixComponent)}),W=`search-select-options-${Math.random().toString(36).substring(2,9)}`;return o({flushMemoryCachedSelectedOptions:()=>O.value=[]}),(o,n)=>{var l,a,i;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Dm,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:B,class:e.normalizeClass(["relative flex items-end",{[`${t.rootClass}`]:t.rootClass,"z-30":_.value}]),role:"combobox","aria-expanded":_.value,"aria-haspopup":!0,"aria-controls":W,onKeydown:M},[e.createVNode(e.unref(qm),{ref_key:"inputRef",ref:C,modelValue:g.value,"onUpdate:modelValue":n[2]||(n[2]=e=>g.value=e),required:t.required,label:t.label,name:t.name,form:t.form,"label-screen-reader-only":t.labelScreenReaderOnly,placeholder:U.value,class:e.normalizeClass(["grow",{"placeholder:text-gray-900":!_.value&&(!d.value&&e.unref(f)||d.value&&!e.unref(ze)(t.multiModelValue))}]),"wrapper-class":{"border-transparent border border-b-gray-200 focus-within:border-b relative z-10 rounded-b-none":_.value},"suffix-class":"border-l-0 pl-0",disabled:t.disabled,size:t.size,error:t.error,"prefix-has-border":!K.value,"aria-autocomplete":"list",onFocus:n[3]||(n[3]=()=>_.value=!0),onBlur:n[4]||(n[4]=e=>o.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(o.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var o,l;return[e.createElementVNode("div",Hm,[_.value||d.value||!(null==(o=$.value)?void 0:o.labelInlineComponent)||t.showSuffixInClosedInput&&!t.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent($.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},$.value.labelInlineComponent.props)),null,16)),!_.value&&!d.value&&(null==(l=$.value)?void 0:l.labelSuffixComponent)&&t.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent($.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},$.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),A.value&&t.hasReset?(e.openBlock(),e.createBlock(km,{key:2,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onMousedown:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),onClick:L})):e.createCommentVNode("",!0),j.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(km,{key:3,icon:"close",size:"sm",variant:"ghost",color:"gray",type:"button",onClick:Z})),e.createVNode(km,{class:"-mr-3",icon:_.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"sm",variant:"ghost",color:"gray",type:"button",disabled:t.disabled,onClick:n[1]||(n[1]=e=>_.value=!_.value)},null,8,["icon","disabled"])])]}),_:2},[o.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip")]),key:"0"}:void 0,K.value||!s?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",$m,[K.value&&(null==(t=$.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",Om,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent($.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps($.value.labelPrefixComponent.props)),null,16))])):s?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ue,{key:1,icon:"search",size:"sm"}))])]}),key:"1"}:void 0,o.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(o.$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,Im),t.withChips?(e.openBlock(),e.createElementBlock("div",Am,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,({value:o,label:n})=>(e.openBlock(),e.createBlock(ci,{key:o,removable:!P(o),color:t.chipColor,onRemoved:e=>H({value:o,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:n},null,8,Lm)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0)]),e.unref(k)&&e.unref(r)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(r)},[_.value&&!t.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:W,ref_key:"optionsRef",ref:w,role:"listbox",style:e.normalizeStyle(e.unref(S)),class:"z-70 rounded border border-gray-200 bg-white drop-shadow-md",onMouseenter:n[5]||(n[5]=e=>_.value=!0),onKeydown:V},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(z)}px`})},[e.createVNode(Hp,{i18n:{addOnly:null==(l=t.i18n)?void 0:l.addOnly,noResults:null==(a=t.i18n)?void 0:a.noResults,noOptionsAvailable:null==(i=t.i18n)?void 0:i.noOptionsAvailable},options:R.value,multiple:d.value,search:g.value,model:y.value,"add-only":t.addOnly,"allows-multiple-values":!!d.value,condensed:t.condensed,"has-large-dropdown":t.hasLargeDropdown,onValueChanged:H},{"list-footer-content":e.withCtx(()=>[G?(e.openBlock(),e.createBlock(yl,{key:0,variant:"ghost",class:"w-full rounded-t-none",type:"button","icon-prefix":"add",onClick:Q},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(null==(o=t.i18n)?void 0:o.addOption),1)]}),_:1})):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex items-center justify-between",{"py-2":!o.$slots["list-footer-content"]}])},[A.value?(e.openBlock(),e.createBlock(yl,{key:0,type:"button",variant:"ghost",size:"sm",class:"ml-2",onClick:L},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.multipleValuesClearButtonText)??"Clear"),1)]}),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(o.$slots,"list-footer-content",{close:F})]),e.createVNode(yl,{type:"button",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:F},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((null==(o=t.i18n)?void 0:o.multipleValuesDoneButtonText)??"Done"),1)]}),_:1},8,["data-testid"])],2)):e.renderSlot(o.$slots,"list-footer-content",{key:2,close:F})]),_: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)}}}),Rm=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:o}){const n=t,l=zt(n,"singleModelValue"),a=zt(n,"multiModelValue"),r=o;return(o,n)=>(e.openBlock(),e.createBlock(Zm,{"multi-model-value":e.unref(a),"onUpdate:multiModelValue":n[0]||(n[0]=t=>e.isRef(a)?a.value=t:null),"single-model-value":e.unref(l),"onUpdate:singleModelValue":[n[1]||(n[1]=t=>e.isRef(l)?l.value=t:null),n[2]||(n[2]=e=>{r("update:modelValue",e)})],"root-class":o.$attrs.class,label:t.label,options:e.unref(zc).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(o.$slots,"label-suffix")]),_:3},8,["multi-model-value","single-model-value","root-class","label","options","error","has-reset","disabled","required","with-chips","name","form"]))}}),Fm={key:0,class:"flex flex-col gap-2"},Um={key:0},jm={key:1},Gm={key:2},Qm={key:3},Km={key:1},Wm=e.defineComponent({__name:"CustomerBillingInformation",props:{customer:{},title:{},fallbackToReference:{type:Boolean,default:!0}},setup(t){const{$t:n}=ri(),l=t,a=e.computed(()=>{if(!l.customer)return;const e=Ns(l.customer);return l.fallbackToReference&&""===e?l.customer.reference:l.fallbackToReference||""!==e?e:void 0}),i=e.computed(()=>l.title||n({defaultMessage:"Billing information",description:"Title for the billing information",id:"customer_billing_information.title"})),c=e.computed(()=>{if(l.customer)return"individual"in l.customer?l.customer.individual.residential_address:"organization"in l.customer?l.customer.organization.registered_address:void 0});return(l,s)=>(e.openBlock(),e.createBlock(r,{title:i.value},{right:e.withCtx(()=>[e.renderSlot(l.$slots,"settings")]),default:e.withCtx(()=>{var l;return[t.customer?(e.openBlock(),e.createElementBlock("div",Fm,[a.value?(e.openBlock(),e.createElementBlock("div",Um,[e.createVNode(o,{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(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value),1)]),_:1})])):e.createCommentVNode("",!0),(null==(l=c.value)?void 0:l.line1)?(e.openBlock(),e.createElementBlock("div",jm,[e.createVNode(o,{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(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Bs)(c.value)),1)]),_:1})])):e.createCommentVNode("",!0),t.customer.email?(e.openBlock(),e.createElementBlock("div",Gm,[e.createVNode(o,{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(o,{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.customer.email),1)]),_:1})])):e.createCommentVNode("",!0),e.unref(es)(t.customer)?(e.openBlock(),e.createElementBlock("div",Qm,[e.createVNode(o,{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(o,{variant:"body-xs"},{default:e.withCtx(()=>{var o,n;return[e.createTextVNode(e.toDisplayString(null==(n=null==(o=t.customer.organization.tax_ids)?void 0:o[0])?void 0:n.id),1)]}),_:1})])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",Km,[e.createVNode(o,{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"]))}}),Ym=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 o=e.createPropsRestProxy(t,["oldValue","newValue","color"]),n=e.computed(()=>{const e=t.newValue-t.oldValue;return`${e>=0?"+":""}${e}`});return(l,a)=>(e.openBlock(),e.createBlock(e.unref(ci),e.mergeProps(o,{color:t.color,class:"pointer-events-none select-none"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value),1)]),_:1},16,["color"]))}}),Xm={key:1,class:"flex flex-col items-end gap-1"},Jm=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:{}},setup(t){const{$t:o}=ri(),n=e.createPropsRestProxy(t,["downloadService","size","color","mobileIconOnly","variant"]),l=e.ref(!1),a=e.ref(!1),r=gt(ut).smaller("md"),i=e.computed(()=>t.mobileIconOnly&&r.value),c=async()=>{a.value=!0,l.value=!1;try{await t.downloadService()}catch{l.value=!0}finally{a.value=!1}};return(r,s)=>l.value?(e.openBlock(),e.createElementBlock("div",Xm,[l.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(yl),e.mergeProps({key:0},{...n,size:t.size,color:t.color},{disabled:a.value,loading:a.value,type:"button","icon-prefix":"download",onClick:c}),e.createSlots({_:2},[r.$slots.default&&!i.value?{name:"default",fn:e.withCtx(()=>[r.$slots.default?e.renderSlot(r.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading"])),l.value?(e.openBlock(),e.createBlock(e.unref(De),{key:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({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(yl),e.mergeProps({key:0},{...n,size:t.size,color:t.color},{disabled:a.value,loading:a.value,variant:t.variant,type:"button","icon-prefix":"download",onClick:c}),e.createSlots({_:2},[r.$slots.default&&!i.value?{name:"default",fn:e.withCtx(()=>[r.$slots.default?e.renderSlot(r.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1040,["disabled","loading","variant"]))}}),ef=e.defineComponent({__name:"ErrorHandlingProvider",props:{onError:{type:Function}},setup(t){const o=t;return e.provide(Pl,o),(t,o)=>e.renderSlot(t.$slots,"default")}}),tf=e.defineComponent({__name:"ErrorNotification",props:{title:{},description:{}},setup(t){const{formatMessage:o}=ri(),n=t,l=e.computed(()=>n.title??o({defaultMessage:"Something went wrong",id:"error_notification.default_error_message",description:"The default message to display"}));return(t,o)=>(e.openBlock(),e.createBlock($s,e.mergeProps({type:"danger",title:l.value},t.$attrs),null,16,["title"]))}}),of=["innerHTML"],nf=e.defineComponent({__name:"IconSpriteProvider",setup(t){const o=e.ref(null);return e.onMounted(async()=>{const e=await Promise.resolve().then(()=>Tx);o.value=e.default}),(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"hidden",innerHTML:o.value},null,8,of)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))}}),lf={class:"flex items-start gap-2"},af=e.defineComponent({__name:"InfoBlock",props:{variant:{default:"default"},hasIcon:{type:Boolean}},setup(t){const o={default:"info",warning:"error",danger:"error"};return(n,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["px-4 py-3 rounded border text-sm flex justify-between items-center gap-2",{"bg-blue-50 border-blue-100 text-blue-700":"default"===t.variant,"bg-red-50 border-red-100 text-red-700":"danger"===t.variant,"bg-yellow-50 border-yellow-100 text-yellow-700":"warning"===t.variant}])},[e.createElementVNode("div",lf,[t.hasIcon?(e.openBlock(),e.createBlock(e.unref(Ue),{key:0,icon:o[t.variant],size:"xs",class:"shrink-0"},null,8,["icon"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"default")])]),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"cta")])],2))}}),rf=e.defineComponent({__name:"IntlProvider",props:{locale:{},dateLocale:{},messages:{},showTimezones:{type:Boolean,default:!0}},setup(t){const o=t;return e.provide(oi,(({locale:t,dateLocale:o,messages:n})=>{const{onError:l}=ql(),a=e.computed(()=>t.value||"en-US"),r=e.computed(()=>o.value||a.value),i=e.computed(()=>({...Il,...n.value})),c=ti({locale:a.value,messages:i.value},ai);e.watch(a,e=>{c.locale=e}),e.watch(i,e=>{c.messages=e});const s=({id:e,defaultMessage:t,description:o},n)=>c.formatMessage({id:e,defaultMessage:t,description:o},n),d=e=>{const t={year:"numeric",month:"2-digit",day:"2-digit",timeZone:e.timezone&&Dl(e.timezone)},o=li(r.value)?{...t,month:"short",day:"numeric"}:t,n=li(r.value)?{...ni,hour12:!0}:ni;try{switch(e.format){case"date":return new Intl.DateTimeFormat(r.value,o).format(new Date(e.date));case"dateTime":return new Intl.DateTimeFormat(r.value,{...o,...n}).format(new Date(e.date))}}catch(a){return null==l||l(new Error("Failed to format date",{cause:a})),d({...e,timezone:void 0,offsetType:"local",format:"dateTime"})}};return{...c,$t:s,formatMessage:s,formatDate:d}})({locale:e.computed(()=>o.locale),dateLocale:e.computed(()=>o.dateLocale),messages:e.computed(()=>o.messages)})),(t,o)=>e.renderSlot(t.$slots,"default")}}),cf={class:"w-full"};const sf=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("table",cf,[e.renderSlot(t.$slots,"default")])}]]),df=e.defineComponent({__name:"InvoiceTableData",props:{number:{type:Boolean,default:!1},hasPadding:{type:Boolean,default:!0}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({"text-right tabular-nums":t.number,"py-2":t.hasPadding})},[e.renderSlot(o.$slots,"default")],2))}),uf=e.defineComponent({__name:"InvoiceTableHeader",props:{left:{type:Boolean,default:!1},right:{type:Boolean,default:!1}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(["py-1.5 font-bold border-b text-gray-400 text-xs uppercase",{"text-left":t.left,"text-right":t.right}])},[e.renderSlot(o.$slots,"default")],2))}),pf={class:"flex items-center"},mf={key:0,class:"text-xs text-gray-400"},ff={class:"flex items-center"},hf={key:0},vf=e.defineComponent({__name:"InvoiceSubLineRow",props:{subLines:{},isOpen:{type:Boolean},lineOrder:{},periodOrder:{},groupOrder:{},processingOnlyCustomers:{}},setup(t){const{formatMessage:o}=ri(),n=t,l=e=>{var t;const l=null==(t=n.processingOnlyCustomers)?void 0:t.find(t=>t.id===e);return l?Ns(l):o({id:"generic.not_available",defaultMessage:"N/A",description:"Used in scenarios where no data is available to be displayed"})},a=e=>{var t;return(null==(t=e.usage_based_conversion)?void 0:t.conditions)??e.conditions};return(o,n)=>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,(l,r)=>(e.openBlock(),e.createElementBlock("tr",{key:r,class:e.normalizeClass(r>0?"border-t":"")},[e.createVNode(df,{class:"w-1/3"},{default:e.withCtx(()=>{var n,r,i,c,s,d;return[e.createElementVNode("div",pf,[e.renderSlot(o.$slots,"invoice-line-prefix",{lineOrder:t.lineOrder,periodOrder:t.periodOrder,groupOrder:t.groupOrder}),e.createElementVNode("div",null,[e.createElementVNode("div",null,[l.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.description),1)],64)):l.details.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.details.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]),(null==(n=a(l))?void 0:n.name)||(null==(r=a(l))?void 0:r.meter_properties)?(e.openBlock(),e.createElementBlock("div",mf,[(null==(i=a(l))?void 0:i.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(null==(c=a(l))?void 0:c.name),1)],64)):(null==(s=a(l))?void 0:s.meter_properties)?(e.openBlock(),e.createBlock(e.unref(pp),{key:1,comparators:null==(d=a(l))?void 0:d.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]}),_:2},1024),e.createVNode(df,{number:"",class:"w-1/7 text-right tabular-nums"},{default:e.withCtx(()=>{var t,o;return[e.createTextVNode(e.toDisplayString((null==(o=null==(t=l.details.conversion)?void 0:t.credits)?void 0:o.quantity)??"N/A"),1)]}),_:2},1024),e.createVNode(df,{class:"w-1/7 text-right tabular-nums"},{default:e.withCtx(()=>{var t,o;return[(null==(t=l.details.band)?void 0:t.amount)?(e.openBlock(),e.createBlock(Os,{key:0,value:l.details.band.amount},null,8,["value"])):(null==(o=l.details.band)?void 0:o.percentage)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.details.band.percentage)+"% ",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(" N/A ")],64))]}),_:2},1024),e.createVNode(df,null,{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createTextVNode(" ",-1)])]),_:1}),l.details.amount?(e.openBlock(),e.createBlock(df,{key:0,class:"w-1/7 text-right tabular-nums"},{default:e.withCtx(()=>[e.createVNode(Os,{value:l.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,n)=>(e.openBlock(),e.createElementBlock("tr",{key:n,tabindex:void 0,class:e.normalizeClass(["group",{"border-t":0!==n}])},[e.createVNode(df,{class:"pl-4"},{default:e.withCtx(()=>[e.createElementVNode("div",ff,[t.processing_only_customer_resource_id?(e.openBlock(),e.createElementBlock("div",hf,e.toDisplayString(l(t.processing_only_customer_resource_id)),1)):e.createCommentVNode("",!0)])]),_:2},1024),e.renderSlot(o.$slots,"subline-content",{details:t.details,hideTaxDetails:!0})],2))),128)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)}}),gf=["tabindex","onClick"],yf={class:"flex items-center"},bf=e.defineComponent({__name:"InvoiceCommitment",props:{commitments:{},groupOrder:{},invoicePeriodOrder:{}},setup(t){const o=ri(),{getIsOpen:n,toggle:l}=Ti(),a=(e,t)=>`${e}-line-${t}`;return(r,i)=>(e.openBlock(),e.createBlock(sf,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(uf,{left:"",colspan:"5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$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(uf,{right:"",class:"w-60"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$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 o=t.groupOrder,n=c.line_order,void l(a(o,n));var o,n}},[e.createVNode(df,{colspan:"2"},{default:e.withCtx(()=>{var l,i;return[c.sub_lines?(e.openBlock(),e.createBlock(Ue,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(n)(a(t.groupOrder,c.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",yf,[e.renderSlot(r.$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==(l=c.details)?void 0:l.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(i=c.details)?void 0:i.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(o).$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(df,{colspan:"3"},{default:e.withCtx(()=>[...i[0]||(i[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(df,{number:""},{default:e.withCtx(()=>{var t,o;return[(null==(t=c.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(Os,{key:0,value:null==(o=c.details)?void 0:o.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,gf),e.createVNode(vf,{ref_for:!0,ref:a(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(n)(a(t.groupOrder,c.line_order))},null,8,["sub-lines","line-order","period-order","group-order","is-open"])],64))),128))]),_:3}))}}),xf=["tabindex","onClick"],kf={class:"flex items-center"},_f=e.defineComponent({__name:"InvoiceDiscountMarkup",props:{lines:{},type:{},handleToggleItems:{type:Function},formatIndex:{type:Function},expandedItems:{},isExpandable:{type:Boolean},invoicePeriodOrder:{},groupOrder:{}},setup(t){const o=ri(),{getIsOpen:n,toggle:l}=Ti(),a=(e,t)=>`${e}-line-${t}`;return(r,i)=>(e.openBlock(),e.createBlock(sf,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(uf,{left:"",class:"w-3/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(uf,{colspan:"2"},{default:e.withCtx(()=>[...i[0]||(i[0]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(uf,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(o).$t({id:"invoice.table_header.discount",defaultMessage:"Discount",description:"Table header for discount column"}):e.unref(o).$t({id:"invoice.table_header.markup",defaultMessage:"Markup",description:"Table header for markup column"})),1)]),_:1}),e.createVNode(uf,{left:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString("DISCOUNT"===t.type?e.unref(o).$t({id:"invoice.table_header.total",defaultMessage:"Total",description:"Table header for total column"}):" "),1)]),_:1}),e.createVNode(uf,{right:"",class:"w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$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,(o,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 n=t.groupOrder,r=o.line_order,void l(a(n,r));var n,r}},[e.createVNode(df,{class:"w-3/5"},{default:e.withCtx(()=>{var l,i;return[o.sub_lines?(e.openBlock(),e.createBlock(Ue,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(n)(a(t.groupOrder,o.line_order))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createElementVNode("div",kf,[e.renderSlot(r.$slots,"invoice-line-prefix",{lineOrder:o.line_order,periodOrder:t.invoicePeriodOrder,groupOrder:t.groupOrder}),o.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.description),1)],64)):(null==(l=o.details)?void 0:l.description)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null==(i=o.details)?void 0:i.description),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode("N/A")],64))])]}),_:2},1024),e.createVNode(df,{colspan:"2"},{default:e.withCtx(()=>[...i[1]||(i[1]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(df,{class:"tabular-nums w-1/5"},{default:e.withCtx(()=>{var t,n,l;return[e.createTextVNode(e.toDisplayString((null==(n=null==(t=o.details)?void 0:t.band)?void 0:n.percentage)?`${null==(l=o.details)?void 0:l.band.percentage}%`:" "),1)]}),_:2},1024),e.createVNode(df,{class:"w-1/5"},{default:e.withCtx(()=>[...i[2]||(i[2]=[e.createTextVNode(" ",-1)])]),_:1}),e.createVNode(df,{number:"",class:"w-1/5"},{default:e.withCtx(()=>{var t;return[(null==(t=o.details)?void 0:t.amount)?(e.openBlock(),e.createBlock(Os,{key:0,value:o.details.amount},null,8,["value"])):e.createCommentVNode("",!0)]}),_:2},1024)],10,xf),e.createVNode(vf,{ref_for:!0,ref:a(t.groupOrder,o.line_order),"sub-lines":o.sub_lines??[],"line-order":o.line_order,"is-open":e.unref(n)(a(t.groupOrder,o.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}))}}),wf=["tabindex"],Bf={key:0},Cf={colspan:"2",class:"p-0"},Ef={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},Nf=e.defineComponent({__name:"InvoiceGroupCommitment",props:{group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup(t){const o=ri();return(n,l)=>(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:l[0]||(l[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[l[1]||(l[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),l[2]||(l[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(df,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(Ue,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute 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(o).$t({id:"invoice.commitment_heading",defaultMessage:"Commitment",description:"Heading used for commitment in invoice tables"})),1)]),_:1}),e.createVNode(df,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Os,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Os,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,wf),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",Bf,[e.createElementVNode("td",Cf,[e.createElementVNode("div",Ef,[e.createVNode(bf,{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(n.$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))}}),Tf=["tabindex"],Mf={key:0},Vf={colspan:"2",class:"p-0"},Sf={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},zf=e.defineComponent({__name:"InvoiceGroupDiscountMarkup",props:{heading:{},group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup:t=>(o,n)=>(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:n[0]||(n[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[n[1]||(n[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),n[2]||(n[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(df,{class:"p-0"},{default:e.withCtx(()=>[t.isExpandable?(e.openBlock(),e.createBlock(Ue,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute 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(df,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Os,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Os,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,Tf),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))&&t.group.lines?(e.openBlock(),e.createElementBlock("tr",Mf,[e.createElementVNode("td",Vf,[e.createElementVNode("div",Sf,[e.createVNode(_f,{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(o.$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))}),Pf={class:"flex gap-4"},qf={class:"flex gap-2 items-center"},Df=e.defineComponent({__name:"PricingClauseChip",props:{iconName:{},chipColor:{}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock("div",Pf,[e.createVNode(ci,{color:t.chipColor},{default:e.withCtx(()=>[e.createElementVNode("div",qf,[e.createVNode(Ue,{icon:t.iconName,size:"xs"},null,8,["icon"]),e.createElementVNode("span",null,[e.renderSlot(o.$slots,"chip-content")])])]),_:3},8,["color"]),e.renderSlot(o.$slots,"chip-postfix")]))}),If={class:"flex flex-col gap-2"},$f=e.defineComponent({__name:"InvoicePricingClauseChip",props:{clauseType:{},priceDetailsBand:{},invoiceLineDescription:{}},setup(t){const o=ri();return(n,l)=>(e.openBlock(),e.createElementBlock("div",If,[e.createElementVNode("span",null,e.toDisplayString(t.invoiceLineDescription),1),"DISCOUNT"===t.clauseType&&t.priceDetailsBand?(e.openBlock(),e.createBlock(e.unref(Df),{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(o).$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(Tc)(t.priceDetailsBand.amount)}).toUpperCase()),1)]),key:"0"}:t.priceDetailsBand.percentage?{name:"chip-content",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$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(Df),{key:1,"icon-name":"info","chip-color":"yellow"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$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(Df),{key:2,"icon-name":"north_east","chip-color":"teal-light"},{"chip-content":e.withCtx(()=>{var n;return[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.markup_percentage",defaultMessage:"{percentage}% markup",description:"Markup percentage, where {percentage} is replaced with the percentage (number only)"},{percentage:(null==(n=t.priceDetailsBand)?void 0:n.percentage)??"0"}).toUpperCase()),1)]}),_:1})):"COMMITMENT"===t.clauseType?(e.openBlock(),e.createBlock(e.unref(Df),{key:3,"icon-name":"sell","chip-color":"orange"},{"chip-content":e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.commitment",defaultMessage:"commitment",description:"Used on invoice lines to mark as commitment"}).toUpperCase()),1)]),_:1})):e.createCommentVNode("",!0)]))}}),Of={class:"items-left flex flex-col gap-1 leading-none"},Hf={class:"flex items-center"},Af={key:0,class:"ml-1 text-xs text-gray-400"},Lf={key:0},Zf={key:1,class:"text-xs text-gray-400"},Rf={key:2,class:"text-xs text-gray-400"},Ff={class:"text-[9pt] text-slate-600"},Uf=e.defineComponent({__name:"InvoiceLineRow",props:{data:{},isLast:{type:Boolean},periodOrder:{},groupOrder:{},groupType:{},isExpanded:{type:Boolean}},setup(t){const{$t:o}=ri(),n=t,l=e=>{var t,o;if(!e)return"";let n="0",l=" +";if(e.tier_lower_bound&&"number"in e.tier_lower_bound)n=(null==(t=e.tier_lower_bound)?void 0:t.number)??"0";else if(e.tier_lower_bound&&"amount"in e.tier_lower_bound){const{quantity:t,currency:o}=e.tier_lower_bound.amount;n=`${o} ${t??0}`}if(e.tier_top_bound&&"number"in e.tier_top_bound)l=` - ${null==(o=e.tier_top_bound)?void 0:o.number}`;else if(e.tier_top_bound&&"amount"in e.tier_top_bound){const{quantity:t,currency:o}=e.tier_top_bound.amount;l=` - ${o} ${t}`}return n+l},a=e.computed(()=>{var e;return null==(e=n.data.details)?void 0:e.included_volume_details}),r=e.computed(()=>{var e,t;return(null==(e=n.data)?void 0:e.product_items)?qc(n.data.product_items.map(e=>e.name)):(null==(t=n.data)?void 0:t.description)??"N/A"});return(n,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(df,{class:"align-top"},{default:e.withCtx(()=>{var i,c,s,d,u,p,m,f,h,v,g,y,b,x,k,_,w,B;return[e.createElementVNode("div",Of,[e.createElementVNode("div",null,[t.data.sub_lines?(e.openBlock(),e.createBlock(Ue,{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",Hf,[e.renderSlot(n.$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",Af,e.toDisplayString(e.unref(Mc)(t.data.type)),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock($f,{key:1,"invoice-line-description":r.value,"clause-type":t.data.type,"price-details-band":null==(i=t.data.details)?void 0:i.band},null,8,["invoice-line-description","clause-type","price-details-band"]))])]),["TIERED","STAIR_STEP","TOP_TIERED"].includes(t.data.pricing_type)&&!a.value&&(null==(c=t.data.details)?void 0:c.band)?(e.openBlock(),e.createElementBlock("div",Lf,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",Zf,[(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,(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(e.toDisplayString(o.meter_property.name)+": "+e.toDisplayString(o.value),1),n<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",Rf,[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(pp),{key:1,comparators:t.data.conditions.meter_properties},null,8,["comparators"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("span",Ff,["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(o)({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(Os,{key:0,value:t.data.details.band.minimum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"NOT_HIT"===(null==(y=t.data.details)?void 0:y.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(o)({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==(b=t.data.details)?void 0:b.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.price_bound_maximum_amount",defaultMessage:"Maximum amount",description:"Minimum amount specified in a band"}))+" ",1),(null==(x=t.data.details.band)?void 0:x.maximum_amount)?(e.openBlock(),e.createBlock(Os,{key:0,value:t.data.details.band.maximum_amount},null,8,["value"])):e.createCommentVNode("",!0)],64)):"BELOW_MINIMUM_NUMBER"===(null==(k=t.data.details)?void 0:k.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_minimum_number",defaultMessage:"Minimum number",description:"Minimum number of units specified in a band"}))+" "+e.toDisplayString(null==(_=t.data.details.band)?void 0:_.minimum_number),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(w=t.data.details)?void 0:w.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(e.unref(o)({id:"invoice.line.band_maximum_number",defaultMessage:"Maximum number",description:"Maximum number of units specified in a band"}))+" "+e.toDisplayString(null==(B=t.data.details.band)?void 0:B.maximum_number),1)],64)):e.createCommentVNode("",!0)])]}),_:3}),e.renderSlot(n.$slots,"line-content",{details:t.data.details})],64))}}),jf={key:4,class:"text-xs text-gray-400"},Gf={key:1,class:"tabular-nums"},Qf={class:"text-2xs text-gray-500"},Kf={key:0,class:"flex justify-end"},Wf={class:"flex gap-1 items-center justify-end"},Yf={key:0,class:"text-2xs text-gray-500 tabular-nums"},Xf=e.defineComponent({__name:"InvoiceRowContent",props:{pricingType:{},details:{},taxCategories:{},amountType:{},hideTaxDetails:{type:Boolean}},setup(t){const o=ri(),n=t,l=e.computed(()=>{var e;return null==(e=n.details)?void 0:e.included_volume_details}),a=e.computed(()=>{var e;return null==(e=l.value)?void 0:e.available_included_volume});return(n,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(df,{number:"",class:"align-top"},{default:e.withCtx(()=>{var n,l,r,i,c,s,d,u,p,m,f,h,v,g,y,b,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==(l=t.details)?void 0:l.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==(i=t.details)?void 0:i.meter_value.count),1)],64)):"NOT_HIT"===(null==(c=t.details)?void 0:c.price_bound)&&"amount"in t.details.meter_value&&(null==(d=null==(s=t.details)?void 0:s.meter_value)?void 0:d.amount)?(e.openBlock(),e.createBlock(Os,{key:1,value:null==(p=null==(u=t.details)?void 0:u.meter_value)?void 0:p.amount},null,8,["value"])):"NOT_HIT"===(null==(m=t.details)?void 0:m.price_bound)&&"number"in t.details.meter_value&&(null==(h=null==(f=t.details)?void 0:f.meter_value)?void 0:h.number)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(null==(g=null==(v=t.details)?void 0:v.meter_value)?void 0:g.number),1)],64)):"RATIO"===(null==(y=t.details)?void 0:y.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(null==(b=t.details)?void 0:b.meter_value.number),1)],64)):"BELOW_MINIMUM_NUMBER"===(null==(x=t.details)?void 0:x.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(null==(_=null==(k=t.details)?void 0:k.band)?void 0:_.minimum_number),1)],64)):"ABOVE_MAXIMUM_NUMBER"===(null==(w=t.details)?void 0:w.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:5},[e.createTextVNode(e.toDisplayString(null==(C=null==(B=t.details)?void 0:B.band)?void 0:C.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(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(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(Os,{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",jf,["AMOUNT"===a.value.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(Os,{value:a.value.amount},null,8,["value"]),e.createTextVNode(" "+e.toDisplayString(e.unref(o).$t({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",Gf,e.toDisplayString(a.value.number)+" "+e.toDisplayString(e.unref(o).$t({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(df,{key:0,class:"align-top text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.pass_through",defaultMessage:"Pass through",description:"Name of the pass through pricing type"})),1)]),_:1})):(e.openBlock(),e.createBlock(df,{key:1,number:"",class:"align-top"},{default:e.withCtx(()=>{var o,n,l,a,r,i,c,s,d,u,p,m;return[(null==(o=t.details)?void 0:o.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["BELOW_MINIMUM_AMOUNT"===(null==(n=t.details)?void 0:n.price_bound)&&(null==(a=null==(l=t.details)?void 0:l.band)?void 0:a.minimum_amount)?(e.openBlock(),e.createBlock(Os,{key:0,value:t.details.band.minimum_amount},null,8,["value"])):"ABOVE_MAXIMUM_AMOUNT"===(null==(r=t.details)?void 0:r.price_bound)&&(null==(c=null==(i=t.details)?void 0:i.band)?void 0:c.maximum_amount)?(e.openBlock(),e.createBlock(Os,{key:1,value:t.details.band.maximum_amount},null,8,["value"])):["NOT_HIT","RATIO","BELOW_MINIMUM_NUMBER","ABOVE_MAXIMUM_NUMBER"].includes(null==(s=t.details)?void 0:s.price_bound)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[(null==(d=t.details)?void 0:d.band)&&t.details.band.amount?(e.openBlock(),e.createBlock(Os,{key:0,value:t.details.band.amount},null,8,["value"])):e.createCommentVNode("",!0),(null==(u=t.details)?void 0:u.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(null==(p=t.details)?void 0:p.band)&&t.details.band.amount?(e.openBlock(),e.createBlock(Os,{key:0,value:t.details.band.amount},null,8,["value"])):e.createCommentVNode("",!0),(null==(m=t.details)?void 0:m.band)&&"percentage"in t.details.band?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.details.band.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)],64))]}),_:1})),e.createVNode(df,{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,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:"tabular-nums"},[e.createElementVNode("div",null,e.toDisplayString(t.percentage)+"%",1),e.createElementVNode("div",Qf,[e.createVNode(Os,{value:t.tax_amount},null,8,["value"])])]))),128))]),_:1}),e.createVNode(df,{number:"",class:"align-top"},{default:e.withCtx(()=>{var l,a,r,i;return[(null==(a=null==(l=t.details)?void 0:l.amount)?void 0:a.currency)&&(null==(i=null==(r=t.details)?void 0:r.amount)?void 0:i.quantity)?(e.openBlock(),e.createElementBlock("div",Kf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.taxCategories,(n,l)=>{var a;return e.openBlock(),e.createElementBlock("div",{key:l,class:"inline-block"},[e.createElementVNode("div",Wf,[e.createVNode(Os,{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(Ou,{key:0,placement:"top-end"},{tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.original_currency",defaultMessage:"Original currency",description:"Original currency"}))+" ",1),e.createVNode(Os,{value:t.details.pricing_amount,class:"font-semibold"},null,8,["value"])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(Ue,{icon:"info",size:"2xs"})]),_:1})):e.createCommentVNode("",!0)]),t.hideTaxDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Yf,["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.excl.tax",defaultMessage:"Excl. tax",description:"Value excludes tax"}))+" ",1),e.createVNode(Os,{value:n.base_amount},null,8,["value"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.line.incl.tax",defaultMessage:"Incl. tax",description:"Value includes tax"}))+" ",1),e.createVNode(Os,{value:n.total_amount},null,8,["value"])],64))]))])}),128)),e.renderSlot(n.$slots,"one-off-line-context-menu")])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("-")],64))]}),_:3})],64))}}),Jf=["tabindex","onClick"],eh=e.defineComponent({__name:"InvoiceLineGroup",props:{group:{},startDate:{},endDate:{},total:{},amountType:{},invoicePeriodOrder:{},processingOnlyCustomers:{}},setup(t){const o=t,n=e.computed(()=>{var e;return null==(e=[...o.group.lines??[]])?void 0:e.sort((e,t)=>e.line_order-t.line_order)}),l=ri(),{getIsOpen:a,toggle:r}=Ti(),i=(e,t)=>`${e}-line-${t}`;return(o,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(sf,null,{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(uf,{left:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$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(uf,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.table_header.quantity",defaultMessage:"Quantity",description:"Table header for quantity column"})),1)]),_:1}),e.createVNode(uf,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$t({id:"invoice.table_header.price",defaultMessage:"Price",description:"Table header for the column containing the number of units of invoice groups"})),1)]),_:1}),e.createVNode(uf,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$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.createVNode(uf,{right:"",class:"text-gray-400 w-1/5"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).$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(n.value,(l,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",{tabindex:l.sub_lines?0:void 0,class:e.normalizeClass(["group",{"cursor-pointer":l.sub_lines,"border-t":0!==c}]),onClick:e=>{return o=t.group.group_order,n=l.line_order,void r(i(o,n));var o,n}},[(e.openBlock(),e.createBlock(Uf,{key:c,data:l,"is-first-in-group":0===c,"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order,"is-last":c===n.value.length-1,"group-type":t.group.type,"is-expanded":e.unref(a)(i(t.group.group_order,l.line_order))},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"line-content":e.withCtx(n=>[e.createVNode(Xf,{details:n.details,"pricing-type":l.pricing_type,"tax-categories":l.tax_categories,"amount-type":t.amountType},e.createSlots({_:2},["ONE_OFF"===l.type?{name:"one-off-line-context-menu",fn:e.withCtx(t=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{lineOrder:l.line_order}))]),key:"0"}:void 0]),1032,["details","pricing-type","tax-categories","amount-type"])]),_:2},1032,["data","is-first-in-group","period-order","group-order","is-last","group-type","is-expanded"]))],10,Jf),e.createVNode(vf,{ref_for:!0,ref:i(t.group.group_order,l.line_order),"sub-lines":l.sub_lines??[],"processing-only-customers":t.processingOnlyCustomers,"line-order":l.line_order,"is-open":e.unref(a)(i(t.group.group_order,l.line_order)),"period-order":t.invoicePeriodOrder,"group-order":t.group.group_order},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"subline-content":e.withCtx(o=>[e.createVNode(Xf,{details:o.details,"hide-tax-details":o.hideTaxDetails,"pricing-type":l.pricing_type,"tax-categories":l.tax_categories,"amount-type":t.amountType},null,8,["details","hide-tax-details","pricing-type","tax-categories","amount-type"])]),_:2},1032,["sub-lines","processing-only-customers","line-order","is-open","period-order","group-order"])],64))),128))]),_:3})]))}}),th=["tabindex"],oh={key:2,class:"inline-flex justify-center items-center w-3.5 h-3.5 rounded-full bg-blue-100 text-blue-600 text-2xs ml-1 font-bold"},nh={key:0},lh={colspan:"2",class:"p-0"},ah={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},rh=e.defineComponent({__name:"InvoiceGroupRevenue",props:{group:{},expandedItems:{},handleToggleItems:{type:Function},formatIndex:{type:Function},invoicePeriodOrder:{},groupOrder:{},isExpandable:{type:Boolean},amountType:{},processingOnlyCustomers:{}},setup:t=>(o,n)=>(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:n[0]||(n[0]=e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))),onKeyup:[n[1]||(n[1]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["enter"])),n[2]||(n[2]=e.withKeys(e=>t.handleToggleItems(t.formatIndex(t.invoicePeriodOrder,t.groupOrder)),["space"]))]},[e.createVNode(df,{class:"p-0"},{default:e.withCtx(()=>{var o,n,l,a;return[t.isExpandable?(e.openBlock(),e.createBlock(Ue,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))}])},null,8,["class"])):e.createCommentVNode("",!0),(null==(o=t.group.pricing)?void 0:o.name)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.group.pricing.name)+" ",1),(null==(n=t.group.products)?void 0:n.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" - ")],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(qc)((null==(l=t.group.products)?void 0:l.map(e=>e.name))??[]))+" ",1),t.isExpandable?(e.openBlock(),e.createElementBlock("span",oh,e.toDisplayString(null==(a=t.group.lines)?void 0:a.length),1)):e.createCommentVNode("",!0)]}),_:1}),e.createVNode(df,{number:""},{default:e.withCtx(()=>["INCLUDING_TAX"===t.amountType?(e.openBlock(),e.createBlock(Os,{key:0,value:t.group.amount_including_tax},null,8,["value"])):(e.openBlock(),e.createBlock(Os,{key:1,value:t.group.amount_excluding_tax},null,8,["value"]))]),_:1})],42,th),t.expandedItems.includes(t.formatIndex(t.invoicePeriodOrder,t.groupOrder))?(e.openBlock(),e.createElementBlock("tr",nh,[e.createElementVNode("td",lh,[e.createElementVNode("div",ah,[e.createVNode(eh,{"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},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(o.$slots,"invoice-line-prefix",e.normalizeProps(e.guardReactiveProps(t)))]),"one-off-line-context-menu":e.withCtx(n=>[e.renderSlot(o.$slots,"one-off-line-context-menu",e.mergeProps(n,{groupOrder:t.groupOrder}))]),_:3},8,["invoice-period-order","start-date","end-date","total","group","amount-type","processing-only-customers"])])])])):e.createCommentVNode("",!0)],64))}),ih={class:"flex items-center justify-between md:py-2"},ch=e.defineComponent({__name:"InvoiceHeader",props:{invoice:{},paymentAttempts:{},downloadService:{},showDownloadButton:{type:Boolean},variant:{default:"internal"}},setup(t){const n=t,{$t:l,formatDate:a}=ri(),r=e.computed(()=>n.paymentAttempts.findLast(e=>"AUTHORIZED"===e.result)),i=e.computed(()=>l({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})})),c=e.computed(()=>a({date:n.invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:n.invoice.customer.timezone})),s=e.computed(()=>"external"===n.variant?c.value:n.invoice.invoice_number||"N/A"),d=e.computed(()=>{if(n.invoice.paid&&r.value)return l({defaultMessage:"Paid on {date}",description:"Label for payment date, where {date} gets replaced with the date",id:"invoice.paid_on_label"},{date:a({date:r.value.created_at,format:"date",offsetType:"offsetted",timezone:n.invoice.customer.timezone})})}),u=e.computed(()=>"external"===n.variant?[n.invoice.invoice_number,d.value||i.value].join(" - "):d.value||i.value);return(n,a)=>(e.openBlock(),e.createElementBlock("div",ih,[e.createVNode(Tu,{title:s.value},{suffix:e.withCtx(()=>[t.invoice.paid?(e.openBlock(),e.createBlock(ci,{key:0,color:"green",class:"ml-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({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(o,{variant:"body-xs",class:"flex gap-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1})]),_:1},8,["title"]),t.showDownloadButton?(e.openBlock(),e.createBlock(Jm,{key:0,size:"lg",variant:"outline","download-service":t.downloadService,"mobile-icon-only":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Download PDF",description:"Title for button download pdf invoice",id:"invoice.download_pdf_button"})),1)]),_:1},8,["download-service"])):e.createCommentVNode("",!0)]))}}),sh=e.defineComponent({__name:"invoicePreviewRow",props:{weight:{default:"normal"},variant:{default:"body-xs"},noSpacing:{type:Boolean,default:!1}},setup:t=>(n,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-row gap-2",{"py-1.5":!t.noSpacing}])},[e.createVNode(o,{tag:"span",variant:t.variant,class:"grow",weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"label")]),_:3},8,["variant","weight"]),e.createVNode(o,{tag:"span",variant:t.variant,weight:t.weight},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"value")]),_:3},8,["variant","weight"])],2))}),dh=e.defineComponent({__name:"Skeleton",props:{widthClass:{default:"w-10"},heightClass:{default:"h-3"},shade:{default:"default"}},setup:t=>(o,n)=>(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))}),uh=e.defineComponent({__name:"InvoicePreviewNoTaxesSkeleton",props:{widthClass:{default:"w-12"},heightClass:{default:"h-5"}},setup(t){const{$t:o}=ri();return(n,l)=>(e.openBlock(),e.createBlock(Ou,{"is-dark-mode":""},{tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({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(dh,{"width-class":t.widthClass,"height-class":t.heightClass,shade:"darker"},null,8,["width-class","height-class"])]),_:1}))}}),ph=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]},{}),n=e=>{var t,o,n;return(null==(t=e.pricing)?void 0:t.name)&&!ze(null==(o=e.pricing)?void 0:o.name)?e.pricing.name:qc((null==(n=e.products)?void 0:n.map(e=>e.name))??[])};return(l,a)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(l,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(o(l)),([o,l])=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l,(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.wrapperComponent??"div"),{key:l},{default:e.withCtx(()=>[e.createVNode(sh,{"no-spacing":void 0!==t.wrapperComponent},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n(o)),1)]),value:e.withCtx(()=>[e.createVNode(Os,{value:o.amount_excluding_tax},null,8,["value"])]),_:2},1032,["no-spacing"])]),_:2},1024))),128))],64))),128))],64))),128))}}),mh={class:"flex flex-col"},fh={key:0},hh=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:l}=ri(),a=e.ref(void 0!==n.collapsible&&"expanded"!==n.collapsible),r=e.computed(()=>void 0!==n.collapsible),i=e.computed(()=>!!n.trialInvoice),c=e.computed(()=>n.trialInvoice?n.trialInvoice.tax_summary.total_amount:n.invoice.tax_summary.total_amount),s=()=>{r.value&&(a.value=!a.value)};return(n,d)=>(e.openBlock(),e.createElementBlock("div",mh,[e.createVNode(Fu,null,{default:e.withCtx(()=>[a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",fh,[i.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({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(ph,{invoice:t.invoice},null,8,["invoice"]),e.createVNode(Ke,{spacing:"xxs"})],64)):e.createCommentVNode("",!0),e.createVNode(sh,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({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(Os,{value:t.invoice.tax_summary.base_amount},null,8,["value"])]),_:1}),e.createVNode(sh,null,{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({id:"invoice_preview.taxes_heading",defaultMessage:"Taxes",description:"Taxes heading for the invoice preview"})),1)]),value:e.withCtx(()=>[t.isPreviewWithoutTaxes?(e.openBlock(),e.createBlock(uh,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(Os,{key:1,value:t.invoice.tax_summary.tax_amount},null,8,["value"]))]),_:1}),i.value?(e.openBlock(),e.createBlock(sh,{key:2},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({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(uh,{key:0,"width-class":"w-10","height-class":"h-4"})):(e.openBlock(),e.createBlock(Os,{key:1,value:t.invoice.tax_summary.total_amount},null,8,["value"]))]),_:1})):e.createCommentVNode("",!0),e.createVNode(Ke,{spacing:"xxs"})]))]),_:1}),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value?"button":"div"),{class:e.normalizeClass({"hover:cursor-pointer text-left":r.value}),onClick:s},{default:e.withCtx(()=>[e.createVNode(sh,{weight:"semibold",variant:"body-sm"},{label:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isPaid?e.unref(l)({id:"invoice_preview.total_paid_heading",defaultMessage:"Total paid",description:"Total paid heading for the invoice preview"}):e.unref(l)({id:"invoice_preview.total_due_today_heading",defaultMessage:"Total due today",description:"Total due today heading for the invoice preview"}))+" ",1),r.value?(e.openBlock(),e.createBlock(Ue,{key:0,size:"xs",icon:"keyboard_arrow_down",class:e.normalizeClass(["transition ease-in-out text-gray-400",{"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"!==c.value.quantity)?(e.openBlock(),e.createBlock(uh,{key:0})):(e.openBlock(),e.createBlock(Os,{key:1,value:c.value},null,8,["value"]))]),_:1})]),_:1},8,["class"]))]))}});function vh(t){return"function"==typeof t?t():e.unref(t)}"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const gh={key:0,totals:"",class:"border-t"},yh=e.defineComponent({__name:"InvoiceSummaryTotalExcludingTax",props:{baseAmount:{}},setup(t){const o=ri();return(n,l)=>t.baseAmount?(e.openBlock(),e.createElementBlock("tr",gh,[e.createVNode(df,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$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(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:t.baseAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),bh={key:0,class:"font-bold border-t"},xh=e.defineComponent({__name:"InvoiceSummaryTotalIncludingTax",props:{totalAmount:{},isCustomerFacing:{type:Boolean}},setup(t){const o=ri();return(n,l)=>t.totalAmount?(e.openBlock(),e.createElementBlock("tr",bh,[e.createVNode(df,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.isCustomerFacing?e.unref(o).$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(o).$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(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:t.totalAmount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)}}),kh={key:0,colspan:"4",class:"p-0"},_h=e.defineComponent({__name:"InvoiceTaxes",props:{taxCategories:{}},setup(t){const o=ri();return(n,l)=>(e.openBlock(),e.createBlock(sf,{class:"table-fixed"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(uf,{left:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax type",defaultMessage:"Tax type",description:"Table header for the column containing the tax type"})),1)]),_:1}),e.createVNode(uf,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.base amount",defaultMessage:"Base amount",description:"Table header for the column containing the base amount"})),1)]),_:1}),e.createVNode(uf,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$t({id:"invoice.table_header.tax_percentage",defaultMessage:"Percentage",description:"Table header for the column containing the tax percentage"})),1)]),_:1}),e.createVNode(uf,{right:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o).$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,o)=>(e.openBlock(),e.createElementBlock("tr",{key:o},[t.rates?(e.openBlock(),e.createElementBlock("td",kh,[e.createVNode(sf,{class:"table-fixed"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.rates,(o,n)=>(e.openBlock(),e.createElementBlock("tr",{key:n},[e.createVNode(df,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.percentage)+"%",1)]),_:2},1024),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:o.tax_amount},null,8,["value"])]),_:2},1024)]))),128))]),_:2},1024)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(df,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.name)+" ("+e.toDisplayString(t.category)+") ",1)]),_:2},1024),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:t.base_amount},null,8,["value"])]),_:2},1024),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.percentage)+"%",1)]),_:2},1024),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:t.tax_amount},null,8,["value"])]),_:2},1024)],64))]))),128))]),_:1}))}}),wh={class:"flex justify-between items-start"},Bh={key:0,class:"max-h-9"},Ch={class:"flex flex-col gap-2"},Eh={key:0},Nh=["tabindex"],Th={key:1,class:"inline-flex justify-center items-center w-3.5 h-3.5 rounded-full bg-blue-100 text-blue-600 text-2xs ml-1 font-bold"},Mh={key:3},Vh={colspan:"2",class:"p-0"},Sh={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},zh=["tabindex","onClick","onKeyup"],Ph={key:1,class:"inline-flex justify-center items-center w-3.5 h-3.5 rounded-full bg-blue-100 text-blue-600 text-2xs ml-1 font-bold"},qh={key:0},Dh={colspan:"2",class:"p-0"},Ih={class:"px-9 py-3 -mx-9 bg-gray-50 text-xs"},$h={key:0,class:"font-bold border-t"},Oh=e.defineComponent({__name:"InvoiceSummary",props:{invoice:{},isExpandable:{type:Boolean,default:!1},isInvoiceLineCreatable:{type:Boolean,default:!1},showRenderedServicesHeader:{type:Boolean,default:!0},isCustomerFacing:{type:Boolean}},setup(t){const n=ri(),l=t,[a,r]=Mi(),[i,c]=Mi(),[s,d]=function(t=!1,o={}){const{truthyValue:n=!0,falsyValue:l=!1}=o,a=e.isRef(t),r=e.ref(t);function i(e){if(arguments.length)return r.value=e,r.value;{const e=vh(n);return r.value=r.value===e?vh(l):e,r.value}}return a?i:[r,i]}(),u=(...e)=>{l.isExpandable&&r(...e)},p=e=>{l.isExpandable&&c(e)},m=()=>{l.invoice.tax_categories&&l.isExpandable&&d()},f=(e,t)=>+`${e}${t}`,h=e=>n.$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:n.formatDate({date:e.start_at,format:"date",timezone:Dl(l.invoice.customer.timezone),offsetType:"offsetted"}),end_at:n.formatDate({date:e.end_at,format:"date",timezone:Dl(l.invoice.customer.timezone),offsetType:"offsetted"})}),v=e=>{switch(e){case"PRICING":case"REVENUE":return n.$t({id:"invoice.table_heading.products",defaultMessage:"Products",description:"Table heading for the column containing the products of the invoice"});case"COMMITMENT":return n.$t({id:"invoice.table_heading.commitments",defaultMessage:"Commitments",description:"Table heading for the column containing the commitments of the invoice"});case"DISCOUNT":return n.$t({id:"invoice.table_heading.discounts",defaultMessage:"Discounts",description:"Table heading for the column containing the discounts of the invoice"});case"MARKUP":return n.$t({id:"invoice.table_heading.markups",defaultMessage:"Markups",description:"Table heading for the column containing the markups of the invoice"});case"ONE_OFF":return n.$t({id:"invoice.table_heading.one_offs",defaultMessage:"One-off's",description:"Table heading for the column containing the one-offs of the invoice"})}},g=e=>e.groups.reduce((e,t)=>t.type in e?{...e,[t.type]:[...e[t.type],t]}:{...e,[t.type]:[t]},{});return(l,r)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",wh,[l.$slots.logo?(e.openBlock(),e.createElementBlock("div",Bh,[e.renderSlot(l.$slots,"logo")])):(e.openBlock(),e.createBlock(Tu,{key:1,title:e.unref(n).$t({id:"invoice.title",defaultMessage:"Details",description:"Title for the invoice summary"}),variant:"neutral",icon:"draft"},null,8,["title"])),l.$slots.intro?e.renderSlot(l.$slots,"intro",{key:2}):e.createCommentVNode("",!0),e.createElementVNode("div",Ch,[["ONE_OFF","STANDARD","ONE_OFF_CREDIT"].includes(t.invoice.type)&&["DRAFT","OPEN"].includes(t.invoice.status)&&t.isInvoiceLineCreatable?(e.openBlock(),e.createBlock(ld,{key:0,to:{name:"invoice-add-line",params:{id:t.invoice.id}},class:"text-sm font-semibold"},{default:e.withCtx(()=>[e.createVNode(Ue,{icon:"add",size:"md",class:"mr-1"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(n).$t({id:"invoice.add_invoice_line",defaultMessage:"Add invoice line",description:"Label for adding lines to an invoice"})),1)]),_:1},8,["to"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"child-customers-selector")])]),l.$slots.total?e.renderSlot(l.$slots,"total",{key:0}):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"notes"),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoice.periods,(i,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[t.showRenderedServicesHeader?(e.openBlock(),e.createBlock(Qe,{key:0,class:"mt-6"},{default:e.withCtx(()=>[e.createVNode(o,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h(i)),1)]),_:2},1024)]),_:2},1024)):e.createCommentVNode("",!0),i.groups?(e.openBlock(),e.createBlock(sf,{key:1,class:e.normalizeClass({"mt-3":t.showRenderedServicesHeader})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(g(i)),([o,c],s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:o},[s>0?(e.openBlock(),e.createElementBlock("tr",Eh,[...r[0]||(r[0]=[e.createElementVNode("td",null,[e.createElementVNode("div",{class:"h-4"})],-1)])])):e.createCommentVNode("",!0),e.createElementVNode("tr",null,[e.createVNode(uf,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(v(o)),1)]),_:2},1024),e.createVNode(uf,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$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(c,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},["REVENUE"===o||"PRICING"===o||"ONE_OFF"===o?(e.openBlock(),e.createBlock(rh,{key:0,group:r,"expanded-items":e.unref(a),"handle-toggle-items":u,"is-expandable":t.isExpandable,"format-index":f,"invoice-period-order":i.period_order,"group-order":r.group_order,"amount-type":t.invoice.pricing_amount_type,"processing-only-customers":t.invoice.processing_only_customers},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(l.$slots,"invoice-line-prefix",e.mergeProps({ref_for:!0},t))]),"one-off-line-context-menu":e.withCtx(t=>[e.renderSlot(l.$slots,"one-off-line-context-menu",e.mergeProps({ref_for:!0},t,{periodOrder:i.period_order}))]),_:2},1032,["group","expanded-items","is-expandable","invoice-period-order","group-order","amount-type","processing-only-customers"])):"DISCOUNT"===o||"MARKUP"===o?(e.openBlock(),e.createBlock(zf,{key:1,group:r,"expanded-items":e.unref(a),"handle-toggle-items":u,"is-expandable":t.isExpandable,"format-index":f,"invoice-period-order":i.period_order,"group-order":r.group_order,"amount-type":t.invoice.pricing_amount_type,heading:"DISCOUNT"===o?e.unref(n).$t({id:"invoice.discounts_table_heading",defaultMessage:"Discounts",description:"Heading for discounts in the invoice table"}):e.unref(n).$t({id:"invoice.markups_table_heading",defaultMessage:"Markups",description:"Heading for markups in the invoice table"})},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(l.$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"===o?(e.openBlock(),e.createBlock(Nf,{key:2,group:r,"expanded-items":e.unref(a),"handle-toggle-items":u,"is-expandable":t.isExpandable,"format-index":f,"invoice-period-order":i.period_order,"group-order":r.group_order,"amount-type":t.invoice.pricing_amount_type},{"invoice-line-prefix":e.withCtx(t=>[e.renderSlot(l.$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(sf,{key:1,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(uf,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$t({id:"invoice.totals_table_heading",defaultMessage:"Totals",description:"Table heading for the totals column in the invoice table"})),1)]),_:1}),e.createVNode(uf,{right:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$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(xh,{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(yh,{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:m,onKeyup:[e.withKeys(m,["enter"]),e.withKeys(m,["space"])]},[e.createVNode(df,null,{default:e.withCtx(()=>[t.isExpandable&&t.invoice.tax_categories&&t.invoice.tax_categories.length?(e.openBlock(),e.createBlock(Ue,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(s)}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(n).$t({id:"invoice.taxes_table_heading",defaultMessage:"Taxes",description:"Table heading for the taxes column in the invoice table"}))+" ",1),t.isExpandable&&t.invoice.tax_categories?(e.openBlock(),e.createElementBlock("span",Th,e.toDisplayString(t.invoice.tax_categories.length),1)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:t.invoice.tax_summary.tax_amount},null,8,["value"])]),_:1})],42,Nh)):e.createCommentVNode("",!0),e.unref(s)&&t.invoice.tax_categories?(e.openBlock(),e.createElementBlock("tr",Mh,[e.createElementVNode("td",Vh,[e.createElementVNode("div",Sh,[e.createVNode(_h,{"tax-categories":t.invoice.tax_categories},null,8,["tax-categories"])])])])):e.createCommentVNode("",!0),"INCLUDING_TAX"===t.invoice.pricing_amount_type?(e.openBlock(),e.createBlock(yh,{key:4,"base-amount":t.invoice.tax_summary.base_amount},null,8,["base-amount"])):(e.openBlock(),e.createBlock(xh,{key:5,"total-amount":t.invoice.tax_summary.total_amount},null,8,["total-amount"]))]),_:1})):e.createCommentVNode("",!0),e.unref(ze)(t.invoice.closed_periods)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(sf,{key:2,class:"mt-6"},{default:e.withCtx(()=>[e.createElementVNode("tr",null,[e.createVNode(uf,{left:"",class:"text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$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,(o,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.groups,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[e.createElementVNode("tr",{class:e.normalizeClass(["border-t",{"pt-6":0===n,"cursor-pointer":t.isExpandable}]),tabindex:t.isExpandable?0:void 0,onClick:e=>p(f(n,l)),onKeyup:[e.withKeys(e=>p(f(n,l)),["enter"]),e.withKeys(e=>p(f(n,l)),["space"])]},[e.createVNode(df,{class:"p-0"},{default:e.withCtx(()=>{var a,r;return[t.isExpandable?(e.openBlock(),e.createBlock(Ue,{key:0,icon:"keyboard_arrow_down",size:"md",class:e.normalizeClass(["-translate-x-7 absolute text-slate-400",{"-rotate-90":!e.unref(i).includes(f(n,l))}])},null,8,["class"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(qc)((null==(a=o.products)?void 0:a.map(e=>e.name))??[]))+" ",1),t.isExpandable?(e.openBlock(),e.createElementBlock("span",Ph,e.toDisplayString(null==(r=o.lines)?void 0:r.length),1)):e.createCommentVNode("",!0)]}),_:2},1024),e.createVNode(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:o.amount_excluding_tax},null,8,["value"])]),_:2},1024)],42,zh),e.unref(i).includes(f(n,l))?(e.openBlock(),e.createElementBlock("tr",qh,[e.createElementVNode("td",Dh,[e.createElementVNode("div",Ih,[e.createVNode(eh,{"start-date":o.start_at,"end-date":o.end_at,total:o.amount_excluding_tax,group:o,"amount-type":t.invoice.pricing_amount_type},null,8,["start-date","end-date","total","group","amount-type"])])])])):e.createCommentVNode("",!0)],64))),128))],64))),128)),t.invoice.open_invoice_amount&&!t.invoice.paid?(e.openBlock(),e.createElementBlock("tr",$h,[e.createVNode(df,{class:"font-bold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).$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(df,{number:""},{default:e.withCtx(()=>[e.createVNode(Os,{value:t.invoice.open_invoice_amount},null,8,["value"])]),_:1})])):e.createCommentVNode("",!0)]),_:1}))]))}}),Hh=e.defineComponent({__name:"PageGridAsideCard",props:{title:{},contentSpacing:{}},setup:t=>(o,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(Cu,{spacing:"none",title:t.title},{right:e.withCtx(()=>[e.renderSlot(o.$slots,"settings")]),default:e.withCtx(()=>[e.createVNode(Eu,{spacing:t.contentSpacing},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["spacing"])]),_:3},8,["title"])]))}),Ah={class:"flex flex-col gap-1"},Lh={class:"text-base text-gray-900"},Zh=e.defineComponent({__name:"PricingItemHeader",props:{item:{},creditTypesById:{}},setup:t=>(n,l)=>(e.openBlock(),e.createElementBlock("div",Ah,[e.createElementVNode("h4",Lh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.item.product_items,t=>(e.openBlock(),e.createBlock(o,{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))])]))}),Rh={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"},Fh={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"},Uh={...Rh,formatBillingPeriod:Vc,formatAmount:Tc,formatNumber:e=>new Intl.NumberFormat("en-US").format(e),billed:"Billed",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:Fh,fixedAmount:"Fixed amount"},jh={...Rh,topUpDescription:Fh,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",oneOff:"one-off",formatBillingPeriod:Vc},Gh={...jh,...Uh,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"}`},Qh={class:"inline-flex items-center"},Kh=e.defineComponent({__name:"TopUpChip",props:{i18n:{},placement:{},hasTooltip:{type:Boolean},pricingItemConfig:{}},setup(t){const o=t,n=e.computed(()=>{var e,t;return!!(null==(t=null==(e=o.pricingItemConfig)?void 0:e.top_up)?void 0:t.rollover)}),l=e.computed(()=>({color:"dark",hasChipAfter:n.value})),a={color:"dark",dark:!0,hasChipBefore:!0},r=e.computed(()=>{var e,t;return null==(t=null==(e=o.pricingItemConfig)?void 0:e.bands)?void 0:t.some(e=>e.block_size)}),i=e.computed(()=>Gc(o.pricingItemConfig)&&r.value?o.i18n.tieredTooltip.blockSize:Gc(o.pricingItemConfig)&&!r.value?o.i18n.tieredTooltip.nonBlockSize:o.i18n.defaultTooltip);return(o,r)=>(e.openBlock(),e.createElementBlock("span",Qh,[t.hasTooltip?(e.openBlock(),e.createBlock(Ou,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(ci,e.normalizeProps(e.guardReactiveProps(l.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(ci,e.normalizeProps(e.mergeProps({key:1},l.value)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.topUp),1)]),_:1},16)),n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.hasTooltip?(e.openBlock(),e.createBlock(Ou,{key:0,offset:4,placement:t.placement},{default:e.withCtx(()=>[e.createVNode(ci,e.normalizeProps(e.guardReactiveProps(a)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16)]),tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.tooltip),1)]),_:1})]),_:1})]),_:1},8,["placement"])):(e.openBlock(),e.createBlock(ci,e.normalizeProps(e.mergeProps({key:1},a)),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.rollover.title),1)]),_:1},16))],64)):e.createCommentVNode("",!0)]))}}),Wh={class:"flex items-center gap-2"},Yh={class:"flex items-center gap-2"},Xh={key:0},Jh=e.defineComponent({__name:"PricingItemConfigHeader",props:{config:{},i18n:{},hasTooltip:{type:Boolean,default:!0},isCombinedPricing:{type:Boolean}},setup(t){const n=t,l=e.computed(()=>n.i18n??Rh),a=e.computed(()=>{var e,t;return!ze(null==(t=null==(e=n.config)?void 0:e.conditions)?void 0:t.meter_properties)});return(n,r)=>(e.openBlock(),e.createElementBlock("div",Wh,[e.createElementVNode("div",Yh,[e.createVNode(o,{class:"line-clamp-1","no-spacing":"",shade:"light",variant:"body",weight:"semibold"},{default:e.withCtx(()=>{var n,r,i,c,s,d;return[(null==(n=t.config.conditions)?void 0:n.name)||a.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(null==(r=t.config.conditions)?void 0:r.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),a.value&&(null==(s=null==(c=t.config)?void 0:c.conditions)?void 0:s.meter_properties)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.hasTooltip&&(null==(d=t.config.conditions)?void 0:d.name)?(e.openBlock(),e.createBlock(Ou,{key:0,variant:"outline",class:"ml-1"},{default:e.withCtx(()=>[e.createVNode(Ue,{icon:"help",size:"2xs",class:"rounded drop-shadow-sm hover:bg-gray-50 hover:cursor-default"})]),tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(o,{variant:"body-sm","no-spacing":"",shade:"light"},{default:e.withCtx(()=>{var o,n;return[e.createVNode(pp,{comparators:null==(n=null==(o=t.config)?void 0:o.conditions)?void 0:n.meter_properties},null,8,["comparators"])]}),_:1})]),_:1})]),_:1})):(e.openBlock(),e.createBlock(o,{key:1,weight:"normal",shade:"light",tag:"span"},{default:e.withCtx(()=>{var o,n,l;return[(null==(o=t.config.conditions)?void 0:o.name)?(e.openBlock(),e.createElementBlock("span",Xh," - ")):e.createCommentVNode("",!0),e.createVNode(pp,{comparators:null==(l=null==(n=t.config)?void 0:n.conditions)?void 0:l.meter_properties,display:"inline"},null,8,["comparators"])]}),_:1}))],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.value.defaultPricing),1)],64))]}),_:1}),t.config.volume_group_reference?(e.openBlock(),e.createBlock(sp,{key:0,i18n:l.value.combinedVolume},null,8,["i18n"])):e.createCommentVNode("",!0),e.unref(jc)(t.config)?(e.openBlock(),e.createBlock(Kh,{key:1,i18n:l.value.topUpChip,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"override-tooltip")]))}}),ev=e.defineComponent({__name:"TopUpDescription",props:{i18n:{},pricingItemConfig:{}},setup(t){const n=t,l=e.computed(()=>{var e;return!!(null==(e=n.pricingItemConfig.top_up)?void 0:e.rollover)}),a=e.computed(()=>{var e;return null==(e=n.pricingItemConfig.bands)?void 0:e.some(e=>!!e.block_size)}),r=e.computed(()=>Gc(n.pricingItemConfig)&&a.value?l.value?n.i18n.tiered.blockSize.rolloverDescription:n.i18n.tiered.blockSize.nonRolloverDescription:Gc(n.pricingItemConfig)&&!a.value?l.value?n.i18n.tiered.nonBlockSize.rolloverDescription:n.i18n.tiered.nonBlockSize.nonRolloverDescription:l.value?n.i18n.rolloverDescription:n.i18n.nonRolloverDescription);return(t,n)=>(e.openBlock(),e.createBlock(o,{variant:"body-xs",class:"italic text-gray-600"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.value),1)]),_:1}))}}),tv={class:"flex justify-between items-start"},ov={key:0,class:"flex items-center gap-2"},nv={class:"flex flex-col gap-1"},lv={class:"flex items-center gap-2"},av={key:0,class:"flex justify-center gap-2"},rv={key:0,class:"text-gray-600 ml-auto"},iv={key:1,class:"text-gray-600 ml-auto"},cv={key:0,class:"ml-4 text-gray-600 flex flex-col empty:hidden shrink-0"},sv={class:"flex justify-end items-center"},dv={"data-testid":"flat-fixed-none-amount"},uv={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},pv={key:0,class:"pl-1"},mv={"data-testid":"flat-fixed-none-credits-label",class:"text-primary-600 font-semibold"},fv={"data-testid":"flat-fixed-none-per-units",class:"pl-1"},hv={key:0,class:"pl-1"},vv={class:"text-primary-600 font-semibold"},gv={class:"pl-1"},yv={key:0,class:"pl-1"},bv={key:1,class:"mr-1"},xv={key:3,class:"mr-1"},kv={key:3,class:"ml-2 flex items-center"},_v={key:0,class:"text-gray-600 flex flex-col shrink-0"},wv={class:"flex items-center"},Bv={key:2,class:"pl-1"},Cv={key:3,class:"pl-1"},Ev={key:4,class:"italic pl-1 shrink-9"},Nv={key:5,class:"ml-2 flex items-center"},Tv={key:1,class:"text-gray-600 flex flex-col shrink-0"},Mv={class:"flex items-center"},Vv={class:"pl-1"},Sv={key:0,class:"italic"},zv={key:2,class:"ml-2 flex items-center"},Pv={key:2,class:"text-gray-600 flex flex-col shrink-0"},qv={class:"flex items-center"},Dv={class:"pl-1"},Iv={key:1,class:"pl-1"},$v={key:2,class:"italic pl-1"},Ov={key:3,class:"ml-2 flex items-center"},Hv=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:{}},setup(t){const n=t,{formatMessage:l}=ri(),a=e.computed(()=>n.i18n??jh),r=e.computed(()=>jc(n.config)),i=l({defaultMessage:"unit",id:"lWOCGz",description:"Fallback singular unit label for pricing rule display"}),c=l({defaultMessage:"units",id:"Vl9vDx",description:"Fallback plural unit label for pricing rule display"}),s=e.computed(()=>n.item.product_items&&n.item.product_items[0]),d=e.computed(()=>{var e,t,o,l,a,r,d,u;if("CREDITS"===(null==(e=s.value)?void 0:e.model_type)){const e=null==(t=s.value.credits)?void 0:t.credit_type_id,a=e?null==(l=null==(o=n.creditTypesById)?void 0:o[e])?void 0:l.unit_name:void 0;return{singular:(null==a?void 0:a.singular)||i,plural:(null==a?void 0:a.plural)||c}}return{singular:(null==(r=null==(a=s.value)?void 0:a.unit_name)?void 0:r.singular)||i,plural:(null==(u=null==(d=s.value)?void 0:d.unit_name)?void 0:u.plural)||c}}),u=e.computed(()=>{var e,t,o,n;return{singular:(null==(t=null==(e=s.value)?void 0:e.unit_name)?void 0:t.singular)||i,plural:(null==(n=null==(o=s.value)?void 0:o.unit_name)?void 0:n.plural)||c}}),p=e.computed(()=>{var e,t,o,l;return null==(l=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:l.join(",")}),m=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;return null==(t=null==(e=n.config.bands)?void 0:e[0])?void 0:t.credits}),g=e.computed(()=>{var e,t,o,l,a,r;const i=null==(e=v.value)?void 0:e.credit_type_id,c=null==(t=v.value)?void 0:t.quantity;if(!c)return"";const s=i?null==(o=n.creditTypesById)?void 0:o[i]:void 0;if(!s)return c;const d=1===Number(c)?(null==(l=s.unit_name)?void 0:l.singular)??s.name:(null==(a=s.unit_name)?void 0:a.plural)??(null==(r=s.unit_name)?void 0:r.singular)??s.name;return d?`${c} ${d}`:c});return(n,l)=>{var i,c,v,y,b,x,k;return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",tv,[m.value?(e.openBlock(),e.createElementBlock("div",ov,[e.createElementVNode("div",nv,[e.createElementVNode("div",lv,[t.showConfigHeader?(e.openBlock(),e.createBlock(Jh,{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(Ou,{key:1,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(Ue,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0)]),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",av,[e.createVNode(o,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value.splitBy),1)]),_:1}),e.createVNode(o,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value),1)]),_:1})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),["NONE","PASS_THROUGH"].includes(t.config.type)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["NONE"===t.config.type?(e.openBlock(),e.createElementBlock("div",rv,e.toDisplayString(a.value.notBilled),1)):e.createCommentVNode("",!0),"PASS_THROUGH"===t.config.type?(e.openBlock(),e.createElementBlock("div",iv,e.toDisplayString(a.value.passThrough),1)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[s.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["USAGE_BASED"===s.value.model_type||"CREDITS"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",cv,[e.createElementVNode("div",null,[e.createElementVNode("div",sv,[t.config.bands&&t.config.bands[0].amount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",dv,[e.createVNode(Os,{value:t.config.bands[0].amount,highlighted:""},null,8,["value"])]),e.createElementVNode("span",uv,e.toDisplayString(a.value.perNumberOfUnits((null==(i=t.config.bands[0])?void 0:i.block_size)&&e.unref(Yc)(t.config.bands[0].block_size)?t.config.bands[0].block_size.number:"1",d.value)),1),t.config.billing_period?(e.openBlock(),e.createElementBlock("span",pv,e.toDisplayString(a.value.formatBillingPeriod(t.config.billing_period)),1)):e.createCommentVNode("",!0)],64)):t.config.bands&&(null==(c=t.config.bands[0].credits)?void 0:c.quantity)&&(null==(v=t.config.bands[0].credits)?void 0:v.credit_type_id)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",mv,e.toDisplayString(g.value),1),e.createElementVNode("span",fv,e.toDisplayString(a.value.perNumberOfUnits((null==(y=t.config.bands[0])?void 0:y.block_size)&&e.unref(Yc)(t.config.bands[0].block_size)?t.config.bands[0].block_size.number:"1",u.value)),1),t.config.billing_period?(e.openBlock(),e.createElementBlock("span",hv,e.toDisplayString(a.value.formatBillingPeriod(t.config.billing_period)),1)):e.createCommentVNode("",!0)],64)):t.config.bands&&"string"==typeof t.config.bands[0].percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",vv,e.toDisplayString(t.config.bands[0].percentage)+"% ",1),e.createElementVNode("span",gv,e.toDisplayString(a.value.ofAmount(null==(b=s.value.unit_name)?void 0:b.singular)),1),t.config.billing_period?(e.openBlock(),e.createElementBlock("span",yv,e.toDisplayString(a.value.formatBillingPeriod(t.config.billing_period)),1)):e.createCommentVNode("",!0),t.config.bands[0].minimum_amount||t.config.bands[0].maximum_amount?(e.openBlock(),e.createElementBlock("span",bv," , "+e.toDisplayString(a.value.with),1)):e.createCommentVNode("",!0),t.config.bands[0].minimum_amount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(a.value.aMinimumOf)+" ",1),e.createVNode(Os,{value:t.config.bands[0].minimum_amount,highlighted:"",class:"mx-1"},null,8,["value"])],64)):e.createCommentVNode("",!0),t.config.bands[0].minimum_amount&&t.config.bands[0].maximum_amount?(e.openBlock(),e.createElementBlock("span",xv,e.toDisplayString(a.value.and),1)):e.createCommentVNode("",!0),t.config.bands[0].maximum_amount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(a.value.aMaximumOf)+" ",1),e.createVNode(Os,{value:t.config.bands[0].maximum_amount,highlighted:"",class:"ml-1"},null,8,["value"])],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),n.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",kv,[e.renderSlot(n.$slots,"price-line-additions")])):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"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",_v,[e.createElementVNode("div",null,[e.createElementVNode("div",wv,[t.config.bands&&t.config.bands[0].amount?(e.openBlock(),e.createBlock(Os,{key:0,value:t.config.bands[0].amount,highlighted:""},null,8,["value"])):t.config.bands&&t.config.bands[0].fixed_amount?(e.openBlock(),e.createBlock(Os,{key:1,value:t.config.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),(null==(x=t.config.billing_period)?void 0:x.type)?(e.openBlock(),e.createElementBlock("div",Bv,e.toDisplayString(a.value.formatBillingPeriod(t.config.billing_period)),1)):(e.openBlock(),e.createElementBlock("div",Cv,"per billing period")),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Ev," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0),n.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Nv,[e.renderSlot(n.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(n.$slots,"included")])):e.createCommentVNode("",!0),"ONE_OFF"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Tv,[e.createElementVNode("div",null,[e.createElementVNode("div",Mv,[t.config.bands&&t.config.bands[0].amount?(e.openBlock(),e.createBlock(Os,{key:0,value:t.config.bands[0].amount,highlighted:""},null,8,["value"])):t.config.bands&&t.config.bands[0].fixed_amount?(e.openBlock(),e.createBlock(Os,{key:1,value:t.config.bands[0].fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("div",Vv,[e.createTextVNode(e.toDisplayString(a.value.oneOff)+" ",1),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",Sv," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0)]),n.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",zv,[e.renderSlot(n.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(n.$slots,"included")])):e.createCommentVNode("",!0),"PER_SEAT"===s.value.model_type?(e.openBlock(),e.createElementBlock("div",Pv,[e.createElementVNode("div",null,[e.createElementVNode("div",qv,[t.config.bands&&t.config.bands[0].amount?(e.openBlock(),e.createBlock(Os,{key:0,value:t.config.bands[0].amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),e.createElementVNode("span",Dv,e.toDisplayString(a.value.perSeat),1),(null==(k=t.config.billing_period)?void 0:k.type)?(e.openBlock(),e.createElementBlock("div",Iv,e.toDisplayString(a.value.formatBillingPeriod(t.config.billing_period)),1)):e.createCommentVNode("",!0),t.config.billing_in_advance?(e.openBlock(),e.createElementBlock("span",$v," ("+e.toDisplayString(a.value.billedInAdvance)+") ",1)):e.createCommentVNode("",!0),n.$slots["price-line-additions"]?(e.openBlock(),e.createElementBlock("span",Ov,[e.renderSlot(n.$slots,"price-line-additions")])):e.createCommentVNode("",!0)])]),e.renderSlot(n.$slots,"included")])):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)],64))]),r.value?(e.openBlock(),e.createBlock(ev,{key:0,i18n:a.value.topUpDescription,class:"mt-1","pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0)])}}}),Av={class:"flex items-start justify-between"},Lv={key:0,class:"flex gap-2"},Zv={key:1,class:"flex justify-center gap-2"},Rv={class:"mt-3 overflow-clip rounded border"},Fv={class:"w-full table-auto text-gray-600"},Uv=["colspan"],jv={class:"border-t"},Gv={class:"px-2 py-1 text-left"},Qv={class:"px-2 py-1 text-left"},Kv={key:0,class:"px-2 py-1 text-right"},Wv={key:1,class:"px-2 py-1 text-right"},Yv={key:2,class:"px-2 py-1 text-right"},Xv={class:"px-2 py-1 text-left"},Jv={class:"px-2 py-1 text-left"},eg={key:4,class:"pr-2 text-right"},tg={class:"px-2 py-1"},og={class:"px-2 py-1"},ng={key:0,class:"px-2 py-1 text-right"},lg={key:1,class:"px-2 py-1 text-right"},ag={key:2,class:"px-2 py-1 text-right"},rg={class:"px-2 py-1"},ig={class:"px-2 py-1"},cg={key:4,class:"px-2 py-1 text-right"},sg={key:1,class:"mt-2"},dg=e.defineComponent({__name:"TieredSteppedPricingRule",props:{config:{},itemIndex:{},configIndex:{},item:{},i18n:{},isCombinedPricing:{type:Boolean},showConfigHeader:{type:Boolean,default:!0},creditTypesById:{}},setup(t){const n=t;e.useSlots();const l=e.computed(()=>n.i18n??Uh),a=e.computed(()=>{var e,t,o,l,a,r;return(null==(o=null==(t=null==(e=n.config.bands)?void 0:e.find(e=>{var t;return null==(t=e.credits)?void 0:t.credit_type_id}))?void 0:t.credits)?void 0:o.credit_type_id)??(null==(r=null==(a=null==(l=n.item.product_items)?void 0:l[0])?void 0:a.credits)?void 0:r.credit_type_id)}),r=e.computed(()=>{var e,t,o,l,r;if(a.value){const o=null==(e=n.creditTypesById)?void 0:e[a.value];if(o)return(null==(t=o.unit_name)?void 0:t.singular)||"unit"}return(null==(r=null==(l=null==(o=n.item.product_items)?void 0:o[0])?void 0:l.unit_name)?void 0:r.singular)||"unit"}),i=e.computed(()=>{if(["TIERED","TOP_TIERED"].includes(n.config.type)&&n.config.bands)for(const e of n.config.bands)if(e.minimum_amount||e.maximum_amount)return!0;return!1}),c=e.computed(()=>Gc(n.config)?"TIERED":Qc(n.config)?"STAIR_STEP":n.config.type),s=e.computed(()=>jc(n.config)),d=e.computed(()=>{var e;return null==(e=n.config.bands)?void 0:e.some(e=>e.block_size)}),u=e.computed(()=>{var e;return null==(e=n.config.bands)?void 0:e.some(e=>e.fixed_amount)}),p=e.computed(()=>{var e;return null==(e=n.config.bands)?void 0:e.some(e=>e.amount)}),m=e.computed(()=>{var e;return null==(e=n.config.bands)?void 0:e.some(e=>e.percentage)}),f=e.computed(()=>{var e,t,o,l;return null==(l=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:l.join(", ")}),h=e.computed(()=>n.showConfigHeader||n.config.split_pricing),v=e.computed(()=>!!n.config.use_fallback_currency&&!!n.config.fallback_currency),g=e.computed(()=>`Based on fallback currency – ${n.config.fallback_currency}`),y=e.computed(()=>2+(u.value?1:0)+(p.value?1:0)+(m.value?1:0)+(i.value?2:0)+(d.value?1:0));return(n,a)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",Av,[h.value?(e.openBlock(),e.createElementBlock("div",Lv,[e.createVNode(Jh,{config:t.config,i18n:l.value},{"override-tooltip":e.withCtx(()=>[e.renderSlot(n.$slots,"override-tooltip")]),_:3},8,["config","i18n"]),v.value?(e.openBlock(),e.createBlock(Ou,{key:0,variant:"outline",placement:"top"},{tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(g.value),1)]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(Ue,{icon:"change_circle",class:"text-gray-500"})]),_:1})):e.createCommentVNode("",!0),t.config.split_pricing?(e.openBlock(),e.createElementBlock("div",Zv,[e.createVNode(o,{variant:"label",tag:"span"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.splitBy),1)]),_:1}),e.createVNode(o,{tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value),1)]),_:1})])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),s.value?(e.openBlock(),e.createBlock(e.unref(ev),{key:0,class:"mb-3 mt-1",i18n:l.value.topUpDescription,"pricing-item-config":t.config},null,8,["i18n","pricing-item-config"])):e.createCommentVNode("",!0),e.createElementVNode("div",Rv,[e.createElementVNode("table",Fv,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:y.value,class:"bg-gray-50 px-2 text-left"},[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Mc)(c.value)),1)]),_:1})],8,Uv)]),e.createElementVNode("tr",jv,[e.createElementVNode("th",Gv,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.from),1)]),_:1})]),e.createElementVNode("th",Qv,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.upTo),1)]),_:1})]),u.value?(e.openBlock(),e.createElementBlock("th",Kv,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.fixedAmount),1)]),_:1})])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("th",Wv,["STAIR_STEP"===c.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"caps-heading"},{default:e.withCtx(()=>{var o,n,a;return[e.createTextVNode(e.toDisplayString(l.value.pricePerStep(null==(a=null==(n=null==(o=t.item.product_items)?void 0:o[0])?void 0:n.unit_name)?void 0:a.plural)),1)]}),_:1})):d.value?(e.openBlock(),e.createBlock(o,{key:1,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.price),1)]),_:1})):(e.openBlock(),e.createBlock(o,{key:2,variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.pricePerUnit(r.value)),1)]),_:1}))])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("th",Yv,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.percentage),1)]),_:1})])):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("th",Xv,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.feeFloor),1)]),_:1})]),e.createElementVNode("th",Jv,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.feeCap),1)]),_:1})])],64)):e.createCommentVNode("",!0),d.value?(e.openBlock(),e.createElementBlock("th",eg,[e.createVNode(o,{variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.per),1)]),_:1})])):e.createCommentVNode("",!0)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.config.bands,(o,n)=>(e.openBlock(),e.createElementBlock("tr",{key:n,class:"border-t"},[e.createElementVNode("td",tg,[t.config.bands?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(os)(l.value)(t.config.bands[n-1])),1)],64)):e.createCommentVNode("",!0)]),e.createElementVNode("td",og,[t.config.bands?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(e.unref(ns)(l.value)(o,t.config.bands,n)),1)],64)):e.createCommentVNode("",!0)]),u.value?(e.openBlock(),e.createElementBlock("td",ng,[o.fixed_amount?(e.openBlock(),e.createBlock(Os,{key:0,value:o.fixed_amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("td",lg,[o.amount?(e.openBlock(),e.createBlock(Os,{key:0,value:o.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("td",ag,[o.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.percentage)+"% ",1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("td",rg,[o.minimum_amount?(e.openBlock(),e.createBlock(Os,{key:0,value:o.minimum_amount},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(" ")],64))]),e.createElementVNode("td",ig,[o.maximum_amount?(e.openBlock(),e.createBlock(Os,{key:0,value:o.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",cg,[e.unref(Jc)(o.block_size)?(e.openBlock(),e.createBlock(Os,{key:0,value:o.block_size.amount},null,8,["value"])):e.unref(Yc)(o.block_size)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.value.formatNumber(+o.block_size.number)),1)],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))),128))])])]),n.$slots.included?(e.openBlock(),e.createElementBlock("div",sg,[e.renderSlot(n.$slots,"included")])):e.createCommentVNode("",!0)]))}}),ug={class:"conditions-root"},pg=["innerHTML"],mg=["innerHTML"],fg=["innerHTML"],hg=["innerHTML"],vg=["innerHTML"],gg=["innerHTML"],yg={key:2,class:"mt-3"},bg={key:0,class:"-transform-x-1/2 context-menu-wrapper absolute -top-2 right-0 opacity-0 transition-opacity"},xg={key:0,class:"nested-conditions-border before:background-repeat-y before:content[''] relative mb-4 w-full pl-4 before:absolute before:inset-0 before:right-auto before:w-1 before:content-['']"},kg=$e(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:{}},setup(t){const o=t,n=e.computed(()=>o.i18n??Gh),l=e.useSlots(),a=e=>(e=>Uc(e,["FLAT","FLAT_TOP_UP"]))(e)||"FIXED"===e.type||"PASS_THROUGH"===e.type||"NONE"===e.type&&o.areNonBillableItemsVisible,r=e=>Uc(e,["TIERED","TIERED_TOP_UP","TOP_TIERED"])||Qc(e),i=e=>{var t,o,n,l,a;return"AMOUNT"===(null==(a=null==(l=null==(n=null==(o=null==(t=e.product_items)?void 0:t[0])?void 0:o.usage_based)?void 0:n.meter_value_calculation)?void 0:l.meter_value)?void 0:a.type)},c=e=>{var t,o,n,l,a;return"NUMBER"===(null==(a=null==(l=null==(n=null==(o=null==(t=e.product_items)?void 0:t[0])?void 0:o.usage_based)?void 0:n.meter_value_calculation)?void 0:l.meter_value)?void 0:a.type)},s=(e,t)=>{var o,n;return"PER_SEAT"===(null==(n=null==(o=e.product_items)?void 0:o[0])?void 0:n.model_type)&&"NONE"!==t.type},d=e.computed(()=>({pricing:o.pricing,item:o.item,config:o.config})),u=e.computed(()=>{var e;return null==(e=o.config.conditions)?void 0:e.configs}),p=e.computed(()=>!!l["pricing-item-config-settings"]&&!as(l["pricing-item-config-settings"](d.value))),m=e.computed(()=>o.rootConfig??o.config),f=e.computed(()=>{var e,t,n;const l=o.config.original_pricing_item_config_id;return o.schedule?(null==(e=$c({schedule:o.schedule,pricingItemConfigIds:[o.config.id,...l?[l]:[]]}))?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(l,h)=>{var v,g,y;const b=e.resolveComponent("PricingItemConfig",!0);return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative",{[`${t.rootClass}`]:t.rootClass,"mb-4 last:mb-0":a(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":r(t.config)}])},[e.createElementVNode("div",ug,[e.createElementVNode("div",{class:e.normalizeClass({"transition-padding conditions-with-context-menu":p.value})},[t.config.bands||t.config.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a(t.config)?(e.openBlock(),e.createBlock(e.unref(Hv),{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:n.value,"show-config-header":t.showConfigHeader,"show-default-values":t.showDefaultValues,"credit-types-by-id":t.creditTypesById},{"override-tooltip":e.withCtx(()=>[e.renderSlot(l.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),"price-line-additions":e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(d.value)),void 0,!0)]),included:e.withCtx(()=>{var o,l,a,r;return[i(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.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?n.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):n.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,pg)):e.createCommentVNode("",!0),c(t.item)&&(null==(l=t.config.default_included_volume)?void 0:l.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?n.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):n.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(r=t.item.product_items)?void 0:r[0].unit_name)},null,8,mg)):e.createCommentVNode("",!0),t.showDefaultValues&&s(t.item,t.config)&&f.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:n.value.includedSeats(f.value)},null,8,fg)):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"])):r(t.config)?(e.openBlock(),e.createBlock(e.unref(dg),{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:n.value,"show-config-header":t.showConfigHeader},{"override-tooltip":e.withCtx(()=>[e.renderSlot(l.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),"price-line-additions":e.withCtx(()=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(d.value)),void 0,!0)]),included:e.withCtx(()=>{var o,l,a,r;return[i(t.item)&&(null==(o=t.config.default_included_volume)?void 0:o.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?n.value.includedVolumeAmountPerBillingPeriod(t.config.default_included_volume.amount):n.value.includedVolumeAmountPerSchedule(t.config.default_included_volume.amount)},null,8,hg)):e.createCommentVNode("",!0),c(t.item)&&(null==(l=t.config.default_included_volume)?void 0:l.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?n.value.includedVolumeUnitsPerBillingPeriod(t.config.default_included_volume.number,null==(a=t.item.product_items)?void 0:a[0].unit_name):n.value.includedVolumeUnitsPerSchedule(t.config.default_included_volume.number,null==(r=t.item.product_items)?void 0:r[0].unit_name)},null,8,vg)):e.createCommentVNode("",!0),t.showDefaultValues&&s(t.item,t.config)&&f.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"mt-1 text-right text-gray-600",innerHTML:n.value.includedSeats(f.value)},null,8,gg)):e.createCommentVNode("",!0)]}),_:3},8,["is-combined-pricing","config","item-index","config-index","item","credit-types-by-id","i18n","show-config-header"])):e.createCommentVNode("",!0),l.$slots["pricing-item-config-additions"]&&!e.unref(as)(null==(y=(g=l.$slots)["pricing-item-config-additions"])?void 0:y.call(g,d.value))?(e.openBlock(),e.createElementBlock("div",yg,[e.renderSlot(l.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(d.value)),void 0,!0)])):e.createCommentVNode("",!0)],64)):t.showConfigHeader?(e.openBlock(),e.createBlock(Jh,{key:1,"is-combined-pricing":t.pricing.products&&t.pricing.products.length>1,config:t.config,i18n:n.value,class:"mt-3"},{"override-tooltip":e.withCtx(()=>[e.renderSlot(l.$slots,"override-tooltip",e.normalizeProps(e.guardReactiveProps(o)),void 0,!0)]),_:3},8,["is-combined-pricing","config","i18n"])):e.createCommentVNode("",!0)],2),p.value?(e.openBlock(),e.createElementBlock("div",bg,[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps(d.value,{rootConfig:m.value}),void 0,!0)])):e.createCommentVNode("",!0)]),u.value&&!e.unref(ze)(u.value)?(e.openBlock(),e.createElementBlock("ul",xg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([...u.value].sort((e,t)=>t.order-e.order),(o,a)=>(e.openBlock(),e.createElementBlock("li",{key:o.id},[e.createVNode(b,{pricing:t.pricing,item:t.item,"item-index":t.itemIndex,config:o,"config-index":a,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:n.value,"root-class":t.rootClass,"root-config":m.value,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t),void 0,!0)]),"override-tooltip":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t),void 0,!0)]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(l.$slots,"pricing-item-config-price-line-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"])]))),128))])):e.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-6310fe1d"]]),_g=["onClick"],wg={class:"ml-1 text-gray-500"},Bg={key:0,class:"px-4 pb-3"},Cg=e.defineComponent({__name:"PricingDetail",props:{itemClass:{},rootClass:{},titleWithIcon:{type:Boolean},pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{}},setup(t){const o=ri(),n=t,l=e.ref({}),a=e=>!l.value[e],r=(e,t)=>{if(!t)return null;const o=new Map;return e.forEach(e=>{var t;if(!e.billing_period)return;const n=(l=e.billing_period)?`${l.type}:${l.value}`:"none";var l;o.has(n)||o.set(n,{billingPeriod:e.billing_period,configs:[]}),null==(t=o.get(n))||t.configs.push(e)}),Array.from(o.entries()).map(([e,t])=>({key:e,...t}))},i=e=>[...e].sort((e,t)=>t.order-e.order),c=e=>{var t,o;return(null==(t=e.configs)?void 0:t.length)?e.configs:(null==(o=e.billing_period_configs)?void 0:o.flatMap(e=>(e.configs??[]).map(t=>({...t,billing_period:e.billing_period}))))??[]},s=e=>{var t,o;return((null==(t=e.billing_period_configs)?void 0:t.length)??0)>0||((null==(o=n.groupedPricingItemIds)?void 0:o.includes(e.id))??!1)},d=e.computed(()=>{var e;return(null==(e=n.pricing.items)?void 0:e.map(e=>({id:e.id,groups:r(c(e),s(e))})))??[]}),u=e=>{const t=c(e),o=t.some(e=>"NONE"!==e.type),l=t.some(e=>"NONE"===e.type);return o||l&&!!n.areNonBillableItemsVisible};return(n,r)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.items,(r,s)=>{var p;return e.openBlock(),e.createElementBlock(e.Fragment,{key:s},[u(r)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["pb-5 last:pb-3",{[`${t.itemClass}`]:t.itemClass}])},[e.createVNode(Tu,{icon:t.titleWithIcon?"inventory_2":void 0,variant:"neutral",size:"sm"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-item-header",{item:r},()=>[e.createVNode(Zh,{item:r,"credit-types-by-id":t.creditTypesById},null,8,["item","credit-types-by-id"])])]),_:2},1032,["icon"]),(null==(p=d.value[s])?void 0:p.groups)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(d.value[s].groups,c=>{var d,u,p;return e.openBlock(),e.createElementBlock("div",{key:c.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=c.key,void(l.value={...l.value,[t]:!l.value[t]});var t}},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString((null==(d=t.i18n)?void 0:d.formatBillingPeriod)?e.unref(o).$t({defaultMessage:"Billing cycle",id:"pricing_detail.billing_cycle",description:"The billing cycle in the pricing detail card"}):"Billing cycle")+" ",1),e.createElementVNode("span",wg,e.toDisplayString(null==(p=null==(u=t.i18n)?void 0:u.formatBillingPeriod)?void 0:p.call(u,c.billingPeriod)),1)]),e.createVNode(Ue,{icon:a(c.key)?"unfold_less":"unfold_more",size:"sm"},null,8,["icon"])],8,_g),e.createVNode(Fu,null,{default:e.withCtx(()=>[a(c.key)?(e.openBlock(),e.createElementBlock("div",Bg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(c.configs),(o,l)=>(e.openBlock(),e.createBlock(kg,{key:o.id,pricing:t.pricing,item:r,"item-index":s,config:o,"config-index":l,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t))]),"override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t))]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id"]))),128))])):e.createCommentVNode("",!0)]),_:2},1024)])}),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(i(c(r)??[]),(o,l)=>(e.openBlock(),e.createBlock(kg,{key:o.id,pricing:t.pricing,item:r,"item-index":s,config:o,"config-index":l,"are-non-billable-items-visible":t.areNonBillableItemsVisible,i18n:t.i18n,"root-class":t.rootClass,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t))]),"override-tooltip":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t))]),_:3},8,["pricing","item","item-index","config","config-index","are-non-billable-items-visible","i18n","root-class","schedule","credit-types-by-id"]))),128))],2)):e.createCommentVNode("",!0)],64)}),128))]))}}),Eg={sm:"range-sm",md:"range-md",lg:"range-lg",xl:"range-xl"};const Ng=e.defineComponent({__name:"CustomStyles",props:{css:{},marker:{}},setup(t){const o=t,n=e.ref();function l(e){if(!e||!n.value)return;const t=n.value.getRootNode();if(!(t instanceof ShadowRoot))return;if(t.querySelector(`style[${o.marker}]`))return;const l=document.createElement("style");l.setAttribute(o.marker,"true"),l.textContent=e,t.appendChild(l)}return e.onMounted(()=>{o.css&&l(o.css)}),e.watch(()=>o.css,e=>{if(!e||!n.value)return;const t=n.value.getRootNode();if(!(t instanceof ShadowRoot))return;const a=t.querySelector(`style[${o.marker}]`);a?a.textContent=e:l(e)}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:n},[e.renderSlot(t.$slots,"default")],512))}}),Tg=["data-testid"],Mg=["step","min","max","name","disabled"],Vg={key:0,class:"mt-2 text-sm text-gray-500"},Sg=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,n=e.useModel(t,"modelValue"),l=e.useTemplateRef("inputRef");function a(){const e=l.value;if(!e)return;const t=n.value??o.min,a=(Number(t)-o.min)/(o.max-o.min)*100;e.style.setProperty("--range-percentage",`${a}%`)}const{rangeClasses:r}=function(t){return{rangeClasses:e.computed(()=>`w-full appearance-none cursor-pointer ${Eg[t.size.value]}`)}}(e.toRefs(o)),i=e.computed(()=>{switch(o.size){case"xl":return"lg";case"lg":return"md";case"md":return"sm";default:return o.size}}),c=o.name??zu("range-input-"),s=e.computed(()=>null!=n.value&&n.value>o.min?()=>{n.value=(n.value??0)-o.steps}:void 0),d=e.computed(()=>null!=n.value&&n.value<o.max?()=>{n.value=(n.value??0)+o.steps}:void 0),u=e.computed(()=>["stepped","stepped-contained","stepped-ghost"].includes(o.variant)),p=e.computed(()=>"stepped-contained"===o.variant),m=e.computed(()=>p.value||"stepped-ghost"===o.variant?"ghost":"outline");return e.watch([n,l],()=>e.nextTick(a),{immediate:!0}),(o,f)=>(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(vp)(e.unref(c))}),[t.label?(e.openBlock(),e.createBlock(Zu,{key:0,for:e.unref(c),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:u.value,"border rounded bg-white":p.value})},[u.value?(e.openBlock(),e.createBlock(e.unref(km),{key:0,size:i.value,variant:m.value,icon:"remove",square:"",color:"gray",disabled:!s.value||t.disabled,onMousedown:f[0]||(f[0]=e=>{var t;return null==(t=s.value)?void 0:t.call(s)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"flex grow px-3 items-center":u.value,"border-x":p.value},t.inputWrapperClass])},[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:l,"onUpdate:modelValue":f[1]||(f[1]=e=>n.value=e),step:t.steps,min:t.min,max:t.max,name:e.unref(c),disabled:t.disabled,type:"range",class:e.normalizeClass(e.unref(r)),onInput:a},null,42,Mg),[[e.vModelText,n.value]])],2),u.value?(e.openBlock(),e.createBlock(e.unref(km),{key:1,size:i.value,variant:m.value,icon:"add",square:"",color:"gray",disabled:!d.value||t.disabled,onMousedown:f[2]||(f[2]=e=>{var t;return null==(t=d.value)?void 0:t.call(d)})},null,8,["size","variant","disabled"])):e.createCommentVNode("",!0)],2)],16,Tg),e.createVNode(Ng,{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(ze)(t.error)||o.$slots.helper?(e.openBlock(),e.createElementBlock("div",Vg,[e.unref(ze)(t.error)?o.$slots.helper?e.renderSlot(o.$slots,"helper",{key:1}):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(De,{key:0,message:t.error},null,8,["message"]))])):e.createCommentVNode("",!0)],64))}}),zg=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 o=t,n=e.useModel(t,"modelValue"),l=e.computed({get:()=>{const e=n.value?o.options.findIndex(e=>e===n.value):0;return e>=0?e:0},set:e=>(n.value=o.options[e],o.options.findIndex(e=>e===n.value))}),a=e.computed(()=>o.options.length??1);return(o,n)=>(e.openBlock(),e.createBlock(Sg,e.mergeProps({modelValue:l.value,"onUpdate:modelValue":n[0]||(n[0]=e=>l.value=e)},o.$attrs,{variant:t.variant,"label-after":t.labelAfter,min:0,max:a.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(o.$slots,"label-suffix")]),_:3},16,["modelValue","variant","label-after","max","label","name","required","root-class","size","input-wrapper-class"]))}}),Pg=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,l=e.useModel(t,"modelValue"),a=e.computed(()=>{var e;return null==(e=n.options.find(e=>e.value===l.value))?void 0:e.label}),r=e.computed(()=>n.options.map(e=>e.value)),i=e.computed(()=>{var e;return null==(e=n.options.find(e=>e.value===l.value))?void 0:e.description});return(n,c)=>(e.openBlock(),e.createBlock(e.unref(zg),e.mergeProps({modelValue:l.value,"onUpdate:modelValue":c[0]||(c[0]=e=>l.value=e)},n.$attrs,{label:a.value,"label-after":"",variant:t.variant,name:t.name,options:r.value,size:t.size,"input-wrapper-class":"border-l border-r",required:""}),{"label-suffix":e.withCtx(()=>[e.createVNode(e.unref(o),{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"]))}});var qg=(e=>(e.ENUM="ENUM",e.SWITCH="SWITCH",e.NUMBER="NUMBER",e.AMOUNT="AMOUNT",e.STRING="STRING",e))(qg||{});const Dg={...{...Gh},revenueItems:"Revenue items",deductionItems:"Deduction items",features:"Features"},Ig={class:"text-gray-500 uppercase text-xs font-semibold"},$g={class:"text-gray-500 uppercase text-xs font-semibold"},Og={key:2,class:"mt-2 group"},Hg={class:"text-gray-500 uppercase text-xs font-semibold"},Ag={key:0,class:"absolute right-0 top-1/2 -translate-y-1/2 transition opacity-0 group-hover:opacity-100 bg-white z-10"},Lg={class:"pl-4"},Zg={class:"mt-2"},Rg={class:"font-bold text-gray-700"},Fg={key:1,class:"font-bold text-primary-600"},Ug={key:2,class:"font-bold text-primary-600"},jg={key:4,class:"font-bold text-primary-600"},Gg=e.defineComponent({__name:"PricingInfo",props:{pricing:{},groupedPricingItemIds:{},areNonBillableItemsVisible:{type:Boolean},i18n:{},schedule:{},creditTypesById:{}},setup(t){const o=t;e.provide("pricingId",o.pricing.id);const n=e.computed(()=>o.i18n??Dg),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(Ac));var t})}),a=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(Lc));var t})});return(o,r)=>(e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(o.$slots,"pricing-item-warning"),e.unref(ze)(l.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(ze)(t.pricing.items)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Qe,{key:0,class:"my-3"},{default:e.withCtx(()=>[e.createElementVNode("h3",Ig,e.toDisplayString(n.value.revenueItems),1)]),_:1})),e.createVNode(Cg,{pricing:{...t.pricing,items:l.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:n.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t})]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id"])],64)),e.unref(ze)(a.value)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.pricing.items&&t.pricing.items.length>0?(e.openBlock(),e.createBlock(Qe,{key:0,class:"mt-6 mb-3"},{default:e.withCtx(()=>[e.createElementVNode("h3",$g,e.toDisplayString(n.value.deductionItems),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(Cg,{pricing:{...t.pricing,items:a.value},"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:n.value,"are-non-billable-items-visible":t.areNonBillableItemsVisible,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t})]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.normalizeProps(e.guardReactiveProps(t)))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","credit-types-by-id"])],64)),e.unref(ze)(t.pricing.entitlements)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Og,[e.createVNode(Qe,{class:"relative"},{default:e.withCtx(()=>[e.createElementVNode("h3",Hg,e.toDisplayString(n.value.features),1),o.$slots["pricing-entitlements-settings"]?(e.openBlock(),e.createElementBlock("div",Ag,[e.createElementVNode("div",Lg,[e.renderSlot(o.$slots,"pricing-entitlements-settings",{pricing:t.pricing})])])):e.createCommentVNode("",!0)]),_:3}),e.createElementVNode("ul",Zg,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pricing.entitlements,t=>(e.openBlock(),e.createElementBlock("li",{key:t.feature_id,class:"py-2 flex justify-between items-center"},[e.createElementVNode("span",Rg,e.toDisplayString(t.feature.name),1),t.feature.type===e.unref(qg).AMOUNT&&t.amount?(e.openBlock(),e.createBlock(Os,{key:0,value:t.amount,highlighted:""},null,8,["value"])):e.createCommentVNode("",!0),t.feature.type===e.unref(qg).NUMBER&&t.number?(e.openBlock(),e.createElementBlock("span",Fg,e.toDisplayString(t.number),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(qg).STRING&&t.string?(e.openBlock(),e.createElementBlock("span",Ug,e.toDisplayString(t.string),1)):e.createCommentVNode("",!0),t.feature.type===e.unref(qg).SWITCH&&"switch"in t?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["text-white rounded-full leading-[0.5] inline-block",t.switch?"bg-primary-600":"bg-red-500"])},[e.createVNode(Ue,{icon:t.switch?"check":"close",size:"xs"},null,8,["icon"])],2)):e.createCommentVNode("",!0),t.feature.type===e.unref(qg).ENUM&&t.enum?(e.openBlock(),e.createElementBlock("span",jg,e.toDisplayString(t.enum),1)):e.createCommentVNode("",!0)]))),128))])]))]))}}),Qg=e=>"cancellationDate"in e,Kg=e=>"schedule"in e,Wg={...Dg,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"},Yg={addon:Wg.addon,singleSelect:"Single select",multiSelect:"Multi select"},Xg={...Yg,...Wg,productsCount:e=>0===e?"no products":1===e?"1 product":`${e} products`},Jg={...Rc,and:"and"},ey={...Jg,product:"product",revenueItem:"revenue item",pricingRule:"price rule",discountBody:(e,t,o)=>`Discount on ${e} <strong>${t}</strong> ${o}`,startOfSchedule:"Start of schedule",endOfSchedule:"End of schedule",discountOnInvoice:e=>`Discount on <strong>Invoice</strong> ${e}`,or:"or",unsupported:"unsupported",unknown:"unknown"},ty={...ey,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"},oy={...Jg,or:"or",unsupported:"unsupported",product:"product",revenueItem:"revenue item",commitmentBody:(e,t,o)=>`Commitment on ${e} <strong>${t}</strong> ${o}`,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"},ny={...oy,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"},ly={...oy,...Jg,markupBody:(e,t,o)=>`Markup on ${e} <strong>${t}</strong> ${o}`},ay={...ly,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"},ry={startOfSchedule:ny.startOfSchedule,endOfSchedule:ny.endOfSchedule,markupPercentage:e=>`${e}% markup`},iy={...ty,...ny,...ay,...Xg,...ry,commitmentsTitle:ny.title,discountsTitle:ty.title,markupsTitle:ay.title,commitmentsOrderOfApplicationExplanation:ny.orderOfApplicationExplanation,discountsOrderOfApplicationExplanation:ty.orderOfApplicationExplanation,markupsOrderOfApplicationExplanation:ay.orderOfApplicationExplanation,scheduleNumber:e=>`Schedule ${e}`,versionNumber:e=>`Version ${e}`,subscriptionCancelled:e=>`Subscription cancelled from ${e}`},cy={class:"inline-block ml-2"},sy={key:0,class:"mb-2"},dy=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:{}},setup(t){const n=t,l=e.computed(()=>n.i18n??Wg);e.provide("pricingId",n.pricing.id);const a=e=>"DEPRECATED"===e.status,r=e.computed(()=>(n.pricing.items||[]).flatMap(e=>e.product_items||[]).some(a)),i=e.computed(()=>(n.pricing.items||[]).flatMap(e=>e.product_items||[]).every(a));return(n,a)=>(e.openBlock(),e.createBlock(Gu,{class:"flex flex-col justify-between","capped-width":"","is-open":t.defaultExpanded,"data-testid":`pricing-${t.pricing.id}`,spacing:"sm",onToggled:a[0]||(a[0]=e=>n.$emit("pricing-toggled",e)),onToggle:a[1]||(a[1]=e=>n.$emit("pricing-toggle",t.pricing.id))},{"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(o,{weight:"semibold",tag:"span",variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Dc)(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(ci,{key:0,color:"green",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.volumePooling),1)]),_:1})):e.createCommentVNode("",!0),t.showAddonChip&&t.pricing.product_type&&"ADDON"===t.pricing.product_type?(e.openBlock(),e.createBlock(ci,{key:1,color:"indigo",class:"ml-2 align-middle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("span",cy,[e.renderSlot(n.$slots,"id")])]),right:e.withCtx(()=>[e.renderSlot(n.$slots,"right")]),default:e.withCtx(()=>[e.createVNode(Eu,{spacing:"none"},{default:e.withCtx(()=>[n.$slots["pricing-note"]?(e.openBlock(),e.createElementBlock("div",sy,[e.renderSlot(n.$slots,"pricing-note")])):e.createCommentVNode("",!0),e.createVNode(Gg,{pricing:t.pricing,"grouped-pricing-item-ids":t.groupedPricingItemIds,i18n:l.value,"are-non-billable-items-visible":t.showNonBillable,schedule:t.schedule,"credit-types-by-id":t.creditTypesById},{"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(n.$slots,"pricing-item-header",{item:t})]),"pricing-item-warning":e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock($s,{key:0,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.allItemsDeprecatedWarning),1)]),_:1})):r.value?(e.openBlock(),e.createBlock($s,{key:1,type:"warning"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.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)))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(n.$slots,"pricing-item-config-price-line-additions",e.normalizeProps(e.guardReactiveProps(t)))]),_:3},8,["pricing","grouped-pricing-item-ids","i18n","are-non-billable-items-visible","schedule","credit-types-by-id"])]),_:3})]),_:3},8,["is-open","data-testid"]))}}),uy={class:"inline-block"},py=e.defineComponent({__name:"PricingGroupCard",props:{pricingGroup:{},i18n:{default:()=>Yg},isEnabled:{type:Boolean}},setup:t=>(o,n)=>(e.openBlock(),e.createBlock(Cu,{spacing:t.isEnabled?"sm":"none","border-style":t.isEnabled?"solid":"dashed"},{default:e.withCtx(()=>[e.createVNode(Vu,{spacing:"none",title:t.pricingGroup.name},{"title-suffix":e.withCtx(()=>[t.pricingGroup.product_type&&"ADDON"===t.pricingGroup.product_type?(e.openBlock(),e.createBlock(ci,{key:0,color:"indigo",class:"align-middle ml-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.i18n.addon),1)]),_:1})):e.createCommentVNode("",!0),e.createVNode(ci,{color:"dark",class:"align-middle mx-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Zc)(t.pricingGroup)?t.i18n.singleSelect:t.i18n.multiSelect),1)]),_:1}),e.createElementVNode("span",uy,[e.renderSlot(o.$slots,"id")])]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"settings")]),_:3},8,["title"]),e.createVNode(Eu,{spacing:"none",class:"mt-2"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"pricings")]),_:3})]),_:3},8,["spacing","border-style"]))}),my=e.defineComponent({__name:"PricingGroupSingleSelectCard",props:{pricingGroup:{},pricingPlanVersion:{},schedule:{},showNonBillable:{type:Boolean},isEnabled:{type:Boolean},isControlled:{type:Boolean}},emits:["update-enabled-pricing"],setup(t,{emit:n}){var l,a,r;const i=t,c=n,s=e.ref(null==(r=null==(a=null==(l=i.schedule)?void 0:l.enabled_pricings)?void 0:a.find(e=>i.pricingGroup.pricings.some(t=>t.id===e.pricing_id)))?void 0:r.pricing_id),d=e.computed(()=>i.pricingGroup.pricings.map(e=>({value:e.id}))),u=e.computed({get:()=>s.value||i.pricingGroup.pricings[0].id,set:e=>{s.value=e}}),p=e.computed(()=>i.pricingGroup.pricings.find(e=>e.id===u.value)),{renderPricingForPricingItem:m}=Sc(),f=e.computed(()=>{var e,t,o,n;return(null==(t=null==(e=p.value)?void 0:e.items)?void 0:t[0])?m({pricingItem:null==(n=null==(o=p.value)?void 0:o.items)?void 0:n[0]}):""}),h=e.computed(()=>Object.fromEntries((i.pricingPlanVersion.credit_types??[]).map(e=>[e.id,e])));return e.watch(u,(e,t)=>{c("update-enabled-pricing",t,e)},{immediate:!0}),e.watch(()=>i.schedule,e=>{var t,o;s.value=null==(o=null==(t=null==e?void 0:e.enabled_pricings)?void 0:t.find(e=>i.pricingGroup.pricings.some(t=>t.id===e.pricing_id)))?void 0:o.pricing_id},{immediate:!0}),(n,l)=>(e.openBlock(),e.createBlock(e.unref(py),{"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(()=>[p.value?(e.openBlock(),e.createBlock(e.unref(dy),{key:0,"default-expanded":!0,pricing:p.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","is-controlled":t.isControlled,"show-addon-chip":!1,"is-enabled":t.isEnabled,schedule:t.schedule,"credit-types-by-id":h.value},{"pre-header":e.withCtx(()=>[e.createVNode(Pg,{modelValue:u.value,"onUpdate:modelValue":l[0]||(l[0]=e=>u.value=e),options:d.value,name:"pricing-group-single-select",variant:"stepped-ghost",size:"lg",class:"border-b"},null,8,["modelValue","options"])]),"pricing-note":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-note",e.normalizeProps(e.guardReactiveProps({pricing:p.value})))]),"title-prefix":e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:t.pricingGroup,pricing:p.value})]),id:e.withCtx(()=>[e.renderSlot(n.$slots,"pricing-title-suffix",{id:p.value.id})]),right:e.withCtx(()=>[f.value?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter",class:"mr-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f.value),1)]),_:1})):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"pricing-group-pricing-settings",{pricing:p.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-controlled","is-enabled","schedule","credit-types-by-id"])):e.createCommentVNode("",!0)]),_:3},8,["pricing-group","is-enabled"]))}}),fy={key:0,class:"mb-2 flex items-center gap-2 text-sm"},hy={class:"font-bold"},vy={class:"flex flex-col gap-2"},gy={class:"flex flex-col"},yy=e.defineComponent({__name:"PricingPlanVersionContent",props:{pricingPlanVersion:{},groupedPricingItemIdsByPricing:{},defaultExpanded:{type:Boolean},showNonBillable:{type:Boolean},expandedPricings:{},enabledPricings:{},isControlled:{type:Boolean},i18n:{},schedule:{},enablePricingGroupSelection:{type:Boolean,default:!1}},emits:["pricing-toggle","pricing-toggled","delete-pricing","update-enabled-pricing"],setup(t){const o=t,n=e.computed(()=>o.i18n??Xg),l=e.computed(()=>o.enabledPricings??[]),a=e.computed(()=>{var e;return Object.fromEntries(((null==(e=o.pricingPlanVersion)?void 0:e.credit_types)??[]).map(e=>[e.id,e]))}),r=e=>"DEFAULT"===e.product_type||e.pricings.some(e=>l.value.includes(e.id)),i=e=>"DEFAULT"===e.product_type||l.value.includes(e.id);return(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(o.$slots,"header"),!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",fy,[e.createElementVNode("span",hy,e.toDisplayString(null==(u=c.product_category)?void 0:u.name),1),e.createElementVNode("div",null,[e.createVNode(ci,{size:"sm",color:"dark",class:"rounded-2xl font-semibold uppercase text-gray-600"},{default:e.withCtx(()=>{var t,o;return[e.createTextVNode(e.toDisplayString(n.value.productsCount(((null==(t=c.pricing_groups)?void 0:t.length)??0)+((null==(o=c.pricings)?void 0:o.length)??0))),1)]}),_:2},1024)])])):e.createCommentVNode("",!0),e.createElementVNode("div",vy,[(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(my,{key:0,"pricing-group":c,"pricing-plan-version":t.pricingPlanVersion,"is-enabled":r(c),i18n:n.value,schedule:t.schedule,"show-non-billable":t.showNonBillable,"is-controlled":t.isControlled,onUpdateEnabledPricing:l[0]||(l[0]=(e,t)=>o.$emit("update-enabled-pricing",e,t))},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"id",{id:c.id})]),"pricing-group-settings":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-settings",{pricingGroup:c})]),_:2},1032,["pricing-group","pricing-plan-version","is-enabled","i18n","schedule","show-non-billable","is-controlled"])):(e.openBlock(),e.createBlock(e.unref(py),{key:1,"pricing-group":c,"is-enabled":r(c),i18n:n.value},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"id",{id:c.id})]),settings:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-settings",{pricingGroup:c})]),pricings:e.withCtx(()=>[e.createElementVNode("div",gy,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,r=>{var s,d;return e.openBlock(),e.createBlock(e.unref(dy),{key:r.id,"default-expanded":!0===t.defaultExpanded||(null==(s=t.expandedPricings)?void 0:s.includes(r.id)),pricing:r,"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[r.id],class:"flex flex-col","is-controlled":t.isControlled,i18n:n.value,"show-addon-chip":!1,"is-enabled":i(r),"credit-types-by-id":a.value,onPricingToggled:e=>o.$emit("pricing-toggled",r.id,e),onPricingToggle:l[1]||(l[1]=e=>o.$emit("pricing-toggle",e))},{"pricing-note":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:r}))]),"title-prefix":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-pricing-title-prefix",{pricingGroup:c,pricing:r})]),id:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-title-suffix",{id:r.id})]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-group-pricing-settings",{pricing:r,pricingGroup:c})]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t})]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:c}))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t))]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","show-non-billable","is-customized-plan","grouped-pricing-item-ids","is-controlled","i18n","is-enabled","credit-types-by-id","onPricingToggled"])}),128))])]),_:2},1032,["pricing-group","is-enabled","i18n"]))],64))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.pricings,r=>{var c,s;return e.openBlock(),e.createBlock(e.unref(dy),{key:r.id,"default-expanded":!0===t.defaultExpanded||(null==(c=t.expandedPricings)?void 0:c.includes(r.id)),pricing:r,"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[r.id],"show-non-billable":t.showNonBillable,"is-customized-plan":!!t.pricingPlanVersion.copied_from_pricing_plan_version_id,class:"flex flex-col","is-controlled":t.isControlled,i18n:n.value,"is-enabled":i(r),"credit-types-by-id":a.value,schedule:t.schedule,onPricingToggled:e=>o.$emit("pricing-toggled",r.id,e),onPricingToggle:l[2]||(l[2]=e=>o.$emit("pricing-toggle",e))},{id:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-title-suffix",{id:r.id})]),right:e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-settings",{pricing:r})]),"pricing-note":e.withCtx(()=>[e.renderSlot(o.$slots,"pricing-note",e.mergeProps({ref_for:!0},{pricing:r}))]),"pricing-item-header":e.withCtx(({item:t})=>[e.renderSlot(o.$slots,"pricing-item-header",{item:t})]),"pricing-entitlements-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-entitlements-settings",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-settings":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-settings",e.mergeProps({ref_for:!0},t,{pricingGroup:void 0}))]),"pricing-item-config-override-tooltip":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-override-tooltip",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-additions",e.mergeProps({ref_for:!0},t))]),"pricing-item-config-price-line-additions":e.withCtx(t=>[e.renderSlot(o.$slots,"pricing-item-config-price-line-additions",e.mergeProps({ref_for:!0},t))]),_:2},1032,["default-expanded","pricing","pricing-plan-version-id","pricing-plan-id","grouped-pricing-item-ids","show-non-billable","is-customized-plan","is-controlled","i18n","is-enabled","credit-types-by-id","schedule","onPricingToggled"])}),128))])],2)}),128)):e.createCommentVNode("",!0):e.renderSlot(o.$slots,"empty-state",{key:0})],64))}}),by=e.defineComponent({__name:"TrialChip",props:{trialPeriod:{},size:{default:"sm"}},setup(t){const o=t,{formatTimePeriod:n}=Ki(),l=e.computed(()=>"string"==typeof o.trialPeriod?o.trialPeriod:`${n(o.trialPeriod,{short:!0,singular:!0})} trial`);return(o,n)=>(e.openBlock(),e.createBlock(e.unref(ci),{color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1},8,["size"]))}}),xy={class:"flex justify-between items-center"},ky={class:"flex items-center gap-2"},_y={key:0,class:"ml-3 flex gap-3 opacity-0 group-hover:opacity-100 focus-within:opacity-100 transition-opacity"},wy=e.defineComponent({__name:"CommitmentDiscountItem",props:{icon:{},iconColor:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{}},emits:["edit","delete"],setup:t=>(n,l)=>(e.openBlock(),e.createBlock(Cu,{spacing:"none","root-class":"p-2 pr-3 group"},{default:e.withCtx(()=>[e.createElementVNode("div",xy,[e.createElementVNode("div",ky,[e.createVNode(Ue,{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(o,{variant:"body-sm","no-spacing":""},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"body")]),_:3})]),t.isEditable||t.isRemovable?(e.openBlock(),e.createElementBlock("div",_y,[t.isEditable?(e.openBlock(),e.createBlock(yl,{key:0,variant:"ghost",color:"gray",square:"","icon-prefix":"edit",onClick:l[0]||(l[0]=e=>n.$emit("edit"))})):e.createCommentVNode("",!0),t.isRemovable?(e.openBlock(),e.createBlock(yl,{key:1,variant:"ghost",color:"red",square:"","icon-prefix":"delete",onClick:l[1]||(l[1]=e=>n.$emit("delete"))})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createVNode(Fu,null,{default:e.withCtx(()=>[t.error?(e.openBlock(),e.createBlock($s,{key:0,type:"danger",class:"mt-2 -mb-2 -mr-3 -ml-2 rounded-tl-none rounded-tr-none rounded-bl-md rounded-br-md"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Ec)(t.error)),1)]),_:1})):e.createCommentVNode("",!0)]),_:1})]),_:3}))}),By={class:"font-semibold"},Cy={key:2,class:"text-primary-600 font-semibold"},Ey=["innerHTML"],Ny=["innerHTML"],Ty={key:2},My=e.defineComponent({__name:"SubscriptionCommitmentItem",props:{commitment:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},error:{},i18n:{},timezone:{}},emits:["edit","delete"],setup(t){const o=t,n=e.computed(()=>o.i18n??oy),{getCommitmentBody:l,getFormattedDuration:a}=((t,o=oy,n)=>{const{formatDate:l}=ri(),a=e.computed(()=>{var e,o;return(null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),r=e.computed(()=>a.value.map(e=>{var t;return{pricing:e,product:null==(t=e.products)?void 0:t[0],pricingId:e.id}})),i=e.computed(()=>{var e;return(null==(e=a.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,n,l,c,d;switch(e.commitmentLevel){case"PRODUCTS":{const o=null==(t=e.ids)?void 0:t.map(e=>r.value.find(t=>t.pricingId===e));return s((null==o?void 0:o.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==(n=e.ids)?void 0:n.map(e=>{var t;return null==(t=i.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 o;return t.id===(null==(o=e.ids)?void 0:o[0])},n=e=>{var o,l;return t(e)||!!(null==(l=null==(o=e.conditions)?void 0:o.configs)?void 0:l.some(n))},r=e=>{var t;return null==(t=e.configs)?void 0:t.some(n)},i=e=>{var t;return null==(t=e.items)?void 0:t.some(r)},s=null==(l=a.value)?void 0:l.find(i),u=null==(c=null==s?void 0:s.items)?void 0:c.find(r),p=null==(d=null==u?void 0:u.configs)?void 0:d.flatMap(Kc),m=null==p?void 0:p.find(t);return`<strong>${Wc(o)({pricing:s,item:u,config:m})}</strong>`}}},s=e=>e.reduce((t,o,n)=>{const l=`<strong>${o}</strong>`;return 0===n?l:n===e.length-1?[t,l].join(" and "):[t,l].join(", ")},""),d=e=>{var t,n;switch(e.commitmentLevel){case"PRODUCTS":return o.products((null==(t=e.ids)?void 0:t.length)??0);case"REVENUE_ITEMS":return o.pluralRevenueItems((null==(n=e.ids)?void 0:n.length)??0);case"PRICING_RULE":return o.pricingRule;case"INVOICE":return o.invoice}},u=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=l(n?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:n}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=l(n?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:n}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getCommitmentBody:e=>o.commitmentBody(d(e),c(e)??"",u(e)),getFormattedDuration:u}})(e.computed(()=>o.pricingPlanVersion),n.value,o.timezone);return(o,r)=>(e.openBlock(),e.createBlock(wy,{icon:"handshake","icon-color":"orange","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:r[0]||(r[0]=e=>o.$emit("edit")),onDelete:r[1]||(r[1]=e=>o.$emit("delete"))},{body:e.withCtx(()=>{var o;return[e.createElementVNode("span",By,[t.commitment.amount?(e.openBlock(),e.createBlock(Os,{key:0,value:t.commitment.amount,highlighted:""},null,8,["value"])):"meter_value_calculation"in t.commitment&&(null==(o=t.commitment.meter_value_calculation)?void 0:o.amount)?(e.openBlock(),e.createBlock(Os,{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",Cy,e.toDisplayString(t.commitment.meter_value_calculation.number&&n.value.units(t.commitment.meter_value_calculation.number)),1)):e.createCommentVNode("",!0)]),r[2]||(r[2]=e.createTextVNode(" ",-1)),"INVOICE"===t.commitment.commitmentLevel?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:n.value.commitmentOnInvoice(e.unref(a)(t.commitment))},null,8,Ey)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(l)(t.commitment)},null,8,Ny)),"meter_value_calculation"in t.commitment&&t.commitment.meter_value_calculation&&"amount"in t.commitment.meter_value_calculation?(e.openBlock(),e.createElementBlock("span",Ty,e.toDisplayString(" ")+"("+e.toDisplayString(n.value.basedOnMeterValue)+")",1)):e.createCommentVNode("",!0)]}),_:1},8,["is-editable","is-removable","error"]))}}),Vy=({isEditable:t,isRemovable:o})=>({isEditableFlag:e.computed(()=>"function"==typeof t||!!t),isItemEditable:e=>"function"==typeof t?t(e):!!t,isItemRemovable:e=>"function"==typeof o?o(e):"boolean"!=typeof o||o}),Sy={class:"flex justify-between items-center gap-4"},zy={class:"flex gap-4 items-center"},Py={class:"flex items-center gap-1"},qy={class:"mt-1 text-xs text-gray-500"},Dy={class:"flex justify-between items-center gap-4"},Iy={class:"flex items-center gap-1"},$y={class:"text-xs uppercase font-bold text-gray-700"},Oy={class:"mt-1 flex flex-col gap-2"},Hy=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,l)=>(e.openBlock(),e.createElementBlock("section",null,[t.hasItems?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("header",Dy,[e.createElementVNode("div",Iy,[e.createElementVNode("h2",$y,e.toDisplayString(t.title),1),e.createVNode(Ou,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(Ue,{icon:"help",class:"drop-shadow-sm hover:bg-gray-50 hover:cursor-default",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})])]),e.createElementVNode("ul",Oy,[e.renderSlot(n.$slots,"list-items")])],64)):(e.openBlock(),e.createBlock(Cu,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",Sy,[e.createElementVNode("div",zy,[e.renderSlot(n.$slots,"icon"),e.createElementVNode("div",null,[e.createElementVNode("div",Py,[e.createVNode(o,{tag:"h2",variant:"caps-heading"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),e.createVNode(Ou,{variant:"outline",placement:"bottom-start"},{default:e.withCtx(()=>[e.createVNode(Ue,{icon:"help",class:"drop-shadow-sm hover:bg-gray-50 hover:cursor-default",size:"xs"})]),tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.orderOfApplicationExplanation),1)]),_:1})]),_:1})]),_:1})]),e.createElementVNode("p",qy,e.toDisplayString(t.description),1)])]),t.isEditable?(e.openBlock(),e.createBlock(Ou,{key:0,variant:"outline"},{tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[t.pricingPlanVersionIsSelected?t.isEditable?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(o,{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(o,{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}))]))}),Ay=["src"],Ly=e.defineComponent({__name:"SubscriptionCommitments",props:{pricingPlanVersion:{},commitment:{},i18n:{},isCreatable:{type:Boolean},isEditable:{type:[Boolean,Function]},isRemovable:{type:[Boolean,Function]},error:{},timezone:{}},setup(t){const o=t,n=e.computed(()=>o.i18n??ny),{isEditableFlag:l,isItemEditable:a,isItemRemovable:r}=Vy({isEditable:o.isEditable,isRemovable:o.isRemovable}),i=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,n]=t[0],[l,a,r]=o.split(".");return{commitmentLevel:l,index:parseInt(a,10),fieldName:r,message:n}})(o.error)}),c=e.computed(()=>{var e,t,n,l,a,r,c,s;return[...(null==(t=null==(e=o.commitment)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,n;return{item:{commitmentLevel:"PRICING_RULE",...e},error:t===(null==(o=i.value)?void 0:o.index)&&"pricing_item_configs"===(null==(n=i.value)?void 0:n.commitmentLevel)?i.value.message:void 0}}))||[],...(null==(l=null==(n=o.commitment)?void 0:n.pricing_items)?void 0:l.map((e,t)=>{var o,n;return{item:{commitmentLevel:"REVENUE_ITEMS",...e},error:t===(null==(o=i.value)?void 0:o.index)&&"pricing_items"===(null==(n=i.value)?void 0:n.commitmentLevel)?i.value.message:void 0}}))||[],...(null==(r=null==(a=o.commitment)?void 0:a.pricings)?void 0:r.map((e,t)=>{var o,n;return{item:{commitmentLevel:"PRODUCTS",...e},error:t===(null==(o=i.value)?void 0:o.index)&&"pricings"===(null==(n=i.value)?void 0:n.commitmentLevel)?i.value.message:void 0}}))||[],...(null==(s=null==(c=o.commitment)?void 0:c.totals)?void 0:s.map((e,t)=>{var o,n;return{item:{commitmentLevel:"INVOICE",...e},error:t===(null==(o=i.value)?void 0:o.index)&&"totals"===(null==(n=i.value)?void 0:n.commitmentLevel)?i.value.message:void 0}}))||[]]});return(o,i)=>(e.openBlock(),e.createBlock(Hy,{title:n.value.title,"order-of-application-explanation":n.value.orderOfApplicationExplanation,description:n.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":n.value.selectPricingPlanHint,"add-item-label":n.value.addItemLabel,"not-editable-explanation":n.value.notEditableExplanation,"is-creatable":!!t.isCreatable,"is-editable":e.unref(l),"has-items":c.value.length>0,onAdd:i[0]||(i[0]=e=>o.$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,Ay)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:l,error:i})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(l)},[e.createVNode(My,{timezone:t.timezone,commitment:l,error:i,"is-editable":e.unref(a)(l),"is-removable":e.unref(r)(l),"pricing-plan-version":t.pricingPlanVersion,i18n:n.value,onEdit:e=>o.$emit("edit",l),onDelete:e=>o.$emit("delete",l)},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"]))}}),Zy=(t,o,n)=>{const{formatDate:l}=ri(),a=e.computed(()=>{var e,o;return null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]})}),r=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=l(n?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:n}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=l(n?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:n}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getDiscountBody:e=>{let t;switch(e.discountLevel){case"PRODUCT":t=o.product;break;case"REVENUE_ITEM":t=o.revenueItem;break;case"PRICING_RULE":t=o.pricingRule}return o.discountBody(t??"",(e=>{var t,n,l,r,i,c,s,d,u,p;let m,f;switch(e.discountLevel){case"PRODUCT":m=null==(t=a.value)?void 0:t.find(t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])});break;case"REVENUE_ITEM":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])};m=null==(n=a.value)?void 0:n.find(e=>{var o;return null==(o=e.items)?void 0:o.some(t)}),f=null==(l=null==m?void 0:m.items)?void 0:l.find(t);break}case"PRICING_RULE":{const t=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},n=e=>{var o,l;return t(e)||!!(null==(l=null==(o=e.conditions)?void 0:o.configs)?void 0:l.some(n))},l=e=>{var t;return null==(t=e.configs)?void 0:t.some(n)},s=e=>{var t;return null==(t=e.items)?void 0:t.some(l)},d=null==(r=a.value)?void 0:r.find(s),u=null==(i=null==d?void 0:d.items)?void 0:i.find(l),p=null==(c=null==u?void 0:u.configs)?void 0:c.flatMap(Kc),m=null==p?void 0:p.find(t);return`<strong>${Wc(o)({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(" - ")})(e)??"",r(e))},getFormattedDuration:r}},Ry={class:"font-semibold"},Fy={key:1,class:"text-primary-600"},Uy=["innerHTML"],jy=["innerHTML"],Gy=e.defineComponent({__name:"SubscriptionDiscountItem",props:{discount:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:o}){const n=t,l=o,a=e.computed(()=>n.i18n??ey),{getDiscountBody:r,getFormattedDuration:i}=Zy(e.toRef(()=>n.pricingPlanVersion),a.value,n.timezone);return(o,n)=>(e.openBlock(),e.createBlock(wy,{icon:"south_east","icon-color":"yellow","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:n[0]||(n[0]=e=>l("edit")),onDelete:n[1]||(n[1]=e=>l("delete"))},{body:e.withCtx(()=>{var o,l,c;return[e.createElementVNode("span",Ry,[(null==(o=t.discount.amount)?void 0:o.quantity)?(e.openBlock(),e.createBlock(Os,{key:0,value:t.discount.amount,highlighted:""},null,8,["value"])):t.discount.percentage?(e.openBlock(),e.createElementBlock("span",Fy,e.toDisplayString(t.discount.percentage)+"%",1)):e.createCommentVNode("",!0)]),n[2]||(n[2]=e.createTextVNode(" ",-1)),"INVOICE"===t.discount.discountLevel?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:null==(c=(l=a.value).discountOnInvoice)?void 0:c.call(l,e.unref(i)(t.discount))},null,8,Uy)):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:e.unref(r)(t.discount)},null,8,jy))]}),_:1},8,["is-editable","is-removable","error"]))}}),Qy=["src"],Ky=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 o=t,n=e.computed(()=>o.i18n??ty),l=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,n]=t[0],[l,a,r]=o.split(".");return{discountLevel:l,index:parseInt(a,10),fieldName:r,message:n}})(o.error)}),{isEditableFlag:a,isItemEditable:r,isItemRemovable:i}=Vy({isEditable:o.isEditable,isRemovable:o.isRemovable}),c=e.computed(()=>{var e,t,n,a,r,i,c,s;return[...(null==(t=null==(e=o.discount)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,n;return{item:{...e,discountLevel:"PRICING_RULE"},error:t===(null==(o=l.value)?void 0:o.index)&&"pricing_item_configs"===(null==(n=l.value)?void 0:n.discountLevel)?l.value.message:void 0}}))||[],...(null==(a=null==(n=o.discount)?void 0:n.pricing_items)?void 0:a.map((e,t)=>{var o,n;return{item:{...e,discountLevel:"REVENUE_ITEM"},error:t===(null==(o=l.value)?void 0:o.index)&&"pricing_items"===(null==(n=l.value)?void 0:n.discountLevel)?l.value.message:void 0}}))||[],...(null==(i=null==(r=o.discount)?void 0:r.pricings)?void 0:i.map((e,t)=>{var o,n;return{item:{...e,discountLevel:"PRODUCT"},error:t===(null==(o=l.value)?void 0:o.index)&&"pricings"===(null==(n=l.value)?void 0:n.discountLevel)?l.value.message:void 0}}))||[],...(null==(s=null==(c=o.discount)?void 0:c.totals)?void 0:s.map((e,t)=>{var o,n;return{item:{...e,discountLevel:"INVOICE"},error:t===(null==(o=l.value)?void 0:o.index)&&"totals"===(null==(n=l.value)?void 0:n.discountLevel)?l.value.message:void 0}}))||[]]});return(o,l)=>(e.openBlock(),e.createBlock(Hy,e.mergeProps(o.$attrs,{title:n.value.title,"order-of-application-explanation":n.value.orderOfApplicationExplanation,description:n.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":n.value.selectPricingPlanHint,"add-item-label":n.value.addItemLabel,"is-editable":e.unref(a),"is-creatable":!!t.isCreatable,"not-editable-explanation":n.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:l[0]||(l[0]=e=>o.$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,Qy)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:l,error:a})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(l)},[e.createVNode(Gy,{discount:l,error:a,"is-editable":e.unref(r)(l),"is-removable":e.unref(i)(l),"pricing-plan-version":t.pricingPlanVersion,i18n:n.value,timezone:t.timezone,onEdit:e=>o.$emit("edit",l),onDelete:e=>o.$emit("delete",l)},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"]))}}),Wy={class:"font-semibold text-primary-600"},Yy=["innerHTML"],Xy=e.defineComponent({__name:"SubscriptionMarkupItem",props:{markup:{},pricingPlanVersion:{},isEditable:{type:Boolean},isRemovable:{type:Boolean},i18n:{},error:{},timezone:{}},emits:["edit","delete"],setup(t,{emit:o}){const n=t,l=o,a=e.computed(()=>n.i18n??ly),{getMarkupBody:r}=((t,o=ly,n)=>{const{formatDate:l}=ri(),a=e.computed(()=>{var e,o;return(null==(o=null==(e=t.value)?void 0:e.pricing_categories)?void 0:o.flatMap(e=>{var t;return[...(null==(t=e.pricing_groups)?void 0:t.flatMap(e=>e.pricings))??[],...e.pricings??[]]}))??[]}),r=e=>{var t,n;const l=t=>{var o;return t.id===(null==(o=e.ids)?void 0:o[0])},r=e=>{var t,o;return l(e)||!!(null==(o=null==(t=e.conditions)?void 0:t.configs)?void 0:o.some(l))},i=e=>{var t;return null==(t=e.configs)?void 0:t.some(r)},c=null==(t=a.value)?void 0:t.find(e=>{var t;return null==(t=e.items)?void 0:t.some(i)}),s=null==(n=null==c?void 0:c.items)?void 0:n.find(i),d=(null==s?void 0:s.configs)&&(null==s?void 0:s.configs.flatMap(Kc)),u=null==d?void 0:d.find(l);return`<strong>${Wc(o)({pricing:c,item:s,config:u})}</strong>`},i=e=>{if(!e.start_at&&!e.end_at)return"";let t,a;return e.start_at||(t=o.startOfSchedule),e.end_at||(a=o.endOfSchedule),e.start_at&&(t=l(n?{date:e.start_at,format:"date",offsetType:"offsetted",timezone:n}:{date:e.start_at,format:"date",offsetType:"local",showTimezone:!1})),e.end_at&&(a=l(n?{date:e.end_at,format:"date",offsetType:"offsetted",timezone:n}:{date:e.end_at,format:"date",offsetType:"local",showTimezone:!1})),`(${t} - ${a})`};return{getMarkupBody:e=>o.markupBody(o.pricingRule,r(e)??"",i(e)),getFormattedDuration:i}})(e.toRef(()=>n.pricingPlanVersion),a.value,n.timezone);return(o,n)=>(e.openBlock(),e.createBlock(wy,{icon:"north_east","icon-color":"teal","is-editable":t.isEditable,"is-removable":t.isRemovable,error:t.error,onEdit:n[0]||(n[0]=e=>l("edit")),onDelete:n[1]||(n[1]=e=>l("delete"))},{body:e.withCtx(()=>[e.createElementVNode("span",Wy,e.toDisplayString(t.markup.percentage)+"%"+e.toDisplayString(" "),1),e.createElementVNode("span",{innerHTML:e.unref(r)(t.markup)},null,8,Yy)]),_:1},8,["is-editable","is-removable","error"]))}}),Jy=["src"],eb=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 o=t,n=e.computed(()=>o.i18n??ay),{isEditableFlag:l,isItemEditable:a,isItemRemovable:r}=Vy({isEditable:o.isEditable,isRemovable:o.isRemovable}),i=e.computed(()=>{if("error"in o)return(e=>{const t=Object.entries(e||{});if(0===t.length)return;const[o,n]=t[0],[l,a,r]=o.split(".");return{markupLevel:l,index:parseInt(a,10),fieldName:r,message:n}})(o.error)}),c=e.computed(()=>{var e,t;return(null==(t=null==(e=o.markup)?void 0:e.pricing_item_configs)?void 0:t.map((e,t)=>{var o,n;return{item:e,error:t===(null==(o=i.value)?void 0:o.index)&&"pricing_item_configs"===(null==(n=i.value)?void 0:n.markupLevel)?i.value.message:void 0}}))??[]});return(o,i)=>(e.openBlock(),e.createBlock(Hy,e.mergeProps(o.$attrs,{title:n.value.title,"order-of-application-explanation":n.value.orderOfApplicationExplanation,description:n.value.description,"pricing-plan-version-is-selected":!!t.pricingPlanVersion,"select-pricing-plan-hint":n.value.selectPricingPlanHint,"add-item-label":n.value.addItemLabel,"is-editable":e.unref(l),"is-creatable":!!t.isCreatable,"not-editable-explanation":n.value.notEditableExplanation,"has-items":c.value.length>0,onAdd:i[0]||(i[0]=e=>o.$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,Jy)]),"list-items":e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,({item:l,error:i})=>(e.openBlock(),e.createElementBlock("li",{key:JSON.stringify(l)},[e.createVNode(Xy,{markup:l,error:i,"is-editable":e.unref(a)(l),"is-removable":e.unref(r)(l),"pricing-plan-version":t.pricingPlanVersion,i18n:n.value,timezone:t.timezone,onEdit:e=>o.$emit("edit",l),onDelete:e=>o.$emit("delete",l)},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"]))}}),tb={class:"flex gap-2 items-center"},ob=e.defineComponent({__name:"SubscriptionScheduleConfigMarkup",props:{markup:{},i18n:{}},setup(t){const o=t,n=e.computed(()=>o.i18n??ry),{formatDate:l}=ri();return(o,a)=>(e.openBlock(),e.createBlock(ci,{color:"teal-light"},{default:e.withCtx(()=>[e.createElementVNode("div",tb,[e.createVNode(Ue,{icon:"north_east",size:"xs"}),e.createElementVNode("span",null,[t.markup.percentage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(n.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(l)({date:t.markup.start_at,format:"date",offsetType:"local",showTimezone:!1}):n.value.startOfSchedule)+" - "+e.toDisplayString(t.markup.end_at?e.unref(l)({date:t.markup.end_at,format:"date",offsetType:"local",showTimezone:!1}):n.value.endOfSchedule)+") ",1)],64)):e.createCommentVNode("",!0)])])]),_:1}))}}),nb={class:"flex items-center gap-2"},lb={key:0,class:"flex items-center gap-2 mb-8"},ab={class:"text-base font-semibold"},rb={key:1,class:"transition-opacity-300"},ib=e.defineComponent({__name:"PricingPlanSchedules",props:{schedules:{},isEditable:{type:Boolean},openScheduleId:{},i18n:{},displayDisabledAddonPricings:{type:Boolean,default:!1},isExpandedByDefault:{type:Boolean},timezone:{},cancellationDate:{},enablePricingGroupSelection:{type:Boolean,default:!1}},emits:["add-schedule","toggle-schedule"],setup(t,{emit:n}){var l;const a=t,r=n,i=e.computed(()=>a.i18n??iy),{formatDate:c}=ri(),{getIsOpen:s,toggle:d}=Ti({closeOthers:!0,initialToggledItems:[null==(l=a.schedules[0])?void 0:l.schedule.id]}),u=e.computed(()=>a.schedules.map((e,t)=>({...e,inferredPricingPlanVersion:e.selectedPricingPlanVersion&&Hc(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&&Hc(e.selectedPricingPlanVersion,e.schedule,{displayDisabledAddonPricings:a.displayDisabledAddonPricings}),scheduleNumber:t+1}))];if(a.cancellationDate){let t=0;const o={cancellationDate:a.cancellationDate},n=e.findLastIndex(e=>Kg(e)&&(e.schedule.start_at??"")<(a.cancellationDate??""));if(-1===n)e=[o,...e];else{const l=e[n];t=Kg(l)&&(l.schedule.end_at??"")>=(a.cancellationDate??"")?n:n+1,t===a.schedules.length+1?e=[...e,o]:e.splice(t,0,o)}return e.map((e,o)=>Kg(e)?{...e,cancelled:o>t}:e)}return e}),m=e.computed(()=>void 0===a.openScheduleId);return(n,l)=>(e.openBlock(),e.createBlock(Ku,e.mergeProps(n.$attrs,{"has-add-button":t.isEditable,onAdd:l[0]||(l[0]=e=>n.$emit("add-schedule"))}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(l,p)=>{return e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.unref(Qg)(l)?(e.openBlock(),e.createBlock(ap,{key:0,"hide-collapse-icon":""},{icon:e.withCtx(()=>[e.createVNode(Ue,{icon:"cancel",class:"text-red-600"})]),left:e.withCtx(()=>[e.createVNode(o,{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.subscriptionCancelled(t.timezone?e.unref(c)({date:l.cancellationDate,format:"date",offsetType:"offsetted",timezone:t.timezone}):e.unref(c)({date:l.cancellationDate,format:"dateTime",offsetType:"local"}))),1)]),_:2},1024)]),_:2},1024)):e.createCommentVNode("",!0),e.unref(Kg)(l)?(e.openBlock(),e.createBlock(ap,{key:1,"item-number":l.scheduleNumber,"is-open":(f=l.schedule,m.value?s(f.id):a.openScheduleId===f.id),"has-continued-preline":!!t.isEditable||l.scheduleNumber-1!=u.value.length-1,class:e.normalizeClass({"opacity-60":l.cancelled}),onToggle:e=>(e=>{m.value?d(e.id):r("toggle-schedule",e.id)})(l.schedule)},{left:e.withCtx(()=>[e.createElementVNode("div",nb,[e.createVNode(o,{tag:"h3",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value.scheduleNumber(l.scheduleNumber)),1)]),_:2},1024),"TRIAL"===l.schedule.type&&l.schedule.start_at&&l.schedule.end_at?(e.openBlock(),e.createBlock(by,{key:0,"trial-period":e.unref(Es)(new Date(l.schedule.start_at),new Date(l.schedule.end_at))},null,8,["trial-period"])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"id",{id:l.schedule.id})])]),right:e.withCtx(()=>[e.renderSlot(n.$slots,"schedule-right",{item:l,itemIndex:l.scheduleNumber-1},()=>[t.timezone?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.schedule.start_at?e.unref(c)({date:l.schedule.start_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):i.value.startOfSchedule)+" - "+e.toDisplayString(l.schedule.end_at?e.unref(c)({date:l.schedule.end_at,format:"dateTime",offsetType:"offsetted",timezone:t.timezone}):i.value.endOfSchedule),1)]),_:2},1024)):(e.openBlock(),e.createBlock(o,{key:1,variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.schedule.start_at?e.unref(c)({date:l.schedule.start_at,format:"dateTime",offsetType:"local"}):i.value.startOfSchedule)+" - "+e.toDisplayString(l.schedule.end_at?e.unref(c)({date:l.schedule.end_at,format:"dateTime",offsetType:"local"}):i.value.endOfSchedule),1)]),_:2},1024))])]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"schedule",{item:l,previousItem:u.value.find(e=>e.scheduleNumber===l.scheduleNumber-1),nextItem:u.value.find(e=>e.scheduleNumber===l.scheduleNumber+1),timezone:t.timezone},()=>[l.selectedPricingPlan?(e.openBlock(),e.createElementBlock("div",lb,[e.createVNode(Hs,{initials:l.selectedPricingPlan.name[0],"color-hash":l.selectedPricingPlan.id,size:"lg"},null,8,["initials","color-hash"]),e.createElementVNode("h2",ab,e.toDisplayString(l.selectedPricingPlan.name),1),e.createVNode(ci,{color:"teal"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(i.value.versionNumber((null==(t=l.inferredPricingPlanVersion)?void 0:t.version)??1)),1)]}),_:2},1024)])):e.createCommentVNode("",!0),l.inferredPricingPlanVersion?(e.openBlock(),e.createElementBlock("div",rb,[e.createVNode(yy,{"pricing-plan-version":l.inferredPricingPlanVersion,"enabled-pricings":e.unref(Ic)(l.schedule),"default-expanded":t.isExpandedByDefault,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(ls)(l.schedule,t)],(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t?(e.openBlock(),e.createBlock(ob,{key:o,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:l,pricingPlanVersion:l.inferredPricingPlanVersion})]),_:2},1032,["pricing-plan-version","enabled-pricings","default-expanded","i18n","enable-pricing-group-selection"])])):e.createCommentVNode("",!0),l.schedule.discount?(e.openBlock(),e.createBlock(Ky,{key:2,discount:l.schedule.discount,"read-only":"","pricing-plan-version":l.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),l.schedule.markup?(e.openBlock(),e.createBlock(eb,{key:3,markup:l.schedule.markup,"pricing-plan-version":l.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),l.schedule&&l.schedule.commitment?(e.openBlock(),e.createBlock(Ly,{key:4,class:"mt-2",commitment:l.schedule.commitment,"read-only":"","pricing-plan-version":l.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)])]),_:2},1032,["item-number","is-open","has-continued-preline","class","onToggle"])):e.createCommentVNode("",!0)],64);var f}),128))]),_:3},16,["has-add-button"]))}}),cb=["disabled"],sb=["aria-label"],db=["id","disabled","value","aria-checked","aria-describedby"],ub=["tabindex","data-testid","for","aria-label","onKeydown"],pb={class:"text-xs"},mb={key:1,class:"mt-2 text-sm text-gray-500"},fb=e.defineComponent({__name:"RadioGroupExtended",props:{options:{},direction:{default:"row"},showRadio:{type:Boolean,default:!0},disabled:{type:Boolean},label:{},modelValue:{type:[String,Boolean]},name:{},required:{type:Boolean},rootClass:{},error:{},variant:{}},emits:["update:modelValue"],setup(t,{emit:n}){const l=t,a=zt(l,"modelValue",n),r=zu(l.name?`radio_${l.name}_`:"radio_");return(n,i)=>(e.openBlock(),e.createElementBlock("fieldset",{class:e.normalizeClass(t.rootClass),disabled:t.disabled},[t.label?(e.openBlock(),e.createBlock(e.unref(Zu),{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([["column"===t.direction?"flex-col":"flex-row"],"rounded flex gap-1"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,c=>(e.openBlock(),e.createElementBlock("div",{key:c.value.toString(),class:"flex-1"},[e.withDirectives(e.createElementVNode("input",e.mergeProps({ref_for:!0},n.$attrs,{id:`${e.unref(r)}${c.value}`,"onUpdate:modelValue":i[0]||(i[0]=t=>e.isRef(a)?a.value=t:null),disabled:t.disabled,value:c.value,type:"radio","aria-checked":e.unref(a)===c.value,"aria-describedby":c.warning?`${e.unref(r)}${c.value}-warning`:void 0,tabindex:"-1",class:"sr-only"}),null,16,db),[[e.vModelRadio,e.unref(a)]]),e.createElementVNode("label",{tabindex:t.disabled?void 0:0,"data-testid":`radio-group-item-${c.value}`,for:`${e.unref(r)}${c.value}`,"aria-label":c.label+(c.description?`: ${c.description}`:""),class:e.normalizeClass(["relative label px-4 py-3 h-full flex gap-3 border bg-gray-50/50 border-gray-100 rounded outline-none hover:bg-primary-50/50 focus-visible:bg-primary-50 focus-visible:border-primary-600 focus-visible:ring-1 focus-visible:ring-primary-600 focus:bg-primary-50",{"cursor-pointer":!t.disabled,"cursor-not-allowed":t.disabled,"bg-white border border-primary-600 ring-1 ring-primary-600":e.unref(a)===c.value&&!t.disabled,"opacity-60":t.disabled}]),onKeydown:e=>{return t=e,o=c.value,void(l.disabled||"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),a.value=o));var t,o}},[t.showRadio?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["material-symbols-outlined leading-4 h-4 w-4 min-w-4 inline-block mt-px rounded-full",{"border-4 border-primary-800":e.unref(a)===c.value,"border border-gray-300":e.unref(a)!==c.value}])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col",{"opacity-50":t.disabled}])},[e.createVNode(e.unref(o),{tag:"div",weight:"semibold","no-spacing":"",variant:"body-sm",class:"flex justify-between align-center"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.label),1)]),_:2},1024),c.description?(e.openBlock(),e.createBlock(e.unref(o),{key:0,tag:"div",variant:"body-xs","no-spacing":"",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.description),1)]),_:2},1024)):e.createCommentVNode("",!0),c.description?e.createCommentVNode("",!0):e.renderSlot(n.$slots,"description",{key:1,optionValue:c.value})],2)],42,ub),c.warning?(e.openBlock(),e.createBlock(e.unref($s),{key:0,id:`${e.unref(r)}${c.value}-warning`,class:"mt-1",type:e.unref(a)===c.value?"danger":"dark",role:"alert"},{default:e.withCtx(()=>[e.createElementVNode("span",pb,e.toDisplayString(c.warning),1)]),_:2},1032,["id","type"])):e.createCommentVNode("",!0)]))),128))],10,sb),t.error||n.$slots.helper?(e.openBlock(),e.createElementBlock("div",mb,[t.error?(e.openBlock(),e.createBlock(e.unref(De),{key:0,message:t.error},null,8,["message"])):n.$slots.helper?e.renderSlot(n.$slots,"helper",{key:1}):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,cb))}}),hb={class:"flex items-center pt-1"},vb={class:"px-1.5 text-gray-500 text-xs font-semibold"};const gb=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",hb,[o[0]||(o[0]=e.createElementVNode("div",{class:"border-t w-2"},null,-1)),e.createElementVNode("span",vb,[e.renderSlot(t.$slots,"default")]),o[1]||(o[1]=e.createElementVNode("div",{class:"border-t grow"},null,-1))])}]]),yb=["aria-selected","aria-disabled","data-testid"],bb=["id","value","checked","disabled"],xb=["for"],kb={class:"flex items-center gap-1"},_b={class:"flex flex-grow flex-col"},wb={class:"flex flex-grow gap-2"},Bb={class:"flex flex-grow flex-col"},Cb={class:"flex flex-grow items-start justify-between gap-2"},Eb={class:"flex items-center gap-2"},Nb=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(t,{emit:o}){const n=o,l=t,a=e=>{const t=e.target;n("value-changed",{value:t.value,checked:t.checked})},r=()=>{l.multiple||l.disabled||n("value-changed",{value:l.value})},c=e.computed(()=>`checkbox-item-${l.value}`),s=e.computed(()=>i(l.inputValue??""));return(o,n)=>(e.openBlock(),e.createElementBlock("li",{role:"option","aria-selected":t.checked,"aria-disabled":t.disabled,class:e.normalizeClass([{"hover:bg-gray-50":!t.disabled},"flex relative"]),"data-testid":c.value,tabindex:"0",onClick:r,onKeydown:e.withKeys(r,["enter"])},[t.multiple?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(o.$attrs,{id:c.value,ref:"inputRef",value:t.value,checked:t.checked,disabled:t.disabled,type:"checkbox",class:["absolute top-[50%] -translate-y-2 left-3.5 w-4 h-4 bg-gray-100 border-gray-300 rounded focus:ring-primary-500 focus:ring-2",t.disabled?"text-gray-400 placeholder-gray-500":"text-primary-600"],tabindex:"-1",onChange:a}),null,16,bb),e.createElementVNode("label",{for:c.value,class:e.normalizeClass([t.disabled?"text-gray-400":"text-gray-900 rounded","w-full px-4 py-3 pl-10 text-sm font-medium"])},[e.createElementVNode("div",kb,[t.labelPrefixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelPrefixComponent.component),{key:0})):e.createCommentVNode("",!0),e.createElementVNode("div",_b,[e.createElementVNode("div",wb,[e.createVNode(qe,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"sr-only":t.labelSrOnly}])},null,8,["text","search","class"]),t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(qe,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(qe,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)]),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])],10,xb)],64)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["w-full px-4 text-sm font-medium flex items-start gap-3",[t.condensed?"p-2":"py-3",t.disabled??"cursor-not-allowed",!t.disabled&&"cursor-pointer"]])},[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.createElementVNode("div",Bb,[e.createElementVNode("div",Cb,[e.createVNode(qe,{text:t.label,search:s.value,class:e.normalizeClass(["font-semibold",{"text-gray-400":t.disabled}])},null,8,["text","search","class"]),e.createElementVNode("div",Eb,[t.labelInlineComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},t.labelInlineComponent.props)),null,16)):e.createCommentVNode("",!0),t.labelSuffixComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},t.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0)])]),t.subLabel&&t.condensed?(e.openBlock(),e.createBlock(qe,{key:0,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0),t.subLabel&&!t.condensed?(e.openBlock(),e.createBlock(qe,{key:1,class:"text-xs text-slate-500",text:t.subLabel,search:s.value},null,8,["text","search"])):e.createCommentVNode("",!0)])],2))],42,yb))}}),Tb={class:"flex flex-col rounded-bl rounded-br"},Mb={key:0},Vb={key:2,class:"border-t border-gray-200"},Sb=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 l=t,a=n,r=e=>a("value-changed",e),i=e.computed(()=>Sp(l.options,"group").reduce((e,t)=>""===t.value?e:{...e,[t.value]:t.group},{})),c=e.computed(()=>0===l.options.length);return(n,l)=>(e.openBlock(),e.createElementBlock("div",Tb,[c.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"div","no-spacing":"",variant:"body-sm",shade:"lighter",class:"px-5 py-5"},{default:e.withCtx(()=>[...l[0]||(l[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",Mb,[e.createVNode(o,{tag:"p","no-spacing":"",variant:"body-sm",shade:"lighter",class:"px-3 py-2 mt-1"},{default:e.withCtx(()=>[...l[1]||(l[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:o,subLabel:n,value:l,checked:a,disabled:c,labelInlineComponent:s,labelSuffixComponent:d,labelSrOnly:u,labelPrefixComponent:p,hidden:m})=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[i.value[l]?(e.openBlock(),e.createBlock(gb,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value[l]),1)]),_:2},1024)):e.createCommentVNode("",!0),m?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Nb,{key:1,label:o,"sub-label":n,value:l,checked:a,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:r},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",Vb,[e.renderSlot(n.$slots,"list-footer-content")])):e.createCommentVNode("",!0)]))}}),zb=["aria-expanded","aria-controls"],Pb={class:"flex gap-2 items-center"},qb={key:1},Db={class:"flex items-center gap-2"},Ib={key:0,class:"flex flex-wrap gap-2 mt-2"},$b=["innerHTML"],Ob=["id"],Hb=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:n}){var l;const a=t,r=n,i=null==(l=e.getCurrentInstance())?void 0:l.vnode.props,c=zt(a,"inputModel",r),s=zt(a,"singleModelValue",r),d=zt(a,"multiModelValue",r),u=e.computed(()=>m.value?d.value??[]:s.value?[s.value]:[]),p=e.ref(a.multiModelValue??[]),m=e.computed(()=>Array.isArray(a.multiModelValue)),f=e.computed({get:()=>m.value?p.value??[]:"string"==typeof s.value?[s.value]:[],set(e){m.value?p.value=e:s.value=(null==e?void 0:e[0])??""}}),h=e.ref(!1),v=Ni(),g=e.ref(),y=e.ref(),b=e.inject(Ap),x=e.computed(()=>{return e=f.value,a.options.filter(t=>e.some(e=>t.value===e));var e}),k=e.computed(()=>x.value[0]),_=e.computed(()=>L.value[0]),w=e.computed(()=>{var e;return!h.value&&!m.value&&(null==(e=k.value)?void 0:e.labelPrefixComponent)}),B=!!(null==i?void 0:i.onAddOption),C=()=>{r("add-option"),N()},E=e.computed(()=>{var e,t,o,n;if(!m.value){if(k.value)return null==(e=k.value)?void 0:e.label;if(0===x.value.length)return a.textContent.placeholderSingleEmpty}if(m.value){if(1===x.value.length)return null==(t=k.value)?void 0:t.label;if(x.value.length>=2)return`${null==(o=k.value)?void 0:o.label} +${x.value.length-1}`;if(0===x.value.length)return a.textContent.placeholderMultipleEmpty}return null==(n=_.value)?void 0:n.label}),N=()=>{m.value,h.value=!1},T=({value:e,checked:t})=>{let o;m.value?o=t?[...f.value,e]:f.value.filter(t=>t!==e):(o=[e],h.value=!1),f.value=o,r("change")},M=e.computed(()=>!(!a.addOnly||_c(p.value,a.multiModelValue))||!a.addOnly&&f.value.length>0&&!a.disabled&&(1!==f.value.length||""!==f.value[0])),V=()=>{if(a.addOnly)return p.value=u.value,c.value="",void N();f.value=[],p.value=[],c.value&&(c.value=""),N()},S=()=>g.value?Array.from(g.value.querySelectorAll('li[tabindex="0"], button:not([disabled])')):[],z=()=>{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},P=()=>{if(!y.value)return null;let e=y.value.querySelector("input");if(e)return e;const t=y.value.querySelectorAll("*");for(const o of t)if(o.shadowRoot&&(e=o.shadowRoot.querySelector("input"),e))return e;return null},q=e=>{var t,o;if(!h.value)return;const n=S(),l=P();if(z()===l)switch(e.key){case"ArrowDown":n.length>0&&(e.preventDefault(),null==(t=n[0])||t.focus());break;case"Tab":!e.shiftKey&&n.length>0&&(e.preventDefault(),null==(o=n[0])||o.focus());break;case"Escape":e.preventDefault(),N()}},D=t=>{var o,n,l,a;const r=S(),i=z(),c=r.indexOf(i),s=P();switch(t.key){case"ArrowDown":c<r.length-1&&(t.preventDefault(),null==(o=r[c+1])||o.focus());break;case"ArrowUp":t.preventDefault(),c<=0?null==s||s.focus():null==(n=r[c-1])||n.focus();break;case"Tab":t.shiftKey?c<=0?(t.preventDefault(),null==s||s.focus()):(t.preventDefault(),null==(l=r[c-1])||l.focus()):c>=r.length-1?(t.preventDefault(),N(),null==s||s.focus()):(t.preventDefault(),null==(a=r[c+1])||a.focus());break;case"Escape":t.preventDefault(),N(),e.nextTick(()=>{null==s||s.focus()})}};rt("mousedown",e=>{const t=e.composedPath();g.value&&t.includes(g.value)||y.value&&t.includes(y.value)||h.value&&N()});const{floatingStyles:I}=nn(y,g,{whileElementsMounted:Ko,placement:"bottom",middleware:[Wo(4),Yo({mainAxis:!0})]}),$=zu("search-select-options-"),{width:O}=Et(y),H=()=>{const e=P();e&&e.focus()},A=e.computed(()=>a.options.map(e=>({...e,checked:x.value.some(t=>t.value===e.value),disabled:a.disabled||!a.disabled&&a.addOnly&&!!u.value.includes(e.value)}))),L=e.computed(()=>A.value.filter(e=>{var t;return null==(t=f.value)?void 0:t.includes(e.value)}));return(n,l)=>{var a;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"wrapperRef",ref:y,class:e.normalizeClass(["relative flex items-end",{rootClass:t.rootClass,"z-30":h.value,"cursor-text":!t.disabled}]),role:"combobox","aria-expanded":h.value,"aria-haspopup":!0,"aria-controls":e.unref($),onKeydown:q,onClick:H},[e.createVNode(e.unref(qm),{modelValue:e.unref(c),"onUpdate:modelValue":l[0]||(l[0]=t=>e.isRef(c)?c.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:E.value,class:e.normalizeClass(["grow !outline-none",{"placeholder:text-gray-900":!h.value&&(!m.value&&e.unref(s)||m.value&&!e.unref(ze)(t.multiModelValue)),"cursor-default":t.isInputReadOnly}]),"wrapper-class":{"border-transparent border-b-gray-200 focus-within:border-b relative z-10":h.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:l[1]||(l[1]=()=>h.value=!0),onBlur:l[2]||(l[2]=e=>n.$emit("blur"))},e.createSlots({"label-suffix":e.withCtx(()=>[e.renderSlot(n.$slots,"label-suffix")]),suffix:e.withCtx(()=>{var o,n;return[e.createElementVNode("div",Db,[h.value||m.value||!(null==(o=k.value)?void 0:o.labelInlineComponent)||t.showSuffixInClosedInput&&!t.showSuffixLabelInInput?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value.labelInlineComponent.component),e.normalizeProps(e.mergeProps({key:0},k.value.labelInlineComponent.props)),null,16)),!h.value&&!m.value&&(null==(n=k.value)?void 0:n.labelSuffixComponent)&&t.showSuffixInClosedInput?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value.labelSuffixComponent.component),e.normalizeProps(e.mergeProps({key:1},k.value.labelSuffixComponent.props)),null,16)):e.createCommentVNode("",!0),e.unref(c)||M.value&&t.hasReset?(e.openBlock(),e.createBlock(km,{key:2,icon:"close",size:"xs",variant:"ghost",color:"gray",type:"button",onClick:V})):e.createCommentVNode("",!0),e.createVNode(Ue,{icon:"keyboard_arrow_down",size:"xs",class:e.normalizeClass(["transition-transform",{"rotate-180":h.value}])},null,8,["class"])])]}),_:2},[t.showSubLabelInInput&&(null==(a=k.value)?void 0:a.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(o,{tag:"span",class:"block",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=k.value)?void 0:t.label),1)]}),_:1}),e.createVNode(o,{tag:"span",class:"block",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString(null==(t=k.value)?void 0:t.subLabel),1)]}),_:1})],2)]),key:"0"}:void 0,n.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"tooltip")]),key:"1"}:void 0,w.value||n.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>{var t;return[e.createElementVNode("div",Pb,[n.$slots.prefix?e.renderSlot(n.$slots,"prefix",{key:0}):w.value&&(null==(t=k.value)?void 0:t.labelPrefixComponent)?(e.openBlock(),e.createElementBlock("div",qb,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value.labelPrefixComponent.component),e.normalizeProps(e.guardReactiveProps(k.value.labelPrefixComponent.props)),null,16))])):e.createCommentVNode("",!0)])]}),key:"2"}:void 0,n.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(n.$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,zb),t.withChips?(e.openBlock(),e.createElementBlock("div",Ib,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.value,({value:o,label:n,disabled:l})=>(e.openBlock(),e.createBlock(ci,{key:o,removable:!l,color:l?"dark":t.chipColor,onRemoved:e=>T({value:o,checked:!1})},{default:e.withCtx(()=>[e.createElementVNode("span",{innerHTML:n},null,8,$b)]),_:2},1032,["removable","color","onRemoved"]))),128))])):e.createCommentVNode("",!0),e.unref(v)&&e.unref(b)?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(b)},[h.value&&!t.disabled?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref($),ref_key:"optionsRef",ref:g,role:"listbox",style:e.normalizeStyle(e.unref(I)),class:"drop-shadow-md bg-white rounded z-70",onMouseenter:l[3]||(l[3]=e=>h.value=!0),onKeydown:D},[e.createElementVNode("div",{class:"rounded pt-0",style:e.normalizeStyle({width:`${e.unref(O)}px`})},[e.createVNode(Sb,{options:A.value,multiple:m.value,model:f.value,"add-only":t.addOnly,"allows-multiple-values":!!m.value,condensed:t.condensed,"has-large-dropdown":t.hasLargeDropdown,"input-value":e.unref(c),onValueChanged:T},{"list-footer-content":e.withCtx(()=>[B?(e.openBlock(),e.createBlock(yl,{key:0,variant:"ghost",class:"w-full",type:"button","icon-prefix":"add",onClick:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonAddLabel),1)]),_:1})):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex justify-between items-center",{"py-2":!n.$slots["list-footer-content"]}])},[M.value?(e.openBlock(),e.createBlock(yl,{key:0,type:"button",color:"gray",variant:"ghost",size:"sm",class:"ml-2",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonClearLabel),1)]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"list-footer-content")]),e.createVNode(yl,{type:"button",size:"sm",class:"mr-2","data-testid":e.unref("select-search-done-button"),onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.textContent.buttonDoneLabel),1)]),_:1},8,["data-testid"])],2)):e.renderSlot(n.$slots,"list-footer-content",{key:2})]),_:3},8,["options","multiple","model","add-only","allows-multiple-values","condensed","has-large-dropdown","input-value"])],4)],44,Ob)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64)}}}),Ab=e.defineComponent({__name:"SearchSelectInputTeleportProvider",setup(t){const o=e.ref(null);return e.provide(Ap,o),(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"teleportTarget",ref:o,"data-search-select-teleport-target":""},null,512)],64))}}),Lb={class:"flex items-center gap-1.5 text-gray-800"},Zb=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,l=e.useModel(t,"modelValue"),a=e.ref(null),r=e.computed(()=>{if(n.unitName)return n.unitName[1===l.value?"singular":"plural"]}),i=()=>{n.max&&l.value+n.step>n.max||(l.value+=n.step)},c=()=>{l.value-n.step<n.min||(l.value-=n.step)};function s(e){var t;const o=null==(t=a.value)?void 0:t.el;if(!o)return;const n=parseInt(`${e}`);l.value=n,o.innerText=`${n}`,o.focus();const r=document.createRange();r.selectNodeContents(o),r.collapse(!1);const i=window.getSelection();null==i||i.removeAllRanges(),null==i||i.addRange(r)}const d=e=>{const t=e.target;t instanceof HTMLElement&&s(t.innerText)},u=e.computed(()=>!n.disabled&&(!n.max||l.value+n.step<n.max)),p=e.computed(()=>!n.disabled&&l.value-n.step>=n.min);function m(){var e;const t=null==(e=a.value)?void 0:e.el;if(!t)return;t.focus();const o=document.createRange();o.selectNodeContents(t);const n=window.getSelection();null==n||n.removeAllRanges(),null==n||n.addRange(o)}return e.onMounted(()=>{var e;const t=null==(e=a.value)?void 0:e.el;t&&(t.innerText=`${l.value}`)}),e.watch(()=>l.value,e=>{s(e)}),(s,f)=>(e.openBlock(),e.createBlock(qm,{modelValue:l.value,"onUpdate:modelValue":f[0]||(f[0]=e=>l.value=e),type:"number",class:"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none text-transparent","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:m},[e.createElementVNode("div",Lb,[e.createVNode(o,{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:d},null,8,["variant","contenteditable","class"]),r.value?(e.openBlock(),e.createBlock(o,{key:0,tag:"span",shade:"lighter",class:"pointer-events-none select-none"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(" ")+e.toDisplayString(r.value),1)]),_:1})):e.createCommentVNode("",!0),t.showDelta?(e.openBlock(),e.createBlock(Ym,{key:1,"old-value":n.initialValue,"new-value":l.value,class:"ml-0.5 pointer-events-none select-none"},null,8,["old-value","new-value"])):e.createCommentVNode("",!0)])],32),e.createVNode(km,{disabled:!p.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["select-none rounded-tr-none rounded-br-none !h-full",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"remove",onMousedown:c},null,8,["disabled","class"])]),suffix:e.withCtx(()=>[e.createVNode(km,{disabled:!u.value,type:"button",color:"gray",variant:"ghost",size:"sm",class:e.normalizeClass(["select-none rounded-tl-none rounded-bl-none !h-full",{"!w-7":"lg"===t.size,"!w-5":"sm"===t.size,"!w-6":"md"===t.size}]),icon:"add",onMousedown:i},null,8,["disabled","class"])]),_:2},[s.$slots.helper?{name:"helper",fn:e.withCtx(()=>[e.renderSlot(s.$slots,"helper")]),key:"0"}:void 0]),1032,["modelValue","prefix-class","suffix-class","size","label","disabled","name","required"]))}}),Rb={class:"relative"},Fb={class:"w-full text-sm text-left text-gray-500"},Ub=e.defineComponent({__name:"Table",props:{striped:{type:Boolean},stripeClass:{},hoverable:{type:Boolean},sorting:{},rounded:{type:Boolean},noBorder:{type:Boolean}},emits:["sort"],setup(t,{emit:o}){const n=t,l=o;return e.provide("striped",n.striped),e.provide("stripeClass",n.stripeClass),e.provide("hoverable",n.hoverable),e.provide("sorting",n.sorting),e.provide("emit",l),e.provide("rounded",n.rounded??!1),e.provide("noBorder",n.noBorder??!1),(t,o)=>(e.openBlock(),e.createElementBlock("div",Rb,[e.createElementVNode("table",Fb,[e.renderSlot(t.$slots,"default")])]))}}),jb={key:0,class:"transition-opacity transition-duration-700 shadow-left absolute z-10 pointer-events-none w-3.5 h-full shadow-none top-0 bg-transparent right-0 translate-x-3.5 bg-gradient-to-r from-black/[.06] to-transparent [.scroll-shadow-left_&]:opacity-100 opacity-0"},Gb={key:1,class:"transition-opacity transition-duration-700 shadow-right absolute z-10 pointer-events-none w-3.5 h-full shadow-none top-0 bg-transparent left-0 -translate-x-3.5 bg-gradient-to-l from-black/[.06] to-transparent [.scroll-shadow-right_&]:opacity-100 opacity-0"},Qb=e.defineComponent({__name:"TableCellScrollShadow",props:{elRef:{}},setup(t){const o=t,n=e.ref(!1),l=e.ref(!1);return e.onMounted(()=>{var e;if((null==(e=o.elRef)?void 0:e.value)&&o.elRef.value.parentElement){const e=Array.from(o.elRef.value.parentElement.children);n.value=e[0]===o.elRef.value,l.value=e[e.length-1]===o.elRef.value}}),(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.value?(e.openBlock(),e.createElementBlock("div",jb)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("div",Gb)):e.createCommentVNode("",!0)],64))}}),Kb=e.defineComponent({__name:"TableCell",props:{hasPadding:{type:Boolean,default:!1}},setup(t){const o=e.inject("stripeClass")??"group-odd:bg-gray-50",n=e.inject("rounded")??!1,l=e.inject("hoverable"),a=e.inject("striped"),r=e.inject("tdLinkSlot"),i=t,c=e.ref(),s=e.computed(()=>{let e="relative transition ease-in-out px-4 py-3 text-gray-800 first:whitespace-nowrap leading-none";return a&&(e+=` group-even:bg-white ${o}`),n&&(e+=" first-of-type:rounded-l last-of-type:rounded-r overflow-clip"),i.hasPadding||(e+=" first:pl-0"),l&&(e+=" group-hover:bg-gray-50 cursor-pointer"),e});return(t,o)=>(e.openBlock(),e.createElementBlock("td",{ref_key:"el",ref:c,class:e.normalizeClass(s.value)},[c.value?(e.openBlock(),e.createBlock(Qb,{key:0,"el-ref":e.toRef(c.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{key:1})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2))}}),Wb=["colspan","tabindex"],Yb=e.defineComponent({__name:"TableHeadCell",props:{colspan:{},columnName:{},sortable:{type:Boolean},hasPadding:{type:Boolean,default:!1},tooltip:{},fixedWidth:{}},emits:["sort"],setup(t,{emit:o}){const n=o,l=e.inject("sorting"),a=t,r=e.ref(),i=e.computed(()=>!(!a.sortable||!l)&&(l.columnName===a.columnName&&(null==l?void 0:l.direction))),c=()=>{a.sortable&&l&&a.columnName&&n("sort",a.columnName)};return(o,n)=>(e.openBlock(),e.createElementBlock("th",{ref_key:"el",ref:r,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 px-4 py-2 font-medium text-xs whitespace-nowrap select-none"]),colspan:t.colspan,tabindex:t.sortable?0:-1,scope:"col",onClick:c},[r.value?(e.openBlock(),e.createBlock(Qb,{key:0,"el-ref":e.toRef(r.value)},null,8,["el-ref"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({"text-blue-700":i.value})},[e.renderSlot(o.$slots,"default")],2),t.sortable?(e.openBlock(),e.createBlock(Ue,{key:1,icon:i.value&&"desc"===i.value?"north":"south",class:e.normalizeClass([{"text-blue-700":i.value},"text-sm"]),size:"2xs"},null,8,["icon","class"])):e.createCommentVNode("",!0),t.tooltip?(e.openBlock(),e.createBlock(Ou,{key:2,variant:"outline"},{default:e.withCtx(()=>[e.createVNode(Ue,{icon:"help",size:"xs",class:"rounded drop-shadow-sm hover:bg-gray-50 hover:cursor-default -mt-0.5 ml-0.5"})]),tooltip:e.withCtx(()=>[e.createVNode(ip,null,{default:e.withCtx(()=>[e.createVNode(cp,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0)],14,Wb))}}),Xb=e.defineComponent({__name:"TableRow",props:{backgroundClass:{}},setup(t){const o=e.useSlots();e.provide("tdLinkSlot",o.link);const n=e.inject("noBorder");return(o,l)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(["group rounded-md",{"bg-white":!t.backgroundClass,"border-y border-gray-200":!e.unref(n)}])},[e.renderSlot(o.$slots,"default")],2))}}),Jb={"w-fit":!0,relative:!0,"inline-flex":!0,"items-center":!0},ex={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"},tx={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"},ox=["disabled"],nx=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:o}){const n=t,l=o,a=e.computed({get:()=>n.modelValue,set(e){l("update:modelValue",e)}}),{labelClasses:r,toggleSize:i,toggleClasses:c,toggleColor:s,toggleBallClasses:d}=(t=>{const o=e.computed(()=>{var e,o;return{...Jb,"cursor-pointer":!(null==(e=t.disabled)?void 0:e.value),"cursor-default":!!(null==(o=t.disabled)?void 0:o.value)}}),n=e.computed(()=>{var e,o;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==(o=t.disabled)?void 0:o.value}});return{labelClasses:o,toggleSize:e.computed(()=>ex[t.size.value]),toggleClasses:n,toggleColor:e.computed(()=>tx[t.color.value]),toggleBallClasses:e.computed(()=>"grow text-sm font-medium text-gray-900")}})(e.toRefs(n));return(o,n)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["inline-flex items-center gap-1.5",{"flex-row-reverse":"before"===t.labelPosition,"rounded bg-gray-50 border-l-4 border-gray-200":t.hasBackground,"p-2":!t.noSpacing}]),onClick:n[1]||(n[1]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(r))},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":n[0]||(n[0]=e=>a.value=e),disabled:t.disabled,class:"sr-only peer",type:"checkbox"},null,8,ox),[[e.vModelCheckbox,a.value]]),e.createElementVNode("span",{class:e.normalizeClass([e.unref(c),e.unref(i),e.unref(s)])},null,2)],2),o.$slots["inline-label"]?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(d))},[e.renderSlot(o.$slots,"inline-label")],2)):e.createCommentVNode("",!0)],2))}}),lx=e.defineComponent({__name:"TooltipTeleportProvider",setup(t){const o=e.ref(null);return e.provide(Du,o),(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(t.$slots,"default"),e.createElementVNode("div",{ref_key:"tooltipTarget",ref:o,"data-tooltip-teleport-target":""},null,512)],64))}}),ax={key:0,class:"flex flex-col gap-4"},rx={class:"flex flex-col items-start"},ix={class:"flex flex-col gap-2"},cx={class:"flex flex-col items-start"},sx=e.defineComponent({__name:"WalletBalances",props:{items:{},title:{default:void 0},variant:{default:"section"}},setup(t){const{$t:n,formatDate:l,formatNumber:a}=ri(),i=e=>{var t,o,l,r,i,c;if(null==e?void 0:e.amount)return Tc(e.amount);if(null==e?void 0:e.credits){const s=Number(e.credits.quantity),d=1===s?null==(o=null==(t=e.credits.creditType)?void 0:t.unit_name)?void 0:o.singular:(null==(r=null==(l=e.credits.creditType)?void 0:l.unit_name)?void 0:r.plural)??(null==(c=null==(i=e.credits.creditType)?void 0:i.unit_name)?void 0:c.singular);return n({defaultMessage:"{quantity} {unit}",description:"Formatted wallet credits balance",id:"wallet_balance.formatted_credit_unit"},{quantity:a(s),unit:d??n({defaultMessage:"credits",description:"Wallet balances credits default message",id:"wB/wXs"})})}return n({defaultMessage:"N/A",description:"Fallback wallet balance label when no balance is available",id:"PW+sL4"})},c=e=>e?n({defaultMessage:"Updated at {date}",description:"Wallet balance timestamp label",id:"spcNSp"},{date:l({date:e,format:"dateTime",offsetType:"local"})}):null;return(l,a)=>"page-grid-aside"===t.variant?(e.openBlock(),e.createElementBlock("div",ax,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,t=>(e.openBlock(),e.createBlock(e.unref(Hh),{key:t.walletId,title:e.unref(n)({defaultMessage:"Wallet",description:"Title of a wallet balance card",id:"3yk8fB"})},{default:e.withCtx(()=>[e.createElementVNode("section",rx,[e.createVNode(o,{variant:"label","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:2},1024),e.createVNode(o,{variant:"body-lg",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i(t.balance)),1)]),_:2},1024),t.balanceAt?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c(t.balanceAt)),1)]),_:2},1024)):e.createCommentVNode("",!0)])]),_:2},1032,["title"]))),128))])):(e.openBlock(),e.createBlock(r,{key:1,"no-spacing":"","no-border":"",title:t.title},{default:e.withCtx(()=>[e.createElementVNode("div",ix,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,t=>(e.openBlock(),e.createBlock(r,{key:t.walletId},{default:e.withCtx(()=>[e.createElementVNode("div",cx,[e.createVNode(o,{variant:"label","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:2},1024),e.createVNode(o,{variant:"body-lg",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i(t.balance)),1)]),_:2},1024),t.balanceAt?(e.openBlock(),e.createBlock(o,{key:0,variant:"body-xs",shade:"lighter","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c(t.balanceAt)),1)]),_:2},1024)):e.createCommentVNode("",!0)])]),_:2},1024))),128))])]),_:1},8,["title"]))}});const dx=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("tbody",null,[e.renderSlot(t.$slots,"default")])}]]),ux={class:"bg-white"};const px=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("thead",ux,[e.renderSlot(t.$slots,"default")])}]]),mx={class:"bg-white"};const fx=$e({},[["render",function(t,o){return e.openBlock(),e.createElementBlock("tr",mx,[e.renderSlot(t.$slots,"default")])}]]);function hx(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function vx(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?hx(Object(o),!0).forEach(function(t){gx(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):hx(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function gx(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function yx(e){return"function"==typeof e}function bx(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function xx(e){return yx(e.$validator)?vx({},e):{$validator:e}}function kx(e){return"object"==typeof e?e.$valid:e}function _x(e){return e.$validator||e}const wx=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 Bx(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return t=>(t=e.unref(t),!wx(t)||o.every(e=>(e.lastIndex=0,e.test(t))))}var Cx=Object.freeze({__proto__:null,forEach:function(t){return{$validator(o){for(var n=arguments.length,l=new Array(n>1?n-1:0),a=1;a<n;a++)l[a-1]=arguments[a];return e.unref(o).reduce((e,o,n)=>{const a=Object.entries(o).reduce((e,a)=>{let[r,i]=a;const c=t[r]||{},s=Object.entries(c).reduce((e,t)=>{let[a,c]=t;const s=_x(c).call(this,i,o,n,...l),d=kx(s);if(e.$data[a]=s,e.$data.$invalid=!d||!!e.$data.$invalid,e.$data.$error=e.$data.$invalid,!d){let t=c.$message||"";const o=c.$params||{};"function"==typeof t&&(t=t({$pending:!1,$invalid:!d,$params:o,$model:i,$response:s})),e.$errors.push({$property:r,$message:t,$params:o,$response:s,$model:i,$pending:!1,$validator:a})}return{$valid:e.$valid&&d,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:[]});return e.$data[r]=s.$data,e.$errors[r]=s.$errors,{$valid:e.$valid&&s.$valid,$data:e.$data,$errors:e.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:e.$valid&&a.$valid,$data:e.$data.concat(a.$data),$errors:e.$errors.concat(a.$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:xx,regex:Bx,req:wx,unwrap:e.unref,unwrapNormalizedValidator:_x,unwrapValidatorResponse:kx,withAsync:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return vx(vx({},xx(e)),{},{$async:!0,$watchTargets:t})},withMessage:function(t,o){if(!yx(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(!bx(o)&&!yx(o))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=xx(o);return n.$message=t,n},withParams:function(e,t){if(!bx(e))throw new Error('[@vuelidate/validators]: First parameter to "withParams" should be an object, provided '+typeof e);if(!bx(t)&&!yx(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const o=xx(t);return o.$params=vx(vx({},o.$params||{}),e),o}});Bx(/^[a-zA-Z]*$/),Bx(/^[a-zA-Z0-9]*$/),Bx(/^\d*(\.\d+)?$/);Bx(/^(?:[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);Bx(/^(?:(?:(?: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),Bx(/(^[0-9]*$)|(^-[0-9]+$)/),Bx(/^[-]?\d*(\.\d+)?$/);const Ex={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"}},Nx=Cx.withMessage(({$model:t})=>{if(!t||"string"!=typeof t||""===t.trim())return"";const o=e.inject(oi,null);if(!o)return"Invalid tax ID";const{formatMessage:n}=o,l=Object.values(Ex).find(e=>t.toUpperCase().startsWith(e.prefix.toUpperCase()));return l?n({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:l.example}):n({defaultMessage:"Invalid tax ID",id:"taxId.invalid",description:"Error message when tax ID is invalid"})},e=>!e||"string"!=typeof e||""===e.trim()||Object.values(Ex).some(t=>t.regex.test(e))),Tx=Object.freeze(Object.defineProperty({__proto__:null,default:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><symbol viewBox="0 -960 960 960" fill="currentColor" id="account_balance"><path d="M212-241v-339h60v339h-60Zm242 0v-339h60v339h-60ZM80-121v-60h800v60H80Zm608-120v-339h60v339h-60ZM80-640v-53l400-228 400 228v53H80Zm134-60h532-532Zm0 0h532L480-852 214-700Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="account_balance_wallet"><path d="M180-233v53-600 547Zm0 113q-24.75 0-42.37-17.63Q120-155.25 120-180v-600q0-24.75 17.63-42.38Q155.25-840 180-840h600q24.75 0 42.38 17.62Q840-804.75 840-780v134h-60v-134H180v600h600v-133h60v133q0 24.75-17.62 42.37Q804.75-120 780-120H180Zm358-173q-30.52 0-52.26-21.44Q464-335.89 464-366v-227q0-30.11 21.74-51.56Q507.48-666 538-666h270q30.53 0 52.26 21.44Q882-623.11 882-593v227q0 30.11-21.74 51.56Q838.53-293 808-293H538Zm284-60v-253H524v253h298Zm-169.76-63q26.76 0 45.26-18.96Q716-453.92 716-481q0-26.25-19-44.63Q678-544 652-544t-45 18.37q-19 18.38-19 44.63 0 27.08 18.74 46.04Q625.47-416 652.24-416Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="add"><path d="M450-450H200v-60h250v-250h60v250h250v60H510v250h-60v-250Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="add_circle"><path d="M453-280h60v-166h167v-60H513v-174h-60v174H280v60h173v166Zm27.27 200q-82.74 0-155.5-31.5Q252-143 197.5-197.5t-86-127.34Q80-397.68 80-480.5t31.5-155.66Q143-709 197.5-763t127.34-85.5Q397.68-880 480.5-880t155.66 31.5Q709-817 763-763t85.5 127Q880-563 880-480.27q0 82.74-31.5 155.5Q817-252 763-197.68q-54 54.31-127 86Q563-80 480.27-80Zm.23-60Q622-140 721-239.5t99-241Q820-622 721.19-721T480-820q-141 0-240.5 98.81T140-480q0 141 99.5 240.5t241 99.5Zm-.5-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="alternate_email"><path d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480v53q0 56-39.34 94.5Q801.31-294 744-294q-36.08 0-68.04-17.5Q644-329 627-361q-26 34-65.08 50.5Q522.83-294 480-294q-77.61 0-132.3-54Q293-402 293-480.01q0-78.02 54.7-133Q402.39-668 480-668q77.6 0 132.3 54.99Q667-558.02 667-480v53q0 30.61 22.5 51.81Q712-354 743.5-354t54-21.19Q820-396.39 820-427v-53q0-142.38-98.81-241.19T480-820q-142.37 0-241.19 98.81Q140-622.38 140-480q0 142.37 98.81 241.19Q337.63-140 480-140h214v60H480Zm.06-274Q533-354 570-390.75T607-480q0-54-37.06-91t-90-37Q427-608 390-571t-37 91q0 52.5 37.06 89.25t90 36.75Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="arrow_back"><path d="m274-450 248 248-42 42-320-320 320-320 42 42-248 248h526v60H274Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="arrow_cool_down"><path d="M480-80 200-360l42-42 208 208v-306h60v306l208-208 42 42L480-80Zm-30-480v-140h60v140h-60Zm0-200v-120h60v120h-60Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="arrow_forward"><path d="M686-450H160v-60h526L438-758l42-42 320 320-320 320-42-42 248-248Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="arrow_outward"><path d="m242-246-42-42 412-412H234v-60h480v480h-60v-378L242-246Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="arrow_right_alt"><path d="m560-242-43-42 168-168H160v-60h525L516-681l43-42 241 241-240 240Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="article"><path d="M277-279h275v-60H277v60Zm0-171h406v-60H277v60Zm0-171h406v-60H277v60Zm-97 501q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18H180Zm0-60h600v-600H180v600Zm0-600v600-600Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="automation"><path d="M283-272q-40 34-83.5 30.5T124-272q-32-27-42.5-69.5T98-429l82-137q-27-21-43-52.63-16-31.64-16-68.37 0-63.53 45.24-108.76Q211.48-841 275-841t108.76 45.24Q429-750.53 429-687q0 63.53-45.24 108.76Q338.52-533 275-533q-10.8 0-21.6-1.5T233-539l-84 141q-14 23-8.82 45.11 5.17 22.1 22 36Q179-303 201.5-301.5T244-317l433-372q40-34 84-31t76 30q32 27 42.5 70T863-532l-81 137q27 21 43 52.63 16 31.64 16 68.37 0 63.52-45.54 108.76Q749.91-120 685.96-120 622-120 577.5-165.24 533-210.48 533-274t44.5-108.76Q622-428 686-428q10.73 0 20.87 1 10.13 1 20.13 4l84-140q14-23 8.82-45.11-5.17-22.1-22-36Q781-658 758.5-659.5T716-644L283-272Zm-7.84-321q38.84 0 66.34-27.66t27.5-66.5q0-38.84-27.66-66.34t-66.5-27.5q-38.84 0-66.34 27.66t-27.5 66.5q0 38.84 27.66 66.34t66.5 27.5Zm410.97 413q39.14 0 67-27.66Q781-235.32 781-274.16t-27.87-66.34q-27.86-27.5-67-27.5Q647-368 620-340.34q-27 27.66-27 66.5t27 66.34q27 27.5 66.13 27.5ZM275-687Zm412 413Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="barcode"><path d="M40-200v-560h85v560H40Zm120 0v-560h80v560h-80Zm120 0v-560h40v560h-40Zm120 0v-560h80v560h-80Zm120 0v-560h120v560H520Zm160 0v-560h40v560h-40Zm120 0v-560h120v560H800Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="barcode_scanner"><path d="M40-120v-182h60v122h122v60H40Zm697 0v-60h122v-122h60v182H737ZM153-231v-499h80v499h-80Zm121 0v-499h42v499h-42Zm122 0v-499h83v499h-83Zm125 0v-499h121v499H521Zm163 0v-499h42v499h-42Zm83 0v-499h38v499h-38ZM40-658v-182h182v60H100v122H40Zm819 0v-122H737v-60h182v182h-60Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="cached"><path d="M481-158q-131 0-225.5-94.5T161-478v-45l-80 80-39-39 149-149 149 149-39 39-80-80v45q0 107 76.5 183.5T481-218q29 0 55-5t49-15l43 43q-36 20-72.5 28.5T481-158Zm289-169L621-476l40-40 79 79v-41q0-107-76.5-183.5T480-738q-29 0-55 5.5T376-719l-43-43q36-20 72.5-28t74.5-8q131 0 225.5 94.5T800-478v43l80-80 39 39-149 149Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="calculate"><path d="M314-228h50v-88h88v-50h-88v-88h-50v88h-88v50h88v88Zm215-35h201v-49H529v49Zm0-107h201v-50H529v50Zm37-163 61-61 61 61 36-36-61-61 61-61-36-36-61 61-61-61-36 36 61 61-61 61 36 36Zm-325-72h196v-50H241v50Zm-61 485q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18H180Zm0-60h600v-600H180v600Zm0-600v600-600Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="calendar_today"><path d="M180-80q-24 0-42-18t-18-42v-620q0-24 18-42t42-18h65v-60h65v60h340v-60h65v60h65q24 0 42 18t18 42v620q0 24-18 42t-42 18H180Zm0-60h600v-430H180v430Zm0-490h600v-130H180v130Zm0 0v-130 130Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="cancel"><path d="m330-288 150-150 150 150 42-42-150-150 150-150-42-42-150 150-150-150-42 42 150 150-150 150 42 42ZM480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="captive_portal"><path d="M838-79 710-207v103h-60v-206h206v60H752l128 128-42 43Zm-358-1q-83 0-156-31.5T197-197q-54-54-85.5-126.36T80-478q0-83.49 31.5-156.93Q143-708.36 197-762.68 251-817 324-848.5 397-880 480-880t156 31.5q73 31.5 127 85.82 54 54.32 85.5 127.75Q880-561.49 880-478q0 23-2 44.5t-7 43.5h-63q6-21.67 9-43.33 3-21.67 3-44.47 0-22.8-2.95-45.6-2.94-22.8-8.83-45.6H648q2 23 4 45.5t2 45q0 22.5-1.25 44.5T649-390h-61q3-22 4.5-44t1.5-44q0-22.75-1.5-45.5T588-569H373.42q-3.42 23-4.92 45.5t-1.5 45q0 22.5 1.5 44.5t4.5 44h197v60H384q14 53 34 104t62 86q23 0 45-2.5t45-7.5v60q-23 5-45 7.5T480-80ZM151.78-390H312q-2.5-22-3.75-44T307-478q0-22.75 1-45.5t3-45.5H151.71q-5.85 22.8-8.78 45.6-2.93 22.8-2.93 45.6t2.95 44.47q2.94 21.66 8.83 43.33ZM172-629h149.59q11.41-48 28.91-93.5T395-810q-71 24-129.5 69.5T172-629Zm222 478q-26-41-43.5-86T323-330H172q33 67 91 114t131 65Zm-10-478h193q-13-54-36-104t-61-89q-38 40-61 89.5T384-629Zm255.34 0H788q-35-66-93-112t-129-68q27 41 44.5 86.5t28.84 93.5Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="change_circle"><path d="m482-200 114-113-114-113-42 42 43 43q-28 1-54.5-9T381-381q-20-20-30.5-46T340-479q0-17 4.5-34t12.5-33l-44-44q-17 25-25 53t-8 57q0 38 15 75t44 66q29 29 65 43.5t74 15.5l-38 38 42 42Zm165-170q17-25 25-53t8-57q0-38-14.5-75.5T622-622q-29-29-65.5-43T482-679l38-39-42-42-114 113 114 113 42-42-44-44q27 0 55 10.5t48 30.5q20 20 30.5 46t10.5 52q0 17-4.5 34T603-414l44 44ZM480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="check"><path d="M378-246 154-470l43-43 181 181 384-384 43 43-427 427Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="check_circle"><path d="m421-298 283-283-46-45-237 237-120-120-45 45 165 166Zm59 218q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="check_small"><path d="M400-318 247-471l42-42 111 111 271-271 42 42-313 313Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="checkbook"><path d="M237-363h335l60-60H237v60Zm0-178h231v-60H237v60Zm-97-159v439h330l-61 61H80v-560h800v149h-60v-89H140Zm775 220q5 5 5 12.5t-5 12.5l-37 37-50-50 39-39q5-5 10.5-5t10.5 5l27 27ZM530-120v-50l272-272 50 50-272 272h-50ZM140-700v439-439Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="checklist"><path d="M222-214 80-356l42-42 100 99 179-179 42 43-221 221Zm0-320L80-676l42-42 100 99 179-179 42 43-221 221Zm298 244v-60h360v60H520Zm0-320v-60h360v60H520Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="chevron_left"><path d="M561-240 320-481l241-241 43 43-198 198 198 198-43 43Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="chevron_right"><path d="M530-481 332-679l43-43 241 241-241 241-43-43 198-198Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="close"><path d="m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="content_copy"><path d="M300-200q-24 0-42-18t-18-42v-560q0-24 18-42t42-18h440q24 0 42 18t18 42v560q0 24-18 42t-42 18H300Zm0-60h440v-560H300v560ZM180-80q-24 0-42-18t-18-42v-620h60v620h500v60H180Zm120-180v-560 560Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="copy_all"><path d="M120-240v-60h60v60h-60Zm0-160v-60h60v60h-60Zm0-160v-60h60v60h-60ZM280-80v-60h60v60h-60Zm60-160q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h400q24 0 42 18t18 42v520q0 24-18 42t-42 18H340Zm0-60h400v-520H340v520ZM440-80v-60h60v60h-60Zm-260 0q-24.75 0-42.37-17.63Q120-115.25 120-140h60v60Zm420 0v-60h60q0 25-17.62 42.5Q624.75-80 600-80ZM120-720q0-24.75 17.63-42.38Q155.25-780 180-780v60h-60Zm420 160Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="credit_card_off"><path d="m865-181-45-45v-276H544L415-631h405v-109H306l-60-60h574q24 0 42 18t18 42v520.16q0 10.84-4 20.84t-11 18ZM401-474Zm162-9Zm-191-19H140v282h514L372-502ZM813-61l-99-99H140q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h20l60 60h-80v109h103L26-848l43-43 787 787-43 43Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="dark_mode"><path d="M480-120q-150 0-255-105T120-480q0-150 105-255t255-105q8 0 17 .5t23 1.5q-36 32-56 79t-20 99q0 90 63 153t153 63q52 0 99-18.5t79-51.5q1 12 1.5 19.5t.5 14.5q0 150-105 255T480-120Zm0-60q109 0 190-67.5T771-406q-25 11-53.67 16.5Q688.67-384 660-384q-114.69 0-195.34-80.66Q384-545.31 384-660q0-24 5-51.5t18-62.5q-98 27-162.5 109.5T180-480q0 125 87.5 212.5T480-180Zm-4-297Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="delete"><path d="M261-120q-24.75 0-42.37-17.63Q201-155.25 201-180v-570h-41v-60h188v-30h264v30h188v60h-41v570q0 24-18 42t-42 18H261Zm438-630H261v570h438v-570ZM367-266h60v-399h-60v399Zm166 0h60v-399h-60v399ZM261-750v570-570Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="description"><path d="M319-250h322v-60H319v60Zm0-170h322v-60H319v60ZM220-80q-24 0-42-18t-18-42v-680q0-24 18-42t42-18h361l219 219v521q0 24-18 42t-42 18H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186 680-680Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="do_not_disturb_on"><path d="M280-453h400v-60H280v60ZM480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="download"><path d="M480-313 287-506l43-43 120 120v-371h60v371l120-120 43 43-193 193ZM220-160q-24 0-42-18t-18-42v-143h60v143h520v-143h60v143q0 24-18 42t-42 18H220Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="draft"><path d="M220-80q-24 0-42-18t-18-42v-680q0-24 18-42t42-18h361l219 219v521q0 24-18 42t-42 18H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186 680-680Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="drag_indicator"><path d="M349.91-160q-28.91 0-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5 49.5-20.5t49.41 20.59q20.5 20.59 20.5 49.5t-20.59 49.41q-20.59 20.5-49.5 20.5Zm260 0q-28.91 0-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5 49.5-20.5t49.41 20.59q20.5 20.59 20.5 49.5t-20.59 49.41q-20.59 20.5-49.5 20.5Zm-260-250q-28.91 0-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5 49.5-20.5t49.41 20.59q20.5 20.59 20.5 49.5t-20.59 49.41q-20.59 20.5-49.5 20.5Zm260 0q-28.91 0-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5 49.5-20.5t49.41 20.59q20.5 20.59 20.5 49.5t-20.59 49.41q-20.59 20.5-49.5 20.5Zm-260-250q-28.91 0-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5 49.5-20.5t49.41 20.59q20.5 20.59 20.5 49.5t-20.59 49.41q-20.59 20.5-49.5 20.5Zm260 0q-28.91 0-49.41-20.59-20.5-20.59-20.5-49.5t20.59-49.41q20.59-20.5 49.5-20.5t49.41 20.59q20.5 20.59 20.5 49.5t-20.59 49.41q-20.59 20.5-49.5 20.5Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="east"><path d="m600-200-42-42 208-208H80v-60h686L558-718l42-42 280 280-280 280Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="edit"><path d="M180-180h44l472-471-44-44-472 471v44Zm-60 60v-128l575-574q8-8 19-12.5t23-4.5q11 0 22 4.5t20 12.5l44 44q9 9 13 20t4 22q0 11-4.5 22.5T823-694L248-120H120Zm659-617-41-41 41 41Zm-105 64-22-22 44 44-22-22Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="edit_square"><path d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h405l-60 60H180v600h600v-348l60-60v408q0 24-18 42t-42 18H180Zm300-360ZM360-360v-170l382-382q9-9 20-13t22-4q11 0 22.32 4.5Q817.63-920 827-911l83 84q8.61 8.96 13.3 19.78 4.7 10.83 4.7 22.02 0 11.2-4.5 22.7T910-742L530-360H360Zm508-425-84-84 84 84ZM420-420h85l253-253-43-42-43-42-252 251v86Zm295-295-43-42 43 42 43 42-43-42Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="emergency_home"><path d="M480-71q-11 0-21.96-4.43Q447.07-79.87 438-88L88-438q-8.13-9.07-12.57-20.04Q71-469 71-480t4.43-22.34Q79.87-513.68 88-522l350-350q9.07-8.87 20.04-12.93Q469-889 480-889t22.34 4.07Q513.68-880.87 522-872l350 350q8.87 8.32 12.93 19.66Q889-491 889-480t-4.07 21.96Q880.87-447.07 872-438L522-88q-8.32 8.13-19.66 12.57Q491-71 480-71Zm0-60 349-349-349-349-349 349 349 349Zm-30-309h60v-240h-60v240Zm30 110q12 0 21-9t9-21q0-12-9-21t-21-9q-12 0-21 9t-9 21q0 12 9 21t21 9Zm0-150Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="error"><path d="M479.98-280q14.02 0 23.52-9.48t9.5-23.5q0-14.02-9.48-23.52t-23.5-9.5q-14.02 0-23.52 9.48t-9.5 23.5q0 14.02 9.48 23.52t23.5 9.5ZM453-433h60v-253h-60v253Zm27.27 353q-82.74 0-155.5-31.5Q252-143 197.5-197.5t-86-127.34Q80-397.68 80-480.5t31.5-155.66Q143-709 197.5-763t127.34-85.5Q397.68-880 480.5-880t155.66 31.5Q709-817 763-763t85.5 127Q880-563 880-480.27q0 82.74-31.5 155.5Q817-252 763-197.68q-54 54.31-127 86Q563-80 480.27-80Zm.23-60Q622-140 721-239.5t99-241Q820-622 721.19-721T480-820q-141 0-240.5 98.81T140-480q0 141 99.5 240.5t241 99.5Zm-.5-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="expand_all"><path d="M480-80 240-320l44-44 196 196 196-196 44 44L480-80ZM284-596l-44-44 240-240 240 240-44 44-196-196-196 196Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="filter_list"><path d="M400-240v-60h160v60H400ZM240-450v-60h480v60H240ZM120-660v-60h720v60H120Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="filter_list_off"><path d="M813-61 61-813l43-43 752 752-43 43ZM595-450l-60-60h185v60H595ZM385-660l-60-60h515v60H385Zm15 420v-60h160v60H400ZM240-450v-60h184v60H240ZM120-660v-60h94v60h-94Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="first_page"><path d="M240-240v-480h60v480h-60Zm447-3L453-477l234-234 43 43-191 191 191 191-43 43Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="group"><path d="M38-160v-94q0-35 18-63.5t50-42.5q73-32 131.5-46T358-420q62 0 120 14t131 46q32 14 50.5 42.5T678-254v94H38Zm700 0v-94q0-63-32-103.5T622-423q69 8 130 23.5t99 35.5q33 19 52 47t19 63v94H738ZM358-481q-66 0-108-42t-42-108q0-66 42-108t108-42q66 0 108 42t42 108q0 66-42 108t-108 42Zm360-150q0 66-42 108t-108 42q-11 0-24.5-1.5T519-488q24-25 36.5-61.5T568-631q0-45-12.5-79.5T519-774q11-3 24.5-5t24.5-2q66 0 108 42t42 108ZM98-220h520v-34q0-16-9.5-31T585-306q-72-32-121-43t-106-11q-57 0-106.5 11T130-306q-14 6-23 21t-9 31v34Zm260-321q39 0 64.5-25.5T448-631q0-39-25.5-64.5T358-721q-39 0-64.5 25.5T268-631q0 39 25.5 64.5T358-541Zm0 321Zm0-411Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="group_add"><path d="M474-486q26-32 38.5-66t12.5-79q0-45-12.5-79T474-776q76-17 133.5 23T665-631q0 82-57.5 122T474-486Zm216 326v-94q0-51-26-95t-90-74q173 22 236.5 64T874-254v94H690Zm110-289v-100H700v-60h100v-100h60v100h100v60H860v100h-60Zm-485-32q-66 0-108-42t-42-108q0-66 42-108t108-42q66 0 108 42t42 108q0 66-42 108t-108 42ZM0-160v-94q0-35 18.5-63.5T68-360q72-32 128.5-46T315-420q62 0 118 14t128 46q31 14 50 42.5t19 63.5v94H0Zm315-381q39 0 64.5-25.5T405-631q0-39-25.5-64.5T315-721q-39 0-64.5 25.5T225-631q0 39 25.5 64.5T315-541ZM60-220h510v-34q0-16-8-30t-25-22q-69-32-117-43t-105-11q-57 0-104.5 11T92-306q-15 7-23.5 21.5T60-254v34Zm255-411Zm0 411Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="handshake"><path d="M475-140q5 0 11.5-2.5T497-149l337-338q13-13 19.5-29.67Q860-533.33 860-550q0-17-6.5-34T834-614L654-794q-13-13-30-19.5t-34-6.5q-16.67 0-33.33 6.5Q540-807 527-794l-18 18 81 82q13 14 23 32.5t10 40.5q0 38-29.5 67T526-525q-25 0-41.5-7.5t-30.19-21.34L381-627 200-446q-5 5-7 10.53-2 5.52-2 11.84 0 12.63 8.5 21.13 8.5 8.5 21.17 8.5 6.33 0 11.83-3t9.5-7l138-138 42 42-137 137q-5 5-7 11t-2 12q0 12 9 21t21 9q6 0 11.5-2.5t9.5-6.5l138-138 42 42-137 137q-4 4-6.5 10.33-2.5 6.34-2.5 12.67 0 12 9 21t21 9q6 0 11-2t10-7l138-138 42 42-138 138q-5 5-7 11t-2 11q0 14 8 22t22 8Zm.06 60Q442-80 416-104.5t-31-60.62Q351-170 328-193t-28-57q-34-5-56.5-28.5T216-335q-37-5-61-30t-24-60q0-17 6.72-34.05Q144.45-476.1 157-489l224-224 110 110q8 8 17.33 12.5 9.34 4.5 18.67 4.5 13 0 24.5-11.5t11.5-24.65q0-5.85-3.5-13.35T548-651L405-794q-13-13-30-19.5t-34-6.5q-16.67 0-33.33 6.5-16.67 6.5-29.61 19.36L126-642q-14 14-19.5 29.5t-6.5 35q-1 19.5 7.5 38T128-506l-43 43q-20-22-32.5-53T40-579q0-30 11.5-57.5T84-685l151-151q22-22 49.79-32.5 27.8-10.5 57-10.5 29.21 0 56.71 10.5T448-836l18 18 18-18q22-22 49.79-32.5 27.8-10.5 57-10.5 29.21 0 56.71 10.5T697-836l179 179q22 22 33 50.03 11 28.04 11 57 0 28.97-11 56.47T876-444L539-107q-13 13-29.53 20t-34.41 7ZM377-626Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="handyman"><path d="M764-80q-6 0-11-2t-10-7L501-331q-5-5-7-10t-2-11q0-6 2-11t7-10l85-85q5-5 10-7t11-2q6 0 11 2t10 7l242 242q5 5 7 10t2 11q0 6-2 11t-7 10l-85 85q-5 5-10 7t-11 2Zm0-72 43-43-200-200-43 43 200 200ZM195-80q-6 0-11.5-2T173-89l-84-84q-5-5-7-10.5T80-195q0-6 2-11t7-10l225-225h85l38-38-175-175h-57L80-779l99-99 125 125v57l175 175 130-130-67-67 56-56H485l-18-18 128-128 18 18v113l56-56 169 169q15 15 23.5 34.5T870-600q0 20-6.5 38.5T845-528l-85-85-56 56-52-52-211 211v84L216-89q-5 5-10 7t-11 2Zm0-72 200-200v-43h-43L152-195l43 43Zm0 0-43-43 22 21 21 22Zm569 0 43-43-43 43Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="help"><path d="M484-247q16 0 27-11t11-27q0-16-11-27t-27-11q-16 0-27 11t-11 27q0 16 11 27t27 11Zm-35-146h59q0-26 6.5-47.5T555-490q31-26 44-51t13-55q0-53-34.5-85T486-713q-49 0-86.5 24.5T345-621l53 20q11-28 33-43.5t52-15.5q34 0 55 18.5t21 47.5q0 22-13 41.5T508-512q-30 26-44.5 51.5T449-393Zm31 313q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-156t86-127Q252-817 325-848.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 82-31.5 155T763-197.5q-54 54.5-127 86T480-80Zm0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140Zm0-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="home"><path d="M220-180h150v-250h220v250h150v-390L480-765 220-570v390Zm-60 60v-480l320-240 320 240v480H530v-250H430v250H160Zm320-353Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="info"><path d="M453-280h60v-240h-60v240Zm26.98-314q14.02 0 23.52-9.2T513-626q0-14.45-9.48-24.22-9.48-9.78-23.5-9.78t-23.52 9.78Q447-640.45 447-626q0 13.6 9.48 22.8 9.48 9.2 23.5 9.2Zm.29 514q-82.74 0-155.5-31.5Q252-143 197.5-197.5t-86-127.34Q80-397.68 80-480.5t31.5-155.66Q143-709 197.5-763t127.34-85.5Q397.68-880 480.5-880t155.66 31.5Q709-817 763-763t85.5 127Q880-563 880-480.27q0 82.74-31.5 155.5Q817-252 763-197.68q-54 54.31-127 86Q563-80 480.27-80Zm.23-60Q622-140 721-239.5t99-241Q820-622 721.19-721T480-820q-141 0-240.5 98.81T140-480q0 141 99.5 240.5t241 99.5Zm-.5-340Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="inventory_2"><path d="M180-80q-24.75 0-42.37-17.63Q120-115.25 120-140v-483q-17-6-28.5-21.39T80-680v-140q0-24.75 17.63-42.38Q115.25-880 140-880h680q24.75 0 42.38 17.62Q880-844.75 880-820v140q0 20.22-11.5 35.61T840-623v483q0 24.75-17.62 42.37Q804.75-80 780-80H180Zm0-540v480h600v-480H180Zm-40-60h680v-140H140v140Zm220 260h240v-60H360v60Zm120 40Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="key"><path d="M280-412q-28 0-48-20t-20-48q0-28 20-48t48-20q28 0 48 20t20 48q0 28-20 48t-48 20Zm0 172q-100 0-170-70T40-480q0-100 70-170t170-70q72 0 126 34t85 103h356l113 113-167 153-88-64-88 64-75-60h-51q-25 60-78.5 98.5T280-240Zm0-60q58 0 107-38.5t63-98.5h114l54 45 88-63 82 62 85-79-51-51H450q-12-56-60-96.5T280-660q-75 0-127.5 52.5T100-480q0 75 52.5 127.5T280-300Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="keyboard_arrow_down"><path d="M480-344 240-584l43-43 197 197 197-197 43 43-240 240Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="keyboard_arrow_up"><path d="M480-554 283-357l-43-43 240-240 240 240-43 43-197-197Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="lab_profile"><path d="M320-490v-60h320v60H320Zm0-160v-60h320v60H320ZM220-390h320q26.43 0 49.22 12Q612-366 628-346l112 146v-620H220v430Zm0 250h490L581-309q-7.57-9.88-18.28-15.44Q552-330 540-330H220v190Zm520 60H220q-24 0-42-18t-18-42v-680q0-24 18-42t42-18h520q24 0 42 18t18 42v680q0 24-18 42t-42 18Zm-520-60v-680 680Zm0-190v-60 60Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="label"><path d="M140-160q-24.75 0-42.37-17.63Q80-195.25 80-220v-520q0-24.75 17.63-42.38Q115.25-800 140-800h471q14.25 0 27 6.37 12.75 6.38 21 17.63l222 296-221 296q-8.25 11.25-21 17.62-12.75 6.38-27 6.38H140Zm0-60h471l195-260-195-260H140v520Zm236-260Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="last_page"><path d="m272-245-43-43 192-192-192-192 43-43 235 235-235 235Zm388 5v-480h60v480h-60Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="library_add_check"><path d="m490-383 228-228-42-41-185 186-97-97-42 42 138 138ZM260-200q-24 0-42-18t-18-42v-560q0-24 18-42t42-18h560q24 0 42 18t18 42v560q0 24-18 42t-42 18H260Zm0-60h560v-560H260v560ZM140-80q-24 0-42-18t-18-42v-620h60v620h620v60H140Zm120-740v560-560Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="light_mode"><path d="M480-340q58 0 99-41t41-99q0-58-41-99t-99-41q-58 0-99 41t-41 99q0 58 41 99t99 41Zm0 60q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM200-450H40v-60h160v60Zm720 0H760v-60h160v60ZM450-760v-160h60v160h-60Zm0 720v-160h60v160h-60ZM262-658l-100-97 43-44 96 100-39 41Zm494 496-98-100 41-41 99 98-42 43Zm-99-537 98-99 44 42-99 98-43-41ZM162-205l99-98 42 42-98 99-43-43Zm318-275Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="link"><path d="M450-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h170v60H280q-58.33 0-99.17 40.76-40.83 40.77-40.83 99Q140-422 180.83-381q40.84 41 99.17 41h170v60ZM325-450v-60h310v60H325Zm185 170v-60h170q58.33 0 99.17-40.76 40.83-40.77 40.83-99Q820-538 779.17-579q-40.84-41-99.17-41H510v-60h170q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H510Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="local_activity"><path d="m376-318 104-81 104 81-40-128 98-82H522l-42-122-42 122H318l98 82-40 128ZM140-160q-25 0-42.5-17.5T80-220v-132q0-10 5.5-17.5T100-380q31-11 48.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25 17.5-42.5T140-800h680q25 0 42.5 17.5T880-740v132q0 10-5.5 17.5T860-580q-31 11-48.5 40T794-480q0 32 17.5 60.5T860-380q9 3 14.5 10.5T880-352v132q0 25-17.5 42.5T820-160H140Zm0-60h680v-109q-38-26-62-65t-24-86q0-47 24-86t62-65v-109H140v109q39 26 62.5 65t23.5 86q0 47-23.5 86T140-329v109Zm340-260Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="local_activity-fill"><path d="m376-318 104-81 104 81-40-128 98-82H522l-42-122-42 122H318l98 82-40 128ZM140-160q-25 0-42.5-17.5T80-220v-132q0-10 5.5-17.5T100-380q31-11 48.5-39.5T166-480q0-31-17.5-60T100-580q-9-3-14.5-10.5T80-608v-132q0-25 17.5-42.5T140-800h680q25 0 42.5 17.5T880-740v132q0 10-5.5 17.5T860-580q-31 11-48.5 40T794-480q0 32 17.5 60.5T860-380q9 3 14.5 10.5T880-352v132q0 25-17.5 42.5T820-160H140Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="lock"><path d="M220-80q-24.75 0-42.37-17.63Q160-115.25 160-140v-434q0-24.75 17.63-42.38Q195.25-634 220-634h70v-96q0-78.85 55.61-134.42Q401.21-920 480.11-920q78.89 0 134.39 55.58Q670-808.85 670-730v96h70q24.75 0 42.38 17.62Q800-598.75 800-574v434q0 24.75-17.62 42.37Q764.75-80 740-80H220Zm0-60h520v-434H220v434Zm260.17-140q31.83 0 54.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83 0-54.33 24.5t-22.5 55q0 30.5 22.67 52.5t54.5 22ZM350-634h260v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38 37.91-38 92.08v96ZM220-140v-434 434Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="lock_open"><path d="M220-634h390v-96q0-54.17-37.88-92.08-37.88-37.92-92-37.92T388-822.08q-38 37.91-38 92.08h-60q0-79 55.61-134.5 55.6-55.5 134.5-55.5 78.89 0 134.39 55.58Q670-808.85 670-730v96h70q24.75 0 42.38 17.62Q800-598.75 800-574v434q0 24.75-17.62 42.37Q764.75-80 740-80H220q-24.75 0-42.37-17.63Q160-115.25 160-140v-434q0-24.75 17.63-42.38Q195.25-634 220-634Zm0 494h520v-434H220v434Zm260.17-140q31.83 0 54.33-22.03T557-355q0-30-22.67-54.5t-54.5-24.5q-31.83 0-54.33 24.5t-22.5 55q0 30.5 22.67 52.5t54.5 22ZM220-140v-434 434Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="more_horiz"><path d="M207.86-432Q188-432 174-446.14t-14-34Q160-500 174.14-514t34-14Q228-528 242-513.86t14 34Q256-460 241.86-446t-34 14Zm272 0Q460-432 446-446.14t-14-34Q432-500 446.14-514t34-14Q500-528 514-513.86t14 34Q528-460 513.86-446t-34 14Zm272 0Q732-432 718-446.14t-14-34Q704-500 718.14-514t34-14Q772-528 786-513.86t14 34Q800-460 785.86-446t-34 14Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="more_vert"><path d="M479.86-160Q460-160 446-174.14t-14-34Q432-228 446.14-242t34-14Q500-256 514-241.86t14 34Q528-188 513.86-174t-34 14Zm0-272Q460-432 446-446.14t-14-34Q432-500 446.14-514t34-14Q500-528 514-513.86t14 34Q528-460 513.86-446t-34 14Zm0-272Q460-704 446-718.14t-14-34Q432-772 446.14-786t34-14Q500-800 514-785.86t14 34Q528-732 513.86-718t-34 14Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="multiple_stop"><path d="M282-160 120-322l162-162 42 42-90 90h286v60H234l90 90-42 42Zm328-132q-12 0-21-9t-9-21q0-13 9-21.5t21-8.5q13 0 21.5 8.5T640-322q0 12-8.5 21t-21.5 9Zm120 0q-12 0-21-9t-9-21q0-13 9-21.5t21-8.5q13 0 21.5 8.5T760-322q0 12-8.5 21t-21.5 9Zm-52-184-42-42 90-90H440v-60h286l-90-90 42-42 162 162-162 162ZM230-608q-12 0-21-9t-9-21q0-13 9-21.5t21-8.5q13 0 21.5 8.5T260-638q0 12-8.5 21t-21.5 9Zm120 0q-12 0-21-9t-9-21q0-13 9-21.5t21-8.5q13 0 21.5 8.5T380-638q0 12-8.5 21t-21.5 9Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="north"><path d="M450-80v-686L242-558l-42-42 280-280 280 280-42 42-208-208v686h-60Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="north_east"><path d="m202-160-42-42 498-498H364v-60h396v396h-60v-294L202-160Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="notifications_active"><path d="M120-566q0-90 40-165t107-125l36 48q-56 42-89.5 104.5T180-566h-60Zm660 0q0-75-33.5-137.5T657-808l36-48q67 50 107 125t40 165h-60ZM160-200v-60h80v-304q0-84 49.5-150.5T420-798v-22q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v22q81 17 130.5 83.5T720-564v304h80v60H160Zm320-302Zm0 422q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM300-260h360v-304q0-75-52.5-127.5T480-744q-75 0-127.5 52.5T300-564v304Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="open_in_new"><path d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h279v60H180v600h600v-279h60v279q0 24-18 42t-42 18H180Zm202-219-42-43 398-398H519v-60h321v321h-60v-218L382-339Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="person"><path d="M480-481q-66 0-108-42t-42-108q0-66 42-108t108-42q66 0 108 42t42 108q0 66-42 108t-108 42ZM160-160v-94q0-38 19-65t49-41q67-30 128.5-45T480-420q62 0 123 15.5t127.92 44.69q31.3 14.13 50.19 40.97Q800-292 800-254v94H160Zm60-60h520v-34q0-16-9.5-30.5T707-306q-64-31-117-42.5T480-360q-57 0-111 11.5T252-306q-14 7-23 21.5t-9 30.5v34Zm260-321q39 0 64.5-25.5T570-631q0-39-25.5-64.5T480-721q-39 0-64.5 25.5T390-631q0 39 25.5 64.5T480-541Zm0-90Zm0 411Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="person_add"><path d="M730-400v-130H600v-60h130v-130h60v130h130v60H790v130h-60Zm-370-81q-66 0-108-42t-42-108q0-66 42-108t108-42q66 0 108 42t42 108q0 66-42 108t-108 42ZM40-160v-94q0-35 17.5-63.5T108-360q75-33 133.34-46.5t118.5-13.5Q420-420 478-406.5T611-360q33 15 51 43t18 63v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58 0-107.5 10.5T132-306q-15 7-23.5 21.5T100-254v34Zm260-321q39 0 64.5-25.5T450-631q0-39-25.5-64.5T360-721q-39 0-64.5 25.5T270-631q0 39 25.5 64.5T360-541Zm0-90Zm0 411Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="person_pin"><path d="M480-40 359-161H180q-24 0-42-18t-18-42v-600q0-24.75 18-42.38Q156-881 180-881h600q24 0 42 17.62 18 17.63 18 42.38v600q0 24-18 42t-42 18H601L480-40ZM180-258q60-56 135.9-90.5 75.89-34.5 164-34.5 88.1 0 164.1 34.5T780-258v-563H180v563Zm302-204q58 0 98-40t40-98q0-58-40-98t-98-40q-58 0-98 40t-40 98q0 58 40 98t98 40ZM235-221h490v-9q-54-46-116-69.5T480-323q-67 0-129 23.5T235-230v9Zm247-301q-32.5 0-55.25-22.75T404-600q0-32.5 22.75-55.25T482-678q32.5 0 55.25 22.75T560-600q0 32.5-22.75 55.25T482-522Zm-2-18Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="person_remove"><path d="M648-542v-60h232v60H648Zm-288 61q-66 0-108-42t-42-108q0-66 42-108t108-42q66 0 108 42t42 108q0 66-42 108t-108 42ZM40-160v-94q0-35 17.5-63.5T108-360q75-33 133.34-46.5t118.5-13.5Q420-420 478-406.5T611-360q33 15 51 43t18 63v94H40Zm60-60h520v-34q0-16-9-30.5T587-306q-71-33-120-43.5T360-360q-58 0-107.5 10.5T132-306q-15 7-23.5 21.5T100-254v34Zm260-321q39 0 64.5-25.5T450-631q0-39-25.5-64.5T360-721q-39 0-64.5 25.5T270-631q0 39 25.5 64.5T360-541Zm0-90Zm0 411Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="question_mark"><path d="M431-330q1-72 16.5-105t58.5-72q42-38 64.5-70.5T593-647q0-45-30-75t-84-30q-52 0-80 29.5T358-661l-84-37q22-59 74.5-100.5T479-840q100 0 154 55.5T687-651q0 48-20.5 87T601-482q-49 47-59 72t-11 80H431Zm48 250q-29 0-49.5-20.5T409-150q0-29 20.5-49.5T479-220q29 0 49.5 20.5T549-150q0 29-20.5 49.5T479-80Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="receipt_long"><path d="M222-80q-43.75 0-74.37-30.63Q117-141.25 117-185v-125h127v-570l59.8 60 59.8-60 59.8 60 59.8-60 59.8 60 60-60 60 60 60-60 60 60 60-60v695q0 43.75-30.62 74.37Q781.75-80 738-80H222Zm516-60q20 0 32.5-12.5T783-185v-595H304v470h389v125q0 20 12.5 32.5T738-140ZM357-622v-60h240v60H357Zm0 134v-60h240v60H357Zm333-134q-12 0-21-9t-9-21q0-12 9-21t21-9q12 0 21 9t9 21q0 12-9 21t-21 9Zm0 129q-12 0-21-9t-9-21q0-12 9-21t21-9q12 0 21 9t9 21q0 12-9 21t-21 9ZM221-140h412v-110H177v65q0 20 12.65 32.5T221-140Zm-44 0v-110 110Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="refresh"><path d="M480-160q-133 0-226.5-93.5T160-480q0-133 93.5-226.5T480-800q85 0 149 34.5T740-671v-129h60v254H546v-60h168q-38-60-97-97t-137-37q-109 0-184.5 75.5T220-480q0 109 75.5 184.5T480-220q83 0 152-47.5T728-393h62q-29 105-115 169t-195 64Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="remove"><path d="M200-450v-60h560v60H200Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="remove_shopping_cart"><path d="M381-656v-60h227v60H381ZM289.79-80Q260-80 239-101.21t-21-51Q218-182 239.21-203t51-21Q320-224 341-202.79t21 51Q362-122 340.79-101t-51 21Zm404 0Q664-80 643-101.21t-21-51Q622-182 643.21-203t51-21Q724-224 745-202.79t21 51Q766-122 744.79-101t-51 21ZM62-820v-60h116l170 364h287.71L796-796h67L701-493q-11 19-28.56 30.5T634-451H331l-56 104h491v60H284q-37.66 0-57.33-30T224-378l64-118-148-324H62Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="replay"><path d="M480-80q-75 0-140.5-28T225-185q-49-49-77-114.5T120-440h60q0 125 87.5 212.5T480-140q125 0 212.5-87.5T780-440q0-125-85-212.5T485-740h-23l73 73-41 42-147-147 147-147 41 41-78 78h23q75 0 140.5 28T735-695q49 49 77 114.5T840-440q0 75-28 140.5T735-185q-49 49-114.5 77T480-80Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="right_panel_open"><path d="M433-344v-272L297-480l136 136ZM180-120q-24.75 0-42.37-17.63Q120-155.25 120-180v-600q0-24.75 17.63-42.38Q155.25-840 180-840h600q24.75 0 42.38 17.62Q840-804.75 840-780v600q0 24.75-17.62 42.37Q804.75-120 780-120H180Zm453-60h147v-600H633v600Zm-60 0v-600H180v600h393Zm60 0h147-147Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="search"><path d="M796-121 533-384q-30 26-69.96 40.5Q423.08-329 378-329q-108.16 0-183.08-75Q120-479 120-585t75-181q75-75 181.5-75t181 75Q632-691 632-584.85 632-542 618-502q-14 40-42 75l264 262-44 44ZM377-389q81.25 0 138.13-57.5Q572-504 572-585t-56.87-138.5Q458.25-781 377-781q-82.08 0-139.54 57.5Q180-666 180-585t57.46 138.5Q294.92-389 377-389Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="search_insights"><path d="M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820q-107.94 0-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300ZM371-448v-267h60v267h-60Zm-145 0v-184h60v184h-60Zm290 0v-143h60v143h-60ZM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233-42 43Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="sell"><path d="M863-404 557-97q-9 8.5-20.25 12.75T514.25-80Q503-80 492-84.5T472-97L98-472q-8-8-13-18.96-5-10.95-5-23.04v-306q0-24.75 17.63-42.38Q115.25-880 140-880h307q12.07 0 23.39 4.87Q481.7-870.25 490-862l373 373q9.39 9 13.7 20.25 4.3 11.25 4.3 22.5t-4.5 22.75Q872-412 863-404ZM516-138l306-307-375-375H140v304l376 378ZM245-664q21 0 36.5-15.5T297-716q0-21-15.5-36.5T245-768q-21 0-36.5 15.5T193-716q0 21 15.5 36.5T245-664Zm236 185Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="send"><path d="M120-160v-640l760 320-760 320Zm60-93 544-227-544-230v168l242 62-242 60v167Zm0 0v-457 457Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="settings"><path d="m388-80-20-126q-19-7-40-19t-37-25l-118 54-93-164 108-79q-2-9-2.5-20.5T185-480q0-9 .5-20.5T188-521L80-600l93-164 118 54q16-13 37-25t40-18l20-127h184l20 126q19 7 40.5 18.5T669-710l118-54 93 164-108 77q2 10 2.5 21.5t.5 21.5q0 10-.5 21t-2.5 21l108 78-93 164-118-54q-16 13-36.5 25.5T592-206L572-80H388Zm48-60h88l14-112q33-8 62.5-25t53.5-41l106 46 40-72-94-69q4-17 6.5-33.5T715-480q0-17-2-33.5t-7-33.5l94-69-40-72-106 46q-23-26-52-43.5T538-708l-14-112h-88l-14 112q-34 7-63.5 24T306-642l-106-46-40 72 94 69q-4 17-6.5 33.5T245-480q0 17 2.5 33.5T254-413l-94 69 40 72 106-46q24 24 53.5 41t62.5 25l14 112Zm44-210q54 0 92-38t38-92q0-54-38-92t-92-38q-54 0-92 38t-38 92q0 54 38 92t92 38Zm0-130Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="shopping_cart"><path d="M286.79-81Q257-81 236-102.21t-21-51Q215-183 236.21-204t51-21Q317-225 338-203.79t21 51Q359-123 337.79-102t-51 21Zm400 0Q657-81 636-102.21t-21-51Q615-183 636.21-204t51-21Q717-225 738-203.79t21 51Q759-123 737.79-102t-51 21ZM235-741l110 228h288l125-228H235Zm-30-60h589.07q22.97 0 34.95 21 11.98 21-.02 42L694-495q-11 19-28.56 30.5T627-453H324l-56 104h491v60H277q-42 0-60.5-28t.5-63l64-118-152-322H51v-60h117l37 79Zm140 288h288-288Z"/></symbol><symbol fill="currentColor" viewBox="0 0 15 13" id="signature"><path d="M8.05 6.483c.811-.6 1.444-1.258 1.9-1.975.456-.716.683-1.43.683-2.141 0-.356-.058-.617-.175-.784a.55.55 0 0 0-.475-.25c-.522 0-.983.442-1.383 1.325-.4.884-.6 1.88-.6 2.992 0 .156.003.303.008.442.006.139.02.27.042.391ZM.667 12.667v-1.334H2v1.334H.667Zm2.666 0v-1.334h1.334v1.334H3.333Zm2.667 0v-1.334h1.333v1.334H6Zm2.667 0v-1.334H10v1.334H8.667Zm2.666 0v-1.334h1.334v1.334h-1.334ZM.933 10 0 9.067 1.067 8 0 6.933.933 6 2 7.067 3.067 6 4 6.933 2.933 8 4 9.067 3.067 10 2 8.933.933 10Zm8.034-.667c-.334 0-.64-.064-.917-.191a1.777 1.777 0 0 1-.717-.625 8.15 8.15 0 0 1-.858.416c-.294.123-.597.245-.908.367L5.1 8.05a11.923 11.923 0 0 0 1.717-.767 6.366 6.366 0 0 1-.125-.8 9.779 9.779 0 0 1-.042-.933c0-1.6.317-2.925.95-3.975C8.233.525 9.028 0 9.983 0c.578 0 1.05.214 1.417.642.367.427.55 1.025.55 1.791 0 .956-.303 1.9-.908 2.834-.606.933-1.448 1.772-2.525 2.516a.859.859 0 0 0 .241.175c.084.04.17.059.259.059.289 0 .625-.184 1.008-.55.383-.367.73-.85 1.042-1.45l1.216.566a3.183 3.183 0 0 0-.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 .967-.378.244-.728.366-1.05.366-.234 0-.442-.07-.625-.208-.184-.139-.336-.353-.459-.642a3.725 3.725 0 0 1-.95.634 2.346 2.346 0 0 1-.966.216Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="skip_next"><path d="M680-240v-480h60v480h-60Zm-460 0v-480l346 240-346 240Zm60-240Zm0 125 181-125-181-125v250Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="south"><path d="M480-80 200-360l42-42 208 208v-686h60v686l208-208 42 42L480-80Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="south_east"><path d="M364-200v-60h294L160-758l42-42 498 498v-294h60v396H364Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="speed"><path d="M407-325q23 23 66.5 21.5T537-336l216-339-335 219q-30 20-32 64t21 67Zm71-474q57 0 119 18.5T716-717l-52 37q-45-30-96.5-44.5T477.98-739q-140.47 0-239.23 100.22Q140-538.57 140-396.02 140-351 152.5-305q12.5 46 35.5 85h579q22-36 35-84t13-94q0-42-12.5-90.5T758-578l39-52q38 56 57 112.5T875-404q2 60-12 113t-41 98q-12 23-25.5 28t-33.5 5H192q-17 0-33.5-8.5T134-193q-26-48-40-97.5T80-396q0-83 31.5-156.5t85.5-128Q251-735 323.68-767T478-799Zm-9 331Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="stacked_email"><path d="M220-240q-24 0-42-18.5T160-300v-480q0-24 18-42t42-18h640q24 0 42 18t18 42v480q0 23-18 41.5T860-240H220Zm320-200L220-706v406h640v-406L540-440Zm0-79 315-261H225l315 261ZM100-120q-24 0-42-18.5T40-180v-559h60v559h720v60H100Zm760-586v-74H220v74-74h640v74Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="style"><path d="m152-145-23-7q-32-14-43.5-48t6.5-67l60-136v258Zm186 78q-34 0-58-24t-24-58v-207l92 262q2 8 6 14t10 13h-26Zm188-24q-21 9-44-4t-33-36L258-650q-10-23 2-45t37-32l318-115q23-8 45 4t32 36l191 513q7 25-3 49t-35 33L526-91Zm-82-495q12 0 21-9t9-21q0-12-9-21t-21-9q-12 0-21 9t-9 21q0 12 9 21t21 9Zm63 437 318-116-191-519-318 115 191 520ZM316-669l318-115-318 115Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="terminal"><path d="M140-160q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm0-60h680v-436H140v436Zm160-72-42-42 103-104-104-104 43-42 146 146-146 146Zm190 4v-60h220v60H490Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="title"><path d="M430-160v-540H200v-100h560v100H530v540H430Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="toggle_on"><path d="M280-240q-100 0-170-70T40-480q0-100 70-170t170-70h400q100 0 170 70t70 170q0 100-70 170t-170 70H280Zm0-60h400q75 0 127.5-52.5T860-480q0-75-52.5-127.5T680-660H280q-75 0-127.5 52.5T100-480q0 75 52.5 127.5T280-300Zm400.94-79q42.06 0 71.56-29.44t29.5-71.5q0-42.06-29.44-71.56t-71.5-29.5q-42.06 0-71.56 29.44t-29.5 71.5q0 42.06 29.44 71.56t71.5 29.5ZM480-480Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="undo"><path d="M259-200v-60h310q70 0 120.5-46.5T740-422q0-69-50.5-115.5T569-584H274l114 114-42 42-186-186 186-186 42 42-114 114h294q95 0 163.5 64T800-422q0 94-68.5 158T568-200H259Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="unfold_less"><path d="m343-160-43-43 180-180 180 180-43 43-137-137-137 137Zm137-417L300-757l43-43 137 137 137-137 43 43-180 180Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="unfold_more"><path d="M480-120 300-300l44-44 136 136 136-136 44 44-180 180ZM344-612l-44-44 180-180 180 180-44 44-136-136-136 136Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="upload_file"><path d="M452-202h60v-201l82 82 42-42-156-152-154 154 42 42 84-84v201ZM220-80q-24 0-42-18t-18-42v-680q0-24 18-42t42-18h361l219 219v521q0 24-18 42t-42 18H220Zm331-554v-186H220v680h520v-494H551ZM220-820v186-186 680-680Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="view_week"><path d="M140-220h187v-520H140v520Zm247 0h186v-520H387v520Zm246 0h187v-520H633v520Zm-493 60q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="visibility"><path d="M480.12-330q70.88 0 120.38-49.62t49.5-120.5q0-70.88-49.62-120.38T479.88-670Q409-670 359.5-620.38T310-499.88q0 70.88 49.62 120.38t120.5 49.5Zm-.36-58q-46.76 0-79.26-32.74-32.5-32.73-32.5-79.5 0-46.76 32.74-79.26 32.73-32.5 79.5-32.5 46.76 0 79.26 32.74 32.5 32.73 32.5 79.5 0 46.76-32.74 79.26-32.73 32.5-79.5 32.5Zm.24 188q-146 0-264-83T40-500q58-134 176-217t264-83q146 0 264 83t176 217q-58 134-176 217t-264 83Zm0-300Zm-.17 240Q601-260 702.5-325.5 804-391 857-500q-53-109-154.33-174.5Q601.34-740 480.17-740T257.5-674.5Q156-609 102-500q54 109 155.33 174.5Q358.66-260 479.83-260Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="warning"><path d="m40-120 440-760 440 760H40Zm104-60h672L480-760 144-180Zm340.18-57q12.82 0 21.32-8.68 8.5-8.67 8.5-21.5 0-12.82-8.68-21.32-8.67-8.5-21.5-8.5-12.82 0-21.32 8.68-8.5 8.67-8.5 21.5 0 12.82 8.68 21.32 8.67 8.5 21.5 8.5ZM454-348h60v-224h-60v224Zm26-122Z"/></symbol><symbol viewBox="0 -960 960 960" fill="currentColor" id="west"><path d="M360-200 80-480l280-280 42 42-208 208h686v60H194l208 208-42 42Z"/></symbol></svg>'},Symbol.toStringTag,{value:"Module"}));exports.InvoiceTable=sf,exports.TableBody=dx,exports.TableHead=px,exports.TableHeadRow=fx,exports.TooltipContent=ip,exports._sfc_main=o,exports._sfc_main$1=r,exports._sfc_main$10=Os,exports._sfc_main$11=Ue,exports._sfc_main$12=Oh,exports._sfc_main$13=ch,exports._sfc_main$14=sx,exports._sfc_main$15=tf,exports._sfc_main$16=ib,exports._sfc_main$17=Qe,exports._sfc_main$18=uf,exports._sfc_main$19=df,exports._sfc_main$2=Wm,exports._sfc_main$20=af,exports._sfc_main$21=qm,exports._sfc_main$22=Rm,exports._sfc_main$23=nx,exports._sfc_main$24=De,exports._sfc_main$25=Ke,exports._sfc_main$26=lx,exports._sfc_main$27=Ab,exports._sfc_main$28=nf,exports._sfc_main$29=rf,exports._sfc_main$3=yl,exports._sfc_main$30=ef,exports._sfc_main$31=nd,exports._sfc_main$32=$s,exports._sfc_main$33=Fu,exports._sfc_main$34=by,exports._sfc_main$35=Ou,exports._sfc_main$36=dh,exports._sfc_main$37=cp,exports._sfc_main$38=Hs,exports._sfc_main$39=Hb,exports._sfc_main$4=ci,exports._sfc_main$40=ph,exports._sfc_main$41=hh,exports._sfc_main$42=Zb,exports._sfc_main$43=fb,exports._sfc_main$44=Pg,exports._sfc_main$5=Ei,exports._sfc_main$6=Ub,exports._sfc_main$7=Yb,exports._sfc_main$8=Xb,exports._sfc_main$9=Kb,exports.convertDateRangeToTimePeriod=Es,exports.downloadFile=(e,t)=>{const o=window.URL.createObjectURL(e);Pc(o,t)},exports.formatAmount=Tc,exports.formatBillingPeriod=Vc,exports.formatEnum=Mc,exports.getApiError=function(e){return"field"in e?{[e.field]:e.message}:"message"in e?{_generic:e.message}:void 0},exports.getCountryNameByCode=_s,exports.getCustomerCountry=e=>{var t,o;return ts(e)?null==(t=e.individual.residential_address)?void 0:t.country:es(e)?null==(o=e.organization.registered_address)?void 0:o.country:void 0},exports.getPaginatedFullList=async e=>{let t=!0,o=1,n=[],l={data:[],links:{current:"",next:void 0},page:o,limit:50};for(;t;)l=await e(o),n=[...n,...l.data],t=!!l.links.next,o+=1;return{...l,data:n}},exports.isApiSuccessCollectionResponse=function(e){return"data"in e&&"links"in e},exports.isEUCountry=function(e){return Object.keys(Ms).includes(e)},exports.isIndividual=ts,exports.isOrganization=es,exports.isValidCountryCode=function(e){return!!zc.find(t=>t.key===e)},exports.objectDiff=({from:e,to:t,mode:o="shallow",nullifyEmptyValues:n=!1})=>"deep"===o?(({from:e,to:t,nullifyEmptyValues:o=!1})=>{const n={},l=(e,t,o)=>{const l=ys(t,o);return xs(e)?m(l)?n[o]=[]:D(l)&&(n[o]={}):m(l)?e[o]=[]:D(l)&&(e[o]={}),[xs(e)?n:e,o]},a=(e,t,n)=>{for(const o of mc(e)){const a=l(n,e,o);gs(t,o)||(a[0][a[1]]={from:ys(e,o)})}for(const[r,i]of fs(t)){const t=gs(e,r),c=l(n,e,r);if(t){const t=ys(e,r);_c(t,i)?delete c[0][c[1]]:k(i)&&k(t)?a(t,i,c[0][c[1]]):c[0][c[1]]=o&&!bs(i)?rs(i):i}else c[0][c[1]]=o?rs(i):i}};return a(e,t),n})({from:e,to:t,nullifyEmptyValues:n}):ks({from:e,to:t,nullifyEmptyValues:n}),exports.serializeQueryParams=function(e){const t=function(e){const t=new URLSearchParams;for(const o in e){const n=e[o];null!==n&&(Array.isArray(n)?n.forEach(e=>t.append(`${o}[]`,e)):""!==n&&t.append(o,n))}return t.toString()}(e);return""===t?"":`?${t}`},exports.taxId=Nx,exports.useErrorHandling=ql,exports.useIntl=ri,exports.usePricingItem=Sc,exports.useTimePeriod=Ki,exports.useToggleList=Ti,exports.useValidation=function(e,t,o){return e&&t?Qi(e,t,{$autoDirty:!0,...o}):Qi({$autoDirty:!0,...e})},exports.withExpand=function({initialParams:e={},expandParams:t,expand:o=!0}){return o?{...e,expand:t}:e},exports.withPagination=function(e,{page:t=1,pageSize:o,orderBy:n,orderDirection:l}){const a={...e??{},page:t.toString()};return o&&Object.assign(a,{limit:o}),n&&Object.assign(a,{order_by:n}),l&&Object.assign(a,{order_direction:l}),a};
|