(function(e){function t(t){for(var n,a,c=t[0],s=t[1],u=t[2],p=0,h=[];p1){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"}')},d76c:function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[r("div",{staticClass:"col",staticStyle:{"text-align":"center"}},[r("img",{staticClass:"spinner-tandoor",style:{height:e.size+"vh"},attrs:{alt:"loading spinner",src:""}})])])},i=[],o=(r("a9e3"),{name:"LoadingSpinner",props:{recipe:Object,size:{type:Number,default:30}}}),a=o,c=r("2877"),s=Object(c["a"])(a,n,i,!1,null,null,null);t["a"]=s.exports},dfc6:function(e){e.exports=JSON.parse('{"err_fetching_resource":"","err_creating_resource":"","err_updating_resource":"","err_deleting_resource":"","success_fetching_resource":"","success_creating_resource":"","success_updating_resource":"","success_deleting_resource":"","import_running":"","all_fields_optional":"","convert_internal":"","show_only_internal":"","Log_Recipe_Cooking":"","External_Recipe_Image":"","Add_to_Book":"","Add_to_Shopping":"","Add_to_Plan":"","Step_start_time":"","Meal_Plan":"","Select_Book":"","Recipe_Image":"","Import_finished":"","View_Recipes":"","Log_Cooking":"","New_Recipe":"","Url_Import":"","Reset_Search":"","Recently_Viewed":"","Load_More":"","Keywords":"","Books":"","Proteins":"","Fats":"","Carbohydrates":"","Calories":"","Nutrition":"","Date":"","Share":"","Export":"","Copy":"","Rating":"","Close":"","Link":"","Add":"","New":"","Success":"","Ingredients":"","Supermarket":"","Categories":"","Category":"","Selected":"","min":"","Servings":"","Waiting":"","Preparation":"","External":"","Size":"","Files":"","File":"","Edit":"","Cancel":"","Delete":"","Open":"","Ok":"","Save":"","Step":"","Search":"","Import":"","Print":"","Settings":"","or":"","and":"","Information":"","Download":""}')},edd4:function(e){e.exports=JSON.parse('{"err_fetching_resource":"There was an error fetching a resource!","err_creating_resource":"There was an error creating a resource!","err_updating_resource":"There was an error updating a resource!","err_deleting_resource":"There was an error deleting a resource!","success_fetching_resource":"Successfully fetched a resource!","success_creating_resource":"Successfully created a resource!","success_updating_resource":"Successfully updated a resource!","success_deleting_resource":"Successfully deleted a resource!","import_running":"Import running, please wait!","all_fields_optional":"All fields are optional and can be left empty.","convert_internal":"Convert to internal recipe","show_only_internal":"Show only internal recipes","show_split_screen":"Show split view","Log_Recipe_Cooking":"Log Recipe Cooking","External_Recipe_Image":"External Recipe Image","Add_to_Book":"Add to Book","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","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","Move_Keyword":"Move Keyword","Merge_Keyword":"Merge Keyword","Hide_Keywords":"Hide Keywords","Hide_Recipes":"Hide Recipes","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","Success":"Success","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","Advanced Search Settings":"Advanced Search Settings","View":"View","Recipes":"Recipes","Move":"Move","Merge":"Merge","Parent":"Parent","delete_confimation":"Are you sure that you want to delete {kw} and all of it\'s children?","move_confirmation":"Move {child} to parent {parent}","merge_confirmation":"Replace {source} with {target}","move_selection":"Select a parent to move {child} to.","merge_selection":"Replace all occurences of {source} with the selected {type}.","Download":"Download","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."}')},fa7d:function(e,t,r){"use strict";r.d(t,"e",(function(){return b})),r.d(t,"h",(function(){return f})),r.d(t,"c",(function(){return l})),r.d(t,"g",(function(){return O})),r.d(t,"d",(function(){return j})),r.d(t,"i",(function(){return v})),r.d(t,"f",(function(){return m})),r.d(t,"a",(function(){return S})),r.d(t,"b",(function(){return U}));var n=r("b85c"),i=r("3835"),o=r("5530"),a=r("53ca"),c=(r("99af"),r("d3b7"),r("ddb0"),r("b0c0"),r("159b"),r("4fad"),r("caad"),r("2532"),r("b64b"),r("4de4"),r("7db0"),r("59e4"));function s(e,t,r){var n=Math.floor(e),i=1,o=n+1,a=1;if(e!==n)while(i<=t&&a<=t){var c=(n+o)/(i+a);if(e===c){i+a<=t?(i+=a,n+=o,a=t+1):i>a?a=t+1:i=t+1;break}et&&(i=a,n=o),!r)return[0,n,i];var s=Math.floor(n/i);return[s,n-s*i,i]}var u=r("2b2d"),d=r("bc3a"),p=r.n(d),h=r("a026"),b={methods:{makeToast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return f(e,t,r)}}};function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=new c["a"];n.$bvToast.toast(t,{title:e,variant:r,toaster:"b-toaster-top-center",solid:!0})}var l={methods:{_:function(e){return O(e)}}};function O(e){return window.gettext(e)}var j={methods:{resolveDjangoUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return v(e,t)}}};function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return window.Urls[e]();if("object"!=Object(a["a"])(t))return window.Urls[e](t);if("object"==Object(a["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 g(e){return window.USER_PREF[e]}function m(e,t){if(g("use_fractions")){var r="",n=s(e*t,9,!0);return n[0]>0&&(r+=n[0]),n[1]>0&&(r+=" ".concat(n[1],"").concat(n[2],"")),r}return y(e*t)}function y(e){var t=g("user_fractions")?g("user_fractions"):2;return+(Math.round(e+"e+".concat(t))+"e-".concat(t))}p.a.defaults.xsrfCookieName="csrftoken",p.a.defaults.xsrfHeaderName="X-CSRFTOKEN";var S={data:function(){return{api_settings:{suffix:{list:"s"},food:{name:"Food",model_type:"tree",create:[["name","description","recipe","ignore_shopping","supermarket_category"]],partialUpdate:["id",["name","description","recipe","ignore_shopping","supermarket_category"]]},keyword:{},unit:{},recipe:{name:"Recipe",list:["query","keywords","foods","books","keywordsOr","foodsOr","booksOr","internal","random","_new","page","pageSize","options"],typing:{list:{foods:"string",keywords:"string",books:"string"}}},tree:{values:{root:"getFunction()",tree:void 0},list:["query","root","tree","page","pageSize"],typing:{move:{source:"string",target:"string"}}},default:{list:["query","page","pageSize"],destroy:["id"],retrieve:["id"],merge:["source","target"],move:["source","target"],create:[],partialUpdate:[],values:{query:void 0,page:1,pageSize:25},typing:{merge:{source:"string",target:"string"}}}}}},methods:{genericAPI:function(e,t,r){var n,a,c,s,d,p,h,b,f,l,O,j,v,g,m,y,S,U,R,w,k,L,C,_,I,T,E;e=e.toLowerCase();var x=Object(o["a"])(Object(o["a"])(Object(o["a"])({},null!==(n=null===(a=this.api_settings)||void 0===a?void 0:a.default)&&void 0!==n?n:{}),null!==(c=null===(s=this.api_settings)||void 0===s?void 0:s[null===(d=this.api_settings)||void 0===d||null===(p=d[e])||void 0===p?void 0:p.model_type])&&void 0!==c?c:{}),this.api_settings[e]);x.values=Object(o["a"])(Object(o["a"])(Object(o["a"])({},null!==(h=null===(b=this.api_settings)||void 0===b||null===(f=b.default)||void 0===f?void 0:f.values)&&void 0!==h?h:{}),null!==(l=null===(O=this.api_settings)||void 0===O||null===(j=O[null===(v=this.api_settings)||void 0===v||null===(g=v[e])||void 0===g?void 0:g.model_type])||void 0===j?void 0:j.values)&&void 0!==l?l:{}),this.api_settings[e].values),x.typing=Object(o["a"])(Object(o["a"])(Object(o["a"])({},null!==(m=null===(y=this.api_settings)||void 0===y||null===(S=y.default)||void 0===S||null===(U=S.typing)||void 0===U?void 0:U[t])&&void 0!==m?m:{}),null!==(R=null===(w=this.api_settings)||void 0===w||null===(k=w[null===(C=this.api_settings)||void 0===C||null===(_=C[e])||void 0===_?void 0:_.model_type])||void 0===k||null===(L=k.typing)||void 0===L?void 0:L[t])&&void 0!==R?R:{}),null===(I=this.api_settings[e].typing)||void 0===I?void 0:I[t]);var B=t+x.name+(null!==(T=null===(E=this.api_settings.suffix)||void 0===E?void 0:E[t])&&void 0!==T?T:""),q=[],F=void 0;x[t].forEach((function(e,t){if(Array.isArray(e)){F={};for(var n=0,o=Object.entries(r);n