%PDF-
%PDF-
Mini Shell
Mini Shell
(()=>{var e={87:e=>{"use strict";e.exports=window.wp.element},359:function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),s=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(685)),l=a(n(609)),u=function(e){function t(t){var n=e.call(this,t)||this;return n.refCanvas=l.default.createRef(),n.confetti=null,n}return o(t,e),t.prototype.componentDidMount=function(){if(this.refCanvas.current){var e=this.props,t=e.resize,n=e.useWorker,i={resize:void 0===t||t,useWorker:void 0===n||n};this.confetti=r.default.create(this.refCanvas.current,i),this.setRefConfetti()}},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.fire,i=t.reset,o=!!n,s=n!==e.fire;o&&s&&this.fireConfetti();var a=!!i,r=i!==e.reset;a&&r&&this.resetConfetti()},t.prototype.componentWillUnmount=function(){this.unsetRefConfetti()},t.prototype.setRefConfetti=function(){var e=this.props.refConfetti;e&&e(this.confetti)},t.prototype.unsetRefConfetti=function(){var e=this.props.refConfetti;e&&e(null)},t.prototype.fireConfetti=function(){if(this.confetti){var e=this.props,t=e.onFire,n=e.onDecay,i=(e.onReset,e.className,e.style,e.width,e.height,e.refConfetti,e.fire,e.reset,s(e,["onFire","onDecay","onReset","className","style","width","height","refConfetti","fire","reset"]));t&&t();var o=this.confetti(i);o&&o.then(function(){n&&n()})}},t.prototype.resetConfetti=function(){if(this.confetti){this.confetti.reset();var e=this.props.onReset;e&&e()}},t.prototype.render=function(){var e=this.props,t=e.style,n=e.className,i=e.width,o=e.height;return l.default.createElement("canvas",{ref:this.refCanvas,style:t,className:n,width:i,height:o})},t}(l.default.Component);t.default=u},609:e=>{"use strict";e.exports=window.React},685:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create:()=>s,default:()=>o});var i={};!function e(t,n,i,o){var s=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function a(){}function r(e){var i=n.exports.Promise,o=void 0!==i?i:t.Promise;return"function"==typeof o?new o(e):(e(a,a),null)}var l,u,c,d,h,p,m,f,g,y=(c=Math.floor(1e3/60),d={},h=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(l=function(e){var t=Math.random();return d[t]=requestAnimationFrame(function n(i){h===i||h+c-1<i?(h=i,delete d[t],e()):d[t]=requestAnimationFrame(n)}),t},u=function(e){d[e]&&cancelAnimationFrame(d[e])}):(l=function(e){return setTimeout(e,c)},u=function(e){return clearTimeout(e)}),{frame:l,cancel:u}),v=(f={},function(){if(p)return p;if(!i&&s){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{p=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(n,i,o){if(m)return t(n,null),m;var s=Math.random().toString(36).slice(2);return m=r(function(i){function a(t){t.data.callback===s&&(delete f[s],e.removeEventListener("message",a),m=null,o(),i())}e.addEventListener("message",a),t(n,s),f[s]=a.bind(null,{data:{callback:s}})})},e.reset=function(){for(var t in e.postMessage({reset:!0}),f)f[t](),delete f[t]}}(p)}return p}),b={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function _(e,t,n){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:b[t],n)}function w(e){return e<0?0:Math.floor(e)}function E(e,t){return Math.floor(Math.random()*(t-e))+e}function C(e){return parseInt(e,16)}function k(e){return e.map(S)}function S(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:C(t.substring(0,2)),g:C(t.substring(2,4)),b:C(t.substring(4,6))}}function P(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function I(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function M(e){var t=e.angle*(Math.PI/180),n=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*e.startVelocity+Math.random()*e.startVelocity,angle2D:-t+(.5*n-Math.random()*n),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*e.gravity,ovalScalar:.6,scalar:e.scalar}}function x(e,n){var a,l=!e,u=!!_(n||{},"resize"),c=_(n,"disableForReducedMotion",Boolean),d=s&&_(n||{},"useWorker")?v():null,h=l?P:I,p=!(!e||!d||!e.__confetti_initialized),m="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function f(t,n,s){for(var l=_(t,"particleCount",w),u=_(t,"angle",Number),c=_(t,"spread",Number),d=_(t,"startVelocity",Number),p=_(t,"decay",Number),m=_(t,"gravity",Number),f=_(t,"drift",Number),g=_(t,"colors",k),v=_(t,"ticks",Number),b=_(t,"shapes"),C=_(t,"scalar"),S=function(e){var t=_(e,"origin",Object);return t.x=_(t,"x",Number),t.y=_(t,"y",Number),t}(t),P=l,I=[],x=e.width*S.x,O=e.height*S.y;P--;)I.push(M({x,y:O,angle:u,spread:c,startVelocity:d,color:g[P%g.length],shape:b[E(0,b.length)],ticks:v,decay:p,gravity:m,drift:f,scalar:C}));return a?a.addFettis(I):(a=function(e,t,n,s,a){var l,u,c=t.slice(),d=e.getContext("2d"),h=r(function(t){function r(){l=u=null,d.clearRect(0,0,s.width,s.height),a(),t()}l=y.frame(function t(){!i||s.width===o.width&&s.height===o.height||(s.width=e.width=o.width,s.height=e.height=o.height),s.width||s.height||(n(e),s.width=e.width,s.height=e.height),d.clearRect(0,0,s.width,s.height),c=c.filter(function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.wobble+=t.wobbleSpeed,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble);var n=t.tick++/t.totalTicks,i=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,s=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-n)+")",e.beginPath(),"circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(s-i)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,n,i,o,s,a,r){e.save(),e.translate(t,n),e.rotate(s),e.scale(i,o),e.arc(0,0,1,0,r,void 0),e.restore()}(e,t.x,t.y,Math.abs(s-i)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if("star"===t.shape)for(var r=Math.PI/2*3,l=4*t.scalar,u=8*t.scalar,c=t.x,d=t.y,h=5,p=Math.PI/h;h--;)c=t.x+Math.cos(r)*u,d=t.y+Math.sin(r)*u,e.lineTo(c,d),r+=p,c=t.x+Math.cos(r)*l,d=t.y+Math.sin(r)*l,e.lineTo(c,d),r+=p;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(s),Math.floor(a)),e.lineTo(Math.floor(i),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(d,e)}),c.length?l=y.frame(t):r()}),u=r});return{addFettis:function(e){return c=c.concat(e),h},canvas:e,promise:h,reset:function(){l&&y.cancel(l),u&&u()}}}(e,I,h,n,s)).promise}function g(n){var i=c||_(n,"disableForReducedMotion",Boolean),o=_(n,"zIndex",Number);if(i&&m)return r(function(e){e()});l&&a?e=a.canvas:l&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(o),document.body.appendChild(e)),u&&!p&&h(e);var s={width:e.width,height:e.height};function g(){if(d){var t={getBoundingClientRect:function(){if(!l)return e.getBoundingClientRect()}};return h(t),void d.postMessage({resize:{width:t.width,height:t.height}})}s.width=s.height=null}function y(){a=null,u&&t.removeEventListener("resize",g),l&&e&&(document.body.removeChild(e),e=null,p=!1)}return d&&!p&&d.init(e),p=!0,d&&(e.__confetti_initialized=!0),u&&t.addEventListener("resize",g,!1),d?d.fire(n,s,y):f(n,s,y)}return g.reset=function(){d&&d.reset(),a&&a.reset()},g}function O(){return g||(g=x(null,{useWorker:!0,resize:!0})),g}n.exports=function(){return O().apply(this,arguments)},n.exports.reset=function(){O().reset()},n.exports.create=x}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),i,!1);const o=i.exports;var s=i.exports.create},942:(e,t)=>{var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,s(n)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var s=t[i]={exports:{}};return e[i].call(s.exports,s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{activatePublishGuideFab:()=>fo,closePublishGuide:()=>vo,deactivatePublishGuideFab:()=>go,openPublishGuide:()=>yo,setGuideItems:()=>_o,togglePublishGuide:()=>bo});var t={};n.r(t),n.d(t,{getGuideItems:()=>Co,getGuideItemsComplete:()=>ko,isPublishGuideFabActive:()=>wo,isPublishGuideOpened:()=>Eo});var i=n(87);const o=window.wp.domReady;var s=n.n(o);const a=window.wp.notices,r=window.wp.plugins,l=window.wp.coreData,u=window.wp.i18n,c=window.wp.data,d=window.wp.components;var h=n(609);const p=window.ReactDOM;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m.apply(this,arguments)}var f,g;(g=f||(f={})).Pop="POP",g.Push="PUSH",g.Replace="REPLACE";const y="popstate";function v(e,t){if(!1===e||null==e)throw new Error(t)}function b(e,t){return{usr:e.state,key:e.key,idx:t}}function _(e,t,n,i){return void 0===n&&(n=null),m({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?E(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function w(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(t+="#"===i.charAt(0)?i:"#"+i),t}function E(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var C;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(C||(C={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const k=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function S(e,t){void 0===t&&(t="/");let n,{pathname:i,search:o="",hash:s=""}="string"==typeof e?E(e):e;if(i)if(a=i,k.test(a))n=i;else{if(i.includes("//")){let e=i;i=i.replace(/\/\/+/g,"/"),function(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+i)}n=i.startsWith("/")?P(i.substring(1),"/"):P(i,t)}else n=t;var a;return{pathname:n,search:M(o),hash:x(s)}}function P(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function I(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}const M=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",x=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const O=["post","put","patch","delete"],N=(new Set(O),["get",...O]);function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},G.apply(this,arguments)}new Set(N),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const A=h.createContext(null),R=h.createContext(null),D=h.createContext(null),L=h.createContext({outlet:null,matches:[],isDataRoute:!1});function U(){return null!=h.useContext(D)}function T(){return U()||v(!1),h.useContext(D).location}function F(e){h.useContext(R).static||h.useLayoutEffect(e)}function B(){let{isDataRoute:e}=h.useContext(L);return e?function(){let{router:e}=function(){let e=h.useContext(A);return e||v(!1),e}(V.UseNavigateStable),t=function(){let e=function(){let e=h.useContext(L);return e||v(!1),e}(),t=e.matches[e.matches.length-1];return t.route.id||v(!1),t.route.id}(j.UseNavigateStable),n=h.useRef(!1);F(()=>{n.current=!0});let i=h.useCallback(function(i,o){void 0===o&&(o={}),n.current&&("number"==typeof i?e.navigate(i):e.navigate(i,G({fromRouteId:t},o)))},[e,t]);return i}():function(){U()||v(!1);let e=h.useContext(A),{basename:t,future:n,navigator:i}=h.useContext(R),{matches:o}=h.useContext(L),{pathname:s}=T(),a=JSON.stringify(function(e,t){let n=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}(o,n.v7_relativeSplatPath)),r=h.useRef(!1);F(()=>{r.current=!0});let l=h.useCallback(function(n,o){if(void 0===o&&(o={}),!r.current)return;if("number"==typeof n)return void i.go(n);let l=function(e,t,n,i){let o;void 0===i&&(i=!1),"string"==typeof e?o=E(e):(o=m({},e),v(!o.pathname||!o.pathname.includes("?"),I("?","pathname","search",o)),v(!o.pathname||!o.pathname.includes("#"),I("#","pathname","hash",o)),v(!o.search||!o.search.includes("#"),I("#","search","hash",o)));let s,a=""===e||""===o.pathname,r=a?"/":o.pathname;if(null==r)s=n;else{let e=t.length-1;if(!i&&r.startsWith("..")){let t=r.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}s=e>=0?t[e]:"/"}let l=S(o,s),u=r&&"/"!==r&&r.endsWith("/"),c=(a||"."===r)&&n.endsWith("/");return l.pathname.endsWith("/")||!u&&!c||(l.pathname+="/"),l}(n,JSON.parse(a),s,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:[t,l.pathname].join("/").replace(/\/\/+/g,"/")),(o.replace?i.replace:i.push)(l,o.state,o)},[t,i,a,s,e]);return l}()}h.Component;var V=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(V||{}),j=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(j||{});function z(e){let{basename:t="/",children:n=null,location:i,navigationType:o=f.Pop,navigator:s,static:a=!1,future:r}=e;U()&&v(!1);let l=t.replace(/^\/*/,"/"),u=h.useMemo(()=>({basename:l,navigator:s,static:a,future:G({v7_relativeSplatPath:!1},r)}),[l,r,s,a]);"string"==typeof i&&(i=E(i));let{pathname:c="/",search:d="",hash:p="",state:m=null,key:g="default"}=i,y=h.useMemo(()=>{let e=function(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&"/"!==i?null:e.slice(n)||"/"}(c,l);return null==e?null:{location:{pathname:e,search:d,hash:p,state:m,key:g},navigationType:o}},[l,c,d,p,m,g,o]);return null==y?null:h.createElement(R.Provider,{value:u},h.createElement(D.Provider,{children:n,value:y}))}function $(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let i=e[n];return t.concat(Array.isArray(i)?i.map(e=>[n,e]):[[n,i]])},[]))}h.startTransition,new Promise(()=>{}),h.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(e){}new Map;const H=h.startTransition;function q(e){let{basename:t,children:n,future:i,window:o}=e,s=h.useRef();var a;null==s.current&&(s.current=(void 0===(a={window:o,v5Compat:!0})&&(a={}),function(e,t,n,i){void 0===i&&(i={});let{window:o=document.defaultView,v5Compat:s=!1}=i,a=o.history,r=f.Pop,l=null,u=c();function c(){return(a.state||{idx:null}).idx}function d(){r=f.Pop;let e=c(),t=null==e?null:e-u;u=e,l&&l({action:r,location:p.location,delta:t})}function h(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"==typeof e?e:w(e);return n=n.replace(/ $/,"%20"),v(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==u&&(u=0,a.replaceState(m({},a.state,{idx:u}),""));let p={get action(){return r},get location(){return e(o,a)},listen(e){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(y,d),l=e,()=>{o.removeEventListener(y,d),l=null}},createHref:e=>t(o,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){r=f.Push;let i=_(p.location,e,t);n&&n(i,e),u=c()+1;let d=b(i,u),h=p.createHref(i);try{a.pushState(d,"",h)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(h)}s&&l&&l({action:r,location:p.location,delta:1})},replace:function(e,t){r=f.Replace;let i=_(p.location,e,t);n&&n(i,e),u=c();let o=b(i,u),d=p.createHref(i);a.replaceState(o,"",d),s&&l&&l({action:r,location:p.location,delta:0})},go:e=>a.go(e)};return p}(function(e,t){let{pathname:n,search:i,hash:o}=e.location;return _("",{pathname:n,search:i,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:w(t)},null,a)));let r=s.current,[l,u]=h.useState({action:r.action,location:r.location}),{v7_startTransition:c}=i||{},d=h.useCallback(e=>{c&&H?H(()=>u(e)):u(e)},[u,c]);return h.useLayoutEffect(()=>r.listen(d),[r,d]),h.useEffect(()=>{return null==(e=i)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t},[i]),h.createElement(z,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:r,future:i})}var Z,W;function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Q.apply(null,arguments)}p.flushSync,h.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(Z||(Z={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(W||(W={}));const J=[],Y=(e=>{let t;return async function(...n){J.push({[n[0]]:n[1]});const i=Object.assign({},...J),o=this;clearTimeout(t),t=setTimeout(async()=>await e.apply(o,[i]),1e3)}})(async e=>{await(0,c.dispatch)("core").saveEntityRecord("root","site",e)}),X=()=>(window._expDataLayer=window._expDataLayer||[],window._expDataLayer),K=({eid:e,type:t="click",data:n=null})=>{X().push({data:{custom_properties:n,eid:`${e}.${t}`,type:t},schema:"add_event",version:"v1"})},ee=(e,t=null)=>{X().push({data:{...t?{custom_properties:t}:{},eid:e,type:"impression"},schema:"add_event",version:"v1"})},te="wp."+(window.location.pathname.includes("post-new")||window.location.pathname.includes("post.php")?"editor":"wpadmin"),ne=e=>{const{children:t,section:n,target:o,action:s,data:a=null}=e;return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{...t.props,"data-test-eid":`${te}.${n}.${o}.${s}`,onClick:(...e)=>{t.props?.onClick&&t.props?.onClick(...e),K({data:a,eid:`${te}.${n}.${o}`})}}):t};var ie=n(942),oe=n.n(ie);const se=window.wp.primitives,ae=(0,i.createElement)(se.SVG,{fill:"none",height:"8",viewBox:"0 0 14 8",width:"14",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(se.Path,{d:"M1.50002 1L7.00002 6L12.5 1",stroke:"#2B2B2B",strokeWidth:"1.5"})),re=(0,i.createElement)(se.SVG,{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(se.Path,{d:"M10 0.25C8.07164 0.25 6.18657 0.821828 4.58319 1.89317C2.97982 2.96452 1.73013 4.48726 0.992179 6.26884C0.254224 8.05042 0.061142 10.0108 0.437348 11.9021C0.813554 13.7934 1.74215 15.5307 3.10571 16.8943C4.46928 18.2579 6.20656 19.1865 8.09787 19.5627C9.98919 19.9389 11.9496 19.7458 13.7312 19.0078C15.5127 18.2699 17.0355 17.0202 18.1068 15.4168C19.1782 13.8134 19.75 11.9284 19.75 10C19.747 7.41506 18.7188 4.93684 16.891 3.10901C15.0632 1.28117 12.5849 0.252985 10 0.25ZM10 18.25C8.36831 18.25 6.77326 17.7661 5.41655 16.8596C4.05984 15.9531 3.00242 14.6646 2.378 13.1571C1.75358 11.6496 1.5902 9.99085 1.90853 8.3905C2.22685 6.79016 3.01259 5.32015 4.16637 4.16637C5.32016 3.01259 6.79017 2.22685 8.39051 1.90852C9.99085 1.59019 11.6497 1.75357 13.1571 2.37799C14.6646 3.00242 15.9531 4.05984 16.8596 5.41655C17.7661 6.77325 18.25 8.3683 18.25 10C18.2474 12.1873 17.3774 14.2842 15.8308 15.8308C14.2842 17.3774 12.1873 18.2474 10 18.25Z",fill:"#D6D6D6"})),le=(0,i.createElement)(se.SVG,{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(se.Path,{clipRule:"evenodd",d:"M4.58319 1.89317C6.18657 0.821828 8.07164 0.25 10 0.25C12.5849 0.252985 15.0632 1.28117 16.891 3.10901C18.7188 4.93684 19.747 7.41506 19.75 10C19.75 11.9284 19.1782 13.8134 18.1068 15.4168C17.0355 17.0202 15.5127 18.2699 13.7312 19.0078C11.9496 19.7458 9.98919 19.9389 8.09787 19.5627C6.20656 19.1865 4.46928 18.2579 3.10571 16.8943C1.74215 15.5307 0.813554 13.7934 0.437348 11.9021C0.061142 10.0108 0.254224 8.05042 0.992179 6.26884C1.73013 4.48726 2.97982 2.96452 4.58319 1.89317ZM9 11.9395L13.4697 7.46973C13.6105 7.32994 13.801 7.25165 13.9994 7.25201C14.1979 7.25237 14.388 7.33136 14.5283 7.47166C14.6686 7.61196 14.7476 7.80215 14.748 8.00057C14.7484 8.19898 14.6701 8.38946 14.5303 8.53027L9.53027 13.5303C9.39103 13.6696 9.19698 13.75 9 13.75C8.80303 13.75 8.60898 13.6696 8.46973 13.5303L5.46973 10.5303C5.32994 10.3895 5.25166 10.199 5.25202 10.0006C5.25238 9.80215 5.33136 9.61196 5.47166 9.47166C5.61196 9.33136 5.80215 9.25237 6.00057 9.25201C6.19899 9.25165 6.38946 9.32994 6.53027 9.46973L9 11.9395Z",fill:"#00A4A6",fillRule:"evenodd"}));function ue(e){const{children:t,isCompleted:n,name:o,selectedItem:s,setSelectedItem:a,skipAction:r,title:l,text:u,testId:c}=e;return(0,i.createElement)("li",{className:oe()("publish-guide-popover__item",{"is-completed":n,"is-selected":s===o}),"data-testid":c||"publish-guide-item__container"},(0,i.createElement)("div",{className:"publish-guide-popover__item__content","data-testid":"publish-guide-popover__item__content"},(0,i.createElement)("div",{className:"item"},(0,i.createElement)(ne,{action:"click",section:`guide/item/${o}`,target:"skip"},(0,i.createElement)(d.Icon,{className:"publish-guide-popover__item__checkmark-icon",icon:n?le:re,onClick:n?null:r})),(0,i.createElement)(ne,{action:"click",section:`guide/item/${o}`,target:"panel"},(0,i.createElement)("button",{className:"publish-guide-popover__item__title","data-testid":"publish-guide-popover__item__title",onClick:()=>{a(s===o?null:o)}},l,(0,i.createElement)(d.Icon,{icon:ae})))),s===o&&(0,i.createElement)("div",{className:"info"},(0,i.createElement)("p",null,u),t)))}const ce=e=>{const{handleMilestoneStatusUpdate:t}=e,n=gdvLinks?.changeDomain.replace("{{DOMAIN}}",window.location.hostname),o=gdlPublishGuideItems.AddDomain.milestoneName,s=gdlPublishGuideItems.AddDomain.propName,[r=gdlPublishGuideItems.AddDomain.default,h]=(0,l.useEntityProp)("root","site",s),{createErrorNotice:p}=(0,c.useDispatch)(a.store),m=async e=>{try{await h(e),await Y(s,e),await t(o,e)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while saving Site Domain guide item","godaddy-launch");p(t,{type:"snackbar"})}};return(0,i.createElement)(ue,Q({isCompleted:r,name:"add_domain",skipAction:()=>m("skipped"),text:(0,u.__)("Look more professional and make it easier for customers to find your website.","godaddy-launch"),title:(0,u.__)("Add custom domain","godaddy-launch")},e),!r&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ne,{action:"click",section:"guide/item/add_domain",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link",onClick:()=>window.open(n,"_self")},(0,u.__)("Add domain","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/add_domain",target:"skip"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link is-skip",onClick:()=>m("skipped")},(0,u.__)("Skip","godaddy-launch")))))};function de(e,t){let n;return(...i)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...i),t)}}function he({debounce:e,scroll:t,polyfill:n,offsetSize:i}={debounce:0,scroll:!1,offsetSize:!1}){const o=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!o)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[s,a]=(0,h.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),r=(0,h.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:s,orientationHandler:null}),l=e?"number"==typeof e?e:e.scroll:null,u=e?"number"==typeof e?e:e.resize:null,c=(0,h.useRef)(!1);(0,h.useEffect)(()=>(c.current=!0,()=>{c.current=!1}));const[d,p,m]=(0,h.useMemo)(()=>{const e=()=>{if(!r.current.element)return;const{left:e,top:t,width:n,height:o,bottom:s,right:l,x:u,y:d}=r.current.element.getBoundingClientRect(),h={left:e,top:t,width:n,height:o,bottom:s,right:l,x:u,y:d};r.current.element instanceof HTMLElement&&i&&(h.height=r.current.element.offsetHeight,h.width=r.current.element.offsetWidth),Object.freeze(h),c.current&&!fe(r.current.lastBounds,h)&&a(r.current.lastBounds=h)};return[e,u?de(e,u):e,l?de(e,l):e]},[a,i,l,u]);function f(){r.current.scrollContainers&&(r.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",m,!0)),r.current.scrollContainers=null),r.current.resizeObserver&&(r.current.resizeObserver.disconnect(),r.current.resizeObserver=null),r.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",r.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",r.current.orientationHandler))}function g(){r.current.element&&(r.current.resizeObserver=new o(m),r.current.resizeObserver.observe(r.current.element),t&&r.current.scrollContainers&&r.current.scrollContainers.forEach(e=>e.addEventListener("scroll",m,{capture:!0,passive:!0})),r.current.orientationHandler=()=>{m()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",r.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",r.current.orientationHandler))}return function(e,t){(0,h.useEffect)(()=>{if(t){const t=e;return window.addEventListener("scroll",t,{capture:!0,passive:!0}),()=>{window.removeEventListener("scroll",t,!0)}}},[e,t])}(m,!!t),function(e){(0,h.useEffect)(()=>{const t=e;return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e])}(p),(0,h.useEffect)(()=>{f(),g()},[t,m,p]),(0,h.useEffect)(()=>f,[]),[e=>{!e||e===r.current.element||(f(),r.current.element=e,r.current.scrollContainers=pe(e),g())},s,d]}function pe(e){const t=[];if(!e||e===document.body)return t;const{overflow:n,overflowX:i,overflowY:o}=window.getComputedStyle(e);return[n,i,o].some(e=>"auto"===e||"scroll"===e)&&t.push(e),[...t,...pe(e.parentElement)]}const me=["x","y","top","bottom","left","right","width","height"],fe=(e,t)=>me.every(n=>e[n]===t[n]);var ge=Ge(),ye=e=>Me(e,ge),ve=Ge();ye.write=e=>Me(e,ve);var be=Ge();ye.onStart=e=>Me(e,be);var _e=Ge();ye.onFrame=e=>Me(e,_e);var we=Ge();ye.onFinish=e=>Me(e,we);var Ee=[];ye.setTimeout=(e,t)=>{const n=ye.now()+t,i=()=>{const e=Ee.findIndex(e=>e.cancel==i);~e&&Ee.splice(e,1),Pe-=~e?1:0},o={time:n,handler:e,cancel:i};return Ee.splice(Ce(n),0,o),Pe+=1,xe(),o};var Ce=e=>~(~Ee.findIndex(t=>t.time>e)||~Ee.length);ye.cancel=e=>{be.delete(e),_e.delete(e),we.delete(e),ge.delete(e),ve.delete(e)},ye.sync=e=>{Ie=!0,ye.batchedUpdates(e),Ie=!1},ye.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function i(...e){t=e,ye.onStart(n)}return i.handler=e,i.cancel=()=>{be.delete(n),t=null},i};var ke="undefined"!=typeof window?window.requestAnimationFrame:()=>{};ye.use=e=>ke=e,ye.now="undefined"!=typeof performance?()=>performance.now():Date.now,ye.batchedUpdates=e=>e(),ye.catch=console.error,ye.frameLoop="always",ye.advance=()=>{"demand"!==ye.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Ne()};var Se=-1,Pe=0,Ie=!1;function Me(e,t){Ie?(t.delete(e),e(0)):(t.add(e),xe())}function xe(){Se<0&&(Se=0,"demand"!==ye.frameLoop&&ke(Oe))}function Oe(){~Se&&(ke(Oe),ye.batchedUpdates(Ne))}function Ne(){const e=Se;Se=ye.now();const t=Ce(Se);t&&(Ae(Ee.splice(0,t),e=>e.handler()),Pe-=t),Pe?(be.flush(),ge.flush(e?Math.min(64,Se-e):16.667),_e.flush(),ve.flush(),we.flush()):Se=-1}function Ge(){let e=new Set,t=e;return{add(n){Pe+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Pe-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Pe-=t.size,Ae(t,t=>t(n)&&e.add(t)),Pe+=e.size,t=e)}}}function Ae(e,t){e.forEach(e=>{try{t(e)}catch(e){ye.catch(e)}})}var Re=Object.defineProperty,De={};function Le(){}((e,t)=>{for(var n in t)Re(e,n,{get:t[n],enumerable:!0})})(De,{assign:()=>Je,colors:()=>Ze,createStringInterpolator:()=>ze,skipAnimation:()=>We,to:()=>$e,willAdvance:()=>Qe});var Ue={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function Te(e,t){if(Ue.arr(e)){if(!Ue.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var Fe=(e,t)=>e.forEach(t);function Be(e,t,n){if(Ue.arr(e))for(let i=0;i<e.length;i++)t.call(n,e[i],`${i}`);else for(const i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i)}var Ve=e=>Ue.und(e)?[]:Ue.arr(e)?e:[e];function je(e,t){if(e.size){const n=Array.from(e);e.clear(),Fe(n,t)}}var ze,$e,He=(e,...t)=>je(e,e=>e(...t)),qe=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Ze=null,We=!1,Qe=Le,Je=e=>{e.to&&($e=e.to),e.now&&(ye.now=e.now),void 0!==e.colors&&(Ze=e.colors),null!=e.skipAnimation&&(We=e.skipAnimation),e.createStringInterpolator&&(ze=e.createStringInterpolator),e.requestAnimationFrame&&ye.use(e.requestAnimationFrame),e.batchedUpdates&&(ye.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Qe=e.willAdvance),e.frameLoop&&(ye.frameLoop=e.frameLoop)},Ye=new Set,Xe=[],Ke=[],et=0,tt={get idle(){return!Ye.size&&!Xe.length},start(e){et>e.priority?(Ye.add(e),ye.onStart(nt)):(it(e),ye(st))},advance:st,sort(e){if(et)ye.onFrame(()=>tt.sort(e));else{const t=Xe.indexOf(e);~t&&(Xe.splice(t,1),ot(e))}},clear(){Xe=[],Ye.clear()}};function nt(){Ye.forEach(it),Ye.clear(),ye(st)}function it(e){Xe.includes(e)||ot(e)}function ot(e){Xe.splice(function(t){const n=t.findIndex(t=>t.priority>e.priority);return n<0?t.length:n}(Xe),0,e)}function st(e){const t=Ke;for(let n=0;n<Xe.length;n++){const i=Xe[n];et=i.priority,i.idle||(Qe(i),i.advance(e),i.idle||t.push(i))}return et=0,(Ke=Xe).length=0,(Xe=t).length>0}var at="[-+]?\\d*\\.?\\d+",rt=at+"%";function lt(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ut=new RegExp("rgb"+lt(at,at,at)),ct=new RegExp("rgba"+lt(at,at,at,at)),dt=new RegExp("hsl"+lt(at,rt,rt)),ht=new RegExp("hsla"+lt(at,rt,rt,at)),pt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,mt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ft=/^#([0-9a-fA-F]{6})$/,gt=/^#([0-9a-fA-F]{8})$/;function yt(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vt(e,t,n){const i=n<.5?n*(1+t):n+t-n*t,o=2*n-i,s=yt(o,i,e+1/3),a=yt(o,i,e),r=yt(o,i,e-1/3);return Math.round(255*s)<<24|Math.round(255*a)<<16|Math.round(255*r)<<8}function bt(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function _t(e){return(parseFloat(e)%360+360)%360/360}function wt(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Et(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Ct(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ft.exec(e))?parseInt(t[1]+"ff",16)>>>0:Ze&&void 0!==Ze[e]?Ze[e]:(t=ut.exec(e))?(bt(t[1])<<24|bt(t[2])<<16|bt(t[3])<<8|255)>>>0:(t=ct.exec(e))?(bt(t[1])<<24|bt(t[2])<<16|bt(t[3])<<8|wt(t[4]))>>>0:(t=pt.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=gt.exec(e))?parseInt(t[1],16)>>>0:(t=mt.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=dt.exec(e))?(255|vt(_t(t[1]),Et(t[2]),Et(t[3])))>>>0:(t=ht.exec(e))?(vt(_t(t[1]),Et(t[2]),Et(t[3]))|wt(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var kt=(e,t,n)=>{if(Ue.fun(e))return e;if(Ue.arr(e))return kt({range:e,output:t,extrapolate:n});if(Ue.str(e.output[0]))return ze(e);const i=e,o=i.output,s=i.range||[0,1],a=i.extrapolateLeft||i.extrapolate||"extend",r=i.extrapolateRight||i.extrapolate||"extend",l=i.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,s);return function(e,t,n,i,o,s,a,r,l){let u=l?l(e):e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>n){if("identity"===r)return u;"clamp"===r&&(u=n)}return i===o?i:t===n?e<=t?i:o:(t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=s(u),i===-1/0?u=-u:o===1/0?u+=i:u=u*(o-i)+i,u)}(e,s[t],s[t+1],o[t],o[t+1],l,a,r,i.map)}},St=1.70158,Pt=1.525*St,It=St+1,Mt=2*Math.PI/3,xt=2*Math.PI/4.5,Ot=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},Nt={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>It*e*e*e-St*e*e,easeOutBack:e=>1+It*Math.pow(e-1,3)+St*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Pt)/2:(Math.pow(2*e-2,2)*((Pt+1)*(2*e-2)+Pt)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Mt),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Mt)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*xt)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*xt)/2+1,easeInBounce:e=>1-Ot(1-e),easeOutBounce:Ot,easeInOutBounce:e=>e<.5?(1-Ot(1-2*e))/2:(1+Ot(2*e-1))/2,steps:(e,t="end")=>n=>{const i=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return o=("end"===t?Math.floor(i):Math.ceil(i))/e,Math.min(Math.max(o,0),1);var o}},Gt=Symbol.for("FluidValue.get"),At=Symbol.for("FluidValue.observers"),Rt=e=>Boolean(e&&e[Gt]),Dt=e=>e&&e[Gt]?e[Gt]():e,Lt=e=>e[At]||null;function Ut(e,t){const n=e[At];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var Tt=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ft(this,e)}},Ft=(e,t)=>zt(e,Gt,t);function Bt(e,t){if(e[Gt]){let n=e[At];n||zt(e,At,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Vt(e,t){const n=e[At];if(n&&n.has(t)){const i=n.size-1;i?n.delete(t):e[At]=null,e.observerRemoved&&e.observerRemoved(i,t)}}var jt,zt=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),$t=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ht=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,qt=new RegExp(`(${$t.source})(%|[a-z]+)`,"i"),Zt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Wt=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Qt=e=>{const[t,n]=Jt(e);if(!t||qe())return e;const i=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(i)return i.trim();if(n&&n.startsWith("--")){return window.getComputedStyle(document.documentElement).getPropertyValue(n)||e}return n&&Wt.test(n)?Qt(n):n||e},Jt=e=>{const t=Wt.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]},Yt=(e,t,n,i,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(i)}, ${o})`,Xt=e=>{jt||(jt=Ze?new RegExp(`(${Object.keys(Ze).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>Dt(e).replace(Wt,Qt).replace(Ht,Ct).replace(jt,Ct)),n=t.map(e=>e.match($t).map(Number)),i=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>kt({...e,output:t}));return e=>{const n=!qt.test(t[0])&&t.find(e=>qt.test(e))?.replace($t,"");let o=0;return t[0].replace($t,()=>`${i[o++](e)}${n||""}`).replace(Zt,Yt)}},Kt="react-spring: ",en=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Kt}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},tn=en(console.warn),nn=en(console.warn);function on(e){return Ue.str(e)&&("#"==e[0]||/\d/.test(e)||!qe()&&Wt.test(e)||e in(Ze||{}))}var sn=qe()?h.useEffect:h.useLayoutEffect;function an(){const e=(0,h.useState)()[1],t=(()=>{const e=(0,h.useRef)(!1);return sn(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var rn=e=>(0,h.useEffect)(e,ln),ln=[];function un(e){const t=(0,h.useRef)();return(0,h.useEffect)(()=>{t.current=e}),t.current}var cn=Symbol.for("Animated:node"),dn=e=>e&&e[cn],hn=(e,t)=>{return n=e,i=cn,o=t,Object.defineProperty(n,i,{value:o,writable:!0,configurable:!0});var n,i,o},pn=e=>e&&e[cn]&&e[cn].getPayload(),mn=class{constructor(){hn(this,this)}getPayload(){return this.payload||[]}},fn=class extends mn{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Ue.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new fn(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Ue.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Ue.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},gn=class extends fn{constructor(e){super(0),this._string=null,this._toString=kt({output:[e,e]})}static create(e){return new gn(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Ue.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=kt({output:[this.getValue(),e]})),this._value=0,super.reset()}},yn={dependencies:null},vn=class extends mn{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Be(this.source,(n,i)=>{var o;(o=n)&&o[cn]===o?t[i]=n.getValue(e):Rt(n)?t[i]=Dt(n):e||(t[i]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Fe(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Be(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){yn.dependencies&&Rt(e)&&yn.dependencies.add(e);const t=pn(e);t&&Fe(t,e=>this.add(e))}},bn=class extends vn{constructor(e){super(e)}static create(e){return new bn(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(wn)),!0)}};function wn(e){return(on(e)?gn:fn).create(e)}function En(e){const t=dn(e);return t?t.constructor:Ue.arr(e)?bn:on(e)?gn:fn}var Cn=(e,t)=>{const n=!Ue.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,h.forwardRef)((i,o)=>{const s=(0,h.useRef)(null),a=n&&(0,h.useCallback)(e=>{s.current=function(e,t){return e&&(Ue.fun(e)?e(t):e.current=t),t}(o,e)},[o]),[r,l]=function(e,t){const n=new Set;return yn.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new vn(e),yn.dependencies=null,[e,n]}(i,t),u=an(),c=()=>{const e=s.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,r.getValue(!0)))&&u()},d=new kn(c,l),p=(0,h.useRef)();sn(()=>(p.current=d,Fe(l,e=>Bt(e,d)),()=>{p.current&&(Fe(p.current.deps,e=>Vt(e,p.current)),ye.cancel(p.current.update))})),(0,h.useEffect)(c,[]),rn(()=>()=>{const e=p.current;Fe(e.deps,t=>Vt(t,e))});const m=t.getComponentProps(r.getValue());return h.createElement(e,{...m,ref:a})})},kn=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&ye.write(this.update)}},Sn=Symbol.for("AnimatedComponent"),Pn=e=>Ue.str(e)?e:e&&Ue.str(e.displayName)?e.displayName:Ue.fun(e)&&e.name||null;function In(e,...t){return Ue.fun(e)?e(...t):e}var Mn=(e,t)=>!0===e||!!(t&&e&&(Ue.fun(e)?e(t):Ve(e).includes(t))),xn=(e,t)=>Ue.obj(e)?t&&e[t]:e,On=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Nn=e=>e,Gn=(e,t=Nn)=>{let n=An;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const i={};for(const o of n){const n=t(e[o],o);Ue.und(n)||(i[o]=n)}return i},An=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Rn={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Dn(e){const t=function(e){const t={};let n=0;if(Be(e,(e,i)=>{Rn[i]||(t[i]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Be(e,(e,i)=>i in t||(n[i]=e)),n}return{...e}}function Ln(e){return e=Dt(e),Ue.arr(e)?e.map(Ln):on(e)?De.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Un(e){return Ue.fun(e)||Ue.arr(e)&&Ue.obj(e[0])}var Tn={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Fn={...Tn.default,mass:1,damping:1,easing:Nt.linear,clamp:!1},Bn=class{constructor(){this.velocity=0,Object.assign(this,Fn)}};function Vn(e,t){if(Ue.und(t.decay)){const n=!Ue.und(t.tension)||!Ue.und(t.friction);!n&&Ue.und(t.frequency)&&Ue.und(t.damping)&&Ue.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var jn=[],zn=class{constructor(){this.changed=!1,this.values=jn,this.toValues=null,this.fromValues=jn,this.config=new Bn,this.immediate=!1}};function $n(e,{key:t,props:n,defaultProps:i,state:o,actions:s}){return new Promise((a,r)=>{let l,u,c=Mn(n.cancel??i?.cancel,t);if(c)p();else{Ue.und(n.pause)||(o.paused=Mn(n.pause,t));let e=i?.pause;!0!==e&&(e=o.paused||Mn(e,t)),l=In(n.delay||0,t),e?(o.resumeQueue.add(h),s.pause()):(s.resume(),h())}function d(){o.resumeQueue.add(h),o.timeouts.delete(u),u.cancel(),l=u.time-ye.now()}function h(){l>0&&!De.skipAnimation?(o.delayed=!0,u=ye.setTimeout(p,l),o.pauseQueue.add(d),o.timeouts.add(u)):p()}function p(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(d),o.timeouts.delete(u),e<=(o.cancelId||0)&&(c=!0);try{s.start({...n,callId:e,cancel:c},a)}catch(e){r(e)}}})}var Hn=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?Wn(e.get()):t.every(e=>e.noop)?qn(e.get()):Zn(e.get(),t.every(e=>e.finished)),qn=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Zn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Wn=e=>({value:e,cancelled:!0,finished:!1});function Qn(e,t,n,i){const{callId:o,parentId:s,onRest:a}=t,{asyncTo:r,promise:l}=n;return s||e!==r||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const u=Gn(t,(e,t)=>"onRest"===t?void 0:e);let c,d;const h=new Promise((e,t)=>(c=e,d=t)),p=e=>{const t=o<=(n.cancelId||0)&&Wn(i)||o!==n.asyncId&&Zn(i,!1);if(t)throw e.result=t,d(e),e},m=(e,t)=>{const s=new Yn,a=new Xn;return(async()=>{if(De.skipAnimation)throw Jn(n),a.result=Zn(i,!1),d(a),a;p(s);const r=Ue.obj(e)?{...e}:{...t,to:e};r.parentId=o,Be(u,(e,t)=>{Ue.und(r[t])&&(r[t]=e)});const l=await i.start(r);return p(s),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),l})()};let f;if(De.skipAnimation)return Jn(n),Zn(i,!1);try{let t;t=Ue.arr(e)?(async e=>{for(const t of e)await m(t)})(e):Promise.resolve(e(m,i.stop.bind(i))),await Promise.all([t.then(c),h]),f=Zn(i.get(),!0,!1)}catch(e){if(e instanceof Yn)f=e.result;else{if(!(e instanceof Xn))throw e;f=e.result}}finally{o==n.asyncId&&(n.asyncId=s,n.asyncTo=s?r:void 0,n.promise=s?l:void 0)}return Ue.fun(a)&&ye.batchedUpdates(()=>{a(f,i,i.item)}),f})():l}function Jn(e,t){je(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Yn=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Xn=class extends Error{constructor(){super("SkipAnimationSignal")}},Kn=e=>e instanceof ti,ei=1,ti=class extends Tt{constructor(){super(...arguments),this.id=ei++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=dn(this);return e&&e.getValue()}to(...e){return De.to(this,e)}interpolate(...e){return tn(`${Kt}The "interpolate" function is deprecated in v9 (use "to" instead)`),De.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Ut(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||tt.sort(this),Ut(this,{type:"priority",parent:this,priority:e})}},ni=Symbol.for("SpringPhase"),ii=e=>(1&e[ni])>0,oi=e=>(2&e[ni])>0,si=e=>(4&e[ni])>0,ai=(e,t)=>t?e[ni]|=3:e[ni]&=-3,ri=(e,t)=>t?e[ni]|=4:e[ni]&=-5,li=class extends ti{constructor(e,t){if(super(),this.animation=new zn,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Ue.und(e)||!Ue.und(t)){const n=Ue.obj(e)?{...e}:{...t,from:e};Ue.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(oi(this)||this._state.asyncTo)||si(this)}get goal(){return Dt(this.animation.to)}get velocity(){const e=dn(this);return e instanceof fn?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return ii(this)}get isAnimating(){return oi(this)}get isPaused(){return si(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const i=this.animation;let{toValues:o}=i;const{config:s}=i,a=pn(i.to);!a&&Rt(i.to)&&(o=Ve(Dt(i.to))),i.values.forEach((r,l)=>{if(r.done)return;const u=r.constructor==gn?1:a?a[l].lastPosition:o[l];let c=i.immediate,d=u;if(!c){if(d=r.lastPosition,s.tension<=0)return void(r.done=!0);let t=r.elapsedTime+=e;const n=i.fromValues[l],o=null!=r.v0?r.v0:r.v0=Ue.arr(s.velocity)?s.velocity[l]:s.velocity;let a;const h=s.precision||(n==u?.005:Math.min(1,.001*Math.abs(u-n)));if(Ue.und(s.duration))if(s.decay){const e=!0===s.decay?.998:s.decay,i=Math.exp(-(1-e)*t);d=n+o/(1-e)*(1-i),c=Math.abs(r.lastPosition-d)<=h,a=o*i}else{a=null==r.lastVelocity?o:r.lastVelocity;const t=s.restVelocity||h/10,i=s.clamp?0:s.bounce,l=!Ue.und(i),p=n==u?r.v0>0:n<u;let m,f=!1;const g=1,y=Math.ceil(e/g);for(let e=0;e<y&&(m=Math.abs(a)>t,m||(c=Math.abs(u-d)<=h,!c));++e)l&&(f=d==u||d>u==p,f&&(a=-a*i,d=u)),a+=(1e-6*-s.tension*(d-u)+.001*-s.friction*a)/s.mass*g,d+=a*g}else{let i=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,r.durationProgress>0&&(r.elapsedTime=s.duration*r.durationProgress,t=r.elapsedTime+=e)),i=(s.progress||0)+t/this._memoizedDuration,i=i>1?1:i<0?0:i,r.durationProgress=i),d=n+s.easing(i)*(u-n),a=(d-r.lastPosition)/e,c=1==i}r.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),c=!0)}a&&!a[l].done&&(c=!1),c?r.done=!0:t=!1,r.setValue(d,s.round)&&(n=!0)});const r=dn(this),l=r.getValue();if(t){const e=Dt(i.to);l===e&&!n||s.decay?n&&s.decay&&this._onChange(l):(r.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return ye.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(oi(this)){const{to:e,config:t}=this.animation;ye.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return Ue.und(e)?(n=this.queue||[],this.queue=[]):n=[Ue.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>Hn(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Jn(this._state,e&&this._lastCallId),ye.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:i}=e;n=Ue.obj(n)?n[t]:n,(null==n||Un(n))&&(n=void 0),i=Ue.obj(i)?i[t]:i,null==i&&(i=void 0);const o={to:n,from:i};return ii(this)||(e.reverse&&([n,i]=[i,n]),i=Dt(i),Ue.und(i)?dn(this)||this._set(n):this._set(i)),o}_update({...e},t){const{key:n,defaultProps:i}=this;e.default&&Object.assign(i,Gn(e,(e,t)=>/^on/.test(t)?xn(e,n):e)),fi(this,e,"onProps"),gi(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return $n(++this._lastCallId,{key:n,props:e,defaultProps:i,state:s,actions:{pause:()=>{si(this)||(ri(this,!0),He(s.pauseQueue),gi(this,"onPause",Zn(this,ui(this,this.animation.to)),this))},resume:()=>{si(this)&&(ri(this,!1),oi(this)&&this._resume(),He(s.resumeQueue),gi(this,"onResume",Zn(this,ui(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=ci(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Wn(this));const i=!Ue.und(e.to),o=!Ue.und(e.from);if(i||o){if(!(t.callId>this._lastToId))return n(Wn(this));this._lastToId=t.callId}const{key:s,defaultProps:a,animation:r}=this,{to:l,from:u}=r;let{to:c=l,from:d=u}=e;!o||i||t.default&&!Ue.und(c)||(c=d),t.reverse&&([c,d]=[d,c]);const h=!Te(d,u);h&&(r.from=d),d=Dt(d);const p=!Te(c,l);p&&this._focus(c);const m=Un(t.to),{config:f}=r,{decay:g,velocity:y}=f;(i||o)&&(f.velocity=0),t.config&&!m&&function(e,t,n){n&&(Vn(n={...n},t),t={...n,...t}),Vn(e,t),Object.assign(e,t);for(const t in Fn)null==e[t]&&(e[t]=Fn[t]);let{frequency:i,damping:o}=e;const{mass:s}=e;Ue.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*s,e.friction=4*Math.PI*o*s/i)}(f,In(t.config,s),t.config!==a.config?In(a.config,s):void 0);let v=dn(this);if(!v||Ue.und(c))return n(Zn(this,!0));const b=Ue.und(t.reset)?o&&!t.default:!Ue.und(d)&&Mn(t.reset,s),_=b?d:this.get(),w=Ln(c),E=Ue.num(w)||Ue.arr(w)||on(w),C=!m&&(!E||Mn(a.immediate||t.immediate,s));if(p){const e=En(c);if(e!==v.constructor){if(!C)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const k=v.constructor;let S=Rt(c),P=!1;if(!S){const e=b||!ii(this)&&h;(p||e)&&(P=Te(Ln(_),w),S=!P),(Te(r.immediate,C)||C)&&Te(f.decay,g)&&Te(f.velocity,y)||(S=!0)}if(P&&oi(this)&&(r.changed&&!b?S=!0:S||this._stop(l)),!m&&((S||Rt(l))&&(r.values=v.getPayload(),r.toValues=Rt(c)?null:k==gn?[1]:Ve(w)),r.immediate!=C&&(r.immediate=C,C||b||this._set(l)),S)){const{onRest:e}=r;Fe(mi,e=>fi(this,t,e));const i=Zn(this,ui(this,l));He(this._pendingCalls,i),this._pendingCalls.add(n),r.changed&&ye.batchedUpdates(()=>{r.changed=!b,e?.(i,this),b?In(a.onRest,i):r.onStart?.(i,this)})}b&&this._set(_),m?n(Qn(t.to,t,this._state,this)):S?this._start():oi(this)&&!p?this._pendingCalls.add(n):n(qn(_))}_focus(e){const t=this.animation;e!==t.to&&(Lt(this)&&this._detach(),t.to=e,Lt(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Rt(t)&&(Bt(t,this),Kn(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Rt(e)&&Vt(e,this)}_set(e,t=!0){const n=Dt(e);if(!Ue.und(n)){const e=dn(this);if(!e||!Te(n,e.getValue())){const i=En(n);e&&e.constructor==i?e.setValue(n):hn(this,i.create(n)),e&&ye.batchedUpdates(()=>{this._onChange(n,t)})}}return dn(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,gi(this,"onStart",Zn(this,ui(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),In(this.animation.onChange,e,this)),In(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;dn(this).reset(Dt(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),oi(this)||(ai(this,!0),si(this)||this._resume())}_resume(){De.skipAnimation?this.finish():tt.start(this)}_stop(e,t){if(oi(this)){ai(this,!1);const n=this.animation;Fe(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Ut(this,{type:"idle",parent:this});const i=t?Wn(this.get()):Zn(this.get(),ui(this,e??n.to));He(this._pendingCalls,i),n.changed&&(n.changed=!1,gi(this,"onRest",i,this))}}};function ui(e,t){const n=Ln(t);return Te(Ln(e.get()),n)}function ci(e,t=e.loop,n=e.to){const i=In(t);if(i){const o=!0!==i&&Dn(i),s=(o||e).reverse,a=!o||o.reset;return di({...e,loop:t,default:!1,pause:void 0,to:!s||Un(n)?n:void 0,from:a?e.from:void 0,reset:a,...o})}}function di(e){const{to:t,from:n}=e=Dn(e),i=new Set;return Ue.obj(t)&&pi(t,i),Ue.obj(n)&&pi(n,i),e.keys=i.size?Array.from(i):null,e}function hi(e){const t=di(e);return Ue.und(t.default)&&(t.default=Gn(t)),t}function pi(e,t){Be(e,(e,n)=>null!=e&&t.add(n))}var mi=["onStart","onRest","onChange","onPause","onResume"];function fi(e,t,n){e.animation[n]=t[n]!==On(t,n)?xn(t[n],e.key):void 0}function gi(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var yi=["onStart","onChange","onRest"],vi=1,bi=class{constructor(e,t){this.id=vi++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];Ue.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(di(e)),this}start(e){let{queue:t}=this;return e?t=Ve(e).map(di):this.queue=[],this._flush?this._flush(this,t):(Pi(this,t),_i(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Fe(Ve(t),t=>n[t].stop(!!e))}else Jn(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(Ue.und(e))this.start({pause:!0});else{const t=this.springs;Fe(Ve(e),e=>t[e].pause())}return this}resume(e){if(Ue.und(e))this.start({pause:!1});else{const t=this.springs;Fe(Ve(e),e=>t[e].resume())}return this}each(e){Be(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,i=this._active.size>0,o=this._changed.size>0;(i&&!this._started||o&&!this._started)&&(this._started=!0,je(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const s=!i&&this._started,a=o||s&&n.size?this.get():null;o&&t.size&&je(t,([e,t])=>{t.value=a,e(t,this,this._item)}),s&&(this._started=!1,je(n,([e,t])=>{t.value=a,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}ye.onFrame(this._onFrame)}};function _i(e,t){return Promise.all(t.map(t=>wi(e,t))).then(t=>Hn(e,t))}async function wi(e,t,n){const{keys:i,to:o,from:s,loop:a,onRest:r,onResolve:l}=t,u=Ue.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===s&&(t.from=null);const c=Ue.arr(o)||Ue.fun(o)?o:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):Fe(yi,n=>{const i=t[n];if(Ue.fun(i)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(i);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(i,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,He(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const h=(i||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),p=!0===t.cancel||!0===On(t,"cancel");(c||p&&d.asyncId)&&h.push($n(++e._lastAsyncId,{props:t,state:d,actions:{pause:Le,resume:Le,start(t,n){p?(Jn(d,e._lastAsyncId),n(Wn(e))):(t.onRest=r,n(Qn(c,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});const m=Hn(e,await Promise.all(h));if(a&&m.finished&&(!n||!m.noop)){const n=ci(t,a,o);if(n)return Pi(e,[n]),wi(e,n,!0)}return l&&ye.batchedUpdates(()=>l(m,e,e.item)),m}function Ei(e,t){const n={...e.springs};return t&&Fe(Ve(t),e=>{Ue.und(e.keys)&&(e=di(e)),Ue.obj(e.to)||(e={...e,to:void 0}),Si(n,e,e=>ki(e))}),Ci(e,n),n}function Ci(e,t){Be(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Bt(t,e))})}function ki(e,t){const n=new li;return n.key=e,t&&Bt(n,t),n}function Si(e,t,n){t.keys&&Fe(t.keys,i=>{(e[i]||(e[i]=n(i)))._prepareNode(t)})}function Pi(e,t){Fe(t,t=>{Si(e.springs,t,t=>ki(t,e))})}var Ii,Mi,xi=({children:e,...t})=>{const n=(0,h.useContext)(Oi),i=t.pause||!!n.pause,o=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,h.useState)(()=>({inputs:t,result:e()})),i=(0,h.useRef)(),o=i.current;let s=o;return s?Boolean(t&&s.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,s.inputs))||(s={inputs:t,result:e()}):s=n,(0,h.useEffect)(()=>{i.current=s,o==n&&(n.inputs=n.result=void 0)},[s]),s.result}(()=>({pause:i,immediate:o}),[i,o]);const{Provider:s}=Oi;return h.createElement(s,{value:t},e)},Oi=(Ii=xi,Mi={},Object.assign(Ii,h.createContext(Mi)),Ii.Provider._context=Ii,Ii.Consumer._context=Ii,Ii);xi.Provider=Oi.Provider,xi.Consumer=Oi.Consumer;var Ni=()=>{const e=[],t=function(t){nn(`${Kt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const i=[];return Fe(e,(e,o)=>{if(Ue.und(t))i.push(e.start());else{const s=n(t,e,o);s&&i.push(e.start(s))}}),i};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Fe(e,e=>e.pause(...arguments)),this},t.resume=function(){return Fe(e,e=>e.resume(...arguments)),this},t.set=function(t){Fe(e,(e,n)=>{const i=Ue.fun(t)?t(n,e):t;i&&e.set(i)})},t.start=function(t){const n=[];return Fe(e,(e,i)=>{if(Ue.und(t))n.push(e.start());else{const o=this._getProps(t,e,i);o&&n.push(e.start(o))}}),n},t.stop=function(){return Fe(e,e=>e.stop(...arguments)),this},t.update=function(t){return Fe(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return Ue.fun(e)?e(n,t):e};return t._getProps=n,t};function Gi(e,t){const n=Ue.fun(e),[[i],o]=function(e,t,n){const i=Ue.fun(t)&&t;i&&!n&&(n=[]);const o=(0,h.useMemo)(()=>i||3==arguments.length?Ni():void 0,[]),s=(0,h.useRef)(0),a=an(),r=(0,h.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){const n=Ei(e,t);return s.current>0&&!r.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?_i(e,t):new Promise(i=>{Ci(e,n),r.queue.push(()=>{i(_i(e,t))}),a()})}}),[]),l=(0,h.useRef)([...r.ctrls]),u=[],c=un(e)||0;function d(e,n){for(let o=e;o<n;o++){const e=l.current[o]||(l.current[o]=new bi(null,r.flush)),n=i?i(o,e):t[o];n&&(u[o]=hi(n))}}(0,h.useMemo)(()=>{Fe(l.current.slice(e,c),e=>{(function(e,t){e.ref?.delete(e),t?.delete(e)})(e,o),e.stop(!0)}),l.current.length=e,d(c,e)},[e]),(0,h.useMemo)(()=>{d(0,Math.min(c,e))},n);const p=l.current.map((e,t)=>Ei(e,u[t])),m=(0,h.useContext)(xi),f=un(m),g=m!==f&&function(e){for(const t in e)return!0;return!1}(m);sn(()=>{s.current++,r.ctrls=l.current;const{queue:e}=r;e.length&&(r.queue=[],Fe(e,e=>e())),Fe(l.current,(e,t)=>{o?.add(e),g&&e.start({default:m});const n=u[t];n&&(function(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),rn(()=>()=>{Fe(r.ctrls,e=>e.stop(!0))});const y=p.map(e=>({...e}));return o?[y,o]:y}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[i,o]:i}var Ai=class extends ti{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=kt(...t);const n=this._get(),i=En(n);hn(this,i.create(n))}advance(e){const t=this._get();Te(t,this.get())||(dn(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Di(this._active)&&Li(this)}_get(){const e=Ue.arr(this.source)?this.source.map(Dt):Ve(Dt(this.source));return this.calc(...e)}_start(){this.idle&&!Di(this._active)&&(this.idle=!1,Fe(pn(this),e=>{e.done=!1}),De.skipAnimation?(ye.batchedUpdates(()=>this.advance()),Li(this)):tt.start(this))}_attach(){let e=1;Fe(Ve(this.source),t=>{Rt(t)&&Bt(t,this),Kn(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Fe(Ve(this.source),e=>{Rt(e)&&Vt(e,this)}),this._active.clear(),Li(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=Ve(this.source).reduce((e,t)=>Math.max(e,(Kn(t)?t.priority:0)+1),0))}};function Ri(e){return!1!==e.idle}function Di(e){return!e.size||Array.from(e).every(Ri)}function Li(e){e.idle||(e.idle=!0,Fe(pn(e),e=>{e.done=!0}),Ut(e,{type:"idle",parent:e}))}De.assign({createStringInterpolator:Xt,to:(e,t)=>new Ai(e,t)}),tt.advance;var Ui=/^--/;function Ti(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Ui.test(e)||Bi.hasOwnProperty(e)&&Bi[e]?(""+t).trim():t+"px"}var Fi={},Bi={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vi=["Webkit","Ms","Moz","O"];Bi=Object.keys(Bi).reduce((e,t)=>(Vi.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),Bi);var ji=/^(matrix|translate|scale|rotate|skew)/,zi=/^(translate)/,$i=/^(rotate|skew)/,Hi=(e,t)=>Ue.num(e)&&0!==e?e+t:e,qi=(e,t)=>Ue.arr(e)?e.every(e=>qi(e,t)):Ue.num(e)?e===t:parseFloat(e)===t,Zi=class extends vn{constructor({x:e,y:t,z:n,...i}){const o=[],s=[];(e||t||n)&&(o.push([e||0,t||0,n||0]),s.push(e=>[`translate3d(${e.map(e=>Hi(e,"px")).join(",")})`,qi(e,0)])),Be(i,(e,t)=>{if("transform"===t)o.push([e||""]),s.push(e=>[e,""===e]);else if(ji.test(t)){if(delete i[t],Ue.und(e))return;const n=zi.test(t)?"px":$i.test(t)?"deg":"";o.push(Ve(e)),s.push("rotate3d"===t?([e,t,i,o])=>[`rotate3d(${e},${t},${i},${Hi(o,n)})`,qi(o,0)]:e=>[`${t}(${e.map(e=>Hi(e,n)).join(",")})`,qi(e,t.startsWith("scale")?1:0)])}}),o.length&&(i.transform=new Wi(o,s)),super(i)}},Wi=class extends Tt{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return Fe(this.inputs,(n,i)=>{const o=Dt(n[0]),[s,a]=this.transforms[i](Ue.arr(o)?o:n.map(Dt));e+=" "+s,t=t&&a}),t?"none":e}observerAdded(e){1==e&&Fe(this.inputs,e=>Fe(e,e=>Rt(e)&&Bt(e,this)))}observerRemoved(e){0==e&&Fe(this.inputs,e=>Fe(e,e=>Rt(e)&&Vt(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Ut(this,e)}};De.assign({batchedUpdates:p.unstable_batchedUpdates,createStringInterpolator:Xt,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Qi=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new vn(e),getComponentProps:i=e=>e}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:i},s=e=>{const t=Pn(e)||"Anonymous";return(e=Ue.str(e)?s[e]||(s[e]=Cn(e,o)):e[Sn]||(e[Sn]=Cn(e,o))).displayName=`Animated(${t})`,e};return Be(e,(t,n)=>{Ue.arr(e)&&(n=Pn(t)),s[n]=s(t)}),{animated:s}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:i,style:o,children:s,scrollTop:a,scrollLeft:r,viewBox:l,...u}=t,c=Object.values(u),d=Object.keys(u).map(t=>n||e.hasAttribute(t)?t:Fi[t]||(Fi[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==s&&(e.textContent=s);for(const t in o)if(o.hasOwnProperty(t)){const n=Ti(t,o[t]);Ui.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach((t,n)=>{e.setAttribute(t,c[n])}),void 0!==i&&(e.className=i),void 0!==a&&(e.scrollTop=a),void 0!==r&&(e.scrollLeft=r),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new Zi(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Ji=Qi.animated;function Yi(e){const{children:t,config:n=Tn.default,isCollapsed:o=!1}=e,[s,{height:a}]=he(),r=Gi({config:n,from:{height:0,opacity:0},to:{height:o?0:a,opacity:o?0:1}});return(0,i.createElement)(Ji.div,{style:{overflow:"hidden",...r}},(0,i.cloneElement)(t,{ref:s}))}var Xi=n(359),Ki=n.n(Xi);const eo=window.wp.apiFetch;var to=n.n(eo);const no=e=>{const{handleMilestoneStatusUpdate:t}=e,n=gdlPublishGuideItems.GdmVisibility.milestoneName,o=gdlPublishGuideItems.GdmVisibility.propName,[s=gdlPublishGuideItems.GdmVisibility.default,r]=(0,l.useEntityProp)("root","site",o),{createErrorNotice:h}=(0,c.useDispatch)(a.store),p=async e=>{try{await r(e),await Y(o,e),await t(n,e)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while saving GDM Visibility guide item","godaddy-launch");h(t,{type:"snackbar"})}};return(0,i.createElement)(ue,Q({isCompleted:s,name:"gdm_visibility",skipAction:()=>p("skipped"),text:(0,u.__)("See how your business appears in AI-powered searches and on Google.","godaddy-launch"),title:(0,u.__)("Check your visibility","godaddy-launch")},e),!s&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ne,{action:"click",section:"guide/item/gdm_visibility",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link",onClick:()=>{p(!0),window.open(gdvLinks.gdmVisibilityUrl,"_self")}},(0,u.__)("Get Started","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/gdm_visibility",target:"skip"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link is-skip",onClick:()=>p("skipped")},(0,u.__)("Skip","godaddy-launch")))))},io=(0,h.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,h.createElement)(se.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function oo(e){const{tooltip:t,closeCallback:n}=e;return(0,i.createElement)(d.Popover,{anchorRect:t.anchorRect,className:"publish-guide-tooltip godaddy-styles"+(t.nextTooltip?"":" publish-guide-tooltip--next"),noArrow:!1},(0,i.createElement)("p",{className:"publish-guide-tooltip__label"},(0,i.createElement)("svg",{fill:"none",height:"16",viewBox:"0 0 18 16",width:"18",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M15.5266 0.730524C13.6559 -0.433974 11.1932 -0.159034 8.99681 1.21948C6.80726 -0.158272 4.34306 -0.433974 2.47469 0.730524C-0.48083 2.57438 -0.840161 7.32376 1.67287 11.3374C3.52521 14.2978 6.42199 16.0312 9.00063 15.9992C11.5793 16.0312 14.476 14.2978 16.3284 11.3374C18.8384 7.32376 18.4821 2.57438 15.5266 0.730524ZM3.03161 10.4905C2.51329 9.67028 2.12232 8.77644 1.87199 7.83937C1.6494 7.02621 1.56431 6.18166 1.62023 5.34054C1.73237 3.85769 2.33736 2.70233 3.32304 2.08695C4.30872 1.47157 5.61178 1.43577 6.99951 1.98489C7.21046 2.06958 7.41696 2.1649 7.61823 2.2705C6.8469 2.972 6.17632 3.7765 5.62551 4.66118C4.09969 7.09833 3.63431 9.81117 4.16682 11.9726C3.74261 11.5153 3.36252 11.0191 3.03161 10.4905ZM16.13 7.83937C15.8794 8.77632 15.4884 9.67012 14.9704 10.4905C14.6396 11.0201 14.2595 11.5174 13.8352 11.9757C14.3112 10.0374 13.9878 7.66344 12.8205 5.4365C12.802 5.39967 12.776 5.36715 12.7441 5.34104C12.7122 5.31494 12.6751 5.29584 12.6353 5.28499C12.5955 5.27414 12.5538 5.27178 12.5131 5.27807C12.4723 5.28436 12.4333 5.29916 12.3986 5.3215L8.75955 7.59185C8.72638 7.61245 8.69761 7.63939 8.6749 7.67112C8.65218 7.70284 8.63597 7.73873 8.62718 7.77673C8.61839 7.81473 8.6172 7.85408 8.62368 7.89254C8.63016 7.931 8.64419 7.9678 8.66494 8.00083L9.19898 8.85307C9.21962 8.88618 9.2466 8.9149 9.27839 8.93758C9.31017 8.96025 9.34612 8.97644 9.38418 8.98521C9.42224 8.99399 9.46167 8.99517 9.50019 8.9887C9.53871 8.98223 9.57557 8.96824 9.60867 8.94751L11.9676 7.47685C12.0439 7.70533 12.1202 7.93 12.1774 8.16229C12.3999 8.97547 12.485 9.82 12.4291 10.6611C12.317 12.1447 11.712 13.3001 10.7263 13.9155C10.2179 14.2258 9.63537 14.3941 9.03953 14.4029H8.96324C8.36738 14.3943 7.78478 14.226 7.27645 13.9155C6.29 13.3001 5.68502 12.1447 5.57287 10.6611C5.51741 9.82001 5.60249 8.97554 5.82463 8.16229C6.33618 6.28117 7.39305 4.59284 8.86254 3.30933C9.49632 2.75373 10.2182 2.30718 10.9987 1.98794C12.3826 1.43882 13.688 1.47461 14.6744 2.08999C15.6608 2.70537 16.2651 3.86073 16.3772 5.34358C16.4339 6.18344 16.3504 7.02686 16.13 7.83937Z",fill:"#2B2B2B"})),(0,u.__)("Get Started","godaddy-launch")),(0,i.createElement)("h3",{className:"publish-guide-tooltip__title"},t.title),(0,i.createElement)("div",{className:"publish-guide-tooltip__description"},t.description),(0,i.createElement)(d.Icon,{className:"publish-guide-tooltip__close",icon:io,onClick:n}))}function so(){return"undefined"!=typeof gdlLiveSiteControlData}function ao(e,t=void 0){var n;return so()&&null!==(n=gdlLiveSiteControlData[e])&&void 0!==n?n:t}const ro=(0,i.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(se.Path,{d:"M21.75 12C21.747 9.4152 20.7189 6.9371 18.8913 5.1093C17.0636 3.28149 14.5856 2.25323 12.0008 2.25006L12.0005 2.25H12C9.41414 2.25 6.93419 3.27723 5.10571 5.10571C3.27723 6.93419 2.25 9.41414 2.25 12C2.25 14.5859 3.27723 17.0658 5.10571 18.8943C6.93419 20.7228 9.41414 21.75 12 21.75H12.0005L12.0008 21.7499C14.5856 21.7468 17.0636 20.7185 18.8913 18.8907C20.7189 17.0629 21.747 14.5848 21.75 12ZM20.212 11.25H16.723C16.6173 8.79943 15.9568 6.4048 14.7913 4.24652C16.2665 4.77892 17.5596 5.72024 18.5195 6.96044C19.4794 8.20065 20.0665 9.68848 20.212 11.25ZM10.811 19.5547C9.58439 17.4878 8.88479 15.1509 8.7738 12.75H15.2264C15.1154 15.1513 14.4155 17.4885 13.1884 19.5557C13.0631 19.7583 12.8881 19.9255 12.68 20.0414C12.4719 20.1573 12.2377 20.2181 11.9994 20.218C11.7612 20.2179 11.527 20.1569 11.319 20.0408C11.111 19.9247 10.9361 19.7574 10.811 19.5547V19.5547ZM8.7738 11.25C8.88484 8.84892 9.58444 6.51196 10.811 4.44482C10.9297 4.234 11.1024 4.05854 11.3113 3.93645C11.5202 3.81435 11.7578 3.75 11.9997 3.75C12.2417 3.75 12.4793 3.81435 12.6882 3.93645C12.8971 4.05854 13.0697 4.234 13.1884 4.44482C14.4154 6.51182 15.1153 8.84883 15.2264 11.25H8.7738ZM9.208 4.24677C8.04265 6.405 7.38223 8.79953 7.27649 11.25H3.788C3.9335 9.68859 4.52045 8.20086 5.48024 6.96071C6.44003 5.72056 7.733 4.77924 9.208 4.24677ZM3.788 12.75H7.27649C7.38214 15.2004 8.04245 17.5949 9.2077 19.7531C7.73277 19.2206 6.43988 18.2793 5.48015 17.0392C4.52042 15.799 3.93351 14.3113 3.788 12.75ZM14.7917 19.7534C15.957 17.5951 16.6174 15.2005 16.723 12.75H20.212C20.0665 14.3115 19.4795 15.7992 18.5196 17.0394C17.5598 18.2796 16.2668 19.2209 14.7917 19.7534H14.7917Z",fill:"#111111"}));function lo(){const e=gdvLinks?.changeDomain.replace("{{DOMAIN}}",window.location.hostname),t=gdlPublishGuideItems.AddDomain.propName,[n=gdlPublishGuideItems.AddDomain.default]=(0,l.useEntityProp)("root","site",t);return(0,i.createElement)("li",{className:"publish-guide-popover__item"},(0,i.createElement)("div",{className:"publish-guide-popover__item__content"},(0,i.createElement)("div",{className:"item"},(0,i.createElement)(d.Icon,{icon:n?le:ro}),(0,i.createElement)("button",{className:"publish-guide-popover__item__title"},n?(0,u.__)("Domain added","godaddy-launch"):(0,u.__)("Add your domain","godaddy-launch"))),(0,i.createElement)("div",{className:"info"},(0,i.createElement)("p",null,n?ao("siteUrl"):(0,u.__)("Choose the domain you used before, or another one if you prefer","godaddy-launch")),!n&&(0,i.createElement)(ne,{action:"click",section:"migrate_guide/item/add_domain",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link",onClick:()=>{window.open(e,"_self")},variant:"link"},(0,u.__)("Select a domain","godaddy-launch"))))))}const uo=(0,i.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(se.Path,{d:"M20.5304 19.4582L16.0546 14.9824C17.2622 13.5497 17.8735 11.7079 17.7623 9.83742C17.6512 7.96694 16.826 6.21057 15.4572 4.93096C14.0883 3.65136 12.2804 2.94623 10.4067 2.96117C8.53298 2.97611 6.73654 3.70999 5.38831 5.01127C4.04007 6.31254 3.24301 8.08186 3.16168 9.95387C3.08035 11.8259 3.72098 13.6577 4.95128 15.0709C6.18159 16.4842 7.90762 17.3711 9.77298 17.5485C11.6383 17.7259 13.5006 17.1802 14.9752 16.0241L19.4699 20.5188C19.6106 20.659 19.8012 20.7376 19.9998 20.7374C20.1985 20.7372 20.3889 20.6582 20.5294 20.5177C20.6698 20.3773 20.7488 20.1868 20.749 19.9882C20.7492 19.7896 20.6706 19.599 20.5304 19.4582ZM4.75013 10.3317C4.74902 9.38373 4.9823 8.45016 5.42923 7.61413C5.87616 6.77809 6.52286 6.06553 7.31177 5.53987C8.10068 5.01421 9.00732 4.69176 9.95098 4.60122C10.8946 4.51068 11.8461 4.65487 12.7205 5.02094C13.595 5.38702 14.3654 5.96362 14.9631 6.69943C15.5608 7.43523 15.9674 8.30741 16.1465 9.23833C16.3257 10.1692 16.2719 11.13 15.9899 12.0351C15.708 12.9402 15.2066 13.7615 14.5305 14.426C14.5021 14.4496 14.4766 14.4697 14.4519 14.4975C13.6376 15.2728 12.6137 15.7921 11.507 15.9908C10.4004 16.1895 9.25977 16.059 8.22664 15.6154C7.19351 15.1718 6.31335 14.4346 5.69534 13.4954C5.07733 12.5561 4.74867 11.4561 4.75013 10.3317Z",fill:"#111111"}));function co(){return(0,i.createElement)("li",{className:"publish-guide-popover__item"},(0,i.createElement)("div",{className:"publish-guide-popover__item__content"},(0,i.createElement)("div",{className:"item"},(0,i.createElement)(d.Icon,{icon:uo}),(0,i.createElement)("button",{className:"publish-guide-popover__item__title"},(0,u.__)("Review migrated site","godaddy-launch"))),(0,i.createElement)("div",{className:"info"},(0,i.createElement)("p",null,(0,u.__)("Go through the website and make sure everything looks good","godaddy-launch")))))}function ho(){return(0,i.createElement)("ul",{className:"publish-guide-popover__items"},(0,i.createElement)(co,null),(0,i.createElement)(lo,null))}const po=(0,h.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,h.createElement)(se.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),mo=(0,i.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(se.Path,{clipRule:"evenodd",d:"M2.25 3.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Zm1.5 3v-2.5h2.5v2.5h-2.5ZM2.25 10.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Zm1.5 3v-2.5h2.5v2.5h-2.5ZM3.25 16.25a1 1 0 0 0-1 1v3.5a1 1 0 0 0 1 1h3.5a1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1h-3.5Zm.5 1.5v2.5h2.5v-2.5h-2.5Z",fill:"#fff",fillRule:"evenodd"}),(0,i.createElement)(se.Path,{d:"M11 4.25a.75.75 0 0 0 0 1.5h10a.75.75 0 0 0 0-1.5H11ZM10.25 12a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H11a.75.75 0 0 1-.75-.75ZM11 18.25a.75.75 0 0 0 0 1.5h10a.75.75 0 0 0 0-1.5H11Z",fill:"#fff"}));function fo(){return{type:"ACTIVATE_PUBLISH_GUIDE_FAB"}}function go(){return{type:"DEACTIVATE_PUBLISH_GUIDE_FAB"}}function yo(){return{type:"OPEN_PUBLISH_GUIDE"}}function vo(){return{type:"CLOSE_PUBLISH_GUIDE"}}function bo(){return{type:"TOGGLE_PUBLISH_GUIDE"}}function _o(e){return{guideItems:e,type:"SET_GUIDE_ITEMS"}}function wo(e){return e.publishGuideFabActive}function Eo(e){return e.publishGuideActive}function Co(e){return e.guideItems}function ko(e){return e.guideItems.filter(e=>e.props.hasCompleted).length===e.guideItems.length}const So=(0,c.combineReducers)({guideItems:function(e=[],t){return"SET_GUIDE_ITEMS"===t.type?[...t.guideItems]:e},publishGuideActive:function(e=!1,t){switch(t.type){case"OPEN_PUBLISH_GUIDE":return!0;case"CLOSE_PUBLISH_GUIDE":return!1;case"TOGGLE_PUBLISH_GUIDE":return!e}return e},publishGuideFabActive:function(e=!1,t){switch(t.type){case"ACTIVATE_PUBLISH_GUIDE_FAB":return!0;case"DEACTIVATE_PUBLISH_GUIDE_FAB":return!1}return e}}),Po=(0,c.createReduxStore)("godaddy-launch/publish-guide",{actions:e,reducer:So,selectors:t});(0,c.register)(Po);const Io=({isCompleted:e,setPublishGuideMenuOpened:t,publishGuideInteracted:n})=>{const{isPublishGuideOpened:o}=(0,c.useSelect)(e=>({isPublishGuideOpened:e(Po).isPublishGuideOpened()}),[]),{togglePublishGuide:s}=(0,c.useDispatch)(Po);let a=(0,i.createElement)("span",{className:"publish-guide-trigger__button__icon-check"},(0,i.createElement)(d.Icon,{icon:mo}));const[r,l]=(0,i.useState)(!1);o&&!e&&(a=(0,i.createElement)("span",{className:"publish-guide-trigger__button__icon-close"},(0,i.createElement)(d.Icon,{icon:io})));const h=r?(0,i.createElement)("div",{className:"publish-guide-trigger__button__launch"},(0,u.__)("Launch Site","godaddy-launch")):(0,i.createElement)(d.Icon,{icon:po});return(0,i.createElement)(ne,{action:"click",section:"guide",target:o?"close":"open"},(0,i.createElement)(d.Button,{"aria-label":(0,u.__)("Publish Guide","godaddy-launch"),className:oe()("publish-guide-trigger__button",{"is-opened":o}),id:"gdl-publish-guide-trigger-button",isPrimary:!0,onClick:()=>{setTimeout(()=>{s(),n||t()},0)},onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1)},e?h:a))};function Mo(e){const{stepsCompleted:t,stepsTotal:n}=e,[o,s]=(0,i.useState)(0);(0,i.useEffect)(()=>{const e=t&&n?Math.round(100*t/n):0;s(e)},[t]);const a={width:`${o}%`};return(0,i.createElement)("div",{className:"publish-guide-progress"},(0,i.createElement)("div",{className:"publish-guide-progress-bar-background"},(0,i.createElement)("div",{className:"publish-guide-progress-bar-foreground",style:a})))}function xo(){const{isPublishGuideFabActive:e,isPublishGuideOpened:t}=(0,c.useSelect)(e=>({isPublishGuideFabActive:e(Po).isPublishGuideFabActive(),isPublishGuideOpened:e(Po).isPublishGuideOpened()}),[]),[n=!so()]=(0,l.useEntityProp)("root","site",ao("settings")?.publishState),[o=!1,s]=(0,l.useEntityProp)("root","site",gdvPublishGuideDefaults.optionInteracted),a=["publish-guide-popover",t?null:"publish-guide-popover__display-none"].join(" ").trim();return e&&!n&&(0,i.createElement)("div",{className:"publish-guide-migrate publish-guide-trigger godaddy-styles"},(0,i.createElement)(Io,{isCompleted:!1,placement:"bottom-start",publishGuideInteracted:o,setPublishGuideMenuOpened:()=>{s(!0),(0,c.dispatch)("core").saveEntityRecord("root","site",{[gdvPublishGuideDefaults.optionInteracted]:!0})}}),(0,i.createElement)(d.Popover.Slot,null),(0,i.createElement)(d.Popover,{className:a,focusOnMount:"container",placement:"bottom-start"},(0,i.createElement)("div",{className:"publish-guide-popover__header godaddy-styles components-modal__header"},(0,i.createElement)("div",{className:"publish-guide-popover__header__content"},(0,i.createElement)("h1",{className:"publish-guide-popover__header__title components-modal__header-heading"},(0,u.__)("Migration Guide","godaddy-launch"))),(0,i.createElement)("div",{className:"publish-guide-popover__header__progress"},(0,i.createElement)(Mo,{stepsCompleted:0,stepsTotal:2}))),(0,i.createElement)(ho,null),(0,i.createElement)(Yi,null,(0,i.createElement)("div",{className:"publish-guide-popover__footer"}))))}function Oo(e){const{children:t,isCollapsed:n,selectedItem:o,setSelectedItem:s}=e;return(0,i.createElement)(Yi,{isCollapsed:n},(0,i.createElement)("ul",{className:"publish-guide-popover__items"},t?.map((e,t)=>(0,i.createElement)("div",{"data-testid":"publish-guide-item",key:`publish-guide-item-${t}`},(0,i.cloneElement)(e,{key:`publish-guide-item-${t}`,selectedItem:o,setSelectedItem:s})))))}const No=window.wp.editPost,Go=(0,i.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(se.Path,{clipRule:"evenodd",d:"M2.25 3.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Zm1.5 3v-2.5h2.5v2.5h-2.5ZM2.25 10.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Zm1.5 3v-2.5h2.5v2.5h-2.5ZM3.25 16.25a1 1 0 0 0-1 1v3.5a1 1 0 0 0 1 1h3.5a1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1h-3.5Zm.5 1.5v2.5h2.5v-2.5h-2.5Z",fill:"black",fillRule:"evenodd"}),(0,i.createElement)(se.Path,{d:"M11 4.25a.75.75 0 0 0 0 1.5h10a.75.75 0 0 0 0-1.5H11ZM10.25 12a.75.75 0 0 1 .75-.75h10a.75.75 0 0 1 0 1.5H11a.75.75 0 0 1-.75-.75ZM11 18.25a.75.75 0 0 0 0 1.5h10a.75.75 0 0 0 0-1.5H11Z",fill:"black"})),Ao=()=>{const[e,t]=(0,i.useState)(!1),[n,o]=(0,i.useState)(null),s=e=>{e.stopPropagation(),e.preventDefault();const t=document.querySelector(".publish-guide-tooltip");t&&!t.contains(e.target)&&(0,r.unregisterPlugin)("gdl-publish-menu-item-tooltip")};return(0,i.useEffect)(()=>(document.addEventListener("mousedown",s),document.addEventListener("click",s),()=>{document.removeEventListener("mousedown",s),document.removeEventListener("click",s)}),[]),(0,i.useEffect)(()=>{setTimeout(()=>{const e=document.querySelector("#publish-guide-more-menu-item");e&&e.focus(),t(!0);const n=document.querySelector("#publish-guide-more-menu-item");if(n){const e=n.getBoundingClientRect();o(new DOMRect(e.x-20,e.y,e.width,e.height))}},200)},[]),e&&n?(0,i.createElement)(d.Popover,{anchorRect:n,className:"publish-guide-tooltip publish-guide-menu-item-tooltip",focusOnMount:!1,noArrow:!1,offset:50,onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},position:"middle right"},(0,i.createElement)("p",{className:"publish-guide-menu-item__header"},(0,u.__)("Just so you know…","godaddy-launch")),(0,i.createElement)("p",null,(0,u.__)("The Quick Start Guide is now disabled, but you can re-enable it any time from here.","godaddy-launch")),(0,i.createElement)("button",{className:"publish-guide-menu-item__confirm godaddy-styles",onMouseDown:()=>{(0,r.unregisterPlugin)("gdl-publish-menu-item-tooltip")}},(0,u.__)("Got it","godaddy-launch"))):null},Ro=e=>{const{setTooltip:t,handleMilestoneStatusUpdate:n}=e,o=gdlPublishGuideItems.SEO.milestoneName,s=gdlPublishGuideItems.SEO.propName,[r=gdlPublishGuideItems.SEO.default,h]=(0,l.useEntityProp)("root","site",s),{createErrorNotice:p}=(0,c.useDispatch)(a.store),m=async e=>{try{await h(e),await Y(s,e),await n(o,e)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while saving SEO guide item","godaddy-launch");p(t,{type:"snackbar"})}};return(0,i.useEffect)(()=>{if(r){const e="siteSEOEvent";localStorage.getItem(e)||(localStorage.setItem(e,"1"),ee(`${te}.guide/item/seo.complete`))}},[r]),(0,i.createElement)(ue,Q({isCompleted:r,name:"seo",skipAction:()=>m("skipped"),testId:"seo-container",text:(0,u.__)("Let's make sure your site shows up on Google and other search engines.","godaddy-launch"),title:(0,u.__)("Optimize SEO","godaddy-launch")},e),(0,i.createElement)(ne,{action:"click",section:"guide/item/seo",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link",isLink:!0,onClick:()=>{gdvLinks.seoRedirectUrl?window.location.assign(gdvLinks.seoRedirectUrl):t("SEO")}},(0,u.__)("Get Started","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/seo",target:"skip"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link is-skip",isLink:!0,onClick:()=>m("skipped")},(0,u.__)("Skip","godaddy-launch"))))},Do=e=>{const{setTooltip:t,handleMilestoneStatusUpdate:n}=e,o=gdlPublishGuideItems.SiteContent.milestoneName,s=gdlPublishGuideItems.SiteContent.propName,[r=gdlPublishGuideItems.SiteContent.default,h]=(0,l.useEntityProp)("root","site",s),{createErrorNotice:p}=(0,c.useDispatch)(a.store),m=async e=>{try{await h(e),await Y(s,e),await n(o,e)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while saving Site Content guide item","godaddy-launch");p(t,{type:"snackbar"})}};return(0,i.useEffect)(()=>{if(r){const e="siteContentEvent";localStorage.getItem(e)||(localStorage.setItem(e,"1"),ee(`${te}.guide/item/site_content.complete`))}},[r]),(0,i.createElement)(ue,Q({isCompleted:r,name:"site_content",skipAction:()=>m("skipped"),testId:"site-content-container",text:(0,u.__)("Help visitors get to know you and and how they can reach you.","godaddy-launch"),title:(0,u.__)("Add a new page","godaddy-launch")},e),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_content",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link",isLink:!0,onClick:()=>{gdvLinks.editorRedirectUrl?window.location.assign(gdvLinks.editorRedirectUrl+"&tooltip=siteContent"):t("siteContent")}},(0,u.__)("Get Started","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_content",target:"skip"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link is-skip",isLink:!0,onClick:()=>m("skipped")},(0,u.__)("Skip","godaddy-launch"))))},Lo=e=>{const{setTooltip:t,handleMilestoneStatusUpdate:n}=e,o=gdlPublishGuideItems.SiteDesign.milestoneName,s=gdlPublishGuideItems.SiteDesign.propName,[r=gdlPublishGuideItems.SiteDesign.default,h]=(0,l.useEntityProp)("root","site",s),{createErrorNotice:p}=(0,c.useDispatch)(a.store),m=async e=>{try{await h(e),await Y(s,e),await n(o,e)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while saving Site Design guide item","godaddy-launch");p(t,{type:"snackbar"})}},{coblocksSiteDesign:f,selectedColors:g,selectedDesignStyle:y,selectedFonts:v}=(0,c.useSelect)(e=>({coblocksSiteDesign:globalThis?.siteDesign||{},selectedColors:e("coblocks/site-design")?.getCurrentColors(),selectedDesignStyle:e("coblocks/site-design")?.getDesignStyle(),selectedFonts:e("coblocks/site-design")?.getSelectedFonts()}),[]);return(0,i.useEffect)(()=>{if(!f.hasOwnProperty("currentColors")||!f.hasOwnProperty("currentDesignStyle")||!f.hasOwnProperty("currentFonts"))return;const e=Object.fromEntries(Object.entries(f.currentColors).filter(e=>e[1])),t=f.currentDesignStyle,n=Object.entries(f.currentFonts);JSON.stringify(e)===JSON.stringify(g)&&JSON.stringify(t)===JSON.stringify(y)&&JSON.stringify(n)===JSON.stringify(v)||r||(m("true"),ee(`${te}.guide/item/site_design.complete`))},[g,y,v]),(0,i.createElement)(ue,Q({isCompleted:r,name:"site_design",skipAction:()=>m("skipped"),testId:"site-design-container",text:(0,u.__)("Change site colors and fonts to match your brand.","godaddy-launch"),title:(0,u.__)("Customize styles","godaddy-launch")},e),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_design",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link",isLink:!0,onClick:()=>{gdvLinks.stylesRedirectUrl?window.location.assign(gdvLinks.stylesRedirectUrl):t("siteDesign")}},(0,u.__)("Make It Your Own","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_design",target:"skip"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link is-skip",onClick:()=>m("skipped")},(0,u.__)("Skip","godaddy-launch"))))},Uo=window.wp.compose,To=window.wp.htmlEntities,Fo=({closeModal:e,setIsCompleted:t})=>{const[n]=(0,l.useEntityProp)("root","site","title"),[o]=(0,l.useEntityProp)("root","site","description"),[s,a]=(0,i.useState)(n),[r,h]=(0,i.useState)(o),[p,m]=(0,i.useState)(!1),{url:f}=(0,c.useSelect)(e=>({url:e("core").getSite()?.url}));return(0,i.createElement)(d.Modal,{className:"publish-guide-popover__modal godaddy-styles",isOpen:!0,onRequestClose:e,title:(0,u.__)("Add your site info","godaddy-launch")},(0,i.createElement)(i.Fragment,null,(0,i.createElement)("p",null,(0,u.__)("Adding your site's name and a quick description is helpful not only for Google and other search engines to find you but also for potential customers to know if this is the right place for them.","godaddy-launch")),(0,i.createElement)("div",{className:"publish-guide-site-info__content"},(0,i.createElement)("div",{className:"publish-guide-site-info__section form-section"},(0,i.createElement)(ne,{action:"click",section:"guide/item/site_info",target:"input_title"},(0,i.createElement)(d.TextControl,{label:(0,u.__)("What's the name of your site?","godaddy-launch"),onChange:e=>a(e),value:(0,To.decodeEntities)(s)})),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_info",target:"input_description"},(0,i.createElement)(d.TextControl,{label:(0,u.__)("Describe in one sentence what you do.","godaddy-launch"),onChange:e=>h(e),value:r}))),(0,i.createElement)("div",{className:"publish-guide-site-info__section preview-section"},(0,i.createElement)("div",{className:"preview-info"},(0,i.createElement)("p",{className:"preview-info__title"},(0,i.createElement)("strong",null,(0,To.decodeEntities)(s))),(0,i.createElement)("p",{className:"preview-info__site-url"},f),(0,i.createElement)("p",null,r)),(0,i.createElement)("p",{className:"preview-subtext",dangerouslySetInnerHTML:{__html:(0,u.sprintf)(
// translators: %s: what-is-a-domain-name link.
// translators: %s: what-is-a-domain-name link.
(0,u.__)("Note you can change the %s in a different step","godaddy-launch"),`<a target="_blank" href="https://www.godaddy.com/resources/skills/what-is-a-domain-name">${(0,u.__)("domain name","godaddy-launch")}</a>`)}}))),(0,i.createElement)("div",{className:"publish-guide-site-info__action"},(0,i.createElement)(ne,{action:"click",section:"guide/item/site_info",target:"close"},(0,i.createElement)(d.Button,{isSecondary:!0,onClick:e},(0,u.__)("Back","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_info",target:"save"},(0,i.createElement)(d.Button,{className:oe()("publish-guide-popover__button",{"is-busy":p}),disabled:p,isPrimary:!0,onClick:()=>{m(!0),(0,c.dispatch)("core").saveEntityRecord("root","site",{description:r,title:s}).then(()=>{m(!1),t("true"),e()})}},(0,u.__)("Done","godaddy-launch"))))))},Bo=(0,Uo.compose)([d.withNotices])(e=>{const{handleMilestoneStatusUpdate:t}=e,[n,o]=(0,i.useState)(!1),s=gdlPublishGuideItems.SiteInfo.milestoneName,r=gdlPublishGuideItems.SiteInfo.propName,[h=gdlPublishGuideItems.SiteInfo.default,p]=(0,l.useEntityProp)("root","site",r),{createErrorNotice:m}=(0,c.useDispatch)(a.store),f=new URLSearchParams(window.location.search).get("gdl_action");(0,i.useEffect)(()=>{"edit-site-title"===f&&o(!0)},[f]);const g=async e=>{try{await p(e),await Y(r,e),await t(s,e)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while saving Site Info guide item","godaddy-launch");m(t,{type:"snackbar"})}};return(0,i.createElement)(ue,Q({isCompleted:h,name:"site_info",skipAction:()=>g("skipped"),text:(0,u.__)("Customize your site title to help users identify your business.","godaddy-launch"),title:(0,u.__)("Add site details","godaddy-launch")},e),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_info",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link",isLink:!0,onClick:()=>o(!0)},(0,u.__)("Edit Site Title","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_info",target:"skip"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link is-skip",onClick:()=>g("skipped")},(0,u.__)("Skip","godaddy-launch"))),n&&(0,i.createElement)(Fo,Q({closeModal:()=>o(!1),setIsCompleted:g},e)))}),Vo=window.lodash,jo=window.wp.editor,zo=window.wp.blockEditor,$o=["image"],Ho=(0,Uo.compose)([d.withNotices])(e=>{const{handleMilestoneStatusUpdate:t}=e,{hasUploadPermissions:n,getSettings:o}=(0,c.useSelect)(e=>({getSettings:e("core/block-editor").getSettings,hasUploadPermissions:(0,Vo.defaultTo)(e("core").canUser("create","media"),!0)})),{updateSettings:s}=(0,c.useDispatch)("core/block-editor");(0,i.useEffect)(()=>{const e=o();s({...e,hasUploadPermissions:n,mediaUpload:jo.mediaUpload})},[]);const r=gdlPublishGuideItems.SiteMedia.milestoneName,h=gdlPublishGuideItems.SiteMedia.propName,[p=gdlPublishGuideItems.SiteMedia.default,m]=(0,l.useEntityProp)("root","site",h),{createErrorNotice:f}=(0,c.useDispatch)(a.store),g=async e=>{try{await m(e),await Y(h,e),await t(r,e)}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,u.__)("An error occurred while saving Site Media guide item","godaddy-launch");f(t,{type:"snackbar"})}},[y,v]=(0,i.useState)(),{mediaItemData:b,sitelogo:_}=(0,c.useSelect)(e=>{const t=e("core").getEditedEntityRecord("root","site"),n=e("core").getEntityRecord("root","media",t.sitelogo);return{mediaItemData:n&&{alt:n.alt_text,url:n.source_url},sitelogo:t.sitelogo}},[]),{editEntityRecord:w}=(0,c.useDispatch)("core");return b&&y!==b.url&&v(b.url),(0,i.createElement)(ue,Q({isCompleted:p,name:"site_media",skipAction:()=>g("skipped"),text:(0,u.__)("Build greater brand awareness and trust with customers.","godaddy-launch"),title:(0,u.__)("Upload your logo","godaddy-launch")},e),(0,i.createElement)(zo.MediaUploadCheck,null,(0,i.createElement)(zo.MediaUpload,{allowedTypes:$o,onSelect:e=>{var t;e&&(!e.id&&e.url&&(w("root","site",void 0,{sitelogo:""}),v(e.url)),e.id&&((0,c.dispatch)("core").saveEntityRecord("root","site",{sitelogo:null!==(t=e.id.toString())&&void 0!==t?t:""}),g("true")))},render:({open:e})=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ne,{action:"click",section:"guide/item/site_media",target:"edit"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link",id:"gdl-add-logo",isLink:!0,onClick:e},(0,u.__)("Add Logo","godaddy-launch"))),(0,i.createElement)(ne,{action:"click",section:"guide/item/site_media",target:"skip"},(0,i.createElement)(d.Button,{className:"publish-guide-popover__link components-button is-link is-skip",onClick:()=>g("skipped")},(0,u.__)("Skip","godaddy-launch")))),title:(0,u.__)("Upload site logo","godaddy-launch"),value:_})))}),qo=window.wp.hooks,Zo=window.wp.mediaUtils;var Wo;(0,qo.addFilter)("editor.MediaUpload","godaddy-launch/publish-guide/replace-media-upload",()=>Zo.MediaUpload);const Qo=null!==(Wo="undefined"==typeof gdvPublishGuideDefaults)&&void 0!==Wo?Wo:JSON.parse(window.localStorage.getItem("WP_DATA_USER_"+gdvPublishGuideDefaults.userId));function Jo(){let e;const[t]=function(e){let t=h.useRef($(e)),n=h.useRef(!1),i=T(),o=h.useMemo(()=>function(e,t){let n=$(e);return t&&t.forEach((e,i)=>{n.has(i)||t.getAll(i).forEach(e=>{n.append(i,e)})}),n}(i.search,n.current?null:t.current),[i.search]),s=B(),a=h.useCallback((e,t)=>{const i=$("function"==typeof e?e(o):e);n.current=!0,s("?"+i,t)},[s,o]);return[o,a]}(),[n,o]=(0,i.useState)(!1);(0,i.useEffect)(()=>{const e=()=>{const e=new URL(document.location).searchParams;o(e.get("isMwcDialogOpened"))};e();const t=setInterval(e,500);return()=>{clearInterval(t)}},[t]);const s={publishGuideHere:{autoHide:1e4,collapseSidePanel:!1,description:(0,u.__)("Once you're done selecting your site style and colors, click here to continue publishing your site.","godaddy-launch"),refID:"gdl-publish-guide-trigger-button",title:(0,u.__)("Getting Started Guide","godaddy-launch")},siteContent:{autoHide:!1,collapseSidePanel:!0,description:(0,u.__)("This button will open up your page manager.","godaddy-launch"),refID:"coblocks-menu-icon-site-content",title:(0,u.__)("Open the site content tab","godaddy-launch")},siteDesign:{autoHide:!1,collapseSidePanel:!0,description:(0,u.__)("If you want to update the feel of a site and bring in your own brand, this is a good place to start.","godaddy-launch"),refID:"coblocks-menu-icon-site-design",title:(0,u.__)("Change any global styles here","godaddy-launch")}},{isCompleted:p,guideItems:m,isPublishGuideFabActive:f,isPublishGuideOpened:g,stepsCompleted:y}=(0,c.useSelect)(e=>({guideItems:e(Po).getGuideItems(),isCompleted:e(Po).getGuideItemsComplete(),isPublishGuideFabActive:e(Po).isPublishGuideFabActive(),isPublishGuideOpened:e(Po).isPublishGuideOpened(),stepsCompleted:e(Po).getGuideItems().filter(e=>e.props.hasCompleted).length}),[]),{activatePublishGuideFab:v,closePublishGuide:b,setGuideItems:_,togglePublishGuide:w}=(0,c.useDispatch)(Po),{saveEditedEntityRecord:E}=(0,c.useDispatch)("core"),[C,k]=(0,i.useState)(null),[S,P]=(0,i.useState)(null),[I,M]=(0,i.useState)(!1);(0,i.useEffect)(()=>{!f&&so()||setTimeout(()=>M(!0),500)},[f]),(0,i.useEffect)(()=>{const e=new URLSearchParams(window.location.search).get("gdl_action");if(e&&(setTimeout(function(){w()},600),setTimeout(function(){const t={"add-site-logo":"site_media","edit-site-title":"site_info"};e in t&&k(t[e])},1200),"add-site-logo"===e)){const e=new MutationObserver(function(){!document.body.classList.contains("modal-open")&&document.contains(document.getElementById("gdl-add-logo"))&&(document.getElementById("gdl-add-logo").click(),e.disconnect())});return e.observe(document,{attributes:!1,characterData:!1,childList:!0,subtree:!0}),()=>{e.disconnect()}}},[]),(0,i.useEffect)(()=>{g&&M(!1)},[g]);const x=(0,c.useDispatch)("core/edit-post"),{isWelcomeGuideActive:O}=(0,c.useSelect)(e=>({isWelcomeGuideActive:e("core/edit-post")?.isFeatureActive("welcomeGuide")}),[]),[N=gdlPublishGuideItems.AddDomain?.default]=(0,l.useEntityProp)("root","site",gdlPublishGuideItems.AddDomain?.propName),[G=gdlPublishGuideItems.GdmVisibility?.default]=(0,l.useEntityProp)("root","site",gdlPublishGuideItems.GdmVisibility?.propName),[A=gdlPublishGuideItems.SiteContent?.default]=(0,l.useEntityProp)("root","site",gdlPublishGuideItems.SiteContent?.propName),[R=gdlPublishGuideItems.SEO?.default]=(0,l.useEntityProp)("root","site",gdlPublishGuideItems.SEO?.propName),[D=gdlPublishGuideItems.SiteDesign?.default]=(0,l.useEntityProp)("root","site",gdlPublishGuideItems.SiteDesign?.propName),[L=gdlPublishGuideItems.SiteInfo?.default]=(0,l.useEntityProp)("root","site",gdlPublishGuideItems.SiteInfo?.propName),[U=gdlPublishGuideItems.SiteMedia?.default]=(0,l.useEntityProp)("root","site",gdlPublishGuideItems.SiteMedia?.propName),[F=!1,V]=(0,l.useEntityProp)("root","site",gdvPublishGuideDefaults.optionInteracted),[j=!!gdvPublishGuideDefaults.isOptOut,z]=(0,l.useEntityProp)("root","site",gdvPublishGuideDefaults.optionOptOut),[H=!so()]=(0,l.useEntityProp)("root","site",ao("settings")?.publishState),[q,Z]=(0,i.useState)(!1),{removeNotice:W,createNotice:Q}=(0,c.useDispatch)(a.store);(0,i.useEffect)(()=>{H||q||Q("warning gdl-notice",(0,u.__)("Your site is not launched yet. Visitors will see a temporary Coming Soon page until you launch your site."),{actions:[{className:"is-link",label:(0,u.__)("Launch My Site"),onClick:()=>{K({eid:`${te}.notice.launch`}),window.dispatchEvent(new Event(ao("eventName")))}}],id:"gdl-launch-notice"}),H&&(W("gdl-launch-notice"),Z(!0))},[H]),(0,i.useEffect)(()=>(!Qo&&O&&x?.toggleFeature&&x?.toggleFeature("welcomeGuide"),_([!!gdlPublishGuideItems.SiteInfo?.enabled&&(0,i.createElement)(Bo,{handleMilestoneStatusUpdate:Y,hasCompleted:!!L,key:"SiteInfoGuide"}),!!gdlPublishGuideItems.SiteMedia?.enabled&&(0,i.createElement)(Ho,{handleMilestoneStatusUpdate:Y,hasCompleted:!!U,key:"SiteMediaGuide"}),!!gdlPublishGuideItems.SiteContent?.enabled&&(0,i.createElement)(Do,{handleMilestoneStatusUpdate:Y,hasCompleted:!!A,key:"SiteContentGuide",setTooltip:J}),!!gdlPublishGuideItems.SiteDesign?.enabled&&(0,i.createElement)(Lo,{handleMilestoneStatusUpdate:Y,hasCompleted:!!D,key:"SiteDesignGuide",setTooltip:J}),!!gdlPublishGuideItems.AddDomain?.enabled&&(0,i.createElement)(ce,{handleMilestoneStatusUpdate:Y,hasCompleted:!!N,key:"AddDomainGuide"}),!!gdlPublishGuideItems.SEO?.enabled&&(0,i.createElement)(Ro,{handleMilestoneStatusUpdate:Y,hasCompleted:!!R,key:"SEOGuide",setTooltip:J}),!!gdlPublishGuideItems.GdmVisibility?.enabled&&(0,i.createElement)(no,{handleMilestoneStatusUpdate:Y,hasCompleted:!!G,key:"GdmVisibilityGuide"})].filter(e=>!1!==e)),()=>{if(!e)return null;ie()}),[N,G,A,R,D,L,U]),(0,i.useEffect)(()=>{S&&(e=document.getElementById(S.refID),e&&e.addEventListener("click",X))},[S]),(0,i.useEffect)(()=>{const e={};window.location.search.substr(1).split("&").forEach(t=>{e[t.split("=")[0]]=t.split("=")[1]}),e.tooltip&&setTimeout(()=>J(e.tooltip),2e3)},[]);const J=t=>{const n=s[t];return n?(e&&ee(),e=document.getElementById(n.refID),e?(n.collapseSidePanel&&x.closeGeneralSidebar(),n.autoHide&&(this.tooltipAutoHideTimeout=setTimeout(ee,n.autoHide)),b(),void P({...n,anchorRect:e.getBoundingClientRect()})):null):null},Y=async(e,t)=>{await(async(e,t={},n=3)=>{let i;for(let o=0;o<n;o++)try{return await to()(e,t)}catch(e){i=e}throw i})({data:{milestoneName:e,status:t},method:"POST",path:`gdl/v1/milestone/${e}`})},X=()=>{ie(),S&&S.nextTooltip?setTimeout(()=>J(S.nextTooltip),200):ee()},ee=()=>{if(clearTimeout(void 0),P(null),!e)return null;ie(),e=null},ie=()=>e.removeEventListener("click",X);(0,i.useEffect)(()=>{so()||v()},[]);const oe=((e,t=!1)=>{const n=(0,i.useRef)(null),o=(0,i.useCallback)(e=>{n.current=e},[e]),s=(0,i.useCallback)((e,t)=>{n.current&&n.current({...t,colors:["#09757a","#00a4a6","#1bdbdb"],gravity:.5,origin:{y:.55},particleCount:Math.floor(250*e)})},[]);return(0,i.useEffect)(()=>{s(.25,{spread:26,startVelocity:t?155:15}),s(.2,{spread:60}),s(.35,{decay:.91,scalar:1.5,spread:100}),s(.1,{decay:.92,scalar:1.2,spread:120,startVelocity:t?25:10}),s(.1,{spread:200,startVelocity:t?45:10})},[e]),(0,i.createElement)(Ki(),{disableForReducedMotion:!0,refConfetti:o,style:{bottom:0,height:"100%",left:0,pointerEvents:"none",position:"absolute",right:0,top:0,width:"100%",zIndex:1e6},useWorker:!0})})(p),se=["publish-guide-popover",g?null:"publish-guide-popover__display-none"].join(" ").trim();return f&&!n&&(!p||!H&&!q)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"publish-guide-default publish-guide-trigger godaddy-styles"},!j&&(0,i.createElement)(Io,{isCompleted:p,placement:"bottom-start",publishGuideInteracted:F,setPublishGuideMenuOpened:()=>{V(!0),(0,c.dispatch)("core").saveEntityRecord("root","site",{[gdvPublishGuideDefaults.optionInteracted]:!0})}}),(0,i.createElement)(d.Popover.Slot,null),(0,i.createElement)(d.Popover,{className:se,focusOnMount:"container",placement:"bottom-start"},(0,i.createElement)("div",{className:"publish-guide-popover__header godaddy-styles components-modal__header"},(0,i.createElement)("div",{className:"publish-guide-popover__header__content"},(0,i.createElement)("h1",{className:"publish-guide-popover__header__title components-modal__header-heading"},(0,u.__)("Quick Start Guide","godaddy-launch")),(0,i.createElement)("p",null,(0,u.sprintf)(/* translators: field type eg: checkbox */ /* translators: field type eg: checkbox */
(0,u.__)("Completed %1$d of %2$d","godaddy-launch"),y,m.length))),(0,i.createElement)("div",{className:"publish-guide-popover__header__progress"},(0,i.createElement)(Mo,{stepsCompleted:y,stepsTotal:m.length}))),(0,i.createElement)(Oo,{isCollapsed:p,selectedItem:C,setSelectedItem:e=>k(e)},m),(0,i.createElement)(Yi,{isCollapsed:!p},(0,i.createElement)("div",{className:"publish-guide-popover__success"},(0,i.createElement)("h3",null,(0,u.__)("All tasks complete!","godaddy-launch")),(0,i.createElement)("div",null,(0,u.__)("Ready to launch? You can always publish more updates any time.","godaddy-launch")))),(0,i.createElement)(Yi,null,(0,i.createElement)("div",{className:"publish-guide-popover__footer"})),(0,i.createElement)("div",{className:"publish-guide-popover__footer"}),(0,i.createElement)(ne,{action:"click",section:"panel",target:"opt_out"},(0,i.createElement)("button",{className:"publish-guide-popover__opt-out-link",onClick:()=>{const e=document.querySelector(".interface-more-menu-dropdown > button");e&&e.click(),b(),z(!0),E("root","site"),(0,r.registerPlugin)("gdl-publish-menu-item-tooltip",{icon:null,render:Ao})}},(0,u.__)("I'm not interested in a guide","godaddy-launch"))),p&&oe),I&&!p&&!g&&!j&&!F&&(0,i.createElement)(ne,{action:"click",section:"guide",target:"welcome"},(0,i.createElement)(d.Popover,{className:"publish-guide-tooltip godaddy-styles",noArrow:!1,onClick:w,placement:"bottom-end"},(0,i.createElement)("div",{className:"publish-guide-tooltip__description"},(0,u.__)("Welcome! We put together a small list of tasks to help you get started.","godaddy-launch"))))),S&&(0,i.createPortal)((0,i.createElement)(oo,{closeCallback:ee,tooltip:S}),document.body))}(0,r.registerPlugin)("gdl-publish-menu-item",{icon:null,render:()=>{const{saveEditedEntityRecord:e}=(0,c.useDispatch)("core"),[t,n]=(0,l.useEntityProp)("root","site",gdvPublishGuideDefaults.optionOptOut);return(0,i.createElement)(i.Fragment,null,t&&(0,i.createElement)(No.PluginMoreMenuItem,{icon:Go,id:"publish-guide-more-menu-item",onClick:()=>{n(!1),e("root","site")}},(0,u.__)("Quick Start Guide","coblocks")))}}),s()(()=>{const e=document.getElementById(gdvPublishGuideDefaults.appContainerClass);if(!e)return;const t=(0,i.createElement)(d.SlotFillProvider,null,(0,i.createElement)(q,null,ao("isMigratedSite",!1)?(0,i.createElement)(xo,null):(0,i.createElement)(Jo,null)));if("true"===gdvPublishGuideDefaults.shouldUseReact18Syntax){const{createRoot:i}=n(87);i(e).render(t)}else{const{render:i}=n(87);i(t,e)}})})()})(); Zerion Mini Shell 1.0
Custom Staffing Solutions | Beyond A Resume
Skip to content
Distinguish Your Business From The Rest With The People That Make Up Your Team
We go Beyond a Resume to find high value, committed people
ready, willing, and able to add true value toward your organization's mission.
The right people make or break your business
We focus on resolving two types of challenges surrounding staffing and recruiting at Beyond a Resume: The first challenge comes when a business continues to grow, but does not have the full-time, internal, talent acquisition resources to hire the right people or talent necessary to keep up with their rate of progression as a company.
The second is a business that has a dedicated internal Human Resources Team, but requires outsourced assistance when the volume of people and talent needed exceeds short term internal capacity, OR the position(s) they seek to fill demand a specific skill set that is difficult to find, requiring added bandwidth.
In nearly any line of business, growth is a challenge in and of itself. Yet, the real problems arise in managing growth to ensure your progress remains profitable, sustainable, and repeatable. The biggest factor in this equation is usually found in your people. When you have the right people, success is unlimited. On the other hand, when you don’t have the right people in place or are having trouble finding enough of the right people, failure or stagnation is imminent.
The frustration that comes with the process of “hiring” can bring you to new levels of stress as the time cost involved eats away at your production elsewhere. If you have experienced this in the past, or are currently struggling with this issue, you’re certainly not alone. You may simply need the right partner to take the worst parts of this process off your plate so you can concentrate on your responsibilities, while we work diligently to reduce the noise and deliver only the ideal candidates worth your time and attention.
People can make or break your business and we go Beyond a Resume to find high value, committed people ready, willing, and able to add true value.
Primary Industry Experience
Healthcare and Home Healthcare
Talent Acquisition Solutions
Statement of Work Projects
Scroll To Top