{"version":3,"file":"V1CurrencySelect.B0bubKyH.mjs","names":[],"sources":["https:/framerusercontent.com/modules/FDGyO0qzRiYY8rPfpMIX/78kCsyrysQyH5eHX2e8w/SubscriberPricing.js","https:/framerusercontent.com/modules/49ejQc7BE1wibVleTGMg/oMUY6h94QzS3wlfNSGJs/V1CurrencySelect.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{getFormattedSubscriberMonthlyPrice,getFormattedSubscriberPerShipmentPrice}from\"https://framerusercontent.com/modules/hSSduZ7Ri2tYI9Wj4vza/VT1fT0oUhAY2yUsrSP2T/helpers.js\";import{useStore}from\"https://framerusercontent.com/modules/ynsPCjH2igeZ2nQP7Nxt/W53Glct7pARFne0JAmCD/store.js\";export function PricePerShipmentText(Component){return props=>{const[store]=useStore();console.log(store.items);return /*#__PURE__*/_jsx(Component,{...props,text:getFormattedSubscriberPerShipmentPrice(store.items,store.currency)});};}export function PricePerMonthText(Component){return props=>{const[store]=useStore();return /*#__PURE__*/_jsx(Component,{...props,text:getFormattedSubscriberMonthlyPrice(store.items,store.currency)});};}\nexport const __FramerMetadata__ = {\"exports\":{\"PricePerShipmentText\":{\"type\":\"reactHoc\",\"name\":\"PricePerShipmentText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PricePerMonthText\":{\"type\":\"reactHoc\",\"name\":\"PricePerMonthText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useStore}from\"https://framerusercontent.com/modules/ynsPCjH2igeZ2nQP7Nxt/W53Glct7pARFne0JAmCD/store.js\";function V1CurrencySelect(props){const[store,setStore]=useStore();const handleCurrencyChange=event=>{setStore({currency:event.target.value});};return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",padding:10},children:/*#__PURE__*/_jsxs(\"select\",{value:store.currency||\"ja\",onChange:handleCurrencyChange,style:{width:\"100%\",padding:\"10px\",borderRadius:\"5px\",border:\"0px solid #cccccc\"},children:[/*#__PURE__*/_jsx(\"option\",{value:\"ja\",children:\"JPY \\xa5\"}),/*#__PURE__*/_jsx(\"option\",{value:\"en-US\",children:\"USD $\"}),/*#__PURE__*/_jsx(\"option\",{value:\"fr-Fr\",children:\"EUR €\"}),/*#__PURE__*/_jsx(\"option\",{value:\"en-AU\",children:\"AUD $\"}),/*#__PURE__*/_jsx(\"option\",{value:\"en-SG\",children:\"SGD $\"}),/*#__PURE__*/_jsx(\"option\",{value:\"zh\",children:\"CNY \\xa5\"}),/*#__PURE__*/_jsx(\"option\",{value:\"ko-KR\",children:\"KRW ₩\"})]})});}export default V1CurrencySelect;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"V1CurrencySelect\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./V1CurrencySelect.map"],"mappings":"mLAA4U,SAAgB,EAAqB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,GAAO,GAAU,CAA0B,OAAzB,QAAQ,IAAI,EAAM,MAAM,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,EAAuC,EAAM,MAAM,EAAM,SAAS,CAAC,CAAC,EAAI,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,GAAO,GAAU,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,EAAmC,EAAM,MAAM,EAAM,SAAS,CAAC,CAAC,mBAAjtB,IAAkL,IAA+G,ICApK,SAAS,EAAiB,EAAM,CAAC,GAAK,CAAC,EAAM,GAAU,GAAU,CAA8E,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,GAAG,CAAC,SAAsB,EAAM,SAAS,CAAC,MAAM,EAAM,UAAU,KAAK,SAAnL,GAAO,CAAC,EAAS,CAAC,SAAS,E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