var WPRecipeMaker;!function(){var e={54044:function(e,t,n){"use strict";var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,o="URLSearchParams"in r,i="Symbol"in r&&"iterator"in Symbol,a="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),c="FormData"in r,s="ArrayBuffer"in r;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function f(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function v(e){this.map={},e instanceof v?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function w(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:c&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&a&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=w(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||p(e))?this._bodyArrayBuffer=w(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=h(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var e,t,n,r=h(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=m(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function O(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function P(e,t){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new v(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},g.call(x.prototype),g.call(P.prototype),P.prototype.clone=function(){return new P(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},P.error=function(){var e=new P(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];P.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new P(null,{status:t,headers:{location:e}})};var R=r.DOMException;try{new R}catch(Vt){(R=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),R.prototype.constructor=R}function S(e,t){return new Promise((function(n,o){var i=new x(e,t);if(i.signal&&i.signal.aborted)return o(new R("Aborted","AbortError"));var c=new XMLHttpRequest;function u(){c.abort()}c.onload=function(){var e,t,r={status:c.status,statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new v,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;setTimeout((function(){n(new P(o,r))}),0)},c.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){o(new R("Aborted","AbortError"))}),0)},c.open(i.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?c.withCredentials=!0:"omit"===i.credentials&&(c.withCredentials=!1),"responseType"in c&&(a?c.responseType="blob":s&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof v?i.headers.forEach((function(e,t){c.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){c.setRequestHeader(e,l(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",u),c.onreadystatechange=function(){4===c.readyState&&i.signal.removeEventListener("abort",u)}),c.send(void 0===i._bodyInit?null:i._bodyInit)}))}S.polyfill=!0,r.fetch||(r.fetch=S,r.Headers=v,r.Request=x,r.Response=P);var E;n(35054),n(39275),n(75668);function M(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.analytics={init:()=>{wprm_public.settings.analytics_enabled&&document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this&&!window.WPRecipeMaker.analytics.checkClick(t,e);t=t.parentNode);}),!1)},checkClick:(e,t)=>{if(e.matches(".wprm-recipe-jump")){var n=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return n&&window.WPRecipeMaker.analytics.registerAction(n,wprm_public.post_id,"jump-to-recipe"),!0}if(e.matches(".wprm-recipe-jump-video")){var r=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return r&&window.WPRecipeMaker.analytics.registerAction(r,wprm_public.post_id,"jump-to-video"),!0}if(e.matches(".wprm-recipe-pin")){var o=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return o&&window.WPRecipeMaker.analytics.registerAction(o,wprm_public.post_id,"pin-button"),!0}if(e.matches(".wprm-recipe-facebook-share")){var i=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return i&&window.WPRecipeMaker.analytics.registerAction(i,wprm_public.post_id,"facebook-share-button"),!0}if(e.matches(".wprm-recipe-twitter-share")){var a=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return a&&window.WPRecipeMaker.analytics.registerAction(a,wprm_public.post_id,"twitter-share-button"),!0}if(e.matches(".wprm-recipe-text-share")){var c=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return c&&window.WPRecipeMaker.analytics.registerAction(c,wprm_public.post_id,"text-share-button"),!0}if(e.matches(".wprm-recipe-email-share")){var s=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return s&&window.WPRecipeMaker.analytics.registerAction(s,wprm_public.post_id,"email-share-button"),!0}if(e.matches(".wprm-recipe-add-to-collection-recipe")){var u=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipeId;return u&&window.WPRecipeMaker.analytics.registerAction(u,wprm_public.post_id,"add-to-collections-button"),!0}if(e.matches(".wprm-recipe-add-to-shopping-list")){var p=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipeId;return p&&window.WPRecipeMaker.analytics.registerAction(p,wprm_public.post_id,"add-to-shopping-list-button"),!0}if(e.matches(".wprm-recipe-equipment a")){var f=e.closest(".wprm-recipe-equipment-container");if(f){var l=e.closest(".wprm-recipe-equipment-item"),d=l&&l.classList.contains("wprm-recipe-equipment-item-has-image")?"image":"text",v=l?l.querySelector(".wprm-recipe-equipment-name"):e,h=f.dataset.recipe;h&&window.WPRecipeMaker.analytics.registerAction(h,wprm_public.post_id,"equipment-link",{url:e.href,type:d,name:v?v.innerText:"unknown"})}return!0}if(e.matches(".wprm-recipe-ingredient a")){var m=e.closest(".wprm-recipe-ingredients-container"),y=!1,w=e.closest(".wprm-recipe-ingredient");if(w&&(y=w.querySelector(".wprm-recipe-ingredient-name")),m){var g=m.dataset.recipe;g&&window.WPRecipeMaker.analytics.registerAction(g,wprm_public.post_id,"ingredient-link",{url:e.href,name:y?y.innerText:"unknown"})}return!0}if(e.matches(".wprm-recipe-instruction a")){var b=e.closest(".wprm-recipe-instructions-container");if(b){var x=b.dataset.recipe;x&&window.WPRecipeMaker.analytics.registerAction(x,wprm_public.post_id,"instruction-link",{url:e.href})}return!0}return!1},registerAction:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};wprm_public.settings.analytics_enabled&&fetch(wprm_public.endpoints.analytics,{method:"POST",headers:{"X-WP-Nonce":wprm_public.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({recipeId:e,postId:t,type:n,meta:r,uid:M("wprm_analytics_visitor"),nonce:wprm_public.nonce})})},registerActionOnce:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(wprm_public.settings.analytics_enabled){if(window.WPRecipeMaker.analytics.registeredActions.hasOwnProperty("recipe-".concat(e))&&window.WPRecipeMaker.analytics.registeredActions["recipe-".concat(e)].hasOwnProperty(n))return;window.WPRecipeMaker.analytics.registeredActions.hasOwnProperty("recipe-".concat(e))||(window.WPRecipeMaker.analytics.registeredActions["recipe-".concat(e)]={}),window.WPRecipeMaker.analytics.registeredActions["recipe-".concat(e)][n]=!0,fetch(wprm_public.endpoints.analytics,{method:"POST",headers:{"X-WP-Nonce":wprm_public.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({recipeId:e,postId:t,type:n,meta:r,uid:M("wprm_analytics_visitor"),nonce:wprm_public.nonce})})}},registeredActions:{}},E=()=>{window.WPRecipeMaker.analytics.init()},"loading"!=document.readyState?E():document.addEventListener("DOMContentLoaded",E);n(38472);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.rating={init(){var e=document.querySelector(".comment-form-wprm-rating");if(e){var t=document.querySelectorAll(".wprm-recipe-container"),n=document.querySelector("body.wp-admin");t.length>0||n?e.style.display="":e.style.display="none"}},settings:{enabled:void 0!==window.wprm_public?wprm_public.settings.features_comment_ratings:wprm_admin.settings.features_comment_ratings},onClick(e){var t=e.closest(".wprm-comment-ratings-container"),n=t?parseInt(t.dataset.currentRating):0,r=parseInt(e.value);r===n?(e.checked=!1,document.querySelector('input[name="'+e.name+'"][value="0"]').checked=!0,t.dataset.currentRating=0):t.dataset.currentRating=r,window.WPRecipeMaker.hasOwnProperty("comments")&&window.WPRecipeMaker.comments.hasOwnProperty("change")&&window.WPRecipeMaker.comments.change(t)}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.rating.init()}));n(54883),n(68995);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.grow={init:()=>{window.growMe||(window.growMe=function(e){window.growMe._.push(e)},window.growMe._=[]),document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode){if(t.matches(".wprm-recipe-grow-not-saved")){WPRecipeMaker.grow.onClickSave(t,e);break}if(t.matches(".wprm-recipe-grow-saved")){WPRecipeMaker.grow.onClickSaved(t,e);break}}}),!1);window.growMe((()=>{window.growMe.getIsBookmarked(),window.growMe.on("isBookmarkedChanged",(e=>{e.isBookmarked&&WPRecipeMaker.grow.markAsSaved(!1,!0)}))}))},onClickSave:(e,t)=>{t.preventDefault();var n={source:"wprm_save_btn"},r=parseInt(e.dataset.recipeId),o=e.closest(".wprm-recipe-grow-container");o&&(n.tooltipReferenceElement=o),window.growMe.addBookmark(n).then((function(e){WPRecipeMaker.grow.markAsSaved(r)})).catch((function(e){WPRecipeMaker.grow.markAsSaved(r)}))},onClickSaved:(e,t)=>{t.preventDefault()},markAsSaved:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.querySelectorAll(".wprm-recipe-grow");for(var r of n)(t||e===parseInt(r.dataset.recipeId))&&(r.classList.contains("wprm-recipe-grow-not-saved")?r.style.display="none":r.classList.contains("wprm-recipe-grow-saved")&&(r.style.display=""))}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.grow.init()})),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.media={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-media-toggle")){WPRecipeMaker.media.onClick(t,e);break}}),!1),WPRecipeMaker.media.setState(wprm_public.settings.instruction_media_toggle_default)},onClick:(e,t)=>{t.preventDefault();var n=e.dataset.state;WPRecipeMaker.media.setState(n,e)},setState:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=WPRecipeMaker.media.state;if(("on"===e||"off"===e)&&e!==n){var r=0;t&&(r=window.pageYOffset+t.getBoundingClientRect().top);var o=document.querySelectorAll(".wprm-recipe-instruction-media");for(var i of o)i.style.display="off"===e?"none":"";var a=0;t&&(a=window.pageYOffset+t.getBoundingClientRect().top);var c=a-r;c&&scrollBy(0,c);var s=document.querySelectorAll(".wprm-recipe-media-toggle");for(var u of s)e===u.dataset.state?u.classList.add("wprm-toggle-active"):u.classList.remove("wprm-toggle-active");WPRecipeMaker.media.state=e}},state:"on"},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.media.init()}));n(86632);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.pinterest={init(){document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-pin")){WPRecipeMaker.pinterest.onClick(t,e);break}}),!1)},onClick(e,t){t.preventDefault();var n=this.getPinUtils();if(n){var r=e.dataset.url,o=e.dataset.media,i=e.dataset.description,a=e.dataset.repin;a?PinUtils.repin(a):n.pinOne({url:r,media:o,description:i})}else window.open(e.href,"targetWindow","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500")},getPinUtils:()=>!!window.hasOwnProperty("PinUtils")&&window.PinUtils},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.pinterest.init()}));var T,A,W,_,j,L;n(67838);function C(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void n(u)}c.done?t(s):Promise.resolve(s).then(r,o)}function D(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){C(i,r,o,a,c,"next",e)}function c(e){C(i,r,o,a,c,"throw",e)}a(void 0)}))}}window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.print={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-print, .wprm-print-recipe-shortcode")){WPRecipeMaker.print.onClick(t,e);break}}),!1)},onClick:(e,t)=>{var n=e.dataset.recipeId;if(!n){var r=e.closest(".wprm-recipe-container");r&&(n=r.dataset.recipeId)}if(n){t.preventDefault(),n=parseInt(n);var o=e.dataset.hasOwnProperty("template")?e.dataset.template:"",i="other",a=e.closest(".wprm-recipe");a&&(i=a.classList.contains("wprm-recipe-snippet")?"snippet":a.classList.contains("wprm-recipe-roundup-item")?"roundup":"recipe"),window.WPRecipeMaker.analytics.registerAction(n,wprm_public.post_id,"print",{location:i}),WPRecipeMaker.print.recipeAsIs(n,o)}},recipeAsIs:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!1,r=1,o=!1;if(window.WPRecipeMaker.hasOwnProperty("quantities")){var i=WPRecipeMaker.quantities.getRecipe(e);i&&(r=i.system,i.servings!==i.originalServings&&(n=i.servings))}window.WPRecipeMaker.hasOwnProperty("advancedServings")&&(o=WPRecipeMaker.advancedServings.getRecipe(e)),WPRecipeMaker.print.recipe(e,n,r,o,t)},recipe:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=e;o&&(i+="/".concat(o));var a=WPRecipeMaker.print.getUrl(i),c=wprm_public.settings.print_new_tab?"_blank":"_self",s=window.open(a,c);s.onload=()=>{s.focus(),s.WPRMPrint.setArgs({system:n,servings:t,advancedServings:r})}},getUrl:e=>{var t=wprm_public.home_url.split(/\?(.+)/),n=t[0];return wprm_public.permalinks?(n+=wprm_public.print_slug+"/"+e,t[1]&&(n+="?"+t[1])):(n+="?"+wprm_public.print_slug+"="+e,t[1]&&(n+="&"+t[1])),n}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.print.init()})),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.recipe={init:()=>{window.addEventListener("wpupgInitReady",(function(e){var t=e.detail;window.WPRecipeMaker.recipe.wpupgGridCompatibility(t)}))},wpupgGridCompatibility:e=>{e&&e.on("itemsLoaded",(()=>{window.WPRecipeMaker.recipe.initFeatures()}))},initFeatures:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(window.WPRecipeMaker){if(window.WPRecipeMaker.hasOwnProperty("advancedServings")&&window.WPRecipeMaker.advancedServings.init(),window.WPRecipeMaker.hasOwnProperty("quantities")&&(window.WPRecipeMaker.quantities.init(),e.hasOwnProperty("id")&&(window.WPRecipeMaker.quantities.initRecipe(e.id),e.hasOwnProperty("servings")))){var t=parseInt(e.servings);t&&window.WPRecipeMaker.quantities.setServings(e.id,t)}window.WPRecipeMaker.hasOwnProperty("timer")&&window.WPRecipeMaker.timer.init(),window.WPRecipeMaker.hasOwnProperty("preventSleep")&&window.WPRecipeMaker.preventSleep.init(),window.WPRecipeMaker.hasOwnProperty("privateNotes")&&window.WPRecipeMaker.privateNotes.init(),window.WPRecipeMaker.hasOwnProperty("tooltip")&&window.WPRecipeMaker.tooltip.init(),window.WPRecipeMaker.hasOwnProperty("video")&&wprm_public.settings.video_force_ratio&&window.WPRecipeMaker.video.init()}document.dispatchEvent(new CustomEvent("wprmRecipeInit",{detail:e}))}},window.WPRecipeMaker.recipe.init(),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.slickstream={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode){if(t.matches(".wprm-recipe-slickstream-not-saved")){WPRecipeMaker.slickstream.onClickSave(t,e);break}if(t.matches(".wprm-recipe-slickstream-saved")){WPRecipeMaker.slickstream.onClickSaved(t,e);break}}}),!1),document.addEventListener("slickstream-favorite-change",(()=>{WPRecipeMaker.slickstream.favoriteChanged()})),WPRecipeMaker.slickstream.favoriteChanged(),WPRecipeMaker.slickstream.show()},show:(L=D((function*(){if(yield WPRecipeMaker.slickstream.getSlickstream()){var e=document.querySelectorAll(".wprm-recipe-slickstream");for(var t of e)t.style.visibility=""}})),function(){return L.apply(this,arguments)}),getSlickstream:(j=D((function*(){return window.slickstream?window.slickstream.v1:new Promise(((e,t)=>{document.addEventListener("slickstream-ready",(()=>{e(window.slickstream.v1)}))}))})),function(){return j.apply(this,arguments)}),onClickSave:(_=D((function*(e,t){t.preventDefault(),WPRecipeMaker.slickstream.setFavoriteStatus(!0)})),function(e,t){return _.apply(this,arguments)}),onClickSaved:(W=D((function*(e,t){t.preventDefault(),WPRecipeMaker.slickstream.setFavoriteStatus(!1)})),function(e,t){return W.apply(this,arguments)}),favoriteChanged:(A=D((function*(){var e=(yield WPRecipeMaker.slickstream.getSlickstream()).favorites.getState(),t=document.querySelectorAll(".wprm-recipe-slickstream");for(var n of t)n.classList.contains("wprm-recipe-slickstream-not-saved")?n.style.display=!0===e?"none":"":n.classList.contains("wprm-recipe-slickstream-saved")&&(n.style.display=!0===e?"":"none")})),function(){return A.apply(this,arguments)}),setFavoriteStatus:(T=D((function*(e){(yield WPRecipeMaker.slickstream.getSlickstream()).favorites.setState(e)})),function(e){return T.apply(this,arguments)})},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.slickstream.init()}));var I=n(23362),B=n.n(I);function N(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function U(e){return e instanceof N(e).Element||e instanceof Element}function H(e){return e instanceof N(e).HTMLElement||e instanceof HTMLElement}function F(e){return"undefined"!=typeof ShadowRoot&&(e instanceof N(e).ShadowRoot||e instanceof ShadowRoot)}window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.jump={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-jump-smooth-scroll")){WPRecipeMaker.jump.onClick(t,e);break}}),!1)},onClick:(e,t)=>{t.preventDefault();var n=e.getAttribute("href"),r=parseInt(e.dataset.smoothScroll);r<0&&(r=500),B()(document.querySelector(n),{verticalOffset:-100,speed:r})}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.jump.init()})),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.temperature={getTemperatures(){var e=[],t=document.querySelectorAll(".wprm-temperature-container");for(var n of t)e.push(WPRecipeMaker.temperature.getData(n));return e},getData:e=>({container:e,value:e.dataset.value,unit:e.dataset.unit,help:e.dataset.tooltip})};var q=Math.max,V=Math.min,z=Math.round;function G(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(H(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=z(n.width)/a||1),i>0&&(o=z(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function $(e){var t=N(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Y(e){return e?(e.nodeName||"").toLowerCase():null}function X(e){return((U(e)?e.ownerDocument:e.document)||window.document).documentElement}function J(e){return G(X(e)).left+$(e).scrollLeft}function K(e){return N(e).getComputedStyle(e)}function Q(e){var t=K(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Z(e,t,n){void 0===n&&(n=!1);var r,o,i=H(t),a=H(t)&&function(e){var t=e.getBoundingClientRect(),n=z(t.width)/e.offsetWidth||1,r=z(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),c=X(t),s=G(e,a),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==Y(t)||Q(c))&&(u=(r=t)!==N(r)&&H(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:$(r)),H(t)?((p=G(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):c&&(p.x=J(c))),{x:s.left+u.scrollLeft-p.x,y:s.top+u.scrollTop-p.y,width:s.width,height:s.height}}function ee(e){var t=G(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function te(e){return"html"===Y(e)?e:e.assignedSlot||e.parentNode||(F(e)?e.host:null)||X(e)}function ne(e){return["html","body","#document"].indexOf(Y(e))>=0?e.ownerDocument.body:H(e)&&Q(e)?e:ne(te(e))}function re(e,t){var n;void 0===t&&(t=[]);var r=ne(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=N(r),a=o?[i].concat(i.visualViewport||[],Q(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(re(te(a)))}function oe(e){return["table","td","th"].indexOf(Y(e))>=0}function ie(e){return H(e)&&"fixed"!==K(e).position?e.offsetParent:null}function ae(e){for(var t=N(e),n=ie(e);n&&oe(n)&&"static"===K(n).position;)n=ie(n);return n&&("html"===Y(n)||"body"===Y(n)&&"static"===K(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&H(e)&&"fixed"===K(e).position)return null;var n=te(e);for(F(n)&&(n=n.host);H(n)&&["html","body"].indexOf(Y(n))<0;){var r=K(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var ce="top",se="bottom",ue="right",pe="left",fe="auto",le=[ce,se,ue,pe],de="start",ve="end",he="viewport",me="popper",ye=le.reduce((function(e,t){return e.concat([t+"-"+de,t+"-"+ve])}),[]),we=[].concat(le,[fe]).reduce((function(e,t){return e.concat([t,t+"-"+de,t+"-"+ve])}),[]),ge=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function be(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function xe(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Oe={placement:"bottom",modifiers:[],strategy:"absolute"};function Pe(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Te(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Se(o):null,a=o?Ee(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case ce:t={x:c,y:n.y-r.height};break;case se:t={x:c,y:n.y+n.height};break;case ue:t={x:n.x+n.width,y:s};break;case pe:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Me(i):null;if(null!=u){var p="y"===u?"height":"width";switch(a){case de:t[u]=t[u]-(n[p]/2-r[p]/2);break;case ve:t[u]=t[u]+(n[p]/2-r[p]/2)}}return t}var Ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,c=e.position,s=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,f=e.isFixed,l=a.x,d=void 0===l?0:l,v=a.y,h=void 0===v?0:v,m="function"==typeof p?p({x:d,y:h}):{x:d,y:h};d=m.x,h=m.y;var y=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),g=pe,b=ce,x=window;if(u){var O=ae(n),P="clientHeight",k="clientWidth";if(O===N(n)&&"static"!==K(O=X(n)).position&&"absolute"===c&&(P="scrollHeight",k="scrollWidth"),o===ce||(o===pe||o===ue)&&i===ve)b=se,h-=(f&&O===x&&x.visualViewport?x.visualViewport.height:O[P])-r.height,h*=s?1:-1;if(o===pe||(o===ce||o===se)&&i===ve)g=ue,d-=(f&&O===x&&x.visualViewport?x.visualViewport.width:O[k])-r.width,d*=s?1:-1}var R,S=Object.assign({position:c},u&&Ae),E=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:z(t*r)/r||0,y:z(n*r)/r||0}}({x:d,y:h}):{x:d,y:h};return d=E.x,h=E.y,s?Object.assign({},S,((R={})[b]=w?"0":"",R[g]=y?"0":"",R.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",R)):Object.assign({},S,((t={})[b]=w?h+"px":"",t[g]=y?d+"px":"",t.transform="",t))}var _e={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];H(o)&&Y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});H(r)&&Y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var je={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=we.reduce((function(e,n){return e[n]=function(e,t,n){var r=Se(e),o=[pe,ce].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[pe,ue].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}(n,t.rects,i),e}),{}),c=a[t.placement],s=c.x,u=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},Le={left:"right",right:"left",bottom:"top",top:"bottom"};function Ce(e){return e.replace(/left|right|bottom|top/g,(function(e){return Le[e]}))}var De={start:"end",end:"start"};function Ie(e){return e.replace(/start|end/g,(function(e){return De[e]}))}function Be(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&F(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ue(e,t){return t===he?Ne(function(e){var t=N(e),n=X(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,c=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,c=r.offsetTop)),{width:o,height:i,x:a+J(e),y:c}}(e)):U(t)?function(e){var t=G(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ne(function(e){var t,n=X(e),r=$(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=q(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=q(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+J(e),s=-r.scrollTop;return"rtl"===K(o||n).direction&&(c+=q(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(X(e)))}function He(e,t,n){var r="clippingParents"===t?function(e){var t=re(te(e)),n=["absolute","fixed"].indexOf(K(e).position)>=0&&H(e)?ae(e):e;return U(n)?t.filter((function(e){return U(e)&&Be(e,n)&&"body"!==Y(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Ue(e,n);return t.top=q(r.top,t.top),t.right=V(r.right,t.right),t.bottom=V(r.bottom,t.bottom),t.left=q(r.left,t.left),t}),Ue(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Fe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function qe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ve(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,c=n.rootBoundary,s=void 0===c?he:c,u=n.elementContext,p=void 0===u?me:u,f=n.altBoundary,l=void 0!==f&&f,d=n.padding,v=void 0===d?0:d,h=Fe("number"!=typeof v?v:qe(v,le)),m=p===me?"reference":me,y=e.rects.popper,w=e.elements[l?m:p],g=He(U(w)?w:w.contextElement||X(e.elements.popper),a,s),b=G(e.elements.reference),x=Te({reference:b,element:y,strategy:"absolute",placement:o}),O=Ne(Object.assign({},y,x)),P=p===me?O:b,k={top:g.top-P.top+h.top,bottom:P.bottom-g.bottom+h.bottom,left:g.left-P.left+h.left,right:P.right-g.right+h.right},R=e.modifiersData.offset;if(p===me&&R){var S=R[o];Object.keys(k).forEach((function(e){var t=[ue,se].indexOf(e)>=0?1:-1,n=[ce,se].indexOf(e)>=0?"y":"x";k[e]+=S[n]*t}))}return k}function ze(e,t,n){return q(e,V(t,n))}var Ge={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,p=n.altBoundary,f=n.padding,l=n.tether,d=void 0===l||l,v=n.tetherOffset,h=void 0===v?0:v,m=Ve(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:p}),y=Se(t.placement),w=Ee(t.placement),g=!w,b=Me(y),x="x"===b?"y":"x",O=t.modifiersData.popperOffsets,P=t.rects.reference,k=t.rects.popper,R="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,S="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(O){if(i){var T,A="y"===b?ce:pe,W="y"===b?se:ue,_="y"===b?"height":"width",j=O[b],L=j+m[A],C=j-m[W],D=d?-k[_]/2:0,I=w===de?P[_]:k[_],B=w===de?-k[_]:-P[_],N=t.elements.arrow,U=d&&N?ee(N):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=H[A],z=H[W],G=ze(0,P[_],U[_]),$=g?P[_]/2-D-G-F-S.mainAxis:I-G-F-S.mainAxis,Y=g?-P[_]/2+D+G+z+S.mainAxis:B+G+z+S.mainAxis,X=t.elements.arrow&&ae(t.elements.arrow),J=X?"y"===b?X.clientTop||0:X.clientLeft||0:0,K=null!=(T=null==E?void 0:E[b])?T:0,Q=j+Y-K,Z=ze(d?V(L,j+$-K-J):L,j,d?q(C,Q):C);O[b]=Z,M[b]=Z-j}if(c){var te,ne="x"===b?ce:pe,re="x"===b?se:ue,oe=O[x],ie="y"===x?"height":"width",fe=oe+m[ne],le=oe-m[re],ve=-1!==[ce,pe].indexOf(y),he=null!=(te=null==E?void 0:E[x])?te:0,me=ve?fe:oe-P[ie]-k[ie]-he+S.altAxis,ye=ve?oe+P[ie]+k[ie]-he-S.altAxis:le,we=d&&ve?function(e,t,n){var r=ze(e,t,n);return r>n?n:r}(me,oe,ye):ze(d?me:fe,oe,d?ye:le);O[x]=we,M[x]=we-oe}t.modifiersData[r]=M}},requiresIfExists:["offset"]};var $e={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Se(n.placement),s=Me(c),u=[pe,ue].indexOf(c)>=0?"height":"width";if(i&&a){var p=function(e,t){return Fe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:qe(e,le))}(o.padding,n),f=ee(i),l="y"===s?ce:pe,d="y"===s?se:ue,v=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],h=a[s]-n.rects.reference[s],m=ae(i),y=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,w=v/2-h/2,g=p[l],b=y-f[u]-p[d],x=y/2-f[u]/2+w,O=ze(g,x,b),P=s;n.modifiersData[r]=((t={})[P]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Be(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Xe(e){return[ce,ue,se,pe].some((function(t){return e[t]>=0}))}var Je=ke({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,c=void 0===a||a,s=N(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,Re)})),c&&s.addEventListener("resize",n.update,Re),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Re)})),c&&s.removeEventListener("resize",n.update,Re)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Te({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,c=n.roundOffsets,s=void 0===c||c,u={placement:Se(t.placement),variation:Ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,We(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,We(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},_e,je,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0===a||a,s=n.fallbackPlacements,u=n.padding,p=n.boundary,f=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,v=void 0===d||d,h=n.allowedAutoPlacements,m=t.options.placement,y=Se(m),w=s||(y===m||!v?[Ce(m)]:function(e){if(Se(e)===fe)return[];var t=Ce(e);return[Ie(e),t,Ie(t)]}(m)),g=[m].concat(w).reduce((function(e,n){return e.concat(Se(n)===fe?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?we:s,p=Ee(r),f=p?c?ye:ye.filter((function(e){return Ee(e)===p})):le,l=f.filter((function(e){return u.indexOf(e)>=0}));0===l.length&&(l=f);var d=l.reduce((function(t,n){return t[n]=Ve(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Se(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:p,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:h}):n)}),[]),b=t.rects.reference,x=t.rects.popper,O=new Map,P=!0,k=g[0],R=0;R=0,A=T?"width":"height",W=Ve(t,{placement:S,boundary:p,rootBoundary:f,altBoundary:l,padding:u}),_=T?M?ue:pe:M?se:ce;b[A]>x[A]&&(_=Ce(_));var j=Ce(_),L=[];if(i&&L.push(W[E]<=0),c&&L.push(W[_]<=0,W[j]<=0),L.every((function(e){return e}))){k=S,P=!1;break}O.set(S,L)}if(P)for(var C=function(e){var t=g.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},D=v?3:1;D>0;D--){if("break"===C(D))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Ge,$e,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ve(t,{elementContext:"reference"}),c=Ve(t,{altBoundary:!0}),s=Ye(a,r),u=Ye(c,o,i),p=Xe(s),f=Xe(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),Ke="tippy-content",Qe="tippy-backdrop",Ze="tippy-arrow",et="tippy-svg-arrow",tt={passive:!0,capture:!0},nt=function(){return document.body};function rt(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ot(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function it(e,t){return"function"==typeof e?e.apply(void 0,t):e}function at(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function ct(e){return[].concat(e)}function st(e,t){-1===e.indexOf(t)&&e.push(t)}function ut(e){return e.split("-")[0]}function pt(e){return[].slice.call(e)}function ft(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function lt(){return document.createElement("div")}function dt(e){return["Element","Fragment"].some((function(t){return ot(e,t)}))}function vt(e){return ot(e,"MouseEvent")}function ht(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function mt(e){return dt(e)?[e]:function(e){return ot(e,"NodeList")}(e)?pt(e):Array.isArray(e)?e:pt(document.querySelectorAll(e))}function yt(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function wt(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function gt(e){var t,n=ct(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function bt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function xt(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Ot={isTouch:!1},Pt=0;function kt(){Ot.isTouch||(Ot.isTouch=!0,window.performance&&document.addEventListener("mousemove",Rt))}function Rt(){var e=performance.now();e-Pt<20&&(Ot.isTouch=!1,document.removeEventListener("mousemove",Rt)),Pt=e}function St(){var e=document.activeElement;if(ht(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Et=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Mt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Tt=Object.assign({appendTo:nt,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Mt,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),At=Object.keys(Tt);function Wt(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Tt[o])?r:i);return t}),{});return Object.assign({},e,t)}function _t(e,t){var n=Object.assign({},t,{content:it(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Wt(Object.assign({},Tt,{plugins:t}))):At).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(o){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Tt.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function jt(e,t){e.innerHTML=t}function Lt(e){var t=lt();return!0===e?t.className=Ze:(t.className=et,dt(e)?t.appendChild(e):jt(t,e)),t}function Ct(e,t){dt(t.content)?(jt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?jt(e,t.content):e.textContent=t.content)}function Dt(e){var t=e.firstElementChild,n=pt(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Ke)})),arrow:n.find((function(e){return e.classList.contains(Ze)||e.classList.contains(et)})),backdrop:n.find((function(e){return e.classList.contains(Qe)}))}}function It(e){var t=lt(),n=lt();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=lt();function o(n,r){var o=Dt(t),i=o.box,a=o.content,c=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Ct(a,e.props),r.arrow?c?n.arrow!==r.arrow&&(i.removeChild(c),i.appendChild(Lt(r.arrow))):i.appendChild(Lt(r.arrow)):c&&i.removeChild(c)}return r.className=Ke,r.setAttribute("data-state","hidden"),Ct(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}It.$$tippy=!0;var Bt=1,Nt=[],Ut=[];function Ht(e,t){var n,r,o,i,a,c,s,u,p=_t(e,Object.assign({},Tt,Wt(ft(t)))),f=!1,l=!1,d=!1,v=!1,h=[],m=at($,p.interactiveDebounce),y=Bt++,w=(u=p.plugins).filter((function(e,t){return u.indexOf(e)===t})),g={id:y,reference:e,popper:lt(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:w,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(g.state.isDestroyed)return;j("onBeforeUpdate",[g,t]),z();var n=g.props,r=_t(e,Object.assign({},n,ft(t),{ignoreAttributes:!0}));g.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(D(),m=at($,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?ct(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");C(),_(),O&&O(n,r);g.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));j("onAfterUpdate",[g,t])},setContent:function(e){g.setProps({content:e})},show:function(){0;var e=g.state.isVisible,t=g.state.isDestroyed,n=!g.state.isEnabled,r=Ot.isTouch&&!g.props.touch,o=rt(g.props.duration,0,Tt.duration);if(e||t||n||r)return;if(M().hasAttribute("disabled"))return;if(j("onShow",[g],!1),!1===g.props.onShow(g))return;g.state.isVisible=!0,E()&&(x.style.visibility="visible");_(),U(),g.state.isMounted||(x.style.transition="none");if(E()){var i=A(),a=i.box,s=i.content;yt([a,s],0)}c=function(){var e;if(g.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=g.props.moveTransition,E()&&g.props.animation){var t=A(),n=t.box,r=t.content;yt([n,r],o),wt([n,r],"visible")}L(),C(),st(Ut,g),null==(e=g.popperInstance)||e.forceUpdate(),j("onMount",[g]),g.props.animation&&E()&&function(e,t){F(e,t)}(o,(function(){g.state.isShown=!0,j("onShown",[g])}))}},function(){var e,t=g.props.appendTo,n=M();e=g.props.interactive&&t===nt||"parent"===t?n.parentNode:it(t,[n]);e.contains(x)||e.appendChild(x);g.state.isMounted=!0,K(),!1}()},hide:function(){0;var e=!g.state.isVisible,t=g.state.isDestroyed,n=!g.state.isEnabled,r=rt(g.props.duration,1,Tt.duration);if(e||t||n)return;if(j("onHide",[g],!1),!1===g.props.onHide(g))return;g.state.isVisible=!1,g.state.isShown=!1,v=!1,f=!1,E()&&(x.style.visibility="hidden");if(D(),H(),_(!0),E()){var o=A(),i=o.box,a=o.content;g.props.animation&&(yt([i,a],r),wt([i,a],"hidden"))}L(),C(),g.props.animation?E()&&function(e,t){F(e,(function(){!g.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,g.unmount):g.unmount()},hideWithInteractivity:function(e){0;T().addEventListener("mousemove",m),st(Nt,m),m(e)},enable:function(){g.state.isEnabled=!0},disable:function(){g.hide(),g.state.isEnabled=!1},unmount:function(){0;g.state.isVisible&&g.hide();if(!g.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);Ut=Ut.filter((function(e){return e!==g})),g.state.isMounted=!1,j("onHidden",[g])},destroy:function(){0;if(g.state.isDestroyed)return;g.clearDelayTimeouts(),g.unmount(),z(),delete e._tippy,g.state.isDestroyed=!0,j("onDestroy",[g])}};if(!p.render)return g;var b=p.render(g),x=b.popper,O=b.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+g.id,g.popper=x,e._tippy=g,x._tippy=g;var P=w.map((function(e){return e.fn(g)})),k=e.hasAttribute("aria-expanded");return V(),C(),_(),j("onCreate",[g]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",m)})),g;function R(){var e=g.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===R()[0]}function E(){var e;return!(null==(e=g.props.render)||!e.$$tippy)}function M(){return s||e}function T(){var e=M().parentNode;return e?gt(e):document}function A(){return Dt(x)}function W(e){return g.state.isMounted&&!g.state.isVisible||Ot.isTouch||i&&"focus"===i.type?0:rt(g.props.delay,e?0:1,Tt.delay)}function _(e){void 0===e&&(e=!1),x.style.pointerEvents=g.props.interactive&&!e?"":"none",x.style.zIndex=""+g.props.zIndex}function j(e,t,n){var r;(void 0===n&&(n=!0),P.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=g.props)[e].apply(r,t)}function L(){var t=g.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;ct(g.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(g.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function C(){!k&&g.props.aria.expanded&&ct(g.props.triggerTarget||e).forEach((function(e){g.props.interactive?e.setAttribute("aria-expanded",g.state.isVisible&&e===M()?"true":"false"):e.removeAttribute("aria-expanded")}))}function D(){T().removeEventListener("mousemove",m),Nt=Nt.filter((function(e){return e!==m}))}function I(t){if(!Ot.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!g.props.interactive||!xt(x,n)){if(ct(g.props.triggerTarget||e).some((function(e){return xt(e,n)}))){if(Ot.isTouch)return;if(g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[g,t]);!0===g.props.hideOnClick&&(g.clearDelayTimeouts(),g.hide(),l=!0,setTimeout((function(){l=!1})),g.state.isMounted||H())}}}function B(){d=!0}function N(){d=!1}function U(){var e=T();e.addEventListener("mousedown",I,!0),e.addEventListener("touchend",I,tt),e.addEventListener("touchstart",N,tt),e.addEventListener("touchmove",B,tt)}function H(){var e=T();e.removeEventListener("mousedown",I,!0),e.removeEventListener("touchend",I,tt),e.removeEventListener("touchstart",N,tt),e.removeEventListener("touchmove",B,tt)}function F(e,t){var n=A().box;function r(e){e.target===n&&(bt(n,"remove",r),t())}if(0===e)return t();bt(n,"remove",a),bt(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),ct(g.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),h.push({node:e,eventType:t,handler:n,options:r})}))}function V(){var e;S()&&(q("touchstart",G,{passive:!0}),q("touchend",Y,{passive:!0})),(e=g.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,G),e){case"mouseenter":q("mouseleave",Y);break;case"focus":q(Et?"focusout":"blur",X);break;case"focusin":q("focusout",X)}}))}function z(){h.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),h=[]}function G(e){var t,n=!1;if(g.state.isEnabled&&!J(e)&&!l){var r="focus"===(null==(t=i)?void 0:t.type);i=e,s=e.currentTarget,C(),!g.state.isVisible&&vt(e)&&Nt.forEach((function(t){return t(e)})),"click"===e.type&&(g.props.trigger.indexOf("mouseenter")<0||f)&&!1!==g.props.hideOnClick&&g.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function $(e){var t=e.target,n=M().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=ut(o.placement),c=o.modifiersData.offset;if(!c)return!0;var s="bottom"===a?c.top.y:0,u="top"===a?c.bottom.y:0,p="right"===a?c.left.x:0,f="left"===a?c.right.x:0,l=t.top-r+s>i,d=r-t.bottom-u>i,v=t.left-n+p>i,h=n-t.right-f>i;return l||d||v||h}))})(r,e)&&(D(),te(e))}}function Y(e){J(e)||g.props.trigger.indexOf("click")>=0&&f||(g.props.interactive?g.hideWithInteractivity(e):te(e))}function X(e){g.props.trigger.indexOf("focusin")<0&&e.target!==M()||g.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function J(e){return!!Ot.isTouch&&S()!==e.type.indexOf("touch")>=0}function K(){Q();var t=g.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,s=E()?Dt(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||M()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(E()){var n=A().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];E()&&s&&f.push({name:"arrow",options:{element:s,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),g.popperInstance=Je(u,x,Object.assign({},n,{placement:r,onFirstUpdate:c,modifiers:f}))}function Q(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function Z(){return pt(x.querySelectorAll("[data-tippy-root]"))}function ee(e){g.clearDelayTimeouts(),e&&j("onTrigger",[g,e]),U();var t=W(!0),r=R(),o=r[0],i=r[1];Ot.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){g.show()}),t):g.show()}function te(e){if(g.clearDelayTimeouts(),j("onUntrigger",[g,e]),g.state.isVisible){if(!(g.props.trigger.indexOf("mouseenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=W(!1);t?r=setTimeout((function(){g.state.isVisible&&g.hide()}),t):o=requestAnimationFrame((function(){g.hide()}))}}else H()}}function Ft(e,t){void 0===t&&(t={});var n=Tt.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",kt,tt),window.addEventListener("blur",St);var r=Object.assign({},t,{plugins:n}),o=mt(e).reduce((function(e,t){var n=t&&Ht(t,r);return n&&e.push(n),e}),[]);return dt(e)?o[0]:o}Ft.defaultProps=Tt,Ft.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Tt[t]=e[t]}))},Ft.currentInput=Ot;Object.assign({},_e,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Ft.setDefaultProps({render:It});var qt=Ft;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.tooltip={init(){WPRecipeMaker.tooltip.addTooltips()},addTooltips(){var e=document.querySelectorAll(".wprm-tooltip");for(var t of e){var n=t._tippy;n&&n.destroy();var r=!!t.dataset.hasOwnProperty("tooltip")&&t.dataset.tooltip;r&&qt(t,{content:r})}}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.tooltip.init()}));n(16835)},16835:function(){var e;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.video={load(){window.addEventListener("resize",function(){this.forceRatio()}.bind(this)),window.WPRecipeMaker.video.init()},init(){this.forceRatio()},forceRatio(){document.querySelectorAll(".wprm-recipe iframe, .wprm-recipe object, .wprm-recipe video, .wprm-recipe-video-container iframe, .wprm-recipe-video-container object, .wprm-recipe-video-container video").forEach((function(e){var t,n,r=e.parentNode;if(e.classList.contains("intrinsic-ignore")||e.parentNode.classList.contains("intrinsic-ignore"))return!0;e.dataset.origwidth||(e.setAttribute("data-origwidth",e.width),e.setAttribute("data-origheight",e.height)),t=(n=r.offsetWidth)/e.dataset.origwidth,e.style.width=n+"px",e.style.height=e.dataset.origheight*t+"px"}))}},e=()=>{wprm_public.settings.video_force_ratio&&window.WPRecipeMaker.video.load()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},23362:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]-1&&(t&&s.cancelMethods[n](),s.elements.splice(n,1),s.cancelMethods.splice(n,1))}},u="undefined"!=typeof window,p={cancelOnUserAction:!0,easing:function(e){return--e*e*e+1},elementToScroll:u?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};t.default=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){var r,i,f,l,d,v,h,m,y,w,g,b,x,O,P,k,R;return o(this,(function(o){if(!u)return[2,new Promise((function(e){e(!1)}))];if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";if(l=n(n({},p),t),d=l.elementToScroll===window,v=!!l.elementToScroll.nodeName,!d&&!v)throw"Element to scroll needs to be either window or DOM element.";if(h=d?document.documentElement:l.elementToScroll,"smooth"===getComputedStyle(h).getPropertyValue("scroll-behavior")&&console.warn(h.tagName+' has "scroll-behavior: smooth" which can mess up with animated-scroll-to\'s animations'),m=d?new c:new a(l.elementToScroll),e instanceof Element){if(f=e,v&&(!l.elementToScroll.contains(f)||l.elementToScroll.isSameNode(f)))throw"options.elementToScroll has to be a parent of scrollToElement";r=m.getHorizontalElementScrollOffset(f,l.elementToScroll),i=m.getVerticalElementScrollOffset(f,l.elementToScroll)}else if("number"==typeof e)r=m.getHorizontalScroll(),i=e;else{if(!Array.isArray(e)||2!==e.length)throw"Wrong function signature. Check documentation.\nAvailable method signatures are:\n animateScrollTo(y:number, options)\n animateScrollTo([x:number | null, y:number | null], options)\n animateScrollTo(scrollToElement:Element, options)";r=null===e[0]?m.getHorizontalScroll():e[0],i=null===e[1]?m.getVerticalScroll():e[1]}return r+=l.horizontalOffset,i+=l.verticalOffset,y=m.getMaxHorizontalScroll(),w=m.getHorizontalScroll(),r>y&&(r=y),g=r-w,b=m.getMaxVerticalScroll(),x=m.getVerticalScroll(),i>b&&(i=b),O=i-x,P=Math.abs(Math.round(g/1e3*l.speed)),k=Math.abs(Math.round(O/1e3*l.speed)),(R=P>k?P:k)l.maxDuration&&(R=l.maxDuration),[2,new Promise((function(e,t){var n;0===g&&0===O&&e(!0),s.remove(l.elementToScroll,!0);var o=function(){p(),cancelAnimationFrame(n),e(!1)};s.add(l.elementToScroll,o);var a=l.cancelOnUserAction?o:function(e){return e.preventDefault()},c=l.cancelOnUserAction?{passive:!0}:{passive:!1},u=["wheel","touchstart","keydown","mousedown"],p=function(){u.forEach((function(e){l.elementToScroll.removeEventListener(e,a,c)}))};u.forEach((function(e){l.elementToScroll.addEventListener(e,a,c)}));var f=Date.now(),d=function(){var t=Date.now()-f,o=t/R,a=Math.round(w+g*l.easing(o)),c=Math.round(x+O*l.easing(o));tp;)if((c=s[p++])!=c)return!0}else for(;u>p;p++)if((e||p in s)&&s[p]===n)return e||p||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},58990:function(e,t,n){var r=n(32565),o=n(47046),i=n(35039),a=Array,c=Math.max;e.exports=function(e,t,n){for(var s=o(e),u=r(t,s),p=r(void 0===n?s:n,s),f=a(c(p-u,0)),l=0;u0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,n){var r=n(98363),o=n(66012).f,i=n(45899),a=n(50403),c=n(62359),s=n(73870),u=n(86291);e.exports=function(e,t){var n,p,f,l,d,v=e.target,h=e.global,m=e.stat;if(n=h?r:m?r[v]||c(v,{}):(r[v]||{}).prototype)for(p in t){if(l=t[p],f=e.dontCallGetSet?(d=o(n,p))&&d.value:n[p],!u(h?p:v+(m?".":"#")+p,e.forced)&&void 0!==f){if(typeof l==typeof f)continue;s(l,f)}(e.sham||f&&f.sham)&&i(l,"sham",!0),a(n,p,l,e)}}},79044:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},81492:function(e,t,n){"use strict";n(39275);var r=n(88697),o=n(50403),i=n(99749),a=n(79044),c=n(52280),s=n(45899),u=c("species"),p=RegExp.prototype;e.exports=function(e,t,n,f){var l=c(e),d=!a((function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})),v=d&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return t=!0,null},n[l](""),!t}));if(!d||!v||n){var h=r(/./[l]),m=t(l,""[e],(function(e,t,n,o,a){var c=r(e),s=t.exec;return s===i||s===p.exec?d&&!a?{done:!0,value:h(t,n,o)}:{done:!0,value:c(n,t,o)}:{done:!1}}));o(String.prototype,e,m[0]),o(p,l,m[1])}f&&s(p[l],"sham",!0)}},63530:function(e,t,n){var r=n(23996),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},98166:function(e,t,n){var r=n(88697),o=n(97676),i=n(23996),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},23996:function(e,t,n){var r=n(79044);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},79611:function(e,t,n){var r=n(23996),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},55316:function(e,t,n){var r=n(7493),o=n(24792),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},88697:function(e,t,n){var r=n(23996),o=Function.prototype,i=o.bind,a=o.call,c=r&&i.bind(a,a);e.exports=r?function(e){return e&&c(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},22773:function(e,t,n){var r=n(98363),o=n(75277),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},77193:function(e,t,n){var r=n(36994),o=n(97219),i=n(44818),a=n(52280)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},11805:function(e,t,n){var r=n(79611),o=n(97676),i=n(83875),a=n(28768),c=n(77193),s=TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(o(n))return i(r(n,e));throw s(a(e)+" is not iterable")}},97219:function(e,t,n){var r=n(97676);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},98363:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},24792:function(e,t,n){var r=n(88697),o=n(30744),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},47505:function(e){e.exports={}},46271:function(e,t,n){var r=n(98363);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},47055:function(e,t,n){var r=n(22773);e.exports=r("document","documentElement")},67548:function(e,t,n){var r=n(7493),o=n(79044),i=n(92750);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,n){var r=n(88697),o=n(79044),i=n(79159),a=Object,c=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):a(e)}:a},56429:function(e,t,n){var r=n(88697),o=n(75277),i=n(49415),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},20821:function(e,t,n){var r,o,i,a=n(36830),c=n(98363),s=n(88697),u=n(52786),p=n(45899),f=n(24792),l=n(49415),d=n(50466),v=n(47505),h="Object already initialized",m=c.TypeError,y=c.WeakMap;if(a||l.state){var w=l.state||(l.state=new y),g=s(w.get),b=s(w.has),x=s(w.set);r=function(e,t){if(b(w,e))throw new m(h);return t.facade=e,x(w,e,t),t},o=function(e){return g(w,e)||{}},i=function(e){return b(w,e)}}else{var O=d("state");v[O]=!0,r=function(e,t){if(f(e,O))throw new m(h);return t.facade=e,p(e,O,t),t},o=function(e){return f(e,O)?e[O]:{}},i=function(e){return f(e,O)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},68089:function(e,t,n){var r=n(52280),o=n(44818),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},75277:function(e){e.exports=function(e){return"function"==typeof e}},31536:function(e,t,n){var r=n(88697),o=n(79044),i=n(75277),a=n(36994),c=n(22773),s=n(56429),u=function(){},p=[],f=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=r(l.exec),v=!l.exec(u),h=function(e){if(!i(e))return!1;try{return f(u,p,e),!0}catch(t){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!d(l,s(e))}catch(t){return!0}};m.sham=!0,e.exports=!f||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h},86291:function(e,t,n){var r=n(79044),o=n(75277),i=/#|\.prototype\./,a=function(e,t){var n=s[c(e)];return n==p||n!=u&&(o(t)?r(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",p=a.POLYFILL="P";e.exports=a},52786:function(e,t,n){var r=n(75277);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},21178:function(e){e.exports=!1},42622:function(e,t,n){var r=n(52786),o=n(79159),i=n(52280)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},66681:function(e,t,n){var r=n(22773),o=n(75277),i=n(32010),a=n(189),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,c(e))}},5166:function(e,t,n){var r=n(98166),o=n(79611),i=n(83875),a=n(28768),c=n(68089),s=n(47046),u=n(32010),p=n(11805),f=n(77193),l=n(18744),d=TypeError,v=function(e,t){this.stopped=e,this.result=t},h=v.prototype;e.exports=function(e,t,n){var m,y,w,g,b,x,O,P=n&&n.that,k=!(!n||!n.AS_ENTRIES),R=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),E=r(t,P),M=function(e){return m&&l(m,"normal",e),new v(!0,e)},T=function(e){return k?(i(e),S?E(e[0],e[1],M):E(e[0],e[1])):S?E(e,M):E(e)};if(R)m=e;else{if(!(y=f(e)))throw d(a(e)+" is not iterable");if(c(y)){for(w=0,g=s(e);g>w;w++)if((b=T(e[w]))&&u(h,b))return b;return new v(!1)}m=p(e,y)}for(x=m.next;!(O=o(x,m)).done;){try{b=T(O.value)}catch(A){l(m,"throw",A)}if("object"==typeof b&&b&&u(h,b))return b}return new v(!1)}},18744:function(e,t,n){var r=n(79611),o=n(83875),i=n(97219);e.exports=function(e,t,n){var a,c;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(s){c=!0,a=s}if("throw"===t)throw n;if(c)throw a;return o(a),n}},97022:function(e,t,n){"use strict";var r,o,i,a=n(79044),c=n(75277),s=n(51569),u=n(12654),p=n(50403),f=n(52280),l=n(21178),d=f("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):v=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:l&&(r=s(r)),c(r[d])||p(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},44818:function(e){e.exports={}},47046:function(e,t,n){var r=n(35108);e.exports=function(e){return r(e.length)}},20833:function(e,t,n){var r=n(79044),o=n(75277),i=n(24792),a=n(7493),c=n(55316).CONFIGURABLE,s=n(56429),u=n(20821),p=u.enforce,f=u.get,l=Object.defineProperty,d=a&&!r((function(){return 8!==l((function(){}),"length",{value:8}).length})),v=String(String).split("String"),h=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&l(e,"name",{value:t,configurable:!0}),d&&n&&i(n,"arity")&&e.length!==n.arity&&l(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&l(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=p(e);return i(r,"source")||(r.source=v.join("string"==typeof t?t:"")),e};Function.prototype.toString=h((function(){return o(this)&&f(this).source||s(this)}),"toString")},78300:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},71800:function(e,t,n){var r,o,i,a,c,s,u,p,f=n(98363),l=n(98166),d=n(66012).f,v=n(84643).set,h=n(53121),m=n(55357),y=n(14402),w=n(93921),g=f.MutationObserver||f.WebKitMutationObserver,b=f.document,x=f.process,O=f.Promise,P=d(f,"queueMicrotask"),k=P&&P.value;k||(r=function(){var e,t;for(w&&(e=x.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(n){throw o?a():i=void 0,n}}i=void 0,e&&e.enter()},h||w||y||!g||!b?!m&&O&&O.resolve?((u=O.resolve(void 0)).constructor=O,p=l(u.then,u),a=function(){p(r)}):w?a=function(){x.nextTick(r)}:(v=l(v,f),a=function(){v(r)}):(c=!0,s=b.createTextNode(""),new g(r).observe(s,{characterData:!0}),a=function(){s.data=c=!c})),e.exports=k||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},3850:function(e,t,n){var r=n(11197),o=n(79044);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},36830:function(e,t,n){var r=n(98363),o=n(75277),i=n(56429),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},29269:function(e,t,n){"use strict";var r=n(97676),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},35399:function(e,t,n){var r=n(98363),o=n(79044),i=n(88697),a=n(28967),c=n(10287).trim,s=n(2569),u=r.parseInt,p=r.Symbol,f=p&&p.iterator,l=/^[+-]?0x/i,d=i(l.exec),v=8!==u(s+"08")||22!==u(s+"0x16")||f&&!o((function(){u(Object(f))}));e.exports=v?function(e,t){var n=c(a(e));return u(n,t>>>0||(d(l,n)?16:10))}:u},51569:function(e,t,n){var r,o=n(83875),i=n(17840),a=n(48869),c=n(47505),s=n(47055),u=n(92750),p=n(50466),f=p("IE_PROTO"),l=function(){},d=function(e){return"