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U,cAAc;YACtB,IAAGA,cAAc,EAAEA,cAAc,CAACW,KAAK,CAAC,CAAC;YAAC,OAAAN,QAAA,CAAAO,MAAA,WAEnCb,yBAAyB,CAAAc,aAAA,CAAAA,aAAA,KAAKvB,kBAAkB;cAAEO,mBAAmB,EAAnBA,mBAAmB;cAAGiB,cAAc,EAAE,QAAQ;cAAEC,SAAS,EAAC;YAAyE,EAAC,CAAC;UAAA;UAAA;YAAA,OAAAV,QAAA,CAAAW,IAAA;QAAA;MAAA;IAAA,GAAA3B,OAAA;EAAA,CAEjM;EAAA,gBAbYL,mBAAmBA,CAAA;IAAA,OAAAC,IAAA,CAAAgC,KAAA,OAAAf,SAAA;EAAA;AAAA,GAa/B","sources":["webpack://smetio/./developement/js/functions/apps/businessLocations/choosePaymentMethod.js"],"sourcesContent":["export const choosePaymentMethod = async (functionParameters = {}) => {\r\n\r\n const { businessLocationName, businessLocationToken, businessName, country, organisationNumber, attachedBusinessToken } = functionParameters;\r\n \r\n const addToSubmissionData = { businessLocationName, businessLocationToken, businessName, country, organisationNumber, attachedBusinessToken };\r\n\r\n const { createNewBusinessLocation } = (await import(/* webpackPrefetch: true */ \"./createNewBusinessLocation.js\"));\r\n\r\n const { smetioSmartbox } = functionParameters;\r\n if(smetioSmartbox) smetioSmartbox.close();\r\n \r\n return createNewBusinessLocation({...functionParameters, addToSubmissionData, urlDestination: \"create\", modelPath:\"loggedInUser/businessLocations/businessLocationChoosePaymentMethodModel\"});\r\n\r\n};\r\n"],"names":["choosePaymentMethod","_ref","_asyncToGenerator","regeneratorRuntime","mark","_callee","functionParameters","businessLocationName","businessLocationToken","businessName","country","organisationNumber","attachedBusinessToken","addToSubmissionData","_yield$import","createNewBusinessLocation","smetioSmartbox","_args","arguments","wrap","_callee$","_context","prev","next","length","undefined","sent","close","abrupt","_objectSpread","urlDestination","modelPath","stop","apply"],"sourceRoot":""}