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AY;YAClDA,kBAAkB,CAAC,OAAO,CAAC,IAAAD,qBAAA,GAAGC,kBAAkB,CAAC,OAAO,CAAC,cAAAD,qBAAA,cAAAA,qBAAA,GAAII,aAAa;YAACS,QAAA,CAAAE,IAAA;YAAA,OAG9DP,aAAa,CAACP,kBAAkB,CAAC;UAAA;YAAA,OAAAY,QAAA,CAAAM,MAAA,WAAAN,QAAA,CAAAK,IAAA;UAAA;UAAA;YAAA,OAAAL,QAAA,CAAAO,IAAA;QAAA;MAAA;IAAA,GAAArB,OAAA;EAAA,CACjD;EAAA,gBAjBYL,2BAA2BA,CAAA;IAAA,OAAAC,IAAA,CAAA0B,KAAA,OAAAX,SAAA;EAAA;AAAA,GAiBvC","sources":["webpack://smetio/./developement/js/functions/apps/treatments/createNewTreatmentsFromFile.js"],"sourcesContent":["export const createNewTreatmentsFromFile = async ( functionParameters = {}) => {\r\n \r\n \r\n let { smartboxStorageName, modelPath, treatmentName } = functionParameters;\r\n\r\n const {REVIVE_TREATMENT_CREATION_SMARTBOX_NAME } = (await import(/* webpackPrefetch: true */ \"@schaniag/private\"));\r\n const { retrieveModel } = (await import(/* webpackPrefetch: true */ \"../general/retrieveModel\"));\r\n\r\n functionParameters[\"smartboxStorageName\"] = smartboxStorageName ?? REVIVE_TREATMENT_CREATION_SMARTBOX_NAME;\r\n // functionParameters[\"modelPath\"] = modelPath ?? \"loggedInUser/treatments/newTreatmentFromFileModel\";\r\n functionParameters[\"modelPath\"] = modelPath ?? \"loggedInUser/treatments/newTreatmentFromFileStep1Model\"; \r\n functionParameters[\"submissionFuncPath\"] = \"apps/treatments/updatePartsOfTreatments\";\r\n functionParameters[\"sideMenuToUse\"] = \"treatments\";\r\n functionParameters[\"title\"] = functionParameters[\"title\"] ?? treatmentName;\r\n\r\n \r\n return await retrieveModel(functionParameters);\r\n};\r\n"],"names":["createNewTreatmentsFromFile","_ref","_asyncToGenerator","regeneratorRuntime","mark","_callee","_functionParameters$t","functionParameters","smartboxStorageName","modelPath","treatmentName","_yield$import","REVIVE_TREATMENT_CREATION_SMARTBOX_NAME","_yield$import2","retrieveModel","_args","arguments","wrap","_callee$","_context","prev","next","length","undefined","sent","abrupt","stop","apply"],"sourceRoot":""}