text: (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"0Wfq":function(t,e,r){var n;n=function(){var t=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","ǈ":"LJ","ǉ":"lj","ǋ":"NJ","ǌ":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","‘":"\'","’":"\'","“":"\\"","”":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial"}'),e=JSON.parse('{"vi":{"Đ":"D","đ":"d"}}');function r(r,n){if("string"!=typeof r)throw new Error("slugify: string argument expected");var o=e[(n="string"==typeof n?{replacement:n}:n||{}).locale]||{},i=void 0===n.replacement?"-":n.replacement,a=r.split("").reduce((function(e,r){return e+(o[r]||t[r]||r).replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"").trim().replace(new RegExp("[\\s"+i+"]+","g"),i);return n.lower&&(a=a.toLowerCase()),n.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+i+"]","g"),"").replace(new RegExp("[\\s"+i+"]+","g"),i)),a}return r.extend=function(e){for(var r in e)t[r]=e[r]},r},t.exports=n(),t.exports.default=n()},"0vI5":function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r("ERkP"),o=r.n(n),i=o.a.createContext({}),a=i.Provider},"1Fob":function(t,e,r){"use strict";var n=new RegExp("%[a-f0-9]{2}","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function i(t,e){try{return decodeURIComponent(t.join(""))}catch(o){}if(1===t.length)return t;e=e||1;var r=t.slice(0,e),n=t.slice(e);return Array.prototype.concat.call([],i(r),i(n))}function a(t){try{return decodeURIComponent(t)}catch(o){for(var e=t.match(n),r=1;r<e.length;r++)e=(t=i(e,r).join("")).match(n);return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var r={"%FE%FF":"��","%FF%FE":"��"},n=o.exec(t);n;){try{r[n[0]]=decodeURIComponent(n[0])}catch(e){var i=a(n[0]);i!==n[0]&&(r[n[0]]=i)}n=o.exec(t)}r["%C2"]="�";for(var c=Object.keys(r),u=0;u<c.length;u++){var s=c[u];t=t.replace(new RegExp(s,"g"),r[s])}return t}(t)}}},"3yYM":function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(P){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof f?e:f,i=Object.create(o.prototype),a=new w(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=O(a,r);if(c){if(c===l)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(P){return{type:"throw",arg:P}}}t.wrap=u;var l={};function f(){}function p(){}function d(){}var h={};h[o]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(E([])));b&&b!==e&&r.call(b,o)&&(h=b);var v=d.prototype=f.prototype=Object.create(h);function g(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function m(t,e){var n;this._invoke=function(o,i){function a(){return new e((function(n,a){!function n(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function O(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=v.constructor=d,d.constructor=p,p.displayName=c(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},g(m.prototype),m.prototype[i]=function(){return this},t.AsyncIterator=m,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new m(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(v),c(v,a,"Generator"),v[o]=function(){return this},v.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=n}catch(o){Function("r","regeneratorRuntime = r")(n)}},"8uyH":function(t,e,r){var n=r("dpio"),o=r("OekA"),i=r("S3pA"),a=r("wxYD");t.exports=function(t,e){return function(r,c){var u=a(r)?n:o,s=e?e():{};return u(r,t,i(c,2),s)}}},AYPV:function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return u}));var n=r("ERkP"),o=r.n(n),i=r("G1Rd"),a=r("JBtm"),c=r.n(a);function u(t){var e=t.location,r=c.a.parse(e.search);return o.a.createElement(i.a,{recipe:r.name})}},Fy54:function(t,e,r){"use strict";r.r(e),r.d(e,"StepRenderer",(function(){return R}));var n=r("XcBm");function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function i(t,e,r){return(i=o()?Reflect.construct:function(t,e,r){var o=[null];o.push.apply(o,e);var i=new(Function.bind.apply(t,o));return r&&Object(n.a)(i,r.prototype),i}).apply(null,arguments)}var a=r("fGyu"),c=r("+wNj"),u=r("ERkP"),s=r.n(u);function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var h=s.a.createContext({}),y=function(t){var e=s.a.useContext(h);return"function"==typeof t?t(e):p(p({},e),t)},b=function(t){var e=t.components,r=t.children,n=t.disableParentContext,o=y(e);return n&&(o=e),s.a.createElement(h.Provider,{value:o},r)},v={inlineCode:"code",wrapper:function(t){var e=t.children;return s.a.createElement(s.a.Fragment,{},e)}},g=s.a.forwardRef((function(t,e){var r=t.components,n=t.mdxType,o=t.originalType,i=t.parentName,a=d(t,["components","mdxType","originalType","parentName"]),c=y(r),u=n,l=c["".concat(i,".").concat(u)]||c[u]||v[u]||o;return r?s.a.createElement(l,p(p({ref:e},a),{},{components:r})):s.a.createElement(l,p({ref:e},a))}));function m(t,e){var r=arguments,n=e&&e.mdxType;if("string"==typeof t||n){var o=r.length,i=new Array(o);i[0]=g;var a={};for(var c in e)hasOwnProperty.call(e,c)&&(a[c]=e[c]);a.originalType=t,a.mdxType="string"==typeof t?t:n,i[1]=a;for(var u=2;u<o;u++)i[u]=r[u];return s.a.createElement.apply(null,i)}return s.a.createElement.apply(null,r)}function O(){return(O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}g.displayName="MDXCreateElement";var j=s.a.createContext({}),x=function(t){var e=(Object(u.useContext)(j)||{})[t];return null==e?void 0:e.value},w=function(t){var e=t.type,r=void 0===e?"text":e,n=t.label,o=t.key,i=x(void 0===o?"123":o)||"",a=Object(u.useState)(i),c=a[0],l=a[1];return[function(t){return s.a.createElement("div",null,s.a.createElement("label",null,n),s.a.createElement("input",O({},t,{type:r,value:c,onChange:function(t){return l(t.target.value)}})))},c]},E=(j.Provider,s.a.createContext([])),A=function(t){return Object(u.useContext)(E).find((function(e){return e.resourceDefinitions._key===t}))||{}},P=(E.Provider,function(t){return{contentful:{accessToken:{}.CONTENTFUL_ACCESS_TOKEN}}[t]}),R=function(t){var e,r=t.children,n=t.scope,o=t.components,u=Object(c.a)(t,["children","scope","components"]),l=Object.assign({mdx:m,MDXProvider:b,React:s.a},o,{components:o,props:u,useInput:w,useInputByKey:x,useResource:A,useProvider:P},n),f=Object.keys(l),p=Object.values(l);return i(Function,Object(a.a)(f).concat([(e=r,e+"\n\n  return React.createElement(MDXProvider, { components },\n    React.createElement(MDXContent, props)\n  );")])).apply(void 0,Object(a.a)(p))};console.log(R)},G1Rd:function(t,e,r){"use strict";(function(t){var n,o,i,a,c=r("VtSi"),u=r.n(c),s=(r("3yYM"),r("QsI/")),l=r("Rj53"),f=r.n(l),p=r("ERkP"),d=r.n(p),h=r("oj0F"),y=r("eQpF"),b=r("0vI5"),v=r("oG6b"),g=r("cnhd"),m=r("HgYO"),O=r("HX+Y"),j=r.n(O),x=r("3tRx"),w=r("uUnl"),E=r("yVhM"),A=r("QKw7"),P=r("aK7+"),R=r("PaNl"),k=r("K9ew"),S=!1,T=function(){var t=Object(s.a)(u.a.mark((function t(){var e,r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,j()(a+"/session");case 2:return e=t.sent,t.next=5,e.text();case 5:r=t.sent,n?r!==n&&window.location.reload():n=r;case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),N=function(){return Object(h.c)("span",null,"Loading...")};function C(t){var e=t.children;return Object(h.c)("div",{sx:{maxWidth:1e3,margin:"0 auto"}},e)}var I=function(t){return"done"===t.value?"Refresh State":"Install Recipe"},L=function t(e){var r=e.resourceChildren,n=e.state;return r&&r.length?Object(h.c)(y.b.ul,{sx:{ml:0,mt:0,pl:0}},r.map((function(e){return Object(h.c)(y.b.li,{sx:{listStyleType:"none"},key:e._uuid},Object(h.c)(k.a,{state:n,resource:e}),Object(h.c)(t,{state:n,resourceChildren:e.resourceChildren}))}))):null},F=function(e){var r=e.recipe,n=Object(p.useState)(null),c=n[0],l=n[1];d.a.useEffect((function(){j()("/___services").then((function(t){return t.json()})).then((function(t){if(t.metadata&&(i=t.metadata.sitePath),t.recipesgraphqlserver){a="http://localhost:"+t.recipesgraphqlserver.port;var e=Object(g.a)({port:t.recipesgraphqlserver.port,connectionCallback:(n=Object(s.a)(u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:T(),B(r);case 2:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})});l(e)}var n}))}),[]);var O=Object(m.d)({query:"\n          subscription {\n            operation {\n              state\n            }\n          }\n        "},(function(t,e){return e}))[0],F=Object(m.b)("\n        mutation ($recipePath: String!, $projectRoot: String!) {\n          createOperation(recipePath: $recipePath, projectRoot: $projectRoot)\n        }\n      "),U=(F[0],F[1]),D=Object(m.b)("\n        mutation($event: String!, $input: String) {\n          sendEvent(event: $event, input: $input)\n        }\n      "),_=(D[0],D[1]);o=function(t){var e=t.event,r=t.input;_(r?{event:e,input:JSON.stringify(r)}:{event:e})};var B=function(){var t=Object(s.a)(u.a.mark((function t(e){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Object(R.b)("createOperation"),S){t.next=12;break}return S=!0,t.prev=3,t.next=6,U({recipePath:e,projectRoot:i});case 6:t.next=12;break;case 8:t.prev=8,t.t0=t.catch(3),Object(R.b)("error creating operation",t.t0),S=!1;case 12:T();case 13:case"end":return t.stop()}}),t,null,[[3,8]])})));return function(e){return t.apply(this,arguments)}}();var M=O.data&&JSON.parse(O.data.operation.state);if(!M)return Object(h.c)(C,null,Object(h.c)(N,null)," ",r);var Y="done"===M.value;"doneError"===M.value&&console.log("doneError state",M),Object(R.b)("state",M),Object(R.b)("plan",M.context.plan),Object(R.b)("stepResources",M.context.stepResources),Y&&t.nextTick((function(){try{c.close()}catch(t){}Object(R.b)(r+" finished successfully")}));var G=M.context,H=G.plan,q=G.stepsAsJS,J=G.exports,W=f()(H,(function(t){return t.resourceName}));return Object(h.c)(d.a.Fragment,null,Object(h.c)(y.b.p,null," "),Object(h.c)(v.a,{value:(null==H?void 0:H.filter((function(t){var e;return null===(e=t.resourceDefinitions)||void 0===e?void 0:e._key})))||[]},Object(h.c)(b.a,{value:{}},Object(h.c)(C,null,Object(h.c)(A.a,null),Object(h.c)("div",{sx:{mb:8,display:"flex",alignItems:"flex-start",justifyContent:"space-between"}},Object(h.c)("div",{sx:{"*:last-child":{mb:0}}},Object(h.c)(E.StepRenderer,{components:R.a,scope:{sendEvent:o},remarkPlugins:[R.d]},(null==J?void 0:J.join("\n"))+"\n\n"+q[0])),Object(h.c)(x.a,{onClick:function(){return o({event:"CONTINUE"})},loading:"applyingPlan"===M.value,loadingLabel:"Installing",sx:{width:"140px",ml:6}},Object(h.c)(I,{state:M}))),Object(h.c)("div",{sx:{marginBottom:14}},Object(h.c)(w.a,{sx:{marginBottom:6}},null==H?void 0:H.length," ","Changes"),Object.entries(W).map((function(t){var e=t[0],r=t[1];return Object(h.c)("div",{key:"key-"+e},Object(h.c)(w.a,{as:"h3",sx:{mb:3,fontWeight:400,fontStyle:"italic"}},e),Object(h.c)(y.b.ul,{sx:{pl:3,marginTop:0,mb:5}},r.filter((function(t){return"Input"!==t.resourceName})).map((function(t,r){return Object(h.c)(y.b.li,{sx:{listStyleType:"none"},key:e+"-plan-"+r},Object(h.c)(k.a,{state:M,resource:t}),Object(h.c)(L,{state:M,resourceChildren:t.resourceChildren}))}))))}))),Object(h.c)(w.a,{sx:{mb:6}},q.length-1," Steps"),q.slice(1).map((function(t,e){return Object(h.c)(P.a,{sendEvent:o,state:M,step:t,key:"step-"+e,i:e})}))))))};e.a=function(t){var e=t.recipe;return Object(h.c)(F,{recipe:e})}}).call(this,r("F63i"))},"HX+Y":function(t,e){var r=function(t){function e(){this.fetch=!1,this.DOMException=t.DOMException}return e.prototype=t,new e}("undefined"!=typeof self?self:this);!function(t){!function(e){var r="URLSearchParams"in t,n="Symbol"in t&&"iterator"in Symbol,o="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),i="FormData"in t,a="ArrayBuffer"in t;if(a)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(t){return t&&c.indexOf(Object.prototype.toString.call(t))>-1};function s(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function l(t){return"string"!=typeof t&&(t=String(t)),t}function f(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function d(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function y(t){var e=new FileReader,r=h(e);return e.readAsArrayBuffer(t),r}function b(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:i&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():a&&o&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(t)||u(t))?this._bodyArrayBuffer=b(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var t=d(this);if(t)return t;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(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var t,e,r,n=d(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=h(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(t,e){t=s(t),e=l(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},p.prototype.delete=function(t){delete this.map[s(t)]},p.prototype.get=function(t){return t=s(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(s(t))},p.prototype.set=function(t,e){this.map[s(t)]=l(e)},p.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},p.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),f(t)},p.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),f(t)},p.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),f(t)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function m(t,e){var r,n,o=(e=e||{}).body;if(t instanceof m){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new p(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new p(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),g.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function O(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function j(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},v.call(m.prototype),v.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},j.error=function(){var t=new j(null,{status:0,statusText:""});return t.type="error",t};var x=[301,302,303,307,308];j.redirect=function(t,e){if(-1===x.indexOf(e))throw new RangeError("Invalid status code");return new j(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(E){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function w(t,r){return new Promise((function(n,i){var a=new m(t,r);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function u(){c.abort()}c.onload=function(){var t,e,r={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}})),e)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;n(new j(o,r))},c.onerror=function(){i(new TypeError("Network request failed"))},c.ontimeout=function(){i(new TypeError("Network request failed"))},c.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},c.open(a.method,a.url,!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&o&&(c.responseType="blob"),a.headers.forEach((function(t,e){c.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",u),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",u)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}w.polyfill=!0,t.fetch||(t.fetch=w,t.Headers=p,t.Request=m,t.Response=j),e.Headers=p,e.Request=m,e.Response=j,e.fetch=w}({})}(r),delete r.fetch.polyfill,(e=r.fetch).default=r.fetch,e.fetch=r.fetch,e.Headers=r.Headers,e.Request=r.Request,e.Response=r.Response,t.exports=e},JBtm:function(t,e,r){"use strict";var n=r("ddV6"),o=r("RhWx");function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,i=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var c=r("uotq"),u=r("1Fob"),s=r("p/97");function l(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function f(t,e){return e.encode?e.strict?c(t):encodeURIComponent(t):t}function p(t,e){return e.decode?u(t):t}function d(t){var e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function h(t){var e=(t=d(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function y(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function b(t,e){l((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);var r=function(t){var e;switch(t.arrayFormat){case"index":return function(t,r,n){e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===n[t]&&(n[t]={}),n[t][e[1]]=r):n[t]=r};case"bracket":return function(t,r,n){e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==n[t]?n[t]=[].concat(n[t],r):n[t]=[r]:n[t]=r};case"comma":case"separator":return function(e,r,n){var o="string"==typeof r&&r.includes(t.arrayFormatSeparator),i="string"==typeof r&&!o&&p(r,t).includes(t.arrayFormatSeparator);r=i?p(r,t):r;var a=o||i?r.split(t.arrayFormatSeparator).map((function(e){return p(e,t)})):null===r?r:p(r,t);n[e]=a};default:return function(t,e,r){void 0!==r[t]?r[t]=[].concat(r[t],e):r[t]=e}}}(e),o=Object.create(null);if("string"!=typeof t)return o;if(!(t=t.trim().replace(/^[?#&]/,"")))return o;var a,c=i(t.split("&"));try{for(c.s();!(a=c.n()).done;){var u=a.value,f=s(e.decode?u.replace(/\+/g," "):u,"="),d=n(f,2),h=d[0],b=d[1];b=void 0===b?null:["comma","separator"].includes(e.arrayFormat)?b:p(b,e),r(p(h,e),b,o)}}catch(E){c.e(E)}finally{c.f()}for(var v=0,g=Object.keys(o);v<g.length;v++){var m=g[v],O=o[m];if("object"==typeof O&&null!==O)for(var j=0,x=Object.keys(O);j<x.length;j++){var w=x[j];O[w]=y(O[w],e)}else o[m]=y(O,e)}return!1===e.sort?o:(!0===e.sort?Object.keys(o).sort():Object.keys(o).sort(e.sort)).reduce((function(t,e){var r=o[e];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?t[e]=function t(e){return Array.isArray(e)?e.sort():"object"==typeof e?t(Object.keys(e)).sort((function(t,e){return Number(t)-Number(e)})).map((function(t){return e[t]})):e}(r):t[e]=r,t}),Object.create(null))}e.extract=h,e.parse=b,e.stringify=function(t,e){if(!t)return"";l((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);for(var r=function(r){return e.skipNull&&null==t[r]||e.skipEmptyString&&""===t[r]},n=function(t){switch(t.arrayFormat){case"index":return function(e){return function(r,n){var i=r.length;return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:[].concat(o(r),null===n?[[f(e,t),"[",i,"]"].join("")]:[[f(e,t),"[",f(i,t),"]=",f(n,t)].join("")])}};case"bracket":return function(e){return function(r,n){return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:[].concat(o(r),null===n?[[f(e,t),"[]"].join("")]:[[f(e,t),"[]=",f(n,t)].join("")])}};case"comma":case"separator":return function(e){return function(r,n){return null==n||0===n.length?r:0===r.length?[[f(e,t),"=",f(n,t)].join("")]:[[r,f(n,t)].join(t.arrayFormatSeparator)]}};default:return function(e){return function(r,n){return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:[].concat(o(r),null===n?[f(e,t)]:[[f(e,t),"=",f(n,t)].join("")])}}}}(e),i={},a=0,c=Object.keys(t);a<c.length;a++){var u=c[a];r(u)||(i[u]=t[u])}var s=Object.keys(i);return!1!==e.sort&&s.sort(e.sort),s.map((function(r){var o=t[r];return void 0===o?"":null===o?f(r,e):Array.isArray(o)?o.reduce(n(r),[]).join("&"):f(r,e)+"="+f(o,e)})).filter((function(t){return t.length>0})).join("&")},e.parseUrl=function(t,e){e=Object.assign({decode:!0},e);var r=s(t,"#"),o=n(r,2),i=o[0],a=o[1];return Object.assign({url:i.split("?")[0]||"",query:b(h(t),e)},e&&e.parseFragmentIdentifier&&a?{fragmentIdentifier:p(a,e)}:{})},e.stringifyUrl=function(t,r){r=Object.assign({encode:!0,strict:!0},r);var n=d(t.url).split("?")[0]||"",o=e.extract(t.url),i=e.parse(o,{sort:!1}),a=Object.assign(i,t.query),c=e.stringify(a,r);c&&(c="?".concat(c));var u=function(t){var e="",r=t.indexOf("#");return-1!==r&&(e=t.slice(r)),e}(t.url);return t.fragmentIdentifier&&(u="#".concat(f(t.fragmentIdentifier,r))),"".concat(n).concat(c).concat(u)}},K9ew:function(t,e,r){"use strict";var n=r("fhSp"),o=r("ERkP"),i=r.n(o),a=r("ilhn"),c=r("f7k3"),u=r("xeLb"),s=r("CEgB"),l=r("PaNl"),f=r("oj0F");function p(){var t=Object(n.a)(["\n    0% {\n      transform: rotate(0);\n    }\n    100% {\n      transform: rotate(360deg);\n    }\n  "]);return p=function(){return t},t}e.a=function(t){var e=t.state,r=t.resource,n=Object(f.c)(a.b,{sx:{height:"10px",width:"15px",display:"inline-block"}}),o=r.describe;if("applyingPlan"===e.value&&r.isDone)n=Object(f.c)(u.a,null);else if("applyingPlan"===e.value){var d=Object(c.b)(p());n=Object(f.c)(a.c,{sx:{display:"inline-block",animation:d+" 1s linear infinite",height:"15px",width:"15px",top:"3px",position:"relative"}}),o=r.describe}else"done"===e.value&&(n=Object(f.c)(u.a,{height:"15px",width:"15px"}),o=r._message);return Object(f.c)(i.a.Fragment,null,n," ",Object(f.c)(s.a,{href:"#"+Object(l.c)(r),onClick:function(t){t.preventDefault(),document.getElementById(t.currentTarget.hash.slice(1)).scrollIntoView({behavior:"smooth",block:"start"})}},o))}},Lxe0:function(t,e,r){"use strict";function n(t,e){void 0===e&&(e="warning")}r.d(e,"a",(function(){return n}))},OekA:function(t,e,r){var n=r("Q4oW");t.exports=function(t,e,r,o){return n(t,(function(t,n,i){e(o,t,r(t),i)})),o}},PaNl:function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"d",(function(){return l})),r.d(e,"c",(function(){return f})),r.d(e,"b",(function(){return p}));var n=r("ERkP"),o=r.n(n),i=r("dpmo"),a=r.n(i),c=r("0Wfq"),u=r.n(c),s={Config:function(){return null},GatsbyPlugin:function(){return null},NPMPackageJson:function(){return null},NPMPackage:function(){return null},File:function(){return null},Input:function(){return null},Directory:function(){return null},GatsbyShadowFile:function(){return null},NPMScript:function(){return null},RecipeIntroduction:function(t){return o.a.createElement("div",null,t.children)},RecipeStep:function(t){return o.a.createElement("div",null,t.children)},ContentfulSpace:function(){return null},ContentfulEnvironment:function(){return null},ContentfulType:function(){return null}},l=function(){return function(t){return a()(t,"export",(function(){return!0})),t}},f=function(t){return t.describe||(t.describe=""),encodeURIComponent(t.resourceName+"-"+u()(t.describe))},p=function(t,e){console.log(t,e)}},QKw7:function(t,e,r){"use strict";var n=r("oj0F"),o=r("eQpF"),i=r("CEgB");e.a=function(){return Object(n.c)("div",{sx:{marginTop:8,marginBottom:8,background:function(t){return t.tones.BRAND.superLight},border:function(t){return"1px solid "+t.tones.BRAND.light},padding:4}},Object(n.c)(o.b.p,null,"Thank you for trying the experimental version of Gatsby Recipes! 🤗"),Object(n.c)(o.b.p,{sx:{margin:0}},"Please ask questions, share your recipes, report bugs, and subscribe for updates in our umbrella issue at"," ",Object(n.c)(i.a,{href:"https://github.com/gatsbyjs/gatsby/issues/22991"},"https://github.com/gatsbyjs/gatsby/issues/22991")))}},"QsI/":function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void r(s)}c.done?e(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)}))}}r.d(e,"a",(function(){return o}))},Rj53:function(t,e,r){var n=r("wC3K"),o=r("8uyH"),i=Object.prototype.hasOwnProperty,a=o((function(t,e,r){i.call(t,r)?t[r].push(e):n(t,r,[e])}));t.exports=a},Ua7V:function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(u){o=!0,i=u}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}},VtSi:function(t,e,r){t.exports=r("3yYM")},"aK7+":function(t,e,r){"use strict";var n=r("oj0F"),o=r("eQpF"),i=r("uUnl"),a=r("yVhM"),c=r("+wNj"),u=r("jM10"),s=r.n(u),l=r("Zr0f"),f=Object(l.a)();s.a.setColors({red:f.tones.DANGER.medium.slice(1),green:f.tones.SUCCESS.medium.slice(1),yellow:f.tones.WARNING.medium.slice(1)});var p=function(t){var e,r=t.resourcePlan,i=Object(c.a)(t,["resourcePlan"]);return Object(n.c)(o.b.pre,Object.assign({},i,{sx:{background:function(t){return t.tones.BRAND.superLight},borderRadius:2,padding:4},dangerouslySetInnerHTML:{__html:s()((e=r.diff,e.replace(/</g,"&lt;")))}}))},d=function(t){var e=t.resourcePlan,r=Object(c.a)(t,["resourcePlan"]);return e.diff?"File"===e.resourceName?Object(n.c)("div",{sx:{background:function(t){return t.tones.BRAND.superLight},border:function(t){return"1px solid "+t.tones.BRAND.lighter},borderRadius:2}},Object(n.c)(i.a,{as:"h6",sx:{px:4,py:3,fontWeight:"normal",borderBottom:function(t){return"1px solid "+t.tones.BRAND.lighter}}},e.resourceDefinitions.path),Object(n.c)(p,{resourcePlan:e,sx:{borderTopLeftRadius:0,borderTopRightRadius:0}})):Object(n.c)(p,Object.assign({},r,{resourcePlan:e,sx:{border:function(t){return"1px solid "+t.tones.BRAND.lighter}}})):null},h=r("PaNl"),y=function t(e){var r,i=e.resourcePlan;e.isLastPlan;return Object(n.c)("div",{id:Object(h.c)(i),sx:{}},Object(n.c)("div",null,Object(n.c)(o.b.p,{sx:{mb:i.diff?6:0}},Object(n.c)(o.b.em,null,i.resourceName)," ","—"," ",i.describe)),Object(n.c)(d,{resourcePlan:i}),null==i||null===(r=i.resourceChildren)||void 0===r?void 0:r.map((function(e){return Object(n.c)(t,{key:e._uuid,resourcePlan:e})})))};e.a=function(t){var e,r,o,c=t.sendEvent,u=t.state,s=t.step,l=t.i,f=null===(e=u.context)||void 0===e||null===(r=e.plan)||void 0===r?void 0:r.filter((function(t){return parseInt(t._stepMetadata.step,10)===l+1}));return Object(n.c)("div",{key:"step-"+l,sx:{position:"relative",borderRadius:2,border:function(t){return"1px solid "+t.tones.BRAND.light},marginBottom:7}},Object(n.c)("div",{sx:{position:"absolute",backgroundColor:"white",color:function(t){return t.tones.BRAND.dark},right:"6px",top:"6px",border:function(t){return"1px solid "+t.tones.BRAND.light},borderRadius:9999,height:30,width:30,display:"flex",alignContent:"center",justifyContent:"center",lineHeight:"28px"}},l+1),Object(n.c)("div",{sx:{display:"flex","& > *":{marginY:0},borderTopLeftRadius:2,borderTopRightRadius:2,borderBottom:function(t){return"1px solid "+t.tones.BRAND.light},background:function(t){return t.tones.BRAND.lighter},padding:4}},Object(n.c)("div",{sx:{"p:last-child":{margin:0}}},Object(n.c)(a.StepRenderer,{key:"DOC",components:h.a,scope:{sendEvent:c},remarkPlugins:[h.d]},(null===(o=u.context.exports)||void 0===o?void 0:o.join("\n"))+"\n\n"+s))),(null==f?void 0:f.length)>0&&Object(n.c)("div",null,Object(n.c)("div",{sx:{padding:6}},Object(n.c)(i.a,{sx:{mb:4,mt:0,color:function(t){return t.tones.NEUTRAL.darker},fontWeight:500},as:"h3"},"Proposed changes"),f.map((function(t,e){return Object(n.c)(y,{key:"res-plan-"+e,resourcePlan:t,isLastPlan:e===f.length-1})})))))}},cxan:function(t,e,r){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r.d(e,"a",(function(){return n}))},ddV6:function(t,e,r){var n=r("qPgQ"),o=r("Ua7V"),i=r("peMk"),a=r("f2kJ");t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()}},dpio:function(t,e){t.exports=function(t,e,r,n){for(var o=-1,i=null==t?0:t.length;++o<i;){var a=t[o];e(n,a,r(a),t)}return n}},dpmo:function(t,e,r){"use strict";var n=r("tTLS");t.exports=function(t,e,r){var o,i;r||(r=e,e={});return i=null==(i=e.cascade)||i,o=n(r),function t(e,r,n){var a,c,u,s,l;if(o(e,r,n))return null;if(!(a=e.children)||0===a.length)return e;s=0,c=a.length,u=-1;for(;++u<c;)(l=t(a[u],u,e))&&(a[s++]=l);if(i&&0===s)return null;return a.length=s,e}(t,null,null)}},f2kJ:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},jM10:function(t,e,r){"use strict";t.exports=u;var n=/(?:(?:\u001b\[)|\u009b)(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\u001b[A-M]/,o={reset:["fff","000"],black:"000",red:"ff0000",green:"209805",yellow:"e8bf03",blue:"0000ff",magenta:"ff00ff",cyan:"00ffee",lightgrey:"f0f0f0",darkgrey:"888"},i={30:"black",31:"red",32:"green",33:"yellow",34:"blue",35:"magenta",36:"cyan",37:"lightgrey"},a={1:"font-weight:bold",2:"opacity:0.5",3:"<i>",4:"<u>",8:"display:none",9:"<del>"},c={23:"</i>",24:"</u>",29:"</del>"};function u(t){if(!n.test(t))return t;var e=[],r=t.replace(/\033\[(\d+)*m/g,(function(t,r){var n=a[r];if(n)return~e.indexOf(r)?(e.pop(),"</span>"):(e.push(r),"<"===n[0]?n:'<span style="'+n+';">');var o=c[r];return o?(e.pop(),o):""})),o=e.length;return o>0&&(r+=Array(o+1).join("</span>")),r}function s(t){for(var e in a[0]="font-weight:normal;opacity:1;color:#"+t.reset[0]+";background:#"+t.reset[1],a[7]="color:#"+t.reset[1]+";background:#"+t.reset[0],a[90]="color:#"+t.darkgrey,i){var r=t[i[e]]||"000";a[e]="color:#"+r,e=parseInt(e),a[(e+10).toString()]="background:#"+r}}[0,21,22,27,28,39,49].forEach((function(t){c[t]="</span>"})),u.setColors=function(t){if("object"!=typeof t)throw new Error("`colors` parameter must be an Object.");var e={};for(var r in o){var n=t.hasOwnProperty(r)?t[r]:null;if(n){if("reset"===r){if("string"==typeof n&&(n=[n]),!Array.isArray(n)||0===n.length||n.some((function(t){return"string"!=typeof t})))throw new Error("The value of `"+r+"` property must be an Array and each item could only be a hex string, e.g.: FF0000");var i=o[r];n[0]||(n[0]=i[0]),1!==n.length&&n[1]||(n=[n[0]]).push(i[1]),n=n.slice(0,2)}else if("string"!=typeof n)throw new Error("The value of `"+r+"` property must be a hex string, e.g.: FF0000");e[r]=n}else e[r]=o[r]}s(e)},u.reset=function(){s(o)},u.tags={},Object.defineProperty?(Object.defineProperty(u.tags,"open",{get:function(){return a}}),Object.defineProperty(u.tags,"close",{get:function(){return c}})):(u.tags.open=a,u.tags.close=c),u.reset()},oG6b:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("ERkP"),o=r.n(n).a.createContext([]),i=o.Provider},"p/97":function(t,e,r){"use strict";t.exports=function(t,e){if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];var r=t.indexOf(e);return-1===r?[t]:[t.slice(0,r),t.slice(r+e.length)]}},qPgQ:function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},tTLS:function(t,e,r){"use strict";function n(t){if("string"==typeof t)return function(t){return function(e){return Boolean(e&&e.type===t)}}(t);if(null==t)return a;if("object"==typeof t)return("length"in t?i:o)(t);if("function"==typeof t)return t;throw new Error("Expected function, string, or object as test")}function o(t){return function(e){var r;for(r in t)if(e[r]!==t[r])return!1;return!0}}function i(t){var e=function(t){for(var e=[],r=t.length,o=-1;++o<r;)e[o]=n(t[o]);return e}(t),r=e.length;return function(){var t=-1;for(;++t<r;)if(e[t].apply(this,arguments))return!0;return!1}}function a(){return!0}t.exports=n},uUnl:function(t,e,r){"use strict";r.d(e,"a",(function(){return d}));var n=r("+wNj"),o=r("l1C2"),i=r("ERkP"),a=r("aWzz"),c=r.n(a);function u(t){var e=t.children,r=t.as,o=void 0===r?"h1":r,a=Object(n.a)(t,["children","as"]);return Object(i.createElement)(o,Object.assign({},a),e)}u.propTypes={as:c.a.oneOf(["h1","h2","h3","h4","h5","h6","span"])};var s=r("Lxe0");var l=function(t){return{margin:0,lineHeight:t.lineHeights.heading}},f={DISPLAY:function(t){return{fontFamily:t.fonts.heading}},UI:function(t){return{fontFamily:t.fonts.headingUI}}},p=function(t,e){return function(r){return[{color:r.tones[e].text},"PRIMARY"===t&&{fontWeight:r.fontWeights.bold},"EMPHASIZED"===t&&{fontWeight:r.fontWeights.extraBold},"LIGHT"===t&&{fontWeight:100,textTransform:"uppercase"}]}};function d(t){var e=t.tone,r=void 0===e?"NEUTRAL":e,i=t.variant,a=void 0===i?"PRIMARY":i,c=t.fontVariant,d=void 0===c?"DISPLAY":c,h=t.as,y=void 0===h?"h2":h,b=t.customCss,v=Object(n.a)(t,["tone","variant","fontVariant","as","customCss"]);return function(t){void 0!==t&&Object(s.a)('Styling components via "customCss" prop is deprecated, please use Emotion "css" prop or pass a "className"')}(b),Object(o.c)(u,Object.assign({as:y,css:function(t){return[l(t),p(a,r)(t),f[d](t),b]}},v))}},uotq:function(t,e,r){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%".concat(t.charCodeAt(0).toString(16).toUpperCase())}))}},xeLb:function(t,e,r){"use strict";var n=r("ERkP"),o=r("PsQj");e.a=function(t){return Object(n.createElement)(o.a,Object.assign({},t,{iconName:"SuccessIcon",applyColorToStroke:!1}),Object(n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12c0 5.5228-4.4772 10-10 10-5.52285 0-10-4.4772-10-10C2 6.47715 6.47715 2 12 2c5.5228 0 10 4.47715 10 10zm-11.3557 4.2175c-.2986-.0436-.5802-.2059-.76709-.4763l-2.48775-3.3963c-.25012-.362-.18368-.8548.15337-1.1376.33705-.2829.83396-.2627 1.14701.0465l1.76846 1.8456c.1645.1481.3187.207.5228.0394l4.7666-5.19716c.2935-.31996.7868-.35219 1.1194-.07311.3326.27907.3866.77052.1224 1.11509L11.788 15.7688c-.2786.3633-.724.5199-1.1437.4487z"}))}},yVhM:function(t,e,r){var n=r("Fy54");t.exports=n}}]);
  //# sourceMappingURL=component---src-pages-recipe-js-e508d7ea0c80b0071ca7.js.map