1 line
224 KiB
JavaScript
1 line
224 KiB
JavaScript
(function(e){function t(t){for(var n,a,s=t[0],c=t[1],u=t[2],p=0,l=[];p<s.length;p++)a=s[p],Object.prototype.hasOwnProperty.call(i,a)&&i[a]&&l.push(i[a][0]),i[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);d&&d(t);while(l.length)l.shift()();return o.push.apply(o,u||[]),r()}function r(){for(var e,t=0;t<o.length;t++){for(var r=o[t],n=!0,s=1;s<r.length;s++){var c=r[s];0!==i[c]&&(n=!1)}n&&(o.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},i={edit_internal_recipe:0},o=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],c=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var d=c;o.push([7,"chunk-vendors"]),r()})({"0825":function(e){e.exports=JSON.parse('{"err_fetching_resource":"Si è verificato un errore nel recupero della risorsa!","err_creating_resource":"Si è verificato un errore durante la creazione di una risorsa!","err_updating_resource":"Si è verificato un errore nell\'aggiornamento della risorsa!","err_deleting_resource":"Si è verificato un errore nella cancellazione della risorsa!","success_fetching_resource":"Risorsa recuperata con successo!","success_creating_resource":"Risorsa creata con successo!","success_updating_resource":"Risorsa aggiornata con successo!","success_deleting_resource":"Risorsa eliminata con successo!","import_running":"Importazione in corso, attendere prego!","all_fields_optional":"Tutti i campi sono opzionali e possono essere lasciati vuoti.","convert_internal":"Converti come ricetta interna","show_only_internal":"Mostra solo ricette interne","show_split_screen":"Mostra vista divisa","Log_Recipe_Cooking":"Aggiungi a ricette cucinate","External_Recipe_Image":"Immagine ricetta esterna","Add_to_Shopping":"Aggiunti a lista della spesa","Add_to_Plan":"Aggiungi a Piano","Step_start_time":"Ora di inizio dello Step","Sort_by_new":"Prima i nuovi","Recipes_per_page":"Ricette per pagina","Manage_Books":"Gestisci Libri","Meal_Plan":"Piano alimentare","Select_Book":"Seleziona Libro","Recipe_Image":"Immagine ricetta","Import_finished":"Importazione completata","View_Recipes":"Mostra ricette","Log_Cooking":"Registro ricette cucinate","New_Recipe":"Nuova Ricetta","Url_Import":"Importa da URL","Reset_Search":"Ripristina Ricerca","Recently_Viewed":"Visualizzati di recente","Load_More":"Carica di più","New_Keyword":"Nuova parola chiave","Delete_Keyword":"Elimina parola chiave","Edit_Keyword":"Modifica parola chiave","Move_Keyword":"Sposta parola chiave","Merge_Keyword":"Unisci parola chiave","Hide_Keywords":"Nascondi parole chiave","Hide_Recipes":"Nascondi Ricette","Keywords":"Parole chiave","Books":"Libri","Proteins":"Proteine","Fats":"Grassi","Carbohydrates":"Carboidrati","Calories":"Calorie","Nutrition":"Nutrienti","Date":"Data","Share":"Condividi","Export":"Esporta","Copy":"Copia","Rating":"Valutazione","Close":"Chiudi","Cancel":"Annulla","Link":"Link","Add":"Aggiungi","New":"Nuovo","Success":"Riuscito","Failure":"Errore","Ingredients":"Ingredienti","Supermarket":"Supermercato","Categories":"Categorie","Category":"Categoria","Selected":"Selezionato","min":"min","Servings":"Porzioni","Waiting":"Attesa","Preparation":"Preparazione","External":"Esterna","Size":"Dimensione","Files":"File","File":"File","Edit":"Modifica","Delete":"Elimina","Open":"Apri","Ok":"Apri","Save":"Salva","Step":"Step","Search":"Cerca","Import":"Importa","Print":"Stampa","Settings":"Impostazioni","or":"o","and":"e","Information":"Informazioni","Download":"Scarica","Create":"Crea","Advanced Search Settings":"Impostazioni avanzate di ricerca","View":"Mostra","Recipes":"Ricette","Move":"Sposta","Merge":"Unisci","Parent":"Primario","delete_confimation":"Sei sicuro di voler eliminare {kw} e tutti gli elementi dipendenti?","move_confirmation":"Sposta {child} al primario {parent}","merge_confirmation":"Sostituisci {source} con {target}","move_selection":"Scegli un primario {type} dove spostare {source}.","merge_selection":"Sostituisci tutte le voci di {source} con il {type} selezionato.","Root":"Radice","Ignore_Shopping":"Ignora lista della spesa","delete_confirmation":"Sei sicuro di voler eliminare {source}?","Description":"Descrizione","Icon":"Icona","Unit":"Unità","No_ID":"ID non trovato, non è possibile eliminare.","Recipe_Book":"Libro di Ricette","create_title":"Nuovo {type}","edit_title":"Modifica {type}","Name":"Nome","Recipe":"Ricetta","delete_title":"Elimina {type}"}')},"08e2":function(e,t,r){"use strict";r.r(t);r("e260"),r("e6cf"),r("cca6"),r("a79d");var n=r("a026"),i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v(e._s(e.$t("Edit_Recipe")))]),e.recipe?e._e():r("loading-spinner",{attrs:{size:25}}),void 0!==e.recipe?r("div",[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Name")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.name,expression:"recipe.name"}],staticClass:"form-control",attrs:{id:"id_name"},domProps:{value:e.recipe.name},on:{input:function(t){t.target.composing||e.$set(e.recipe,"name",t.target.value)}}})])]),r("div",{staticClass:"row pt-2"},[r("div",{staticClass:"col-12"},[r("label",{attrs:{for:"id_description"}},[e._v(" "+e._s(e.$t("Description"))+" ")]),r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.recipe.description,expression:"recipe.description"}],staticClass:"form-control",attrs:{id:"id_description",maxlength:"512"},domProps:{value:e.recipe.description},on:{input:function(t){t.target.composing||e.$set(e.recipe,"description",t.target.value)}}})])]),r("br"),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-6",staticStyle:{"max-height":"50vh"}},[r("input",{ref:"file_upload",attrs:{id:"id_file_upload",type:"file",hidden:""},on:{change:function(t){return e.uploadImage(t.target.files[0])}}}),r("div",{staticClass:"h-100 w-100 border border-primary rounded",staticStyle:{"border-width":"2px!important","border-style":"dashed!important"},on:{drop:function(t){return t.preventDefault(),e.uploadImage(t.dataTransfer.files[0])},dragover:function(e){e.preventDefault()},click:function(t){e.$refs.file_upload.click()}}},[e.recipe.image?e._e():r("i",{staticClass:"far fa-image fa-10x text-primary",staticStyle:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}}),e.recipe.image?r("img",{staticClass:"img img-fluid img-responsive",staticStyle:{"object-fit":"cover",height:"100%"},attrs:{src:e.recipe.image,id:"id_image"}}):e._e()]),e.recipe.image?r("button",{staticClass:"btn btn-danger",staticStyle:{bottom:"10px",left:"30px",position:"absolute"},on:{click:e.deleteImage}},[e._v(e._s(e.$t("Delete"))+" ")]):e._e()]),r("div",{staticClass:"col-md-6"},[r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Preparation"))+" "+e._s(e.$t("Time")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.working_time,expression:"recipe.working_time"}],staticClass:"form-control",attrs:{id:"id_prep_time"},domProps:{value:e.recipe.working_time},on:{input:function(t){t.target.composing||e.$set(e.recipe,"working_time",t.target.value)}}}),r("br"),r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Waiting"))+" "+e._s(e.$t("Time")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.waiting_time,expression:"recipe.waiting_time"}],staticClass:"form-control",attrs:{id:"id_wait_time"},domProps:{value:e.recipe.waiting_time},on:{input:function(t){t.target.composing||e.$set(e.recipe,"waiting_time",t.target.value)}}}),r("br"),r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Servings")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.servings,expression:"recipe.servings"}],staticClass:"form-control",attrs:{id:"id_servings"},domProps:{value:e.recipe.servings},on:{input:function(t){t.target.composing||e.$set(e.recipe,"servings",t.target.value)}}}),r("br"),r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Servings"))+" "+e._s(e.$t("Text")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.servings_text,expression:"recipe.servings_text"}],staticClass:"form-control",attrs:{id:"id_servings_text",maxlength:"32"},domProps:{value:e.recipe.servings_text},on:{input:function(t){t.target.composing||e.$set(e.recipe,"servings_text",t.target.value)}}}),r("br"),r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Keywords")))]),r("multiselect",{attrs:{options:e.keywords,"close-on-select":!1,"clear-on-select":!0,"hide-selected":!0,"preserve-search":!0,placeholder:"Select Keyword","tag-placeholder":"Add Keyword",taggable:!0,label:"label","track-by":"id",id:"id_keywords",multiple:!0,loading:e.keywords_loading},on:{tag:e.addKeyword,"search-change":e.searchKeywords},model:{value:e.recipe.keywords,callback:function(t){e.$set(e.recipe,"keywords",t)},expression:"recipe.keywords"}})],1)]),void 0!==e.recipe?[r("div",{staticClass:"row pt-2"},[r("div",{staticClass:"col-md-12"},[r("div",{staticClass:"card border-grey"},[r("div",{staticClass:"card-header",staticStyle:{display:"table"}},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-9 d-table"},[r("h5",{staticClass:"d-table-cell align-middle"},[e._v(e._s(e.$t("Nutrition")))])]),r("div",{staticClass:"col-md-3"},[null===e.recipe.nutrition?r("button",{directives:[{name:"b-toggle",rawName:"v-b-toggle.id_nutrition_collapse",modifiers:{id_nutrition_collapse:!0}}],staticClass:"btn btn-sm btn-light shadow-none float-right",attrs:{type:"button"},on:{click:function(t){return e.addNutrition()}}},[r("i",{staticClass:"fas fa-plus-circle"})]):e._e(),null!==e.recipe.nutrition?r("button",{directives:[{name:"b-toggle",rawName:"v-b-toggle.id_nutrition_collapse",modifiers:{id_nutrition_collapse:!0}}],staticClass:"btn btn-sm btn-light shadow-none float-right",attrs:{type:"button"},on:{click:function(t){return e.removeNutrition()}}},[r("i",{staticClass:"fas fa-minus-circle"})]):e._e()])])]),r("b-collapse",{staticClass:"mt-2",attrs:{id:"id_nutrition_collapse"}},[e.recipe.nutrition?r("div",{staticClass:"card-body "},[r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Calories")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.nutrition.calories,expression:"recipe.nutrition.calories"}],staticClass:"form-control",attrs:{id:"id_calories"},domProps:{value:e.recipe.nutrition.calories},on:{input:function(t){t.target.composing||e.$set(e.recipe.nutrition,"calories",t.target.value)}}}),r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Carbohydrates")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.nutrition.carbohydrates,expression:"recipe.nutrition.carbohydrates"}],staticClass:"form-control",attrs:{id:"id_carbohydrates"},domProps:{value:e.recipe.nutrition.carbohydrates},on:{input:function(t){t.target.composing||e.$set(e.recipe.nutrition,"carbohydrates",t.target.value)}}}),r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Fats")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.nutrition.fats,expression:"recipe.nutrition.fats"}],staticClass:"form-control",attrs:{id:"id_fats"},domProps:{value:e.recipe.nutrition.fats},on:{input:function(t){t.target.composing||e.$set(e.recipe.nutrition,"fats",t.target.value)}}}),r("label",{attrs:{for:"id_name"}},[e._v(" "+e._s(e.$t("Proteins")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe.nutrition.proteins,expression:"recipe.nutrition.proteins"}],staticClass:"form-control",attrs:{id:"id_proteins"},domProps:{value:e.recipe.nutrition.proteins},on:{input:function(t){t.target.composing||e.$set(e.recipe.nutrition,"proteins",t.target.value)}}})]):e._e()])],1)])])]:e._e(),r("draggable",{attrs:{list:e.recipe.steps,group:"steps","empty-insert-threshold":10,handle:".handle"},on:{sort:function(t){return e.sortSteps()}}},e._l(e.recipe.steps,(function(t,n){return r("div",{key:n,staticClass:"card",staticStyle:{"margin-top":"1vh"}},[r("div",{staticClass:"card-body",attrs:{id:"id_card_step_"+n}},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-11"},[r("h4",{staticClass:"handle",attrs:{id:"id_step_"+n}},["TEXT"===t.type?r("i",{staticClass:"fas fa-paragraph"}):e._e(),"TIME"===t.type?r("i",{staticClass:"fas fa-clock"}):e._e(),""!==t.name?[e._v(e._s(t.name))]:[e._v(e._s(e.$t("Step"))+" "+e._s(n+1))]],2)]),r("div",{staticClass:"col-1",staticStyle:{"text-align":"right"}},[r("a",{staticClass:"btn shadow-none btn-lg",attrs:{href:"#",role:"button",id:"dropdownMenuLink","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[r("i",{staticClass:"fas fa-ellipsis-v text-muted"})]),r("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuLink"}},[r("button",{staticClass:"dropdown-item",on:{click:function(r){return e.removeStep(t)}}},[r("i",{staticClass:"fa fa-trash fa-fw"}),e._v(" "+e._s(e.$t("Delete"))+" ")]),t.show_as_header?e._e():r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(e){t.show_as_header=!0}}},[r("i",{staticClass:"fas fa-eye fa-fw"}),e._v(" "+e._s(e.$t("Show_as_header"))+" ")]),t.show_as_header?r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(e){t.show_as_header=!1}}},[r("i",{staticClass:"fas fa-eye-slash fa-fw"}),e._v(" "+e._s(e.$t("Hide_as_header"))+" ")]):e._e(),n>0?r("button",{staticClass:"dropdown-item",on:{click:function(r){e.moveStep(t,n-1)}}},[r("i",{staticClass:"fa fa-arrow-up fa-fw"}),e._v(" "+e._s(e.$t("Move_Up"))+" ")]):e._e(),n!==e.recipe.steps.length-1?r("button",{staticClass:"dropdown-item",on:{click:function(r){e.moveStep(t,n+1)}}},[r("i",{staticClass:"fa fa-arrow-down fa-fw"}),e._v(" "+e._s(e.$t("Move_Down"))+" ")]):e._e()])])]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-8"},[r("label",{attrs:{for:"id_step_"+t.id+"name"}},[e._v(e._s(e.$t("Step_Name")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"step.name"}],staticClass:"form-control",attrs:{id:"id_step_"+t.id+"name"},domProps:{value:t.name},on:{input:function(r){r.target.composing||e.$set(t,"name",r.target.value)}}})]),r("div",{staticClass:"col-md-4"},[r("label",{attrs:{for:"id_type"}},[e._v(" "+e._s(e.$t("Step_Type")))]),r("select",{directives:[{name:"model",rawName:"v-model",value:t.type,expression:"step.type"}],staticClass:"form-control",attrs:{id:"id_type"},on:{change:function(r){var n=Array.prototype.filter.call(r.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(t,"type",r.target.multiple?n:n[0])}}},[r("option",{attrs:{value:"TEXT"}},[e._v(e._s(e.$t("Text")))]),r("option",{attrs:{value:"TIME"}},[e._v(e._s(e.$t("Time")))]),r("option",{attrs:{value:"FILE"}},[e._v(e._s(e.$t("File")))]),r("option",{attrs:{value:"RECIPE"}},[e._v(e._s(e.$t("Recipe")))])])])]),r("div",{staticClass:"row",staticStyle:{"margin-top":"12px"}},[r("div",{staticClass:"col-md-3"},[r("label",{attrs:{for:"id_step_"+t.id+"_time"}},[e._v(e._s(e.$t("step_time_minutes")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:t.time,expression:"step.time"}],staticClass:"form-control",attrs:{id:"id_step_"+t.id+"_time"},domProps:{value:t.time},on:{input:function(r){r.target.composing||e.$set(t,"time",r.target.value)}}})]),"FILE"===t.type?r("div",{staticClass:"col-md-9"},[r("label",{attrs:{for:"id_step_"+t.id+"_file"}},[e._v(e._s(e.$t("File")))]),r("multiselect",{ref:"file",refInFor:!0,attrs:{options:e.files,"close-on-select":!0,"clear-on-select":!0,"allow-empty":!0,"preserve-search":!0,placeholder:"Select File","select-label":"Select",id:"id_step_"+t.id+"_file",label:"name","track-by":"name",multiple:!1,loading:e.files_loading},on:{"search-change":e.searchFiles},model:{value:t.file,callback:function(r){e.$set(t,"file",r)},expression:"step.file"}})],1):e._e(),"RECIPE"===t.type?r("div",{staticClass:"col-md-9"},[r("label",{attrs:{for:"id_step_"+t.id+"_recipe"}},[e._v(e._s(e.$t("Recipe")))]),r("multiselect",{ref:"step_recipe",refInFor:!0,attrs:{options:e.recipes.map((function(e){return e.id})),"close-on-select":!0,"clear-on-select":!0,"allow-empty":!0,"preserve-search":!0,placeholder:"Select Recipe","select-label":"Select",id:"id_step_"+t.id+"_recipe","custom-label":function(t){return e.recipes.find((function(e){return e.id===t})).name},multiple:!1,loading:e.recipes_loading},on:{"search-change":e.searchRecipes},model:{value:t.step_recipe,callback:function(r){e.$set(t,"step_recipe",r)},expression:"step.step_recipe"}})],1):e._e()]),"TEXT"===t.type?[r("div",{staticClass:"row",staticStyle:{"margin-top":"12px"}},[r("div",{staticClass:"col-md-12"},[r("div",{staticClass:"jumbotron",staticStyle:{padding:"16px"}},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("h4",[e._v(e._s(e.$t("Ingredients")))])])]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12",staticStyle:{"margin-top":"8px"}},[r("draggable",{attrs:{list:t.ingredients,group:"ingredients","empty-insert-threshold":10,handle:".handle"},on:{sort:function(r){return e.sortIngredients(t)}}},e._l(t.ingredients,(function(i,o){return r("div",{key:i.id},[r("hr",{staticClass:"d-md-none"}),r("div",{staticClass:"d-flex"},[r("div",{staticClass:"flex-grow-0 handle align-self-start"},[r("button",{staticClass:"btn btn-lg shadow-none",attrs:{type:"button"}},[r("i",{staticClass:"fas fa-arrows-alt-v "})])]),r("div",{staticClass:"flex-fill row",staticStyle:{"margin-left":"4px","margin-right":"4px"}},[i.is_header?e._e():r("div",{staticClass:"col-lg-2 col-md-6 small-padding"},[i.no_amount?e._e():r("input",{directives:[{name:"model",rawName:"v-model",value:i.amount,expression:"ingredient.amount"}],staticClass:"form-control",attrs:{type:"number",step:"any",id:"amount_"+n+"_"+o},domProps:{value:i.amount},on:{input:function(t){t.target.composing||e.$set(i,"amount",t.target.value)}}})]),i.is_header?e._e():r("div",{staticClass:"col-lg-2 col-md-6 small-padding"},[i.no_amount?e._e():r("multiselect",{ref:"unit",refInFor:!0,attrs:{options:e.units,"close-on-select":!0,"clear-on-select":!0,"allow-empty":!0,"preserve-search":!0,placeholder:"Select Unit","tag-placeholder":"Create","select-label":"Select",taggable:!0,id:"unit_"+n+"_"+o,label:"name","track-by":"name",multiple:!1,loading:e.units_loading},on:{tag:e.addUnitType,"search-change":e.searchUnits},model:{value:i.unit,callback:function(t){e.$set(i,"unit",t)},expression:"ingredient.unit"}})],1),i.is_header?e._e():r("div",{staticClass:"col-lg-4 col-md-6 small-padding"},[r("multiselect",{ref:"food",refInFor:!0,attrs:{options:e.foods,"close-on-select":!0,"clear-on-select":!0,"allow-empty":!0,"preserve-search":!0,placeholder:"Select Food","tag-placeholder":"Create","select-label":"Select",taggable:!0,id:"ingredient_"+n+"_"+o,label:"name","track-by":"name",multiple:!1,loading:e.foods_loading},on:{tag:e.addFoodType,"search-change":e.searchFoods},model:{value:i.food,callback:function(t){e.$set(i,"food",t)},expression:"ingredient.food"}})],1),r("div",{staticClass:"small-padding",class:{"col-lg-4 col-md-6":!i.is_header,"col-lg-12 col-md-12":i.is_header}},[r("input",{directives:[{name:"model",rawName:"v-model",value:i.note,expression:"ingredient.note"}],staticClass:"form-control",attrs:{placeholder:e.$t("Note")},domProps:{value:i.note},on:{input:function(t){t.target.composing||e.$set(i,"note",t.target.value)}}})])]),r("div",{staticClass:"flex-grow-0 small-padding"},[r("a",{staticClass:"btn shadow-none btn-lg",attrs:{href:"#",role:"button",id:"dropdownMenuLink2","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[r("i",{staticClass:"fas fa-ellipsis-v text-muted"})]),r("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuLink2"}},[r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(r){return e.removeIngredient(t,i)}}},[r("i",{staticClass:"fa fa-trash fa-fw"}),e._v(" "+e._s(e.$t("Delete"))+" ")]),i.is_header?e._e():r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(e){i.is_header=!0}}},[r("i",{staticClass:"fas fa-heading fa-fw"}),e._v(" "+e._s(e.$t("Make_header"))+" ")]),i.is_header?r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(e){i.is_header=!1}}},[r("i",{staticClass:"fas fa-leaf fa-fw"}),e._v(" "+e._s(e.$t("Make_Ingredient"))+" ")]):e._e(),i.no_amount?e._e():r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(e){i.no_amount=!0}}},[r("i",{staticClass:"fas fa-balance-scale-right fa-fw"}),e._v(" "+e._s(e.$t("Disable_Amount"))+" ")]),i.no_amount?r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(e){i.no_amount=!1}}},[r("i",{staticClass:"fas fa-balance-scale-right fa-fw"}),e._v(" "+e._s(e.$t("Enable_Amount"))+" ")]):e._e(),r("button",{staticClass:"dropdown-item",attrs:{type:"button"},on:{click:function(t){return e.copyTemplateReference(o,i)}}},[r("i",{staticClass:"fas fa-code"}),e._v(" "+e._s(e.$t("Copy_template_reference"))+" ")])])])])])})),0)],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-2 offset-md-5",staticStyle:{"text-align":"center","margin-top":"8px"}},[r("button",{staticClass:"btn btn-success btn-block",on:{click:function(r){return e.addIngredient(t)}}},[r("i",{staticClass:"fa fa-plus"})])])])])])])]:e._e(),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("label",{attrs:{for:"id_instruction_"+t.id}},[e._v(e._s(e.$t("Instructions")))]),r("v-md-editor",{attrs:{height:"30vh","left-toolbar":"undo redo | h bold italic strikethrough quote | ul ol table hr | link image code","right-toolbar":"preview sync-scroll fullscreen",id:"id_instruction_"+t.id,mode:"edit"},model:{value:t.instruction,callback:function(r){e.$set(t,"instruction",r)},expression:"step.instruction"}})],1)])],2)])})),0),r("div",{staticClass:"row pt-2"},[r("div",{staticClass:"col-md-12 text-center"},[r("button",{staticClass:"btn btn-success shadow-none ",attrs:{type:"button"},on:{click:function(t){return e.addStep()}}},[e._v(e._s(e.$t("Add_Step"))+" ")])])]),r("br"),r("br"),r("br"),void 0!==e.recipe?r("div",{staticClass:"row fixed-bottom p-2 b-2 border-top text-center",staticStyle:{background:"white"}},[r("div",{staticClass:"col-md-3 col-6"},[r("a",{staticClass:"btn btn-block btn-danger shadow-none",attrs:{href:e.resolveDjangoUrl("delete_recipe",e.recipe.id)}},[e._v(e._s(e.$t("Delete")))])]),r("div",{staticClass:"col-md-3 col-6"},[r("a",{attrs:{href:e.resolveDjangoUrl("view_recipe",e.recipe.id)}},[r("button",{staticClass:"btn btn-block btn-primary shadow-none"},[e._v(e._s(e.$t("View")))])])]),r("div",{staticClass:"col-md-3 col-6"},[r("button",{staticClass:"btn btn-sm btn-block btn-info shadow-none",attrs:{type:"button"},on:{click:function(t){return e.updateRecipe(!1)}}},[e._v(e._s(e.$t("Save"))+" ")])]),r("div",{staticClass:"col-md-3 col-6"},[r("button",{staticClass:"btn btn-sm btn-block btn-success shadow-none",attrs:{type:"button"},on:{click:function(t){return e.updateRecipe(!0)}}},[e._v(e._s(e.$t("Save_and_View"))+" ")])])]):e._e()],2):e._e()],1)},o=[],a=r("3835"),s=r("b85c"),c=(r("159b"),r("99af"),r("4de4"),r("a434"),r("ac1f"),r("1276"),r("b0c0"),r("5f5b")),u=(r("2dd8"),r("b76a")),d=r.n(u),p=r("fa7d"),l=r("8e5f"),h=r.n(l),f=r("2b2d"),b=r("d76c"),v=r("ee2d"),m=r.n(v),O=(r("fefe"),r("02c6")),g=r.n(O),j=(r("8966"),r("c197")),y=r.n(j),_=r("3b16"),S=r.n(_);m.a.use(g.a,{Prism:y.a}),m.a.lang.use("en-US",S.a),n["default"].use(m.a),n["default"].use(c["a"]);var w={name:"RecipeSearchView",mixins:[p["d"],p["a"]],components:{Multiselect:h.a,LoadingSpinner:b["a"],draggable:d.a},data:function(){return{recipe_id:window.RECIPE_ID,recipe:void 0,recipe_changed:void 0,keywords:[],keywords_loading:!1,foods:[],foods_loading:!1,units:[],units_loading:!1,files:[],files_loading:!1,recipes:[],recipes_loading:!1,message:""}},computed:{},mounted:function(){this.loadRecipe(),this.searchUnits(""),this.searchFoods(""),this.searchKeywords(""),this.searchFiles(""),this.searchRecipes(""),this.$i18n.locale=window.CUSTOM_LOCALE},created:function(){window.addEventListener("beforeunload",this.warnPageLeave)},beforeUnmount:function(){document.removeEventListener("keydown",this._keyListener)},watch:{recipe:{deep:!0,handler:function(){this.recipe_changed=void 0!==this.recipe_changed}}},methods:{test:function(e){console.log(e)},warnPageLeave:function(e){if(this.recipe_changed)return e.returnValue="",""},loadRecipe:function(){var e=this,t=new f["a"];t.retrieveRecipe(this.recipe_id).then((function(t){e.recipe=t.data,e.loading=!1,e.recipe.steps.forEach((function(t){null!=t.step_recipe&&e.recipes.push(t.step_recipe_data)})),console.log("after step loop")})).catch((function(t){e.loading=!1,console.log(t),p["e"].makeStandardToast(p["e"].FAIL_FETCH)}))},updateRecipe:function(e){var t=this,r=new f["a"];this.sortSteps();var n,i=Object(s["a"])(this.recipe.steps);try{for(i.s();!(n=i.n()).done;){var o=n.value;this.sortIngredients(o)}}catch(a){i.e(a)}finally{i.f()}r.updateRecipe(this.recipe_id,this.recipe,{}).then((function(r){console.log(r),p["e"].makeStandardToast(p["e"].SUCCESS_UPDATE),t.recipe_changed=!1,e&&(location.href=Object(p["k"])("view_recipe",t.recipe_id))})).catch((function(e){console.log(e),p["e"].makeStandardToast(p["e"].FAIL_UPDATE)}))},uploadImage:function(e){var t=this,r=new f["a"];void 0!==e&&r.imageRecipe(this.recipe.id,e).then((function(e){t.recipe.image=e.data.image,p["e"].makeStandardToast(p["e"].SUCCESS_UPDATE)})).catch((function(e){p["e"].makeStandardToast(p["e"].FAIL_UPDATE),console.log(e.request,e.response)}))},deleteImage:function(){var e=this,t=new f["a"];t.imageRecipe(this.recipe.id,void 0).then((function(t){e.recipe.image=null,p["e"].makeStandardToast(p["e"].SUCCESS_DELETE)})).catch((function(e){p["e"].makeStandardToast(p["e"].FAIL_DELETE),console.log(e.request,e.response)}))},addStep:function(){this.recipe.steps.push({instruction:"",ingredients:[],type:"TEXT",show_as_header:!0})},sortSteps:function(){this.recipe.steps.forEach((function(e,t){e.order=t}))},sortIngredients:function(e){e.ingredients.forEach((function(e,t){e.order=t}))},addIngredient:function(e){var t=this;e.ingredients.push({food:null,unit:{name:"{{request.user.userpreference.default_unit}}"},amount:0,note:"",order:0,is_header:!1,no_amount:!1}),this.sortIngredients(e),this.$nextTick((function(){return document.getElementById("amount_".concat(t.recipe.steps.indexOf(e),"_").concat(e.ingredients.length-1)).focus()}))},removeIngredient:function(e,t){confirm(this.$t("confirm_delete",{object:this.$t("Ingredient")}))&&(e.ingredients=e.ingredients.filter((function(e){return e!==t})))},removeStep:function(e){confirm(this.$t("confirm_delete",{object:this.$t("Step")}))&&(this.recipe.steps=this.recipe.steps.filter((function(t){return t!==e})))},moveStep:function(e,t){this.recipe.steps.splice(this.recipe.steps.indexOf(e),1),this.recipe.steps.splice(t<0?0:t,0,e),this.sortSteps()},addFoodType:function(e,t){var r=t.split("_"),n=Object(a["a"])(r,3),i=(n[0],n[1]),o=n[2],s=this.recipe.steps[i].ingredients[o];s.food={name:e},this.foods.push(s.food),this.recipe.steps[i].ingredients[o]=s},addUnitType:function(e,t){var r=t.split("_"),n=Object(a["a"])(r,3),i=(n[0],n[1]),o=n[2],s=this.recipe.steps[i].ingredients[o];s.unit={name:e},this.units.push(s.unit),this.recipe.steps[i].ingredients[o]=s},addKeyword:function(e){var t={label:e,name:e};this.recipe.keywords.push(t)},searchKeywords:function(e){var t=this,r=new f["a"];this.keywords_loading=!0,r.listKeywords(e).then((function(e){t.keywords=e.data.results,t.keywords_loading=!1})).catch((function(e){console.log(e),p["e"].makeStandardToast(p["e"].FAIL_FETCH)}))},searchFiles:function(e){var t=this,r=new f["a"];this.files_loading=!0,r.listUserFiles({query:{query:e}}).then((function(e){t.files=e.data,t.files_loading=!1})).catch((function(e){console.log(e),p["e"].makeStandardToast(p["e"].FAIL_FETCH)}))},searchRecipes:function(e){var t=this;this.recipes_loading=!0,this.genericAPI(this.Models.RECIPE,this.Actions.LIST,{query:e}).then((function(e){t.recipes=e.data.results,t.recipes_loading=!1})).catch((function(e){console.log(e),p["e"].makeStandardToast(p["e"].FAIL_FETCH)}))},searchUnits:function(e){var t=this,r=new f["a"];this.units_loading=!0,r.listUnits(e).then((function(e){if(t.units=e.data.results,void 0!==t.recipe){var r,n=Object(s["a"])(t.recipe.steps);try{for(n.s();!(r=n.n()).done;){var i,o=r.value,a=Object(s["a"])(o.ingredients);try{for(a.s();!(i=a.n()).done;){var c=i.value;null!==c.unit&&void 0===c.unit.id&&t.units.push(c.unit)}}catch(u){a.e(u)}finally{a.f()}}}catch(u){n.e(u)}finally{n.f()}}t.units_loading=!1})).catch((function(e){p["e"].makeStandardToast(p["e"].FAIL_FETCH)}))},searchFoods:function(e){var t=this,r=new f["a"];this.foods_loading=!0,r.listFoods(e).then((function(e){if(t.foods=e.data.results,void 0!==t.recipe){var r,n=Object(s["a"])(t.recipe.steps);try{for(n.s();!(r=n.n()).done;){var i,o=r.value,a=Object(s["a"])(o.ingredients);try{for(a.s();!(i=a.n()).done;){var c=i.value;null!==c.food&&void 0===c.food.id&&t.foods.push(c.food)}}catch(u){a.e(u)}finally{a.f()}}}catch(u){n.e(u)}finally{n.f()}}t.foods_loading=!1})).catch((function(e){p["e"].makeStandardToast(p["e"].FAIL_FETCH)}))},scrollToStep:function(e){document.getElementById("id_step_"+e).scrollIntoView({behavior:"smooth"})},addNutrition:function(){this.recipe.nutrition={}},removeNutrition:function(){this.recipe.nutrition=null},copyTemplateReference:function(e,t){var r=document.createElement("textarea"),n="{{ ingredients[".concat(e,"] }}");null!==t.food&&(n+="{# ".concat(t.food.name," #}")),r.value=n,document.body.appendChild(r),r.select(),document.execCommand("copy"),document.body.removeChild(r)}}},P=w,R=(r("60bc"),r("7885"),r("2877")),U=Object(R["a"])(P,i,o,!1,null,null,null),k=U.exports,C=r("9225");n["default"].config.productionTip=!1,new n["default"]({i18n:C["a"],render:function(e){return e(k)}}).$mount("#app")},2165:function(e){e.exports=JSON.parse('{"err_fetching_resource":"","err_creating_resource":"","err_updating_resource":"","err_deleting_resource":"","success_fetching_resource":"","success_creating_resource":"","success_updating_resource":"","success_deleting_resource":"","import_running":"","all_fields_optional":"","convert_internal":"","show_only_internal":"","Log_Recipe_Cooking":"","External_Recipe_Image":"","Add_to_Shopping":"","Add_to_Plan":"","Step_start_time":"","Sort_by_new":"","Recipes_per_page":"","Manage_Books":"","Meal_Plan":"","Select_Book":"","Recipe_Image":"","Import_finished":"","View_Recipes":"","Log_Cooking":"","New_Recipe":"","Url_Import":"","Reset_Search":"","Recently_Viewed":"","Load_More":"","Keywords":"","Books":"","Proteins":"","Fats":"","Carbohydrates":"","Calories":"","Nutrition":"","Date":"","Share":"","Export":"","Copy":"","Rating":"","Close":"","Link":"","Add":"","New":"","Success":"","Failure":"","Ingredients":"","Supermarket":"","Categories":"","Category":"","Selected":"","min":"","Servings":"","Waiting":"","Preparation":"","External":"","Size":"","Files":"","File":"","Edit":"","Cancel":"","Delete":"","Open":"","Ok":"","Save":"","Step":"","Search":"","Import":"","Print":"","Settings":"","or":"","and":"","Information":"","Download":"","Create":""}')},"2b2d":function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));r("d3b7"),r("3ca3"),r("ddb0"),r("2b3d"),r("ac1f"),r("5319");var n,i,o,a,s,c,u,d=r("9ab4"),p=r("bc3a"),l=r.n(p),h=(r("841c"),r("25f0"),r("b0c0"),"undefined"!==typeof window?localStorage.getItem("BASE_PATH")||"":location.protocol+"//"+location.host),f=function(){function e(e,t,r){void 0===t&&(t=h),void 0===r&&(r=l.a),this.basePath=t,this.axios=r,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}return e}(),b=function(e){function t(t,r){var n=e.call(this,r)||this;return n.field=t,n.name="RequiredError",n}return Object(d["c"])(t,e),t}(Error),v="https://example.com",m=function(e,t,r){if(null===r||void 0===r)throw new b(t,"Required parameter "+t+" was null or undefined when calling "+e+".")},O=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=new URLSearchParams(e.search),i=0,o=t;i<o.length;i++){var a=o[i];for(var s in a)if(Array.isArray(a[s])){n.delete(s);for(var c=0,u=a[s];c<u.length;c++){var d=u[c];n.append(s,d)}}else n.set(s,a[s])}e.search=n.toString()},g=function(e,t,r){var n="string"!==typeof e,i=n&&r&&r.isJsonMime?r.isJsonMime(t.headers["Content-Type"]):n;return i?JSON.stringify(void 0!==e?e:{}):e||""},j=function(e){return e.pathname+e.search+e.hash},y=function(e,t,r,n){return function(i,o){void 0===i&&(i=t),void 0===o&&(o=r);var a=Object(d["a"])(Object(d["a"])({},e.options),{url:((null===n||void 0===n?void 0:n.basePath)||o)+e.url});return i.request(a)}};(function(e){e["Text"]="TEXT",e["Time"]="TIME",e["File"]="FILE",e["Recipe"]="RECIPE"})(n||(n={})),function(e){e["Text"]="TEXT",e["Time"]="TIME",e["File"]="FILE",e["Recipe"]="RECIPE"}(i||(i={})),function(e){e["Db"]="DB",e["Nextcloud"]="NEXTCLOUD",e["Local"]="LOCAL"}(o||(o={})),function(e){e["Tandoor"]="TANDOOR",e["Bootstrap"]="BOOTSTRAP",e["Darkly"]="DARKLY",e["Flatly"]="FLATLY",e["Superhero"]="SUPERHERO"}(a||(a={})),function(e){e["Primary"]="PRIMARY",e["Secondary"]="SECONDARY",e["Success"]="SUCCESS",e["Info"]="INFO",e["Warning"]="WARNING",e["Danger"]="DANGER",e["Light"]="LIGHT",e["Dark"]="DARK"}(s||(s={})),function(e){e["Search"]="SEARCH",e["Plan"]="PLAN",e["Books"]="BOOKS"}(c||(c={})),function(e){e["Small"]="SMALL",e["Large"]="LARGE",e["New"]="NEW"}(u||(u={}));var _=function(e){var t=this;return{createBookmarkletImport:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/bookmarklet-import/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createCookLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/cook-log/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createFood:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/food/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createImportLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/import-log/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createIngredient:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/ingredient/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createKeyword:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/keyword/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createMealPlan:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/meal-plan/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createMealType:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/meal-type/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createRecipe:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/recipe/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createRecipeBook:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/recipe-book/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createRecipeBookEntry:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/recipe-book-entry/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createShoppingList:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/shopping-list/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createShoppingListEntry:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/shopping-list-entry/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createShoppingListRecipe:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/shopping-list-recipe/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createStep:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/step/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createStorage:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/storage/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createSupermarket:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/supermarket/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createSupermarketCategory:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/supermarket-category/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createSupermarketCategoryRelation:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/supermarket-category-relation/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createSync:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/sync/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createUnit:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/unit/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createUserFile:function(r,n,i,o,a){return void 0===a&&(a={}),Object(d["b"])(t,void 0,Promise,(function(){var t,s,c,u,p,l,h,f;return Object(d["d"])(this,(function(b){return m("createUserFile","name",r),t="/api/user-file/",s=new URL(t,v),e&&(c=e.baseOptions),u=Object(d["a"])(Object(d["a"])({method:"POST"},c),a),p={},l={},h=new(e&&e.formDataCtor||FormData),void 0!==r&&h.append("name",r),void 0!==n&&h.append("file",n),void 0!==i&&h.append("file_size_kb",i),void 0!==o&&h.append("id",o),p["Content-Type"]="multipart/form-data",O(s,l,a.query),f=c&&c.headers?c.headers:{},u.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},p),f),a.headers),u.data=h,[2,{url:j(s),options:u}]}))}))},createUserPreference:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/user-preference/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},createViewLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return t="/api/view-log/",i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),a.data=g(r,a,e),[2,{url:j(i),options:a}]}))}))},destroyBookmarkletImport:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyCookLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyFood:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyImportLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyIngredient:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyKeyword:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyMealPlan:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyMealType:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyRecipe:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyRecipeBook:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyRecipeBookEntry:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyShoppingList:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyShoppingListEntry:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyShoppingListRecipe:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyStep:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyStorage:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroySupermarket:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroySupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroySupermarketCategory:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroySupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroySupermarketCategoryRelation:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroySupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroySync:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroySync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyUnit:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyUserFile:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyUserFile","id",r),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyUserPreference:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},destroyViewLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("destroyViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},imageRecipe:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p,l;return Object(d["d"])(this,(function(h){return m("imageRecipe","id",r),t="/api/recipe/{id}/image/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},p=new(e&&e.formDataCtor||FormData),void 0!==n&&p.append("image",n),c["Content-Type"]="multipart/form-data",O(o,u,i.query),l=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),l),i.headers),s.data=p,[2,{url:j(o),options:s}]}))}))},listBookmarkletImports:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/bookmarklet-import/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listCookLogs:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return t="/api/cook-log/",o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"GET"},a),i),c={},u={},void 0!==r&&(u["page"]=r),void 0!==n&&(u["page_size"]=n),O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),[2,{url:j(o),options:s}]}))}))},listFoods:function(r,n,i,o,a,s){return void 0===s&&(s={}),Object(d["b"])(t,void 0,Promise,(function(){var t,c,u,p,l,h,f;return Object(d["d"])(this,(function(b){return t="/api/food/",c=new URL(t,v),e&&(u=e.baseOptions),p=Object(d["a"])(Object(d["a"])({method:"GET"},u),s),l={},h={},void 0!==r&&(h["query"]=r),void 0!==n&&(h["root"]=n),void 0!==i&&(h["tree"]=i),void 0!==o&&(h["page"]=o),void 0!==a&&(h["page_size"]=a),O(c,h,s.query),f=u&&u.headers?u.headers:{},p.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},l),f),s.headers),[2,{url:j(c),options:p}]}))}))},listImportLogs:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return t="/api/import-log/",o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"GET"},a),i),c={},u={},void 0!==r&&(u["page"]=r),void 0!==n&&(u["page_size"]=n),O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),[2,{url:j(o),options:s}]}))}))},listIngredients:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/ingredient/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listKeywords:function(r,n,i,o,a,s){return void 0===s&&(s={}),Object(d["b"])(t,void 0,Promise,(function(){var t,c,u,p,l,h,f;return Object(d["d"])(this,(function(b){return t="/api/keyword/",c=new URL(t,v),e&&(u=e.baseOptions),p=Object(d["a"])(Object(d["a"])({method:"GET"},u),s),l={},h={},void 0!==r&&(h["query"]=r),void 0!==n&&(h["root"]=n),void 0!==i&&(h["tree"]=i),void 0!==o&&(h["page"]=o),void 0!==a&&(h["page_size"]=a),O(c,h,s.query),f=u&&u.headers?u.headers:{},p.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},l),f),s.headers),[2,{url:j(c),options:p}]}))}))},listMealPlans:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/meal-plan/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listMealTypes:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/meal-type/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listRecipeBookEntrys:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/recipe-book-entry/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listRecipeBooks:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/recipe-book/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listRecipes:function(r,n,i,o,a,s,c,u,p,l,h,f,b,m,g){return void 0===g&&(g={}),Object(d["b"])(t,void 0,Promise,(function(){var t,y,_,S,w,P,R;return Object(d["d"])(this,(function(U){return t="/api/recipe/",y=new URL(t,v),e&&(_=e.baseOptions),S=Object(d["a"])(Object(d["a"])({method:"GET"},_),g),w={},P={},void 0!==r&&(P["query"]=r),void 0!==n&&(P["keywords"]=n),void 0!==i&&(P["foods"]=i),void 0!==o&&(P["units"]=o),void 0!==a&&(P["rating"]=a),void 0!==s&&(P["books"]=s),void 0!==c&&(P["keywords_or"]=c),void 0!==u&&(P["foods_or"]=u),void 0!==p&&(P["books_or"]=p),void 0!==l&&(P["internal"]=l),void 0!==h&&(P["random"]=h),void 0!==f&&(P["new"]=f),void 0!==b&&(P["page"]=b),void 0!==m&&(P["page_size"]=m),O(y,P,g.query),R=_&&_.headers?_.headers:{},S.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},w),R),g.headers),[2,{url:j(y),options:S}]}))}))},listShoppingListEntrys:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/shopping-list-entry/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listShoppingListRecipes:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/shopping-list-recipe/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listShoppingLists:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/shopping-list/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listSteps:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/step/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listStorages:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/storage/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listSupermarketCategoryRelations:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return t="/api/supermarket-category-relation/",o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"GET"},a),i),c={},u={},void 0!==r&&(u["page"]=r),void 0!==n&&(u["page_size"]=n),O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),[2,{url:j(o),options:s}]}))}))},listSupermarketCategorys:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/supermarket-category/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listSupermarkets:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/supermarket/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listSyncLogs:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return t="/api/sync-log/",o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"GET"},a),i),c={},u={},void 0!==r&&(u["page"]=r),void 0!==n&&(u["page_size"]=n),O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),[2,{url:j(o),options:s}]}))}))},listSyncs:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/sync/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listUnits:function(r,n,i,o){return void 0===o&&(o={}),Object(d["b"])(t,void 0,Promise,(function(){var t,a,s,c,u,p,l;return Object(d["d"])(this,(function(h){return t="/api/unit/",a=new URL(t,v),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"GET"},s),o),u={},p={},void 0!==r&&(p["query"]=r),void 0!==n&&(p["page"]=n),void 0!==i&&(p["page_size"]=i),O(a,p,o.query),l=s&&s.headers?s.headers:{},c.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},u),l),o.headers),[2,{url:j(a),options:c}]}))}))},listUserFiles:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/user-file/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listUserPreferences:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/user-preference/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listUsers:function(r){return void 0===r&&(r={}),Object(d["b"])(t,void 0,Promise,(function(){var t,n,i,o,a,s,c;return Object(d["d"])(this,(function(u){return t="/api/user-name/",n=new URL(t,v),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},O(n,s,r.query),c=i&&i.headers?i.headers:{},o.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},a),c),r.headers),[2,{url:j(n),options:o}]}))}))},listViewLogs:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return t="/api/view-log/",o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"GET"},a),i),c={},u={},void 0!==r&&(u["page"]=r),void 0!==n&&(u["page_size"]=n),O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),[2,{url:j(o),options:s}]}))}))},mergeFood:function(r,n,i,o){return void 0===o&&(o={}),Object(d["b"])(t,void 0,Promise,(function(){var t,a,s,c,u,p,l;return Object(d["d"])(this,(function(h){return m("mergeFood","id",r),m("mergeFood","target",n),t="/api/food/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(r))).replace("{target}",encodeURIComponent(String(n))),a=new URL(t,v),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",O(a,p,o.query),l=s&&s.headers?s.headers:{},c.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},u),l),o.headers),c.data=g(i,c,e),[2,{url:j(a),options:c}]}))}))},mergeKeyword:function(r,n,i,o){return void 0===o&&(o={}),Object(d["b"])(t,void 0,Promise,(function(){var t,a,s,c,u,p,l;return Object(d["d"])(this,(function(h){return m("mergeKeyword","id",r),m("mergeKeyword","target",n),t="/api/keyword/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(r))).replace("{target}",encodeURIComponent(String(n))),a=new URL(t,v),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",O(a,p,o.query),l=s&&s.headers?s.headers:{},c.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},u),l),o.headers),c.data=g(i,c,e),[2,{url:j(a),options:c}]}))}))},mergeUnit:function(r,n,i,o){return void 0===o&&(o={}),Object(d["b"])(t,void 0,Promise,(function(){var t,a,s,c,u,p,l;return Object(d["d"])(this,(function(h){return m("mergeUnit","id",r),m("mergeUnit","target",n),t="/api/unit/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(r))).replace("{target}",encodeURIComponent(String(n))),a=new URL(t,v),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",O(a,p,o.query),l=s&&s.headers?s.headers:{},c.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},u),l),o.headers),c.data=g(i,c,e),[2,{url:j(a),options:c}]}))}))},moveFood:function(r,n,i,o){return void 0===o&&(o={}),Object(d["b"])(t,void 0,Promise,(function(){var t,a,s,c,u,p,l;return Object(d["d"])(this,(function(h){return m("moveFood","id",r),m("moveFood","parent",n),t="/api/food/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(r))).replace("{parent}",encodeURIComponent(String(n))),a=new URL(t,v),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",O(a,p,o.query),l=s&&s.headers?s.headers:{},c.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},u),l),o.headers),c.data=g(i,c,e),[2,{url:j(a),options:c}]}))}))},moveKeyword:function(r,n,i,o){return void 0===o&&(o={}),Object(d["b"])(t,void 0,Promise,(function(){var t,a,s,c,u,p,l;return Object(d["d"])(this,(function(h){return m("moveKeyword","id",r),m("moveKeyword","parent",n),t="/api/keyword/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(r))).replace("{parent}",encodeURIComponent(String(n))),a=new URL(t,v),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",O(a,p,o.query),l=s&&s.headers?s.headers:{},c.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},u),l),o.headers),c.data=g(i,c,e),[2,{url:j(a),options:c}]}))}))},partialUpdateBookmarkletImport:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateCookLog:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateFood:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateImportLog:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateIngredient:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateKeyword:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateMealPlan:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateMealType:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateRecipe:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateRecipeBook:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateRecipeBookEntry:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateShoppingList:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateShoppingListEntry:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateShoppingListRecipe:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateStep:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateStorage:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateSupermarket:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateSupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateSupermarketCategory:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateSupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateSupermarketCategoryRelation:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateSupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateSync:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateSync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateUnit:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateUserFile:function(r,n,i,o,a,s){return void 0===s&&(s={}),Object(d["b"])(t,void 0,Promise,(function(){var t,c,u,p,l,h,f,b;return Object(d["d"])(this,(function(g){return m("partialUpdateUserFile","id",r),m("partialUpdateUserFile","name",n),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),c=new URL(t,v),e&&(u=e.baseOptions),p=Object(d["a"])(Object(d["a"])({method:"PATCH"},u),s),l={},h={},f=new(e&&e.formDataCtor||FormData),void 0!==n&&f.append("name",n),void 0!==i&&f.append("file",i),void 0!==o&&f.append("file_size_kb",o),void 0!==a&&f.append("id",a),l["Content-Type"]="multipart/form-data",O(c,h,s.query),b=u&&u.headers?u.headers:{},p.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},l),b),s.headers),p.data=f,[2,{url:j(c),options:p}]}))}))},partialUpdateUserPreference:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},partialUpdateViewLog:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("partialUpdateViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},retrieveBookmarkletImport:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveCookLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveFood:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveImportLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveIngredient:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveKeyword:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveMealPlan:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveMealType:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveRecipe:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveRecipeBook:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveRecipeBookEntry:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveShoppingList:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveShoppingListEntry:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveShoppingListRecipe:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveStep:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveStorage:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveSupermarket:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveSupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveSupermarketCategory:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveSupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveSupermarketCategoryRelation:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveSupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveSync:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveSync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveSyncLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveSyncLog","id",r),t="/api/sync-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveUnit:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveUser:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveUser","id",r),t="/api/user-name/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveUserFile:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveUserFile","id",r),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveUserPreference:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},retrieveViewLog:function(r,n){return void 0===n&&(n={}),Object(d["b"])(t,void 0,Promise,(function(){var t,i,o,a,s,c,u;return Object(d["d"])(this,(function(p){return m("retrieveViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,v),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},O(i,c,n.query),u=o&&o.headers?o.headers:{},a.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},s),u),n.headers),[2,{url:j(i),options:a}]}))}))},updateBookmarkletImport:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateCookLog:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateFood:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateImportLog:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateIngredient:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateKeyword:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateMealPlan:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateMealType:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateRecipe:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateRecipeBook:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateRecipeBookEntry:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateShoppingList:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateShoppingListEntry:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateShoppingListRecipe:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateStep:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateStorage:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateSupermarket:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateSupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateSupermarketCategory:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateSupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateSupermarketCategoryRelation:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateSupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateSync:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateSync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateUnit:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateUserFile:function(r,n,i,o,a,s){return void 0===s&&(s={}),Object(d["b"])(t,void 0,Promise,(function(){var t,c,u,p,l,h,f,b;return Object(d["d"])(this,(function(g){return m("updateUserFile","id",r),m("updateUserFile","name",n),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),c=new URL(t,v),e&&(u=e.baseOptions),p=Object(d["a"])(Object(d["a"])({method:"PUT"},u),s),l={},h={},f=new(e&&e.formDataCtor||FormData),void 0!==n&&f.append("name",n),void 0!==i&&f.append("file",i),void 0!==o&&f.append("file_size_kb",o),void 0!==a&&f.append("id",a),l["Content-Type"]="multipart/form-data",O(c,h,s.query),b=u&&u.headers?u.headers:{},p.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},l),b),s.headers),p.data=f,[2,{url:j(c),options:p}]}))}))},updateUserPreference:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))},updateViewLog:function(r,n,i){return void 0===i&&(i={}),Object(d["b"])(t,void 0,Promise,(function(){var t,o,a,s,c,u,p;return Object(d["d"])(this,(function(l){return m("updateViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,v),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",O(o,u,i.query),p=a&&a.headers?a.headers:{},s.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},c),p),i.headers),s.data=g(n,s,e),[2,{url:j(o),options:s}]}))}))}}},S=function(e){var t=_(e);return{createBookmarkletImport:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createBookmarkletImport(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createCookLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createCookLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createFood:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createFood(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createImportLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createImportLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createIngredient:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createIngredient(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createKeyword:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createKeyword(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createMealPlan:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createMealPlan(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createMealType:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createMealType(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createRecipe:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createRecipe(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createRecipeBook:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createRecipeBook(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createRecipeBookEntry:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createRecipeBookEntry(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createShoppingList:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createShoppingList(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createShoppingListEntry:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createShoppingListEntry(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createShoppingListRecipe:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createShoppingListRecipe(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createStep:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createStep(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createStorage:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createStorage(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createSupermarket:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createSupermarket(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createSupermarketCategory:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createSupermarketCategory(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createSupermarketCategoryRelation:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createSupermarketCategoryRelation(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createSync:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createSync(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createUnit:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createUnit(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createUserFile:function(r,n,i,o,a){return Object(d["b"])(this,void 0,Promise,(function(){var s;return Object(d["d"])(this,(function(c){switch(c.label){case 0:return[4,t.createUserFile(r,n,i,o,a)];case 1:return s=c.sent(),[2,y(s,l.a,h,e)]}}))}))},createUserPreference:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createUserPreference(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},createViewLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.createViewLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyBookmarkletImport:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyBookmarkletImport(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyCookLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyCookLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyFood:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyFood(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyImportLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyImportLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyIngredient:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyIngredient(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyKeyword:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyKeyword(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyMealPlan:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyMealPlan(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyMealType:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyMealType(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyRecipe:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyRecipe(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyRecipeBook:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyRecipeBook(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyRecipeBookEntry:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyRecipeBookEntry(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyShoppingList:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyShoppingList(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyShoppingListEntry:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyShoppingListEntry(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyShoppingListRecipe:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyShoppingListRecipe(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyStep:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyStep(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyStorage:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyStorage(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroySupermarket:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroySupermarket(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroySupermarketCategory:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroySupermarketCategory(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroySupermarketCategoryRelation:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroySupermarketCategoryRelation(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroySync:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroySync(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyUnit:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyUnit(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyUserFile:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyUserFile(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyUserPreference:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyUserPreference(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},destroyViewLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.destroyViewLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},imageRecipe:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.imageRecipe(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},listBookmarkletImports:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listBookmarkletImports(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listCookLogs:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.listCookLogs(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},listFoods:function(r,n,i,o,a,s){return Object(d["b"])(this,void 0,Promise,(function(){var c;return Object(d["d"])(this,(function(u){switch(u.label){case 0:return[4,t.listFoods(r,n,i,o,a,s)];case 1:return c=u.sent(),[2,y(c,l.a,h,e)]}}))}))},listImportLogs:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.listImportLogs(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},listIngredients:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listIngredients(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listKeywords:function(r,n,i,o,a,s){return Object(d["b"])(this,void 0,Promise,(function(){var c;return Object(d["d"])(this,(function(u){switch(u.label){case 0:return[4,t.listKeywords(r,n,i,o,a,s)];case 1:return c=u.sent(),[2,y(c,l.a,h,e)]}}))}))},listMealPlans:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listMealPlans(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listMealTypes:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listMealTypes(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listRecipeBookEntrys:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listRecipeBookEntrys(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listRecipeBooks:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listRecipeBooks(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listRecipes:function(r,n,i,o,a,s,c,u,p,f,b,v,m,O,g){return Object(d["b"])(this,void 0,Promise,(function(){var j;return Object(d["d"])(this,(function(d){switch(d.label){case 0:return[4,t.listRecipes(r,n,i,o,a,s,c,u,p,f,b,v,m,O,g)];case 1:return j=d.sent(),[2,y(j,l.a,h,e)]}}))}))},listShoppingListEntrys:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listShoppingListEntrys(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listShoppingListRecipes:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listShoppingListRecipes(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listShoppingLists:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listShoppingLists(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listSteps:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listSteps(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listStorages:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listStorages(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listSupermarketCategoryRelations:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.listSupermarketCategoryRelations(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},listSupermarketCategorys:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listSupermarketCategorys(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listSupermarkets:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listSupermarkets(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listSyncLogs:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.listSyncLogs(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},listSyncs:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listSyncs(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listUnits:function(r,n,i,o){return Object(d["b"])(this,void 0,Promise,(function(){var a;return Object(d["d"])(this,(function(s){switch(s.label){case 0:return[4,t.listUnits(r,n,i,o)];case 1:return a=s.sent(),[2,y(a,l.a,h,e)]}}))}))},listUserFiles:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listUserFiles(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listUserPreferences:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listUserPreferences(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listUsers:function(r){return Object(d["b"])(this,void 0,Promise,(function(){var n;return Object(d["d"])(this,(function(i){switch(i.label){case 0:return[4,t.listUsers(r)];case 1:return n=i.sent(),[2,y(n,l.a,h,e)]}}))}))},listViewLogs:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.listViewLogs(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},mergeFood:function(r,n,i,o){return Object(d["b"])(this,void 0,Promise,(function(){var a;return Object(d["d"])(this,(function(s){switch(s.label){case 0:return[4,t.mergeFood(r,n,i,o)];case 1:return a=s.sent(),[2,y(a,l.a,h,e)]}}))}))},mergeKeyword:function(r,n,i,o){return Object(d["b"])(this,void 0,Promise,(function(){var a;return Object(d["d"])(this,(function(s){switch(s.label){case 0:return[4,t.mergeKeyword(r,n,i,o)];case 1:return a=s.sent(),[2,y(a,l.a,h,e)]}}))}))},mergeUnit:function(r,n,i,o){return Object(d["b"])(this,void 0,Promise,(function(){var a;return Object(d["d"])(this,(function(s){switch(s.label){case 0:return[4,t.mergeUnit(r,n,i,o)];case 1:return a=s.sent(),[2,y(a,l.a,h,e)]}}))}))},moveFood:function(r,n,i,o){return Object(d["b"])(this,void 0,Promise,(function(){var a;return Object(d["d"])(this,(function(s){switch(s.label){case 0:return[4,t.moveFood(r,n,i,o)];case 1:return a=s.sent(),[2,y(a,l.a,h,e)]}}))}))},moveKeyword:function(r,n,i,o){return Object(d["b"])(this,void 0,Promise,(function(){var a;return Object(d["d"])(this,(function(s){switch(s.label){case 0:return[4,t.moveKeyword(r,n,i,o)];case 1:return a=s.sent(),[2,y(a,l.a,h,e)]}}))}))},partialUpdateBookmarkletImport:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateBookmarkletImport(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateCookLog:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateCookLog(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateFood:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateFood(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateImportLog:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateImportLog(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateIngredient:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateIngredient(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateKeyword:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateKeyword(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateMealPlan:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateMealPlan(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateMealType:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateMealType(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateRecipe:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateRecipe(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateRecipeBook:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateRecipeBook(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateRecipeBookEntry:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateRecipeBookEntry(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateShoppingList:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateShoppingList(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateShoppingListEntry:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateShoppingListEntry(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateShoppingListRecipe:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateShoppingListRecipe(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateStep:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateStep(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateStorage:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateStorage(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateSupermarket:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateSupermarket(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateSupermarketCategory:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateSupermarketCategory(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateSupermarketCategoryRelation:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateSupermarketCategoryRelation(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateSync:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateSync(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateUnit:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateUnit(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateUserFile:function(r,n,i,o,a,s){return Object(d["b"])(this,void 0,Promise,(function(){var c;return Object(d["d"])(this,(function(u){switch(u.label){case 0:return[4,t.partialUpdateUserFile(r,n,i,o,a,s)];case 1:return c=u.sent(),[2,y(c,l.a,h,e)]}}))}))},partialUpdateUserPreference:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateUserPreference(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},partialUpdateViewLog:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.partialUpdateViewLog(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},retrieveBookmarkletImport:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveBookmarkletImport(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveCookLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveCookLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveFood:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveFood(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveImportLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveImportLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveIngredient:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveIngredient(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveKeyword:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveKeyword(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveMealPlan:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveMealPlan(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveMealType:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveMealType(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveRecipe:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveRecipe(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveRecipeBook:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveRecipeBook(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveRecipeBookEntry:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveRecipeBookEntry(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveShoppingList:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveShoppingList(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveShoppingListEntry:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveShoppingListEntry(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveShoppingListRecipe:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveShoppingListRecipe(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveStep:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveStep(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveStorage:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveStorage(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveSupermarket:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveSupermarket(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveSupermarketCategory:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveSupermarketCategory(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveSupermarketCategoryRelation:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveSupermarketCategoryRelation(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveSync:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveSync(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveSyncLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveSyncLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveUnit:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveUnit(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveUser:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveUser(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveUserFile:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveUserFile(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveUserPreference:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveUserPreference(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},retrieveViewLog:function(r,n){return Object(d["b"])(this,void 0,Promise,(function(){var i;return Object(d["d"])(this,(function(o){switch(o.label){case 0:return[4,t.retrieveViewLog(r,n)];case 1:return i=o.sent(),[2,y(i,l.a,h,e)]}}))}))},updateBookmarkletImport:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateBookmarkletImport(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateCookLog:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateCookLog(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateFood:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateFood(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateImportLog:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateImportLog(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateIngredient:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateIngredient(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateKeyword:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateKeyword(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateMealPlan:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateMealPlan(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateMealType:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateMealType(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateRecipe:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateRecipe(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateRecipeBook:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateRecipeBook(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateRecipeBookEntry:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateRecipeBookEntry(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateShoppingList:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateShoppingList(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateShoppingListEntry:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateShoppingListEntry(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateShoppingListRecipe:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateShoppingListRecipe(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateStep:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateStep(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateStorage:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateStorage(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateSupermarket:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateSupermarket(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateSupermarketCategory:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateSupermarketCategory(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateSupermarketCategoryRelation:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateSupermarketCategoryRelation(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateSync:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateSync(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateUnit:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateUnit(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateUserFile:function(r,n,i,o,a,s){return Object(d["b"])(this,void 0,Promise,(function(){var c;return Object(d["d"])(this,(function(u){switch(u.label){case 0:return[4,t.updateUserFile(r,n,i,o,a,s)];case 1:return c=u.sent(),[2,y(c,l.a,h,e)]}}))}))},updateUserPreference:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateUserPreference(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))},updateViewLog:function(r,n,i){return Object(d["b"])(this,void 0,Promise,(function(){var o;return Object(d["d"])(this,(function(a){switch(a.label){case 0:return[4,t.updateViewLog(r,n,i)];case 1:return o=a.sent(),[2,y(o,l.a,h,e)]}}))}))}}},w=function(e,t,r){var n=S(e);return{createBookmarkletImport:function(e,i){return n.createBookmarkletImport(e,i).then((function(e){return e(r,t)}))},createCookLog:function(e,i){return n.createCookLog(e,i).then((function(e){return e(r,t)}))},createFood:function(e,i){return n.createFood(e,i).then((function(e){return e(r,t)}))},createImportLog:function(e,i){return n.createImportLog(e,i).then((function(e){return e(r,t)}))},createIngredient:function(e,i){return n.createIngredient(e,i).then((function(e){return e(r,t)}))},createKeyword:function(e,i){return n.createKeyword(e,i).then((function(e){return e(r,t)}))},createMealPlan:function(e,i){return n.createMealPlan(e,i).then((function(e){return e(r,t)}))},createMealType:function(e,i){return n.createMealType(e,i).then((function(e){return e(r,t)}))},createRecipe:function(e,i){return n.createRecipe(e,i).then((function(e){return e(r,t)}))},createRecipeBook:function(e,i){return n.createRecipeBook(e,i).then((function(e){return e(r,t)}))},createRecipeBookEntry:function(e,i){return n.createRecipeBookEntry(e,i).then((function(e){return e(r,t)}))},createShoppingList:function(e,i){return n.createShoppingList(e,i).then((function(e){return e(r,t)}))},createShoppingListEntry:function(e,i){return n.createShoppingListEntry(e,i).then((function(e){return e(r,t)}))},createShoppingListRecipe:function(e,i){return n.createShoppingListRecipe(e,i).then((function(e){return e(r,t)}))},createStep:function(e,i){return n.createStep(e,i).then((function(e){return e(r,t)}))},createStorage:function(e,i){return n.createStorage(e,i).then((function(e){return e(r,t)}))},createSupermarket:function(e,i){return n.createSupermarket(e,i).then((function(e){return e(r,t)}))},createSupermarketCategory:function(e,i){return n.createSupermarketCategory(e,i).then((function(e){return e(r,t)}))},createSupermarketCategoryRelation:function(e,i){return n.createSupermarketCategoryRelation(e,i).then((function(e){return e(r,t)}))},createSync:function(e,i){return n.createSync(e,i).then((function(e){return e(r,t)}))},createUnit:function(e,i){return n.createUnit(e,i).then((function(e){return e(r,t)}))},createUserFile:function(e,i,o,a,s){return n.createUserFile(e,i,o,a,s).then((function(e){return e(r,t)}))},createUserPreference:function(e,i){return n.createUserPreference(e,i).then((function(e){return e(r,t)}))},createViewLog:function(e,i){return n.createViewLog(e,i).then((function(e){return e(r,t)}))},destroyBookmarkletImport:function(e,i){return n.destroyBookmarkletImport(e,i).then((function(e){return e(r,t)}))},destroyCookLog:function(e,i){return n.destroyCookLog(e,i).then((function(e){return e(r,t)}))},destroyFood:function(e,i){return n.destroyFood(e,i).then((function(e){return e(r,t)}))},destroyImportLog:function(e,i){return n.destroyImportLog(e,i).then((function(e){return e(r,t)}))},destroyIngredient:function(e,i){return n.destroyIngredient(e,i).then((function(e){return e(r,t)}))},destroyKeyword:function(e,i){return n.destroyKeyword(e,i).then((function(e){return e(r,t)}))},destroyMealPlan:function(e,i){return n.destroyMealPlan(e,i).then((function(e){return e(r,t)}))},destroyMealType:function(e,i){return n.destroyMealType(e,i).then((function(e){return e(r,t)}))},destroyRecipe:function(e,i){return n.destroyRecipe(e,i).then((function(e){return e(r,t)}))},destroyRecipeBook:function(e,i){return n.destroyRecipeBook(e,i).then((function(e){return e(r,t)}))},destroyRecipeBookEntry:function(e,i){return n.destroyRecipeBookEntry(e,i).then((function(e){return e(r,t)}))},destroyShoppingList:function(e,i){return n.destroyShoppingList(e,i).then((function(e){return e(r,t)}))},destroyShoppingListEntry:function(e,i){return n.destroyShoppingListEntry(e,i).then((function(e){return e(r,t)}))},destroyShoppingListRecipe:function(e,i){return n.destroyShoppingListRecipe(e,i).then((function(e){return e(r,t)}))},destroyStep:function(e,i){return n.destroyStep(e,i).then((function(e){return e(r,t)}))},destroyStorage:function(e,i){return n.destroyStorage(e,i).then((function(e){return e(r,t)}))},destroySupermarket:function(e,i){return n.destroySupermarket(e,i).then((function(e){return e(r,t)}))},destroySupermarketCategory:function(e,i){return n.destroySupermarketCategory(e,i).then((function(e){return e(r,t)}))},destroySupermarketCategoryRelation:function(e,i){return n.destroySupermarketCategoryRelation(e,i).then((function(e){return e(r,t)}))},destroySync:function(e,i){return n.destroySync(e,i).then((function(e){return e(r,t)}))},destroyUnit:function(e,i){return n.destroyUnit(e,i).then((function(e){return e(r,t)}))},destroyUserFile:function(e,i){return n.destroyUserFile(e,i).then((function(e){return e(r,t)}))},destroyUserPreference:function(e,i){return n.destroyUserPreference(e,i).then((function(e){return e(r,t)}))},destroyViewLog:function(e,i){return n.destroyViewLog(e,i).then((function(e){return e(r,t)}))},imageRecipe:function(e,i,o){return n.imageRecipe(e,i,o).then((function(e){return e(r,t)}))},listBookmarkletImports:function(e){return n.listBookmarkletImports(e).then((function(e){return e(r,t)}))},listCookLogs:function(e,i,o){return n.listCookLogs(e,i,o).then((function(e){return e(r,t)}))},listFoods:function(e,i,o,a,s,c){return n.listFoods(e,i,o,a,s,c).then((function(e){return e(r,t)}))},listImportLogs:function(e,i,o){return n.listImportLogs(e,i,o).then((function(e){return e(r,t)}))},listIngredients:function(e){return n.listIngredients(e).then((function(e){return e(r,t)}))},listKeywords:function(e,i,o,a,s,c){return n.listKeywords(e,i,o,a,s,c).then((function(e){return e(r,t)}))},listMealPlans:function(e){return n.listMealPlans(e).then((function(e){return e(r,t)}))},listMealTypes:function(e){return n.listMealTypes(e).then((function(e){return e(r,t)}))},listRecipeBookEntrys:function(e){return n.listRecipeBookEntrys(e).then((function(e){return e(r,t)}))},listRecipeBooks:function(e){return n.listRecipeBooks(e).then((function(e){return e(r,t)}))},listRecipes:function(e,i,o,a,s,c,u,d,p,l,h,f,b,v,m){return n.listRecipes(e,i,o,a,s,c,u,d,p,l,h,f,b,v,m).then((function(e){return e(r,t)}))},listShoppingListEntrys:function(e){return n.listShoppingListEntrys(e).then((function(e){return e(r,t)}))},listShoppingListRecipes:function(e){return n.listShoppingListRecipes(e).then((function(e){return e(r,t)}))},listShoppingLists:function(e){return n.listShoppingLists(e).then((function(e){return e(r,t)}))},listSteps:function(e){return n.listSteps(e).then((function(e){return e(r,t)}))},listStorages:function(e){return n.listStorages(e).then((function(e){return e(r,t)}))},listSupermarketCategoryRelations:function(e,i,o){return n.listSupermarketCategoryRelations(e,i,o).then((function(e){return e(r,t)}))},listSupermarketCategorys:function(e){return n.listSupermarketCategorys(e).then((function(e){return e(r,t)}))},listSupermarkets:function(e){return n.listSupermarkets(e).then((function(e){return e(r,t)}))},listSyncLogs:function(e,i,o){return n.listSyncLogs(e,i,o).then((function(e){return e(r,t)}))},listSyncs:function(e){return n.listSyncs(e).then((function(e){return e(r,t)}))},listUnits:function(e,i,o,a){return n.listUnits(e,i,o,a).then((function(e){return e(r,t)}))},listUserFiles:function(e){return n.listUserFiles(e).then((function(e){return e(r,t)}))},listUserPreferences:function(e){return n.listUserPreferences(e).then((function(e){return e(r,t)}))},listUsers:function(e){return n.listUsers(e).then((function(e){return e(r,t)}))},listViewLogs:function(e,i,o){return n.listViewLogs(e,i,o).then((function(e){return e(r,t)}))},mergeFood:function(e,i,o,a){return n.mergeFood(e,i,o,a).then((function(e){return e(r,t)}))},mergeKeyword:function(e,i,o,a){return n.mergeKeyword(e,i,o,a).then((function(e){return e(r,t)}))},mergeUnit:function(e,i,o,a){return n.mergeUnit(e,i,o,a).then((function(e){return e(r,t)}))},moveFood:function(e,i,o,a){return n.moveFood(e,i,o,a).then((function(e){return e(r,t)}))},moveKeyword:function(e,i,o,a){return n.moveKeyword(e,i,o,a).then((function(e){return e(r,t)}))},partialUpdateBookmarkletImport:function(e,i,o){return n.partialUpdateBookmarkletImport(e,i,o).then((function(e){return e(r,t)}))},partialUpdateCookLog:function(e,i,o){return n.partialUpdateCookLog(e,i,o).then((function(e){return e(r,t)}))},partialUpdateFood:function(e,i,o){return n.partialUpdateFood(e,i,o).then((function(e){return e(r,t)}))},partialUpdateImportLog:function(e,i,o){return n.partialUpdateImportLog(e,i,o).then((function(e){return e(r,t)}))},partialUpdateIngredient:function(e,i,o){return n.partialUpdateIngredient(e,i,o).then((function(e){return e(r,t)}))},partialUpdateKeyword:function(e,i,o){return n.partialUpdateKeyword(e,i,o).then((function(e){return e(r,t)}))},partialUpdateMealPlan:function(e,i,o){return n.partialUpdateMealPlan(e,i,o).then((function(e){return e(r,t)}))},partialUpdateMealType:function(e,i,o){return n.partialUpdateMealType(e,i,o).then((function(e){return e(r,t)}))},partialUpdateRecipe:function(e,i,o){return n.partialUpdateRecipe(e,i,o).then((function(e){return e(r,t)}))},partialUpdateRecipeBook:function(e,i,o){return n.partialUpdateRecipeBook(e,i,o).then((function(e){return e(r,t)}))},partialUpdateRecipeBookEntry:function(e,i,o){return n.partialUpdateRecipeBookEntry(e,i,o).then((function(e){return e(r,t)}))},partialUpdateShoppingList:function(e,i,o){return n.partialUpdateShoppingList(e,i,o).then((function(e){return e(r,t)}))},partialUpdateShoppingListEntry:function(e,i,o){return n.partialUpdateShoppingListEntry(e,i,o).then((function(e){return e(r,t)}))},partialUpdateShoppingListRecipe:function(e,i,o){return n.partialUpdateShoppingListRecipe(e,i,o).then((function(e){return e(r,t)}))},partialUpdateStep:function(e,i,o){return n.partialUpdateStep(e,i,o).then((function(e){return e(r,t)}))},partialUpdateStorage:function(e,i,o){return n.partialUpdateStorage(e,i,o).then((function(e){return e(r,t)}))},partialUpdateSupermarket:function(e,i,o){return n.partialUpdateSupermarket(e,i,o).then((function(e){return e(r,t)}))},partialUpdateSupermarketCategory:function(e,i,o){return n.partialUpdateSupermarketCategory(e,i,o).then((function(e){return e(r,t)}))},partialUpdateSupermarketCategoryRelation:function(e,i,o){return n.partialUpdateSupermarketCategoryRelation(e,i,o).then((function(e){return e(r,t)}))},partialUpdateSync:function(e,i,o){return n.partialUpdateSync(e,i,o).then((function(e){return e(r,t)}))},partialUpdateUnit:function(e,i,o){return n.partialUpdateUnit(e,i,o).then((function(e){return e(r,t)}))},partialUpdateUserFile:function(e,i,o,a,s,c){return n.partialUpdateUserFile(e,i,o,a,s,c).then((function(e){return e(r,t)}))},partialUpdateUserPreference:function(e,i,o){return n.partialUpdateUserPreference(e,i,o).then((function(e){return e(r,t)}))},partialUpdateViewLog:function(e,i,o){return n.partialUpdateViewLog(e,i,o).then((function(e){return e(r,t)}))},retrieveBookmarkletImport:function(e,i){return n.retrieveBookmarkletImport(e,i).then((function(e){return e(r,t)}))},retrieveCookLog:function(e,i){return n.retrieveCookLog(e,i).then((function(e){return e(r,t)}))},retrieveFood:function(e,i){return n.retrieveFood(e,i).then((function(e){return e(r,t)}))},retrieveImportLog:function(e,i){return n.retrieveImportLog(e,i).then((function(e){return e(r,t)}))},retrieveIngredient:function(e,i){return n.retrieveIngredient(e,i).then((function(e){return e(r,t)}))},retrieveKeyword:function(e,i){return n.retrieveKeyword(e,i).then((function(e){return e(r,t)}))},retrieveMealPlan:function(e,i){return n.retrieveMealPlan(e,i).then((function(e){return e(r,t)}))},retrieveMealType:function(e,i){return n.retrieveMealType(e,i).then((function(e){return e(r,t)}))},retrieveRecipe:function(e,i){return n.retrieveRecipe(e,i).then((function(e){return e(r,t)}))},retrieveRecipeBook:function(e,i){return n.retrieveRecipeBook(e,i).then((function(e){return e(r,t)}))},retrieveRecipeBookEntry:function(e,i){return n.retrieveRecipeBookEntry(e,i).then((function(e){return e(r,t)}))},retrieveShoppingList:function(e,i){return n.retrieveShoppingList(e,i).then((function(e){return e(r,t)}))},retrieveShoppingListEntry:function(e,i){return n.retrieveShoppingListEntry(e,i).then((function(e){return e(r,t)}))},retrieveShoppingListRecipe:function(e,i){return n.retrieveShoppingListRecipe(e,i).then((function(e){return e(r,t)}))},retrieveStep:function(e,i){return n.retrieveStep(e,i).then((function(e){return e(r,t)}))},retrieveStorage:function(e,i){return n.retrieveStorage(e,i).then((function(e){return e(r,t)}))},retrieveSupermarket:function(e,i){return n.retrieveSupermarket(e,i).then((function(e){return e(r,t)}))},retrieveSupermarketCategory:function(e,i){return n.retrieveSupermarketCategory(e,i).then((function(e){return e(r,t)}))},retrieveSupermarketCategoryRelation:function(e,i){return n.retrieveSupermarketCategoryRelation(e,i).then((function(e){return e(r,t)}))},retrieveSync:function(e,i){return n.retrieveSync(e,i).then((function(e){return e(r,t)}))},retrieveSyncLog:function(e,i){return n.retrieveSyncLog(e,i).then((function(e){return e(r,t)}))},retrieveUnit:function(e,i){return n.retrieveUnit(e,i).then((function(e){return e(r,t)}))},retrieveUser:function(e,i){return n.retrieveUser(e,i).then((function(e){return e(r,t)}))},retrieveUserFile:function(e,i){return n.retrieveUserFile(e,i).then((function(e){return e(r,t)}))},retrieveUserPreference:function(e,i){return n.retrieveUserPreference(e,i).then((function(e){return e(r,t)}))},retrieveViewLog:function(e,i){return n.retrieveViewLog(e,i).then((function(e){return e(r,t)}))},updateBookmarkletImport:function(e,i,o){return n.updateBookmarkletImport(e,i,o).then((function(e){return e(r,t)}))},updateCookLog:function(e,i,o){return n.updateCookLog(e,i,o).then((function(e){return e(r,t)}))},updateFood:function(e,i,o){return n.updateFood(e,i,o).then((function(e){return e(r,t)}))},updateImportLog:function(e,i,o){return n.updateImportLog(e,i,o).then((function(e){return e(r,t)}))},updateIngredient:function(e,i,o){return n.updateIngredient(e,i,o).then((function(e){return e(r,t)}))},updateKeyword:function(e,i,o){return n.updateKeyword(e,i,o).then((function(e){return e(r,t)}))},updateMealPlan:function(e,i,o){return n.updateMealPlan(e,i,o).then((function(e){return e(r,t)}))},updateMealType:function(e,i,o){return n.updateMealType(e,i,o).then((function(e){return e(r,t)}))},updateRecipe:function(e,i,o){return n.updateRecipe(e,i,o).then((function(e){return e(r,t)}))},updateRecipeBook:function(e,i,o){return n.updateRecipeBook(e,i,o).then((function(e){return e(r,t)}))},updateRecipeBookEntry:function(e,i,o){return n.updateRecipeBookEntry(e,i,o).then((function(e){return e(r,t)}))},updateShoppingList:function(e,i,o){return n.updateShoppingList(e,i,o).then((function(e){return e(r,t)}))},updateShoppingListEntry:function(e,i,o){return n.updateShoppingListEntry(e,i,o).then((function(e){return e(r,t)}))},updateShoppingListRecipe:function(e,i,o){return n.updateShoppingListRecipe(e,i,o).then((function(e){return e(r,t)}))},updateStep:function(e,i,o){return n.updateStep(e,i,o).then((function(e){return e(r,t)}))},updateStorage:function(e,i,o){return n.updateStorage(e,i,o).then((function(e){return e(r,t)}))},updateSupermarket:function(e,i,o){return n.updateSupermarket(e,i,o).then((function(e){return e(r,t)}))},updateSupermarketCategory:function(e,i,o){return n.updateSupermarketCategory(e,i,o).then((function(e){return e(r,t)}))},updateSupermarketCategoryRelation:function(e,i,o){return n.updateSupermarketCategoryRelation(e,i,o).then((function(e){return e(r,t)}))},updateSync:function(e,i,o){return n.updateSync(e,i,o).then((function(e){return e(r,t)}))},updateUnit:function(e,i,o){return n.updateUnit(e,i,o).then((function(e){return e(r,t)}))},updateUserFile:function(e,i,o,a,s,c){return n.updateUserFile(e,i,o,a,s,c).then((function(e){return e(r,t)}))},updateUserPreference:function(e,i,o){return n.updateUserPreference(e,i,o).then((function(e){return e(r,t)}))},updateViewLog:function(e,i,o){return n.updateViewLog(e,i,o).then((function(e){return e(r,t)}))}}};(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(d["c"])(t,e),t.prototype.createBookmarkletImport=function(e,t){var r=this;return S(this.configuration).createBookmarkletImport(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createCookLog=function(e,t){var r=this;return S(this.configuration).createCookLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createFood=function(e,t){var r=this;return S(this.configuration).createFood(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createImportLog=function(e,t){var r=this;return S(this.configuration).createImportLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createIngredient=function(e,t){var r=this;return S(this.configuration).createIngredient(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createKeyword=function(e,t){var r=this;return S(this.configuration).createKeyword(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createMealPlan=function(e,t){var r=this;return S(this.configuration).createMealPlan(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createMealType=function(e,t){var r=this;return S(this.configuration).createMealType(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createRecipe=function(e,t){var r=this;return S(this.configuration).createRecipe(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createRecipeBook=function(e,t){var r=this;return S(this.configuration).createRecipeBook(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createRecipeBookEntry=function(e,t){var r=this;return S(this.configuration).createRecipeBookEntry(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createShoppingList=function(e,t){var r=this;return S(this.configuration).createShoppingList(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createShoppingListEntry=function(e,t){var r=this;return S(this.configuration).createShoppingListEntry(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createShoppingListRecipe=function(e,t){var r=this;return S(this.configuration).createShoppingListRecipe(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createStep=function(e,t){var r=this;return S(this.configuration).createStep(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createStorage=function(e,t){var r=this;return S(this.configuration).createStorage(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createSupermarket=function(e,t){var r=this;return S(this.configuration).createSupermarket(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createSupermarketCategory=function(e,t){var r=this;return S(this.configuration).createSupermarketCategory(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createSupermarketCategoryRelation=function(e,t){var r=this;return S(this.configuration).createSupermarketCategoryRelation(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createSync=function(e,t){var r=this;return S(this.configuration).createSync(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createUnit=function(e,t){var r=this;return S(this.configuration).createUnit(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createUserFile=function(e,t,r,n,i){var o=this;return S(this.configuration).createUserFile(e,t,r,n,i).then((function(e){return e(o.axios,o.basePath)}))},t.prototype.createUserPreference=function(e,t){var r=this;return S(this.configuration).createUserPreference(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.createViewLog=function(e,t){var r=this;return S(this.configuration).createViewLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyBookmarkletImport=function(e,t){var r=this;return S(this.configuration).destroyBookmarkletImport(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyCookLog=function(e,t){var r=this;return S(this.configuration).destroyCookLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyFood=function(e,t){var r=this;return S(this.configuration).destroyFood(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyImportLog=function(e,t){var r=this;return S(this.configuration).destroyImportLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyIngredient=function(e,t){var r=this;return S(this.configuration).destroyIngredient(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyKeyword=function(e,t){var r=this;return S(this.configuration).destroyKeyword(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyMealPlan=function(e,t){var r=this;return S(this.configuration).destroyMealPlan(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyMealType=function(e,t){var r=this;return S(this.configuration).destroyMealType(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyRecipe=function(e,t){var r=this;return S(this.configuration).destroyRecipe(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyRecipeBook=function(e,t){var r=this;return S(this.configuration).destroyRecipeBook(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyRecipeBookEntry=function(e,t){var r=this;return S(this.configuration).destroyRecipeBookEntry(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyShoppingList=function(e,t){var r=this;return S(this.configuration).destroyShoppingList(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyShoppingListEntry=function(e,t){var r=this;return S(this.configuration).destroyShoppingListEntry(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyShoppingListRecipe=function(e,t){var r=this;return S(this.configuration).destroyShoppingListRecipe(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyStep=function(e,t){var r=this;return S(this.configuration).destroyStep(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyStorage=function(e,t){var r=this;return S(this.configuration).destroyStorage(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroySupermarket=function(e,t){var r=this;return S(this.configuration).destroySupermarket(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroySupermarketCategory=function(e,t){var r=this;return S(this.configuration).destroySupermarketCategory(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroySupermarketCategoryRelation=function(e,t){var r=this;return S(this.configuration).destroySupermarketCategoryRelation(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroySync=function(e,t){var r=this;return S(this.configuration).destroySync(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyUnit=function(e,t){var r=this;return S(this.configuration).destroyUnit(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyUserFile=function(e,t){var r=this;return S(this.configuration).destroyUserFile(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyUserPreference=function(e,t){var r=this;return S(this.configuration).destroyUserPreference(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.destroyViewLog=function(e,t){var r=this;return S(this.configuration).destroyViewLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.imageRecipe=function(e,t,r){var n=this;return S(this.configuration).imageRecipe(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.listBookmarkletImports=function(e){var t=this;return S(this.configuration).listBookmarkletImports(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listCookLogs=function(e,t,r){var n=this;return S(this.configuration).listCookLogs(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.listFoods=function(e,t,r,n,i,o){var a=this;return S(this.configuration).listFoods(e,t,r,n,i,o).then((function(e){return e(a.axios,a.basePath)}))},t.prototype.listImportLogs=function(e,t,r){var n=this;return S(this.configuration).listImportLogs(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.listIngredients=function(e){var t=this;return S(this.configuration).listIngredients(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listKeywords=function(e,t,r,n,i,o){var a=this;return S(this.configuration).listKeywords(e,t,r,n,i,o).then((function(e){return e(a.axios,a.basePath)}))},t.prototype.listMealPlans=function(e){var t=this;return S(this.configuration).listMealPlans(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listMealTypes=function(e){var t=this;return S(this.configuration).listMealTypes(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listRecipeBookEntrys=function(e){var t=this;return S(this.configuration).listRecipeBookEntrys(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listRecipeBooks=function(e){var t=this;return S(this.configuration).listRecipeBooks(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listRecipes=function(e,t,r,n,i,o,a,s,c,u,d,p,l,h,f){var b=this;return S(this.configuration).listRecipes(e,t,r,n,i,o,a,s,c,u,d,p,l,h,f).then((function(e){return e(b.axios,b.basePath)}))},t.prototype.listShoppingListEntrys=function(e){var t=this;return S(this.configuration).listShoppingListEntrys(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listShoppingListRecipes=function(e){var t=this;return S(this.configuration).listShoppingListRecipes(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listShoppingLists=function(e){var t=this;return S(this.configuration).listShoppingLists(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listSteps=function(e){var t=this;return S(this.configuration).listSteps(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listStorages=function(e){var t=this;return S(this.configuration).listStorages(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listSupermarketCategoryRelations=function(e,t,r){var n=this;return S(this.configuration).listSupermarketCategoryRelations(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.listSupermarketCategorys=function(e){var t=this;return S(this.configuration).listSupermarketCategorys(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listSupermarkets=function(e){var t=this;return S(this.configuration).listSupermarkets(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listSyncLogs=function(e,t,r){var n=this;return S(this.configuration).listSyncLogs(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.listSyncs=function(e){var t=this;return S(this.configuration).listSyncs(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listUnits=function(e,t,r,n){var i=this;return S(this.configuration).listUnits(e,t,r,n).then((function(e){return e(i.axios,i.basePath)}))},t.prototype.listUserFiles=function(e){var t=this;return S(this.configuration).listUserFiles(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listUserPreferences=function(e){var t=this;return S(this.configuration).listUserPreferences(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listUsers=function(e){var t=this;return S(this.configuration).listUsers(e).then((function(e){return e(t.axios,t.basePath)}))},t.prototype.listViewLogs=function(e,t,r){var n=this;return S(this.configuration).listViewLogs(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.mergeFood=function(e,t,r,n){var i=this;return S(this.configuration).mergeFood(e,t,r,n).then((function(e){return e(i.axios,i.basePath)}))},t.prototype.mergeKeyword=function(e,t,r,n){var i=this;return S(this.configuration).mergeKeyword(e,t,r,n).then((function(e){return e(i.axios,i.basePath)}))},t.prototype.mergeUnit=function(e,t,r,n){var i=this;return S(this.configuration).mergeUnit(e,t,r,n).then((function(e){return e(i.axios,i.basePath)}))},t.prototype.moveFood=function(e,t,r,n){var i=this;return S(this.configuration).moveFood(e,t,r,n).then((function(e){return e(i.axios,i.basePath)}))},t.prototype.moveKeyword=function(e,t,r,n){var i=this;return S(this.configuration).moveKeyword(e,t,r,n).then((function(e){return e(i.axios,i.basePath)}))},t.prototype.partialUpdateBookmarkletImport=function(e,t,r){var n=this;return S(this.configuration).partialUpdateBookmarkletImport(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateCookLog=function(e,t,r){var n=this;return S(this.configuration).partialUpdateCookLog(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateFood=function(e,t,r){var n=this;return S(this.configuration).partialUpdateFood(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateImportLog=function(e,t,r){var n=this;return S(this.configuration).partialUpdateImportLog(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateIngredient=function(e,t,r){var n=this;return S(this.configuration).partialUpdateIngredient(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateKeyword=function(e,t,r){var n=this;return S(this.configuration).partialUpdateKeyword(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateMealPlan=function(e,t,r){var n=this;return S(this.configuration).partialUpdateMealPlan(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateMealType=function(e,t,r){var n=this;return S(this.configuration).partialUpdateMealType(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateRecipe=function(e,t,r){var n=this;return S(this.configuration).partialUpdateRecipe(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateRecipeBook=function(e,t,r){var n=this;return S(this.configuration).partialUpdateRecipeBook(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateRecipeBookEntry=function(e,t,r){var n=this;return S(this.configuration).partialUpdateRecipeBookEntry(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateShoppingList=function(e,t,r){var n=this;return S(this.configuration).partialUpdateShoppingList(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateShoppingListEntry=function(e,t,r){var n=this;return S(this.configuration).partialUpdateShoppingListEntry(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateShoppingListRecipe=function(e,t,r){var n=this;return S(this.configuration).partialUpdateShoppingListRecipe(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateStep=function(e,t,r){var n=this;return S(this.configuration).partialUpdateStep(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateStorage=function(e,t,r){var n=this;return S(this.configuration).partialUpdateStorage(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateSupermarket=function(e,t,r){var n=this;return S(this.configuration).partialUpdateSupermarket(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateSupermarketCategory=function(e,t,r){var n=this;return S(this.configuration).partialUpdateSupermarketCategory(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateSupermarketCategoryRelation=function(e,t,r){var n=this;return S(this.configuration).partialUpdateSupermarketCategoryRelation(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateSync=function(e,t,r){var n=this;return S(this.configuration).partialUpdateSync(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateUnit=function(e,t,r){var n=this;return S(this.configuration).partialUpdateUnit(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateUserFile=function(e,t,r,n,i,o){var a=this;return S(this.configuration).partialUpdateUserFile(e,t,r,n,i,o).then((function(e){return e(a.axios,a.basePath)}))},t.prototype.partialUpdateUserPreference=function(e,t,r){var n=this;return S(this.configuration).partialUpdateUserPreference(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.partialUpdateViewLog=function(e,t,r){var n=this;return S(this.configuration).partialUpdateViewLog(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.retrieveBookmarkletImport=function(e,t){var r=this;return S(this.configuration).retrieveBookmarkletImport(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveCookLog=function(e,t){var r=this;return S(this.configuration).retrieveCookLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveFood=function(e,t){var r=this;return S(this.configuration).retrieveFood(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveImportLog=function(e,t){var r=this;return S(this.configuration).retrieveImportLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveIngredient=function(e,t){var r=this;return S(this.configuration).retrieveIngredient(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveKeyword=function(e,t){var r=this;return S(this.configuration).retrieveKeyword(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveMealPlan=function(e,t){var r=this;return S(this.configuration).retrieveMealPlan(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveMealType=function(e,t){var r=this;return S(this.configuration).retrieveMealType(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveRecipe=function(e,t){var r=this;return S(this.configuration).retrieveRecipe(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveRecipeBook=function(e,t){var r=this;return S(this.configuration).retrieveRecipeBook(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveRecipeBookEntry=function(e,t){var r=this;return S(this.configuration).retrieveRecipeBookEntry(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveShoppingList=function(e,t){var r=this;return S(this.configuration).retrieveShoppingList(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveShoppingListEntry=function(e,t){var r=this;return S(this.configuration).retrieveShoppingListEntry(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveShoppingListRecipe=function(e,t){var r=this;return S(this.configuration).retrieveShoppingListRecipe(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveStep=function(e,t){var r=this;return S(this.configuration).retrieveStep(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveStorage=function(e,t){var r=this;return S(this.configuration).retrieveStorage(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveSupermarket=function(e,t){var r=this;return S(this.configuration).retrieveSupermarket(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveSupermarketCategory=function(e,t){var r=this;return S(this.configuration).retrieveSupermarketCategory(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveSupermarketCategoryRelation=function(e,t){var r=this;return S(this.configuration).retrieveSupermarketCategoryRelation(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveSync=function(e,t){var r=this;return S(this.configuration).retrieveSync(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveSyncLog=function(e,t){var r=this;return S(this.configuration).retrieveSyncLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveUnit=function(e,t){var r=this;return S(this.configuration).retrieveUnit(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveUser=function(e,t){var r=this;return S(this.configuration).retrieveUser(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveUserFile=function(e,t){var r=this;return S(this.configuration).retrieveUserFile(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveUserPreference=function(e,t){var r=this;return S(this.configuration).retrieveUserPreference(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.retrieveViewLog=function(e,t){var r=this;return S(this.configuration).retrieveViewLog(e,t).then((function(e){return e(r.axios,r.basePath)}))},t.prototype.updateBookmarkletImport=function(e,t,r){var n=this;return S(this.configuration).updateBookmarkletImport(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateCookLog=function(e,t,r){var n=this;return S(this.configuration).updateCookLog(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateFood=function(e,t,r){var n=this;return S(this.configuration).updateFood(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateImportLog=function(e,t,r){var n=this;return S(this.configuration).updateImportLog(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateIngredient=function(e,t,r){var n=this;return S(this.configuration).updateIngredient(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateKeyword=function(e,t,r){var n=this;return S(this.configuration).updateKeyword(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateMealPlan=function(e,t,r){var n=this;return S(this.configuration).updateMealPlan(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateMealType=function(e,t,r){var n=this;return S(this.configuration).updateMealType(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateRecipe=function(e,t,r){var n=this;return S(this.configuration).updateRecipe(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateRecipeBook=function(e,t,r){var n=this;return S(this.configuration).updateRecipeBook(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateRecipeBookEntry=function(e,t,r){var n=this;return S(this.configuration).updateRecipeBookEntry(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateShoppingList=function(e,t,r){var n=this;return S(this.configuration).updateShoppingList(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateShoppingListEntry=function(e,t,r){var n=this;return S(this.configuration).updateShoppingListEntry(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateShoppingListRecipe=function(e,t,r){var n=this;return S(this.configuration).updateShoppingListRecipe(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateStep=function(e,t,r){var n=this;return S(this.configuration).updateStep(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateStorage=function(e,t,r){var n=this;return S(this.configuration).updateStorage(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateSupermarket=function(e,t,r){var n=this;return S(this.configuration).updateSupermarket(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateSupermarketCategory=function(e,t,r){var n=this;return S(this.configuration).updateSupermarketCategory(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateSupermarketCategoryRelation=function(e,t,r){var n=this;return S(this.configuration).updateSupermarketCategoryRelation(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateSync=function(e,t,r){var n=this;return S(this.configuration).updateSync(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateUnit=function(e,t,r){var n=this;return S(this.configuration).updateUnit(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateUserFile=function(e,t,r,n,i,o){var a=this;return S(this.configuration).updateUserFile(e,t,r,n,i,o).then((function(e){return e(a.axios,a.basePath)}))},t.prototype.updateUserPreference=function(e,t,r){var n=this;return S(this.configuration).updateUserPreference(e,t,r).then((function(e){return e(n.axios,n.basePath)}))},t.prototype.updateViewLog=function(e,t,r){var n=this;return S(this.configuration).updateViewLog(e,t,r).then((function(e){return e(n.axios,n.basePath)}))}})(f)},"49f8":function(e,t,r){var n={"./de.json":"6ce2","./en.json":"edd4","./fr.json":"f693","./hy.json":"dfc6","./it.json":"0825","./nl.json":"a625","./sv.json":"4c5b","./zh_Hans.json":"dc43","./zh_Hant.json":"2165"};function i(e){var t=o(e);return r(t)}function o(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=o,e.exports=i,i.id="49f8"},"4c5b":function(e){e.exports=JSON.parse('{"import_running":"Import pågår, var god vänta!","all_fields_optional":"Alla rutor är valfria och kan lämnas tomma.","convert_internal":"Konvertera till internt recept","Log_Recipe_Cooking":"Logga tillagningen av receptet","External_Recipe_Image":"Externt receptbild","Add_to_Book":"Lägg till i kokbok","Add_to_Shopping":"Lägg till i handelslista","Add_to_Plan":"Lägg till i matsedel","Step_start_time":"Steg starttid","Select_Book":"Välj kokbok","Recipe_Image":"Receptbild","Import_finished":"Importering klar","View_Recipes":"Visa recept","Log_Cooking":"Logga tillagning","Proteins":"Protein","Fats":"Fett","Carbohydrates":"Kolhydrater","Calories":"Kalorier","Nutrition":"Näringsinnehåll","Date":"Datum","Share":"Dela","Export":"Exportera","Rating":"Betyg","Close":"Stäng","Add":"Lägg till","Ingredients":"Ingredienser","min":"min","Servings":"Portioner","Waiting":"Väntan","Preparation":"Förberedelse","Edit":"Redigera","Open":"Öppna","Save":"Spara","Step":"Steg","Search":"Sök","Import":"Importera","Print":"Skriv ut","Information":"Information"}')},"52d7":function(e,t,r){},6369:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s}));var n=r("d4ec"),i=r("ade3"),o=r("9225"),a=function e(){Object(n["a"])(this,e)};Object(i["a"])(a,"TREE",{list:{params:["query","root","tree","page","pageSize"],config:{root:{default:{function:"CONDITIONAL",check:"query",operator:"not_exist",true:0,false:void 0}},tree:{default:void 0}}},delete:{form:{instruction:{form_field:!0,type:"instruction",function:"translate",phrase:"del_confimation_tree",params:[{token:"source",from:"item1",attribute:"name"}]}}},move:{form:{target:{form_field:!0,type:"lookup",field:"target",list:"self",sticky_options:[{id:0,name:o["a"].t("tree_root")}]}}}}),Object(i["a"])(a,"FOOD",{name:o["a"].t("Food"),apiName:"Food",model_type:a.TREE,badges:{linked_recipe:!0},create:{params:[["name","description","recipe","ignore_shopping","supermarket_category"]],form:{name:{form_field:!0,type:"text",field:"name",label:o["a"].t("Name"),placeholder:""},description:{form_field:!0,type:"text",field:"description",label:o["a"].t("Description"),placeholder:""},recipe:{form_field:!0,type:"lookup",field:"recipe",list:"RECIPE",label:o["a"].t("Recipe")},shopping:{form_field:!0,type:"checkbox",field:"ignore_shopping",label:o["a"].t("Ignore_Shopping")},shopping_category:{form_field:!0,type:"lookup",field:"supermarket_category",list:"SHOPPING_CATEGORY",label:o["a"].t("Shopping_Category"),allow_create:!0}}}}),Object(i["a"])(a,"KEYWORD",{name:o["a"].t("Keyword"),apiName:"Keyword",model_type:a.TREE,badges:{icon:!0},create:{params:[["name","description","icon"]],form:{name:{form_field:!0,type:"text",field:"name",label:o["a"].t("Name"),placeholder:""},description:{form_field:!0,type:"text",field:"description",label:o["a"].t("Description"),placeholder:""},icon:{form_field:!0,type:"emoji",field:"icon",label:o["a"].t("Icon")}}}}),Object(i["a"])(a,"UNIT",{name:o["a"].t("Unit"),apiName:"Unit",create:{params:[["name","description"]],form:{name:{form_field:!0,type:"text",field:"name",label:o["a"].t("Name"),placeholder:""},description:{form_field:!0,type:"text",field:"description",label:o["a"].t("Description"),placeholder:""}}},move:!1}),Object(i["a"])(a,"SHOPPING_LIST",{}),Object(i["a"])(a,"RECIPE_BOOK",{name:o["a"].t("Recipe_Book"),apiName:"RecipeBook",create:{params:[["name","description","icon"]],form:{name:{form_field:!0,type:"text",field:"name",label:o["a"].t("Name"),placeholder:""},description:{form_field:!0,type:"text",field:"description",label:o["a"].t("Description"),placeholder:""},icon:{form_field:!0,type:"emoji",field:"icon",label:o["a"].t("Icon")}}}}),Object(i["a"])(a,"SHOPPING_CATEGORY",{name:o["a"].t("Shopping_Category"),apiName:"SupermarketCategory",create:{params:[["name","description"]],form:{name:{form_field:!0,type:"text",field:"name",label:o["a"].t("Name"),placeholder:""},description:{form_field:!0,type:"text",field:"description",label:o["a"].t("Description"),placeholder:""}}}}),Object(i["a"])(a,"RECIPE",{name:o["a"].t("Recipe"),apiName:"Recipe",list:{params:["query","keywords","foods","units","rating","books","keywordsOr","foodsOr","booksOr","internal","random","_new","page","pageSize","options"],config:{foods:{type:"string"},keywords:{type:"string"},books:{type:"string"}}}}),Object(i["a"])(a,"MEAL_PLAN",{name:o["a"].t("Meal_Plan"),apiName:"MealPlan",list:{params:["options"]}});var s=function e(){Object(n["a"])(this,e)};Object(i["a"])(s,"CREATE",{function:"create",form:{title:{function:"translate",phrase:"create_title",params:[{token:"type",from:"model",attribute:"name"}]},ok_label:o["a"].t("Save")}}),Object(i["a"])(s,"UPDATE",{function:"partialUpdate",form_title:{function:"translate",phrase:"edit_title",params:[{token:"type",from:"model",attribute:"name"}]}}),Object(i["a"])(s,"DELETE",{function:"destroy",params:["id"],form:{title:{function:"translate",phrase:"delete_title",params:[{token:"type",from:"model",attribute:"name"}]},ok_label:o["a"].t("Delete"),instruction:{form_field:!0,type:"instruction",label:{function:"translate",phrase:"delete_confirmation",params:[{token:"source",from:"item1",attribute:"name"}]}}}}),Object(i["a"])(s,"FETCH",{function:"retrieve",params:["id"]}),Object(i["a"])(s,"LIST",{function:"list",suffix:"s",params:["query","page","pageSize"],config:{query:{default:void 0},page:{default:1},pageSize:{default:25}}}),Object(i["a"])(s,"MERGE",{function:"merge",params:["source","target"],config:{source:{type:"string"},target:{type:"string"}},form:{title:{function:"translate",phrase:"merge_title",params:[{token:"type",from:"model",attribute:"name"}]},ok_label:o["a"].t("Merge"),instruction:{form_field:!0,type:"instruction",label:{function:"translate",phrase:"merge_selection",params:[{token:"source",from:"item1",attribute:"name"},{token:"type",from:"model",attribute:"name"}]}},target:{form_field:!0,type:"lookup",field:"target",list:"self"}}}),Object(i["a"])(s,"MOVE",{function:"move",params:["source","target"],config:{source:{type:"string"},target:{type:"string"}},form:{title:{function:"translate",phrase:"move_title",params:[{token:"type",from:"model",attribute:"name"}]},ok_label:o["a"].t("Move"),instruction:{form_field:!0,type:"instruction",label:{function:"translate",phrase:"move_selection",params:[{token:"source",from:"item1",attribute:"name"},{token:"type",from:"model",attribute:"name"}]}},target:{form_field:!0,type:"lookup",field:"target",list:"self"}}})},"6ce2":function(e){e.exports=JSON.parse('{"Import":"Importieren","import_running":"Import läuft, bitte warten!","Import_finished":"Import fertig","View_Recipes":"Rezepte Ansehen","Information":"Information","all_fields_optional":"Alle Felder sind optional und können leer gelassen werden.","convert_internal":"Zu internem Rezept wandeln","Log_Recipe_Cooking":"Kochen protokollieren","External_Recipe_Image":"Externes Rezept Bild","Add_to_Book":"Zu Buch hinzufügen","Add_to_Shopping":"Zu Einkaufsliste hinzufügen","Add_to_Plan":"Zu Plan hinzufügen","Step_start_time":"Schritt Startzeit","Select_Book":"Buch wählen","Recipe_Image":"Rezept Bild","Log_Cooking":"Kochen protokollieren","Proteins":"Proteine","Fats":"Fette","Carbohydrates":"Kohlenhydrate","Calories":"Kalorien","Nutrition":"Nährwerte","Keywords":"Stichwörter","Books":"Bücher","show_only_internal":"Nur interne Rezepte anzeigen","Ingredients":"Zutaten","min":"Min","Servings":"Portionen","Waiting":"Wartezeit","Preparation":"Vorbereitung","Edit":"Bearbeiten","Open":"Öffnen","Save":"Speichern","Step":"Schritt","Search":"Suchen","Print":"Drucken","New_Recipe":"Neues Rezept","Url_Import":"URL Import","Reset_Search":"Suche zurücksetzen","or":"oder","and":"und","Recently_Viewed":"Kürzlich angesehen","External":"Extern","Settings":"Einstellungen","Meal_Plan":"Speiseplan","Date":"Datum","Share":"Teilen","Export":"Exportieren","Rating":"Bewertung","Close":"Schließen","Add":"Hinzufügen","Copy":"Kopieren","New":"Neu","Categories":"Kategorien","Category":"Kategorie","Selected":"Ausgewählt","Supermarket":"Supermarkt","Files":"Dateien","Size":"Größe","success_fetching_resource":"Ressource erfolgreich abgerufen!","Download":"Herunterladen","Success":"Erfolgreich","err_fetching_resource":"Ein Fehler trat während dem Abrufen einer Ressource auf!","err_creating_resource":"Ein Fehler trat während dem Erstellen einer Ressource auf!","err_updating_resource":"Ein Fehler trat während dem Aktualisieren einer Ressource auf!","success_creating_resource":"Ressource erfolgreich erstellt!","success_updating_resource":"Ressource erfolgreich aktualisiert!","File":"Datei","Delete":"Löschen","err_deleting_resource":"Ein Fehler trat während dem Löschen einer Ressource auf!","Cancel":"Abbrechen","success_deleting_resource":"Ressource erfolgreich gelöscht!","Load_More":"Mehr laden","Ok":"Öffnen"}')},7:function(e,t,r){e.exports=r("08e2")},7885:function(e,t,r){"use strict";r("52d7")},9225:function(e,t,r){"use strict";r("159b"),r("d3b7"),r("ddb0"),r("ac1f"),r("466d");var n=r("a026"),i=r("a925");function o(){var e=r("49f8"),t={};return e.keys().forEach((function(r){var n=r.match(/([A-Za-z0-9-_]+)\./i);if(n&&n.length>1){var i=n[1];t[i]=e(r)}})),t}n["default"].use(i["a"]),t["a"]=new i["a"]({locale:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_I18N_LOCALE||"en",fallbackLocale:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_I18N_FALLBACK_LOCALE||"en",messages:o()})},a625:function(e){e.exports=JSON.parse('{"import_running":"Er wordt geïmporteerd, even geduld!","all_fields_optional":"Alle velden zijn optioneel en kunnen leeg gelaten worden.","convert_internal":"Zet om naar intern recept","Log_Recipe_Cooking":"Log Bereiding","External_Recipe_Image":"Externe Afbeelding Recept","Add_to_Book":"Voeg toe aan Boek","Add_to_Shopping":"Voeg toe aan Boodschappenlijst","Add_to_Plan":"Voeg toe aan Plan","Step_start_time":"Starttijd stap","Select_Book":"Selecteer Boek","Recipe_Image":"Afbeelding Recept","Import_finished":"Importeren gereed","View_Recipes":"Bekijk Recepten","Log_Cooking":"Log Bereiding","Proteins":"Eiwitten","Fats":"Vetten","Carbohydrates":"Koolhydraten","Calories":"Calorieën","Nutrition":"Voedingswaarde","Date":"Datum","Share":"Deel","Export":"Exporteren","Rating":"Beoordeling","Close":"Sluiten","Add":"Voeg toe","Ingredients":"Ingrediënten","min":"min","Servings":"Porties","Waiting":"Wachten","Preparation":"Bereiding","Edit":"Bewerken","Open":"Open","Save":"Opslaan","Step":"Stap","Search":"Zoeken","Import":"Importeer","Print":"Afdrukken","Information":"Informatie","Keywords":"Etiketten","Books":"Boeken","show_only_internal":"Toon alleen interne recepten","New_Recipe":"Nieuw Recept","Url_Import":"Importeer URL","Reset_Search":"Zoeken resetten","or":"of","and":"en","Recently_Viewed":"Recent bekeken","External":"Externe","Settings":"Instellingen","Meal_Plan":"Maaltijdplan","New":"Nieuw","Supermarket":"Supermarkt","Categories":"Categorieën","Category":"Categorie","Selected":"Geselecteerd","Copy":"Kopie","Link":"Link","Sort_by_new":"Sorteer op nieuw","Recipes_per_page":"Recepten per pagina","Files":"Bestanden","Size":"Grootte","File":"Bestand","err_fetching_resource":"Bij het ophalen van een hulpbron is een foutmelding opgetreden!","err_creating_resource":"Bij het maken van een hulpbron is een foutmelding opgetreden!","err_updating_resource":"Bij het updaten van een hulpbron is een foutmelding opgetreden!","success_fetching_resource":"Hulpbron is succesvol opgehaald!","success_creating_resource":"Hulpbron succesvol aangemaakt!","success_updating_resource":"Hulpbron succesvol geüpdatet!","Success":"Succes","Download":"Download","err_deleting_resource":"Bij het verwijderen van een hulpbron is een foutmelding opgetreden!","success_deleting_resource":"Hulpbron succesvol verwijderd!","Cancel":"Annuleer","Delete":"Verwijder","Ok":"Open","Load_More":"Laad meer","Manage_Books":"Beheer Boeken","Create":"Maak","Failure":"Storing","View":"Bekijk","Recipes":"Recepten","Move":"Verplaats","Parent":"Ouder","move_confirmation":"Verplaats {child} naar ouder {parent}","merge_confirmation":"Vervang {source} with {target}","move_selection":"Selecteer een ouder om {child} naar te verplaatsen.","merge_selection":"Vervang alle voorvallen van {source} door het type {type}.","Root":"Bron","show_split_screen":"Toon gesplitste weergave","New_Keyword":"Nieuw Etiket","Delete_Keyword":"Verwijder Etiket","Edit_Keyword":"Bewerk Etiket","Move_Keyword":"Verplaats Etiket","Hide_Keywords":"Verberg Etiketten","Hide_Recipes":"Verberg Recepten","Advanced Search Settings":"Geavanceerde zoekinstellingen","Merge":"Voeg samen","delete_confimation":"Weet je zeker dat je {kw} en zijn kinderen wil verwijderen?","Merge_Keyword":"Voeg Etiket samen"}')},d76c:function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[r("div",{staticClass:"col",staticStyle:{"text-align":"center"}},[r("img",{staticClass:"spinner-tandoor",style:{height:e.size+"vh"},attrs:{alt:"loading spinner",src:""}})])])},i=[],o=(r("a9e3"),{name:"LoadingSpinner",props:{recipe:Object,size:{type:Number,default:30}}}),a=o,s=r("2877"),c=Object(s["a"])(a,n,i,!1,null,null,null);t["a"]=c.exports},dc43:function(e){e.exports=JSON.parse('{"err_fetching_resource":"","err_creating_resource":"","err_updating_resource":"","err_deleting_resource":"","success_fetching_resource":"","success_creating_resource":"","success_updating_resource":"","success_deleting_resource":"","import_running":"","all_fields_optional":"","convert_internal":"","show_only_internal":"","Log_Recipe_Cooking":"","External_Recipe_Image":"外部菜谱图像","Add_to_Shopping":"添加到购物","Add_to_Plan":"添加到计划","Step_start_time":"","Sort_by_new":"","Recipes_per_page":"","Manage_Books":"管理书籍","Meal_Plan":"","Select_Book":"","Recipe_Image":"菜谱图像","Import_finished":"导入完成","View_Recipes":"","Log_Cooking":"","New_Recipe":"新菜谱","Url_Import":"导入网址","Reset_Search":"重置搜索","Recently_Viewed":"最近浏览","Load_More":"加载更多","Keywords":"关键字","Books":"书籍","Proteins":"蛋白质","Fats":"脂肪","Carbohydrates":"碳水化合物","Calories":"卡路里","Nutrition":"营养","Date":"日期","Share":"分享","Export":"导出","Copy":"拷贝","Rating":"评分","Close":"关闭","Link":"链接","Add":"添加","New":"新","Success":"成功","Failure":"失败","Ingredients":"材料","Supermarket":"超级市场","Categories":"分类","Category":"分类","Selected":"选定","min":"","Servings":"份量","Waiting":"等待","Preparation":"准备","External":"外部","Size":"大小","Files":"文件","File":"文件","Edit":"编辑","Cancel":"取消","Delete":"删除","Open":"打开","Ok":"打开","Save":"储存","Step":"步骤","Search":"搜索","Import":"导入","Print":"打印","Settings":"设置","or":"或","and":"与","Information":"更多资讯","Download":"下载","Create":"创立"}')},dfc6:function(e){e.exports=JSON.parse('{"err_fetching_resource":"","err_creating_resource":"","err_updating_resource":"","err_deleting_resource":"","success_fetching_resource":"","success_creating_resource":"","success_updating_resource":"","success_deleting_resource":"","import_running":"","all_fields_optional":"","convert_internal":"","show_only_internal":"","Log_Recipe_Cooking":"","External_Recipe_Image":"","Add_to_Book":"","Add_to_Shopping":"","Add_to_Plan":"","Step_start_time":"","Meal_Plan":"","Select_Book":"","Recipe_Image":"","Import_finished":"","View_Recipes":"","Log_Cooking":"","New_Recipe":"","Url_Import":"","Reset_Search":"","Recently_Viewed":"","Load_More":"","Keywords":"","Books":"","Proteins":"","Fats":"","Carbohydrates":"","Calories":"","Nutrition":"","Date":"","Share":"","Export":"","Copy":"","Rating":"","Close":"","Link":"","Add":"","New":"","Success":"","Ingredients":"","Supermarket":"","Categories":"","Category":"","Selected":"","min":"","Servings":"","Waiting":"","Preparation":"","External":"","Size":"","Files":"","File":"","Edit":"","Cancel":"","Delete":"","Open":"","Ok":"","Save":"","Step":"","Search":"","Import":"","Print":"","Settings":"","or":"","and":"","Information":"","Download":""}')},edd4:function(e){e.exports=JSON.parse('{"err_fetching_resource":"There was an error fetching a resource!","err_creating_resource":"There was an error creating a resource!","err_updating_resource":"There was an error updating a resource!","err_deleting_resource":"There was an error deleting a resource!","success_fetching_resource":"Successfully fetched a resource!","success_creating_resource":"Successfully created a resource!","success_updating_resource":"Successfully updated a resource!","success_deleting_resource":"Successfully deleted a resource!","step_time_minutes":"Step time in minutes","confirm_delete":"Are you sure you want to delete this {object}?","import_running":"Import running, please wait!","all_fields_optional":"All fields are optional and can be left empty.","convert_internal":"Convert to internal recipe","show_only_internal":"Show only internal recipes","show_split_screen":"Show split view","Log_Recipe_Cooking":"Log Recipe Cooking","External_Recipe_Image":"External Recipe Image","Add_to_Shopping":"Add to Shopping","Add_to_Plan":"Add to Plan","Step_start_time":"Step start time","Sort_by_new":"Sort by new","Recipes_per_page":"Recipes per Page","Show_as_header":"Show as header","Hide_as_header":"Hide as header","Copy_template_reference":"Copy template reference","Save_and_View":"Save & View","Manage_Books":"Manage Books","Meal_Plan":"Meal Plan","Select_Book":"Select Book","Recipe_Image":"Recipe Image","Import_finished":"Import finished","View_Recipes":"View Recipes","Log_Cooking":"Log Cooking","New_Recipe":"New Recipe","Url_Import":"Url Import","Reset_Search":"Reset Search","Recently_Viewed":"Recently Viewed","Load_More":"Load More","New_Keyword":"New Keyword","Delete_Keyword":"Delete Keyword","Edit_Keyword":"Edit Keyword","Edit_Recipe":"Edit Recipe","Move_Keyword":"Move Keyword","Merge_Keyword":"Merge Keyword","Hide_Keywords":"Hide Keywords","Hide_Recipes":"Hide Recipes","Move_Up":"Move up","Move_Down":"Move down","Step_Name":"Step Name","Step_Type":"Step Type","Make_Header":"Make_Header","Make_Ingredient":"Make_Ingredient","Enable_Amount":"Enable Amount","Disable_Amount":"Disable Amount","Add_Step":"Add Step","Keywords":"Keywords","Books":"Books","Proteins":"Proteins","Fats":"Fats","Carbohydrates":"Carbohydrates","Calories":"Calories","Nutrition":"Nutrition","Date":"Date","Share":"Share","Export":"Export","Copy":"Copy","Rating":"Rating","Close":"Close","Cancel":"Cancel","Link":"Link","Add":"Add","New":"New","Note":"Note","Success":"Success","Failure":"Failure","Ingredients":"Ingredients","Supermarket":"Supermarket","Categories":"Categories","Category":"Category","Selected":"Selected","min":"min","Servings":"Servings","Waiting":"Waiting","Preparation":"Preparation","External":"External","Size":"Size","Files":"Files","File":"File","Edit":"Edit","Delete":"Delete","Open":"Open","Ok":"Open","Save":"Save","Step":"Step","Search":"Search","Import":"Import","Print":"Print","Settings":"Settings","or":"or","and":"and","Information":"Information","Download":"Download","Create":"Create","Advanced Search Settings":"Advanced Search Settings","View":"View","Recipes":"Recipes","Move":"Move","Merge":"Merge","Parent":"Parent","delete_confirmation":"Are you sure that you want to delete {source}?","move_confirmation":"Move {child} to parent {parent}","merge_confirmation":"Replace {source} with {target}","move_selection":"Select a parent {type} to move {source} to.","merge_selection":"Replace all occurrences of {source} with the selected {type}.","Root":"Root","Ignore_Shopping":"Ignore Shopping","Shopping_Category":"Shopping Category","Edit_Food":"Edit Food","Move_Food":"Move Food","New_Food":"New Food","Hide_Food":"Hide Food","Delete_Food":"Delete Food","No_ID":"ID not found, cannot delete.","Meal_Plan_Days":"Future meal plans","merge_title":"Merge {type}","move_title":"Move {type}","Food":"Food","Recipe_Book":"Recipe Book","del_confirmation_tree":"Are you sure that you want to delete {source} and all of it\'s children?","delete_title":"Delete {type}","create_title":"New {type}","edit_title":"Edit {type}","Name":"Name","Description":"Description","Recipe":"Recipe","tree_root":"Root of Tree","Icon":"Icon","Unit":"Unit","No_Results":"No Results","New_Unit":"New Unit","Create_New_Shopping Category":"Create New Shopping Category","Create_New_Food":"Add New Food","Create_New_Keyword":"Add New Keyword","Create_New_Unit":"Add New Unit","and_up":"& Up","Instructions":"Instructions","Unrated":"Unrated","Time":"Time","Text":"Text"}')},f693:function(e){e.exports=JSON.parse('{"err_fetching_resource":"Il y a eu une erreur pour récupérer une ressource !","err_creating_resource":"Il y a eu une erreur pour créer une ressource !","err_updating_resource":"Il y a eu une erreur pour mettre à jour une ressource !","err_deleting_resource":"Il y a eu une erreur pour supprimer une ressource !","success_fetching_resource":"Ressource correctement récupérée !","success_creating_resource":"Ressource correctement créée !","success_updating_resource":"Ressource correctement mise à jour !","success_deleting_resource":"Ressource correctement supprimée !","import_running":"Importation en cours, veuillez patienter !","all_fields_optional":"Tous les champs sont optionnels et peuvent être laissés vides.","convert_internal":"Convertir en recette interne","show_only_internal":"Montrer uniquement les recettes internes","Log_Recipe_Cooking":"Marquer la recette comme cuisinée","External_Recipe_Image":"Image externe de recette","Add_to_Shopping":"Ajouter à la liste de courses","Add_to_Plan":"Ajouter au menu","Step_start_time":"Heure de départ de l\'étape","Sort_by_new":"Trier par nouveautés","Recipes_per_page":"Nombre de recettes par page","Manage_Books":"Gérer les favoris","Meal_Plan":"Menu de la semaine","Select_Book":"Sélectionnez livre","Recipe_Image":"Image de la recette","Import_finished":"Importation finie","View_Recipes":"Voir les recettes","Log_Cooking":"Marquer comme cuisiné","New_Recipe":"Nouvelle recette","Url_Import":"Importation de l\'url","Reset_Search":"Réinitialiser la recherche","Recently_Viewed":"Vu récemment","Load_More":"Charger plus","Keywords":"Mots-clés","Books":"Livres","Proteins":"Protéines","Fats":"Matières grasses","Carbohydrates":"Glucides","Calories":"Calories","Nutrition":"Informations nutritionnelles","Date":"Date","Share":"Partager","Export":"Exporter","Copy":"Copier","Rating":"Note","Close":"Fermer","Link":"Lien","Add":"Ajouter","New":"Nouveau","Success":"Réussite","Failure":"Échec","Ingredients":"Ingrédients","Supermarket":"Supermarché","Categories":"Catégories","Category":"Catégorie","Selected":"Sélectionné","min":"min","Servings":"Portions","Waiting":"Attente","Preparation":"Préparation","External":"Externe","Size":"Taille","Files":"Fichiers","File":"Fichier","Edit":"Modifier","Cancel":"Annuler","Delete":"Supprimer","Open":"Ouvrir","Ok":"Ouvrir","Save":"Sauvegarder","Step":"Étape","Search":"Rechercher","Import":"Importer","Print":"Imprimer","Settings":"Paramètres","or":"ou","and":"et","Information":"Information","Download":"Télécharger","Create":"Créer","show_split_screen":"Voir la vue séparée","New_Keyword":"Nouveau mot-clé","Delete_Keyword":"Supprimer mot-clé","Move_Keyword":"Déplacer mot-clé","Merge_Keyword":"Fusionner mots-clés","Hide_Recipes":"Cacher recettes","Advanced Search Settings":"Paramètres de recherche avancée","View":"Voir","Recipes":"Recettes","Move":"Déplacer","Merge":"Fusionner","Parent":"Parent","move_confirmation":"Déplacer {child} vers le parent {parent}","merge_confirmation":"Remplacer {source} par {target}","Root":"Racine","delete_confirmation":"Êtes-vous sûr de vouloir supprimer {source} ?","Shopping_Category":"Catégorie de courses","Ignore_Shopping":"Ignorer les courses","Edit_Food":"Modifier aliment","Move_Food":"Déplacer aliment","New_Food":"Nouvel aliment","Hide_Food":"Cacher l\'aliment","Delete_Food":"Supprimer l\'aliment","No_ID":"ID introuvable, il n\'a pas pu être supprimé.","Meal_Plan_Days":"Futurs menus","merge_title":"Fusionner {type}","Food":"Aliment","Recipe_Book":"Livre de recettes","delete_title":"Supprimer {type}","create_title":"Nouveau {type}","edit_title":"Modifier {type}","Name":"Nom","Description":"Description","Recipe":"Recette","tree_root":"Racine de l\'arbre","Edit_Keyword":"Modifier mot-clé","Hide_Keywords":"Cacher mots-clés","move_selection":"Sélectionner un parent {type} pour y déplacer {source}.","merge_selection":"Remplace toutes les occurrences de {source} par {type}.","move_title":"Déplacer {type}","del_confirmation_tree":"Êtes-vous sûr de vouloir supprimer {source} et tous ses enfants ?"}')},fa7d:function(e,t,r){"use strict";r.d(t,"f",(function(){return g})),r.d(t,"j",(function(){return j})),r.d(t,"e",(function(){return y})),r.d(t,"c",(function(){return _})),r.d(t,"h",(function(){return S})),r.d(t,"d",(function(){return w})),r.d(t,"k",(function(){return P})),r.d(t,"g",(function(){return U})),r.d(t,"a",(function(){return C})),r.d(t,"i",(function(){return T})),r.d(t,"b",(function(){return F}));var n=r("b85c"),i=r("5530"),o=r("2909"),a=r("3835"),s=r("53ca"),c=r("d4ec"),u=r("bee2"),d=r("ade3"),p=(r("99af"),r("159b"),r("4fad"),r("caad"),r("2532"),r("b0c0"),r("b64b"),r("4de4"),r("7db0"),r("59e4")),l=r("9225");function h(e,t,r){var n=Math.floor(e),i=1,o=n+1,a=1;if(e!==n)while(i<=t&&a<=t){var s=(n+o)/(i+a);if(e===s){i+a<=t?(i+=a,n+=o,a=t+1):i>a?a=t+1:i=t+1;break}e<s?(o=n+o,a=i+a):(n+=o,i+=a)}if(i>t&&(i=a,n=o),!r)return[0,n,i];var c=Math.floor(n/i);return[c,n-c*i,i]}var f=r("2b2d"),b=r("bc3a"),v=r.n(b),m=r("6369"),O=r("a026"),g={methods:{makeToast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return j(e,t,r)}}};function j(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=new p["a"];n.$bvToast.toast(t,{title:e,variant:r,toaster:"b-toaster-top-center",solid:!0})}var y=function(){function e(){Object(c["a"])(this,e)}return Object(u["a"])(e,null,[{key:"makeStandardToast",value:function(t){switch(t){case e.SUCCESS_CREATE:j(l["a"].tc("Success"),l["a"].tc("success_creating_resource"),"success");break;case e.SUCCESS_FETCH:j(l["a"].tc("Success"),l["a"].tc("success_fetching_resource"),"success");break;case e.SUCCESS_UPDATE:j(l["a"].tc("Success"),l["a"].tc("success_updating_resource"),"success");break;case e.SUCCESS_DELETE:j(l["a"].tc("Success"),l["a"].tc("success_deleting_resource"),"success");break;case e.FAIL_CREATE:j(l["a"].tc("Failure"),l["a"].tc("err_creating_resource"),"danger");break;case e.FAIL_FETCH:j(l["a"].tc("Failure"),l["a"].tc("err_fetching_resource"),"danger");break;case e.FAIL_UPDATE:j(l["a"].tc("Failure"),l["a"].tc("err_updating_resource"),"danger");break;case e.FAIL_DELETE:j(l["a"].tc("Failure"),l["a"].tc("err_deleting_resource"),"danger");break}}}]),e}();Object(d["a"])(y,"SUCCESS_CREATE","SUCCESS_CREATE"),Object(d["a"])(y,"SUCCESS_FETCH","SUCCESS_FETCH"),Object(d["a"])(y,"SUCCESS_UPDATE","SUCCESS_UPDATE"),Object(d["a"])(y,"SUCCESS_DELETE","SUCCESS_DELETE"),Object(d["a"])(y,"FAIL_CREATE","FAIL_CREATE"),Object(d["a"])(y,"FAIL_FETCH","FAIL_FETCH"),Object(d["a"])(y,"FAIL_UPDATE","FAIL_UPDATE"),Object(d["a"])(y,"FAIL_DELETE","FAIL_DELETE");var _={methods:{_:function(e){return S(e)}}};function S(e){return window.gettext(e)}var w={methods:{resolveDjangoUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return P(e,t)}}};function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return window.Urls[e]();if("object"!=Object(s["a"])(t))return window.Urls[e](t);if("object"==Object(s["a"])(t)){if(1===t.length)return window.Urls[e](t);if(2===t.length)return window.Urls[e](t[0],t[1]);if(3===t.length)return window.Urls[e](t[0],t[1],t[2])}}function R(e){if(void 0!==window.USER_PREF)return window.USER_PREF[e]}function U(e,t){if(R("use_fractions")){var r="",n=h(e*t,10,!0);return n[0]>0&&(r+=n[0]),n[1]>0&&(r+=" <sup>".concat(n[1],"</sup>⁄<sub>").concat(n[2],"</sub>")),r}return k(e*t)}function k(e){var t=R("user_fractions")?R("user_fractions"):2;return+(Math.round(e+"e+".concat(t))+"e-".concat(t))}v.a.defaults.xsrfCookieName="csrftoken",v.a.defaults.xsrfHeaderName="X-CSRFTOKEN";var C={data:function(){return{Models:m["b"],Actions:m["a"]}},methods:{genericAPI:function(e,t,r){var n,i,o=I(e,t),s=o.function,c=null!==(n=null===o||void 0===o?void 0:o.config)&&void 0!==n?n:{},u=null!==(i=null===o||void 0===o?void 0:o.params)&&void 0!==i?i:[],d=[],p=void 0;u.forEach((function(e,t){if(Array.isArray(e)){p={};for(var n=0,i=Object.entries(r);n<i.length;n++){var o=Object(a["a"])(i[n],2),s=o[0],u=o[1];e.includes(s)&&(p[s]=L(null===c||void 0===c?void 0:c[s],u))}}else{var l;p=L(null===c||void 0===c?void 0:c[e],null!==(l=null===r||void 0===r?void 0:r[e])&&void 0!==l?l:void 0)}void 0===p&&(p=E(null===c||void 0===c?void 0:c[e],r)),d.push(p)}));var l=new f["a"];return l[s].apply(l,d)}}};function L(e,t){if(e)for(var r=0,n=Object.entries(e);r<n.length;r++){var i=Object(a["a"])(n[r],2),o=i[0],s=i[1];switch(o){case"type":switch(s){case"string":Array.isArray(t)?function(){var e=[];t.forEach((function(t){return e.push(String(t))})),t=e}():void 0!==t&&(t=String(t));break;case"integer":Array.isArray(t)?function(){var e=[];t.forEach((function(t){return e.push(parseInt(t))})),t=e}():void 0!==t&&(t=parseInt(t));break}break}}return t}function E(e,t){var r,n,i,o=void 0;if(o=null!==(r=null===e||void 0===e?void 0:e.default)&&void 0!==r?r:void 0,"object"===Object(s["a"])(o)){var a=!1;switch(o.function){case"CONDITIONAL":switch(o.operator){case"not_exist":a=(null!==(n=!(null!==t&&void 0!==t&&t[o.check]))&&void 0!==n?n:void 0)||0==(null===t||void 0===t||null===(i=t[o.check])||void 0===i?void 0:i.length),o=a?o.true:o.false;break}break}}return o}function I(e,t){var r,n,a,s,c,u,d,p=t.function;"partialUpdate"!==p||null!==e&&void 0!==e&&null!==(r=e[p])&&void 0!==r&&r.params||(e[p]={params:["id"].concat(Object(o["a"])(e.create.params))});var l={name:e.name,apiName:e.apiName};return l=Object(i["a"])(Object(i["a"])(Object(i["a"])(Object(i["a"])({},l),t),null===(n=e.model_type)||void 0===n?void 0:n[p]),null===e||void 0===e?void 0:e[p]),l.config=Object(i["a"])(Object(i["a"])(Object(i["a"])({},null===t||void 0===t?void 0:t.config),null===(a=e.model_type)||void 0===a||null===(s=a[p])||void 0===s?void 0:s.config),null===e||void 0===e||null===(c=e[p])||void 0===c?void 0:c.config),l["function"]=p+l.apiName+(null!==(u=null===(d=l)||void 0===d?void 0:d.suffix)&&void 0!==u?u:""),l}function T(e,t,r,n){var o,s,c,u,d,p,l,h,f,b,v=t.function,O=Object(i["a"])(Object(i["a"])(Object(i["a"])({},null===t||void 0===t?void 0:t.form),null===(o=e.model_type)||void 0===o||null===(s=o[v])||void 0===s?void 0:s.form),null===e||void 0===e||null===(c=e[v])||void 0===c?void 0:c.form);"partialUpdate"===v&&0==Object.keys(O).length&&(O=Object(i["a"])(Object(i["a"])(Object(i["a"])({},null===(u=m["a"].CREATE)||void 0===u?void 0:u.form),null===(d=e.model_type)||void 0===d||null===(p=d["create"])||void 0===p?void 0:p.form),null===e||void 0===e||null===(l=e["create"])||void 0===l?void 0:l.form),O["title"]=Object(i["a"])(Object(i["a"])(Object(i["a"])({},null===t||void 0===t?void 0:t.form_title),null===(h=e.model_type)||void 0===h||null===(f=h[v])||void 0===f?void 0:f.form_title),null===e||void 0===e||null===(b=e[v])||void 0===b?void 0:b.form_title));for(var g={fields:[]},j="",y=0,_=Object.entries(O);y<_.length;y++){var S,w,P,R,U,k=Object(a["a"])(_[y],2),C=k[0],L=k[1];if(null!==L&&void 0!==L&&L.function)switch(L.function){case"translate":j=x(L,e,r,n)}else j=L;if(null!==(S=j)&&void 0!==S&&S.form_field)j["value"]=null!==(w=null===r||void 0===r?void 0:r[null===(P=j)||void 0===P?void 0:P.field])&&void 0!==w?w:void 0,g.fields.push(Object(i["a"])(Object(i["a"])({},j),{label:x(null===(R=j)||void 0===R?void 0:R.label,e,r,n),placeholder:x(null===(U=j)||void 0===U?void 0:U.placeholder,e,r,n)}));else g[C]=j}return g}function x(e,t,r,n){if("object"!==Object(s["a"])(e))return e;var i=e.phrase,o={},a=void 0;return null===e||void 0===e||e.params.forEach((function(e,i){switch(e.from){case"item1":a=r;break;case"item2":a=n;break;case"model":a=t}o[e.token]=a[e.attribute]})),l["a"].t(i,o)}var F={methods:{findCard:function(e,t){var r,i=null!==(r=null===t||void 0===t?void 0:t.length)&&void 0!==r?r:0;if(0==i)return!1;var o=t.filter((function(t){return t.id==e}));if(1==o.length)return o[0];if(0==o.length){var a,s=Object(n["a"])(t.filter((function(e){return 1==e.show_children})));try{for(s.s();!(a=s.n()).done;){var c=a.value;if(o=this.findCard(e,c.children),o)return o}}catch(u){s.e(u)}finally{s.f()}}else console.log("something terrible happened")},destroyCard:function(e,t){var r,n=this.findCard(e,t),i=null!==(r=null===n||void 0===n?void 0:n.parent)&&void 0!==r?r:void 0;if(i){var o=this.findCard(i,t);if(o&&(O["default"].set(o,"numchild",o.numchild-1),o.show_children)){var a=o.children.indexOf(o.children.find((function(t){return t.id===e})));O["default"].delete(o.children,a)}}return t.filter((function(t){return t.id!=e}))},refreshCard:function(e,t){var r,n={},i=void 0;if(n=this.findCard(e.id,t),n&&(i=t.indexOf(t.find((function(e){return e.id===n.id}))),O["default"].set(t,i,e)),null!==(r=n)&&void 0!==r&&r.parent){var o=this.findCard(n.parent,t);o&&o.show_children&&(i=o.children.indexOf(o.children.find((function(e){return e.id===n.id}))),O["default"].set(o.children,i,e))}}}}}}); |