1 line
232 KiB
JavaScript
1 line
232 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={meal_plan_view: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([9,"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}","Unrated":"Senza valutazione","New_Unit":"Nuova unità di misura","move_title":"Sposta {type}","Food":"Alimento","Delete_Food":"Elimina alimento","Edit_Food":"Modifica alimento","Move_Food":"Sposta alimento","New_Food":"Nuovo alimento","Hide_Food":"Nascondi alimento","merge_title":"Unisci {type}"}')},"0aa0":function(e,t,r){},"118a":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tr",{on:{click:function(t){return e.$emit("checked-state-changed",e.ingredient)}}},[e.ingredient.is_header?[r("td",{attrs:{colspan:"5"}},[r("b",[e._v(e._s(e.ingredient.note))])])]:[e.detailed?r("td",{staticClass:"d-print-non"},[e.ingredient.checked?r("i",{staticClass:"far fa-check-circle text-success"}):e._e(),e.ingredient.checked?e._e():r("i",{staticClass:"far fa-check-circle text-primary"})]):e._e(),r("td",[0!==e.ingredient.amount?r("span",{domProps:{innerHTML:e._s(e.calculateAmount(e.ingredient.amount))}}):e._e()]),r("td",[null===e.ingredient.unit||e.ingredient.no_amount?e._e():r("span",[e._v(e._s(e.ingredient.unit.name))])]),r("td",[null!==e.ingredient.food?[null!==e.ingredient.food.recipe?r("a",{attrs:{href:e.resolveDjangoUrl("view_recipe",e.ingredient.food.recipe),target:"_blank",rel:"noopener noreferrer"}},[e._v(e._s(e.ingredient.food.name))]):e._e(),null===e.ingredient.food.recipe?r("span",[e._v(e._s(e.ingredient.food.name))]):e._e()]:e._e()],2),e.detailed?r("td",[e.ingredient.note?r("div",[e.ingredient.note.length>15?r("span",{directives:[{name:"b-popover",rawName:"v-b-popover.hover",value:e.ingredient.note,expression:"ingredient.note",modifiers:{hover:!0}}],staticClass:"d-print-none touchable"},[r("i",{staticClass:"far fa-comment"})]):r("span",[e._v(" "+e._s(e.ingredient.note)+" ")]),r("div",{staticClass:"d-none d-print-block"},[r("i",{staticClass:"far fa-comment-alt d-print-none"}),e._v(" "+e._s(e.ingredient.note)+" ")])]):e._e()]):e._e()]],2)},i=[],o=(r("a9e3"),r("fa7d")),a={name:"Ingredient",props:{ingredient:Object,ingredient_factor:{type:Number,default:1},detailed:{type:Boolean,default:!0}},mixins:[o["d"]],data:function(){return{checked:!1}},methods:{calculateAmount:function(e){return Object(o["g"])(e,this.ingredient_factor)}}},s=a,c=(r("1efb"),r("2877")),u=Object(c["a"])(s,n,i,!1,null,"18b1d8a0",null);t["a"]=u.exports},"1efb":function(e,t,r){"use strict";r("fe16")},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 k}));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),m="https://example.com",v=function(e,t,r){if(null===r||void 0===r)throw new b(t,"Required parameter "+t+" was null or undefined when calling "+e+".")},j=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()},O=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||""},g=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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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 v("createUserFile","name",r),t="/api/user-file/",s=new URL(t,m),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",j(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:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"POST"},o),n),s={},c={},s["Content-Type"]="application/json",j(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=O(r,a,e),[2,{url:g(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 v("destroyBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroySupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroySupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroySupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroySync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyUserFile","id",r),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("destroyViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"DELETE"},o),n),s={},c={},j(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:g(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 v("imageRecipe","id",r),t="/api/recipe/{id}/image/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),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",j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),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),j(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:g(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,m),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),j(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:g(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,m),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),j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),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),j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(n),options:o}]}))}))},listRecipes:function(r,n,i,o,a,s,c,u,p,l,h,f,b,v,O){return void 0===O&&(O={}),Object(d["b"])(t,void 0,Promise,(function(){var t,y,_,S,k,w,P;return Object(d["d"])(this,(function(R){return t="/api/recipe/",y=new URL(t,m),e&&(_=e.baseOptions),S=Object(d["a"])(Object(d["a"])({method:"GET"},_),O),k={},w={},void 0!==r&&(w["query"]=r),void 0!==n&&(w["keywords"]=n),void 0!==i&&(w["foods"]=i),void 0!==o&&(w["units"]=o),void 0!==a&&(w["rating"]=a),void 0!==s&&(w["books"]=s),void 0!==c&&(w["keywords_or"]=c),void 0!==u&&(w["foods_or"]=u),void 0!==p&&(w["books_or"]=p),void 0!==l&&(w["internal"]=l),void 0!==h&&(w["random"]=h),void 0!==f&&(w["new"]=f),void 0!==b&&(w["page"]=b),void 0!==v&&(w["page_size"]=v),j(y,w,O.query),P=_&&_.headers?_.headers:{},S.headers=Object(d["a"])(Object(d["a"])(Object(d["a"])({},k),P),O.headers),[2,{url:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),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),j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),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),j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),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),j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),e&&(i=e.baseOptions),o=Object(d["a"])(Object(d["a"])({method:"GET"},i),r),a={},s={},j(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:g(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,m),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),j(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:g(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 v("mergeFood","id",r),v("mergeFood","target",n),t="/api/food/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(r))).replace("{target}",encodeURIComponent(String(n))),a=new URL(t,m),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",j(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=O(i,c,e),[2,{url:g(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 v("mergeKeyword","id",r),v("mergeKeyword","target",n),t="/api/keyword/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(r))).replace("{target}",encodeURIComponent(String(n))),a=new URL(t,m),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",j(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=O(i,c,e),[2,{url:g(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 v("mergeUnit","id",r),v("mergeUnit","target",n),t="/api/unit/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(r))).replace("{target}",encodeURIComponent(String(n))),a=new URL(t,m),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",j(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=O(i,c,e),[2,{url:g(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 v("moveFood","id",r),v("moveFood","parent",n),t="/api/food/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(r))).replace("{parent}",encodeURIComponent(String(n))),a=new URL(t,m),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",j(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=O(i,c,e),[2,{url:g(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 v("moveKeyword","id",r),v("moveKeyword","parent",n),t="/api/keyword/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(r))).replace("{parent}",encodeURIComponent(String(n))),a=new URL(t,m),e&&(s=e.baseOptions),c=Object(d["a"])(Object(d["a"])({method:"PUT"},s),o),u={},p={},u["Content-Type"]="application/json",j(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=O(i,c,e),[2,{url:g(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 v("partialUpdateBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateSupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateSupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateSupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateSync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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(O){return v("partialUpdateUserFile","id",r),v("partialUpdateUserFile","name",n),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),c=new URL(t,m),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",j(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:g(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 v("partialUpdateUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("partialUpdateViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PATCH"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("retrieveBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveSupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveSupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveSupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveSync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveSyncLog","id",r),t="/api/sync-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveUser","id",r),t="/api/user-name/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveUserFile","id",r),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("retrieveViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),i=new URL(t,m),e&&(o=e.baseOptions),a=Object(d["a"])(Object(d["a"])({method:"GET"},o),n),s={},c={},j(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:g(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 v("updateBookmarkletImport","id",r),t="/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateCookLog","id",r),t="/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateFood","id",r),t="/api/food/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateImportLog","id",r),t="/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateIngredient","id",r),t="/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateKeyword","id",r),t="/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateMealPlan","id",r),t="/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateMealType","id",r),t="/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateRecipe","id",r),t="/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateRecipeBook","id",r),t="/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateRecipeBookEntry","id",r),t="/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateShoppingList","id",r),t="/api/shopping-list/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateShoppingListEntry","id",r),t="/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateShoppingListRecipe","id",r),t="/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateStep","id",r),t="/api/step/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateStorage","id",r),t="/api/storage/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateSupermarket","id",r),t="/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateSupermarketCategory","id",r),t="/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateSupermarketCategoryRelation","id",r),t="/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateSync","id",r),t="/api/sync/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateUnit","id",r),t="/api/unit/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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(O){return v("updateUserFile","id",r),v("updateUserFile","name",n),t="/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(r))),c=new URL(t,m),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",j(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:g(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 v("updateUserPreference","user",r),t="/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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 v("updateViewLog","id",r),t="/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(r))),o=new URL(t,m),e&&(a=e.baseOptions),s=Object(d["a"])(Object(d["a"])({method:"PUT"},a),i),c={},u={},c["Content-Type"]="application/json",j(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=O(n,s,e),[2,{url:g(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,m,v,j,O){return Object(d["b"])(this,void 0,Promise,(function(){var g;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,m,v,j,O)];case 1:return g=d.sent(),[2,y(g,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)]}}))}))}}},k=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,m,v){return n.listRecipes(e,i,o,a,s,c,u,d,p,l,h,f,b,m,v).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)},"2df9":function(e,t,r){"use strict";r("0aa0")},4678:function(e,t,r){var n={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf755","./tlh.js":"cf755","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};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="4678"},"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"}')},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,paginated:!0,move:!0,merge:!0,badges:{linked_recipe:!0},tags:[{field:"supermarket_category",label:"name",color:"info"}],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,paginated:!0,move:!0,merge:!0,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",paginated:!0,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:""}}},merge:!0}),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,"SHOPPING_CATEGORY_RELATION",{name:o["a"].t("Shopping_Category"),apiName:"SupermarketCategory",create:{params:[["category","supermarket","order"]],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,"SUPERMARKET",{name:o["a"].t("Supermarket"),apiName:"Supermarket",tags:[{field:"category_to_supermarket",label:"category::name",color:"info"}],create:{params:[["name","description","category_to_supermarket"]],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"}}})},"6b0a":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("b-card",{directives:[{name:"hover",rawName:"v-hover"}],attrs:{"no-body":""}},[r("a",{attrs:{href:e.clickUrl()}},[r("b-card-img-lazy",{staticStyle:{height:"15vh","object-fit":"cover"},attrs:{src:e.recipe_image,alt:e.$t("Recipe_Image"),top:""}}),r("div",{staticClass:"card-img-overlay h-100 d-flex flex-column justify-content-right float-right text-right pt-2 pr-1"},[r("a",[null!==e.recipe?r("recipe-context-menu",{staticClass:"float-right",attrs:{recipe:e.recipe}}):e._e()],1)]),0!==e.recipe.waiting_time?r("div",{staticClass:"card-img-overlay w-50 d-flex flex-column justify-content-left float-left text-left pt-2"},[r("b-badge",{staticClass:"mt-1 font-weight-normal",attrs:{pill:"",variant:"light"}},[r("i",{staticClass:"fa fa-clock"}),e._v(" "+e._s(e.recipe.working_time)+" "+e._s(e.$t("min"))+" ")]),r("b-badge",{staticClass:"mt-1 font-weight-normal",attrs:{pill:"",variant:"secondary"}},[r("i",{staticClass:"fa fa-pause"}),e._v(" "+e._s(e.recipe.waiting_time)+" "+e._s(e.$t("min"))+" ")])],1):e._e()],1),r("b-card-body",{staticClass:"p-4"},[r("h6",[r("a",{attrs:{href:e.clickUrl()}},[null!==e.recipe?[e._v(e._s(e.recipe.name))]:[e._v(e._s(e.meal_plan.title))]],2)]),r("b-card-text",{staticStyle:{"text-overflow":"ellipsis"}},[null!==e.recipe?[r("recipe-rating",{attrs:{recipe:e.recipe}}),null!==e.recipe.description?[e.recipe.description.length>e.text_length?r("span",[e._v(" "+e._s(e.recipe.description.substr(0,e.text_length)+"…")+" ")]):e._e(),e.recipe.description.length<=e.text_length?r("span",[e._v(" "+e._s(e.recipe.description)+" ")]):e._e()]:e._e(),r("p",{staticClass:"mt-1"},[r("last-cooked",{attrs:{recipe:e.recipe}}),r("keywords",{staticStyle:{"margin-top":"4px"},attrs:{recipe:e.recipe}})],1),e.detailed?r("div",{staticClass:"row mt-3"},[r("div",{staticClass:"col-md-12"},[r("h6",{staticClass:"card-title"},[r("i",{staticClass:"fas fa-pepper-hot"}),e._v(" "+e._s(e.$t("Ingredients")))]),r("table",{staticClass:"table table-sm text-wrap"},[e._l(e.recipe.steps,(function(t){return[e._l(t.ingredients,(function(e){return[r("Ingredient",{key:e.id,attrs:{detailed:!1,ingredient:e,ingredient_factor:1}})]}))]}))],2)])]):e._e(),e.recipe.internal?e._e():r("b-badge",{attrs:{pill:"",variant:"info"}},[e._v(e._s(e.$t("External")))])]:[e._v(e._s(e.meal_plan.note))]],2)],1),void 0!==e.footer_text?r("b-card-footer",[r("i",{class:e.footer_icon}),e._v(" "+e._s(e.footer_text)+" ")]):e._e()],1)},i=[],o=r("fc0d"),a=r("81d5"),s=r("fa7d"),c=r("ca5b"),u=r("c1df"),d=r.n(u),p=r("a026"),l=r("830a"),h=r("118a");p["default"].prototype.moment=d.a;var f={name:"RecipeCard",mixins:[s["d"]],components:{LastCooked:l["a"],RecipeRating:c["a"],Keywords:a["a"],RecipeContextMenu:o["a"],Ingredient:h["a"]},props:{recipe:Object,meal_plan:Object,footer_text:String,footer_icon:String},data:function(){return{recipe_image:""}},computed:{detailed:function(){return void 0!==this.recipe.steps},text_length:function(){return this.detailed?200:120}},mounted:function(){null==this.recipe||null===this.recipe.image?this.recipe_image=window.IMAGE_PLACEHOLDER:this.recipe_image=this.recipe.image},methods:{clickUrl:function(){return null!==this.recipe?Object(s["k"])("view_recipe",this.recipe.id):Object(s["k"])("view_plan_entry",this.meal_plan.id)}},directives:{hover:{inserted:function(e){e.addEventListener("mouseenter",(function(){e.classList.add("shadow")})),e.addEventListener("mouseleave",(function(){e.classList.remove("shadow")}))}}}},b=f,m=r("2877"),v=Object(m["a"])(b,n,i,!1,null,"251089d7",null);t["a"]=v.exports},"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"}')},"7c15":function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return s}));var n=r("bc3a"),i=r.n(n),o=r("fa7d");function a(e){var t=Object(o["k"])("api:recipe-detail",e);return void 0!==window.SHARE_UID&&(t+="?share="+window.SHARE_UID),i.a.get(t).then((function(e){return e.data})).catch((function(e){c(e,"There was an error loading a resource!","danger")}))}function s(e){return i.a.post(Object(o["k"])("api:cooklog-list"),e).then((function(e){Object(o["j"])("Saved","Cook Log entry saved!","success")})).catch((function(e){c(e,"There was an error creating a resource!","danger")}))}function c(e,t){if("response"in e){console.log(e.response);var r="statusText"in e.response?e.response.statusText:Object(o["h"])("Error");t+="\n\n"+JSON.stringify(e.response.data),Object(o["j"])(r,t,"danger")}else Object(o["j"])("Error",t,"danger"),console.log(e)}i.a.defaults.xsrfCookieName="csrftoken",i.a.defaults.xsrfHeaderName="X-CSRFTOKEN"},"81d5":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.recipe.keywords.length>0?r("div",e._l(e.recipe.keywords,(function(t){return r("span",{key:t.id,staticClass:"pl-1"},[r("b-badge",{staticClass:"font-weight-normal",attrs:{pill:"",variant:"light"}},[e._v(e._s(t.label))])],1)})),0):e._e()},i=[],o={name:"Keywords",props:{recipe:Object}},a=o,s=r("2877"),c=Object(s["a"])(a,n,i,!1,null,null,null);t["a"]=c.exports},"830a":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"pl-1"},[null!==e.recipe.last_cooked?r("b-badge",{staticClass:"font-weight-normal",attrs:{pill:"",variant:"primary"}},[r("i",{staticClass:"fas fa-utensils"}),e._v(" "+e._s(e.formatDate(e.recipe.last_cooked)))]):e._e()],1)},i=[],o=r("c1df"),a=r.n(o),s={name:"LastCooked",props:{recipe:Object},methods:{formatDate:function(e){return a.a.locale(window.navigator.language),a()(e).format("L")}}},c=s,u=r("2877"),d=Object(u["a"])(c,n,i,!1,null,"293dcaf2",null);t["a"]=d.exports},9:function(e,t,r){e.exports=r("d315")},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 {type} om {source} 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","step_time_minutes":"Stap duur in minuten","confirm_delete":"Weet je zeker dat je dit {object} wil verwijderen?","Show_as_header":"Toon als koptekst","Hide_as_header":"Verberg als koptekst","Copy_template_reference":"Kopieer sjabloon verwijzing","Save_and_View":"Sla op & Bekijk","Edit_Recipe":"Bewerk Recept","Move_Up":"Verplaats omhoog","Move_Down":"Verplaats omlaag","Step_Name":"Stap Naam","Step_Type":"Stap Type","Make_Header":"Maak_Koptekst","Make_Ingredient":"Maak_Ingrediënt","Enable_Amount":"Schakel Hoeveelheid in","Disable_Amount":"Schakel Hoeveelheid uit","Add_Step":"Voeg Stap toe","Note":"Notitie","delete_confirmation":"Weet je zeker dat je {source} wil verwijderen?","Ignore_Shopping":"Negeer Boodschappen","Shopping_Category":"Boodschappen Categorie","Edit_Food":"Bewerk Eten","Move_Food":"Verplaats Eten","New_Food":"Nieuw Eten","Hide_Food":"Verberg Eten","Delete_Food":"Verwijder Eten","No_ID":"ID niet gevonden, verwijderen niet mogelijk.","Meal_Plan_Days":"Toekomstige maaltijdplannen","merge_title":"Voeg {type} samen","move_title":"Verplaats {type}","Food":"Eten"}')},b07c:function(e,t,r){},ca5b:function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e.recipe.rating>0?r("span",{staticClass:"d-inline"},[e._l(Math.floor(e.recipe.rating),(function(e){return r("i",{key:e,staticClass:"fas fa-star fa-xs text-primary"})})),e.recipe.rating%1>0?r("i",{staticClass:"fas fa-star-half-alt fa-xs text-primary"}):e._e(),e._l(5-Math.ceil(e.recipe.rating),(function(e){return r("i",{key:e+10,staticClass:"far fa-star fa-xs text-secondary"})}))],2):e._e()])},i=[],o={name:"RecipeRating",props:{recipe:Object}},a=o,s=r("2877"),c=Object(s["a"])(a,n,i,!1,null,"7151a4e2",null);t["a"]=c.exports},d315: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("div",{staticClass:"row"},[r("div",{staticClass:"col-md-2 calender-options"},[r("b-form",[r("b-form-group",{attrs:{id:"UomInput",label:e.$t("Period"),description:e.$t("PeriodToShow"),"label-for":"UomInput"}},[r("b-form-select",{attrs:{id:"UomInput",options:e.options.displayPeriodUom},model:{value:e.settings.displayPeriodUom,callback:function(t){e.$set(e.settings,"displayPeriodUom",t)},expression:"settings.displayPeriodUom"}})],1),r("b-form-group",{attrs:{id:"PeriodInput",label:e.$t("PeriodCount"),description:e.$t("ShowHowManyPeriods"),"label-for":"PeriodInput"}},[r("b-form-select",{attrs:{id:"PeriodInput",options:e.options.displayPeriodCount},model:{value:e.settings.displayPeriodCount,callback:function(t){e.$set(e.settings,"displayPeriodCount",t)},expression:"settings.displayPeriodCount"}})],1),r("b-form-group",{attrs:{id:"DaysInput",label:e.$t("StartingDay"),description:e.$t("StartingDay"),"label-for":"DaysInput"}},[r("b-form-select",{attrs:{id:"DaysInput",options:e.dayNames},model:{value:e.settings.startingDayOfWeek,callback:function(t){e.$set(e.settings,"startingDayOfWeek",t)},expression:"settings.startingDayOfWeek"}})],1)],1),e._e()],1),r("div",{staticClass:"col-md-10 calender-parent"},[r("calendar-view",{staticClass:"theme-default",attrs:{"show-date":e.showDate,"enable-date-selection":!0,items:e.plan_items,"display-period-uom":e.settings.displayPeriodUom,"period-changed-callback":e.refreshData,"enable-drag-drop":!0,"item-content-height":e.item_height,"display-period-count":e.settings.displayPeriodCount,"starting-day-of-week":e.settings.startingDayOfWeek,"display-week-numbers":e.settings.displayWeekNumbers},on:{"date-selection-finish":e.createEntryRange,"click-item":e.entryClick,"click-date":e.createEntryClick,"drop-on-date":e.moveEntry},scopedSlots:e._u([{key:"item",fn:function(t){var n=t.value,i=t.weekStartDate,o=t.top;return[r("meal-plan-card",{attrs:{value:n,"week-start-date":i,top:o,detailed:e.detailed_items,item_height:e.item_height},on:{"move-left":function(t){return e.moveLeft(n)},"move-right":function(t){return e.moveRight(n)}}})]}},{key:"header",fn:function(t){var n=t.headerProps;return[r("calendar-view-header",{attrs:{"header-props":n},on:{input:e.setShowDate}})]}}])})],1)])])},o=[],a=(r("159b"),r("4de4"),r("8bb7"),r("be6a")),s=r("5f5b"),c=r("2b2d"),u=r("6b0a"),d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"hover",rawName:"v-hover"}],key:e.value.id,staticClass:"card cv-item meal-plan-card p-0",class:e.value.classes,style:"top:"+e.top+";height:"+e.item_height,attrs:{draggable:!0,"aria-grabbed":e.value==e.currentDragItem,title:e.title},on:{dragstart:function(t){return e.onDragItemStart(e.value,t)},click:function(t){return t.stopPropagation(),e.onClickItem(e.value,t)}}},[e.detailed?r("div",{staticClass:"card-header p-1 text-center text-primary border-bottom-0"},[r("span",{staticClass:"font-light"},[e._v(e._s(e.entry.entry.meal_type_name))])]):e._e(),e.detailed?r("div",{staticClass:"card-img-overlay h-100 d-flex flex-column justify-content-right float-right text-right p-0"},[r("a",[r("meal-plan-card-context-menu",{attrs:{entry:e.entry.entry},on:{"move-left":function(t){return e.$emit("move-left")},"move-right":function(t){return e.$emit("move-right")}}})],1)]):e._e(),e.detailed?r("div",{staticClass:"card-header p-1 text-center"},[r("span",{staticClass:"font-light"},[e._v(e._s(e.title))])]):e._e(),e.isRecipe&&e.detailed?r("b-img",{staticClass:"card-img-bottom",attrs:{fluid:"",src:e.entry.entry.recipe.image}}):e._e(),!e.isRecipe&&e.detailed?r("div",{staticClass:"card-body p-1"},[e._v(" "+e._s(e.entry.entry.note)+" ")]):e._e(),e.detailed?e._e():r("div",{staticClass:"row p-1 flex-nowrap"},[e._m(0),r("div",{staticClass:"col-10 d-inline-block text-truncate",style:"max-height:"+e.item_height},[r("span",{staticClass:"font-light"},[e._v(e._s(e.title))])])])],1)},p=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"col-2"},[r("span",{staticClass:"font-light text-center"},[e._v("🍔")])])}],l=(r("d3b7"),r("25f0"),function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("b-dropdown",{attrs:{variant:"link","toggle-class":"text-decoration-none text-body pr-1",right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[r("i",{staticClass:"fas fa-ellipsis-v fa-lg"})]},proxy:!0}])},[r("b-dropdown-form",{staticClass:"p-1"},[r("b-button",{staticClass:"float-left",attrs:{variant:"primary",size:"sm"},on:{click:e.moveLeft}},[r("i",{staticClass:"fas fa-arrow-left fa-lg"})]),r("b-button",{staticClass:"float-right",attrs:{variant:"primary",size:"sm"},on:{click:e.moveRight}},[r("i",{staticClass:"fas fa-arrow-right fa-lg"})])],1)],1)],1)}),h=[],f={name:"MealPlanCardContextMenu",props:{entry:Object},methods:{moveLeft:function(){this.$emit("move-left")},moveRight:function(){this.$emit("move-right")}}},b=f,m=r("2877"),v=Object(m["a"])(b,l,h,!1,null,null,null),j=v.exports,O={name:"MealPlanCard.vue",components:{MealPlanCardContextMenu:j},props:{value:Object,weekStartDate:Date,top:String,detailed:Boolean,item_height:String},data:function(){return{dateSelectionOrigin:null,currentDragItem:null}},computed:{entry:function(){return this.value.originalItem},title:function(){return this.isRecipe?this.entry.entry.recipe_name:this.entry.entry.title},isRecipe:function(){return"recipe_name"in this.entry.entry}},methods:{onClickItem:function(e,t){this.$root.$emit("click-item",e,t)},onDragItemStart:function(e,t){return t.dataTransfer.setData("text",e.id.toString()),this.$root.$emit("dragUpdate",e,t),!0}},directives:{hover:{inserted:function(e){e.addEventListener("mouseenter",(function(){e.classList.add("shadow")})),e.addEventListener("mouseleave",(function(){e.classList.remove("shadow")}))}}}},g=O,y=(r("2df9"),Object(m["a"])(g,d,p,!1,null,"6ae25baa",null)),_=y.exports,S=r("c1df"),k=r.n(S),w=r("fa7d");n["default"].prototype.moment=k.a,n["default"].use(s["a"]);var P={name:"MealPlanView",components:{MealPlanCard:_,RecipeCard:u["a"],CalendarView:a["b"],CalendarViewHeader:a["c"]},mixins:[a["a"]],data:function(){return{showDate:new Date,plan_entries:[],recipe_viewed:{},settings:{displayPeriodUom:"week",displayPeriodCount:2,startingDayOfWeek:1,displayWeekNumbers:!0},meal_types:[],options:{displayPeriodUom:[{text:this.$t("Week"),value:"week"},{text:this.$t("Month"),value:"month"},{text:this.$t("Year"),value:"year"}],displayPeriodCount:[1,2,3]}}},computed:{plan_items:function(){var e=this,t=[];return this.plan_entries.forEach((function(r){t.push(e.buildItem(r))})),t},detailed_items:function(){return"week"===this.settings.displayPeriodUom},dayNames:function(){var e=[];return this.getFormattedWeekdayNames(this.userLocale,"long",0).forEach((function(t,r){e.push({text:t,value:r})})),e},userLocale:function(){return this.getDefaultBrowserLocale},item_height:function(){return"week"===this.settings.displayPeriodUom?"10rem":"1.6rem"}},methods:{setShowDate:function(e){this.showDate=e},createEntryRange:function(e){console.log(e)},createEntryClick:function(e){console.log(e)},findEntry:function(e){return this.plan_entries.filter((function(t){return t.id===e}))[0]},moveEntry:function(e,t){var r=this;this.plan_entries.forEach((function(n){n.id===e.id&&(n.date=t,r.saveEntry(n))}))},moveLeft:function(e){var t=this;this.plan_entries.forEach((function(r){r.id===e.id&&(r.date=k()(r.date).subtract(1,"d"),t.saveEntry(r))}))},moveRight:function(e){var t=this;this.plan_entries.forEach((function(r){r.id===e.id&&(r.date=k()(r.date).add(1,"d"),t.saveEntry(r))}))},entryClick:function(e){console.log(e);var t=this.findEntry(e.id);this.recipe_viewed=t.recipe},refreshData:function(){var e=this,t=new c["a"];t.listMealPlans().then((function(t){e.plan_entries=t.data})),t.listMealTypes().then((function(t){e.meal_types=t.data}))},saveEntry:function(e){e.date=k()(e.date).format("YYYY-MM-DD");var t=new c["a"];t.updateMealPlan(e.id,e).catch((function(e){w["e"].makeStandardToast(w["e"].FAIL_UPDATE)}))},buildItem:function(e){return{id:e.id,startDate:e.date,endDate:e.date,entry:e}}}},R=P,U=(r("ea4c"),Object(m["a"])(R,i,o,!1,null,null,null)),C=U.exports,L=r("9225");n["default"].config.productionTip=!1,new n["default"]({i18n:L["a"],render:function(e){return e(C)}}).$mount("#app")},d46a:function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("b-modal",{staticClass:"modal",attrs:{id:"id_modal_add_book_"+e.modal_id,title:e.$t("Manage_Books"),"ok-title":e.$t("Add"),"cancel-title":e.$t("Close")},on:{ok:function(t){return e.addToBook()},shown:e.loadBookEntries}},[r("ul",{staticClass:"list-group"},e._l(this.recipe_book_list,(function(t){return r("li",{key:t.id,staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e._v(" "+e._s(t.book_content.name)+" "),r("span",{staticClass:"btn btn-sm btn-danger",on:{click:function(r){return e.removeFromBook(t)}}},[r("i",{staticClass:"fa fa-trash-alt"})])])})),0),r("multiselect",{staticStyle:{"margin-top":"1vh"},attrs:{options:e.books_filtered,taggable:!0,"tag-placeholder":e.$t("Create"),placeholder:e.$t("Select_Book"),label:"name","track-by":"id",id:"id_books",multiple:!1,loading:e.books_loading},on:{tag:e.createBook,"search-change":e.loadBooks},model:{value:e.selected_book,callback:function(t){e.selected_book=t},expression:"selected_book"}})],1)],1)},i=[],o=(r("a9e3"),r("159b"),r("4de4"),r("8e5f")),a=r.n(o),s=r("c1df"),c=r.n(s),u=r("a026"),d=r("5f5b"),p=r("2b2d"),l=r("fa7d");u["default"].prototype.moment=c.a,u["default"].use(d["a"]);var h={name:"AddRecipeToBook",components:{Multiselect:a.a},props:{recipe:Object,modal_id:Number},data:function(){return{books:[],books_loading:!1,recipe_book_list:[],selected_book:null}},computed:{books_filtered:function(){var e=this,t=[];return this.books.forEach((function(r){0===e.recipe_book_list.filter((function(e){return e.book===r.id})).length&&t.push(r)})),t}},mounted:function(){},methods:{loadBooks:function(e){var t=this;this.books_loading=!0;var r=new p["a"];r.listRecipeBooks({query:{query:e}}).then((function(e){t.books=e.data.filter((function(e){return-1===t.recipe_book_list.indexOf(e)})),t.books_loading=!1}))},createBook:function(e){var t=this,r=new p["a"];r.createRecipeBook({name:e}).then((function(e){t.books.push(e.data),t.selected_book=e.data,l["e"].makeStandardToast(l["e"].SUCCESS_CREATE)}))},addToBook:function(){var e=this,t=new p["a"];t.createRecipeBookEntry({book:this.selected_book.id,recipe:this.recipe.id}).then((function(t){e.recipe_book_list.push(t.data),l["e"].makeStandardToast(l["e"].SUCCESS_CREATE)}))},removeFromBook:function(e){var t=this,r=new p["a"];r.destroyRecipeBookEntry(e.id).then((function(r){t.recipe_book_list=t.recipe_book_list.filter((function(t){return t.id!==e.id})),l["e"].makeStandardToast(l["e"].SUCCESS_DELETE)}))},loadBookEntries:function(){var e=this,t=new p["a"];t.listRecipeBookEntrys({query:{recipe:this.recipe.id}}).then((function(t){e.recipe_book_list=t.data,e.loadBooks("")}))}}},f=h,b=(r("60bc"),r("2877")),m=Object(b["a"])(f,n,i,!1,null,null,null);t["a"]=m.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":""}')},ea4c:function(e,t,r){"use strict";r("b07c")},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":"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 Keyword","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 O})),r.d(t,"j",(function(){return g})),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 k})),r.d(t,"k",(function(){return w})),r.d(t,"g",(function(){return R})),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"),m=r.n(b),v=r("6369"),j=r("a026"),O={methods:{makeToast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return g(e,t,r)}}};function g(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:g(l["a"].tc("Success"),l["a"].tc("success_creating_resource"),"success");break;case e.SUCCESS_FETCH:g(l["a"].tc("Success"),l["a"].tc("success_fetching_resource"),"success");break;case e.SUCCESS_UPDATE:g(l["a"].tc("Success"),l["a"].tc("success_updating_resource"),"success");break;case e.SUCCESS_DELETE:g(l["a"].tc("Success"),l["a"].tc("success_deleting_resource"),"success");break;case e.FAIL_CREATE:g(l["a"].tc("Failure"),l["a"].tc("err_creating_resource"),"danger");break;case e.FAIL_FETCH:g(l["a"].tc("Failure"),l["a"].tc("err_fetching_resource"),"danger");break;case e.FAIL_UPDATE:g(l["a"].tc("Failure"),l["a"].tc("err_updating_resource"),"danger");break;case e.FAIL_DELETE:g(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 k={methods:{resolveDjangoUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return w(e,t)}}};function w(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 P(e){if(void 0!==window.USER_PREF)return window.USER_PREF[e]}function R(e,t){if(P("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 U(e*t)}function U(e){var t=P("user_fractions")?P("user_fractions"):2;return+(Math.round(e+"e+".concat(t))+"e-".concat(t))}m.a.defaults.xsrfCookieName="csrftoken",m.a.defaults.xsrfHeaderName="X-CSRFTOKEN";var C={data:function(){return{Models:v["b"],Actions:v["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,m=t.function,j=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[m])||void 0===s?void 0:s.form),null===e||void 0===e||null===(c=e[m])||void 0===c?void 0:c.form);"partialUpdate"===m&&0==Object.keys(j).length&&(j=Object(i["a"])(Object(i["a"])(Object(i["a"])({},null===(u=v["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),j["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[m])||void 0===f?void 0:f.form_title),null===e||void 0===e||null===(b=e[m])||void 0===b?void 0:b.form_title));for(var O={fields:[]},g="",y=0,_=Object.entries(j);y<_.length;y++){var S,k,w,P,R,U=Object(a["a"])(_[y],2),C=U[0],L=U[1];if(null!==L&&void 0!==L&&L.function)switch(L.function){case"translate":g=x(L,e,r,n)}else g=L;if(null!==(S=g)&&void 0!==S&&S.form_field)g["value"]=null!==(k=null===r||void 0===r?void 0:r[null===(w=g)||void 0===w?void 0:w.field])&&void 0!==k?k:void 0,O.fields.push(Object(i["a"])(Object(i["a"])({},g),{label:x(null===(P=g)||void 0===P?void 0:P.label,e,r,n),placeholder:x(null===(R=g)||void 0===R?void 0:R.placeholder,e,r,n)}));else O[C]=g}return O}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&&(j["default"].set(o,"numchild",o.numchild-1),o.show_children)){var a=o.children.indexOf(o.children.find((function(t){return t.id===e})));j["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}))),j["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}))),j["default"].set(o.children,i,e))}}}}},fc0d:function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"dropdown d-print-none"},[e._m(0),r("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"dropdownMenuLink"}},[r("a",{staticClass:"dropdown-item",attrs:{href:e.resolveDjangoUrl("edit_recipe",e.recipe.id)}},[r("i",{staticClass:"fas fa-pencil-alt fa-fw"}),e._v(" "+e._s(e.$t("Edit")))]),e.recipe.internal?e._e():r("a",{staticClass:"dropdown-item",attrs:{href:e.resolveDjangoUrl("edit_convert_recipe",e.recipe.id)}},[r("i",{staticClass:"fas fa-exchange-alt fa-fw"}),e._v(" "+e._s(e.$t("convert_internal")))]),r("a",{attrs:{href:"#"}},[r("button",{staticClass:"dropdown-item",on:{click:function(t){return e.$bvModal.show("id_modal_add_book_"+e.modal_id)}}},[r("i",{staticClass:"fas fa-bookmark fa-fw"}),e._v(" "+e._s(e.$t("Manage_Books"))+" ")])]),e.recipe.internal?r("a",{staticClass:"dropdown-item",attrs:{href:e.resolveDjangoUrl("view_shopping")+"?r=["+e.recipe.id+","+e.servings_value+"]",target:"_blank",rel:"noopener noreferrer"}},[r("i",{staticClass:"fas fa-shopping-cart fa-fw"}),e._v(" "+e._s(e.$t("Add_to_Shopping"))+" ")]):e._e(),r("a",{staticClass:"dropdown-item",attrs:{href:e.resolveDjangoUrl("new_meal_plan")+"?recipe="+e.recipe.id,target:"_blank",rel:"noopener noreferrer"}},[r("i",{staticClass:"fas fa-calendar fa-fw"}),e._v(" "+e._s(e.$t("Add_to_Plan"))+" ")]),r("a",{attrs:{href:"#"}},[r("button",{staticClass:"dropdown-item",on:{click:function(t){return e.$bvModal.show("id_modal_cook_log_"+e.modal_id)}}},[r("i",{staticClass:"fas fa-clipboard-list fa-fw"}),e._v(" "+e._s(e.$t("Log_Cooking"))+" ")])]),r("a",{attrs:{href:"#"}},[r("button",{staticClass:"dropdown-item",attrs:{onclick:"window.print()"}},[r("i",{staticClass:"fas fa-print fa-fw"}),e._v(" "+e._s(e.$t("Print"))+" ")])]),r("a",{staticClass:"dropdown-item",attrs:{href:e.resolveDjangoUrl("view_export")+"?r="+e.recipe.id,target:"_blank",rel:"noopener noreferrer"}},[r("i",{staticClass:"fas fa-file-export fa-fw"}),e._v(" "+e._s(e.$t("Export")))]),r("a",{attrs:{href:"#"}},[e.recipe.internal?r("button",{staticClass:"dropdown-item",on:{click:function(t){return e.createShareLink()}}},[r("i",{staticClass:"fas fa-share-alt fa-fw"}),e._v(" "+e._s(e.$t("Share"))+" ")]):e._e()])])]),r("cook-log",{attrs:{recipe:e.recipe,modal_id:e.modal_id}}),r("add-recipe-to-book",{attrs:{recipe:e.recipe,modal_id:e.modal_id}}),r("b-modal",{attrs:{id:"modal-share-link_"+e.modal_id,title:e.$t("Share"),"hide-footer":""}},[r("div",{staticClass:"row"},[r("div",{staticClass:"col col-md-12"},[void 0!==e.recipe_share_link?r("label",[e._v(e._s(e.$t("Public share link")))]):e._e(),r("input",{directives:[{name:"model",rawName:"v-model",value:e.recipe_share_link,expression:"recipe_share_link"}],ref:"share_link_ref",staticClass:"form-control",domProps:{value:e.recipe_share_link},on:{input:function(t){t.target.composing||(e.recipe_share_link=t.target.value)}}}),r("b-button",{staticClass:"mt-2 mb-3 d-none d-md-inline",attrs:{variant:"secondary"},on:{click:function(t){return e.$bvModal.hide("modal-share-link_"+e.modal_id)}}},[e._v(e._s(e.$t("Close"))+" ")]),r("b-button",{staticClass:"mt-2 mb-3 ml-md-2",attrs:{variant:"primary"},on:{click:function(t){return e.copyShareLink()}}},[e._v(e._s(e.$t("Copy")))]),r("b-button",{staticClass:"mt-2 mb-3 ml-2 float-right",attrs:{variant:"success"},on:{click:function(t){return e.shareIntend()}}},[e._v(e._s(e.$t("Share"))+" "),r("i",{staticClass:"fa fa-share-alt"})])],1)])])],1)},i=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a",{staticClass:"btn shadow-none",attrs:{href:"#",role:"button",id:"dropdownMenuLink","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[r("i",{staticClass:"fas fa-ellipsis-v fa-lg"})])}],o=(r("a9e3"),r("9911"),r("b0c0"),r("99af"),r("fa7d")),a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("b-modal",{staticClass:"modal",attrs:{id:"id_modal_cook_log_"+e.modal_id,title:e.$t("Log_Recipe_Cooking"),"ok-title":e.$t("Save"),"cancel-title":e.$t("Close")},on:{ok:function(t){return e.logCook()}}},[r("p",[e._v(e._s(e.$t("all_fields_optional")))]),r("form",[r("label",{attrs:{for:"id_log_servings"}},[e._v(e._s(e.$t("Servings")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.logObject.servings,expression:"logObject.servings"}],staticClass:"form-control",attrs:{type:"number",id:"id_log_servings"},domProps:{value:e.logObject.servings},on:{input:function(t){t.target.composing||e.$set(e.logObject,"servings",t.target.value)}}}),r("label",{staticStyle:{"margin-top":"2vh"}},[e._v(e._s(e.$t("Rating"))+" - "),r("span",{attrs:{id:"id_rating_show"}},[e._v(e._s(e.logObject.rating)+"/5")])]),r("b-form-rating",{model:{value:e.logObject.rating,callback:function(t){e.$set(e.logObject,"rating",t)},expression:"logObject.rating"}}),r("label",{staticStyle:{"margin-top":"2vh"},attrs:{for:"id_date"}},[e._v(e._s(e.$t("Date")))]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.logObject.created_at,expression:"logObject.created_at"}],staticClass:"form-control",attrs:{type:"datetime-local",id:"id_date"},domProps:{value:e.logObject.created_at},on:{input:function(t){t.target.composing||e.$set(e.logObject,"created_at",t.target.value)}}})],1)])],1)},s=[],c=r("c1df"),u=r.n(c),d=r("a026"),p=r("5f5b"),l=r("7c15");d["default"].prototype.moment=u.a,d["default"].use(p["a"]);var h={name:"CookLog",props:{recipe:Object,modal_id:Number},data:function(){return{logObject:{recipe:this.recipe.id,servings:0,rating:0,created_at:u()().format("yyyy-MM-DDTHH:mm")}}},methods:{logCook:function(){Object(l["b"])(this.logObject)}}},f=h,b=r("2877"),m=Object(b["a"])(f,a,s,!1,null,null,null),v=m.exports,j=r("bc3a"),O=r.n(j),g=r("d46a"),y={name:"RecipeContextMenu",mixins:[o["d"]],components:{AddRecipeToBook:g["a"],CookLog:v},data:function(){return{servings_value:0,recipe_share_link:void 0,modal_id:this.recipe.id+Math.round(1e5*Math.random())}},props:{recipe:Object,servings:{type:Number,default:-1}},mounted:function(){this.servings_value=-1===this.servings?this.recipe.servings:this.servings},methods:{createShareLink:function(){var e=this;O.a.get(Object(o["k"])("api_share_link",this.recipe.id)).then((function(t){e.$bvModal.show("modal-share-link_".concat(e.modal_id)),e.recipe_share_link=t.data.link})).catch((function(t){403===t.response.status&&Object(o["j"])(e.$t("Share"),e.$t("Sharing is not enabled for this space."),"danger")}))},copyShareLink:function(){var e=this.$refs.share_link_ref;e.select(),document.execCommand("copy")},shareIntend:function(){var e={title:this.recipe.name,text:"".concat(this.$t("Check out this recipe: ")," ").concat(this.recipe.name),url:this.recipe_share_link};navigator.share(e)}}},_=y,S=Object(b["a"])(_,n,i,!1,null,null,null);t["a"]=S.exports},fe16:function(e,t,r){}}); |