(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6664:function(t,e,n){!function(t,e){"use strict";function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function o(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?n(Object(o),!0).forEach((function(e){a(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(null==t)return{};var n,o,r={},a=Object.keys(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}function s(t,e){if(null==t)return{};var n,o,r=i(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function c(t,e){return u(t)||l(t,e)||p(t,e)||f()}function u(t){if(Array.isArray(t))return t}function l(t,e){var n=t&&("undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,r,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(o=n.next()).done)&&(a.push(o.value),!e||a.length!==e);i=!0);}catch(c){s=!0,r=c}finally{try{i||null==n.return||n.return()}finally{if(s)throw r}}return a}}function p(t,e){if(t){if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function E(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var m,_,h,g,S={exports:{}};function T(){return _?m:(_=1,m="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function y(){if(g)return h;g=1;var t=T();function e(){}function n(){}return n.resetWarningCache=e,h=function(){function o(e,n,o,r,a,i){if(i!==t){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return o}o.isRequired=o;var a={array:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:e};return a.PropTypes=a,a}}S.exports=y()();var C=E(S.exports),b=function(t,n,o){var r=!!o,a=e.useRef(o);e.useEffect((function(){a.current=o}),[o]),e.useEffect((function(){if(!r||!t)return function(){};var e=function(){a.current&&a.current.apply(a,arguments)};return t.on(n,e),function(){t.off(n,e)}}),[r,n,t,a])},A=function(t){var n=e.useRef(t);return e.useEffect((function(){n.current=t}),[t]),n.current},I=function(t){return null!==t&&"object"===r(t)},O=function(t){return I(t)&&"function"===typeof t.then},R=function(t){return I(t)&&"function"===typeof t.elements&&"function"===typeof t.createToken&&"function"===typeof t.createPaymentMethod&&"function"===typeof t.confirmCardPayment},v="[object Object]",U=function t(e,n){if(!I(e)||!I(n))return e===n;var o=Array.isArray(e);if(o!==Array.isArray(n))return!1;var r=Object.prototype.toString.call(e)===v;if(r!==(Object.prototype.toString.call(n)===v))return!1;if(!r&&!o)return e===n;var a=Object.keys(e),i=Object.keys(n);if(a.length!==i.length)return!1;for(var s={},c=0;c<a.length;c+=1)s[a[c]]=!0;for(var u=0;u<i.length;u+=1)s[i[u]]=!0;var l=Object.keys(s);if(l.length!==a.length)return!1;var p=e,d=n,f=function(e){return t(p[e],d[e])};return l.every(f)},P=function(t,e,n){return I(t)?Object.keys(t).reduce((function(r,i){var s=!I(e)||!U(t[i],e[i]);return n.includes(i)?(s&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),r):s?o(o({},r||{}),{},a({},i,t[i])):r}),null):null},L="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",x=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L;if(null===t||R(t))return t;throw new Error(e)},N=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L;if(O(t))return{tag:"async",stripePromise:Promise.resolve(t).then((function(t){return x(t,e)}))};var n=x(t,e);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},D=function(t){t&&t._registerWrapper&&t.registerAppInfo&&(t._registerWrapper({name:"react-stripe-js",version:"2.7.2"}),t.registerAppInfo({name:"react-stripe-js",version:"2.7.2",url:"https://stripe.com/docs/stripe-js/react"}))},w=e.createContext(null);w.displayName="ElementsContext";var F=function(t,e){if(!t)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(e," in an <Elements> provider."));return t},M=function(t){var n=t.stripe,o=t.options,r=t.children,a=e.useMemo((function(){return N(n)}),[n]),i=c(e.useState((function(){return{stripe:"sync"===a.tag?a.stripe:null,elements:"sync"===a.tag?a.stripe.elements(o):null}})),2),s=i[0],u=i[1];e.useEffect((function(){var t=!0,e=function(t){u((function(e){return e.stripe?e:{stripe:t,elements:t.elements(o)}}))};return"async"!==a.tag||s.stripe?"sync"!==a.tag||s.stripe||e(a.stripe):a.stripePromise.then((function(n){n&&t&&e(n)})),function(){t=!1}}),[a,s,o]);var l=A(n);e.useEffect((function(){null!==l&&l!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")}),[l,n]);var p=A(o);return e.useEffect((function(){if(s.elements){var t=P(o,p,["clientSecret","fonts"]);t&&s.elements.update(t)}}),[o,p,s.elements]),e.useEffect((function(){D(s.stripe)}),[s.stripe]),e.createElement(w.Provider,{value:s},r)};M.propTypes={stripe:C.any,options:C.object};var k=function(t){var n=e.useContext(w);return F(n,t)},j=function(){return k("calls useElements()").elements},B=function(t){return(0,t.children)(k("mounts <ElementsConsumer>"))};B.propTypes={children:C.func.isRequired};var G=["on","session"],z=e.createContext(null);z.displayName="CustomCheckoutSdkContext";var H=function(t,e){if(!t)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(e," in an <CustomCheckoutProvider> provider."));return t},W=e.createContext(null);W.displayName="CustomCheckoutContext";var V=function(t,e){if(!t)return null;t.on,t.session;var n=s(t,G);return o(o({},n),e||t.session())},$="Invalid prop `stripe` supplied to `CustomCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",Q=function(t){var n=t.stripe,o=t.options,r=t.children,a=e.useMemo((function(){return N(n,$)}),[n]),i=c(e.useState(null),2),s=i[0],u=i[1],l=c(e.useState((function(){return{stripe:"sync"===a.tag?a.stripe:null,customCheckoutSdk:null}})),2),p=l[0],d=l[1],f=function(t,e){d((function(n){return n.stripe&&n.customCheckoutSdk?n:{stripe:t,customCheckoutSdk:e}}))},E=e.useRef(!1);e.useEffect((function(){var t=!0;return"async"!==a.tag||p.stripe?"sync"===a.tag&&a.stripe&&!E.current&&(E.current=!0,a.stripe.initCustomCheckout(o).then((function(t){t&&(f(a.stripe,t),t.on("change",u))}))):a.stripePromise.then((function(e){e&&t&&!E.current&&(E.current=!0,e.initCustomCheckout(o).then((function(t){t&&(f(e,t),t.on("change",u))})))})),function(){t=!1}}),[a,p,o,u]);var m=A(n);e.useEffect((function(){null!==m&&m!==n&&console.warn("Unsupported prop change on CustomCheckoutProvider: You cannot change the `stripe` prop after setting it.")}),[m,n]);var _=A(o);e.useEffect((function(){var t,e;if(p.customCheckoutSdk){!o.clientSecret||I(_)||U(o.clientSecret,_.clientSecret)||console.warn("Unsupported prop change: options.client_secret is not a mutable property.");var n=null===_||void 0===_||null===(t=_.elementsOptions)||void 0===t?void 0:t.appearance,r=null===o||void 0===o||null===(e=o.elementsOptions)||void 0===e?void 0:e.appearance;r&&!U(r,n)&&p.customCheckoutSdk.changeAppearance(r)}}),[o,_,p.customCheckoutSdk]),e.useEffect((function(){D(p.stripe)}),[p.stripe]);var h=e.useMemo((function(){return V(p.customCheckoutSdk,s)}),[p.customCheckoutSdk,s]);return p.customCheckoutSdk?e.createElement(z.Provider,{value:p},e.createElement(W.Provider,{value:h},r)):null};Q.propTypes={stripe:C.any,options:C.shape({clientSecret:C.string.isRequired,elementsOptions:C.object}).isRequired};var Y=function(t){var n=e.useContext(z);return H(n,t)},K=function(t){var n=e.useContext(z),o=e.useContext(w);if(n&&o)throw new Error("You cannot wrap the part of your app that ".concat(t," in both <CustomCheckoutProvider> and <Elements> providers."));return n?H(n,t):F(o,t)},q=function(){Y("calls useCustomCheckout()");var t=e.useContext(W);if(!t)throw new Error("Could not find CustomCheckout Context; You need to wrap the part of your app that calls useCustomCheckout() in an <CustomCheckoutProvider> provider.");return t},J=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},X=function(t,n){var o="".concat(J(t),"Element"),r=n?function(t){K("mounts <".concat(o,">"));var n=t.id,r=t.className;return e.createElement("div",{id:n,className:r})}:function(n){var r,a=n.id,i=n.className,s=n.options,u=void 0===s?{}:s,l=n.onBlur,p=n.onFocus,d=n.onReady,f=n.onChange,E=n.onEscape,m=n.onClick,_=n.onLoadError,h=n.onLoaderStart,g=n.onNetworksChange,S=n.onConfirm,T=n.onCancel,y=n.onShippingAddressChange,C=n.onShippingRateChange,I=K("mounts <".concat(o,">")),O="elements"in I?I.elements:null,R="customCheckoutSdk"in I?I.customCheckoutSdk:null,v=c(e.useState(null),2),U=v[0],L=v[1],x=e.useRef(null),N=e.useRef(null);b(U,"blur",l),b(U,"focus",p),b(U,"escape",E),b(U,"click",m),b(U,"loaderror",_),b(U,"loaderstart",h),b(U,"networkschange",g),b(U,"confirm",S),b(U,"cancel",T),b(U,"shippingaddresschange",y),b(U,"shippingratechange",C),b(U,"change",f),d&&(r="expressCheckout"===t?d:function(){d(U)}),b(U,"ready",r),e.useLayoutEffect((function(){if(null===x.current&&null!==N.current&&(O||R)){var e=null;R?e=R.createElement(t,u):O&&(e=O.create(t,u)),x.current=e,L(e),e&&e.mount(N.current)}}),[O,R,u]);var D=A(u);return e.useEffect((function(){if(x.current){var t=P(u,D,["paymentRequest"]);t&&x.current.update(t)}}),[u,D]),e.useLayoutEffect((function(){return function(){if(x.current&&"function"===typeof x.current.destroy)try{x.current.destroy(),x.current=null}catch(t){}}}),[]),e.createElement("div",{id:a,className:i,ref:N})};return r.propTypes={id:C.string,className:C.string,onChange:C.func,onBlur:C.func,onFocus:C.func,onReady:C.func,onEscape:C.func,onClick:C.func,onLoadError:C.func,onLoaderStart:C.func,onNetworksChange:C.func,onConfirm:C.func,onCancel:C.func,onShippingAddressChange:C.func,onShippingRateChange:C.func,options:C.object},r.displayName=o,r.__elementType=t,r},Z="undefined"===typeof window,tt=e.createContext(null);tt.displayName="EmbeddedCheckoutProviderContext";var et=function(){var t=e.useContext(tt);if(!t)throw new Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return t},nt="Invalid prop `stripe` supplied to `EmbeddedCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ot=function(t){var n=t.stripe,o=t.options,r=t.children,a=e.useMemo((function(){return N(n,nt)}),[n]),i=e.useRef(null),s=e.useRef(null),u=c(e.useState({embeddedCheckout:null}),2),l=u[0],p=u[1];e.useEffect((function(){if(!s.current&&!i.current){var t=function(t){s.current||i.current||(s.current=t,i.current=s.current.initEmbeddedCheckout(o).then((function(t){p({embeddedCheckout:t})})))};"async"!==a.tag||s.current||!o.clientSecret&&!o.fetchClientSecret?"sync"!==a.tag||s.current||!o.clientSecret&&!o.fetchClientSecret||t(a.stripe):a.stripePromise.then((function(e){e&&t(e)}))}}),[a,o,l,s]),e.useEffect((function(){return function(){l.embeddedCheckout?(i.current=null,l.embeddedCheckout.destroy()):i.current&&i.current.then((function(){i.current=null,l.embeddedCheckout&&l.embeddedCheckout.destroy()}))}}),[l.embeddedCheckout]),e.useEffect((function(){D(s)}),[s]);var d=A(n);e.useEffect((function(){null!==d&&d!==n&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")}),[d,n]);var f=A(o);return e.useEffect((function(){null!=f&&(null!=o?(void 0===o.clientSecret&&void 0===o.fetchClientSecret&&console.warn("Invalid props passed to EmbeddedCheckoutProvider: You must provide one of either `options.fetchClientSecret` or `options.clientSecret`."),null!=f.clientSecret&&o.clientSecret!==f.clientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the client secret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),null!=f.fetchClientSecret&&o.fetchClientSecret!==f.fetchClientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change fetchClientSecret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),null!=f.onComplete&&o.onComplete!==f.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it.")):console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them."))}),[f,o]),e.createElement(tt.Provider,{value:l},r)},rt=function(t){var n=t.id,o=t.className,r=et().embeddedCheckout,a=e.useRef(!1),i=e.useRef(null);return e.useLayoutEffect((function(){return!a.current&&r&&null!==i.current&&(r.mount(i.current),a.current=!0),function(){if(a.current&&r)try{r.unmount(),a.current=!1}catch(t){}}}),[r]),e.createElement("div",{ref:i,id:n,className:o})},at=function(t){var n=t.id,o=t.className;return et(),e.createElement("div",{id:n,className:o})},it=Z?at:rt,st=function(){return K("calls useStripe()").stripe},ct=X("auBankAccount",Z),ut=X("card",Z),lt=X("cardNumber",Z),pt=X("cardExpiry",Z),dt=X("cardCvc",Z),ft=X("fpxBank",Z),Et=X("iban",Z),mt=X("idealBank",Z),_t=X("p24Bank",Z),ht=X("epsBank",Z),gt=X("payment",Z),St=X("expressCheckout",Z),Tt=X("paymentRequestButton",Z),yt=X("linkAuthentication",Z),Ct=X("address",Z),bt=X("shippingAddress",Z),At=X("paymentMethodMessaging",Z),It=X("affirmMessage",Z),Ot=X("afterpayClearpayMessage",Z);t.AddressElement=Ct,t.AffirmMessageElement=It,t.AfterpayClearpayMessageElement=Ot,t.AuBankAccountElement=ct,t.CardCvcElement=dt,t.CardElement=ut,t.CardExpiryElement=pt,t.CardNumberElement=lt,t.CustomCheckoutProvider=Q,t.Elements=M,t.ElementsConsumer=B,t.EmbeddedCheckout=it,t.EmbeddedCheckoutProvider=ot,t.EpsBankElement=ht,t.ExpressCheckoutElement=St,t.FpxBankElement=ft,t.IbanElement=Et,t.IdealBankElement=mt,t.LinkAuthenticationElement=yt,t.P24BankElement=_t,t.PaymentElement=gt,t.PaymentMethodMessagingElement=At,t.PaymentRequestButtonElement=Tt,t.ShippingAddressElement=bt,t.useCustomCheckout=q,t.useElements=j,t.useStripe=st}(e,n(7423))},2389:function(t,e,n){"use strict";n.r(e);var o,r,a=n(7423);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}e.default=function(t){return a.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),o||(o=a.createElement("g",{clipPath:"url(#danger_svg__clip0_444_79)",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"},a.createElement("path",{d:"M10 18a8 8 0 100-16 8 8 0 000 16z",fill:"#E96B71",stroke:"#D32029"}),a.createElement("path",{d:"M10 13.994V14m0-2.29V6",stroke:"#fff"}))),r||(r=a.createElement("defs",null,a.createElement("clipPath",{id:"danger_svg__clip0_444_79"},a.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}},8534:function(t,e,n){"use strict";n.r(e);var o,r,a=n(7423);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}e.default=function(t){return a.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),o||(o=a.createElement("g",{clipPath:"url(#success_svg__clip0_403_103)",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"},a.createElement("path",{d:"M10 18a8 8 0 100-16 8 8 0 000 16z",fill:"#00CB75",stroke:"#00B341"}),a.createElement("path",{d:"M7 10l2 2 4-4",stroke:"#fff"}))),r||(r=a.createElement("defs",null,a.createElement("clipPath",{id:"success_svg__clip0_403_103"},a.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}},1825:function(t,e,n){"use strict";n.r(e);var o,r=n(7423);function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}e.default=function(t){return r.createElement("svg",a({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),o||(o=r.createElement("path",{d:"M10 1.392c.796 0 1.537.389 1.992 1.039l.087.133 6.762 11.29a2.43 2.43 0 01-1.923 3.636l-.162.007H3.235a2.428 2.428 0 01-2.152-3.5l.083-.154L7.924 2.56A2.428 2.428 0 0110 1.39zm.008 11.108l-.106.006a.833.833 0 000 1.655l.098.006.106-.006a.833.833 0 000-1.655l-.098-.006zM10 6.667a.833.833 0 00-.828.736l-.005.097v3.333l.005.098a.833.833 0 001.655 0l.006-.098V7.5l-.005-.097A.833.833 0 0010 6.667z",fill:"#E13942"})))}},4317:function(t,e,n){"use strict";n.r(e);var o,r,a,i,s,c,u,l,p,d,f,E=n(7423);function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}e.default=function(t){return E.createElement("svg",m({id:"logo_svg__Logo",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 204.952 47.348"},t),o||(o=E.createElement("defs",null,E.createElement("style",null,".logo_svg__cls-1{fill:#51525f}"))),r||(r=E.createElement("g",{id:"logo_svg__Group_4","data-name":"Group 4"},E.createElement("g",{id:"logo_svg__Group_2","data-name":"Group 2",transform:"translate(.232 .266)"},E.createElement("path",{id:"logo_svg__Path_1","data-name":"Path 1",className:"logo_svg__cls-1",d:"M18.833 32.1c2.47-1.859 2.709-4.3.478-6.187-1.912-1.62-7.276-3.293-7.621-3.372a12.52 12.52 0 01-5.975-3.9 12.046 12.046 0 01-2.071-3.744l-.212-.929c-.478-1.514.053-5.045.053-5.045a5.463 5.463 0 01.531-1.567 9.829 9.829 0 013.77-4.577 9.277 9.277 0 012.071-1.168 5.2 5.2 0 011.939-.5C15.54 1.053 46.45 1 47.512 1a2.318 2.318 0 01.188 1.195c0 1.912-.053 3.85.027 5.762.053.956-.266 1.168-1.168 1.168q-16.77-.04-33.512 0l-1.089.345c-1.354.744-1.328 3.532.133 4.647a8.127 8.127 0 002.576 1.3c.9.292 1.806.5 2.709.8a25.056 25.056 0 017.037 3.8c.159.186.319.372.5.558a12.144 12.144 0 013.4 5.789c.027.319.08.611.106.929a11.037 11.037 0 01-3.213 9.268l-.451.531a10.784 10.784 0 01-7.064 3.108 21.411 21.411 0 01-9.825-1.487 20.189 20.189 0 01-2.018-.983.1.1 0 00-.027-.08c-.027 0-.027.027-.053.027a32.5 32.5 0 01-4.541-3.532c-.372-.345-.558-.637 0-1.115 1.514-1.328 3-2.682 4.408-4.116.531-.531.85-.558 1.3-.08a.458.458 0 01.159.159 12.561 12.561 0 007.329 3.532c.637.027 1.275.027 1.912.053a4.545 4.545 0 002.363-.451z",transform:"translate(-.875 -1)"})),E.createElement("g",{id:"logo_svg__Group_3","data-name":"Group 3"},E.createElement("path",{id:"logo_svg__Path_2","data-name":"Path 2",className:"logo_svg__cls-1",d:"M15.322 39.833a22.043 22.043 0 01-8.152-1.594 14.664 14.664 0 01-1.461-.69 5.992 5.992 0 00-.584-.292.026.026 0 01-.025-.027.093.093 0 01-.053-.027 32.2 32.2 0 01-4.569-3.584.937.937 0 01-.478-.744 1.091 1.091 0 01.451-.744 74.44 74.44 0 004.409-4.115 1.356 1.356 0 01.9-.5 1.119 1.119 0 01.77.425 1.227 1.227 0 01.186.186 12.207 12.207 0 007.143 3.452h.69c.4 0 .823 0 1.222.027a3.738 3.738 0 002.2-.425l.106-.053a4.062 4.062 0 001.885-3 3.566 3.566 0 00-1.434-2.735c-1.832-1.567-7.117-3.213-7.542-3.319a12.94 12.94 0 01-6.108-3.983A9.505 9.505 0 013.107 15c-.106-.266-.212-.5-.319-.744 0-.027 0-.027-.027-.053l-.212-.929C2.124 11.9 2.5 9 2.6 8.152v-.026a6.328 6.328 0 01.56-1.647 9.982 9.982 0 013.85-4.674A9.4 9.4 0 019.161.611h.027a.026.026 0 00.027-.027A4.979 4.979 0 0111.18.08C13.6.053 27.086.027 36.965 0h9.905a.377.377 0 01.159.053c.027 0 .027.027.053.027l.053.053a1.957 1.957 0 01.212 1.195v1.885c0 1.3-.027 2.656.027 3.983a1.377 1.377 0 01-.292 1.115 1.535 1.535 0 01-1.168.319c-11.472-.03-22.864-.03-33.46 0l-1.036.345a1.907 1.907 0 00-.823 1.567 3.1 3.1 0 001.005 2.629 7.85 7.85 0 002.5 1.248c.4.133.823.239 1.248.372.478.133.983.266 1.461.451a25.326 25.326 0 017.117 3.85c.027 0 .027.027.053.027l.133.133c.133.133.239.266.372.4a12.527 12.527 0 013.479 5.9v.027c.027.159.027.319.053.451a2.926 2.926 0 01.053.478 11.311 11.311 0 01-3.293 9.48l-.451.5-.027.027a11.2 11.2 0 01-7.223 3.185 9.742 9.742 0 01-1.753.133zm-9.878-3l.478.239a13.609 13.609 0 001.407.664 21.262 21.262 0 009.719 1.464 10.654 10.654 0 006.9-3.054l.451-.5a10.877 10.877 0 003.16-9.082c-.027-.159-.027-.319-.053-.478s-.027-.292-.053-.451A12.067 12.067 0 0024.139 20c-.133-.133-.266-.292-.4-.425l-.106-.106a25.028 25.028 0 00-6.933-3.748c-.478-.159-.983-.292-1.461-.425a22.69 22.69 0 01-1.275-.372 8.205 8.205 0 01-2.682-1.354 3.587 3.587 0 01-1.222-3.08 2.432 2.432 0 011.12-2.019c.027 0 .027-.027.053-.027l1.089-.344h.08c10.622-.027 22.014-.027 33.512 0 .425 0 .664-.053.77-.159a.969.969 0 00.133-.717 68.023 68.023 0 01-.027-4.01V1.328a2.538 2.538 0 00-.08-.8c-.876 0-4.86 0-9.746.027C27.113.584 13.6.611 11.206.637a4.6 4.6 0 00-1.753.451c-.053.027-.08.053-.133.053A9.422 9.422 0 007.3 2.257a9.452 9.452 0 00-3.662 4.435 5.683 5.683 0 00-.531 1.514v.027c-.08.584-.478 3.585-.053 4.913l.212.929c.106.239.212.5.319.744a9.4 9.4 0 001.673 2.921 12.127 12.127 0 005.842 3.823c.531.106 5.842 1.779 7.754 3.4a4.047 4.047 0 011.62 3.16 4.52 4.52 0 01-2.124 3.426l-.027.027-.133.08a4.53 4.53 0 01-2.5.478c-.4-.027-.8-.027-1.222-.027h-.717a12.65 12.65 0 01-7.489-3.611l-.027-.027-.106-.106-.027-.027c-.159-.186-.292-.266-.4-.266a.87.87 0 00-.5.345A68.396 68.396 0 01.77 32.556c-.159.133-.27.266-.27.344 0 .106.133.239.266.372a31.118 31.118 0 004.382 3.452h.08a.237.237 0 01.216.108zm12.746-5.47z"})))),a||(a=E.createElement("g",{id:"logo_svg__Group_7","data-name":"Group 7",transform:"translate(25.855 30.591)"},E.createElement("g",{id:"logo_svg__Group_5","data-name":"Group 5",transform:"translate(.275 .212)"},E.createElement("path",{id:"logo_svg__Path_3","data-name":"Path 3",className:"logo_svg__cls-1",d:"M119.352 116.664c0 2.363-.027 4.727-.027 7.064h-4.541s-12.587.027-12.587 0H98.4a10.978 10.978 0 00.956-.77 11.316 11.316 0 002.815-5.789c.027-.106.027-.212.053-.345a.924.924 0 01.85-.77c.5.106 15.349-.053 16.092-.053a.694.694 0 01.186.663z",transform:"translate(-98.4 -116)"})),E.createElement("g",{id:"logo_svg__Group_6","data-name":"Group 6"},E.createElement("path",{id:"logo_svg__Path_4","data-name":"Path 4",className:"logo_svg__cls-1",d:"M98.914 123.432h-1.275a.32.32 0 01-.266-.186.252.252 0 01.106-.292 8.639 8.639 0 00.929-.744 10.817 10.817 0 002.735-5.63 1.293 1.293 0 00.027-.319v-.027a1.242 1.242 0 011.062-.983h.106c.478.08 10.463 0 14.207-.027 1.009 0 1.673-.027 1.832-.027a.2.2 0 01.133.027.767.767 0 01.345.823l-.266.027h.266c0 2.363-.027 4.727-.027 7.064a.286.286 0 01-.266.266h-15.187c-1.275 0-1.753 0-1.965-.027a19.969 19.969 0 01-2.496.055zm2.523-.266zm-3.027-.266h19.916c.027-2.284.027-4.541.027-6.8v-.027c0-.186 0-.266-.053-.292-.239 0-.876 0-1.726.027-9.454.08-13.649.08-14.26.027a.642.642 0 00-.584.558 1.333 1.333 0 01-.053.319 11.334 11.334 0 01-2.895 5.922 1.667 1.667 0 00-.373.266z",transform:"translate(-97.364 -115.2)"})))),i||(i=E.createElement("g",{id:"logo_svg__Group_12","data-name":"Group 12",transform:"translate(25.413 17.739)"},E.createElement("g",{id:"logo_svg__Group_10","data-name":"Group 10",transform:"translate(.319 .266)"},E.createElement("path",{id:"logo_svg__Path_6","data-name":"Path 6",className:"logo_svg__cls-1",d:"M131.714 87.4a4.626 4.626 0 01-2.124 1.673 7.4 7.4 0 01-2.39.4 6.646 6.646 0 01-2.549-.531 8.275 8.275 0 01-2.31-1.514 8.5 8.5 0 01-1.726-2.257 7.882 7.882 0 01-.85-2.815v-8.581H118.3c-3.638 0-12.985-.027-15.614.027-.823 0-1.222-.159-1.328-.584-.053-.319-2.231-4.86-4.461-5.417l21.4.08 9.8.027v5.869h-3.4v7.433a2.721 2.721 0 00.159.983 1.95 1.95 0 00.451.717 2.143 2.143 0 00.637.451 1.782 1.782 0 00.744.159 4.6 4.6 0 00.85-.08 1.688 1.688 0 00.9-.584z",transform:"translate(-96.9 -67.8)"})),E.createElement("g",{id:"logo_svg__Group_11","data-name":"Group 11"},E.createElement("path",{id:"logo_svg__Path_7","data-name":"Path 7",className:"logo_svg__cls-1",d:"M126.318 89a6.619 6.619 0 01-2.656-.558 8.269 8.269 0 01-2.39-1.567 9.078 9.078 0 01-1.779-2.337 7.937 7.937 0 01-.876-2.921v-8.311H117.4c-3.558 0-12.985-.027-15.614.027-.664 0-1.434-.08-1.593-.8-.133-.478-2.231-4.7-4.275-5.2a.288.288 0 01-.212-.292.282.282 0 01.266-.239l31.2.106a.251.251 0 01.266.266v5.866a.251.251 0 01-.266.266h-3.134v7.17a2.382 2.382 0 00.159.9 2.586 2.586 0 00.4.637 2.127 2.127 0 00.558.4 2.39 2.39 0 001.434.053 1.654 1.654 0 00.77-.5.3.3 0 01.212-.08.224.224 0 01.186.106l3.266 4.541a.242.242 0 010 .319 4.9 4.9 0 01-2.231 1.753 7.88 7.88 0 01-2.474.395zm-7.2-7.409a7.464 7.464 0 00.823 2.709 8.63 8.63 0 001.673 2.2 8.09 8.09 0 002.231 1.461 6.6 6.6 0 004.78.133 4.4 4.4 0 001.885-1.407l-3-4.169a1.825 1.825 0 01-.823.451 3.019 3.019 0 01-1.753-.08 2.452 2.452 0 01-.744-.5 2.537 2.537 0 01-.5-.823 2.841 2.841 0 01-.186-1.089V73.04a.251.251 0 01.266-.266h3.13v-5.363l-29.795-.08a13.568 13.568 0 013.585 5.1c.027.133.08.372 1.062.372 2.629-.027 12.056-.027 15.614-.027h1.487a.251.251 0 01.266.266z",transform:"translate(-95.7 -66.8)"})))),s||(s=E.createElement("g",{id:"logo_svg__Group_13","data-name":"Group 13",transform:"translate(61.475 18.934)"},E.createElement("path",{id:"logo_svg__Path_8","data-name":"Path 8",className:"logo_svg__cls-1",d:"M237.838 91.779a9.87 9.87 0 01-3.93-3.665A10 10 0 01232.5 82.8a10.106 10.106 0 011.407-5.311 9.87 9.87 0 013.93-3.665 12.768 12.768 0 0111.339 0 9.629 9.629 0 013.9 3.665 10 10 0 011.407 5.311 10.106 10.106 0 01-1.407 5.311 9.974 9.974 0 01-3.9 3.665 12.011 12.011 0 01-5.656 1.328 11.735 11.735 0 01-5.682-1.325zm9.347-4.939a6.4 6.4 0 000-8.073 4.826 4.826 0 00-3.665-1.514 4.925 4.925 0 00-3.691 1.514 5.657 5.657 0 00-1.461 4.036 5.5 5.5 0 001.461 4.036 4.885 4.885 0 003.691 1.514 4.826 4.826 0 003.665-1.513z",transform:"translate(-232.234 -72.181)"}),E.createElement("path",{id:"logo_svg__Path_9","data-name":"Path 9",className:"logo_svg__cls-1",d:"M242.786 92.491A12.173 12.173 0 01237 91.137a10.238 10.238 0 01-4.036-3.771A10.463 10.463 0 01231.5 81.9a10.286 10.286 0 011.461-5.47A10.064 10.064 0 01237 72.654a13.05 13.05 0 0111.578 0 10.165 10.165 0 014.01 3.771 10.463 10.463 0 011.461 5.47 10.352 10.352 0 01-1.461 5.47 10.165 10.165 0 01-4.01 3.771 12.248 12.248 0 01-5.792 1.355zm0-20.607a11.569 11.569 0 00-5.55 1.3 9.515 9.515 0 00-3.824 3.558 10 10 0 00-1.381 5.178 9.686 9.686 0 001.381 5.178 9.515 9.515 0 003.824 3.558 11.883 11.883 0 005.55 1.3 11.391 11.391 0 005.523-1.3 9.443 9.443 0 003.8-3.558 10 10 0 001.381-5.178 9.6 9.6 0 00-5.178-8.737 11.464 11.464 0 00-5.526-1.299zm0 15.853a5.125 5.125 0 01-3.877-1.593 6.646 6.646 0 010-8.444 5.125 5.125 0 013.877-1.593 5.027 5.027 0 013.85 1.593 6.646 6.646 0 010 8.444 5.108 5.108 0 01-3.85 1.594zm0-11.1a4.685 4.685 0 00-3.505 1.434 5.423 5.423 0 00-1.381 3.85 5.308 5.308 0 001.381 3.85 4.644 4.644 0 003.505 1.434 4.586 4.586 0 003.479-1.434 6.151 6.151 0 000-7.7 4.586 4.586 0 00-3.479-1.433zm3.665 9.321z",transform:"translate(-231.5 -71.3)"}))),c||(c=E.createElement("g",{id:"logo_svg__Group_14","data-name":"Group 14",transform:"translate(87.605 18.96)"},E.createElement("path",{id:"logo_svg__Path_10","data-name":"Path 10",className:"logo_svg__cls-1",d:"M339.338 73.244a10.311 10.311 0 014.089-.744v5.364a19.87 19.87 0 00-1.3-.08 5.284 5.284 0 00-3.9 1.407 5.609 5.609 0 00-1.407 4.2v9.427H331V72.792h5.55v2.656a5.94 5.94 0 012.788-2.204z",transform:"translate(-330.708 -72.208)"}),E.createElement("path",{id:"logo_svg__Path_11","data-name":"Path 11",className:"logo_svg__cls-1",d:"M335.981 92.272h-5.816a.251.251 0 01-.266-.266V71.984a.251.251 0 01.266-.266h5.55a.251.251 0 01.266.266v1.886a7.334 7.334 0 012.443-1.7 10.71 10.71 0 014.169-.77.251.251 0 01.266.266v5.364a.241.241 0 01-.08.186.3.3 0 01-.212.08q-.956-.08-1.275-.08a5.048 5.048 0 00-3.718 1.328 5.487 5.487 0 00-1.328 4.01v9.454a.266.266 0 01-.265.264zm-5.55-.531h5.284v-9.188a5.95 5.95 0 011.487-4.382 5.548 5.548 0 014.089-1.461c.186 0 .531.027 1.036.053v-4.805a10.185 10.185 0 00-3.718.717 6.5 6.5 0 00-2.709 2.1.261.261 0 01-.478-.159v-2.39H330.4v19.515z",transform:"translate(-329.9 -71.4)"}))),u||(u=E.createElement("g",{id:"logo_svg__Group_15","data-name":"Group 15",transform:"translate(101.413 19.279)"},E.createElement("path",{id:"logo_svg__Path_12","data-name":"Path 12",className:"logo_svg__cls-1",d:"M405.917 73.6l-9.055 21.244a10.613 10.613 0 01-3.4 4.886 8.221 8.221 0 01-4.886 1.407 10.214 10.214 0 01-3.08-.478 6.961 6.961 0 01-2.5-1.328l2.124-4.143a4.779 4.779 0 001.54.929 5.119 5.119 0 001.726.345 3.011 3.011 0 001.939-.584 4.756 4.756 0 001.328-1.912l.08-.186-8.68-20.18h6l5.63 13.6 5.656-13.6h5.577z",transform:"translate(-382.707 -73.334)"}),E.createElement("path",{id:"logo_svg__Path_13","data-name":"Path 13",className:"logo_svg__cls-1",d:"M387.739 100.669a9.956 9.956 0 01-3.16-.5 7.4 7.4 0 01-2.6-1.407.282.282 0 01-.053-.319l2.124-4.143a.2.2 0 01.186-.133.207.207 0 01.212.053 4.756 4.756 0 001.461.876 4.532 4.532 0 001.646.319 2.891 2.891 0 001.779-.531 4.553 4.553 0 001.248-1.806l.027-.08L382 72.972a.25.25 0 01.027-.239.271.271 0 01.212-.133h6a.232.232 0 01.239.159l5.364 12.985 5.417-12.985a.255.255 0 01.239-.159h5.577a.328.328 0 01.212.106.258.258 0 01.027.239l-9.055 21.244a10.719 10.719 0 01-3.505 4.992 8.2 8.2 0 01-5.015 1.488zm-5.258-2.151a6.542 6.542 0 002.231 1.142 9.711 9.711 0 003 .478 8.151 8.151 0 004.753-1.354 10.391 10.391 0 003.319-4.753l8.9-20.9h-4.992l-5.6 13.437a.255.255 0 01-.239.159.232.232 0 01-.239-.159l-5.55-13.437h-5.417l8.524 19.81a.291.291 0 010 .212l-.08.186a5.194 5.194 0 01-1.434 2.018 3.292 3.292 0 01-2.1.637 4.976 4.976 0 01-1.832-.345 4.848 4.848 0 01-1.354-.77z",transform:"translate(-381.896 -72.6)"}))),l||(l=E.createElement("g",{id:"logo_svg__Group_16","data-name":"Group 16",transform:"translate(126.986 11.684)"},E.createElement("path",{id:"logo_svg__Path_14","data-name":"Path 14",className:"logo_svg__cls-1",d:"M479.2 45h5.816v27.617H479.2z",transform:"translate(-478.934 -44.734)"}),E.createElement("path",{id:"logo_svg__Path_15","data-name":"Path 15",className:"logo_svg__cls-1",d:"M484.281 72.148h-5.816a.251.251 0 01-.266-.266V44.266a.251.251 0 01.266-.266h5.816a.251.251 0 01.266.266v27.617a.266.266 0 01-.266.265zm-5.55-.531h5.284V44.531h-5.284z",transform:"translate(-478.2 -44)"}))),p||(p=E.createElement("g",{id:"logo_svg__Group_17","data-name":"Group 17",transform:"translate(136.971 18.96)"},E.createElement("path",{id:"logo_svg__Path_16","data-name":"Path 16",className:"logo_svg__cls-1",d:"M537.705 84.45h-15.163a4.715 4.715 0 001.939 2.948 6.418 6.418 0 003.8 1.089 7.431 7.431 0 002.762-.478 6.993 6.993 0 002.257-1.461l3.08 3.346c-1.885 2.151-4.647 3.24-8.259 3.24a13.219 13.219 0 01-6-1.328 9.587 9.587 0 01-4.01-3.665 10 10 0 01-1.411-5.311 10.31 10.31 0 011.407-5.311 9.828 9.828 0 013.824-3.691 11.312 11.312 0 015.444-1.328 10.983 10.983 0 015.311 1.275 9.146 9.146 0 013.744 3.638 10.816 10.816 0 011.354 5.5 7.458 7.458 0 01-.079 1.537zM524.135 78a4.757 4.757 0 00-1.646 3.054h9.878a4.642 4.642 0 00-1.646-3.027 4.855 4.855 0 00-3.266-1.142 4.968 4.968 0 00-3.32 1.115z",transform:"translate(-516.461 -72.208)"}),E.createElement("path",{id:"logo_svg__Path_17","data-name":"Path 17",className:"logo_svg__cls-1",d:"M527.484 92.564a13.261 13.261 0 01-6.108-1.354 9.948 9.948 0 01-4.116-3.771 11.012 11.012 0 01-.027-10.914 9.938 9.938 0 013.93-3.771 11.478 11.478 0 015.577-1.354 11.3 11.3 0 015.444 1.3 9.669 9.669 0 013.851 3.744 11.128 11.128 0 011.381 5.63c0 .053 0 .292-.106 1.593a.262.262 0 01-.266.239h-14.818a4.55 4.55 0 001.753 2.47 6.132 6.132 0 003.638 1.036 7.565 7.565 0 002.682-.451 6.407 6.407 0 002.151-1.407.257.257 0 01.372 0L535.9 88.9a.248.248 0 010 .345c-1.883 2.204-4.725 3.319-8.416 3.319zm-.744-20.607a10.881 10.881 0 00-5.338 1.3 9.718 9.718 0 00-3.744 3.585 10.048 10.048 0 00-1.354 5.178 9.686 9.686 0 001.381 5.178 9.4 9.4 0 003.9 3.558 12.987 12.987 0 005.869 1.3c3.426 0 6.081-1.009 7.913-2.974l-2.735-2.974a6.659 6.659 0 01-2.151 1.354 8.017 8.017 0 01-2.868.478 6.75 6.75 0 01-3.957-1.115 5.032 5.032 0 01-2.045-3.107.207.207 0 01.053-.212.328.328 0 01.212-.106h14.9c.08-1.036.08-1.248.08-1.3a10.711 10.711 0 00-1.328-5.364 9.126 9.126 0 00-3.638-3.532 10.28 10.28 0 00-5.149-1.246zm4.966 8.551h-9.878a.3.3 0 01-.212-.08.206.206 0 01-.053-.212A5.048 5.048 0 01523.289 77a5.294 5.294 0 013.479-1.168 5.2 5.2 0 013.452 1.195 5.118 5.118 0 011.726 3.187.237.237 0 01-.239.292zm-9.56-.531h9.241A4.449 4.449 0 00529.9 77.4a5.114 5.114 0 00-6.24 0 4.272 4.272 0 00-1.513 2.577z",transform:"translate(-515.8 -71.4)"}))),d||(d=E.createElement("g",{id:"logo_svg__Group_18","data-name":"Group 18",transform:"translate(162.172 18.96)"},E.createElement("path",{id:"logo_svg__Path_18","data-name":"Path 18",className:"logo_svg__cls-1",d:"M629.917 74.657c1.514 1.487 2.284 3.691 2.284 6.639v11.445h-5.816V82.172a5.271 5.271 0 00-1.036-3.558 3.862 3.862 0 00-3.027-1.168 4.661 4.661 0 00-3.505 1.354 5.592 5.592 0 00-1.3 4.036v9.905H611.7V72.719h5.55v2.337a7.889 7.889 0 012.868-1.965 10.139 10.139 0 013.771-.69 8.37 8.37 0 016.028 2.256z",transform:"translate(-611.434 -72.134)"}),E.createElement("path",{id:"logo_svg__Path_19","data-name":"Path 19",className:"logo_svg__cls-1",d:"M631.466 92.272h-5.816a.251.251 0 01-.266-.266V81.438a4.874 4.874 0 00-.983-3.372 3.6 3.6 0 00-2.815-1.089 4.421 4.421 0 00-3.319 1.275 5.365 5.365 0 00-1.222 3.85v9.905a.251.251 0 01-.266.266h-5.816a.251.251 0 01-.266-.266V71.984a.251.251 0 01.266-.266h5.55a.251.251 0 01.266.266v1.7a8.845 8.845 0 012.5-1.567 10.14 10.14 0 013.851-.717 8.459 8.459 0 016.187 2.31c1.567 1.54 2.363 3.824 2.363 6.825v11.472c.052.159-.055.265-.214.265zm-5.523-.531h5.284V80.535c0-2.841-.744-5.019-2.2-6.426a7.985 7.985 0 00-5.816-2.151 9.675 9.675 0 00-3.665.664 7.856 7.856 0 00-2.762 1.885.3.3 0 01-.292.08.232.232 0 01-.159-.239v-2.072h-5.019v19.465h5.286V82.1a5.821 5.821 0 011.381-4.222 4.9 4.9 0 013.691-1.434 4.065 4.065 0 013.213 1.275A5.439 5.439 0 01626 81.464v10.277z",transform:"translate(-610.7 -71.4)"}))),f||(f=E.createElement("g",{id:"logo_svg__Group_19","data-name":"Group 19",transform:"translate(186.263 18.907)"},E.createElement("path",{id:"logo_svg__Path_20","data-name":"Path 20",className:"logo_svg__cls-1",d:"M706.2 92.5a12.8 12.8 0 01-3.8-1.54l1.939-4.169a12.153 12.153 0 003.24 1.407 13.1 13.1 0 003.718.531c2.47 0 3.691-.611 3.691-1.832a1.3 1.3 0 00-1.009-1.222 16.3 16.3 0 00-3.08-.637 28.815 28.815 0 01-4.063-.85 6.363 6.363 0 01-2.762-1.7 4.943 4.943 0 01-1.168-3.505 5.566 5.566 0 011.089-3.372 7.005 7.005 0 013.213-2.284 13.42 13.42 0 014.966-.823 19.067 19.067 0 014.222.478 12.569 12.569 0 013.479 1.275l-1.94 4.143a11.643 11.643 0 00-5.762-1.487 5.819 5.819 0 00-2.788.531 1.546 1.546 0 00-.93 1.328 1.34 1.34 0 001.009 1.3 19.511 19.511 0 003.213.717 30.491 30.491 0 014.01.876 6.1 6.1 0 012.709 1.7 4.813 4.813 0 011.142 3.426 5.326 5.326 0 01-1.115 3.319 7.194 7.194 0 01-3.266 2.257 14.632 14.632 0 01-5.072.8 21.449 21.449 0 01-4.885-.667z",transform:"translate(-702.14 -72.155)"}),E.createElement("path",{id:"logo_svg__Path_21","data-name":"Path 21",className:"logo_svg__cls-1",d:"M710.365 92.417a20.456 20.456 0 01-4.939-.611 13.016 13.016 0 01-3.877-1.593.29.29 0 01-.106-.345l1.938-4.169a.2.2 0 01.159-.133.282.282 0 01.212.027 11.927 11.927 0 003.16 1.354 13.7 13.7 0 003.638.531c2.257 0 3.426-.531 3.426-1.567 0-.292-.08-.69-.823-.983a14.1 14.1 0 00-3.027-.611 25.56 25.56 0 01-4.09-.876 6.711 6.711 0 01-2.894-1.779 5.172 5.172 0 01-1.248-3.691 5.909 5.909 0 011.142-3.532 7.727 7.727 0 013.319-2.39 13.99 13.99 0 015.072-.85 19.361 19.361 0 014.275.478 12.018 12.018 0 013.558 1.328.29.29 0 01.106.345l-1.912 4.169c-.027.08-.08.106-.159.133a.2.2 0 01-.212-.027 11.477 11.477 0 00-5.63-1.461 5.631 5.631 0 00-2.656.478 1.282 1.282 0 00-.8 1.115 1.085 1.085 0 00.823 1.062 16.742 16.742 0 003.16.69 38.24 38.24 0 014.063.876 6.3 6.3 0 012.841 1.779 5.044 5.044 0 011.221 3.611 5.608 5.608 0 01-1.168 3.479 7.463 7.463 0 01-3.372 2.337 14.872 14.872 0 01-5.2.826zm-8.338-2.523a12.712 12.712 0 003.532 1.381 19.548 19.548 0 004.806.611 14.166 14.166 0 004.992-.8 6.783 6.783 0 003.134-2.178 4.991 4.991 0 001.062-3.16 4.594 4.594 0 00-1.089-3.24 5.985 5.985 0 00-2.6-1.62q-1.553-.438-3.983-.876a18 18 0 01-3.24-.717 1.564 1.564 0 01-1.168-1.54 1.817 1.817 0 011.062-1.567 6.057 6.057 0 012.921-.558 12.116 12.116 0 015.656 1.381l1.7-3.665a12.345 12.345 0 00-3.187-1.142 20.24 20.24 0 00-4.169-.451 13.658 13.658 0 00-4.886.8 6.842 6.842 0 00-3.08 2.2 5.281 5.281 0 00-1.036 3.213 4.714 4.714 0 001.089 3.319 6.313 6.313 0 002.655 1.646 28.7 28.7 0 004.01.85 17.061 17.061 0 013.133.637 1.531 1.531 0 011.168 1.487c0 1.381-1.328 2.1-3.957 2.1a13.556 13.556 0 01-3.8-.558 12.879 12.879 0 01-3.054-1.275z",transform:"translate(-701.422 -71.2)"}))))}},8230:function(t,e,n){"use strict";n.r(e);var o,r,a,i=n(7423);function s(){return(s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}e.default=function(t){return i.createElement("svg",s({"data-name":"Group 875",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},t),o||(o=i.createElement("path",{"data-name":"Path 617",d:"M0 0h24v24H0z",fill:"none"})),r||(r=i.createElement("path",{"data-name":"Line 166",fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M18 6L6 18"})),a||(a=i.createElement("path",{"data-name":"Line 167",fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M6 6l12 12"})))}},6265:function(t,e,n){"use strict";n.r(e);var o,r=n(7423);function a(){return(a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}e.default=function(t){return r.createElement("svg",a({width:"1em",height:"1em",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),o||(o=r.createElement("path",{d:"M29.167 33.333L12.5 50l16.667 16.666m41.666-33.333L87.5 50 70.833 66.666m-12.5-50L41.667 83.334",stroke:"rgba(0,0,0,0.3)",strokeWidth:6,strokeLinecap:"round",strokeLinejoin:"round"})))}},9742:function(t,e){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],o=e[1];return 3*(n+o)/4-o},e.toByteArray=function(t){var e,n,a=c(t),i=a[0],s=a[1],u=new r(function(t,e,n){return 3*(e+n)/4-n}(0,i,s)),l=0,p=s>0?i-4:i;for(n=0;n<p;n+=4)e=o[t.charCodeAt(n)]<<18|o[t.charCodeAt(n+1)]<<12|o[t.charCodeAt(n+2)]<<6|o[t.charCodeAt(n+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;2===s&&(e=o[t.charCodeAt(n)]<<2|o[t.charCodeAt(n+1)]>>4,u[l++]=255&e);1===s&&(e=o[t.charCodeAt(n)]<<10|o[t.charCodeAt(n+1)]<<4|o[t.charCodeAt(n+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e);return u},e.fromByteArray=function(t){for(var e,o=t.length,r=o%3,a=[],i=16383,s=0,c=o-r;s<c;s+=i)a.push(u(t,s,s+i>c?c:s+i));1===r?(e=t[o-1],a.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[o-2]<<8)+t[o-1],a.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return a.join("")};for(var n=[],o=[],r="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,s=a.length;i<s;++i)n[i]=a[i],o[a.charCodeAt(i)]=i;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,o){for(var r,a,i=[],s=e;s<o;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(n[(a=r)>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},8764:function(t,e,n){"use strict";var o=n(9742),r=n(645),a="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50;var i=2147483647;function s(t){if(t>i)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,c.prototype),e}function c(t,e,n){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return p(t)}return u(t,e,n)}function u(t,e,n){if("string"===typeof t)return function(t,e){"string"===typeof e&&""!==e||(e="utf8");if(!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|m(t,e),o=s(n),r=o.write(t,e);r!==n&&(o=o.slice(0,r));return o}(t,e);if(ArrayBuffer.isView(t))return d(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(z(t,ArrayBuffer)||t&&z(t.buffer,ArrayBuffer))return f(t,e,n);if("undefined"!==typeof SharedArrayBuffer&&(z(t,SharedArrayBuffer)||t&&z(t.buffer,SharedArrayBuffer)))return f(t,e,n);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=t.valueOf&&t.valueOf();if(null!=o&&o!==t)return c.from(o,e,n);var r=function(t){if(c.isBuffer(t)){var e=0|E(t.length),n=s(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!==typeof t.length||H(t.length)?s(0):d(t);if("Buffer"===t.type&&Array.isArray(t.data))return d(t.data)}(t);if(r)return r;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function p(t){return l(t),s(t<0?0:0|E(t))}function d(t){for(var e=t.length<0?0:0|E(t.length),n=s(e),o=0;o<e;o+=1)n[o]=255&t[o];return n}function f(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');var o;return o=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),Object.setPrototypeOf(o,c.prototype),o}function E(t){if(t>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function m(t,e){if(c.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||z(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(t).length;default:if(r)return o?-1:j(t).length;e=(""+e).toLowerCase(),r=!0}}function _(t,e,n){var o=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,n);case"utf8":case"utf-8":return R(this,e,n);case"ascii":return U(this,e,n);case"latin1":case"binary":return P(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,n);default:if(o)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function h(t,e,n){var o=t[e];t[e]=t[n],t[n]=o}function g(t,e,n,o,r){if(0===t.length)return-1;if("string"===typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),H(n=+n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=c.from(e,o)),c.isBuffer(e))return 0===e.length?-1:S(t,e,n,o,r);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):S(t,[e],n,o,r);throw new TypeError("val must be string, number or Buffer")}function S(t,e,n,o,r){var a,i=1,s=t.length,c=e.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(t.length<2||e.length<2)return-1;i=2,s/=2,c/=2,n/=2}function u(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(r){var l=-1;for(a=n;a<s;a++)if(u(t,a)===u(e,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===c)return l*i}else-1!==l&&(a-=a-l),l=-1}else for(n+c>s&&(n=s-c),a=n;a>=0;a--){for(var p=!0,d=0;d<c;d++)if(u(t,a+d)!==u(e,d)){p=!1;break}if(p)return a}return-1}function T(t,e,n,o){n=Number(n)||0;var r=t.length-n;o?(o=Number(o))>r&&(o=r):o=r;var a=e.length;o>a/2&&(o=a/2);for(var i=0;i<o;++i){var s=parseInt(e.substr(2*i,2),16);if(H(s))return i;t[n+i]=s}return i}function y(t,e,n,o){return G(j(e,t.length-n),t,n,o)}function C(t,e,n,o){return G(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,o)}function b(t,e,n,o){return C(t,e,n,o)}function A(t,e,n,o){return G(B(e),t,n,o)}function I(t,e,n,o){return G(function(t,e){for(var n,o,r,a=[],i=0;i<t.length&&!((e-=2)<0);++i)o=(n=t.charCodeAt(i))>>8,r=n%256,a.push(r),a.push(o);return a}(e,t.length-n),t,n,o)}function O(t,e,n){return 0===e&&n===t.length?o.fromByteArray(t):o.fromByteArray(t.slice(e,n))}function R(t,e,n){n=Math.min(t.length,n);for(var o=[],r=e;r<n;){var a,i,s,c,u=t[r],l=null,p=u>239?4:u>223?3:u>191?2:1;if(r+p<=n)switch(p){case 1:u<128&&(l=u);break;case 2:128===(192&(a=t[r+1]))&&(c=(31&u)<<6|63&a)>127&&(l=c);break;case 3:a=t[r+1],i=t[r+2],128===(192&a)&&128===(192&i)&&(c=(15&u)<<12|(63&a)<<6|63&i)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:a=t[r+1],i=t[r+2],s=t[r+3],128===(192&a)&&128===(192&i)&&128===(192&s)&&(c=(15&u)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,p=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|1023&l),o.push(l),r+=p}return function(t){var e=t.length;if(e<=v)return String.fromCharCode.apply(String,t);var n="",o=0;for(;o<e;)n+=String.fromCharCode.apply(String,t.slice(o,o+=v));return n}(o)}e.kMaxLength=i,c.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(n){return!1}}(),c.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(t,e,n){return u(t,e,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(t,e,n){return function(t,e,n){return l(t),t<=0?s(t):void 0!==e?"string"===typeof n?s(t).fill(e,n):s(t).fill(e):s(t)}(t,e,n)},c.allocUnsafe=function(t){return p(t)},c.allocUnsafeSlow=function(t){return p(t)},c.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==c.prototype},c.compare=function(t,e){if(z(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,o=e.length,r=0,a=Math.min(n,o);r<a;++r)if(t[r]!==e[r]){n=t[r],o=e[r];break}return n<o?-1:o<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var o=c.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var a=t[n];if(z(a,Uint8Array)&&(a=c.from(a)),!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(o,r),r+=a.length}return o},c.byteLength=m,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)h(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)h(this,e,e+3),h(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)h(this,e,e+7),h(this,e+1,e+6),h(this,e+2,e+5),h(this,e+3,e+4);return this},c.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?R(this,0,t):_.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(t,e,n,o,r){if(z(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),e<0||n>t.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&e>=n)return 0;if(o>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(o>>>=0),i=(n>>>=0)-(e>>>=0),s=Math.min(a,i),u=this.slice(o,r),l=t.slice(e,n),p=0;p<s;++p)if(u[p]!==l[p]){a=u[p],i=l[p];break}return a<i?-1:i<a?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return g(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return g(this,t,e,n,!1)},c.prototype.write=function(t,e,n,o){if(void 0===e)o="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)o=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(n)?(n>>>=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var a=!1;;)switch(o){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return y(this,t,e,n);case"ascii":return C(this,t,e,n);case"latin1":case"binary":return b(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var v=4096;function U(t,e,n){var o="";n=Math.min(t.length,n);for(var r=e;r<n;++r)o+=String.fromCharCode(127&t[r]);return o}function P(t,e,n){var o="";n=Math.min(t.length,n);for(var r=e;r<n;++r)o+=String.fromCharCode(t[r]);return o}function L(t,e,n){var o=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>o)&&(n=o);for(var r="",a=e;a<n;++a)r+=W[t[a]];return r}function x(t,e,n){for(var o=t.slice(e,n),r="",a=0;a<o.length;a+=2)r+=String.fromCharCode(o[a]+256*o[a+1]);return r}function N(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,n,o,r,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<a)throw new RangeError('"value" argument is out of bounds');if(n+o>t.length)throw new RangeError("Index out of range")}function w(t,e,n,o,r,a){if(n+o>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(t,e,n,o,a){return e=+e,n>>>=0,a||w(t,0,n,4),r.write(t,e,n,o,23,4),n+4}function M(t,e,n,o,a){return e=+e,n>>>=0,a||w(t,0,n,8),r.write(t,e,n,o,52,8),n+8}c.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var o=this.subarray(t,e);return Object.setPrototypeOf(o,c.prototype),o},c.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||N(t,e,this.length);for(var o=this[t],r=1,a=0;++a<e&&(r*=256);)o+=this[t+a]*r;return o},c.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||N(t,e,this.length);for(var o=this[t+--e],r=1;e>0&&(r*=256);)o+=this[t+--e]*r;return o},c.prototype.readUInt8=function(t,e){return t>>>=0,e||N(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return t>>>=0,e||N(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return t>>>=0,e||N(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return t>>>=0,e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return t>>>=0,e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||N(t,e,this.length);for(var o=this[t],r=1,a=0;++a<e&&(r*=256);)o+=this[t+a]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||N(t,e,this.length);for(var o=e,r=1,a=this[t+--o];o>0&&(r*=256);)a+=this[t+--o]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},c.prototype.readInt8=function(t,e){return t>>>=0,e||N(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){t>>>=0,e||N(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){t>>>=0,e||N(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return t>>>=0,e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return t>>>=0,e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return t>>>=0,e||N(t,4,this.length),r.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return t>>>=0,e||N(t,4,this.length),r.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return t>>>=0,e||N(t,8,this.length),r.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return t>>>=0,e||N(t,8,this.length),r.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,o){(t=+t,e>>>=0,n>>>=0,o)||D(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a<n&&(r*=256);)this[e+a]=t/r&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,o){(t=+t,e>>>=0,n>>>=0,o)||D(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,a=1;for(this[e+r]=255&t;--r>=0&&(a*=256);)this[e+r]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,1,255,0),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeIntLE=function(t,e,n,o){if(t=+t,e>>>=0,!o){var r=Math.pow(2,8*n-1);D(this,t,e,n,r-1,-r)}var a=0,i=1,s=0;for(this[e]=255&t;++a<n&&(i*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/i>>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,o){if(t=+t,e>>>=0,!o){var r=Math.pow(2,8*n-1);D(this,t,e,n,r-1,-r)}var a=n-1,i=1,s=0;for(this[e+a]=255&t;--a>=0&&(i*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/i>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},c.prototype.writeFloatLE=function(t,e,n){return F(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return F(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return M(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return M(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,o){if(!c.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),o||0===o||(o=this.length),e>=t.length&&(e=t.length),e||(e=0),o>0&&o<n&&(o=n),o===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-e<o-n&&(o=t.length-e+n);var r=o-n;if(this===t&&"function"===typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,n,o);else if(this===t&&n<e&&e<o)for(var a=r-1;a>=0;--a)t[a+e]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,o),e);return r},c.prototype.fill=function(t,e,n,o){if("string"===typeof t){if("string"===typeof e?(o=e,e=0,n=this.length):"string"===typeof n&&(o=n,n=this.length),void 0!==o&&"string"!==typeof o)throw new TypeError("encoding must be a string");if("string"===typeof o&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(1===t.length){var r=t.charCodeAt(0);("utf8"===o&&r<128||"latin1"===o)&&(t=r)}}else"number"===typeof t?t&=255:"boolean"===typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var a;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(a=e;a<n;++a)this[a]=t;else{var i=c.isBuffer(t)?t:c.from(t,o),s=i.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<n-e;++a)this[a+e]=i[a%s]}return this};var k=/[^+/0-9A-Za-z-_]/g;function j(t,e){var n;e=e||1/0;for(var o=t.length,r=null,a=[],i=0;i<o;++i){if((n=t.charCodeAt(i))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(i+1===o){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function B(t){return o.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function G(t,e,n,o){for(var r=0;r<o&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function z(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function H(t){return t!==t}var W=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var o=16*n,r=0;r<16;++r)e[o+r]=t[n]+t[r];return e}()},2641:function(t,e){(function(){"use strict";var n=this,o=n.buildUrl,r=function(t){return null===t?"":encodeURIComponent(String(t).trim())},a=function(t,e){var n,o,a,i=[];if(a=!(!e||!e.lowerCase)&&!!e.lowerCase,null===t?o="":"object"===typeof t?(o="",e=t):o=t,e){if(e.path){o&&"/"===o[o.length-1]&&(o=o.slice(0,-1));var s=String(e.path).trim();a&&(s=s.toLowerCase()),0===s.indexOf("/")?o+=s:o+="/"+s}if(e.queryParams){for(n in e.queryParams){var c;if(e.queryParams.hasOwnProperty(n)&&void 0!==e.queryParams[n])if(e.disableCSV&&Array.isArray(e.queryParams[n])&&e.queryParams[n].length)for(var u=0;u<e.queryParams[n].length;u++)c=e.queryParams[n][u],i.push(n+"="+r(c));else c=a?e.queryParams[n].toLowerCase():e.queryParams[n],i.push(n+"="+r(c))}o+="?"+i.join("&")}e.hash&&(o+=a?"#"+String(e.hash).trim().toLowerCase():"#"+String(e.hash).trim())}return o};a.noConflict=function(){return n.buildUrl=o,a},t.exports&&(e=t.exports=a),e.buildUrl=a}).call(this)},4184:function(t,e){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var a=typeof n;if("string"===a||"number"===a)t.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&t.push(i)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){t.push(n.toString());continue}for(var s in n)o.call(n,s)&&n[s]&&t.push(s)}}}return t.join(" ")}t.exports?(r.default=r,t.exports=r):void 0===(n=function(){return r}.apply(e,[]))||(t.exports=n)}()},5122:function(t,e,n){var o,r=n(4155);o=()=>(()=>{var t={905:function(t){t.exports=function(t,e,n,o,r){for(e=e.split?e.split("."):e,o=0;o<e.length;o++)t=t?t[e[o]]:r;return t===r?n:t}}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var a=e[o]={exports:{}};return t[o].call(a.exports,a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{"use strict";n.r(o),n.d(o,{default:()=>be});var t=n(905),e=n.n(t),a="object",i="undefined"!=typeof r?r:{},s=(i.env&&i.env.NODE_ENV,"undefined"!=typeof document);function c(t,e){return e.charAt(0)[t]()+e.slice(1)}s&&window.location.hostname,null!=i.versions&&i.versions.node,"undefined"!=typeof Deno&&Deno.core,"object"==typeof self&&self.constructor&&self.constructor.name,s&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var u=c.bind(null,"toUpperCase"),l=c.bind(null,"toLowerCase");function p(t,e){void 0===e&&(e=!0);var n=function(t){return _(t)?u("null"):"object"==typeof t?function(t){return f(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return e?l(n):n}function d(t,e){return typeof e===t}var f=d.bind(null,"function"),E=d.bind(null,"string");d.bind(null,"undefined");var m=d.bind(null,"boolean");function _(t){return null===t}function h(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function g(t,e){if("object"!=typeof e||_(e))return!1;if(e instanceof t)return!0;var n=p(new t(""));if(function(t){return t instanceof Error||E(t.message)&&t.constructor&&function(t){return"number"===p(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(e))for(;e;){if(p(e)===n)return!0;e=Object.getPrototypeOf(e)}return!1}function S(t,e){var n=t instanceof Element||t instanceof HTMLDocument;return n&&e?function(t,e){return void 0===e&&(e=""),t&&t.nodeName===e.toUpperCase()}(t,e):n}function T(t){var e=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(e))}}function y(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function C(t,e,n){for(var o=e.length-1,r=0;r<o;++r){var a=e[r];if("__proto__"===a||"constructor"===a)break;a in t||(t[a]={}),t=t[a]}t[e[o]]=n}function b(){for(var t="",e=0,n=4294967295*Math.random()|0;e++<36;){var o="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[e-1],r=15&n;t+="-"==o||"4"==o?o:("x"==o?r:3&r|8).toString(16),n=e%8==0?4294967295*Math.random()|0:n>>4}return t}d.bind(null,"symbol"),g.bind(null,TypeError),g.bind(null,SyntaxError),T(S,"form"),T(S,"button"),T(S,"input"),T(S,"select");var A="__global__",I=typeof self===a&&self.self===self&&self||typeof n.g===a&&n.g.global===n.g&&n.g||void 0;function O(t){return I[A][t]}function R(t,e){return I[A][t]=e}function v(t){delete I[A][t]}function U(){return(U=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}I[A]||(I[A]={});var P="function",L="undefined",x="@@redux/"+Math.random().toString(36),N=typeof Symbol===P&&Symbol.observable||"@@observable",D=" != "+P;function w(t,e,n){var o;if(typeof e===P&&typeof n===L&&(n=e,e=void 0),typeof n!==L){if(typeof n!==P)throw new Error("enhancer"+D);return n(w)(t,e)}if(typeof t!==P)throw new Error("reducer"+D);var r=t,a=e,i=[],s=i,c=!1;function u(){s===i&&(s=i.slice())}function l(){return a}function p(t){if(typeof t!==P)throw new Error("Listener"+D);var e=!0;return u(),s.push(t),function(){if(e){e=!1,u();var n=s.indexOf(t);s.splice(n,1)}}}function d(t){if(!h(t))throw new Error("Act != obj");if(typeof t.type===L)throw new Error("ActType "+L);if(c)throw new Error("Dispatch in reducer");try{c=!0,a=r(a,t)}finally{c=!1}for(var e=i=s,n=0;n<e.length;n++)(0,e[n])();return t}return d({type:"@@redux/INIT"}),(o={dispatch:d,subscribe:p,getState:l,replaceReducer:function(t){if(typeof t!==P)throw new Error("next reducer"+D);r=t,d({type:"@@redux/INIT"})}})[N]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Observer != obj");function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[N]=function(){return this},t},o}function F(t,e){var n=e&&e.type;return"action "+(n&&n.toString()||"?")+"reducer "+t+" returns "+L}function M(){var t=[].slice.call(arguments);return 0===t.length?function(t){return t}:1===t.length?t[0]:t.reduce((function(t,e){return function(){return t(e.apply(void 0,[].slice.call(arguments)))}}))}function k(){var t=arguments;return function(e){return function(n,o,r){var a,i=e(n,o,r),s=i.dispatch,c={getState:i.getState,dispatch:function(t){return s(t)}};return a=[].slice.call(t).map((function(t){return t(c)})),U({},i,{dispatch:s=M.apply(void 0,a)(i.dispatch)})}}}var j="__anon_id",B="__user_id",G="__user_traits",z="userId",H="anonymousId",W=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],V=["name","EVENTS","config","loaded"],$=W.reduce((function(t,e){return t[e]=e,t}),{registerPluginType:function(t){return"registerPlugin:"+t},pluginReadyType:function(t){return"ready:"+t}}),Q=/^utm_/,Y=/^an_prop_/,K=/^an_trait_/;function q(t){var e=t.storage.setItem;return function(n){return function(o){return function(r){if(r.type===$.bootstrap){var a=r.params,i=r.user,s=r.persistedUser,c=r.initialUser,u=s.userId===i.userId;s.anonymousId!==i.anonymousId&&e(j,i.anonymousId),u||e(B,i.userId),c.traits&&e(G,U({},u&&s.traits?s.traits:{},c.traits));var l=Object.keys(r.params);if(l.length){var p=a.an_uid,d=a.an_event,f=l.reduce((function(t,e){if(e.match(Q)||e.match(/^(d|g)clid/)){var n=e.replace(Q,"");t.campaign["campaign"===n?"name":n]=a[e]}return e.match(Y)&&(t.props[e.replace(Y,"")]=a[e]),e.match(K)&&(t.traits[e.replace(K,"")]=a[e]),t}),{campaign:{},props:{},traits:{}});n.dispatch(U({type:$.params,raw:a},f,p?{userId:p}:{})),p&&setTimeout((function(){return t.identify(p,f.traits)}),0),d&&setTimeout((function(){return t.track(d,f.props)}),0),Object.keys(f.campaign).length&&n.dispatch({type:$.campaign,campaign:f.campaign})}}return o(r)}}}}function J(t){return function(e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),n.type===$.setItemEnd){if(n.key===j)return U({},e,{anonymousId:n.value});if(n.key===B)return U({},e,{userId:n.value})}switch(n.type){case $.identify:return Object.assign({},e,{userId:n.userId,traits:U({},e.traits,n.traits)});case $.reset:return[B,j,G].forEach((function(e){t.removeItem(e)})),Object.assign({},e,{userId:null,anonymousId:null,traits:{}});default:return e}}}function X(t){return{userId:t.getItem(B),anonymousId:t.getItem(j),traits:t.getItem(G)}}var Z=function(t){return"__TEMP__"+t};function tt(t){var e=t.storage,n=e.setItem,o=e.removeItem,r=e.getItem;return function(t){return function(e){return function(a){var i=a.userId,s=a.traits,c=a.options;if(a.type===$.reset&&([B,G,j].forEach((function(t){o(t)})),[z,H,"traits"].forEach((function(t){v(Z(t))}))),a.type===$.identify){r(j)||n(j,b());var u=r(B),l=r(G)||{};u&&u!==i&&t.dispatch({type:$.userIdChanged,old:{userId:u,traits:l},new:{userId:i,traits:s},options:c}),i&&n(B,i),s&&n(G,U({},l,s))}return e(a)}}}}var et={};function nt(t,e){et[t]&&f(et[t])&&(et[t](e),delete et[t])}function ot(t,e,n){return new Promise((function(o,r){return e()?o(t):n<1?r(U({},t,{queue:!0})):new Promise((function(t){return setTimeout(t,10)})).then((function(a){return ot(t,e,n-10).then(o,r)}))}))}function rt(t){return{abort:t}}function at(t,e,n){var o={},r=e(),a=t.getState(),i=a.plugins,s=a.queue,c=a.user;if(!a.context.offline&&s&&s.actions&&s.actions.length){var u=s.actions.reduce((function(t,e,n){return i[e.plugin].loaded?(t.process.push(e),t.processIndex.push(n)):(t.requeue.push(e),t.requeueIndex.push(n)),t}),{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(u.processIndex&&u.processIndex.length){u.processIndex.forEach((function(e){var a=s.actions[e],u=a.plugin,l=a.payload.type,p=r[u][l];if(p&&f(p)){var d,E=function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),[z,H].reduce((function(n,o){return t.hasOwnProperty(o)&&e[o]&&e[o]!==t[o]&&(n[o]=e[o]),n}),t)}(a.payload,c),m=o[E.meta.rid];if(!m&&(d=p({payload:E,config:i[u].config,instance:n,abort:rt}))&&h(d)&&d.abort)return void(o[E.meta.rid]=!0);if(!m){var _=l+":"+u;t.dispatch(U({},E,{type:_,_:{called:_,from:"queueDrain"}}))}}}));var l=s.actions.filter((function(t,e){return!~u.processIndex.indexOf(e)}));s.actions=l}}}var it=function(t){var e=t.data,n=t.action,o=t.instance,r=t.state,a=t.allPlugins,i=t.allMatches,s=t.store,c=t.EVENTS;try{var u=r.plugins,l=r.context,p=n.type,d=p.match(st),E=e.exact.map((function(t){return t.pluginName}));d&&(E=i.during.map((function(t){return t.pluginName})));var m=function(t,e){return function(n,o,r){var a=o.config,i=o.name,s=i+"."+n.type;r&&(s=r.event);var c=n.type.match(st)?function(t,e,n,o,r){return function(a,i){var s=o?o.name:t,c=i&&_t(i)?i:n;if(o&&(!(c=i&&_t(i)?i:[t]).includes(t)||1!==c.length))throw new Error("Method "+e+" can only abort "+t+" plugin. "+JSON.stringify(c)+" input valid");return U({},r,{abort:{reason:a,plugins:c,caller:e,_:s}})}}(i,s,e,r,n):function(t,e){return function(){throw new Error(t.type+" action not cancellable. Remove abort in "+e)}}(n,s);return{payload:St(n),instance:t,config:a||{},abort:c}}}(o,E),_=e.exact.reduce((function(t,e){var n=e.pluginName,o=e.methodName,r=!1;return o.match(/^initialize/)||o.match(/^reset/)||(r=!u[n].loaded),l.offline&&o.match(/^(page|track|identify)/)&&(r=!0),t[""+n]=r,t}),{});return Promise.resolve(e.exact.reduce((function(t,r,i){try{var s=r.pluginName;return Promise.resolve(t).then((function(t){function r(){return Promise.resolve(t)}var i=function(){if(e.namespaced&&e.namespaced[s])return Promise.resolve(e.namespaced[s].reduce((function(t,e,n){try{return Promise.resolve(t).then((function(t){return e.method&&f(e.method)?(function(t,e){var n=gt(t);if(n&&n.name===e){var o=gt(n.method);throw new Error([e+" plugin is calling method "+t,"Plugins cant call self","Use "+n.method+" "+(o?"or "+o.method:"")+" in "+e+" plugin insteadof "+t].join("\n"))}}(e.methodName,e.pluginName),Promise.resolve(e.method({payload:t,instance:o,abort:(n=t,r=s,i=e.pluginName,function(t,e){return U({},n,{abort:{reason:t,plugins:e||[r],caller:p,from:i||r}})}),config:pt(e.pluginName,u,a),plugins:u})).then((function(e){var n=h(e)?e:{};return Promise.resolve(U({},t,n))}))):t;var n,r,i}))}catch(t){return Promise.reject(t)}}),Promise.resolve(n))).then((function(e){t[s]=e}));t[s]=n}();return i&&i.then?i.then(r):r()}))}catch(t){return Promise.reject(t)}}),Promise.resolve({}))).then((function(t){return Promise.resolve(e.exact.reduce((function(n,r,i){try{var c=e.exact.length===i+1,l=r.pluginName,f=a[l];return Promise.resolve(n).then((function(e){var n=t[l]?t[l]:{};if(d&&(n=e),Et(n,l))return lt({data:n,method:p,instance:o,pluginName:l,store:s}),Promise.resolve(e);if(Et(e,l))return c&&lt({data:e,method:p,instance:o,store:s}),Promise.resolve(e);if(_.hasOwnProperty(l)&&!0===_[l])return s.dispatch({type:"queue",plugin:l,payload:n,_:{called:"queue",from:"queueMechanism"}}),Promise.resolve(e);var r=m(t[l],a[l]);return Promise.resolve(f[p]({abort:r.abort,payload:n,instance:o,config:pt(l,u,a),plugins:u})).then((function(r){var a=h(r)?r:{},i=U({},e,a),c=t[l];if(Et(c,l))lt({data:c,method:p,instance:o,pluginName:l,store:s});else{var u=p+":"+l;(u.match(/:/g)||[]).length<2&&!p.match(ct)&&!p.match(ut)&&o.dispatch(U({},d?i:n,{type:u,_:{called:u,from:"submethod"}}))}return Promise.resolve(i)}))}))}catch(t){return Promise.reject(t)}}),Promise.resolve(n))).then((function(t){if(!(p.match(st)||p.match(/^registerPlugin/)||p.match(ut)||p.match(ct)||p.match(/^params/)||p.match(/^userIdChanged/))){if(c.plugins.includes(p),t._&&t._.originalAction===p)return t;var n=U({},t,{_:{originalAction:t.type,called:t.type,from:"engineEnd"}});mt(t,e.exact.length)&&!p.match(/End$/)&&(n=U({},n,{type:t.type+"Aborted"})),s.dispatch(n)}return t}))}))}catch(t){return Promise.reject(t)}},st=/Start$/,ct=/^bootstrap/,ut=/^ready/;function lt(t){var e=t.pluginName,n=t.method+"Aborted"+(e?":"+e:"");t.store.dispatch(U({},t.data,{type:n,_:{called:n,from:"abort"}}))}function pt(t,e,n){var o=e[t]||n[t];return o&&o.config?o.config:{}}function dt(t,e){return e.reduce((function(e,n){return n[t]?e.concat({methodName:t,pluginName:n.name,method:n[t]}):e}),[])}function ft(t,e){var n=t.replace(st,""),o=e?":"+e:"";return[""+t+o,""+n+o,n+"End"+o]}function Et(t,e){var n=t.abort;return!!n&&(!0===n||ht(n,e)||n&&ht(n.plugins,e))}function mt(t,e){var n=t.abort;if(!n)return!1;if(!0===n||E(n))return!0;var o=n.plugins;return _t(n)&&n.length===e||_t(o)&&o.length===e}function _t(t){return Array.isArray(t)}function ht(t,e){return!(!t||!_t(t))&&t.includes(e)}function gt(t){var e=t.match(/(.*):(.*)/);return!!e&&{method:e[1],name:e[2]}}function St(t){return Object.keys(t).reduce((function(e,n){return"type"===n||(e[n]=h(t[n])?Object.assign({},t[n]):t[n]),e}),{})}function Tt(t,e,n){var o={};return function(r){return function(a){return function(i){try{var s,c=function(t){return s?t:a(p)},u=i.type,l=i.plugins,p=i;if(i.abort)return Promise.resolve(a(i));if(u===$.enablePlugin&&r.dispatch({type:$.initializeStart,plugins:l,disabled:[],fromEnable:!0,meta:i.meta}),u===$.disablePlugin&&setTimeout((function(){return nt(i.meta.rid,{payload:i})}),0),u===$.initializeEnd){var d=e(),E=Object.keys(d),_=E.filter((function(t){return l.includes(t)})).map((function(t){return d[t]})),h=[],g=[],S=i.disabled,T=_.map((function(t){var e=t.loaded,n=t.name,a=t.config;return ot(t,(function(){return e({config:a})}),1e4).then((function(e){return o[n]||(r.dispatch({type:$.pluginReadyType(n),name:n,events:Object.keys(t).filter((function(t){return!V.includes(t)}))}),o[n]=!0),h=h.concat(n),t})).catch((function(t){if(t instanceof Error)throw new Error(t);return g=g.concat(t.name),t}))}));Promise.all(T).then((function(t){var e={plugins:h,failed:g,disabled:S};setTimeout((function(){E.length===T.length+S.length&&r.dispatch(U({},{type:$.ready},e))}),0)}))}var y=function(){if(u!==$.bootstrap)return/^ready:([^:]*)$/.test(u)&&setTimeout((function(){return at(r,e,t)}),0),Promise.resolve(function(t,e,n,o,r){try{var a=f(e)?e():e,i=t.type,s=i.replace(st,"");if(t._&&t._.called)return Promise.resolve(t);var c=n.getState(),u=(d=a,void 0===(E=c.plugins)&&(E={}),void 0===(_=t.options)&&(_={}),Object.keys(d).filter((function(t){var e=_.plugins||{};return m(e[t])?e[t]:!1!==e.all&&(!E[t]||!1!==E[t].enabled)})).map((function(t){return d[t]})));i===$.initializeStart&&t.fromEnable&&(u=Object.keys(c.plugins).filter((function(e){var n=c.plugins[e];return t.plugins.includes(e)&&!n.initialized})).map((function(t){return a[t]})));var l=u.map((function(t){return t.name})),p=function(t,e,n){var o=ft(t).map((function(t){return dt(t,e)}));return e.reduce((function(n,o){var r=o.name,a=ft(t,r).map((function(t){return dt(t,e)})),i=a[0],s=a[1],c=a[2];return i.length&&(n.beforeNS[r]=i),s.length&&(n.duringNS[r]=s),c.length&&(n.afterNS[r]=c),n}),{before:o[0],beforeNS:{},during:o[1],duringNS:{},after:o[2],afterNS:{}})}(i,u);return Promise.resolve(it({action:t,data:{exact:p.before,namespaced:p.beforeNS},state:c,allPlugins:a,allMatches:p,instance:n,store:o,EVENTS:r})).then((function(t){function e(){var e=function(){if(i.match(st))return Promise.resolve(it({action:U({},u,{type:s+"End"}),data:{exact:p.after,namespaced:p.afterNS},state:c,allPlugins:a,allMatches:p,instance:n,store:o,EVENTS:r})).then((function(t){t.meta&&t.meta.hasCallback&&nt(t.meta.rid,{payload:t})}))}();return e&&e.then?e.then((function(){return t})):t}if(mt(t,l.length))return t;var u,d=function(){if(i!==s)return Promise.resolve(it({action:U({},t,{type:s}),data:{exact:p.during,namespaced:p.duringNS},state:c,allPlugins:a,allMatches:p,instance:n,store:o,EVENTS:r})).then((function(t){u=t}));u=t}();return d&&d.then?d.then(e):e()}))}catch(t){return Promise.reject(t)}var d,E,_}(i,e,t,r,n)).then((function(t){return s=1,a(t)}))}();return Promise.resolve(y&&y.then?y.then(c):c(y))}catch(t){return Promise.reject(t)}}}}}function yt(t){return function(e){return function(e){return function(n){var o=n.type,r=n.key,a=n.value,i=n.options;if(o===$.setItem||o===$.removeItem){if(n.abort)return e(n);o===$.setItem?t.setItem(r,a,i):t.removeItem(r,i)}return e(n)}}}}var Ct=function(){var t=this;this.before=[],this.after=[],this.addMiddleware=function(e,n){t[n]=t[n].concat(e)},this.removeMiddleware=function(e,n){var o=t[n].findIndex((function(t){return t===e}));-1!==o&&(t[n]=[].concat(t[n].slice(0,o),t[n].slice(o+1)))},this.dynamicMiddlewares=function(e){return function(n){return function(o){return function(r){var a={getState:n.getState,dispatch:function(t){return n.dispatch(t)}},i=t[e].map((function(t){return t(a)}));return M.apply(void 0,i)(o)(r)}}}}};function bt(t){return function(e,n){void 0===e&&(e={});var o={};if("initialize:aborted"===n.type)return e;if(/^registerPlugin:([^:]*)$/.test(n.type)){var r=At(n.type,"registerPlugin"),a=t()[r];if(!a||!r)return e;var i=n.enabled,s=a.config;return o[r]={enabled:i,initialized:!!i&&Boolean(!a.initialize),loaded:!!i&&Boolean(a.loaded({config:s})),config:s},U({},e,o)}if(/^initialize:([^:]*)$/.test(n.type)){var c=At(n.type,$.initialize),u=t()[c];return u&&c?(o[c]=U({},e[c],{initialized:!0,loaded:Boolean(u.loaded({config:u.config}))}),U({},e,o)):e}if(/^ready:([^:]*)$/.test(n.type))return o[n.name]=U({},e[n.name],{loaded:!0}),U({},e,o);switch(n.type){case $.disablePlugin:return U({},e,It(n.plugins,!1,e));case $.enablePlugin:return U({},e,It(n.plugins,!0,e));default:return e}}}function At(t,e){return t.substring(e.length+1,t.length)}function It(t,e,n){return t.reduce((function(t,o){return t[o]=U({},n[o],{enabled:e}),t}),n)}function Ot(t){try{return JSON.parse(JSON.stringify(t))}catch(t){}return t}var Rt={last:{},history:[]};function vt(t,e){void 0===t&&(t=Rt);var n=e.options,o=e.meta;if(e.type===$.track){var r=Ot(U({event:e.event,properties:e.properties},Object.keys(n).length&&{options:n},{meta:o}));return U({},t,{last:r,history:t.history.concat(r)})}return t}var Ut={actions:[]};function Pt(t,e){void 0===t&&(t=Ut);var n=e.payload;switch(e.type){case"queue":var o;return o=n&&n.type&&n.type===$.identify?[e].concat(t.actions):t.actions.concat(e),U({},t,{actions:o});case"dequeue":return[];default:return t}}var Lt=/#.*$/;function xt(t){var e=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(t);return"/"+(e&&e[3]?e[3].split("?")[0].replace(Lt,""):"")}var Nt,Dt,wt,Ft,Mt=function(t){if(void 0===t&&(t={}),!s)return t;var e=document,n=e.title,o=e.referrer,r=window,a=r.location,i=r.innerWidth,c=r.innerHeight,u=a.hash,l=a.search,p=function(t){var e=function(){if(s)for(var t,e=document.getElementsByTagName("link"),n=0;t=e[n];n++)if("canonical"===t.getAttribute("rel"))return t.getAttribute("href")}();return e?e.match(/\?/)?e:e+t:window.location.href.replace(Lt,"")}(l),d={title:n,url:p,path:xt(p),hash:u,search:l,width:i,height:c};return o&&""!==o&&(d.referrer=o),U({},d,t)},kt={last:{},history:[]};function jt(t,e){void 0===t&&(t=kt);var n=e.options;if(e.type===$.page){var o=Ot(U({properties:e.properties,meta:e.meta},Object.keys(n).length&&{options:n}));return U({},t,{last:o,history:t.history.concat(o)})}return t}Nt=function(){if(!s)return!1;var t=navigator.appVersion;return~t.indexOf("Win")?"Windows":~t.indexOf("Mac")?"MacOS":~t.indexOf("X11")?"UNIX":~t.indexOf("Linux")?"Linux":"Unknown OS"}(),Dt=s?document.referrer:null,wt=function(){if(s){var t=navigator,e=t.languages;return t.userLanguage||(e&&e.length?e[0]:t.language)}}(),Ft=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){}}();var Bt={initialized:!1,sessionId:b(),app:null,version:null,debug:!1,offline:!!s&&!navigator.onLine,os:{name:Nt},userAgent:s?navigator.userAgent:"node",library:{name:"analytics",version:"0.12.7"},timezone:Ft,locale:wt,campaign:{},referrer:Dt};function Gt(t,e){void 0===t&&(t=Bt);var n=t.initialized,o=e.campaign;switch(e.type){case $.campaign:return U({},t,{campaign:o});case $.offline:return U({},t,{offline:!0});case $.online:return U({},t,{offline:!1});default:return n?t:U({},Bt,t,{initialized:!0})}}var zt=["plugins","reducers","storage"];function Ht(t,e,n){if(s){var o=window[(n?"add":"remove")+"EventListener"];t.split(" ").forEach((function(t){o(t,e)}))}}function Wt(t){var e=Ht.bind(null,"online offline",(function(e){return Promise.resolve(!navigator.onLine).then(t)}));return e(!0),function(t){return e(!1)}}function Vt(){return R("analytics",[]),function(t){return function(e,n,o){var r=t(e,n,o),a=r.dispatch;return Object.assign(r,{dispatch:function(t){return I[A].analytics.push(t.action||t),a(t)}})}}}function $t(t){return function(){return M(M.apply(null,arguments),Vt())}}function Qt(t){return t?"array"===p(t)?t:[t]:[]}function Yt(t,e,n){void 0===t&&(t={});var o,r,a=b();return e&&(et[a]=(o=e,r=function(t){for(var e,n=t||Array.prototype.slice.call(arguments),o=0;o<n.length;o++)if(f(n[o])){e=n[o];break}return e}(n),function(t){r&&r(t),o(t)})),U({},t,{rid:a,ts:(new Date).getTime()},e?{hasCallback:!0}:{})}var Kt="before",qt="after";function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function Xt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}const te=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"mixpanel",config:t,initialize:function(t){var e=t.config,n=e.token,o=e.customScriptSrc,r=e.options,a=void 0===r?{}:r;if(!n)throw new Error("No mixpanel token defined");void 0===window.mixpanel&&(function(t,e){if(!e.__SV){var n,r,a=window;try{var i,s,c,u=a.location,l=u.hash;i=function(t,e){return(s=t.match(RegExp(e+"=([^&]*)")))?s[1]:null},l&&i(l,"state")&&"mpeditor"===(c=JSON.parse(decodeURIComponent(i(l,"state")))).action&&(a.sessionStorage.setItem("_mpcehash",l),history.replaceState(c.desiredHash||"",t.title,u.pathname+u.search))}catch(t){}window.mixpanel=e,e._i=[],e.init=function(t,o,a){function i(t,e){var n=e.split(".");2==n.length&&(t=t[n[0]],e=n[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}var s=e;for(void 0!==a?s=e[a]=[]:a="mixpanel",s.people=s.people||[],s.toString=function(t){var e="mixpanel";return"mixpanel"!==a&&(e+="."+a),t||(e+=" (stub)"),e},s.people.toString=function(){return s.toString(1)+".people (stub)"},n="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" "),r=0;r<n.length;r++)i(s,n[r]);var c="set set_once union unset remove delete".split(" ");s.get_group=function(){function t(t){e[t]=function(){call2_args=arguments,call2=[t].concat(Array.prototype.slice.call(call2_args,0)),s.push([n,call2])}}for(var e={},n=["get_group"].concat(Array.prototype.slice.call(arguments,0)),o=0;o<c.length;o++)t(c[o]);return e},e._i.push([t,o,a])},e.__SV=1.2,(a=t.createElement("script")).type="text/javascript",a.async=!0,a.src=o||("undefined"!=typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===t.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"),(i=t.getElementsByTagName("script")[0]).parentNode.insertBefore(a,i)}}(document,window.mixpanel||[]),mixpanel.init(e.token,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zt(n,!0).forEach((function(e){Xt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zt(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({batch_requests:!0},a)))},identify:function(t){var e=t.payload,n=e.userId,o=e.traits;"string"==typeof n&&mixpanel.identify(n),o&&mixpanel.people.set(o)},page:function(e){var n=e.payload;mixpanel.track(t.pageEvent||n.properties.path,n.properties)},track:function(t){var e=t.payload;mixpanel.track(e.event,e.properties)},loaded:function(){return!!window.mixpanel},reset:function(){mixpanel.reset()},methods:{alias:function(t,e){mixpanel.alias(t,e)}}}};function ee(t){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ne(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function oe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,a,i,s=[],c=!0,u=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(s.push(o.value),s.length!==e);c=!0);}catch(t){u=!0,r=t}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return re(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function ae(t,e,n){var o=document.location.hostname,r="";if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),r="; expires="+a.toUTCString()}document.cookie=t+"="+(e||"")+r+"; path=/; domain="+o}function ie(){var t=new URL(window.location.href),e=Array.from(t.searchParams.entries()).map((function(t){var e=oe(t,2);return{key:e[0],value:e[1]}})),n=Array.from(t.searchParams.entries()).flatMap((function(t){var e=oe(t,2);return[e[0],e[1]]})),o={};return["user","project","templateId"].forEach((function(e){var n=t.searchParams.get(e);null!==n&&(o[e]=n)})),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(n),!0).forEach((function(e){var o,r,a,i;o=t,r=e,a=n[e],i=function(t,e){if("object"!=ee(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=ee(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r),(r="symbol"==ee(i)?i:String(i))in o?Object.defineProperty(o,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[r]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({title:document.title,path:t.pathname,url:t.href,hostname:t.hostname,queryParams:e,rawQueryParams:n,appVersion:window.appVersionOrCommit},o)}function se(t){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ce,ue,le,pe,de=["userId"];function fe(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},a=Object.keys(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function me(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ee(Object(n),!0).forEach((function(e){var o,r,a;o=t,r=e,a=n[e],(r=function(t){var e=function(t,e){if("object"!=se(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=se(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==se(e)?e:String(e)}(r))in o?Object.defineProperty(o,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[r]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _e(){_e=function(){return e};var t,e={},n=Object.prototype,o=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,o){var a=e&&e.prototype instanceof _?e:_,i=Object.create(a.prototype),s=new U(o||[]);return r(i,"_invoke",{value:I(t,n,s)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var d="suspendedStart",f="executing",E="completed",m={};function _(){}function h(){}function g(){}var S={};u(S,i,(function(){return this}));var T=Object.getPrototypeOf,y=T&&T(T(P([])));y&&y!==n&&o.call(y,i)&&(S=y);var C=g.prototype=_.prototype=Object.create(S);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(r,a,i,s){var c=p(t[r],t,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==se(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,i,s)}),(function(t){n("throw",t,i,s)})):e.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return n("throw",t,i,s)}))}s(c.arg)}var a;r(this,"_invoke",{value:function(t,o){function r(){return new e((function(e,r){n(t,o,e,r)}))}return a=a?a.then(r,r):r()}})}function I(e,n,o){var r=d;return function(a,i){if(r===f)throw new Error("Generator is already running");if(r===E){if("throw"===a)throw i;return{value:t,done:!0}}for(o.method=a,o.arg=i;;){var s=o.delegate;if(s){var c=O(s,o);if(c){if(c===m)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===d)throw r=E,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=f;var u=p(e,n,o);if("normal"===u.type){if(r=o.done?E:"suspendedYield",u.arg===m)continue;return{value:u.arg,done:o.done}}"throw"===u.type&&(r=E,o.method="throw",o.arg=u.arg)}}}function O(e,n){var o=n.method,r=e.iterator[o];if(r===t)return n.delegate=null,"throw"===o&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),m;var a=p(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function v(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function U(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function P(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(se(e)+" is not iterable")}return h.prototype=g,r(C,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:h,configurable:!0}),h.displayName=u(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,c,"GeneratorFunction")),t.prototype=Object.create(C),t},e.awrap=function(t){return{__await:t}},b(A.prototype),u(A.prototype,s,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,o,r,a){void 0===a&&(a=Promise);var i=new A(l(t,n,o,r),a);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},b(C),u(C,c,"Generator"),u(C,i,(function(){return this})),u(C,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var o in e)n.push(o);return n.reverse(),function t(){for(;n.length;){var o=n.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},e.values=P,U.prototype={constructor:U,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(v),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(o,r){return s.type="throw",s.arg=e,n.next=o,r&&(n.method="next",n.arg=t),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),v(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;v(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,o){return this.delegate={iterator:P(e),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),m}},e}function he(t,e,n,o,r,a,i){try{var s=t[a](i),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(o,r)}function ge(t){return function(){var e=this,n=arguments;return new Promise((function(o,r){var a=t.apply(e,n);function i(t){he(a,o,r,i,s,"next",t)}function s(t){he(a,o,r,i,s,"throw",t)}i(void 0)}))}}function Se(){return Te.apply(this,arguments)}function Te(){return(Te=ge(_e().mark((function t(){var e;return _e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=function(t){for(var e=document.cookie.split(";"),n=0;n<e.length;n++){for(var o=e[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf("userId="))return o.substring(7,o.length)}return null}()||localStorage.getItem("uRI"),t.abrupt("return",{userId:e});case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}const ye={name:"session-management-plugin",sessionInitialized:!1,sessionInfo:null,initialize:(pe=ge(_e().mark((function t(){var e,n;return _e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.sessionInitialized){t.next=7;break}return t.next=3,Se();case 3:e=t.sent,n=e.userId,this.sessionInfo={userId:n},this.sessionInitialized=!0;case 7:case"end":return t.stop()}}),t,this)}))),function(){return pe.apply(this,arguments)}),track:(le=ge(_e().mark((function t(e){var n,o;return _e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.payload,e.instance,t.next=3,this.initialize();case 3:o=ie(),n.properties=me(me({},n.properties||{}),o);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return le.apply(this,arguments)}),page:(ue=ge(_e().mark((function t(e){var n,o;return _e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.payload,e.instance,t.next=3,this.initialize();case 3:o=ie(),n.properties=me(me({},n.properties||{}),o);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return ue.apply(this,arguments)}),identify:(ce=ge(_e().mark((function t(e){var n,o,r,a;return _e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.payload,e.instance,t.next=3,this.initialize();case 3:o=n.userId,r=fe(n,de),a=ie(),n.properties=me(me({},r),a),o&&(ae("userId",o,100),this.sessionInfo.userId=o);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return ce.apply(this,arguments)})};try{var Ce=function(t){void 0===t&&(t={});var n,o=t.reducers||{},r=t.initialUser||{},a=(t.plugins||[]).reduce((function(t,e){if(f(e))return t.middlewares=t.middlewares.concat(e),t;if(e.NAMESPACE&&(e.name=e.NAMESPACE),!e.name)throw new Error("https://lytics.dev/errors/1");e.config||(e.config={});var n=e.EVENTS?Object.keys(e.EVENTS).map((function(t){return e.EVENTS[t]})):[];t.pluginEnabled[e.name]=!(!1===e.enabled||!1===e.config.enabled),delete e.enabled,e.methods&&(t.methods[e.name]=Object.keys(e.methods).reduce((function(t,n){var o;return t[n]=(o=e.methods[n],function(){for(var t=Array.prototype.slice.call(arguments),e=new Array(o.length),n=0;n<t.length;n++)e[n]=t[n];return e[e.length]=Q,o.apply({instance:Q},e)}),t}),{}),delete e.methods);var o=Object.keys(e).concat(n),r=new Set(t.events.concat(o));if(t.events=Array.from(r),t.pluginsArray=t.pluginsArray.concat(e),t.plugins[e.name])throw new Error(e.name+"AlreadyLoaded");return t.plugins[e.name]=e,t.plugins[e.name].loaded||(t.plugins[e.name].loaded=function(){return!0}),t}),{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=t.storage?t.storage:{getItem:O,setItem:R,removeItem:v},c=(n=i,function(t,e,o){return e.getState("user")[t]||(o&&h(o)&&o[t]?o[t]:X(n)[t]||O(Z(t))||null)}),u=a.plugins,l=a.events.filter((function(t){return!V.includes(t)})).sort(),p=new Set(l.concat(W).filter((function(t){return!V.includes(t)}))),d=Array.from(p).sort(),m=function(){return u},_=new Ct,g=_.addMiddleware,S=_.removeMiddleware,T=_.dynamicMiddlewares,A=function(){throw new Error("Abort disabled inListener")},I=function(t){for(var e,n=Object.create(null),o=/([^&=]+)=?([^&]*)/g;e=o.exec(t);){var r=y(e[1]),a=y(e[2]);"[]"===r.substring(r.length-2)?(n[r=r.substring(0,r.length-2)]||(n[r]=[])).push(a):n[r]=""===a||a}for(var i in n){var s=i.split("[");s.length>1&&(C(n,s.map((function(t){return t.replace(/[?[\]\\ ]/g,"")})),n[i]),delete n[i])}return n}(function(t){if(t){var e=t.match(/\?(.*)/);return e&&e[1]?e[1].split("#")[0]:""}return s&&window.location.search.substring(1)}(void 0)),N=X(i),D=U({},N,r,I.an_uid?{userId:I.an_uid}:{},I.an_aid?{anonymousId:I.an_aid}:{});D.anonymousId||(D.anonymousId=b());var B=U({enable:function(t,e){return new Promise((function(n){ct.dispatch({type:$.enablePlugin,plugins:Qt(t),_:{originalAction:$.enablePlugin}},n,[e])}))},disable:function(t,e){return new Promise((function(n){ct.dispatch({type:$.disablePlugin,plugins:Qt(t),_:{originalAction:$.disablePlugin}},n,[e])}))}},a.methods),G=!1,Q={identify:function(t,e,n,o){try{var r=E(t)?t:null,a=h(t)?t:e,i=n||{},s=Q.user();R(Z(z),r);var u=r||a.userId||c(z,Q,a);return Promise.resolve(new Promise((function(t){ct.dispatch(U({type:$.identifyStart,userId:u,traits:a||{},options:i,anonymousId:s.anonymousId},s.id&&s.id!==r&&{previousId:s.id}),t,[e,n,o])})))}catch(t){return Promise.reject(t)}},track:function(t,e,n,o){try{var r=h(t)?t.event:t;if(!r||!E(r))throw new Error("EventMissing");var a=h(t)?t:e||{},i=h(n)?n:{};return Promise.resolve(new Promise((function(t){ct.dispatch({type:$.trackStart,event:r,properties:a,options:i,userId:c(z,Q,e),anonymousId:c(H,Q,e)},t,[e,n,o])})))}catch(t){return Promise.reject(t)}},page:function(t,e,n){try{var o=h(t)?t:{},r=h(e)?e:{};return Promise.resolve(new Promise((function(a){ct.dispatch({type:$.pageStart,properties:Mt(o),options:r,userId:c(z,Q,o),anonymousId:c(H,Q,o)},a,[t,e,n])})))}catch(t){return Promise.reject(t)}},user:function(t){if(t===z||"id"===t)return c(z,Q);if(t===H||"anonId"===t)return c(H,Q);var n=Q.getState("user");return t?e()(n,t):n},reset:function(t){return new Promise((function(e){ct.dispatch({type:$.resetStart},e,t)}))},ready:function(t){return G&&t({plugins:B,instance:Q}),Q.on($.ready,(function(e){t(e),G=!0}))},on:function(t,e){if(!t||!f(e))return!1;if(t===$.bootstrap)throw new Error(".on disabled for "+t);var n=/Start$|Start:/;if("*"===t){var o=function(t){return function(t){return function(o){return o.type.match(n)&&e({payload:o,instance:Q,plugins:u}),t(o)}}},r=function(t){return function(t){return function(o){return o.type.match(n)||e({payload:o,instance:Q,plugins:u}),t(o)}}};return g(o,Kt),g(r,qt),function(){S(o,Kt),S(r,qt)}}var a=t.match(n)?Kt:qt,i=function(n){return function(n){return function(o){return o.type===t&&e({payload:o,instance:Q,plugins:u,abort:A}),n(o)}}};return g(i,a),function(){return S(i,a)}},once:function(t,e){if(!t||!f(e))return!1;if(t===$.bootstrap)throw new Error(".once disabled for "+t);var n=Q.on(t,(function(t){e({payload:t.payload,instance:Q,plugins:u,abort:A}),n()}));return n},getState:function(t){var n=ct.getState();return t?e()(n,t):Object.assign({},n)},dispatch:function(t){var e=E(t)?{type:t}:t;if(W.includes(e.type))throw new Error("reserved action "+e.type);var n=U({},e,{_:U({originalAction:e.type},t._||{})});ct.dispatch(n)},enablePlugin:B.enable,disablePlugin:B.disable,plugins:B,storage:{getItem:i.getItem,setItem:function(t,e,n){ct.dispatch({type:$.setItemStart,key:t,value:e,options:n})},removeItem:function(t,e){ct.dispatch({type:$.removeItemStart,key:t,options:e})}},setAnonymousId:function(t,e){Q.storage.setItem(j,t,e)},events:{core:W,plugins:l}},Y=a.middlewares.concat([function(t){return function(t){return function(e){return e.meta||(e.meta=Yt()),t(e)}}},T(Kt),Tt(Q,m,{all:d,plugins:l}),yt(i),q(Q),tt(Q),T(qt)]),K={context:Gt,user:J(i),page:jt,track:vt,plugins:bt(m),queue:Pt},et=M,nt=M;if(s&&t.debug){var ot=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;ot&&(et=ot({trace:!0,traceLimit:25})),nt=function(){return 0===arguments.length?Vt():h(typeof arguments[0])?$t():$t().apply(null,arguments)}}var rt,it=function(t){return Object.keys(t).reduce((function(e,n){return zt.includes(n)||(e[n]=t[n]),e}),{})}(t),st={context:it,user:D,plugins:a.pluginsArray.reduce((function(t,e){var n=e.name,o=e.config,r=e.loaded,i=a.pluginEnabled[n];return t[n]={enabled:i,initialized:!!i&&Boolean(!e.initialize),loaded:Boolean(r({config:o})),config:o},t}),{})},ct=w(function(t){for(var e=Object.keys(t),n={},o=0;o<e.length;o++){var r=e[o];typeof t[r]===P&&(n[r]=t[r])}var a,i=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(typeof n(void 0,{type:"@@redux/INIT"})===L||typeof n(void 0,{type:x})===L)throw new Error("reducer "+e+" "+L)}))}(n)}catch(t){a=t}return function(t,e){if(void 0===t&&(t={}),a)throw a;for(var o=!1,r={},s=0;s<i.length;s++){var c=i[s],u=t[c],l=(0,n[c])(u,e);if(typeof l===L){var p=F(c,e);throw new Error(p)}r[c]=l,o=o||l!==u}return o?r:t}}(U({},K,o)),st,nt(et(k.apply(void 0,Y))));ct.dispatch=(rt=ct.dispatch,function(t,e,n){var o=U({},t,{meta:Yt(t.meta,e,Qt(n))});return rt.apply(null,[o])});var ut=Object.keys(u);ct.dispatch({type:$.bootstrap,plugins:ut,config:it,params:I,user:D,initialUser:r,persistedUser:N});var lt=ut.filter((function(t){return a.pluginEnabled[t]})),pt=ut.filter((function(t){return!a.pluginEnabled[t]}));return ct.dispatch({type:$.registerPlugins,plugins:ut,enabled:a.pluginEnabled}),a.pluginsArray.map((function(t,e){var n=t.bootstrap,o=t.config,r=t.name;n&&f(n)&&n({instance:Q,config:o,payload:t}),ct.dispatch({type:$.registerPluginType(r),name:r,enabled:a.pluginEnabled[r],plugin:t}),a.pluginsArray.length===e+1&&ct.dispatch({type:$.initializeStart,plugins:lt,disabled:pt})})),Wt((function(t){ct.dispatch({type:t?$.offline:$.online})})),function(t,e,n){setInterval((function(){return at(t,e,n)}),3e3)}(ct,m,Q),Q}({app:"codedesign-session-tracker",version:100,plugins:[ye,te({token:"b9e51597327669c57e41902d9d8d4794"}),{name:"page-tracker-plugin",initialize:function(t){var e=t.instance,n=function(){var t=new URL(window.location.href);Array.from(t.searchParams.entries()).map((function(t){var e,n=function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,a,i,s=[],c=!0,u=!1;try{for(a=(n=n.call(t)).next;!(c=(o=a.call(n)).done)&&(s.push(o.value),2!==s.length);c=!0);}catch(t){u=!0,r=t}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return s}}(e)||function(t,e){if(t){if("string"==typeof t)return Jt(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jt(t,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return{key:n[0],value:n[1]}})),e.page()};n(),window.addEventListener("popstate",n),window.addEventListener("pushState",n),window.addEventListener("replaceState",n),["pushState","replaceState"].forEach((function(t){var e=history[t];history[t]=function(){e.apply(this,arguments);var n=new Event(t);window.dispatchEvent(n)}}))}},{name:"click-tracker-plugin",initialize:function(t){var e=t.instance;document.addEventListener("click",(function(t){var n=t.target,o=n.className||n.tagName.toLowerCase();n.id&&(o="".concat(n.id,"_").concat(o));var r,a=n.matches("a[href], button, input, [onclick], [data-track-click]"),i=n.matches('[role="button"], [role="link"], [role="checkbox"]'),s=!a&&!i,c=n.getAttribute("data-track-click"),u=n.textContent?n.textContent.trim():"";u=u.substring(0,50),r=c||"Click: ".concat(o," ").concat(u?"- "+u:"");var l={elementId:n.id,elementType:n.tagName,elementClass:n.className,textContent:n.textContent.trim().substring(0,50),type:"click",clickEvent:r,isDeadClick:s};e.track(r,l)}),!1)}}]});window.analytics=Ce}catch(t){console.error("Error initializing analytics:",t)}const be=Ce})(),o})(),t.exports=o()},8908:function(t,e,n){var o;o="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{},t.exports=o},8679:function(t,e,n){"use strict";var o=n(1296),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(t){return o.isMemo(t)?i:s[t.$$typeof]||r}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,E=Object.prototype;t.exports=function t(e,n,o){if("string"!==typeof n){if(E){var r=f(n);r&&r!==E&&t(e,r,o)}var i=l(n);p&&(i=i.concat(p(n)));for(var s=c(e),m=c(n),_=0;_<i.length;++_){var h=i[_];if(!a[h]&&(!o||!o[h])&&(!m||!m[h])&&(!s||!s[h])){var g=d(n,h);try{u(e,h,g)}catch(S){}}}}return e}},6103:function(t,e){"use strict";var n="function"===typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,E=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,_=n?Symbol.for("react.lazy"):60116,h=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,S=n?Symbol.for("react.responder"):60118,T=n?Symbol.for("react.scope"):60119;function y(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case l:case p:case a:case s:case i:case f:return t;default:switch(t=t&&t.$$typeof){case u:case d:case _:case m:case c:return t;default:return e}}case r:return e}}}function C(t){return y(t)===p}e.AsyncMode=l,e.ConcurrentMode=p,e.ContextConsumer=u,e.ContextProvider=c,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=_,e.Memo=m,e.Portal=r,e.Profiler=s,e.StrictMode=i,e.Suspense=f,e.isAsyncMode=function(t){return C(t)||y(t)===l},e.isConcurrentMode=C,e.isContextConsumer=function(t){return y(t)===u},e.isContextProvider=function(t){return y(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return y(t)===d},e.isFragment=function(t){return y(t)===a},e.isLazy=function(t){return y(t)===_},e.isMemo=function(t){return y(t)===m},e.isPortal=function(t){return y(t)===r},e.isProfiler=function(t){return y(t)===s},e.isStrictMode=function(t){return y(t)===i},e.isSuspense=function(t){return y(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===p||t===s||t===i||t===f||t===E||"object"===typeof t&&null!==t&&(t.$$typeof===_||t.$$typeof===m||t.$$typeof===c||t.$$typeof===u||t.$$typeof===d||t.$$typeof===g||t.$$typeof===S||t.$$typeof===T||t.$$typeof===h)},e.typeOf=y},1296:function(t,e,n){"use strict";t.exports=n(6103)},9804:function(t){t.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},6982:function(t,e,n){var o=n(3412),r="html",a="head",i="body",s=/<([a-zA-Z]+[0-9]?)/,c=/<head.*>/i,u=/<body.*>/i,l=/<(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)(.*?)\/?>/gi,p=o.isIE(9),d=p||o.isIE(),f=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},E=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"===typeof window.DOMParser){var m=new window.DOMParser,_=p?"text/xml":"text/html";f=E=function(t,e){return e&&(t="<"+e+">"+t+"</"+e+">"),p&&(t=t.replace(l,"<$1$2$3/>")),m.parseFromString(t,_)}}if(document.implementation){var h=document.implementation.createHTMLDocument(d?"html-dom-parser":void 0);f=function(t,e){if(e)return h.documentElement.getElementsByTagName(e)[0].innerHTML=t,h;try{return h.documentElement.innerHTML=t,h}catch(n){if(E)return E(t)}}}var g,S=document.createElement("template");S.content&&(g=function(t){return S.innerHTML=t,S.content.childNodes}),t.exports=function(t){var e,n,o,l,p=t.match(s);switch(p&&p[1]&&(e=p[1].toLowerCase()),e){case r:return n=E(t),c.test(t)||(o=n.getElementsByTagName(a)[0])&&o.parentNode.removeChild(o),u.test(t)||(o=n.getElementsByTagName(i)[0])&&o.parentNode.removeChild(o),n.getElementsByTagName(r);case a:case i:return l=f(t).getElementsByTagName(e),u.test(t)&&c.test(t)?l[0].parentNode.childNodes:l;default:return g?g(t):f(t,i).getElementsByTagName(i)[0].childNodes}}},5057:function(t,e,n){var o=n(6982),r=n(3412),a=r.formatDOM,i=r.isIE(9),s=/<(![a-zA-Z\s]+)>/;t.exports=function(t){if("string"!==typeof t)throw new TypeError("First argument must be a string");if(!t)return[];var e,n=t.match(s);return n&&n[1]&&(e=n[1],i&&(t=t.replace(n[0],""))),a(o(t),null,e)}},3412:function(t,e,n){for(var o,r=n(9804).CASE_SENSITIVE_TAG_NAMES,a={},i=0,s=r.length;i<s;i++)o=r[i],a[o.toLowerCase()]=o;function c(t){for(var e,n={},o=0,r=t.length;o<r;o++)n[(e=t[o]).name]=e.value;return n}function u(t){var e=function(t){return a[t]}(t=t.toLowerCase());return e||t}t.exports={formatAttributes:c,formatDOM:function t(e,n,o){n=n||null;for(var r,a,i,s=[],l=0,p=e.length;l<p;l++){switch(r=e[l],i={next:null,prev:s[l-1]||null,parent:n},(a=s[l-1])&&(a.next=i),"#"!==r.nodeName[0]&&(i.name=u(r.nodeName),i.attribs={},r.attributes&&r.attributes.length&&(i.attribs=c(r.attributes))),r.nodeType){case 1:"script"===i.name||"style"===i.name?i.type=i.name:i.type="tag",i.children=t(r.childNodes,i);break;case 3:i.type="text",i.data=r.nodeValue;break;case 8:i.type="comment",i.data=r.nodeValue}s.push(i)}return o&&(s.unshift({name:o.substring(0,o.indexOf(" ")).toLowerCase(),data:o,type:"directive",next:s[0]?s[0]:null,prev:null,parent:n}),s[1]&&(s[1].prev=s[0])),s},isIE:function(t){return t?document.documentMode===t:/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},488:function(t,e,n){var o=n(3670),r=n(484),a=n(5057),i={decodeEntities:!0,lowerCaseAttributeNames:!1};function s(t,e){if("string"!==typeof t)throw new TypeError("First argument must be a string");return""===t?[]:o(a(t,(e=e||{}).htmlparser2||i),e)}s.domToReact=o,s.htmlToDOM=a,s.attributesToProps=r,t.exports=s,t.exports.default=s},484:function(t,e,n){var o=n(2686),r=n(4606),a=r.setStyleProp,i=o.html,s=o.svg,c=o.isCustomAttribute,u=Object.prototype.hasOwnProperty;t.exports=function(t){var e,n,o,l;t=t||{};var p={};for(e in t)o=t[e],c(e)?p[e]=o:(n=e.toLowerCase(),u.call(i,n)?p[(l=i[n]).propertyName]=!!(l.hasBooleanValue||l.hasOverloadedBooleanValue&&!o)||o:u.call(s,e)?p[(l=s[e]).propertyName]=o:r.PRESERVE_CUSTOM_ATTRIBUTES&&(p[e]=o));return a(t.style,p),p}},3670:function(t,e,n){var o=n(7423),r=n(484),a=n(4606),i=a.setStyleProp;function s(t){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===t.type&&a.isCustomComponent(t.name,t.attribs)}t.exports=function t(e,n){for(var a,c,u,l,p=(n=n||{}).library||o,d=p.cloneElement,f=p.createElement,E=p.isValidElement,m=[],_="function"===typeof n.replace,h=n.trim,g=0,S=e.length;g<S;g++)if(a=e[g],_&&E(c=n.replace(a)))S>1&&(c=d(c,{key:c.key||g})),m.push(c);else if("text"!==a.type){switch(u=a.attribs,s(a)?i(u.style,u):u&&(u=r(u)),l=null,a.type){case"script":case"style":a.children[0]&&(u.dangerouslySetInnerHTML={__html:a.children[0].data});break;case"tag":"textarea"===a.name&&a.children[0]?u.defaultValue=a.children[0].data:a.children&&a.children.length&&(l=t(a.children,n));break;default:continue}S>1&&(u.key=g),m.push(f(a.name,u,l))}else h?a.data.trim()&&m.push(a.data):m.push(a.data);return 1===m.length?m[0]:m}},4606:function(t,e,n){var o=n(7423),r=n(1476).default;var a={reactCompat:!0};var i=o.version.split(".")[0]>=16;t.exports={PRESERVE_CUSTOM_ATTRIBUTES:i,invertObject:function(t,e){if(!t||"object"!==typeof t)throw new TypeError("First argument must be an object");var n,o,r="function"===typeof e,a={},i={};for(n in t)o=t[n],r&&(a=e(n,o))&&2===a.length?i[a[0]]=a[1]:"string"===typeof o&&(i[o]=n);return i},isCustomComponent:function(t,e){if(-1===t.indexOf("-"))return e&&"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(t,e){null!==t&&void 0!==t&&(e.style=r(t,a))}}},645:function(t,e){e.read=function(t,e,n,o,r){var a,i,s=8*r-o-1,c=(1<<s)-1,u=c>>1,l=-7,p=n?r-1:0,d=n?-1:1,f=t[e+p];for(p+=d,a=f&(1<<-l)-1,f>>=-l,l+=s;l>0;a=256*a+t[e+p],p+=d,l-=8);for(i=a&(1<<-l)-1,a>>=-l,l+=o;l>0;i=256*i+t[e+p],p+=d,l-=8);if(0===a)a=1-u;else{if(a===c)return i?NaN:1/0*(f?-1:1);i+=Math.pow(2,o),a-=u}return(f?-1:1)*i*Math.pow(2,a-o)},e.write=function(t,e,n,o,r,a){var i,s,c,u=8*a-r-1,l=(1<<u)-1,p=l>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=o?0:a-1,E=o?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=l):(i=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-i))<1&&(i--,c*=2),(e+=i+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(i++,c/=2),i+p>=l?(s=0,i=l):i+p>=1?(s=(e*c-1)*Math.pow(2,r),i+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,r),i=0));r>=8;t[n+f]=255&s,f+=E,s/=256,r-=8);for(i=i<<r|s,u+=r;u>0;t[n+f]=255&i,f+=E,i/=256,u-=8);t[n+f-E]|=128*m}},8139:function(t){var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,o=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,u="";function l(t){return t?t.replace(c,u):u}t.exports=function(t,c){if("string"!==typeof t)throw new TypeError("First argument must be a string");if(!t)return[];c=c||{};var p=1,d=1;function f(t){var e=t.match(n);e&&(p+=e.length);var o=t.lastIndexOf("\n");d=~o?t.length-o:d+t.length}function E(){var t={line:p,column:d};return function(e){return e.position=new m(t),S(),e}}function m(t){this.start=t,this.end={line:p,column:d},this.source=c.source}m.prototype.content=t;var _=[];function h(e){var n=new Error(c.source+":"+p+":"+d+": "+e);if(n.reason=e,n.filename=c.source,n.line=p,n.column=d,n.source=t,!c.silent)throw n;_.push(n)}function g(e){var n=e.exec(t);if(n){var o=n[0];return f(o),t=t.slice(o.length),n}}function S(){g(o)}function T(t){var e;for(t=t||[];e=y();)!1!==e&&t.push(e);return t}function y(){var e=E();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var n=2;u!=t.charAt(n)&&("*"!=t.charAt(n)||"/"!=t.charAt(n+1));)++n;if(n+=2,u===t.charAt(n-1))return h("End of comment missing");var o=t.slice(2,n-2);return d+=2,f(o),t=t.slice(n),d+=2,e({type:"comment",comment:o})}}function C(){var t=E(),n=g(r);if(n){if(y(),!g(a))return h("property missing ':'");var o=g(i),c=t({type:"declaration",property:l(n[0].replace(e,u)),value:o?l(o[0].replace(e,u)):u});return g(s),c}}return S(),function(){var t,e=[];for(T(e);t=C();)!1!==t&&(e.push(t),T(e));return e}()}},1143:function(t){"use strict";t.exports=function(t,e,n,o,r,a,i,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,r,a,i,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},4301:function(t,e,n){n(6477),t.exports=self.fetch.bind(self)},973:function(t,e,n){var o=n(1169),r=function(t){var e="",n=Object.keys(t);return n.forEach((function(r,a){var i=t[r];(function(t){return/[height|width]$/.test(t)})(r=o(r))&&"number"===typeof i&&(i+="px"),e+=!0===i?r:!1===i?"not "+r:"("+r+": "+i+")",a<n.length-1&&(e+=" and ")})),e};t.exports=function(t){var e="";return"string"===typeof t?t:t instanceof Array?(t.forEach((function(n,o){e+=r(n),o<t.length-1&&(e+=", ")})),e):r(t)}},3465:function(t,e,n){t=n.nmd(t);var o="__lodash_hash_undefined__",r=9007199254740991,a="[object Arguments]",i="[object Boolean]",s="[object Date]",c="[object Function]",u="[object GeneratorFunction]",l="[object Map]",p="[object Number]",d="[object Object]",f="[object Promise]",E="[object RegExp]",m="[object Set]",_="[object String]",h="[object Symbol]",g="[object WeakMap]",S="[object ArrayBuffer]",T="[object DataView]",y="[object Float32Array]",C="[object Float64Array]",b="[object Int8Array]",A="[object Int16Array]",I="[object Int32Array]",O="[object Uint8Array]",R="[object Uint8ClampedArray]",v="[object Uint16Array]",U="[object Uint32Array]",P=/\w*$/,L=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,N={};N[a]=N["[object Array]"]=N[S]=N[T]=N[i]=N[s]=N[y]=N[C]=N[b]=N[A]=N[I]=N[l]=N[p]=N[d]=N[E]=N[m]=N[_]=N[h]=N[O]=N[R]=N[v]=N[U]=!0,N["[object Error]"]=N[c]=N[g]=!1;var D="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,w="object"==typeof self&&self&&self.Object===Object&&self,F=D||w||Function("return this")(),M=e&&!e.nodeType&&e,k=M&&t&&!t.nodeType&&t,j=k&&k.exports===M;function B(t,e){return t.set(e[0],e[1]),t}function G(t,e){return t.add(e),t}function z(t,e,n,o){var r=-1,a=t?t.length:0;for(o&&a&&(n=t[++r]);++r<a;)n=e(n,t[r],r,t);return n}function H(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function W(t){var e=-1,n=Array(t.size);return t.forEach((function(t,o){n[++e]=[o,t]})),n}function V(t,e){return function(n){return t(e(n))}}function $(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Q=Array.prototype,Y=Function.prototype,K=Object.prototype,q=F["__core-js_shared__"],J=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),X=Y.toString,Z=K.hasOwnProperty,tt=K.toString,et=RegExp("^"+X.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nt=j?F.Buffer:void 0,ot=F.Symbol,rt=F.Uint8Array,at=V(Object.getPrototypeOf,Object),it=Object.create,st=K.propertyIsEnumerable,ct=Q.splice,ut=Object.getOwnPropertySymbols,lt=nt?nt.isBuffer:void 0,pt=V(Object.keys,Object),dt=Mt(F,"DataView"),ft=Mt(F,"Map"),Et=Mt(F,"Promise"),mt=Mt(F,"Set"),_t=Mt(F,"WeakMap"),ht=Mt(Object,"create"),gt=zt(dt),St=zt(ft),Tt=zt(Et),yt=zt(mt),Ct=zt(_t),bt=ot?ot.prototype:void 0,At=bt?bt.valueOf:void 0;function It(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Ot(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Rt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function vt(t){this.__data__=new Ot(t)}function Ut(t,e){var n=Wt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Vt(t)}(t)&&Z.call(t,"callee")&&(!st.call(t,"callee")||tt.call(t)==a)}(t)?function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}(t.length,String):[],o=n.length,r=!!o;for(var i in t)!e&&!Z.call(t,i)||r&&("length"==i||Bt(i,o))||n.push(i);return n}function Pt(t,e,n){var o=t[e];Z.call(t,e)&&Ht(o,n)&&(void 0!==n||e in t)||(t[e]=n)}function Lt(t,e){for(var n=t.length;n--;)if(Ht(t[n][0],e))return n;return-1}function xt(t,e,n,o,r,f,g){var L;if(o&&(L=f?o(t,r,f,g):o(t)),void 0!==L)return L;if(!Yt(t))return t;var x=Wt(t);if(x){if(L=function(t){var e=t.length,n=t.constructor(e);e&&"string"==typeof t[0]&&Z.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!e)return function(t,e){var n=-1,o=t.length;e||(e=Array(o));for(;++n<o;)e[n]=t[n];return e}(t,L)}else{var D=jt(t),w=D==c||D==u;if($t(t))return function(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}(t,e);if(D==d||D==a||w&&!f){if(H(t))return f?t:{};if(L=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:(e=at(t),Yt(e)?it(e):{});var e}(w?{}:t),!e)return function(t,e){return wt(t,kt(t),e)}(t,function(t,e){return t&&wt(e,Kt(e),t)}(L,t))}else{if(!N[D])return f?t:{};L=function(t,e,n,o){var r=t.constructor;switch(e){case S:return Dt(t);case i:case s:return new r(+t);case T:return function(t,e){var n=e?Dt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,o);case y:case C:case b:case A:case I:case O:case R:case v:case U:return function(t,e){var n=e?Dt(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(t,o);case l:return function(t,e,n){return z(e?n(W(t),!0):W(t),B,new t.constructor)}(t,o,n);case p:case _:return new r(t);case E:return function(t){var e=new t.constructor(t.source,P.exec(t));return e.lastIndex=t.lastIndex,e}(t);case m:return function(t,e,n){return z(e?n($(t),!0):$(t),G,new t.constructor)}(t,o,n);case h:return a=t,At?Object(At.call(a)):{}}var a}(t,D,xt,e)}}g||(g=new vt);var F=g.get(t);if(F)return F;if(g.set(t,L),!x)var M=n?function(t){return function(t,e,n){var o=e(t);return Wt(t)?o:function(t,e){for(var n=-1,o=e.length,r=t.length;++n<o;)t[r+n]=e[n];return t}(o,n(t))}(t,Kt,kt)}(t):Kt(t);return function(t,e){for(var n=-1,o=t?t.length:0;++n<o&&!1!==e(t[n],n,t););}(M||t,(function(r,a){M&&(r=t[a=r]),Pt(L,a,xt(r,e,n,o,a,t,g))})),L}function Nt(t){return!(!Yt(t)||(e=t,J&&J in e))&&(Qt(t)||H(t)?et:L).test(zt(t));var e}function Dt(t){var e=new t.constructor(t.byteLength);return new rt(e).set(new rt(t)),e}function wt(t,e,n,o){n||(n={});for(var r=-1,a=e.length;++r<a;){var i=e[r],s=o?o(n[i],t[i],i,n,t):void 0;Pt(n,i,void 0===s?t[i]:s)}return n}function Ft(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Mt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Nt(n)?n:void 0}It.prototype.clear=function(){this.__data__=ht?ht(null):{}},It.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},It.prototype.get=function(t){var e=this.__data__;if(ht){var n=e[t];return n===o?void 0:n}return Z.call(e,t)?e[t]:void 0},It.prototype.has=function(t){var e=this.__data__;return ht?void 0!==e[t]:Z.call(e,t)},It.prototype.set=function(t,e){return this.__data__[t]=ht&&void 0===e?o:e,this},Ot.prototype.clear=function(){this.__data__=[]},Ot.prototype.delete=function(t){var e=this.__data__,n=Lt(e,t);return!(n<0)&&(n==e.length-1?e.pop():ct.call(e,n,1),!0)},Ot.prototype.get=function(t){var e=this.__data__,n=Lt(e,t);return n<0?void 0:e[n][1]},Ot.prototype.has=function(t){return Lt(this.__data__,t)>-1},Ot.prototype.set=function(t,e){var n=this.__data__,o=Lt(n,t);return o<0?n.push([t,e]):n[o][1]=e,this},Rt.prototype.clear=function(){this.__data__={hash:new It,map:new(ft||Ot),string:new It}},Rt.prototype.delete=function(t){return Ft(this,t).delete(t)},Rt.prototype.get=function(t){return Ft(this,t).get(t)},Rt.prototype.has=function(t){return Ft(this,t).has(t)},Rt.prototype.set=function(t,e){return Ft(this,t).set(t,e),this},vt.prototype.clear=function(){this.__data__=new Ot},vt.prototype.delete=function(t){return this.__data__.delete(t)},vt.prototype.get=function(t){return this.__data__.get(t)},vt.prototype.has=function(t){return this.__data__.has(t)},vt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ot){var o=n.__data__;if(!ft||o.length<199)return o.push([t,e]),this;n=this.__data__=new Rt(o)}return n.set(t,e),this};var kt=ut?V(ut,Object):function(){return[]},jt=function(t){return tt.call(t)};function Bt(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||x.test(t))&&t>-1&&t%1==0&&t<e}function Gt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||K)}function zt(t){if(null!=t){try{return X.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ht(t,e){return t===e||t!==t&&e!==e}(dt&&jt(new dt(new ArrayBuffer(1)))!=T||ft&&jt(new ft)!=l||Et&&jt(Et.resolve())!=f||mt&&jt(new mt)!=m||_t&&jt(new _t)!=g)&&(jt=function(t){var e=tt.call(t),n=e==d?t.constructor:void 0,o=n?zt(n):void 0;if(o)switch(o){case gt:return T;case St:return l;case Tt:return f;case yt:return m;case Ct:return g}return e});var Wt=Array.isArray;function Vt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}(t.length)&&!Qt(t)}var $t=lt||function(){return!1};function Qt(t){var e=Yt(t)?tt.call(t):"";return e==c||e==u}function Yt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Kt(t){return Vt(t)?Ut(t):function(t){if(!Gt(t))return pt(t);var e=[];for(var n in Object(t))Z.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}t.exports=function(t){return xt(t,!0,!0)}},3778:function(t){var e=Array.isArray;t.exports=e},9245:function(t,e,n){t=n.nmd(t);var o=9007199254740991,r="[object Map]",a="[object Promise]",i="[object Set]",s="[object WeakMap]",c="[object DataView]",u=/^\[object .+?Constructor\]$/,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,d=l||p||Function("return this")(),f=e&&!e.nodeType&&e,E=f&&t&&!t.nodeType&&t,m=E&&E.exports===f;var _,h,g=Function.prototype,S=Object.prototype,T=d["__core-js_shared__"],y=function(){var t=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),C=g.toString,b=S.hasOwnProperty,A=S.toString,I=RegExp("^"+C.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=m?d.Buffer:void 0,R=S.propertyIsEnumerable,v=O?O.isBuffer:void 0,U=(_=Object.keys,h=Object,function(t){return _(h(t))}),P=z(d,"DataView"),L=z(d,"Map"),x=z(d,"Promise"),N=z(d,"Set"),D=z(d,"WeakMap"),w=!R.call({valueOf:1},"valueOf"),F=W(P),M=W(L),k=W(x),j=W(N),B=W(D);function G(t){return!(!q(t)||function(t){return!!y&&y in t}(t))&&(K(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}(t)?I:u).test(W(t))}function z(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return G(n)?n:void 0}var H=function(t){return A.call(t)};function W(t){if(null!=t){try{return C.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function V(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Q(t)}(t)&&b.call(t,"callee")&&(!R.call(t,"callee")||"[object Arguments]"==A.call(t))}(P&&H(new P(new ArrayBuffer(1)))!=c||L&&H(new L)!=r||x&&H(x.resolve())!=a||N&&H(new N)!=i||D&&H(new D)!=s)&&(H=function(t){var e=A.call(t),n="[object Object]"==e?t.constructor:void 0,o=n?W(n):void 0;if(o)switch(o){case F:return c;case M:return r;case k:return a;case j:return i;case B:return s}return e});var $=Array.isArray;function Q(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}(t.length)&&!K(t)}var Y=v||function(){return!1};function K(t){var e=q(t)?A.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function q(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){if(Q(t)&&($(t)||"string"==typeof t||"function"==typeof t.splice||Y(t)||V(t)))return!t.length;var e=H(t);if(e==r||e==i)return!t.size;if(w||function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||S)}(t))return!U(t).length;for(var n in t)if(b.call(t,n))return!1;return!0}},2307:function(t,e,n){t=n.nmd(t);var o="__lodash_hash_undefined__",r=9007199254740991,a="[object Arguments]",i="[object Array]",s="[object Boolean]",c="[object Date]",u="[object Error]",l="[object Function]",p="[object Map]",d="[object Number]",f="[object Object]",E="[object Promise]",m="[object RegExp]",_="[object Set]",h="[object String]",g="[object Symbol]",S="[object WeakMap]",T="[object ArrayBuffer]",y="[object DataView]",C=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,A={};A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A[a]=A[i]=A[T]=A[s]=A[y]=A[c]=A[u]=A[l]=A[p]=A[d]=A[f]=A[m]=A[_]=A[h]=A[S]=!1;var I="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,O="object"==typeof self&&self&&self.Object===Object&&self,R=I||O||Function("return this")(),v=e&&!e.nodeType&&e,U=v&&t&&!t.nodeType&&t,P=U&&U.exports===v,L=P&&I.process,x=function(){try{return L&&L.binding&&L.binding("util")}catch(t){}}(),N=x&&x.isTypedArray;function D(t,e){for(var n=-1,o=null==t?0:t.length;++n<o;)if(e(t[n],n,t))return!0;return!1}function w(t){var e=-1,n=Array(t.size);return t.forEach((function(t,o){n[++e]=[o,t]})),n}function F(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var M,k,j=Array.prototype,B=Function.prototype,G=Object.prototype,z=R["__core-js_shared__"],H=B.toString,W=G.hasOwnProperty,V=function(){var t=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),$=G.toString,Q=RegExp("^"+H.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y=P?R.Buffer:void 0,K=R.Symbol,q=R.Uint8Array,J=G.propertyIsEnumerable,X=j.splice,Z=K?K.toStringTag:void 0,tt=Object.getOwnPropertySymbols,et=Y?Y.isBuffer:void 0,nt=(M=Object.keys,k=Object,function(t){return M(k(t))}),ot=Lt(R,"DataView"),rt=Lt(R,"Map"),at=Lt(R,"Promise"),it=Lt(R,"Set"),st=Lt(R,"WeakMap"),ct=Lt(Object,"create"),ut=wt(ot),lt=wt(rt),pt=wt(at),dt=wt(it),ft=wt(st),Et=K?K.prototype:void 0,mt=Et?Et.valueOf:void 0;function _t(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function ht(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function gt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function St(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new gt;++e<n;)this.add(t[e])}function Tt(t){var e=this.__data__=new ht(t);this.size=e.size}function yt(t,e){var n=kt(t),o=!n&&Mt(t),r=!n&&!o&&jt(t),a=!n&&!o&&!r&&Wt(t),i=n||o||r||a,s=i?function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}(t.length,String):[],c=s.length;for(var u in t)!e&&!W.call(t,u)||i&&("length"==u||r&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Dt(u,c))||s.push(u);return s}function Ct(t,e){for(var n=t.length;n--;)if(Ft(t[n][0],e))return n;return-1}function bt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Z&&Z in Object(t)?function(t){var e=W.call(t,Z),n=t[Z];try{t[Z]=void 0;var o=!0}catch(a){}var r=$.call(t);o&&(e?t[Z]=n:delete t[Z]);return r}(t):function(t){return $.call(t)}(t)}function At(t){return Ht(t)&&bt(t)==a}function It(t,e,n,o,r){return t===e||(null==t||null==e||!Ht(t)&&!Ht(e)?t!==t&&e!==e:function(t,e,n,o,r,l){var E=kt(t),S=kt(e),C=E?i:Nt(t),b=S?i:Nt(e),A=(C=C==a?f:C)==f,I=(b=b==a?f:b)==f,O=C==b;if(O&&jt(t)){if(!jt(e))return!1;E=!0,A=!1}if(O&&!A)return l||(l=new Tt),E||Wt(t)?vt(t,e,n,o,r,l):function(t,e,n,o,r,a,i){switch(n){case y:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case T:return!(t.byteLength!=e.byteLength||!a(new q(t),new q(e)));case s:case c:case d:return Ft(+t,+e);case u:return t.name==e.name&&t.message==e.message;case m:case h:return t==e+"";case p:var l=w;case _:var f=1&o;if(l||(l=F),t.size!=e.size&&!f)return!1;var E=i.get(t);if(E)return E==e;o|=2,i.set(t,e);var S=vt(l(t),l(e),o,r,a,i);return i.delete(t),S;case g:if(mt)return mt.call(t)==mt.call(e)}return!1}(t,e,C,n,o,r,l);if(!(1&n)){var R=A&&W.call(t,"__wrapped__"),v=I&&W.call(e,"__wrapped__");if(R||v){var U=R?t.value():t,P=v?e.value():e;return l||(l=new Tt),r(U,P,n,o,l)}}if(!O)return!1;return l||(l=new Tt),function(t,e,n,o,r,a){var i=1&n,s=Ut(t),c=s.length,u=Ut(e).length;if(c!=u&&!i)return!1;var l=c;for(;l--;){var p=s[l];if(!(i?p in e:W.call(e,p)))return!1}var d=a.get(t);if(d&&a.get(e))return d==e;var f=!0;a.set(t,e),a.set(e,t);var E=i;for(;++l<c;){var m=t[p=s[l]],_=e[p];if(o)var h=i?o(_,m,p,e,t,a):o(m,_,p,t,e,a);if(!(void 0===h?m===_||r(m,_,n,o,a):h)){f=!1;break}E||(E="constructor"==p)}if(f&&!E){var g=t.constructor,S=e.constructor;g==S||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof S&&S instanceof S||(f=!1)}return a.delete(t),a.delete(e),f}(t,e,n,o,r,l)}(t,e,n,o,It,r))}function Ot(t){return!(!zt(t)||function(t){return!!V&&V in t}(t))&&(Bt(t)?Q:C).test(wt(t))}function Rt(t){if(!function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||G;return t===n}(t))return nt(t);var e=[];for(var n in Object(t))W.call(t,n)&&"constructor"!=n&&e.push(n);return e}function vt(t,e,n,o,r,a){var i=1&n,s=t.length,c=e.length;if(s!=c&&!(i&&c>s))return!1;var u=a.get(t);if(u&&a.get(e))return u==e;var l=-1,p=!0,d=2&n?new St:void 0;for(a.set(t,e),a.set(e,t);++l<s;){var f=t[l],E=e[l];if(o)var m=i?o(E,f,l,e,t,a):o(f,E,l,t,e,a);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!D(e,(function(t,e){if(i=e,!d.has(i)&&(f===t||r(f,t,n,o,a)))return d.push(e);var i}))){p=!1;break}}else if(f!==E&&!r(f,E,n,o,a)){p=!1;break}}return a.delete(t),a.delete(e),p}function Ut(t){return function(t,e,n){var o=e(t);return kt(t)?o:function(t,e){for(var n=-1,o=e.length,r=t.length;++n<o;)t[r+n]=e[n];return t}(o,n(t))}(t,Vt,xt)}function Pt(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Lt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Ot(n)?n:void 0}_t.prototype.clear=function(){this.__data__=ct?ct(null):{},this.size=0},_t.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},_t.prototype.get=function(t){var e=this.__data__;if(ct){var n=e[t];return n===o?void 0:n}return W.call(e,t)?e[t]:void 0},_t.prototype.has=function(t){var e=this.__data__;return ct?void 0!==e[t]:W.call(e,t)},_t.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ct&&void 0===e?o:e,this},ht.prototype.clear=function(){this.__data__=[],this.size=0},ht.prototype.delete=function(t){var e=this.__data__,n=Ct(e,t);return!(n<0)&&(n==e.length-1?e.pop():X.call(e,n,1),--this.size,!0)},ht.prototype.get=function(t){var e=this.__data__,n=Ct(e,t);return n<0?void 0:e[n][1]},ht.prototype.has=function(t){return Ct(this.__data__,t)>-1},ht.prototype.set=function(t,e){var n=this.__data__,o=Ct(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this},gt.prototype.clear=function(){this.size=0,this.__data__={hash:new _t,map:new(rt||ht),string:new _t}},gt.prototype.delete=function(t){var e=Pt(this,t).delete(t);return this.size-=e?1:0,e},gt.prototype.get=function(t){return Pt(this,t).get(t)},gt.prototype.has=function(t){return Pt(this,t).has(t)},gt.prototype.set=function(t,e){var n=Pt(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this},St.prototype.add=St.prototype.push=function(t){return this.__data__.set(t,o),this},St.prototype.has=function(t){return this.__data__.has(t)},Tt.prototype.clear=function(){this.__data__=new ht,this.size=0},Tt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Tt.prototype.get=function(t){return this.__data__.get(t)},Tt.prototype.has=function(t){return this.__data__.has(t)},Tt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ht){var o=n.__data__;if(!rt||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new gt(o)}return n.set(t,e),this.size=n.size,this};var xt=tt?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,o=null==t?0:t.length,r=0,a=[];++n<o;){var i=t[n];e(i,n,t)&&(a[r++]=i)}return a}(tt(t),(function(e){return J.call(t,e)})))}:function(){return[]},Nt=bt;function Dt(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||b.test(t))&&t>-1&&t%1==0&&t<e}function wt(t){if(null!=t){try{return H.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ft(t,e){return t===e||t!==t&&e!==e}(ot&&Nt(new ot(new ArrayBuffer(1)))!=y||rt&&Nt(new rt)!=p||at&&Nt(at.resolve())!=E||it&&Nt(new it)!=_||st&&Nt(new st)!=S)&&(Nt=function(t){var e=bt(t),n=e==f?t.constructor:void 0,o=n?wt(n):"";if(o)switch(o){case ut:return y;case lt:return p;case pt:return E;case dt:return _;case ft:return S}return e});var Mt=At(function(){return arguments}())?At:function(t){return Ht(t)&&W.call(t,"callee")&&!J.call(t,"callee")},kt=Array.isArray;var jt=et||function(){return!1};function Bt(t){if(!zt(t))return!1;var e=bt(t);return e==l||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Gt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}function zt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ht(t){return null!=t&&"object"==typeof t}var Wt=N?function(t){return function(e){return t(e)}}(N):function(t){return Ht(t)&&Gt(t.length)&&!!A[bt(t)]};function Vt(t){return null!=(e=t)&&Gt(e.length)&&!Bt(e)?yt(t):Rt(t);var e}t.exports=function(t,e){return It(t,e)}},8618:function(t,e,n){t=n.nmd(t);var o="__lodash_hash_undefined__",r=1/0,a=9007199254740991,i="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",l="[object Error]",p="[object Function]",d="[object Map]",f="[object Number]",E="[object Object]",m="[object Promise]",_="[object RegExp]",h="[object Set]",g="[object String]",S="[object Symbol]",T="[object WeakMap]",y="[object ArrayBuffer]",C="[object DataView]",b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,A=/^\w*$/,I=/^\./,O=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,R=/\\(\\)?/g,v=/^\[object .+?Constructor\]$/,U=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[i]=P[s]=P[y]=P[c]=P[C]=P[u]=P[l]=P[p]=P[d]=P[f]=P[E]=P[_]=P[h]=P[g]=P[T]=!1;var L="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,x="object"==typeof self&&self&&self.Object===Object&&self,N=L||x||Function("return this")(),D=e&&!e.nodeType&&e,w=D&&t&&!t.nodeType&&t,F=w&&w.exports===D&&L.process,M=function(){try{return F&&F.binding("util")}catch(t){}}(),k=M&&M.isTypedArray;function j(t,e){return!!(t?t.length:0)&&function(t,e,n){if(e!==e)return function(t,e,n,o){var r=t.length,a=n+(o?1:-1);for(;o?a--:++a<r;)if(e(t[a],a,t))return a;return-1}(t,z,n);var o=n-1,r=t.length;for(;++o<r;)if(t[o]===e)return o;return-1}(t,e,0)>-1}function B(t,e,n){for(var o=-1,r=t?t.length:0;++o<r;)if(n(e,t[o]))return!0;return!1}function G(t,e){for(var n=-1,o=t?t.length:0;++n<o;)if(e(t[n],n,t))return!0;return!1}function z(t){return t!==t}function H(t,e){return t.has(e)}function W(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function V(t){var e=-1,n=Array(t.size);return t.forEach((function(t,o){n[++e]=[o,t]})),n}function $(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Q,Y,K=Array.prototype,q=Function.prototype,J=Object.prototype,X=N["__core-js_shared__"],Z=function(){var t=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),tt=q.toString,et=J.hasOwnProperty,nt=J.toString,ot=RegExp("^"+tt.call(et).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=N.Symbol,at=N.Uint8Array,it=J.propertyIsEnumerable,st=K.splice,ct=(Q=Object.keys,Y=Object,function(t){return Q(Y(t))}),ut=Bt(N,"DataView"),lt=Bt(N,"Map"),pt=Bt(N,"Promise"),dt=Bt(N,"Set"),ft=Bt(N,"WeakMap"),Et=Bt(Object,"create"),mt=Yt(ut),_t=Yt(lt),ht=Yt(pt),gt=Yt(dt),St=Yt(ft),Tt=rt?rt.prototype:void 0,yt=Tt?Tt.valueOf:void 0,Ct=Tt?Tt.toString:void 0;function bt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function At(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function It(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Ot(t){var e=-1,n=t?t.length:0;for(this.__data__=new It;++e<n;)this.add(t[e])}function Rt(t){this.__data__=new At(t)}function vt(t,e){var n=Xt(t)||Jt(t)?function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}(t.length,String):[],o=n.length,r=!!o;for(var a in t)!e&&!et.call(t,a)||r&&("length"==a||zt(a,o))||n.push(a);return n}function Ut(t,e){for(var n=t.length;n--;)if(qt(t[n][0],e))return n;return-1}function Pt(t,e){for(var n=0,o=(e=Ht(e,t)?[e]:Ft(e)).length;null!=t&&n<o;)t=t[Qt(e[n++])];return n&&n==o?t:void 0}function Lt(t,e){return null!=t&&e in Object(t)}function xt(t,e,n,o,r){return t===e||(null==t||null==e||!ne(t)&&!oe(e)?t!==t&&e!==e:function(t,e,n,o,r,a){var p=Xt(t),m=Xt(e),T=s,b=s;p||(T=(T=Gt(t))==i?E:T);m||(b=(b=Gt(e))==i?E:b);var A=T==E&&!W(t),I=b==E&&!W(e),O=T==b;if(O&&!A)return a||(a=new Rt),p||ae(t)?kt(t,e,n,o,r,a):function(t,e,n,o,r,a,i){switch(n){case C:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case y:return!(t.byteLength!=e.byteLength||!o(new at(t),new at(e)));case c:case u:case f:return qt(+t,+e);case l:return t.name==e.name&&t.message==e.message;case _:case g:return t==e+"";case d:var s=V;case h:var p=2&a;if(s||(s=$),t.size!=e.size&&!p)return!1;var E=i.get(t);if(E)return E==e;a|=1,i.set(t,e);var m=kt(s(t),s(e),o,r,a,i);return i.delete(t),m;case S:if(yt)return yt.call(t)==yt.call(e)}return!1}(t,e,T,n,o,r,a);if(!(2&r)){var R=A&&et.call(t,"__wrapped__"),v=I&&et.call(e,"__wrapped__");if(R||v){var U=R?t.value():t,P=v?e.value():e;return a||(a=new Rt),n(U,P,o,r,a)}}if(!O)return!1;return a||(a=new Rt),function(t,e,n,o,r,a){var i=2&r,s=ie(t),c=s.length,u=ie(e).length;if(c!=u&&!i)return!1;var l=c;for(;l--;){var p=s[l];if(!(i?p in e:et.call(e,p)))return!1}var d=a.get(t);if(d&&a.get(e))return d==e;var f=!0;a.set(t,e),a.set(e,t);var E=i;for(;++l<c;){var m=t[p=s[l]],_=e[p];if(o)var h=i?o(_,m,p,e,t,a):o(m,_,p,t,e,a);if(!(void 0===h?m===_||n(m,_,o,r,a):h)){f=!1;break}E||(E="constructor"==p)}if(f&&!E){var g=t.constructor,S=e.constructor;g==S||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof S&&S instanceof S||(f=!1)}return a.delete(t),a.delete(e),f}(t,e,n,o,r,a)}(t,e,xt,n,o,r))}function Nt(t){return!(!ne(t)||function(t){return!!Z&&Z in t}(t))&&(te(t)||W(t)?ot:v).test(Yt(t))}function Dt(t){return"function"==typeof t?t:null==t?se:"object"==typeof t?Xt(t)?function(t,e){if(Ht(t)&&Wt(e))return Vt(Qt(t),e);return function(n){var o=function(t,e,n){var o=null==t?void 0:Pt(t,e);return void 0===o?n:o}(n,t);return void 0===o&&o===e?function(t,e){return null!=t&&function(t,e,n){e=Ht(e,t)?[e]:Ft(e);var o,r=-1,a=e.length;for(;++r<a;){var i=Qt(e[r]);if(!(o=null!=t&&n(t,i)))break;t=t[i]}if(o)return o;return!!(a=t?t.length:0)&&ee(a)&&zt(i,a)&&(Xt(t)||Jt(t))}(t,e,Lt)}(n,t):xt(e,o,void 0,3)}}(t[0],t[1]):function(t){var e=function(t){var e=ie(t),n=e.length;for(;n--;){var o=e[n],r=t[o];e[n]=[o,r,Wt(r)]}return e}(t);if(1==e.length&&e[0][2])return Vt(e[0][0],e[0][1]);return function(n){return n===t||function(t,e,n,o){var r=n.length,a=r,i=!o;if(null==t)return!a;for(t=Object(t);r--;){var s=n[r];if(i&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<a;){var c=(s=n[r])[0],u=t[c],l=s[1];if(i&&s[2]){if(void 0===u&&!(c in t))return!1}else{var p=new Rt;if(o)var d=o(u,l,c,t,e,p);if(!(void 0===d?xt(l,u,o,3,p):d))return!1}}return!0}(n,t,e)}}(t):function(t){return Ht(t)?(e=Qt(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Pt(e,t)}}(t);var e}(t)}function wt(t){if(!function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||J;return t===n}(t))return ct(t);var e=[];for(var n in Object(t))et.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Ft(t){return Xt(t)?t:$t(t)}bt.prototype.clear=function(){this.__data__=Et?Et(null):{}},bt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},bt.prototype.get=function(t){var e=this.__data__;if(Et){var n=e[t];return n===o?void 0:n}return et.call(e,t)?e[t]:void 0},bt.prototype.has=function(t){var e=this.__data__;return Et?void 0!==e[t]:et.call(e,t)},bt.prototype.set=function(t,e){return this.__data__[t]=Et&&void 0===e?o:e,this},At.prototype.clear=function(){this.__data__=[]},At.prototype.delete=function(t){var e=this.__data__,n=Ut(e,t);return!(n<0)&&(n==e.length-1?e.pop():st.call(e,n,1),!0)},At.prototype.get=function(t){var e=this.__data__,n=Ut(e,t);return n<0?void 0:e[n][1]},At.prototype.has=function(t){return Ut(this.__data__,t)>-1},At.prototype.set=function(t,e){var n=this.__data__,o=Ut(n,t);return o<0?n.push([t,e]):n[o][1]=e,this},It.prototype.clear=function(){this.__data__={hash:new bt,map:new(lt||At),string:new bt}},It.prototype.delete=function(t){return jt(this,t).delete(t)},It.prototype.get=function(t){return jt(this,t).get(t)},It.prototype.has=function(t){return jt(this,t).has(t)},It.prototype.set=function(t,e){return jt(this,t).set(t,e),this},Ot.prototype.add=Ot.prototype.push=function(t){return this.__data__.set(t,o),this},Ot.prototype.has=function(t){return this.__data__.has(t)},Rt.prototype.clear=function(){this.__data__=new At},Rt.prototype.delete=function(t){return this.__data__.delete(t)},Rt.prototype.get=function(t){return this.__data__.get(t)},Rt.prototype.has=function(t){return this.__data__.has(t)},Rt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof At){var o=n.__data__;if(!lt||o.length<199)return o.push([t,e]),this;n=this.__data__=new It(o)}return n.set(t,e),this};var Mt=dt&&1/$(new dt([,-0]))[1]==r?function(t){return new dt(t)}:function(){};function kt(t,e,n,o,r,a){var i=2&r,s=t.length,c=e.length;if(s!=c&&!(i&&c>s))return!1;var u=a.get(t);if(u&&a.get(e))return u==e;var l=-1,p=!0,d=1&r?new Ot:void 0;for(a.set(t,e),a.set(e,t);++l<s;){var f=t[l],E=e[l];if(o)var m=i?o(E,f,l,e,t,a):o(f,E,l,t,e,a);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!G(e,(function(t,e){if(!d.has(e)&&(f===t||n(f,t,o,r,a)))return d.add(e)}))){p=!1;break}}else if(f!==E&&!n(f,E,o,r,a)){p=!1;break}}return a.delete(t),a.delete(e),p}function jt(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Bt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Nt(n)?n:void 0}var Gt=function(t){return nt.call(t)};function zt(t,e){return!!(e=null==e?a:e)&&("number"==typeof t||U.test(t))&&t>-1&&t%1==0&&t<e}function Ht(t,e){if(Xt(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!re(t))||(A.test(t)||!b.test(t)||null!=e&&t in Object(e))}function Wt(t){return t===t&&!ne(t)}function Vt(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(ut&&Gt(new ut(new ArrayBuffer(1)))!=C||lt&&Gt(new lt)!=d||pt&&Gt(pt.resolve())!=m||dt&&Gt(new dt)!=h||ft&&Gt(new ft)!=T)&&(Gt=function(t){var e=nt.call(t),n=e==E?t.constructor:void 0,o=n?Yt(n):void 0;if(o)switch(o){case mt:return C;case _t:return d;case ht:return m;case gt:return h;case St:return T}return e});var $t=Kt((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(re(t))return Ct?Ct.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return I.test(t)&&n.push(""),t.replace(O,(function(t,e,o,r){n.push(o?r.replace(R,"$1"):e||t)})),n}));function Qt(t){if("string"==typeof t||re(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Yt(t){if(null!=t){try{return tt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Kt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var o=arguments,r=e?e.apply(this,o):o[0],a=n.cache;if(a.has(r))return a.get(r);var i=t.apply(this,o);return n.cache=a.set(r,i),i};return n.cache=new(Kt.Cache||It),n}function qt(t,e){return t===e||t!==t&&e!==e}function Jt(t){return function(t){return oe(t)&&Zt(t)}(t)&&et.call(t,"callee")&&(!it.call(t,"callee")||nt.call(t)==i)}Kt.Cache=It;var Xt=Array.isArray;function Zt(t){return null!=t&&ee(t.length)&&!te(t)}function te(t){var e=ne(t)?nt.call(t):"";return e==p||"[object GeneratorFunction]"==e}function ee(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function ne(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function oe(t){return!!t&&"object"==typeof t}function re(t){return"symbol"==typeof t||oe(t)&&nt.call(t)==S}var ae=k?function(t){return function(e){return t(e)}}(k):function(t){return oe(t)&&ee(t.length)&&!!P[nt.call(t)]};function ie(t){return Zt(t)?vt(t):wt(t)}function se(t){return t}t.exports=function(t,e){return t&&t.length?function(t,e,n){var o=-1,r=j,a=t.length,i=!0,s=[],c=s;if(n)i=!1,r=B;else if(a>=200){var u=e?null:Mt(t);if(u)return $(u);i=!1,r=H,c=new Ot}else c=e?[]:s;t:for(;++o<a;){var l=t[o],p=e?e(l):l;if(l=n||0!==l?l:0,i&&p===p){for(var d=c.length;d--;)if(c[d]===p)continue t;e&&c.push(p),s.push(l)}else r(c,p,n)||(c!==s&&c.push(p),s.push(l))}return s}(t,Dt(e)):[]}},8858:function(t,e,n){"use strict";n.d(e,{ju:function(){return p},KV:function(){return _}});var o,r=n(7423),a=n(9756),i=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(){return(s=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},c=function(t,e,n,o){return new(n||(n=Promise))((function(r,a){function i(t){try{c(o.next(t))}catch(e){a(e)}}function s(t){try{c(o.throw(t))}catch(e){a(e)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,s)}c((o=o.apply(t,e||[])).next())}))},u=function(t,e){var n,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,o=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(s){a=[6,s],o=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},l=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]])}return n},p="__NEXT_REDUX_WRAPPER_HYDRATE__",d=function(){return"undefined"===typeof window},f=function(t,e){var n=(void 0===e?{}:e).deserializeState;return n?n(t):t},E=function(t,e){var n=(void 0===e?{}:e).serializeState;return n?n(t):t},m=function(t){var e=t.makeStore,n=t.context,r=function(){return e(n)};if(d()){var a=n,i=void 0;return a.req&&(i=a.req),a.ctx&&a.ctx.req&&(i=a.ctx.req),i?(i.__nextReduxWrapperStore||(i.__nextReduxWrapperStore=r()),i.__nextReduxWrapperStore):r()}return o||(o=r()),o},_=function(t,e){void 0===e&&(e={});var n=function(n){var o=n.callback,r=n.context;return c(void 0,void 0,void 0,(function(){var n,a,i,s,c;return u(this,(function(u){switch(u.label){case 0:return n=m({context:r,makeStore:t}),e.debug&&console.log("1. getProps created store with state",n.getState()),a=o&&o(n),(s=a)?[4,a(r)]:[3,2];case 1:s=u.sent(),u.label=2;case 2:return i=s||{},e.debug&&console.log("3. getProps after dispatches has store state",n.getState()),c=n.getState(),[2,{initialProps:i,initialState:d()?E(c,e):c}]}}))}))},o=function(t){return function(e){return c(void 0,void 0,void 0,(function(){var o,r,a;return u(this,(function(i){switch(i.label){case 0:return[4,n({callback:t,context:e})];case 1:return o=i.sent(),r=o.initialProps,a=o.initialState,[2,s(s({},r),{props:s(s({},r.props),{initialState:a})})]}}))}))}};return{getServerSideProps:function(t){return function(e){return c(void 0,void 0,void 0,(function(){return u(this,(function(n){switch(n.label){case 0:return[4,o(t)(e)];case 1:return[2,n.sent()]}}))}))}},getStaticProps:o,getInitialAppProps:function(t){return function(e){return c(void 0,void 0,void 0,(function(){var o,r,a;return u(this,(function(i){switch(i.label){case 0:return[4,n({callback:t,context:e})];case 1:return o=i.sent(),r=o.initialProps,a=o.initialState,[2,s(s({},r),{initialState:a})]}}))}))}},getInitialPageProps:function(t){return function(e){return c(void 0,void 0,void 0,(function(){return u(this,(function(o){return"getState"in e?[2,t&&t(e)]:[2,n({callback:t,context:e})]}))}))}},withRedux:function(n){var o,c="withRedux("+(n.displayName||n.name||"Component")+")",u="getInitialProps"in n;return(o=function(o){function u(t,e){var n=o.call(this,t,e)||this;return n.store=null,n.hydrate(t,e),n}return i(u,o),u.prototype.hydrate=function(n,o){var r,a=n.initialState,i=(n.initialProps,l(n,["initialState","initialProps"])),s=null===(r=null===i||void 0===i?void 0:i.pageProps)||void 0===r?void 0:r.initialState;this.store||(this.store=m({makeStore:t,context:o}),e.debug&&console.log("4. WrappedApp created new store with",c,{initialState:a,initialStateFromGSPorGSSR:s})),a&&this.store.dispatch({type:p,payload:f(a,e)}),s&&this.store.dispatch({type:p,payload:f(s,e)})},u.prototype.shouldComponentUpdate=function(t,e,n){var o,r,a,i;return(null===(o=null===t||void 0===t?void 0:t.pageProps)||void 0===o?void 0:o.initialState)===(null===(a=null===(r=this.props)||void 0===r?void 0:r.pageProps)||void 0===a?void 0:a.initialState)&&(null===t||void 0===t?void 0:t.initialState)===(null===(i=this.props)||void 0===i?void 0:i.initialState)||this.hydrate(t,n),!0},u.prototype.render=function(){var t,e,o=this.props,i=(o.initialState,o.initialProps),c=l(o,["initialState","initialProps"]),u=c;return i&&i.pageProps&&(u.pageProps=s(s({},i.pageProps),c.pageProps)),(null===(t=null===c||void 0===c?void 0:c.pageProps)||void 0===t?void 0:t.initialState)&&delete(u=s(s({},c),{pageProps:s({},c.pageProps)})).pageProps.initialState,(null===(e=null===u||void 0===u?void 0:u.pageProps)||void 0===e?void 0:e.initialProps)&&(u.pageProps=s(s({},u.pageProps),u.pageProps.initialProps),delete u.pageProps.initialProps),r.default.createElement(a.zt,{store:this.store},r.default.createElement(n,s({},i,u)))},u}(r.default.Component)).displayName=c,o.getInitialProps=u?n.getInitialProps:void 0,o}}}},2551:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=(n(859),n(2917),n(7347),n(868),n(6774));e.default=r.wrapper.withRedux((({Component:t,pageProps:e})=>o.default.createElement(t,e)))},2619:function(t,e,n){"use strict";n.r(e),n.d(e,{showToast:function(){return u},toast:function(){return r.Am},showPromiseToast:function(){return l}});var o=n(7423),r=n(782);n(859);const a=()=>o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{clipPath:"url(#clip0_444_79)"},o.default.createElement("path",{d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18Z",fill:"#E96B71",stroke:"#D32029",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.default.createElement("path",{d:"M10 13.9943V14M10 11.7102V6",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),o.default.createElement("defs",null,o.default.createElement("clipPath",{id:"clip0_444_79"},o.default.createElement("rect",{width:"20",height:"20",fill:"white"})))),i=()=>o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("g",{clipPath:"url(#clip0_403_103)"},o.default.createElement("path",{d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18Z",fill:"#00CB75",stroke:"#00B341",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.default.createElement("path",{d:"M7 10L9 12L13 8",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),o.default.createElement("defs",null,o.default.createElement("clipPath",{id:"clip0_403_103"},o.default.createElement("rect",{width:"20",height:"20",fill:"white"})))),s=()=>o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{d:"M9.99999 1.39172C10.7958 1.39172 11.5375 1.78089 11.9917 2.43089L12.0792 2.56422L18.8408 13.8542C19.0463 14.2101 19.1581 14.6124 19.1658 15.0232C19.1734 15.4341 19.0767 15.8402 18.8846 16.2035C18.6925 16.5668 18.4113 16.8754 18.0674 17.1005C17.7235 17.3255 17.3282 17.4595 16.9183 17.4901L16.7558 17.4967H3.23499C2.82475 17.4921 2.42236 17.3836 2.06539 17.1814C1.70841 16.9792 1.4085 16.6898 1.19363 16.3403C0.978768 15.9908 0.855959 15.5925 0.83667 15.1827C0.817381 14.7729 0.90224 14.3649 1.08333 13.9967L1.16583 13.8426L7.92416 2.56089C8.14055 2.20407 8.44524 1.90903 8.80884 1.70424C9.17244 1.49945 9.58269 1.39182 9.99999 1.39172ZM10.0083 12.5001L9.90249 12.5059C9.69995 12.53 9.51328 12.6275 9.37784 12.78C9.2424 12.9325 9.16759 13.1294 9.16759 13.3334C9.16759 13.5374 9.2424 13.7342 9.37784 13.8868C9.51328 14.0393 9.69995 14.1368 9.90249 14.1609L9.99999 14.1667L10.1058 14.1609C10.3084 14.1368 10.495 14.0393 10.6305 13.8868C10.7659 13.7342 10.8407 13.5374 10.8407 13.3334C10.8407 13.1294 10.7659 12.9325 10.6305 12.78C10.495 12.6275 10.3084 12.53 10.1058 12.5059L10.0083 12.5001ZM9.99999 6.66672C9.79588 6.66675 9.59888 6.74169 9.44635 6.87732C9.29382 7.01295 9.19637 7.19985 9.17249 7.40256L9.16666 7.50006V10.8334L9.17249 10.9309C9.19658 11.1334 9.29412 11.3201 9.44663 11.4555C9.59914 11.591 9.79602 11.6658 9.99999 11.6658C10.204 11.6658 10.4008 11.591 10.5534 11.4555C10.7059 11.3201 10.8034 11.1334 10.8275 10.9309L10.8333 10.8334V7.50006L10.8275 7.40256C10.8036 7.19985 10.7062 7.01295 10.5536 6.87732C10.4011 6.74169 10.2041 6.66675 9.99999 6.66672Z",fill:"#E13942"})),c=({type:t,msg:e})=>{const n="info",r=(p[t||"info"],d[t||"info"],"");let c="error"===t?a:"success"===t?i:"warning"===t?s:"",u=t||n;return o.default.createElement("div",{className:`wrap type-${u}`},o.default.createElement("div",{className:"inner-body"},o.default.createElement("div",{className:"new-icon-wrap",style:{display:"flex"}},"loader"===u?o.default.createElement("div",{className:"css-spinner"}):o.default.createElement(c,{width:"20",height:"20"})),o.default.createElement("p",{className:"text"},e||r)))};function u(t={}){const{type:e,title:n,iconClassName:a,timer:i,msg:s,fullpagewidth:u=!1}=t,l={containerId:"cd-client-toast",hideProgressBar:!0,position:"bottom-center",autoClose:"number"===typeof i?i:"undefined"===typeof i&&4e3,closeButton:!1,className:`cd-client-toast cd-client-toast-v1 ${u?"fullpagewidthbanner":""} type-${e}`,bodyClassName:"cd-client-toast-body",transition:r.LG},p={type:e,title:n,icon:a,msg:s};return(0,r.Am)(o.default.createElement(c,p),{...l})}async function l(t,e={}){const n={hideProgressBar:!0,position:"bottom-center",closeButton:!0,className:"cd-client-toast",bodyClassName:"cd-client-toast-body",transition:r.LG};return await r.Am.promise(t,{pending:"Promise is pending",success:"Promise resolved \ud83d\udc4c",error:"Promise rejected \ud83e\udd2f",...e},n)}const p={info:"Info",success:"Successfully Completed",warning:"Warning",error:"Error"},d={info:"icon-info-circle",success:"icon-check",warning:"icon-alert-triangle",error:"icon-bug-white"}},1717:function(t,e,n){"use strict";n.r(e),n.d(e,{useWhatChanged:function(){return G},getCompleteUrl:function(){return Ye},getUrlParameters:function(){return Je},getTreeListFromForm:function(){return Q},findFormElements:function(){return qe},getFormFieldsAndSubmitPublicForm:function(){return Ke},extractNumber:function(){return Ve},unlinkVariablesUsedInProjectHelper:function(){return Qe},generateCSSVariablesFromStyleguide:function(){return $e},isPageUnlisted:function(){return We},isMobile:function(){return He},isPartOfComponent:function(){return Be},getCustomizationDataItems:function(){return ze},traverseTillTopLevelElementOfComponent:function(){return Ge},findContext:function(){return je},getPlaygroundProject:function(){return ke},getGuestCustomizationDataIdFromLocalStorage:function(){return De},showRightSidebarHelpAlert:function(){return xe},handleCloseRightSidebarHelpAlert:function(){return Ne},returnSubdomainFeedback:function(){return Pe},decodeURL:function(){return Ue},getCookie:function(){return ve},getFunctionsUsed:function(){return Oe},preqrequisiteToGeneratingCSS:function(){return Ie},mergeLayoutsAndRemoveDuplicates:function(){return Ae},updateUnit:function(){return be},getUnit:function(){return Ce},deleteProperty:function(){return Te},bindHelpersToWindow:function(){return ge},findParentBlockNode:function(){return he},initiateColumnIcons:function(){return _e},initiateBuilderHostFunctions:function(){return me},addClassNames:function(){return St},addComponentModuleToObject:function(){return Ht},addMultipleImports:function(){return Gt},addNewItem:function(){return ut},addRemoveOnDragOverClass:function(){return mt},addToHiddenLayouts:function(){return vt},appendDefaultMeasurementsToLayout:function(){return oe},builderComponentParams:function(){return v},camelCaseToDash:function(){return It},checkIfElementIsPartOfAGroup:function(){return ht},checkIfUndoable:function(){return Vt},checkIfCurrentContextIsLinkedComponentCanvas:function(){return ie},containerHeight:function(){return _t},convertCss:function(){return At},convertLeftToMarginLeft:function(){return pt},convertTopToMarginTop:function(){return lt},createComponents:function(){return ct},createHeaders:function(){return Lt},createLayouts:function(){return st},createUrl:function(){return xt},deepDiffMapper:function(){return Kt},deleteClassname:function(){return Tt},doTwoElementsCollide:function(){return qt},duplicateComponent:function(){return re},duplicateComponentHelper:function(){return dt},findAllChildren:function(){return K},findViewFromBreakpoint:function(){return pe},findAllChildrenLayout:function(){return J},findAllParents:function(){return q},findCollisionPercentage:function(){return j},findComponentsWithParent:function(){return tt},findImmediateFormParent:function(){return wt},findImmediateParentByName:function(){return Dt},findLayout:function(){return B},findMinMaxXY:function(){return et},findOverlapPercentage:function(){return k},findParentFromNode:function(){return V},fixLayoutBeforeDrop:function(){return Bt},generateCSS:function(){return Ot},generateFormParameters:function(){return Ft},generateSlug:function(){return Mt},getChildIdsOfLinkedInstance:function(){return ue},getAllHiddenComponents:function(){return Pt},getCanvasIframe:function(){return Xt},getCanvasIframeDocument:function(){return Zt},getCanvasIframeWindow:function(){return te},getClassNamesStyleData:function(){return Rt},getComponentByClientId:function(){return ee},getFlexDirectionFromCSS:function(){return Nt},getHorizontalPadding:function(){return nt},getFilteredBlueprints:function(){return ae},getOffsetLeft:function(){return ot},getOffsetTop:function(){return rt},getOffsetBetweenUnrelatedElements:function(){return at},getPaddingObject:function(){return ft},getParentIdByClientId:function(){return ne},getResponsiveFontSize:function(){return $t},getStatesUsedByClassname:function(){return Ct},getStatesUsedByComponentStyle:function(){return bt},getTreeStructure:function(){return Y},getTreeListArray:function(){return $},getViewFromScreenWidth:function(){return Wt},gotoParent:function(){return L},hasChildWithId:function(){return W},importBasicComponents:function(){return zt},initializeGridLayout:function(){return kt},innerDimensions:function(){return Yt},isArrayEqual:function(){return w},isChildInsideCanvas:function(){return F},isChildInsideParent:function(){return M},isEmpty:function(){return it},isInstanceOfAnyLinkedComponent:function(){return se},isPartOfLinkedInstance:function(){return ce},mergeTwoLayouts:function(){return Z},removeDragBadge:function(){return Jt},removeFromHiddenLayouts:function(){return Ut},replaceBulk:function(){return X},returnUpdatedUsedBy:function(){return le},rgba2hex:function(){return gt},setGuideLinesHelper:function(){return H},showPreview:function(){return de},splitString:function(){return Et},triggerMouseEvent:function(){return x},updateClassname:function(){return yt},updateGridLayout:function(){return jt},whatChanged:function(){return z},sequenceExecutor:function(){return D},isUpdatedValueInText:function(){return fe},isPositionAbsolute:function(){return Ee},executeEvent:function(){return N},removeEventKey:function(){return P},updateUserRole:function(){return Se},createEvent:function(){return ye},createBadgeForDrag:function(){return Qt},mergeResponsiveLayouts:function(){return Re},COLORS:function(){return U},isValidPathname:function(){return Le},isGuestCustomizationDataLegacyFormat:function(){return we},getProjectFromURL:function(){return Me},getCustomizationData:function(){return Fe},cleanupBlueprint:function(){return Xe},handleLinkClickAction:function(){return en},handleHoverLinkAction:function(){return nn}});var o=n(8908),r=n.n(o),a=n(4961),i=n(8697),s=n(2641),c=n.n(s),u=n(1697),l=n.n(u),p=n(3902),d=n(5236),f=n(6774),E=n(7100),m=n(930),_=n(6811),h=n(6332),g=n(6354),S=n(2307),T=n.n(S),y=n(7423),C=n(8867),b=n(6160),A=n(2619),I=n(8618),O=n.n(I),R=n(4155);const v={stateNames:["default","hover","active","placeholder"]},U={warning900:"#3D2800",warning600:"#F59F00",warning400:"#FFBC3F",blue600:"#0468C5",blue50:"#ECF5FF",neutral0:"#ffffff",neutral25:"#fbfbfb",neutral50:"#f6f6f6",neutral100:"#eeeeee",neutral200:"#e2e2e2",neutral300:"#cbcbcb",neutral400:"#afafaf",neutral500:"#757575",neutral600:"#545454",neutral650:"#444444",neutral700:"#333333",neutral750:"#292929",neutral800:"#1f1f1f",neutral850:"#1a1a1a",neutral900:"#141414",neutral1000:"#000000"},P=t=>{let e=t.split("_");return e.shift(),e=e.join("_"),e},L=(t,e)=>{const{clientId:n,storeCurrentComponentId:o,toggleComponentEditModal:r,iframeDocument:a,documentContext:i}=e;if(t===n)return;let s;s=a||i;let c=s.getElementById(`${t}-customizationParent`);if(!c)return o("Global0007"),void r(!1);setTimeout((()=>{x(c,"mousedown",s),r(!1),r(!0)}))};function x(t,e,n){var o=n.createEvent("MouseEvents");o.initEvent(e,!0,!0),t.dispatchEvent(o)}const N=(t,e,n)=>{if("page"!==n)return;const o=Array.isArray(t[e]),r=t?.[e];o?t?.[e]?.map((t=>{t?.()})):r&&Object.values(r).map((t=>{t?.map((t=>{t?.()}))}))},D=(t,e,n="")=>function(){const{getState:o}=f.clientStore,r=o(),{functionDefinitions:a=[]}=r.functions.data,{context:i}=r.customization.present,{blueprint:s}=r.customization.present.data;let c=a[t]?.sequence;const u=c&&c.flat(1/0);let l;return u&&"object"===typeof u&&u.length>0&&(l=u.map((o=>e[o.name].apply(null,[...o.arguments,s,i,n,t])))),l?.[0]},w=(t,e)=>t.length===e.length&&t.every((function(t,n){return t===e[n]}));function F(t,e,n){let o,r,a,i,s=ot(n,"sl-rgl"),c=rt(n,"sl-rgl");const{offsetHeight:u,offsetWidth:l}=t,{offsetHeight:p,offsetWidth:d}=e;return r=s+l>d,o=s<=0,a=c<=0,i=c+u>p,{top:a,right:r,bottom:i,left:o}}function M(t,e){let n,o,r,a;const{offsetTop:i,offsetLeft:s,offsetHeight:c,offsetWidth:u}=t,{offsetHeight:l,offsetWidth:p}=e;return o=s+u>p,n=s<0,r=i<0,a=i+c>l,{top:r,right:o,bottom:a,left:n}}function k(t,e,n){const{offsetTop:o,offsetLeft:r,offsetHeight:a,offsetWidth:i}=t;let{offsetTop:s,offsetLeft:c,offsetHeight:u,offsetWidth:l}=e;n||(c=0,s=0);const p=r+i,d=c+l,f=o+a,E=s+u;return(Math.max(r,c)-Math.min(p,d))*(Math.max(o,s)-Math.min(f,E))/(i*a)*100}function j(t,e,n){return k({offsetTop:t.y,offsetLeft:t.x,offsetHeight:t.h,offsetWidth:t.w},{offsetTop:e.y,offsetLeft:e.x,offsetHeight:e.h,offsetWidth:e.w},n)}function B(t,e){let n={};if(e.components[t]){let o=e.components[t].parent;if("undefined"!==typeof o&&e[o]?Object.keys(e[o]).map((r=>{e[o][r]&&(n[r]=e[o][r].filter((e=>e?.i===t)))})):Object.keys(e.layouts).map((o=>{e.layouts[o]&&(n[o]=e.layouts[o].filter((e=>e?.i===t)))})),Object.keys(n).length>0)return n}return{}}function G(t,e,n){const o=(0,y.useRef)(),r=(0,y.useRef)();(0,y.useEffect)((()=>{const n=o.current,a=r.current;n&&Object.keys(t).forEach((e=>{t[e],n[e]})),a&&Object.keys(e).forEach((t=>{e[t],a[t]})),o.current=t,r.current=e}),[t,e,n])}function z(t,e,n,o,r){Object.keys(t).filter((n=>t[n]!==e[n])).map((t=>!0)),Object.keys(n).filter((t=>n[t]!==o[t])).map((t=>!0))}function H(t,e,n,o,r,a){if(!t&&e&&n&&o){let t,o,i,s,c=e.getBoundingClientRect();return t=c.top+(a?a.top:r.pageYOffset),o=t+c.height,i=r.pageXOffset+c.left+(a?a.left:0),s=i+c.width,{topGuide:{borderTop:"1px solid rgb(255,0,0)",top:`${t}px`,left:"2px",height:"2px",width:"calc(100% - 360px)",position:"absolute"},rightGuide:{borderRight:"1px solid rgb(255,0,0)",top:"52px",left:`${s}px`,width:"2px",maxHeight:"100vh",height:`${n}px`,position:"absolute"},bottomGuide:{borderBottom:"1px solid rgb(255,0,0)",top:`${o}px`,left:"2px",height:"2px",width:"calc(100% - 360px)",position:"absolute"},leftGuide:{borderLeft:"1px solid rgb(255,0,0)",top:"52px",left:`${i}px`,width:"2px",maxHeight:"100vh",height:`${n}px`,position:"absolute"}}}return{topGuide:{},rightGuide:{},bottomGuide:{},leftGuide:{}}}function W(t,e){return null!=e.querySelector(`#${t}`)}function V(t){let e,n=[t],o=0;function r(t){return t.endsWith("-customizationParent")||t.endsWith("-firstChild")||t.endsWith("-labelhead")}if(t.id&&r(t.id))e=t.id.split("-"),e.pop();else for(;n[o].parentNode&&"sl-rgl"!==n[o].parentNode.id;)if(n.push(n[o].parentNode),o+=1,n[o].id&&r(n[o].id)){e=n[o].id.split("-"),e.pop();break}if(e)return e.join("-")}const $=(t,e)=>{const n=[],o=new Set,r=a=>{a.forEach((a=>{o.has(a.i)||(n.push(a.i),o.add(a.i),e[t][a.i]&&r(e[t][a.i].lg))}))};return r(e[t].layouts.lg),n},Q=(t,e)=>{try{const n=[],o=new Set;if(!e||!t[e])return[];const r=e=>{e.forEach((e=>{if(!o.has(e.i)){o.add(e.i);const a=t.components[e.i];a&&a.formElementType&&n.push(a),t[e.i]&&r(t[e.i].lg)}}))};return r(t[e].lg),n}catch(n){return console.error("Error occured parsing the form",n),[]}};function Y(t,e,n=[],o={},r=!0,a=1){try{let i,s=t[e],c=o;if(("undefined"!==typeof s||!s&&r)&&(i=[...Object.keys(t.components).filter((n=>s?t.components[n].parent===e:"undefined"===typeof t.components[n].parent))],i.length>0)){e&&(n=[...n,e]);const o=t.components?.[i[0]]?.parent||"layouts",r="lg",s=t[o]?.[r].filter((t=>i.includes(t.i))).map((t=>t.i));c._children=s.filter((t=>"Global0007"!==t)).map((e=>Y(t,e,n,c[e],!1,a+1)))}const u=t.components[e],l=r?{client_id:"Global0007",name:"Body",displayName:"Body",type:"cd-body",category:"body"}:{...u};return s||r?(c._data=l,c):{_data:l,_children:null}}catch(i){return console.error("Error occured children",i),[]}}function K(t,e,n=[],o,r={}){const a=new Set(n);try{return function e(n){let o=Object.keys(t.components).filter((e=>t.components[e].parent===n));r.returnDirectChildren?o.forEach((t=>a.add(t))):(a.add(n),o.forEach((t=>{e(t)})))}(e),o?Array.from(a):Array.from(a).filter((t=>t!==e))}catch(i){return console.error("Error occurred",i),[]}}function q(t,e,n,o){try{let r=t.components[e]&&t.components[e].parent,a=t.components[e]?.givenName;return null!=r&&(n=q(t,r,n,!0)),r?[...o?[{clientId:e,givenName:a}]:[],...n]:[{clientId:e,givenName:a},...n]}catch(r){return console.error("Error occured warHero",r),[]}}function J(t,e,n,o){let r={};if(o)return o.map((e=>{t[e]&&(r={...r,[e]:t[e]})})),r;for(let a=0;a<r[e][n].length;a++){let o=r[e][n][a].i;if(t[o]){r={...r,[o]:t[o]};for(let e=0;e<r[o][n].length;e++)t[r[o][n][e].i]&&(o=r[o][n][e].i,r={...r,[o]:t[o]})}}return r}function X(t,e,n){var o,r=[],a={};for(o=0;o<e.length;o++)r.push(e[o].replace(/([-[\]{}()*+?.\\^$|#,])/g,"\\$1")),a[e[o]]=n[o];return r=r.join("|"),t=t.replace(new RegExp(r,"g"),(function(t){return a[t]}))}function Z(t,e,n){let o={lg:[],sm:[],md:[],bp_1280:[],bp_1440:[],bp_1920:[]};return Object.keys(t).map((r=>{t[r].map((t=>{let a=[{...t}];n[t?.i]&&(a=[...a,e[r].find((e=>e.i===n[t?.i]))]),o[r]=[...o[r],...a]}))})),o}function tt(t,e){return Object.keys(t.components).filter((n=>t.components[n].parent===e))}function et(t){var e;if(t&&!(t.length<1))return{minX:(e=t,e.reduce(((t,e)=>e.x<t?e.x:t),e[0].x)),maxX:function(t){return t.reduce(((t,e)=>e.x+e.w+(e.x1?e.x1:0)>t?e.x+e.w+(e.x1?e.x1:0):t),t[0].x+t[0].w)}(t),minY:function(t){return t.reduce(((t,e)=>e.y<t?e.y:t),t[0].y)}(t),maxY:function(t){return t.reduce(((t,e)=>e.y+e.h+(e.y1?e.y1:0)>t?e.y+e.h+(e.y1?e.y1:0):t),t[0].y+t[0].h)}(t)}}function nt(t,e){let n=0,o=0;if(t&&t.offsetParent)do{n+=parseFloat(window.getComputedStyle(t,null).getPropertyValue("padding-left")),o+=parseFloat(window.getComputedStyle(t,null).getPropertyValue("padding-right")),t=t.offsetParent}while(e?t&&t.id!==e:t);return{paddingLeft:n,paddingRight:o}}function ot(t,e,n=!1){let o=0;if(t&&t.offsetParent)do{o+=t.offsetLeft,t=t.offsetParent}while(e?t&&t.id!==e:t);return o<0&&!n?0:o}function rt(t,e,n=!1){let o=0;if(t&&t.offsetParent)do{o+=t.offsetTop,t=t.parentNode}while(t&&t.id!==e);return o<0&&!n?0:o}function at(t,e,n,o){function r(t){let e=t.getBoundingClientRect();const o=n.getElementById("heroSection");let r=o.scrollLeft,a=o.scrollTop;return{top:e.top+a,left:e.left+r}}let a=r(t),i=r(e);return{x:i.left-a.left,y:i.top-a.top}}const it=t=>null===t||void 0===t||Object.prototype.hasOwnProperty.call(t,"length")&&0===t.length||""===t||t.constructor===Object&&0===Object.keys(t).length;function st(t,e,n,o){let r={lg:[],sm:[],md:[],bp_1280:[],bp_1440:[],bp_1920:[]};return r=ut(e,n,o,t,r),r}const ct=(t,e)=>{let n={author:"Storylens",category:"blocks",components:null,context:["Homepage","something"],custom:!1,props:{componentData:{hideIn:[]}},type:"block"},o={};return t.map(((r,a)=>{o={...o,[r]:{...n,...e,client_id:t[a]}}})),o};function ut(t,e,n,o,r){return Object.keys(t).map((a=>{let i=0,s=0,c=1,u=0,l=t[a].slice(0,t[a].length-1).reduce(((t,e)=>t+e),0);t[a].map(((e,n)=>{t[a].slice(u,n).reduce(((t,e)=>t+e),0)>=12&&(u=n,c+=1)}));let p=n?l<12?n[a][0].h:n[a][0].h/c:10;t[a].map(((n,c)=>{t[a].slice(i,c).reduce(((t,e)=>t+e),0)>=12&&(i=c,s+=1),r[a][c]||(r[a]=[...r[a],{w:n,h:p,y:p*s,x:t[a].slice(i,c).reduce(((t,e)=>t+e),0),parent:e,i:o[c],moved:!1,static:!1}])}))})),r}const lt=(t,e,n)=>{let o=[];for(let c=0,u=t.length;c<u;c++)(0,i.collidesOnYAxis)(t[c],e)&&(o=[...o,t[c]]);o=(0,i.sortLayoutItems)(o,"vertical");let r,a=o.findIndex((t=>t.i===e.i)),s={};if(a&&a>0){let t=o[a-1].y+o[a-1].h+(o[a-1].y1||0);r={difference:o[a].y-t,base:t}}else r={difference:e.y,base:0};if(n){let t=n.clientHeight;s={aDifference:r.difference/t*2*100,aBase:r.base/t*2*100}}return r={...r,...s},r},pt=(t,e)=>{let n=[];for(let r=0,a=t.length;r<a;r++)(0,i.collidesOnXAxis)(t[r],e)&&(n=[...n,t[r]]);n=(0,i.sortLayoutItems)(n,"horizontal");let o=n.findIndex((t=>t.i===e.i));if(o&&0!==o&&o>0){let t=n[o-1].x+n[o-1].w+(n[o-1].x1||0);return{difference:n[o].x-t,base:t}}return{difference:e.x,base:0}},dt=(t,e={})=>{const{blueprint:n,context:o,view:r,clientId:i,classes:s={}}=t,{getState:c}=f.default,u=(c(),n[o].components[i]),p=n[o][i],d=u.parent;let E,m="tablet"===r||"md"===r?"md":"mobile"===r||"sm"===r?"sm":"bp_1280"===r?"bp_1280":"bp_1440"===r?"bp_1440":"bp_1920"===r?"bp_1920":"lg",_=l()(n[o]),h=K(_,i,[],!0).flat(1/0),g=h.map((t=>_.components[t]));if(h?.length>1)E=J(_,i,m,h);else{const t=g[0].parent||"layouts";E={[t]:{}},h.map((e=>{Object.keys(_[t]).map((n=>{E[t][n]=_[t][n].filter((t=>t.i===e))}))}))}let S={};h.map((t=>S[t]=t.substring(0,t.length-4)+(0,a.default)(4)));let T={};g.map((t=>{let e=t.client_id,n=S[t.client_id];t={...t,client_id:n,parent:S[t.parent]||t.parent};let o=JSON.parse(X(JSON.stringify(t),Object.keys(S).map((t=>t.slice(-4))),Object.values(S).map((t=>t.slice(-4)))));T[S[e]]=o})),T=JSON.parse(X(JSON.stringify(T),Object.keys(S),Object.values(S)));let y=JSON.parse(X(JSON.stringify(E),Object.keys(S),Object.values(S))),C=B(i,_);C=JSON.parse(X(JSON.stringify(C),Object.keys(S),Object.values(S))),y[d||"layouts"]=Z(_[d||"layouts"],C,S);let b={},A={},I=[];return Object.values(T).map((t=>{const e=t.classes||[];I=[...I,...e];const n=t?.props?.componentStyle?.global?.fontFamily;n&&(b={...b,[t.client_id]:{clientId:t.client_id,fontFamily:n}})})),I=Array.from(new Set(I)),I.map((t=>{const e=s[t];if(!e)return;const n=e?.props?.componentStyle?.global?.fontFamily;A={...A,[t]:e},n&&(b={...b,[t]:{className:t,fontFamily:n}})})),{isParent:p,newChildrenComponents:T,newLayouts:y,context:o,uniqueId:S[i],classes:A,fonts:b}},ft=(t="")=>{let e,n,o,r,a=t.split(" ");return t&&a&&0!==a.length?(1===a.length?e=n=o=r=parseInt(a[0]||0,10):2===a.length?(e=n=parseInt(a[0]||0,10),o=r=parseInt(a[1]||0,10)):(e=parseInt(a[0]||0,10),o=parseInt(a[1]||0,10),n=parseInt(a[2]||0,10),r=parseInt(a[3]||0,10)),{top:e,bottom:n,right:o,left:r}):{top:0,bottom:0,right:0,left:0}},Et=t=>{let e=t.length-1,n=0,o=0,r=[];for(let a=0;a<=e;a++)if(0!==r.length)if(1!==r.length||"/"!==t[a])if(2!==r.length||" "!==t[a])if(3!==r.length||" "!==t[a])4!==r.length&&5!==r.length||" "!==t[a]?a!==e||(r=[...r,t.substring(o,a+1)],o=a+1):(r=[...r,t.substring(o,a)],o=a+1);else{if("r"===t[a+1]&&"e"===t[a+2]||"r"===t[a+1]&&"o"===t[a+2]||"r"===t[a+1]&&"e"===t[a+2]||"s"===t[a+1]&&"p"===t[a+2]||"n"===t[a+1]&&"o"===t[a+2])continue;r=[...r,t.substring(o,a)],o=a+1}else("r"===t[a+1]&&"e"===t[a+2]||"r"===t[a+1]&&"o"===t[a+2]||"r"===t[a+1]&&"e"===t[a+2]||"s"===t[a+1]&&"p"===t[a+2]||"n"===t[a+1]&&"o"===t[a+2])&&(r=[...r,t.substring(o,a)],o=a+1);else r=[...r,t.substring(o,a)],o=a+1;else 0===n&&" "===t[a]?(r=[...r,t.substring(o,a)],o=a+1):"("===t[a]&&0===r.length?n+=1:")"===t[a]&&0===r.length&&(n-=1);return r=r.map((t=>t=(t=t.replace(/^,|,$/g,""))&&t.trim())),r},mt=(t,e,n)=>{let o=(n||document).getElementById(`${t}-customizationParent`);o&&("add"==e?o.classList.add("cd_dragover"):o.classList.remove("cd_dragover"))};function _t(t,e){if(!t)return"100%";return(0,i.bottom)(t)*e+"px"}const ht=(t,e)=>{const n=(0,d.checkNested)(t,"components",e,"props","componentData","groupChildren")&&t.components[e].props.componentData.groupChildren,o=(0,d.checkNested)(t,"components",e,"props","componentData","childOf")&&t.components[e].props.componentData.childOf;return n||o&&o.length>0};function gt(t){var e=t.replace(/\s/g,"").match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i),n=(e&&e[4]||"").trim(),o=e?(256|e[1]).toString(16).slice(1)+(256|e[2]).toString(16).slice(1)+(256|e[3]).toString(16).slice(1):t;return"#"+(o+=(255*(""!==n?n:Number(1))|256).toString(16).slice(1))}const St=(t="",e,n,o,r)=>{if(t&&e&&n&&o){let a={...e,[n]:{...e[n],components:{...e[n].components,[o]:{...e[n].components[o],classes:e[n].components[o].classes?[...e[n].components[o].classes,t]:[t]}}}};(!a[n].classes||!Object.prototype.hasOwnProperty.call(a[n].classes,t))&&(a={...a,[n]:{...a[n],classes:{...a[n].classes,[t]:{}}}}),r(a)}},Tt=(t,e,n,o)=>{if(t&&e&&n){let r={};Object.keys(e[n].components).map((o=>{let a=e[n].components[o];if(a.classes){let e=a.classes.filter((e=>e===t));a.classes=e}r={...r,[o]:a}}));let a={...e,[n]:{...e[n],components:r}};delete a[n].classes[t],o(a)}},yt=(t,e,n,o,r)=>{if(t&&e&&n&&o){let a=n[o].classes[t],i={};Object.keys(n[o].components).map((r=>{let a=n[o].components[r];if(a.classes){let n=a.classes.map((n=>n===t?e:n));a.classes=n}i={...i,[r]:a}}));let s={...n,[o]:{...n[o],components:i,classes:{...n[o].classes,[e]:a}}};delete s[o].classes[t],r(s)}},Ct=(t,e)=>{let n=[];if(e){const o=e[t];o&&o.props&&Object.keys(o.props).map((t=>{if("componentStyle"===t)return;let e=o.props[t],r=!1;"object"===typeof e&&Object.keys(e).length>0&&(Object.keys(e).map((t=>{"object"===typeof e[t]&&Object.keys(e[t]).length})),r=!0),r&&(n=[...n,t])}))}return n},bt=(t,e,n)=>{let o=[];if(t){let r=e[n].components[t]&&e[n].components[t].props||{};const a=v.stateNames.filter((t=>"default"!==t));Object.keys(r).map((t=>{if(!a.includes(t))return;let e=r[t],n=!1;"object"===typeof e&&Object.keys(e).length>0&&(Object.keys(e).map((t=>{"object"===typeof e[t]&&Object.keys(e[t]).length})),n=!0),n&&(o=[...o,t])}))}return o};function At(t={}){let e={};Object.keys(t).map((n=>{if("_custom"!==n){if("object"!==typeof t[n])e[It(n)]=t[n];else if("object"===typeof t[n]&&null!=t[n])for(const o in t[n])e[It(o)]=t[n][o]}else e[n]=t[n]}));const{_custom:n,...o}=e;return e={...o,...n},function(t){let e="";const n=["_custom"];return Object.keys(t).filter((t=>!n.includes(t))).map((n=>{e=e.concat(`${n}:${t[n]};`)})),e}(e)}function It(t){return t.replace(/[^a-zA-Z0-9]+/g,"-").replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([^0-9])/g,"$1-$2").replace(/([^0-9])([0-9])/g,"$1-$2").replace(/-+/g,"-").toLowerCase()}function Ot(t={}){const{id:e,cssCombinedObject:n}=t,{main:o,focus:r,hover:a,active:i,placeholder:s}=n;return`${`[data-clientId="${e}"]{${o}}`} ${r?`[data-clientId="${e}"]:focus{${r}}`:""} ${a?`[data-clientId="${e}"]:hover{${a}}`:""} ${i?`[data-clientId="${e}"]:active{${i}}`:""} ${s?`[data-clientId="${e}"]::placeholder{${s}}`:""}`.trim()}function Rt(t={}){const{extraStyles:e={},classes:n={},component:o={},currentStateName:r="",origin:a="",stateNames:i=[]}=t;let s=!1,c={};o.classes&&o.classes.length>0&&(s=!0,o.classes.map((t=>{c={...c,[t]:n[t]}})));let u={};const l=t=>({...t,...t._custom||{}});i.map((t=>{const e="default"===t?"componentStyle":t;let n=o&&o.props&&o.props[e]||{};Object.keys(n).map((t=>{u[e]={...u[e],[t]:{...u[e]?u[e][t]:{},...l(n[t])}}}))})),s&&Object.keys(c).map((t=>{let e=c[t];i.map((t=>{const n="default"===t?"componentStyle":t;let o=e&&e.props&&e.props[n]||{};Object.keys(o).map((t=>{u[n]={...u[n],[t]:{...u[n]?u[n][t]:{},...l(o[t])}}}))}))}));let p={};const f=u||{},E=f[""===r?"componentStyle":r]||{};let m={global:{...e,...f.componentStyle?f.componentStyle.global:{}},tablet:{...e,...f.componentStyle?f.componentStyle.tablet:{},...E.tablet},mobile:{...e,...f.componentStyle?f.componentStyle.mobile:{},...E.mobile},bp_1920:{...e,...f.componentStyle?f.componentStyle.bp_1920:{},...E.bp_1920},bp_1440:{...e,...f.componentStyle?f.componentStyle.bp_1440:{},...E.bp_1440},bp_1280:{...e,...f.componentStyle?f.componentStyle.bp_1280:{},...E.bp_1280}};"builderCanvas"===a?m={...m,global:{...m.global,...E.global},tablet:{...m.tablet,...E.tablet},mobile:{...m.mobile,...E.mobile},bp_1280:{...m.bp_1280,...E.bp_1280},bp_1440:{...m.bp_1440,...E.bp_1440},bp_1920:{...m.bp_1920,...E.bp_1920}}:Object.keys(f).map((t=>{if(""===t||"default"===t)return;let e=f[t];p={...p,[t]:e}}));let _=m.global.fontSize,h=m.tablet.fontSize?m.tablet.fontSize:_,g=m.mobile.fontSize?m.mobile.fontSize:_;return m={...m,tablet:{...m.tablet,fontSize:h},mobile:{...m.mobile,fontSize:g}},{hasClassesInsideComponent:s,builderStyles:(0,d.clean)(m),stateStyles:"builderCanvas"===a?void 0:(0,d.clean)(p)}}const vt=(t,e,n)=>{let o=e&&e.hiddenLayouts||{lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]};return o[t].filter((t=>t.i===n.i))[0]?o[t]=o[t].map((t=>t.i===n?n:t)):o={...o,[t]:[...o[t],n]},o},Ut=(t,e,n)=>{let o=e&&e.hiddenLayouts||{lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]};if(o&&o[t])return o[t]=e.hiddenLayouts[t].filter((t=>t.i!==n)),o};function Pt(t,e){const n=t[e].components||{};let o=[];return Object.keys(n).length>0&&Object.keys(n).map((t=>{const e=n[t],{componentData:r}=e.props||{},{hideIn:a=[]}=r||[];if(0==a.length)return;let i={hideIn:a,component:e};o.push(i)})),o}function Lt(t){let e=new Headers;return t.headers&&t.headers.map((t=>{e.append(t.key,t.value)})),e}const xt=t=>{let e={};t.parameters&&t.parameters.map((t=>{e[t.key]=t.value}));let n=t.endpoint;return/^https?:\/\//i.test(n)||(n="https://"+n),c()(n,{queryParams:e})};function Nt(t,e,n){let o=pe(n);"web"===o&&(o="global");return t.components?.[e]?.props?.componentStyle?.[o]?.flexDirection||t.components?.[e]?.props?.componentStyle?.global?.flexDirection||"row"}function Dt(t,e,n=""){let o;if(!n)return;let r=t;if(t&&e&&e.components&&e.components[r])for(;e.components[r].parent;)if(r=e.components[r].parent,e.components[r].name===n){o=r;break}return o}function wt(t,e){return Dt(t,e,"Form")}function Ft(t,e){let n=K(e,t,[],!1).flat(1/0)||[];return n=n.filter((t=>["Input","TextArea","Select","Dropdown"].includes(e.components[t].name))).map((t=>e.components[t])).map((t=>{let e=document.getElementById("slPreviewFrame"),n=(e?e.contentDocument:document).querySelector(`[data-clientId=${t.client_id}]`),o=n?n.value:"";return{key:(0,d.checkNested)(t,"props","componentData","name")?t.props.componentData.name:null,value:o}})),n}function Mt(t){return t.toString().toLowerCase().trim().replace(/\s+/g,"").replace(/&/g,"and").replace(/[^\w\-]+/g,"").replace(/\-\\\-+/g,"").replace(/-{2,}/g,"")}async function kt({blueprint:t,updateBlueprintContents:e,type:n,client_id:o,previewContext:a}){let i;i=a||(void 0===window.location.hash||""===window.location.hash?"home":window.location.hash.substr(1));let s,c=t&&t[i]&&t[i].components?t[i].components:{},u=l()(c);s=(t,e)=>t.parent===e;let p={};if("canvas"===n)p=await zt(u);else{let t=Object.values(u).filter((t=>s(t,o))),e={};t.map((t=>{e[t.client_id]=t})),p=await zt(u)}const{getState:d}=f.default;(d()||{}).customization.present.data.blueprint;return r().serverLoadedComponents=p,!0}async function jt({prevProps:t,blueprint:e,updateBlueprintContents:n,type:o,context:r,client_id:a}){if(Object.keys(t.blueprint[r].components).length!=Object.keys(e[r].components).length||"canvas"!==o){let t,i=l()(e[r].components),s=[];if("canvas"===o?(t=t=>"undefined"===typeof t.parent&&"Global"!==t.name&&(!t.component||t.component&&0===Object.keys(t.component).length),s=Object.values(i).filter((e=>t(e)))):"gridlayoutchild"===o&&(t=(t,e)=>t.parent===e&&"Global"!==t.name&&(!t.component||t.component&&0===Object.keys(t.component).length),s=Object.values(i).filter((e=>t(e,a)))),!s||s&&0===s.length)return!0;let c={};s.map((t=>{c[t.client_id]=t}));let u=await zt(i),p=f.default.getState().customization.present.data.blueprint;return n("blueprint",{...p,[r]:{...p[r],components:{...p[r].components,...u}}},!1),!0}}function Bt(t,e){Object.keys(e)}async function Gt(t){return await Promise.all(Object.values(t).map((async t=>(t.component=await n(5031)(`./${t.main}`),t))))}async function zt(t){const{dispatch:e,getState:o}=f.default,{BASIC_BLOCKS_MAPPING:r}=p.builderConstants,a=o(),{basicComponentsInit:i,basicComponentModules:s}=a.customization.present;if(i)return t=Ht(t,r,s);{let o={};if(await Promise.all(Object.keys(r).map((async t=>(o[t]=await n(5031)(`./${r[t]}`),t)))))return e({type:E.customizationConstants.IMPORT_BASIC_COMPONENTS,payload:o}),t=Ht(t,r,o)}}function Ht(t,e,n){return Object.values(t).map((t=>{const o=Object.keys(e).find((n=>e[n]===t.main));t.component=n[o]})),t}const Wt=(t,e={activeBreakpoints:[]})=>{const{activeBreakpoints:n}=e;return t<=480?"mobile":t>480&&t<=1024?"tablet":n&&n.includes("bp_1280")&&t>=1280&&t<1440?"bp_1280":n&&n.includes("bp_1440")&&t>=1440&&t<1920?"bp_1440":n&&n.includes("bp_1920")&&t>=1920?"bp_1920":"web"};function Vt(t="",e={}){const{dispatch:n,getState:o}=f.default,r=o().customization.present.isStoringUndo;return("REQUEST_SAVE_LAYOUT"!==t||!0!==r)&&(!e.isAutomaticAction&&(n({type:E.customizationConstants.UNDOS_REVISION_UPDATE}),void("REQUEST_SAVE_LAYOUT"!==t&&n({type:E.customizationConstants.UNDOS_REVISION_UPDATE_IS_STORING_START}))))}function $t(t){return t}const Qt=(t,{isLinkedComponent:e})=>{let n=document.createElement("div");n.id="drag-ghost";const o={padding:"4px 4px 4px 4px",background:e?U.warning600:U.blue600,color:e?U.warning900:U.blue50,borderRadius:"1px",fontSize:"12px",fontWeight:"700",lineHeight:"16px",letterSpacing:"0.04em",display:"flex",alignItems:"center",minWidth:"62px",position:"absolute",top:"-999999px"};Object.keys(o).map((t=>{let e=o[t];n.style[t]=e}));const r=document.createElement("img");r.src=e?"/assets/icons/linked-comp-icon.svg":"/assets/icons/cube.svg",r.style.width="16px",r.style.height="16px",r.style.marginRight="4px",r.style.zIndex="1";const a=document.createElement("span");return a.innerHTML=t.displayName||t.name||"Component",n.appendChild(r),n.appendChild(a),document.body.appendChild(n),n},Yt=t=>{if(!t)return;var e=getComputedStyle(t);let n=t.clientWidth,o=t.clientHeight;return o-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),n-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),{height:o,width:n}},Kt={VALUE_CREATED:"created",VALUE_UPDATED:"updated",VALUE_DELETED:"deleted",VALUE_UNCHANGED:"unchanged",map:function(t,e){if(this.isFunction(t)||this.isFunction(e))throw"Invalid argument. Function given, object expected.";if(this.isValue(t)||this.isValue(e))return{type:this.compareValues(t,e),data:void 0===t?e:t};var n={};for(let r in t)if(!this.isFunction(t[r])){var o=void 0;void 0!==e[r]&&(o=e[r]),n[r]=this.map(t[r],o)}for(let r in e)this.isFunction(e[r])||void 0!==n[r]||(n[r]=this.map(void 0,e[r]));return n},compareValues:function(t,e){return t===e||this.isDate(t)&&this.isDate(e)&&t.getTime()===e.getTime()?this.VALUE_UNCHANGED:void 0===t?this.VALUE_CREATED:void 0===e?this.VALUE_DELETED:this.VALUE_UPDATED},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isDate:function(t){return"[object Date]"===Object.prototype.toString.call(t)},isObject:function(t){return"[object Object]"===Object.prototype.toString.call(t)},isValue:function(t){return!this.isObject(t)&&!this.isArray(t)}};function qt(t,e){let n={};return n.offsetTop=rt(e,"sl-rgl"),t.offsetBottom=t.offsetTop+t.offsetHeight,t.offsetRight=t.offsetLeft+t.offsetWidth,n.offsetBottom=n.offsetTop+e.offsetHeight,n.offsetRight=e.offsetLeft+e.offsetWidth,!(t.offsetBottom<n.offsetTop||t.offsetTop>n.offsetBottom||t.offsetRight<n.offsetLeft||t.offsetLeft>n.offsetRight)}function Jt(){let t=document.getElementById("drag-ghost");t?.parentNode&&t.parentNode.removeChild(t)}function Xt(){return document.getElementById("iframe-sl-device")}function Zt(){return Xt().contentWindow.document}function te(){return Xt().contentWindow}const ee=t=>{const{getState:e}=f.default,n=e(),{data:o,context:r}=n.customization.present;return o.blueprint[r].components[t]||{}},ne=(t,e,n)=>{if(!e&&!n)return;return e[n].components[t].parent},oe=(t,e,n=[])=>{let o=l()(t);return n.map((t=>{"auto"===Ce(o[t])?o[t]=be(o[t],"auto"):"number"!==typeof parseInt(o[t])&&o[t]?.endsWith(e)||(o[t]=be(o[t],e))})),o},re=async t=>{const{component:e,markUndoStoringCompleted:n,dropStart:o,dropEnd:r}=t,{getState:a,dispatch:i}=f.default,s=a(),{data:c,context:u}=s.customization.present,{blueprint:l,fonts:p,classes:d}=c;Vt("DUPLICATE_COMP"),o(e.parent);let E={...l},_=[],h=dt({...t,classes:d,blueprint:l,context:u});if(!h)return;const{newChildrenComponents:g,newLayouts:S,fonts:T}=h,{components:y,layouts:C,id:b,meta:A,timestamp:I,version:O,...R}=l[u];let v={...S};v.layouts&&(v={...v,layouts:{...C,...v.layouts}}),v={...R,...v};const U=await Gt(g);let P={};U.map((t=>{const e={...g[t.client_id],...t};if(P={...P,[t.client_id]:e},!e?.linkedProps?.linkedComponentMetaId)return;const{linkedComponentMetaId:n,instanceId:o}=e.linkedProps;let r=E[n];const a=r.meta.instances||[];r={...r,meta:{...r.meta,instances:[...a,o]}},E={...E,[n]:r},_=[..._,n]})),E={...E,[u]:{...E[u],...v,components:{...l[u].components,...P},meta:{...E[u].meta}}};const L={...p,...T};i(m.customizationActions.updateBlueprintContents("fonts",L)),i(m.customizationActions.updateActiveFonts()),i(m.customizationActions.updateBlueprintContents("blueprint",E,!0,{linkedComponents:_})),n(),setTimeout((()=>r()),0)},ae=(t,e)=>{const{getState:n}=f.default,o=n(),r=e||o.customization.present.data.blueprint;let a={};return"linkedComponent"===t||"presetComponent"===t?(Object.keys(r).map((e=>{const{meta:n}=r[e];n.type===t&&(a={...a,[e]:r[e]})})),a):"page"===t?(Object.keys(r).map((t=>{const{meta:e={}}=r[t];"undefined"!=typeof e.type&&e.type||(a={...a,[t]:r[t]})})),a):r},ie=t=>{if(!t)return!1;const e=ae("linkedComponent");return!!(Object.keys(e).length>0&&Object.keys(e).includes(t))},se=t=>{if(!t)return!1;let e=!1;const{getState:n}=f.default,o=n().customization.present.data.blueprint;return Object.values(o).filter((t=>{const{meta:e={}}=t;if(e.type&&"linkedComponent"===e.type)return!0})).map((t=>t.meta.instances||[])).flat(1/0).includes(t)&&(e=!0),e},ce=t=>{let e=!1;if(!t)return!1;const{getState:n}=f.default,o=n();return(o.customization.present.data.blueprint[o.customization.present.context].components[t]||{}).linkedProps?.instanceId?(e=!0,e):void 0},ue=t=>{const{getState:e}=f.default,n=e();return(n.customization.present.data.blueprint[n.customization.present.context].components[t]||{}).props?.componentData?.childIdsOfLinkedInstance||[]};function le(t,e,n){const o=e[t].meta.usedBy,r=n||e[t].meta.instances,a=ae("page",e);let i=[];return o.map((t=>{const e=a[t]?.components||{};let n=!1;Object.keys(e).forEach((t=>{r.includes(t)&&(n=!0)})),n&&i.push(t)})),i}const pe=t=>"tablet"===t||"md"===t?"tablet":"mobile"===t||"sm"===t?"mobile":"bp_1280"===t?"bp_1280":"bp_1440"===t?"bp_1440":"bp_1920"===t?"bp_1920":"global",de=t=>{const{getState:e}=f.default,n=e();t?.preventDefault();try{const t=n.customization.present.project,e=n.customization.present.context;let o=new URL(document.location.href).searchParams.get("user"),r=new URL(document.location.href).searchParams.get("apiType");window.childWindow&&window.childWindow?.parent&&!window.childWindow?.closed?window.childWindow.focus():window.childWindow=window.open(window.location.origin+"/page-preview/"+t+"/"+e+`${o?"?user="+o:""}${r?"&apiType="+r:""}`)}catch(o){console.error(o,"Page preview window opening")}},fe=t=>p.builderConstants.WHITELISTED_TEXT_UNIT_VALUES.includes(t),Ee=(t,e)=>{let n=["absolute","fixed","sticky"];return"builder"===e&&(n=["absolute","fixed"]),n.includes(t)},me=async()=>({}),_e=async()=>{let t={};try{0}catch(e){console.error("Failed to load module:",e),t={}}return t},he=t=>{if(t&&"function"===typeof t.getAttribute)return t&&"grid-layout"===t.getAttribute("data-type")&&!t.id.endsWith("-dragging")?t:he(t.parentNode)},ge=()=>{window.codeDesign={helpers:{getWindow:()=>{const{getState:t}=f.clientStore,e=(t(),document.getElementById("slPreviewFrame")?.contentWindow);return e||window},getDocument:()=>{const t=document.getElementById("slPreviewFrame")?.contentWindow?.document;return t||document},getState:()=>{const{getState:t}=f.clientStore;return t().stateManagement},updateState:(t="global",e,n)=>{const{dispatch:o}=f.clientStore;o({type:h.stateManagementConstants.UPDATE_STATE,payload:{parent:t,key:e,value:n}})}}}},Se=()=>{const{getState:t,dispatch:e}=f.default,n=t(),o=n.customization.present.data,r=n.user.data;let a="readonly";if((o.userOrGuestId?._id||o.userOrGuestId)===r._id)a="owner";else if(r.isAdmin)a="owner";else{const t=o.projectUsers||[];if(t?.length>0){const e=r.email,n=t.filter((t=>t?.email===e));n.length>0&&(a=n[0].role)}}a&&(e({type:E.customizationConstants.UPDATE_USER_ROLE,payload:a}),"readonly"===a&&e(g.uiActions.toggleElementOutlines(!1)))},Te=({[n]:t,...e},n)=>e,ye=(t,e)=>{try{const{getState:n}=f.clientStore;n();let o={...e};t,window.Intercom("trackEvent",t,o)}catch(n){console.error("An error occured while tacking an event",n)}};function Ce(t){if(p.builderConstants.WHITELISTED_TEXT_UNIT_VALUES.includes(t))return t;if(0===t)return"px";var e=t?.length;if(!t||!e)return"px";for(var n=e;n--;)if(!isNaN(t[n]))return t.slice(n+1,e)||"px";return"px"}function be(t,e){if(p.builderConstants.WHITELISTED_TEXT_UNIT_VALUES.includes(e))return e;if("number"===typeof t&&e)return`${t}${e}`;var n=t?.length;if(!t||!n)return`0${e}`;var o=n;let r="";for(;o--;)isNaN(t[o])||(r=t.slice(o+1,n));if(r){return t.split(r)[0]+e}return"100"+e}const Ae=(t,e,n)=>{if("lg"===n)return e;return((t,e,n)=>(t.lg.map(((o,r)=>{let a={};"md"===n&&(a={...t.lg[r]}),"sm"===n&&(a={...t.lg[r],...t.md[r]}),n?.startsWith("bp")&&(a={...t.lg[r]});const i=e.find((t=>o.i===t.i));Object.keys(a).map((t=>{(!i[t]||T()(a[t],i[t])&&"i"!==t)&&delete i[t]}));const s=e.findIndex((t=>t.i===o.i));e[s]=i})),e))(t,e,n)},Ie=(t,e,n)=>{const{small:o,large:r,medium:a,bp_1280:i,bp_1440:s,bp_1920:c}=t,u=o?{...e.global,...e.mobile}:a?{...e.global,...e.tablet}:r?e.global:i?{...e.global,...e.bp_1280}:s?{...e.global,...e.bp_1440}:c?{...e.global,...e.bp_1920}:{},l=n&&n.focus?o?{...n.focus.global,...n.focus.mobile}:a?{...n.focus.global,...n.focus.tablet}:r?n.focus.global:i?{...n.focus.global,...n.focus.bp_1280}:s?{...n.focus.global,...n.focus.bp_1440}:c?{...n.focus.global,...n.focus.bp_1920}:{}:{},p=n&&n.hover?o?{...n.hover.global,...n.hover.mobile}:a?{...n.hover.global,...n.hover.tablet}:r?n.hover.global:i?{...n.hover.global,...n.hover.bp_1280}:s?{...n.hover.global,...n.hover.bp_1440}:c?{...n.hover.global,...n.hover.bp_1920}:{}:{},d=n&&n.active?o?{...n.active.global,...n.active.mobile}:a?{...n.active.global,...n.active.tablet}:r?n.active.global:i?{...n.active.global,...n.active.bp_1280}:s?{...n.active.global,...n.active.bp_1440}:c?{...n.active.global,...n.active.bp_1920}:{}:{};return{reqCssObj:u,hoverStyleObj:p,placeholderStyleObj:n&&n.placeholder?o?{...n.placeholder.global,...n.placeholder.mobile}:a?{...n.placeholder.global,...n.placeholder.tablet}:r?n.placeholder.global:i?{...n.placeholder.global,...n.placeholder.bp_1280}:s?{...n.placeholder.global,...n.placeholder.bp_1440}:c?{...n.placeholder.global,...n.placeholder.bp_1920}:{}:{},hoverStyleObj:p,activeStyleObj:d,focusStyleObj:l}},Oe=(t,e)=>{const n=JSON.stringify(e).match(/(cd_fn_)[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}/g)||[];let o={};return n.map((e=>{t[e]&&(o[e]=t[e])})),o},Re=(t={},e)=>{let n=[];return"lg"===e?n=t.lg||[]:"md"===e?t.lg?.map(((e,o)=>{n[o]={...t.lg?.[o],...t.md?.find((t=>t&&e&&t.i===e.i))}})):"sm"===e?t.lg?.map(((e,o)=>{n[o]={...t.lg?.[o],...t.md?.find((t=>t&&e&&t.i===e.i)),...t.sm?.find((t=>t&&e&&t.i===e.i))}})):"bp_1280"===e?t.lg?.map(((e,o)=>{n[o]={...t.lg?.[o],...t.bp_1280?.find((t=>t&&e&&t.i===e.i))}})):"bp_1440"===e?t.lg?.map(((e,o)=>{n[o]={...t.lg?.[o],...t.bp_1280?.find((t=>t&&e&&t.i===e.i)),...t.bp_1440?.find((t=>t&&e&&t.i===e.i))}})):"bp_1920"===e&&t.lg?.map(((e,o)=>{n[o]={...t.lg[o],...t.bp_1280?.find((t=>t&&e&&t.i===e.i)),...t.bp_1440?.find((t=>t&&e&&t.i===e.i)),...t.bp_1920?.find((t=>t&&e&&t.i===e.i))}})),n||[]};function ve(t){const e=`; ${document.cookie}`.split(`; ${t}=`);if(2===e.length)return e.pop().split(";").shift()}function Ue(t){return decodeURIComponent(t.replace(/\+/g," "))}const Pe=({debouncedVal:t,isCheckingSubdomain:e,subdomainError:n})=>t?e?y.default.createElement("p",null,"Checking availability..."):n?y.default.createElement("p",{className:"failure"}," Name unavailable"):t.length>100?y.default.createElement("p",{className:"failure"},"Too long"):t.length<4?y.default.createElement("p",{className:"failure"},"Too short"):/^[a-zA-Z0-9-]{4,100}$/.test(t)?y.default.createElement("p",{className:"success"}," Name available "):y.default.createElement("p",{className:"failure"}," ","Invalid characters. Use alphanumeric characters and dashes."):y.default.createElement("p",{className:"failure"},"Please enter a name above");function Le(t){if(!t||"string"!==typeof t)return!1;const e=/^[a-zA-Z0-9-_]+$/,n=t.split("/").filter(Boolean);for(let o of n){if(!e.test(o))return!1;if(".."===o)return!1}return!(t.startsWith("/")||t.endsWith("/")||t.includes("/"))}const xe=t=>{try{const{id:e}=t,n=localStorage.getItem("codedesignUserPreferences")||null;if(n){let t=JSON.parse(n)||{};return!(t.closedRightSidebarAlerts&&t.closedRightSidebarAlerts.includes(e))}return!0}catch(e){return console.log("something wrong",e),!0}},Ne=t=>{try{const{id:e}=t,n=localStorage.getItem("codedesignUserPreferences")||null;if(n){let t=JSON.parse(n)||{};t.closedRightSidebarAlerts=[...t?.closedRightSidebarAlerts||[],e];const o=JSON.stringify(t);localStorage.setItem("codedesignUserPreferences",o)}else localStorage.setItem("codedesignUserPreferences",JSON.stringify({closedRightSidebarAlerts:[e]}))}catch(e){console.log("something wrong",e),localStorage.setItem("codedesignUserPreferences",'{\n      "closedRightSidebarAlerts":[]\n    }')}},De=()=>localStorage.getItem("guestCustomizationDataId");function we(){try{return!De()?.startsWith("[")}catch(t){return console.log(t,"Error determining customization data ID format"),!1}}async function Fe(t){const{getByID:e}=t("customization-data"),n=De(),o=we(),r=Me(),a=o?n:r||JSON.parse(n).pop();try{const t=await e(a);if(!t)throw new Error(`No customization data found for ID: ${a}`);return{customizationData:t,versionId:a}}catch(i){throw console.error("Error retrieving customization data",i),i}}function Me(){return new URLSearchParams(window.location.search).get("project")}async function ke(t){let e,o;try{e=n(3155)}catch(c){console.error("Context creation failed",c)}try{"deploy"===R.env.REACT_APP_TYPE||(o=e("./index.js"))}catch(u){console.error("Dynamic module import failed",u)}const r=o?.default;await r({databaseName:"guest",version:1,stores:[{name:"customization-data",id:{autoIncrement:!1},indices:[{name:"customizationData",keyPath:"customizationData"}]}]}).catch((t=>console.error("error / unsupported",t)));const{useIndexedDBStore:a}=o,{customizationData:i,versionId:s}=await Fe(a);if(i)return{...i,versionId:s};console.error("Failed to retrieve customization data")}const je=()=>{let t;if(window.location.pathname){let e=window.location.pathname;if(e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("/page-preview")){const n=e.replace("/page-preview","").split("/").filter(Boolean);t=n.length>0?n[n.length-1]:"home"}else{const n=e.split("/").filter(Boolean);t=0===n.length?"home":n[0]}}else t="home";return t},Be=(t,e,n)=>{if(!t||!e)return!1;return!!Ge(t,e,n)},Ge=(t="",e="",n)=>{if(!t||!e)return;if("Global0007"===t)return;const{blueprint:o,context:r}=ze(n);let a=o?.[r]?.components?.[t];return a?.componentType===e||"object"===typeof e&&e.includes(a?.componentType)?a:Ge(a?.parent,e)};function ze(t={}){const{getState:e}=f.clientStore,{customization:{present:{data:n,context:o}}}=e();return{...{blueprint:n.blueprint,context:o,selectedComponent:n.currentlySelectedComponentId,currentBreakpoint:n.currentBreakpoint},...t}}function He(){let t=!1;var e;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t}function We(t,e={}){const{getState:n}=f.default,o=n(),{blueprint:r}=o.customization.present.data,a=(e.blueprint||r)[t]?.meta||{};if(a.unlisted)return!0;const{isPageAiGeneratable:i,aiGenerationCount:s}=a;return i&&!s}function Ve(t,e={}){let{type:n="float",precision:o}=e;if("number"===typeof t&&(t=t.toString()),"string"===typeof t){let e=t.match(/[\d.]+/);if(!e)return NaN;let r=parseFloat(e[0]);return"integer"===n?Math.round(r):"float"===n&&"number"===typeof o?parseFloat(r.toFixed(o)):r}return NaN}const $e=(t={})=>{const{styleguide:e={}}=t,{getState:n}=f.default,o=n(),{styleguide:r={}}=o.customization.present.data,a=Object.keys(e).length>1?e:r,i=a?.themes?.[a?.selectedThemeId]||{},s=a?.definitions||{},c=i?.modifiers||{};return Object.entries(s).map((([,t])=>{const e=c[t.variableId]||t.value;return`--${t.variableId}: ${e};`})).join(" ")},Qe=(t="",e="")=>{const n=`var(--${t})`,{getState:o}=f.default,r=o(),{blueprint:a}=r.customization.present.data;let i={...a};Object.keys(a).map((t=>{const{components:o}=a[t];Object.keys(o).map((r=>{const a=o[r],{props:s}=a;if(!s)return;const c=JSON.stringify(s).replace(n,e),u=JSON.parse(c);i[t].components[r].props=u}))}));const{classes:s}=r.customization.present.data;let c={...s};const u=JSON.stringify(s).replace(n,e);return c=JSON.parse(u),{updatedBlueprint:i,updatedClasses:c}};function Ye(t={}){const{linkType:e,pageHash:n="",pageBase:o,url:r,target:a}=t;let i=null;i=window;let s="";const c=i.location.pathname.includes("page-preview"),u=`${i.location.protocol}//${i.location.hostname}${i.location.port?":"+i.location.port:""}`;switch(e){case"page":if(c){s=`${u}${i.location.pathname.split("/").slice(0,3).join("/")}/${o}${n}`}else s=`${u}/${o}${n}`;break;case"internal":if(c){s=`${u}${i.location.pathname.split("/").slice(0,3).join("/")}${r}`}else s=`${u}${r}`;break;case"https://":s=r}return s}const Ke=(t,e)=>{const{currentTarget:n}=t,o=n?.id;if(!o)return void console.error("No relevant button found");const{getState:r,dispatch:a}=f.clientStore,i=r(),{data:s,context:c}=i.customization.present,{blueprint:u,integrations:l}=s,{getDocument:p=(()=>document)}=window.codeDesign?.helpers,E=p(),m=Ge(o,"form-component-v1"),h=Q(u[c],m.client_id),g=h.find((t=>t.client_id===o));if(!h||0===h.length)return void console.error("No form elements found");const{clientInputs:S={}}=i.common,T=h.filter((t=>t.formElementType!==b.FORM_ELEMENT_TYPES.SUBMIT_BUTTON&&"button"!==t.formElementType&&t.formElementType!==b.FORM_ELEMENT_TYPES.BUY_BUTTON)).map((t=>{const{client_id:e,formElementType:n,props:o}=t,r=o.componentData?.fieldName,a=o.componentData?.inputType,i=o.componentData?.properties?.required,s=o.componentData?.properties?.pattern,c=S[e];let u=c||null;if(n===b.FORM_ELEMENT_TYPES.CHECKBOX&&(u=c||!1),"date"===a){const t=new Date(u);u=`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,"0")}-${String(t.getDate()).padStart(2,"0")}`}let l=!0;if(s){l=new RegExp(s).test(u)}return{clientId:e,value:u,formElementType:n,fieldName:r,isRequired:i||!1,isInputValAccordingToPattern:l}}));let y,I,O,R=!1;const v={};T.forEach((t=>{const{value:e,fieldName:n,isRequired:o,formElementType:r,isInputValAccordingToPattern:a}=t;n?v[n]?(v[n].count++,v[n].types.push(r)):v[n]={count:1,types:[r]}:I=!0,!1===a&&(O=!0),o&&(r===b.FORM_ELEMENT_TYPES.CHECKBOX?!1!==e&&null!==e&&void 0!==e||(y=!0):e||(y=!0))}));let U="";for(const[f,{count:_,types:C}]of Object.entries(v))if(_>1){R=!0;U=`Duplicate field names are not allowed. Found duplicate field name "${f}" for element types: ${C.map((t=>(0,d.toTitleCase)(t))).join(", ")}`;break}if(g.formElementType===b.FORM_ELEMENT_TYPES.BUY_BUTTON){const t=g.props.componentData,{selectedPaymentMethod:e,selectedProductIdForPayment:n}=t,{stripe:o}=l||{},r=!e||"active"!==o?.status,a=!n;if(r||a)return void(0,A.showToast)({type:"warning",msg:r?"The Buy button doesn't have a valid payment method.":"The Buy button is not associated with any product."})}if(y||I||R||O){let t;return y?t="Please fill all required fields":I?t="Table field cannot be empty. Please update the form.":R?t=U:O&&(t="Invalid input value. Please check the input value and try again."),void(0,A.showToast)({type:"warning",msg:t})}if(window.location.pathname.startsWith("/page-preview/"))return void(0,A.showToast)({type:"warning",msg:e?"Order processing is disabled in preview mode. Please publish your website.":"Form submission is disabled in preview mode. Please publish your website."});const P=Je("orderId");a(C.databaseActions.submitFormData({formData:T,formId:m.client_id,order:e,clickedButtonComponent:g,orderId:P,successCallback:()=>{(()=>{if(g.props.componentData.clearFormAfterSubmit){let t={};T.forEach((e=>{const{clientId:n}=e;t[n]="";const o=E.querySelector(`[data-clientid="${n}"]`);o&&(o.value="")})),a(_.commonActions.updateClientInputs(t))}})()}}))};function qe(t,e="",n=[]){try{return function e(o){const r=t.components[o];r&&r.formElementType&&n.push(r),Object.keys(t.components).filter((e=>t.components[e].parent===o)).forEach((t=>{e(t)}))}(e),n}catch(o){return console.error("Error occurred",o),[]}}function Je(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(window.location.search);return null===e?null:decodeURIComponent(e[1].replace(/\+/g," "))}const Xe=(t,e,n)=>{const o={};for(const a of Object.keys(t[e]))o[a]=O()(t[e][a],"i");let r=0;for(;o.lg&&o.lg[r];){const a=o.lg[r].i;if(t.components[a]){n.components[a]||(n.components[a]=t.components[a],"layouts"===e&&delete n.components[a].parent);for(const t of Object.keys(o)){const r=o[t].find((t=>t.i===a));r&&(n[e]||(n[e]={}),"layouts"===e&&delete r.parent,n[e][t]=n[e][t]||[],n[e][t].push(r))}t[a]&&(n=Xe(t,a,n))}r++}return n},Ze=t=>{const e=t.match(/{([^}]*)}/),n=(e?e[1]:t).split(";").filter(Boolean),o={};return n.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()));e&&n&&(o[e]=n)})),o},tn=t=>Object.entries(t).map((([t,e])=>`${t}: ${e};`)).join(" "),en=t=>{if(t.target.closest("a")&&t.currentTarget!==t.target)return;const{getDocument:e=(()=>{})}=window?.codeDesign?.helpers,n=e(),o=t.currentTarget.id,{getState:r}=f.clientStore,a=r(),{data:{blueprint:i},context:s}=a.customization.present,c=i[s]?.meta?.id||s,u=a.customization.present.data.blueprint[c].components[o].props.componentData.linkAction,l=a.customization.present.data.blueprint[c].components[o].parent,p=["margin-left","margin-top","margin-right","margin-bottom","width","height","minWidth","maxWidth","minHeight","maxHeight","display","position"];Object.values(u).forEach((t=>{const{targetElementId:e,cssCode:o,toggleBehaviour:r=!1}=t,a=n.querySelector(`[data-clientId="${e}"]`);if(a){const t=l?`style-section-${l}-${e}`:`style-${e}`;let i=n.querySelector(`#${t}`);const s="data-toggle-state",c="true"===a.getAttribute(s);i||(i=n.createElement("style"),i.id=t,a.appendChild(i));const u=i.textContent||"",d=Ze(u),f=Ze(o);if(r&&c){p.forEach((t=>{a.style[t]&&(a.style[t]=a.getAttribute(`data-original-${t}`)||"",a.removeAttribute(`data-original-${t}`))}));const t=JSON.parse(a.getAttribute("data-original-styles")||"{}");i.textContent=`[data-clientId="${e}"] { ${tn(t)} }`,a.setAttribute(s,"false")}else{r?(p.forEach((t=>{a.style[t]&&a.setAttribute(`data-original-${t}`,a.style[t]||""),f.hasOwnProperty(t)&&(a.setAttribute(`data-original-${t}`,a.style[t]||""),a.style.setProperty(t,f[t]),delete f[t])})),a.setAttribute("data-original-styles",JSON.stringify(d))):p.forEach((t=>{f.hasOwnProperty(t)&&(a.style.setProperty(t,f[t]),delete f[t])}));const t={...d,...f},n=tn(t);i.textContent=`[data-clientId="${e}"] { ${n} }`,r&&a.setAttribute(s,"true")}}}))},nn=t=>{const{getDocument:e=(()=>{})}=window?.codeDesign?.helpers,n=e(),o=t.currentTarget.id,{getState:r}=f.default,a=r(),{data:{blueprint:i},context:s}=a.customization.present,c=i[s]?.meta?.id||s,u=a.customization.present.data.blueprint[c].components[o].props.componentData.linkAction,l=a.customization.present.data.blueprint[c].components[o].parent,p=["margin-left","margin-top","margin-right","margin-bottom","width","height","minWidth","maxWidth","minHeight","maxHeight","display","position"];Object.values(u).forEach((t=>{const e=t?.targetElementId,o=t?.cssCode,r=n.querySelector(`[data-clientId="${e}"]`);if(r){const t=l?`style-section-${l}-${e}-hover`:`style-${e}-hover`;let a=n.querySelector(`#${t}`);a||(a=n.createElement("style"),a.id=t,r.appendChild(a));const i=a.textContent||"",s=Ze(i),c=Ze(o),u={...s,...c},d=tn(u);a.textContent=`[data-clientId="${e}"]:hover { ${d} }`,p.forEach((t=>{c.hasOwnProperty(t)&&(r.style[t]=c[t])}))}})),t.persist(),t.preventDefault()}},4234:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(9756),a=n(6354),i=n(7615),s=n(2005);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class u extends o.default.Component{constructor(t){super(t),this.state={done:!1,context:"home"}}async componentDidMount(){const{type:t,blueprint:e,fetchTemplateByKey:n}=this.props;"client-404"===t?e[404]?(this.setState({context:"404"}),this.props.changeContext("404")):(n(t),this.props.changeContext("home")):"deploy-pending"===t&&(n(t),this.props.changeContext("home"))}render=()=>{const{blueprint:t}=this.props,{context:e}=this.state;return t[e]&&t[e].components&&Object.keys(t[e].components).length>0?o.default.createElement(i.default,c({},this.props,{context:e,done:this.state.done,toggleDone:t=>{this.setState({done:t})},pageType:"404"})):o.default.createElement(s.default,null)}}const l=(0,r.$j)((t=>({screenWidth:t.ui.screenWidth,isFetching:t.customization.present.isFetchingHost,gridLayout:t.customization.present.gridLayout,siteData:t.common.data,previewData:t.customization.present.data,isPublishing:t.customization.present.isPublishingPage,blueprint:t.customization.present.data.blueprint,js:t.customization.present.data.js,projectMeta:t.customization.present.data.projectMeta,user:t.user.data,name:t.customization.present.data.name,classes:t.customization.present.data.classes,canvasInit:t.customization.present.canvasInit,storeState:t,analytics:t.customization.present.data.analytics})),(t=>({changeView:e=>{t(a.customizationActions.changeView(e))},updateProjectName:e=>{t(a.customizationActions.updateProjectName(e))},updateBlueprintContents:(e,n,o)=>{t(a.customizationActions.updateBlueprintContents(e,n,o))},initiateCanvas:()=>{t(a.customizationActions.initiateCanvas())},changeContext:e=>{t(a.customizationActions.changeContext(e))},fetchTemplateByKey:e=>{t(a.customizationActions.fetchTemplateByKey(e))}})))(u);e.default=l},98:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(2445),a=n.n(r);const i={},s=(0,r.WidthProvider)(a());class c extends o.default.PureComponent{state={height:""};setHeight=t=>{this.setState({height:t})};render=()=>{const{message:t,history:e}=this.props;return o.default.createElement("div",null,o.default.createElement("div",{className:i["something-went-wrong"]},o.default.createElement("p",{className:i.text},"Oops :( ",o.default.createElement("br",null),t),o.default.createElement("div",{className:i.container},o.default.createElement("div",{className:i.bg},o.default.createElement("div",{className:i.light})),o.default.createElement("div",{className:i.ufo},o.default.createElement("div",{className:i["ufo-bottom"]}),o.default.createElement("div",{className:i["ufo-top"]}),o.default.createElement("div",{className:i["ufo-glass"]},o.default.createElement("div",{className:i.alien},o.default.createElement("div",{className:i["alien-eye"]})))),o.default.createElement("div",{className:i.bed},o.default.createElement("div",{className:i.mattress})),o.default.createElement("div",{className:i.man},o.default.createElement("div",{className:i.foot}),o.default.createElement("div",{className:i.head},o.default.createElement("div",{className:i.face}),o.default.createElement("div",{className:i.hair})),o.default.createElement("div",{className:i["man-body"]}),o.default.createElement("div",{className:i.arm}))),o.default.createElement(s,{rowHeight:30,cols:6,layout:[{i:"try-again",x:2,y:0,w:1,h:4,static:!0},{i:"go-home",x:3.2,y:0,w:1,h:4,static:!0}]},o.default.createElement("div",{key:"try-again"},o.default.createElement("button",{color:"#5294F2",content:"Try Again",onClick:this.forceUpdate},"Success")),o.default.createElement("div",{key:"go-home"},o.default.createElement("button",{color:"#FFA45B",content:"Go Home",onClick:()=>e.push("/")},"Failure")))))}}c.defaultProps={message:"Something went wrong",type:"UNKNOWN_ERROR"},e.default=c},8078:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(9756),a=n(3774),i=n(5122),s=n.n(i);class c extends o.default.Component{constructor(t){super(t),this.state={hasError:!1,type:"",message:""}}componentDidMount(){this.debouncedToast=(0,a.debounce)(1500,this.debouncedToast)}debouncedToast=()=>{s().track("Error From Error Boundary",{errorMsg:this.state.error.message}),window.showToast({type:"error",msg:"An Error was encountered. Please refresh the page to continue"})};static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,e){console.log(t,e,"error occured "),this.setState({hasError:!0})}componentDidUpdate(t){const{error:e}=this.props;t.error!==e&&(!e.type||"NETWORK_DOWN"!==String(e.type)&&"INTERNET_DOWN"!==String(e.type)||this.setState({hasError:!0,type:e.type,message:e.message,error:e}))}render(){return this.state.hasError&&window.showToast&&this.debouncedToast(),this.props.children}}e.default=(0,r.$j)((t=>({reduxState:t})))(c)},2005:function(t,e,n){"use strict";n.r(e),n.d(e,{ClientLoader:function(){return r}});var o=n(7423);e.default=()=>o.default.createElement("div",{className:"preview-loader-outer"}," ",o.default.createElement("div",{className:"preview-loader"},o.default.createElement("div",{className:"dot"}),o.default.createElement("div",{className:"dot"}),o.default.createElement("div",{className:"dot"}))," ");const r=()=>o.default.createElement("div",{className:"client-loader"})},7615:function(t,e,n){"use strict";n.r(e),n.d(e,{renderMetaTags:function(){return N},scrollToNamedAnchorHash:function(){return D}});var o=n(8908),r=n.n(o),a=n(7423),i=n(2445),s=n(5137),c=n(488),u=n.n(c),l=n(5236),p=n(4742),d=n(3465),f=n.n(d),E=n(4057),m=n(1717),_=n(2005),h=(n(9410),n(9245)),g=n.n(h),S=n(6160),T=n(9756),y=n(85),C=n(2477),b=n(5227),A=n(1982),I=n(6354),O=n(2619),R=n(5017);function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}const U=i.Responsive;class P extends a.default.Component{constructor(t){super(t),this.state={layouts:{},components:[],lazyComponents:[],scrolling:!1,card_container_height:0,card_list:""}}componentWillUnmount(){("preview"===this.status||this.props.isPlaygroundPreview)&&document.body.classList.remove("overflow-hidden"),window.removeEventListener("hashchange",this.handleHashChange)}handleHashChange=()=>{const t=window.namedHashMapOfCurrentPage;D(t,this.props.documentContext)};async componentDidMount(){const{previewData:t,screenWidth:e,changeView:n,isPlaygroundPreview:o=!1}=this.props;if((0,m.bindHelpersToWindow)(),window.location.pathname.startsWith("/page-preview")||o){this.status="preview";let t=window.location.pathname.split("/")[2];this.setState({project:t}),this.props.updateProjectName(t)}else this.status="published";if(("preview"===this.status||o)&&document.body.classList.add("overflow-hidden"),"undefined"!==typeof this.props.previewData.blueprint){let o=(0,m.getViewFromScreenWidth)(e,{activeBreakpoints:[]});n(o);let r="tablet"===o?"md":"mobile"===o?"sm":"bp_1280"===o?"bp_1280":"bp_1440"===o?"bp_1440":"bp_1920"===o?"bp_1920":"lg",a=(0,m.findContext)();this.setState({blueprint:t.blueprint,context:a,currentBreakpoint:r,view:o})}window.addEventListener("hashchange",this.handleHashChange)}async componentDidUpdate(t){const{screenWidth:e,changeView:n,pageType:o,blueprint:r,updateBlueprintContents:a}=this.props,{context:i}=this.state;if(JSON.stringify(t.blueprint[i]&&t.blueprint[i].meta.activeBreakpoints)!==JSON.stringify(r[i]&&r[i].meta.activeBreakpoints)){const{activeBreakpoints:t}=r[i].meta;let o=(0,m.getViewFromScreenWidth)(e,{activeBreakpoints:t});n(o);let a="tablet"===o?"md":"mobile"===o?"sm":"bp_1280"===o?"bp_1280":"bp_1440"===o?"bp_1440":"bp_1920"===o?"bp_1920":"lg";this.setState({currentBreakpoint:a,view:o})}if((r[i]||"404"===o)&&t.screenWidth!==e){const{activeBreakpoints:t}=r[i]?.meta||{};let o=(0,m.getViewFromScreenWidth)(e,{activeBreakpoints:t});n(o);let a="tablet"===o?"md":"mobile"===o?"sm":"bp_1280"===o?"bp_1280":"bp_1440"===o?"bp_1440":"bp_1920"===o?"bp_1920":"lg";this.setState({currentBreakpoint:a,view:o})}const{isFetching:s,previewData:c,initiateCanvas:u,canvasInit:l}=this.props;let p;if(t.isFetching&&!s){let t=(0,m.findContext)();this.setState({blueprint:c.blueprint,context:t})}const d=r[i]&&r[i].version,f=t.blueprint[i]&&t.blueprint[i].version;/^((?!chrome|android).)*safari/i.test(navigator.userAgent);if("preview"===this.status?!this.isUpdatingGrid&&!this.props.done||f!==d:!l&&!this.isUpdatingGrid){if(p=c.blueprint&&c.blueprint[i]&&c.blueprint[i].components,p){this.isUpdatingGrid=!0,await(0,m.initializeGridLayout)({blueprint:this.props.blueprint,updateBlueprintContents:a,type:"canvas",previewContext:i,storeState:this.props.storeState})&&(this.isUpdatingGrid=!1,this.props.toggleDone(!0),l||u(!0))}else;if(("CLIENT"===this.props.origin||"WORDPRESS"===this.props.origin)&&("Client404"===c.name||"404"===c.name||"404"===this.props.context)&&!this.props.done){this.isUpdatingGrid=!0,await(0,m.initializeGridLayout)({blueprint:this.props.blueprint,updateBlueprintContents:a,type:"canvas",previewContext:this.props.context,storeState:this.props.storeState})&&(this.isUpdatingGrid=!1,this.props.toggleDone(!0),l||u(!0))}}if(this.props.done&&!t.done&&"CLIENT"!==this.props.origin&&"WORDPRESS"!==this.props.origin){let t=w({blueprint:this.props.blueprint,context:this.state.context});t&&(window.namedHashMapOfCurrentPage=t),t&&D(t,this.props.documentContext)}if(("CLIENT"===this.props.origin||"WORDPRESS"===this.props.origin)&&"object"!=typeof window.namedHashMapOfCurrentPage&&this.props.blueprint&&this.state.context){let t=w({blueprint:this.props.blueprint,context:this.state.context});t&&(window.namedHashMapOfCurrentPage=t),t&&setTimeout((()=>{D(t,window.document)}),10)}}renderComponents(t,e,n){const{classes:o,documentContext:r,context:i,origin:s="",windowContext:c,isAdmin:u=!1}=this.props,d="image"===t.type?{width:"100%",height:"100%"}:{},{hasClassesInsideComponent:f,builderStyles:E,stateStyles:_}=(0,m.getClassNamesStyleData)({extraStyles:d,classes:o,component:t,origin:"page",stateNames:m.builderComponentParams.stateNames}),{currentBreakpoint:h}=this.props,g=a.default.createElement(a.Fragment,null,a.default.createElement(p.Z,{targetWindow:"pagePreview"===s&&c?c:window,queries:l.builderMediaQueries},(o=>{const{small:i,medium:s,large:c,bp_1280:l,bp_1440:p,bp_1920:d}=o;let h,g,T,y,C,b;h=i,g=s,T=c,y=l,C=p,b=d;const A=h?{...E.global,...E.mobile}:g?{...E.global,...E.tablet}:T?E.global:y?{...E.global,...E.bp_1280}:C?{...E.global,...E.bp_1440}:b?{...E.global,...E.bp_1920}:{},I=_&&_.focus?h?{..._.focus.global,..._.focus.mobile}:g?{..._.focus.global,..._.focus.tablet}:T?_.focus.global:y?{..._.focus.global,..._.focus.bp_1280}:C?{..._.focus.global,..._.focus.bp_1440}:b?{..._.focus.global,..._.focus.bp_1920}:{}:{},O=_&&_.hover?h?{..._.hover.global,..._.hover.mobile}:g?{..._.hover.global,..._.hover.tablet}:T?_.hover.global:y?{..._.hover.global,..._.hover.bp_1280}:C?{..._.hover.global,..._.hover.bp_1440}:b?{..._.hover.global,..._.hover.bp_1920}:{}:{},R=_&&_.active?h?{..._.active.global,..._.active.mobile}:g?{..._.active.global,..._.active.tablet}:T?_.active.global:y?{..._.active.global,..._.active.bp_1280}:C?{..._.active.global,..._.active.bp_1440}:b?{..._.active.global,..._.active.bp_1920}:{}:{},U=_&&_.placeholder?h?{..._.placeholder.global,..._.placeholder.mobile}:g?{..._.placeholder.global,..._.placeholder.tablet}:T?_.placeholder.global:y?{..._.placeholder.global,..._.placeholder.bp_1280}:C?{..._.placeholder.global,..._.placeholder.bp_1440}:b?{..._.placeholder.global,..._.placeholder.bp_1920}:{}:{},P={main:(0,m.convertCss)(A),focus:(0,m.convertCss)(I),hover:(0,m.convertCss)(O),active:(0,m.convertCss)(R),placeholder:(0,m.convertCss)(U)};let L={};if(u&&t.main===S.builderConstants.BASIC_BLOCKS_MAPPING.HTMLCode){let t=new URLSearchParams(window.location.search);t.get("user")&&(L.showPlaceholder=!0,t.get("enableCode")&&(L.showPlaceholder=!1))}return a.default.createElement(a.Fragment,null,a.default.createElement(e,v({stateManagement:this.props.stateManagement?.global,type:"page",documentContext:r,classNames:f?t.classes&&t.classes.join(" "):"",client_id:t.client_id,name:t.name,category:t.category,compProps:t.props,cssString:P,cssObj:A},t.props,{properties:n},L)),a.default.createElement("style",{id:`style-${t.client_id}`,key:`style-${t.client_id}`},(0,m.generateCSS)({id:t.client_id,cssCombinedObject:P})))}))),T=(0,l.checkNested)(t,"props","componentData","anchor")?t.props.componentData.anchor:{};let{linkType:y,url:C,target:b}=T;const A=new URLSearchParams(window.location.search),I=new URLSearchParams;["user","readonly"].forEach((t=>{A?.has(t)&&I.set(t,A.get(t))}));const O=I.toString()?"?"+I.toString():"";if(y&&C){if("preview"===this.status&&"page"===y)C=`page-preview/${this.state.project}/${C}${O}`;else if("preview"===this.status&&"internal"===y)C=`page-preview/${this.state.project}/${i}${C}${O}`;else if("preview"!==this.status){if("internal"===y){C=`/${("home"===i?"":i).replace(/^\/|\/$/g,"")}/${C.replace(/^\/|\/$/g,"")}`.replace(/\/\/+/g,"/"),C=`${C}${O}`}"page"===y&&(C=`/${C.replace(/^\/|\/$/g,"")}`.replace(/\bhome\b/,""))}return a.default.createElement("a",{rel:"noreferrer",href:`${C}`,target:"on"===b?"_blank":"_parent",className:"anchor-tag-reset cd-padding"},g)}return g}renderLayout=t=>{const{screenWidth:e,gridLayout:n,blueprint:o,context:i,uiState:s,updateUIState:c,documentContext:u}=this.props,{currentBreakpoint:l}=this.state;let p=f()(t);const d=r().serverLoadedComponents?r().serverLoadedComponents:o[i].components;let _=Object.values(d),h={lg:[],sm:[],md:[],bp_1280:[],bp_1440:[],bp_1920:[]};if(o[i].layouts){let t=o[i].layouts;Object.keys(t).map((e=>{t[e]&&(h[e]=t[e].filter((t=>{let e=d[t.i]||{};return"undefined"===typeof t.parent&&e.component&&Object.keys(e.component||{}).length>0})))}))}else h=void 0;let T=[];if(h[S.builderConstants.ELEMENT_ORDER_BREAKPOINT]?.map(((t,e)=>{T[e]=_.find((e=>e.client_id===t.i))})),p&&p.background){let t=(0,m.splitString)(p.background);t.pop(),p.background=t.join()}return T.length>0?a.default.createElement(a.Fragment,null,a.default.createElement("section",{id:"heroSection",style:{position:"relative",...p||{}},className:"rgl-container page-preview"},a.default.createElement(U,v({type:"page",documentContext:u,page:o[i],style:{zIndex:"0"},isDraggable:!1,isResizable:!1,className:"layout",breakpoint:this.props.currentBreakpoint||"lg"},this.props.blueprint[i]&&this.props.blueprint[i].meta.gridLayout?this.props.blueprint[i].meta.gridLayout:n,{layouts:h,useCSSTransforms:!1,preventCollision:!1,onDragStart:(t,e,n,o,r)=>this.onDragStart(t,e,n,o,r),onDragStop:(t,e,n)=>this.onDragStop(n),blueprintChanged:this.props.isUpdatingBluePrint||this.state.card_container_height,fetched:this.props.layoutsInitialized}),T.filter((t=>!g()(t))).filter((t=>!!t?.component?.__esModule&&("undefined"===typeof t.parent&&"Global0007"!==t.client_id&&!(null==t.component||t.component&&0===Object.keys(t.component).length)))).map((t=>{const e=t.component.default,n=(t?.classes||[]).join(" "),{tagName:o="div",outProps:r,properties:i}=(0,E.default)(t.main,t,{},{pageLoadedFrom:"page",classNames:n,isElementHiddenInCanvas:!1});return a.default.createElement(o,{...r},a.default.createElement(a.Fragment,null,this.renderComponents(t,e,i)))}))),a.default.createElement("style",null,this.props.css))):null};capitalizeFirstLetter=t=>t.charAt(0).toUpperCase()+t.slice(1);renderGivenMetaTags=({title:t,metaDescription:e,metaImage:n,favIcon:o,projectHeadTags:r,pageHeadTags:i,customJS:l})=>{const p={replace:function(t){if("script"===t.name)return a.default.createElement("script",t.attribs,(0,c.domToReact)(t.children))}};return a.default.createElement(s.Helmet,null,a.default.createElement("meta",{charSet:"utf-8",key:"cd-meta-charSet"}),a.default.createElement("title",{key:"cd-page-title"}," ",t," "),"CodeDesign Preview"!==t&&a.default.createElement(a.default.Fragment,null," ",a.default.createElement("meta",{property:"og:title",content:t,key:"cd-page-ogtitle"}),a.default.createElement("meta",{property:"twitter:title",content:t,key:"cd-page-twittertitle"})),e&&a.default.createElement(a.default.Fragment,null,a.default.createElement("meta",{name:"description",content:e,key:"cd-page-metadesc"}),a.default.createElement("meta",{property:"og:description",content:e,key:"cd-page-ogdesc"}),a.default.createElement("meta",{property:"twitter:description",content:e,key:"cd-page-twitterdesc"})),n&&a.default.createElement(a.default.Fragment,null,a.default.createElement("meta",{property:"og:image",content:n,key:"cd-page-ogimage"}),a.default.createElement("meta",{property:"twitter:image",content:n,key:"cd-page-twitterimage"})),o&&a.default.createElement("link",{rel:"icon",href:o}),r&&u()(r,p),i&&u()(i,p),l&&a.default.createElement("script",{type:"text/javascript",id:"custom-js"},l.toString()))};render=()=>{const{blueprint:t,js:e,windowContext:n,documentContext:o,setShowPaymentPopup:i,showPaymentPopup:c}=this.props;new y.default({enableCallback:!0,repeat:!1,mirror:!0,threshold:.25,offset:{top:-64,bottom:-150}},n||window,o||document);let u="home";{const t=window.location.pathname;u=t?.startsWith("/page-preview")||t?.startsWith("/playground-preview")?t?.split("/")?.pop():t?.replace(/^\/|\/$/g,"")}u||(u="home");const l=r().serverLoadedPageMeta?r().serverLoadedPageMeta:t&&u&&t[u]&&t[u].meta?t&&u&&t[u]&&t[u].meta:{};let p=`try { \n      ${String(e).trim()}\n    } \n    catch(err) { console.error(err)}`;const d=r().serverLoadedProjectMeta?r().serverLoadedProjectMeta:this.props.projectMeta||{};let f,E={name:l.name||"",title:l.title||"",description:l.metaDescription||"",favIcon:l.favIcon||"",headExtras:l.headExtras||"",googleMetaImage:l.googleMetaImage||""},m={title:d.metaTitle||"",description:d.metaDescription||"",favIcon:d.favIcon||"",headExtras:d.headExtras,googleMetaImage:d.googleMetaImage||""},h=E.name||m.name||"",g=E.title||m.title||"",S=E.description||m.description||"",T=E.favIcon||m.favIcon||"",I=m.headExtras||"",v=E.headExtras||"",U=E.googleMetaImage||m.googleMetaImage||"";if(this.props.analytics){const t=this.props.analytics,e="https://analytics-production-api.codedesign.ai/script.js";f=a.default.createElement("script",{async:!0,src:e,"data-website-id":t})}const P=d.waterMark,L="undefined"===typeof P||Boolean(P),N=`https://codedesign.ai/?internal=yes&ref=${window.location.host}`,D=t&&u&&t[u]&&t[u].components.Global0007;let w;w=g||(this.props.name&&h?`${this.capitalizeFirstLetter(this.props.name)} | ${this.capitalizeFirstLetter(h)}`:"CodeDesign Preview");let F=D&&D.props&&D.props.componentStyle&&D.props.componentStyle.global;const M="preview"!==this.status&&(!this.props.previewData?.order?.paid||L);return this.props.done?a.default.createElement("div",null,a.default.createElement(s.Helmet,null,a.default.createElement("base",{href:".",target:"_blank"}),a.default.createElement("meta",{name:"version",content:(0,R.returnReactAppVersionOrCommit)(),key:"cd-meta-version"}),"CLIENT"!==this.props.origin&&this.renderGivenMetaTags({title:w,metaDescription:S,metaImage:U,favIcon:T,projectHeadTags:I,pageHeadTags:v,customJS:p}),f,a.default.createElement("body",{style:F?x(F):{}})),this.renderLayout(F),a.default.createElement(C.default,null),c&&a.default.createElement(b.default,{isOpen:c,onClose:()=>{i(!1),(0,O.showToast)({type:"error",msg:"Payment Failed"})}}," ",a.default.createElement(A.default,{token:c})),M&&a.default.createElement("a",{rel:"noreferrer",href:N,target:"_blank",className:"footer-credit",style:{display:L?"block":"none"}},"\ud83d\ude80 Built with CodeDesign.ai")):a.default.createElement(_.default,null)}}const L=(0,T.$j)((t=>({currentBreakpoint:t.customization.present.data.currentBreakpoint,isAdmin:t.user.data.isAdmin,showPaymentPopup:t.ui.showPaymentPopup})),(t=>({setShowPaymentPopup:e=>t(I.uiActions.showPaymentPopup(e))})))(P);function x(t){if(r()&&r().window&&r().window.Option){var e=new(r().window.Option);return Object.keys(t).forEach((function(n){e.style[n]=t[n]})),e.getAttribute("style")}return{}}e.default=L;const N=t=>{const{projectMeta:e,pageMeta:n}=t},D=(t,e=window.document)=>{try{const n=window.location.hash.substring(1);if(!n)return;const o=()=>{let t=e.getElementById(n);t&&t.scrollIntoView()};if(!t)return void o();if(0===Object.keys(t).length)return;const r=t[n];if(!r)return void o();const a=r.split("___");if(3===a.length){const t=a[0],n=a[2]||"";if(!t)return;{const o=e.getElementById(t);if(o){const t={};n&&(t.behavior=n),o.scrollIntoView(t),setTimeout((()=>{history.pushState("",document.title,window.location.pathname+window.location.search)}),2e3)}}}}catch(n){console.log("error occured ",n)}},w=({blueprint:t,context:e})=>{try{if(!t||!e)return;const n=t[e].components;let o={};return Object.keys(n).map((t=>{const e=n[t];if(e.props?.componentData?.hashLinkData?.hashName){const{hashName:t,offsetY:n=0,clientId:r,behavior:a=""}=e.props.componentData.hashLinkData;o={...o,[t]:`${r}___${n}___${a}`}}})),Object.keys(o).length>0?o:void 0}catch(n){}}},5651:function(){},5227:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(5697),a=n.n(r);const i=({children:t,isOpen:e,onClose:n})=>e?o.default.createElement("div",{className:"overlay"},o.default.createElement("div",{className:"overlay-content"},o.default.createElement("span",{className:"close-button",onClick:n},"\xd7"),o.default.createElement("div",{className:"content"},t))):null;i.propTypes={children:a().node.isRequired,isOpen:a().bool.isRequired,onClose:a().func.isRequired},e.default=i},1982:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});var o=n(7423),r=n(6664),a=n(2859);class i extends Error{}function s(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(t){return decodeURIComponent(atob(t).replace(/(.)/g,((t,e)=>{let n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(e)}catch(n){return atob(e)}}i.prototype.name="InvalidTokenError";var c=n(2619),u=n(5017);const{stripePublishableKey:l}=u.default;var p=({token:t})=>{const e=function(t,e){if("string"!==typeof t)throw new i("Invalid token specified: must be a string");e||(e={});const n=!0===e.header?0:1,o=t.split(".")[n];if("string"!==typeof o)throw new i(`Invalid token specified: missing part #${n+1}`);let r;try{r=s(o)}catch(a){throw new i(`Invalid token specified: invalid base64 for part #${n+1} (${a.message})`)}try{return JSON.parse(r)}catch(a){throw new i(`Invalid token specified: invalid json for part #${n+1} (${a.message})`)}}(t),{orderData:n}=e;console.log(e,"testingkit");const p=(0,a.J)(l,{stripeAccount:n.connectedAccountId}),d={fetchClientSecret:(0,o.useCallback)((async()=>fetch(`${(0,u.returnAPI)()}order/create-checkout-session/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t})}).then((t=>t.json())).then((t=>t.clientSecret))),[]),onComplete:()=>{(0,c.showToast)({type:"success",msg:"Payment Successful"})}};return console.log(d,"monark"),o.default.createElement("div",null,o.default.createElement(r.EmbeddedCheckoutProvider,{stripe:p,options:d},o.default.createElement(r.EmbeddedCheckout,{className:"max-h-[80dvh]"})))}},4363:function(t,e,n){"use strict";n.r(e);var o=n(488),r=n.n(o),a=n(7423);class i extends a.Component{constructor(t){super(t),this.state={innerHtml:""}}componentDidUpdate(t){try{this.props.componentData.src===t.componentData.src&&this.props.componentData.autoplay===t.componentData.autoplay||(""===this.props.componentData.src&&this.setState({innerHtml:""}),this.getIframelyHTML(this.props.componentData.src||"","builder"!=this.props.type&&this.props.componentData.autoplay))}catch(e){console.error(e,"Error encountered")}}getIframelyHTML=(t="",e)=>{t&&fetch(`https://iframely.codedesign.app/iframely?url=${t}${e?"&autoplay=1":""}`).then((t=>t.json())).then((t=>this.setState({innerHtml:t.html,init:!0}))).catch((()=>({html:""})))};render(){const{innerHtml:t,init:e}=this.state,{type:n,componentData:o={}}=this.props,i=!t&&{background:"url(https://res.cloudinary.com/storylens/image/upload/v1621073054/static/videoBg.svg)",backgroundPosition:"50% 50%",backgroundSize:"cover",width:"100%",height:"100%"};return e||this.getIframelyHTML(o.src||"","builder"!=n&&o.autoplay),t?a.default.createElement(a.Fragment,null,r()(t)):a.default.createElement("div",{style:i})}}e.default=i},3873:function(){},2044:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(488),a=n.n(r);class i extends o.default.PureComponent{render(){const{componentData:{children:t="Simple text here."}}=this.props;return o.default.createElement(o.Fragment,null,a()(t))}}e.default=i},2062:function(t,e,n){"use strict";n.r(e);var o=n(7423);class r extends o.Component{constructor(t){super(t),this.node=o.default.createRef()}state={};applyRef=t=>{this.node=t,this.setState({fakeValue:"hey"})};render(){const{src:t,componentData:e}=this.props,n="object"===typeof e.anchor&&Object.keys(e.anchor).length>0;let r=o.default.createElement("i",{style:{color:"inherit"},className:e?e.icon:t,onMouseDown:t=>t.preventDefault(),alt:"sl"});return o.default.createElement(o.Fragment,null,n&&e.anchor.url?o.default.createElement("a",{rel:"noreferrer",href:e.anchor.url,style:{textDecoration:"none",cursor:"pointer",color:"inherit"},target:"on"===e.anchor.target?"_blank":"_parent"},r):r)}}e.default=r},714:function(t,e,n){"use strict";n.r(e);var o=n(8908),r=n.n(o),a=n(7423),i=n(9756),s=n(2445),c=n(5236),u=n(6354),l=n(9590),p=n.n(l),d=n(3465),f=n.n(d),E=n(7100),m=n(9245),_=n.n(m),h=n(4057),g=(n(6743),n(1717)),S=n(6160),T=n(6332);function y(){return(y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}const C=s.Responsive;class b extends a.default.Component{static defaultProps={componentStyle:{global:{backgroundColor:"",borderRadius:"",border:"",boxShadow:"",opacity:"",padding:""}}};constructor(t){super(t),this.state={topGuide:{},rightGuide:{},bottomGuide:{},leftGuide:{},searchText:"",layouts:{},builderLayout:{},highestIndex:0,components:[],resized:!1,lazyComponents:[],breakpoint:"lg",initialRenderComplete:!1,dragStop:!1,layout_history:[],revision_index:1},this.node=a.default.createRef()}shouldComponentUpdate(t,e){try{const{blueprint:n,context:o,selectedComponent:r,client_id:a,formState:i,currentBreakpoint:s,setIsUpdatingBlueprint:c,isFlexResize:u,isLegacyFormUpdating:l={},gridLayoutChildUpdateRequired:d}=this.props;this.prevChildren=[...this.children?this.children:[]];const f=n[o][a]?.[S.builderConstants.ELEMENT_ORDER_BREAKPOINT]?.map((t=>Object.values(n[o].components).find((e=>e.client_id===t.i))?.component?.__esModule)),E=t.blueprint[t.context][a]?.[S.builderConstants.ELEMENT_ORDER_BREAKPOINT]?.map((e=>Object.values(t.blueprint[t.context].components).find((t=>t.client_id===e.i))?.component?.__esModule));return!!f?.some(((t,e)=>!t&&E?.[e]))||(d!==t.gridLayoutChildUpdateRequired||(!p()(l,t.isLegacyFormUpdating)||(!(t.isGeneratingPageUsingAi||!this.props.isGeneratingPageUsingAi)||(!(t.isFlexResize===u||!t.isFlexResize?.includes(a))||(t.isDropping===a||(t.canvasInit!==this.props.canvasInit||(t.currentBreakpoint!==s||(i[a]!=t.formState[a]||(this.state.dragStop!==e.dragStop||(e.initialRenderComplete!=this.state.initialRenderComplete||(this.props.cssObj.padding!==t.cssObj.padding?(c(!0),this.props.updateResizeStatus({resized:!0,recentlyResizedComp:a}),setTimeout((()=>{this.props.updateResizeStatus({resized:!1,recentlyResizedComp:""}),c(!1)}),0),!0):!!(t.blueprint[o][a]&&!this.props.blueprint[o][a]||this.props.blueprint[o][a]&&!t.blueprint[o][a])||(!(!(o&&t.blueprint[o][a]&&this.props.blueprint[o][a])||p()(t.blueprint[o][a][s],this.props.blueprint[o][a][s]))||(JSON.stringify(t.blueprint[o].meta.canvasHiddenElements||[])!==JSON.stringify(this.props.blueprint[o].meta.canvasHiddenElements||[])||(t.resized!==this.props.resized||(t.isUpdatingBluePrint!=this.props.isUpdatingBluePrint||(this.children=(0,g.findAllChildren)(n[o],a,[],!0).flat(1/0),(r!==t.selectedComponent||t.selectedComponent!==a||r!==a)&&(!!this.children.includes(t.selectedComponent)||!(!this.prevChildren||this.children.length===this.prevChildren.length))))))))))))))))))}catch(n){return!1}}async componentDidMount(){const{onComponentDidMount:t=(()=>"")}=this.props;t(),this.layouts=this.props.columnsId||this.props.parent_id||"layouts"}async componentDidUpdate(t,e){const{blueprint:n,context:o,client_id:r,type:a}=this.props;if(e.initialRenderComplete!=this.state.initialRenderComplete&&"page"!==a){const t=document.getElementById("slBuilder");this.canvasHeight=t.offsetHeight,this.canvasWidth=t.offsetWidth}if(!this.state.dragStop||this.props.isUpdatingBluePrint||this.props.isUpdatingLayout)try{const{updateBlueprintContents:e}=this.props;if(this.props.canvasInit&&this.props.isDropping){this.isUpdatingGrid=!0,await(0,g.updateGridLayout)({prevProps:t,blueprint:n,updateBlueprintContents:e,type:"gridlayoutchild",context:o,client_id:r})&&(this.isUpdatingGrid=!1)}}catch(i){console.error(i,"error"),this.props.updateComplete(),this.isUpdatingGrid=!1}}onComponentEdit=t=>{this.setState({components:t})};onDrag=t=>{const{setDragSortedLayouts:e}=this.props;e(t)};onDragStart=(t,e,n,o,r,a)=>{this.props.setDragSortedLayouts(null),this.props.selectedComponent!==n.i&&this.props.storeCurrentComponentId(n.i,4),this.counter=0,this.element=[a],this.setState({dragStop:!0})};onDragStop=t=>{if(this.props.setDragSortedLayouts(null),this.state.dragStop&&this.setState({dragStop:!1}),t){const{blueprint:e,context:n,updateBlueprintContents:o}=this.props;o("blueprint",{...e,[n]:{...t}},!0)}};renderLinks=t=>t&&t.map(((t,e)=>{let n=t.name.charAt(0).toUpperCase()+t.name.slice(1);return a.default.createElement("li",{key:e},a.default.createElement("a",{href:t.url},n))}));handleUserClick=(t={})=>{const{target:e,currentTarget:n}=t,{type:o,blueprint:r,context:a,documentContext:i,updateUIState:s}=this.props,c=r[a],u=i||document;if("page"!==o)return;const l=n.id;if((0,g.findImmediateParentByName)(l,c,"Header")){let t=l;for(;(!t||!t.startsWith("HamburgerContainer"))&&t&&!t.startsWith("HamburgerContainer");)t=(0,g.getParentIdByClientId)(t,r,a);const n=u.getElementById(t);n&&n.contains(e)&&(u.body.style.overflow="hidden",s({hamburgerMenu:!0}))}};renderComponents(t,e,n={}){const{currentBreakpoint:o,client_id:r,documentContext:i,windowContext:s,onStartCapture:u,classes:l,blueprint:p,context:d,type:f,currentStateNameOfComponent:E}=this.props,m="builder"===f?p[d].components[t.client_id]||{}:t,_="image"===t.type?{width:"100%",height:"100%"}:{};p[d].components[r]&&p[d].components[r].name;const h=(0,g.getClassNamesStyleData)({extraStyles:_,classes:l,component:m,currentStateName:"builder"===f&&E,origin:"builder"===f?"builderCanvas":"other",stateNames:g.builderComponentParams.stateNames}),{client_id:S}=t,{hasClassesInsideComponent:T,builderStyles:C,stateStyles:b}=h,A="sm"===o?{...C.global,...C.mobile}:"md"===o?{...C.global,...C.tablet}:C.global,I=b&&b.focus?"sm"===o?b.focus.mobile:"md"===o?b.focus.tablet:b.focus.global:{},O=b&&b.hover?"sm"===o?b.hover.mobile:"md"===o?b.hover.tablet:b.hover.global:{},R=b&&b.active?"sm"===o?b.active.mobile:"md"===o?b.active.tablet:b.active.global:{},v=b&&b.placeholder?"sm"===o?b.placeholder.mobile:"md"===o?b.placeholder.tablet:b.placeholder.global:{},U={main:(0,g.convertCss)(A),focus:(0,g.convertCss)(I),hover:(0,g.convertCss)(O),active:(0,g.convertCss)(R),placeholder:(0,g.convertCss)(v)};function P({element:t}){const e=t?.getAttribute("data-clientid");return"slider-component-v1"===p[d].components[e].componentType}this.currentBreakpoint=o,this[`${S}CssString`]=U,this[`${S}classNamesStyleData`]=h,this[`${S}CssObject`]=A,this[`${S}flag`]=T;const L={onMountSliderForAutoplay:t=>{const e=i||document;let n=e.getElementById(t),o=t;for(;n&&!P({element:n});)n=n.parentNode,o=n?.getAttribute("data-clientid");const r=p[d].components[o]||null;if(!r)return;const a=r.componentStructureMap.slidesWrapper,s=e?.getElementById(a),c=s?.getBoundingClientRect?.()?.width,u=[...s?.childNodes||[]];let l=u.length-1;const f=r?.props?.componentData||{},{sliderAutoPlay:E=!1,sliderAutoplayStartDelay:m=2e3,slideDuration:_=2e3,sliderAutoplayStopAfter:h=6e4}=f;if(!E)return;const g=()=>{let t=((this.props.clientState[`${r.client_id}__currentIndex`]||0)+1)%l;this.props.updateIndividualClientState(`${r.client_id}__currentIndex`,t),x({currentIndex:t,slideElements:u,slidesWrapperWidth:c})};setTimeout((()=>{g();const t=setInterval(g,Math.abs(_));setTimeout((()=>{clearInterval(t)}),Math.abs(h))}),Math.abs(m))},showSlide:(t=0,e=[])=>{},nextSlide:t=>{t?.persist();let e=t.currentTarget,n=e?.getAttribute("data-clientid");for(;e&&!P({element:e});)e=e.parentNode,n=e?.getAttribute("data-clientid");const o=p[d].components[n]||null;if(!o)return;const r=o.componentStructureMap.slidesWrapper,a=(i||document)?.getElementById(r),s=a?.getBoundingClientRect?.()?.width,c=[...a?.childNodes||[]];let u=((this.props.clientState[`${o.client_id}__currentIndex`]||0)+1)%(c.length-1);this.props.updateIndividualClientState(`${o.client_id}__currentIndex`,u),x({currentIndex:u,slideElements:c,slidesWrapperWidth:s})},prevSlide:t=>{let e=t.currentTarget,n=e?.getAttribute("data-clientid");for(;e&&!P({element:e});)e=e.parentNode,n=e?.getAttribute("data-clientid");const o=p[d].components[n]||null;if(!o)return;const r=o.componentStructureMap.slidesWrapper,a=(i||document)?.getElementById(r),s=a?.getBoundingClientRect?.()?.width,c=[...a?.childNodes||[]];let u=this.props.clientState[`${o.client_id}__currentIndex`],l=c.length-1,f=((u||0)-1+l)%l;this.props.updateIndividualClientState(`${o.client_id}__currentIndex`,f),x({currentIndex:f,slideElements:c,slidesWrapperWidth:s})}},x=({currentIndex:t,sliderId:e,slideElements:n=[],slidesWrapperWidth:o})=>{"undefined"!==typeof t&&o&&n.forEach((e=>{e.style.transform=`translateX(-${t*o}px)`}))},N=t.executableInternalFunctions?.onMount?.[0],D=t.executableInternalFunctions?.onClick?.[0],w=L[D]||null,F=L[N]||null,M=a.default.createElement(a.Fragment,null,a.default.createElement(e,y({currentIteratingComponent:t,onComponentDidMount:()=>"builder"!==f&&F?.(t.client_id),onUserClick:t=>{"builder"!==f&&w?.(t)},compProps:m.props,classNames:this[`${S}flag`]?m.classes&&m.classes.join(" "):"",type:this.props.type,key:S,client_id:S,clientId:S,cssObj:this[`${S}CssObject`],cssString:this[`${S}CssString`],parent_id:r,name:t.name,category:t.category,documentContext:i,windowContext:s,onStartCapture:u},t.props,null,{properties:n})),a.default.createElement("style",{id:`style-section-${r}-${S}`,key:`style-section-${r}-${S}`},(0,g.generateCSS)({id:S,cssCombinedObject:this[`${S}CssString`]}))),k=(0,c.checkNested)(t,"props","componentData","anchor")?t.props.componentData.anchor:{};let{linkType:j,url:B,target:G}=k||{};if("page"===this.props.type&&j&&B){const t=window.location.href.includes("dev.codedesign.app")||window.location.href.includes("dev.codedesign.ai")||window.location.href.includes("staging-production-jqesv.codedesign.app")||window.location.href.includes("localhost:3000"),e=["user","readonly"],n=new URLSearchParams(window.location.search),o=new URLSearchParams;e.forEach((t=>{n.has(t)&&o.set(t,n.get(t))}));const r=o.toString()?"?"+o.toString():"";if(t&&"page"===j&&(B=`page-preview/${this.props.project}/${B}${r}`),t&&"internal"===j&&(B=`page-preview/${this.props.project}/${d}${B}${r}`),!t){if("internal"===j){B=`${"home"===d?"":d}${B}${r}`}"page"===j&&(B=B.replace(/\bhome\b/,""))}return a.default.createElement("a",{rel:"noreferrer",href:B,className:"anchor-tag-reset cd-padding",style:{textDecoration:"none"},target:"on"===G?"_blank":"_parent"},M)}return M}ungroupComponents=()=>{};onResizeStart=t=>{this.counter=0,this.props.selectedComponent!==t.i&&this.props.storeCurrentComponentId(t.i,5),this.props.updateResizeStatus({resized:!0,recentlyResizedComp:t.i})};onResize=()=>{this.props.toggleShowLayout||this.counter++};onResizeStop=(t,e)=>{this.counter=0,this.setState({resized:!1}),setTimeout((()=>this.props.updateResizeStatus({resized:!1,recentlyResizedComp:""})));const{blueprint:n,context:o,saveLayout:r,currentBreakpoint:a}=this.props;if("Columns"===n[o].components[e.i].name){let t=f()(n[o][e.i]);if(!t||"lg"!==a||!t[a].some((t=>t.y>0))){let n=0;t[a].map((t=>n+=t.w)),n<=12&&t[a].map((t=>t.h=e.h)),r(t,e.i,1)}}};isDragDisabledForElement=t=>{let e=!1;return(this.props.blueprint[this.props.context]?.components[t]?.disabledBuilderFunctions||[]).includes(S.DISABLED_BUILDER_FUNCTIONS.drag)&&(e=!0),e};render=()=>{const{view:t,gridLayout:e,context:n,windowContext:o,documentContext:i,blueprint:s,client_id:u,resized:l,type:p,selectedComponent:d,canvasTransform:E,compProps:m,formState:T,currentBreakpoint:b,onUserClick:A=(()=>{}),selfProps:I={},userRole:O}=this.props,R=r().serverLoadedComponents?r().serverLoadedComponents:s[n].components;let v=Object.values(R),U={lg:[],sm:[],md:[],bp_1280:[],bp_1440:[],bp_1920:[]};const P=(0,g.checkIfElementIsPartOfAGroup)(s[n],u);s[n][u]&&Object.keys(s[n][u]).map((t=>{U[t]=s[n][u][t].filter((t=>{if(t&&t?.i)return!0}))}));let L,x=(0,g.findLayout)(u,s[n]);if((0,c.checkNested)(x,b,0,"h")&&(L=x[b]&&x[b][0].h),!this.props.client_id)throw new Error("client_id is undefined");let N="."+u+"-parent-handle";const D=m&&m.componentData&&m.componentData.isFlex||!1;let w=!1;if(this.props.cssObj&&this.props.cssObj.padding){let t=this.props.cssObj.padding.split(" ");"0px"==t[0]&&"0px"==t[1]&&"0px"==t[2]&&"0px"==t[3]||(w=!0)}let F=[];U[S.builderConstants.ELEMENT_ORDER_BREAKPOINT].map(((t,e)=>{F[e]=v.find((e=>e.client_id===t.i))}));const M="builder"===this.props.type&&s[n].meta.canvasHiddenElements?.join(" ")||"";return U?a.default.createElement(C,y({isLinkedComponentCanvas:this.props.isLinkedComponentCanvas,gridItemUpdateRequired:this.props.gridLayoutChildUpdateRequired,context:n,windowContext:o,documentContext:i,onUserClick:A,usePercentages:w,compCSS:this.props.cssString,page:s[n],compProps:m,dataClientId:u,type:this.props.type,draggableCancel:".non-draggable",dragStop:this.state.dragStop,breakpoint:b,selectedComponent:d,id:u+"grid",style:{zIndex:"3"},maxRows:L,isDraggable:"page"!==p&&O&&"readonly"!==O&&!this.isDragDisabledForElement(u),isResizable:"page"!==p&&O&&"readonly"!==O,className:`rgl-container ${"Container"===this.props?.name&&"page"===this.props?.type&&"container"} layout ${D?"isFlex":""}`,compactType:D?"horizontal":null,layouts:f()(U)},this.props.blueprint[n].meta.gridLayout?this.props.blueprint[n].meta.gridLayout:e,{onLayoutChange:this.handleLayoutChange,useCSSTransforms:!1,preventCollision:!1,onDrag:t=>this.onDrag(t),onDragStart:(t,e,n,o,r,a)=>this.onDragStart(t,e,n,o,r,a),onDragStop:t=>this.onDragStop(t),onResize:(t,e,n,o,r)=>{this.onResize(n)},onResizeStart:(t,e,n,o,r)=>{this.onResizeStart(n)},onResizeStop:(t,e,n,o,r)=>this.onResizeStop(t,n),blueprintChanged:this.props.isUpdatingBluePrint,fetched:this.props.layoutsInitialized,transformScale:"web"===t?E:1,draggableHandle:N}),(0===F.length&&I["data-column"],0===F.length&&"UI/GridLayoutChild/index.js"===this.props.currentIteratingComponent?.main&&(this.props.currentIteratingComponent?.props?.componentStyle?.global?.backgroundImage||this.props.currentIteratingComponent?.props?.componentStyle?.global?.background||this.props.currentIteratingComponent?.props?.componentStyle?.global?.backgroundColor),F.filter((t=>!_()(t))).filter((t=>{if(!t?.component?.__esModule)return!1;const e=t.props&&t.props.componentData&&t.props.componentData.hideIn||[];return t.parent===u&&(!(null==t.component||t.component&&0===Object.keys(t.component).length)&&(e&&!e.includes(b)))})).map((t=>{const e=t.component.default,o=(t?.classes||[]).join(" ");let r;try{r=M.search(t.client_id)>-1}catch(f){r=!1}const i=s[n][t.client_id]?s[n][t.client_id]?.lg?.length:0,{tagName:c="div",outProps:u,properties:l}=(0,h.default)(t.main,t,{},{type:this.props.type,pageLoadedFrom:p,classNames:o,isElementHiddenInCanvas:r,isPartOfAGroup:P,blockComponentChildrenLength:i,layouts:s[n][t.parent||"layouts"]?.lg}),d=this.renderComponents(t,e,l);return a.default.createElement(c,u,d)})))):a.default.createElement("div",null)};handleLayoutChange=(t,e)=>{if("page"===this.props.type)return;e=f()(e),t=f()(t);const{blueprint:n,context:o,saveLayout:r,client_id:a,currentBreakpoint:i}=this.props,s=(0,g.mergeLayoutsAndRemoveDuplicates)(e,t,i);if(e[i]=s,this.state.initialRenderComplete){if(this.props.canvasInit){let s=Object.values(n[o].components);const c=e[i].map((t=>t.i));e[S.builderConstants.ELEMENT_ORDER_BREAKPOINT]=c.map((t=>e[S.builderConstants.ELEMENT_ORDER_BREAKPOINT].find((e=>e.i===t)))),Object.keys(e).map((t=>{e[t]=e[t].filter((t=>s.filter((e=>e.client_id===t.i)).length>0))})),r(e,a,5,t)}}else this.setState({initialRenderComplete:!0})}}const A=(0,i.$j)((t=>({classes:t.customization.present.data.classes,currentStateNameOfComponent:t.customization.present.currentStateNameOfComponent,layoutsInitialized:t.customization.present.layoutsInitialized,view:t.customization.present.data.view,currentBreakpoint:t.customization.present.data.currentBreakpoint,screenWidth:t.ui.screenWidth,blueprint:t.customization.present.data.blueprint,gridLayout:t.customization.present.gridLayout,resized:t.customization.present.resized,recentlyResizedComp:t.customization.present.recentlyResizedComp,deletionKey:t.customization.present.deletionKey,isUpdatingLayout:t.customization.present.isUpdating,isUpdatingBluePrint:t.customization.present.isUpdatingBluePrint,isDeletingComponent:t.customization.present.isDeletingComponent,recentlyAddedComponent:t.customization.present.data.recentlyAddedComponent,recentlyremovedComponentId:t.customization.present.data.recentlyremovedComponentId,selectedComponent:t.customization.present.data.currentlySelectedComponentId,context:t.customization.present.context,componentManifest:t.customization.present.data.componentManifest,recentlyUpdatedComponents:t.customization.present.data.recentlyUpdatedComponents,autoResponsiveComps:t.customization.present.autoResponsiveComps,toggleShowLayout:t.customization.present.showCustomLayout,canvasTransform:t.customization.present.canvasTransform,formState:t.customization.present.formState,canvasInit:t.customization.present.canvasInit,isDropping:t.customization.present.isDropping,windowContext:t.customization.present.windowContext,project:t.customization.present.project,functions:t.functions.data.functionDefinitions,userRole:t.customization.present.userRole,clientState:t.stateManagement,isGeneratingPageUsingAi:t.customization.present.isGeneratingPageUsingAi,isFlexResize:t.ui.isFlexResize,isLegacyFormUpdating:t.ui.isLegacyFormUpdating,gridLayoutChildUpdateRequired:t.ui.gridLayoutChildUpdateRequired})),(t=>({setDragSortedLayouts:e=>{t(u.uiActions.setDragSortedLayouts(e))},saveToServer:e=>t(u.customizationActions.saveToServer(e)),setIsUpdatingBlueprint:e=>{t({type:E.customizationConstants.SET_IS_UPDATING_BLUEPRINT,payload:e})},exchangeChildren:(e,n,o,r)=>{t(u.customizationActions.exchangeChildren(e,n,o,r))},showErrorAlert:e=>{t(u.alertActions.error(e.toString()))},saveLayout:(e,n)=>{t(u.customizationActions.saveLayoutToServer(e,n))},saveComponentManifest:(e,n)=>{t(u.customizationActions.saveComponentAsPreset(e,n))},updateComponentManifest:e=>{t(u.customizationActions.updateComponentManifest(e))},updateComplete:()=>{t(u.customizationActions.blueprintAndLayoutUpdateComplete())},ungroupComponents:(e,n,o,r)=>{t(u.customizationActions.ungroupComponents(e,n,o,{currentBreakpoint:r}))},updateComponentProps:e=>{t(u.customizationActions.updateComponentProps(e))},updateResizeStatus:e=>{t(u.customizationActions.updateResizeStatus(e))},storeCurrentComponentId:e=>{t(u.customizationActions.storeCurrentComponentId(e))},toggleComponentEditModal:e=>{t(u.customizationActions.toggleComponentEditModal(e))},updateBlueprintContents:(e,n,o)=>{t(u.customizationActions.updateBlueprintContents(e,n,o))},updateUIState:(e={})=>{t(u.customizationActions.updateUIState(e))},updateIndividualClientState:(e,n)=>{e&&t({type:T.stateManagementConstants.UPDATE_INDIVIDUAL_ITEM,payload:{itemKey:e,itemValue:n}})}})))(b);e.default=A},8538:function(t,e,n){"use strict";n.r(e);var o=n(7423);class r extends o.default.Component{render=()=>o.default.createElement("div",null)}e.default=r},3522:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(488),a=n.n(r),i=n(9994);class s extends o.default.PureComponent{constructor(){super(),this.state={}}componentDidCatch(t){console.log(t,"An error occurred within your HTML Code Component"),this.setState({error:t})}render(){const{componentData:t={},showPlaceholder:e=!1,type:n}=this.props,{htmlCode:r=""}=t,{error:s}=this.state;let c="builder"===n?{pointerEvents:"none"}:{};if(c={...c,height:"100%",width:"100%"},s)return o.default.createElement("div",null," Invalid HTML Code. ",s?.toString()," ");try{const t=((t,e,n=[])=>{if(!t.includes("iframe")||0===n.length)return t;try{const o=(new DOMParser).parseFromString(t,"text/html"),r=o.querySelector("iframe");if(r){const t=r.getAttribute("src"),a=new URL(t);return n.forEach((t=>{"autoplay"===t&&"builder"===e&&"1"===a.searchParams.get(t)&&a.searchParams.set(t,"0")})),r.setAttribute("src",a.toString()),o.body.innerHTML}}catch(s){console.error("Error parsing HTML:",s)}return t})(r,n,["autoplay"]),u=a()(t);return!r.trim()||e?o.default.createElement(i.Placeholder,{type:"Code",placeholder:"Add Code from the Right Sidebar"}):o.default.createElement("div",{style:c},o.default.createElement(o.Fragment,null,u))}catch(u){return o.default.createElement("div",{style:c},o.default.createElement(o.Fragment,null,o.default.createElement(i.Placeholder,{type:"Code",placeholder:"Add Code from the Right Sidebar"})))}}}e.default=s},8634:function(t,e,n){"use strict";n.r(e);var o=n(488),r=n.n(o),a=n(6561),i=n(7423);function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class c extends i.Component{constructor(t){super(t),this.state={renderContent:"",hasError:!1}}componentDidMount(){try{const t=this.getIframe(this.props.componentData?.src);this.setState({renderContent:t})}catch(t){console.error(t,"An error has occured ")}}componentDidUpdate(t){const{compProps:{componentData:{src:e}={}}={}}=this.props;if(t.compProps?.componentData?.src!==e)try{let t={renderContent:this.getIframe(this.props.componentData?.src)};this.state.hasError&&(t={...t,hasError:!1}),this.setState({...t})}catch(n){console.error(n,"An error has occured ")}}getIframe=(t="")=>{const e={replace:function(t){if("iframe"===t.name){const{style:e="",...n}=t.attribs||{},r=function(t=""){if(!t)return;for(var e={},n=t.split(";"),o=0;o<n.length;o++){var r=n[o].split(":");const t=r.splice(0,1)[0]?.trim();t&&(e[t]=r.join(":")?.trim())}return e}(e);let a={},c={};return n&&Object.keys(n).forEach((t=>{let e=""===n[t]?"true":n[t],o=u[t]||t;a[o]=e})),r&&Object.keys(r).map((t=>{let e=r[t];c={...c,[l(t)]:e}})),i.default.createElement("iframe",s({},a,{style:c,width:"100%",height:"100%"}),(0,o.domToReact)(t.children))}if("tag"===t.type&&"script"===t.name)return i.default.createElement("script",t.attribs,(0,o.domToReact)(t.children))}};return t?r()(t,e):"placeholder"};componentDidCatch(){this.setState({hasError:!0})}render(){const{compProps:{componentData:{src:t=""}={}}={},type:e}=this.props;let n="";window.location.pathname.startsWith("/page-preview")&&(n="true");const o="builder"===e?{pointerEvents:"none"}:{};return i.default.createElement(a.ZP,{sandbox:"allow-popups allow-modals allow-scripts allow-forms allow-same-origin",width:"100%",height:"100%",head:i.default.createElement(i.Fragment,null,i.default.createElement("link",{rel:"stylesheet",href:"/assets/css/reset.css"}),r()(`<style>\n              body{overflow:hidden;}\n              html,body,.frame-content,.frame-root{\n                height:100%;\n                ${"builder"===e?"pointer-events:none;":""}\n              }\n            </style>`)),style:o},this.state.hasError?"An Error Occured. Check the input. If the error still exists, contact support!":this.state.renderContent)}}e.default=c;const u={allowfullscreen:"allowFullScreen",accesskey:"accessKey",contenteditable:"contentEditable",spellcheck:"spellCheck",tabindex:"tabIndex",frameborder:"frameBorder",referrerpolicy:"referrerPolicy",srcdoc:"srcDoc"};function l(t){return(t=t.replace(/^(\s+)?-(?=ms)/,"").trim()).replace(/(\-\w)/g,(t=>t[1].toUpperCase()))}},9597:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(5697),a=n.n(r);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class s extends o.default.PureComponent{constructor(t){super(t),this.state={animationStyle:""}}componentDidMount(){}render(){const{windowContext:t,documentContext:e,client_id:n,classNames:r="",src:a,componentData:s={},properties:c={},...u}=this.props,{imgAttr:l={}}=s;return o.default.createElement(o.Fragment,null,o.default.createElement("img",i({className:r,"data-clientId":n,id:n+"-id",src:a||"https://res.cloudinary.com/storylens/image/upload/v1618515994/static/defaultBgImg.svg",onMouseDown:t=>t.preventDefault(),alt:"sl"},c,u)),l.username&&l.userUrl&&o.default.createElement("figcaption",{style:{fontSize:"14px",lineHeight:"20px",fontWeight:"400",textAlign:"center",color:"#757575"}},"Photo by"," ",o.default.createElement("a",{href:l.userUrl,target:"_blank",rel:"noreferrer",style:{textDecoration:"underline"}},"@",l.username," "),"on"," ",o.default.createElement("a",{href:"https://unsplash.com",target:"_blank",rel:"noreferrer",style:{textDecoration:"underline"}},"Unsplash")))}}s.propTypes={className:a().string,style:a().object},s.defaultProps={componentStyle:{global:{}}},e.default=s},2866:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(488),a=n.n(r);class i extends o.default.PureComponent{render(){const{componentData:t={}}=this.props,{svg:e=""}=t;try{const t=a()(e);return o.default.createElement(o.Fragment,null,t)}catch(n){return o.default.createElement(o.Fragment,null)}}}e.default=i},2618:function(t,e,n){"use strict";n.r(e);var o=n(6811),r=n(7423),a=n(9756);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class s extends r.default.PureComponent{static defaultProps={componentStyle:{global:{fontFamily:""}}};componentDidMount(){const{client_id:t,componentData:{inputType:e=""}={},properties:{defaultValue:n}={},clientInputs:o,updateClientInputs:r}=this.props;if("undefined"!==typeof n&&"undefined"===typeof o[t]){let o=n;["datetime-local","date","time"].includes(e)&&o&&(o=this.convertToLocalDateTime(o,e)),r({[t]:o})}}convertToLocalDateTime=(t,e)=>{if(!t)return"";const n=new Date(t),o=n.getTimezoneOffset();switch(n.setMinutes(n.getMinutes()-o),e){case"datetime-local":return n.toISOString().slice(0,16);case"date":return n.toISOString().slice(0,10);case"time":return n.toISOString().slice(11,16);default:return n.toISOString()}};render=()=>{const{type:t,client_id:e,classNames:n,componentData:{placeholder:o={},inputType:a=""}={},properties:s,clientInputs:c,updateClientInputs:u}=this.props;let l=c[e];return["datetime-local","date","time"].includes(a)&&l&&(l=this.convertToLocalDateTime(l,a)),r.default.createElement(r.Fragment,null,r.default.createElement("input",i({onMouseDown:e=>"builder"===t&&e.preventDefault(),"data-clientId":e,type:a||"text",placeholder:"string"===typeof o?o:"",style:{height:"100%",width:"100%",minHeight:"inherit",minWidth:"inherit",maxHeight:"inherit",maxWidth:"inherit"},className:`non-draggable ${n}`,value:l,onChange:t=>{let n="checkbox"===a?!!t.target.checked:t.target.value;if(["datetime-local","date"].includes(a)&&n)n=new Date(t.target.value).toISOString();else if("time"===a&&n){const t=new Date,[e,o]=n.split(":");t.setHours(e),t.setMinutes(o),n=t.toISOString()}u({[e]:n})}},s)))}}e.default=(0,a.$j)((t=>({clientInputs:t.common.clientInputs})),(t=>({updateClientInputs:(e={})=>{t(o.commonActions.updateClientInputs(e))}})))(s)},6053:function(t,e,n){"use strict";n.r(e);var o=n(6811),r=n(7423),a=n(9756);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class s extends r.default.PureComponent{static defaultProps={componentStyle:{global:{fontFamily:""}}};constructor(t){super(t),this.state={value:""}}componentDidMount(){const{client_id:t,componentData:e={},updateClientInputs:n,properties:{defaultValue:o}={},clientInputs:r}=this.props,{Options:a=[]}=e;let i="";"undefined"!==typeof o&&"undefined"===typeof r[t]?i=o:a&&a.length,n({[t]:i})}render=()=>{const{type:t,componentStyle:e={},componentData:{Options:n=[],placeholder:o=""}={},classNames:a,client_id:s,properties:c={}}=this.props,{optionStyle:u={}}=e;return r.default.createElement(r.Fragment,null,r.default.createElement("select",i({onMouseDown:e=>"builder"===t&&e.preventDefault(),"data-clientId":s,className:`non-draggable ${a}`,style:{height:"100%",width:"100%",minHeight:"inherit",minWidth:"inherit",maxHeight:"inherit",maxWidth:"inherit"},onChange:t=>this.props.updateClientInputs({[s]:t.target.value}),value:this.props.clientInputs[s]||""},c),o?r.default.createElement("option",{value:"",selected:!0,disabled:!0},o):null,n&&n.map(((t,e)=>r.default.createElement("option",{key:e,style:{...u},value:t.value,disabled:t.disabled},t.label)))))}}e.default=(0,a.$j)((t=>({clientInputs:t.common.clientInputs})),(t=>({updateClientInputs:(e={})=>{t(o.commonActions.updateClientInputs(e))}})))(s)},3014:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(6811),a=n(9756);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class s extends o.default.PureComponent{static defaultProps={componentStyle:{global:{fontFamily:""}}};render=()=>{const{type:t,componentData:{placeholder:e=""}={},classNames:n,client_id:r,properties:a={}}=this.props;return o.default.createElement(o.Fragment,null,o.default.createElement("textarea",i({onMouseDown:e=>"builder"===t&&e.preventDefault(),placeholder:e||"",style:{width:"100%",height:"100%"},className:`non-draggable ${n}`,"data-clientId":r,id:r+"-id",onChange:t=>this.props.updateClientInputs({[r]:t.target.value}),value:this.props.clientInputs[r]},a)))}}e.default=(0,a.$j)((t=>({clientInputs:t.common.clientInputs})),(t=>({updateClientInputs:(e={})=>{t(r.commonActions.updateClientInputs(e))}})))(s)},9994:function(t,e,n){"use strict";n.r(e),n.d(e,{Placeholder:function(){return a}});var o=n(7423),r=n(6265);const a=({type:t,placeholder:e})=>{if(!t)return"";switch(t){case"Code":return o.default.createElement(i,{placeholder:e});default:return""}},i=t=>{const e=(0,o.useRef)(null),[n,a]=(0,o.useState)({hideIcon:!1,hideText:!1});return(0,o.useEffect)((()=>{const t=new ResizeObserver((()=>{if(e.current){const t=e.current.parentElement,n=t.offsetHeight,o=t.offsetWidth;a({hideIcon:n<60&&o<60,hideText:n<120||o<300})}}));return e.current&&t.observe(e.current.parentElement),()=>{t.disconnect()}}),[]),o.default.createElement("div",{className:`cd-element-placeholder-wrapper \n                ${n.hideIcon?"hide-icon":""} \n                ${n.hideText?"hide-text":""}`,ref:e},o.default.createElement("img",{className:"cd-element-placeholder-icon",src:r.default}),t.placeholder&&o.default.createElement("span",{className:"cd-element-placeholder-text"},t.placeholder))}},9410:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return c}});var o=n(7423),r=n(2445),a=n(8230);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}const s=r.Responsive;class c extends o.Component{render(){const{handleClose:t,screenWidth:e,blueprint:n,context:r,gridLayout:c,renderComponents:u,lazyComponents:l}=this.props;let p="";const d=l.filter((t=>{if(t.parent&&t.parent.startsWith("NavlinksWrap"))return p||(p=t.parent),!0})),f=n[r][p],E=d.map((t=>`#${t.client_id}`)).join(",");return o.default.createElement("div",{className:"hamburger-menu-expand",style:{background:"#fafafa",height:"100vh",width:"100vw",position:"absolute",top:"0px"}},o.default.createElement("div",{style:{display:"flex",justifyContent:"end",width:"100%"},onClick:t},o.default.createElement("i",{className:"icon-btn-close"}),o.default.createElement("style",null,`.icon-btn-close { margin:16px; cursor:pointer;}\n            .icon-btn-close::after {\n  background-image: url("${a.default}");\n  content: " ";\n  display: block;\n  height: 24px;\n  width: 24px;\n  background-size: 24px; }`)),o.default.createElement("div",{className:"hamburger-content",style:{padding:"0px 32px",width:"100%"}},o.default.createElement(s,i({type:"page",style:{zIndex:"0"},isDraggable:!1,isResizable:!1,className:"layout",verticalCompact:!1,compactType:!1,breakpoint:"sm"},n[r]&&n[r].meta.gridLayout?n[r].meta.gridLayout:c,{layouts:f,useCSSTransforms:!1,preventCollision:!1,width:e}),d.map((t=>{const e=t.component.default;return o.default.createElement("div",{key:`${t.client_id}`,id:`${t.client_id}`,style:{zIndex:String(t.zIndex)}},u(t,e))}))),o.default.createElement("style",null,`${E}{\n        position:static !important;\n    }`)))}}},2477:function(t,e,n){"use strict";n.r(e);var o=n(1717),r=n(7423),a=n(9756);e.default=()=>{const[t,e]=(0,r.useState)(""),n=(0,a.v9)((t=>t.customization.present?.data?.styleguide));return(0,r.useEffect)((()=>{const t=(0,o.generateCSSVariablesFromStyleguide)({styleguide:n});e(t)}),[n]),r.default.createElement("style",null,`:root { ${t} }`)}},6125:function(t,e,n){"use strict";n.r(e);var o=n(7423);class r extends o.default.PureComponent{render=()=>{const{componentStyle:t}=this.props;return o.default.createElement(o.Fragment,null,"Sample component",o.default.createElement("br",null),o.default.createElement("pre",null,JSON.stringify(t,void 0,4)))}}const a=r;e.default=a},2545:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(8908),a=n.n(r),i=n(4742),s=n(488),c=n.n(s),u=n(5236);function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class p extends o.default.PureComponent{render(){const{windowContext:t,responsiveStyle:e={mobile:{global:{}},tablet:{global:{}}},componentStyle:{global:n},className:r,componentData:{children:s="Simple text here.",responsiveFontSize:p={}},...d}=this.props,f=t||a();let E,m;if("string"!==typeof s)return null;E=s.indexOf('class="paragraph"')>=0?"paragraph":s.indexOf('class="headerOne"')>=0?"headerOne":(s.indexOf('lass="headerTwo'),"headerTwo"),m="headerOne"===E?{web:"52px",tablet:"40px",mobile:"30px"}:"headerTwo"===E?{web:"36px",tablet:"28px",mobile:"22px"}:"paragraph"===E?{web:"18px",tablet:"16px",mobile:"14px"}:{web:"24px",tablet:"30px",mobile:"16px"};const _={web:p.web?p.web:m.web,tablet:p.tablet?p.tablet:m.tablet,mobile:p.mobile?p.mobile:m.mobile};let h=n.animation?n.animation:"";return o.default.createElement(o.Fragment,null,o.default.createElement(i.Z,{targetWindow:f,queries:u.builderMediaQueries},(t=>{const{small:a,medium:i,large:u}=t,p=a&&e.mobile?e.mobile.global.verticalAlign:i?e.tablet&&e.tablet.global.verticalAlign:n.verticalAlign,f={height:"100%",display:"block",minHeight:"inherit",minWidth:"inherit",maxHeight:"inherit",maxWidth:"inherit",lineHeight:n.lineHeight?n.lineHeight:"",letterSpacing:n.letterSpacing?n.letterSpacing:"",padding:n.padding?n.padding:"",textAlign:a?e.mobile&&e.mobile.global.textAlign:i?e.tablet&&e.tablet.global.textAlign:u?n.textAlign:"",fontSize:a?_.mobile:i?_.tablet:_.web,...p||{}};return o.default.createElement(o.Fragment,null,o.default.createElement("span",l({style:f,className:r,"data-aos":h},d),c()(s)))})))}}p.defaultProps={componentStyle:{global:{padding:{value:""},lineHeight:{value:""},letterSpacing:{value:""}}},componentData:{children:"Simple text here ."},className:"",children:"Simple text here"},e.default=p},3042:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(488),a=n.n(r);class i extends o.default.PureComponent{render(){const{componentData:t={}}=this.props,{children:e=""}=t;return o.default.createElement(o.Fragment,null,a()(e))}}e.default=i},449:function(t,e,n){"use strict";n.r(e);var o=n(488),r=n.n(o),a=n(7423);class i extends a.Component{constructor(t){super(t),this.state={innerHtml:""}}componentDidUpdate(t){try{this.props.componentData.src===t.componentData.src&&this.props.componentData.autoplay===t.componentData.autoplay&&this.props.componentData.mute===t.componentData.mute||(""===this.props.componentData.src&&this.setState({innerHtml:""}),this.getIframelyHTML(this.props.componentData.src||"","builder"!=this.props.type&&this.props.componentData.autoplay,this.props.componentData.mute))}catch(e){console.error(e,"An error has occured")}}getIframelyHTML=(t="",e,n)=>{t&&fetch(`https://iframely.codedesign.app/iframely?url=${t}${e?"&autoplay=1":""}${n?"&mute=1":""}`).then((t=>t.json())).then((t=>{this.setState({innerHtml:t.html,init:!0})})).catch((()=>({html:""})))};render(){const{innerHtml:t,init:e}=this.state,{type:n,componentData:o={}}=this.props,i=!t&&{background:"url(https://res.cloudinary.com/storylens/image/upload/v1621073054/static/videoBg.svg)",backgroundPosition:"50% 50%",backgroundSize:"cover",width:"100%",height:"100%"};return e||this.getIframelyHTML(o.src||"","builder"!=n&&o.autoplay,o.mute),t?a.default.createElement(a.Fragment,null,r()(t)):a.default.createElement("div",{style:i})}}e.default=i},4057:function(t,e,n){"use strict";n.r(e),n.d(e,{matchExact:function(){return c}});var o=n(4177),r=n(1717),a=n(6774);const i={onSubmitForm:t=>{(0,r.getFormFieldsAndSubmitPublicForm)(t)},onBuy:t=>{(0,r.getFormFieldsAndSubmitPublicForm)(t,"order")},onLinkClickAction:t=>{(0,r.handleLinkClickAction)(t)}},s={onHoverLinkAction:t=>{(0,r.handleHoverLinkAction)(t)}};function c(t,e){var n=e.match(t);return n&&e===n[0]}e.default=(t,e={},n={},u={})=>{const l=e.executableInternalFunctions?.onClick?.[0],p=e.executableInternalFunctions?.onHover?.[0],d=i[l]||null,f=s[p]||null,{getState:E}=a.default,m=E(),{isFlexResize:_=[],isLegacyFormUpdating:h={}}=m.ui,g=h[e.client_id],S={"UI/Button/index.js":"button","UI/GridLayoutChild/index.js":"div","UI/Input/Input.jsx":"input","UI/Input/Select.jsx":"select","UI/Input/TextArea.jsx":"textarea","UI/Text/index.jsx":"span","UI/Image/index.jsx":"img","UI/IFrame/index.jsx":"section","UI/Fonts/index.jsx":"span"},{events:T,properties:y={}}=e?.props?.componentData||{};let C={};T&&Object.keys(T).map((t=>{Array.isArray(T[t])?C[t]=T[t].map((t=>(0,r.sequenceExecutor)(t,o.default,e.client_id))):(C[t]={},Object.keys(T[t]).map((n=>{C[t][n]=T[t][n].map((t=>(0,r.sequenceExecutor)(t,o.default,e.client_id)))})))}));let b=(()=>{let n="div";S[t]&&(n=S[t]);const o=e?.props?.componentData?.tagName;return o&&(n=o),"form"===n&&"builder"===u.pageLoadedFrom&&(n="div"),n})(),A=!1;["textarea","input","img","select"].includes(b)&&(A=!0);const{pageLoadedFrom:I,margin:O,isElementHiddenInCanvas:R,isPartOfAGroup:v,blockComponentChildrenLength:U,layouts:P=[]}=u;let L=u?.classNames?u.classNames.split(" "):[];const{otherAttributes:x={}}=e?.props?.componentData||{};let N,D=[];if(L=L.map((t=>(t.startsWith("internal___")&&D.push(t),t))).filter((t=>!t?.startsWith("internal___"))).join(" "),D=D.map((t=>t?.replace("internal___",""))).join(" "),0===U&&"div"===b&&"UI/GridLayoutChild/index.js"===e.main){const t=P.find((t=>t?.i===e.client_id));(["fit-content","auto"].includes(t?.h)||["fit-content","auto"].includes(t?.measurements?.h?.type))&&(N=!0)}const w="form"===e?.props?.componentData?.tagName&&"form-component-v1"!==e?.componentType,F="builder"===I?{...e.builderAttributes||{}}:{};let M={...{form:{"data-type":"grid-layout",className:(c(/\bcontainer\b/g,L)?"container":"")+" cd-padding",...e?.componentType?{"data-component-type":e.componentType}:{}},div:{"data-type":"grid-layout",className:`${c(/\bcontainer\b/g,L)?"container":""} cd-padding ${N?"cd-empty-div":""} ${_?.includes(e.client_id)?"resizing":""} ${w||g?"legacy-form-overlay-spotlight":""} `,...e?.componentType?{"data-component-type":e.componentType}:{}},button:{style:{}},audio:{style:{pointerEvents:"builder"===I?"none":"auto"}},iframe:{style:{pointerEvents:"builder"===I?"none":"auto"}},video:{style:{pointerEvents:"builder"===I?"none":"auto"}},select:{style:{"-webkit-appearance":"button"}},input:{}}[A?"span":b],...n};return b=A?"span":b,{tagName:b,outProps:{...x,...F,...M,...A?{}:y,key:`${e.client_id}`,id:`${e.client_id}`,...A?{}:{"data-clientId":`${e.client_id}`},style:{display:"block",...M.style,zIndex:String(e.zIndex),...O,...R&&{visibility:"hidden"}},onLoad:()=>{(0,r.executeEvent)(C,"onLoad",I)},onMouseDown:()=>(0,r.executeEvent)(C,"onClick",I),onMouseEnter:()=>(0,r.executeEvent)(C,"onMouseEnter",I),onMouseLeave:()=>(0,r.executeEvent)(C,"onMouseLeave",I),onMouseOver:()=>(0,r.executeEvent)(C,"onHover",I),onSubmit:t=>{t.preventDefault(),(0,r.executeEvent)(C,"onSubmit",I)},"data-displayName":`${e.givenName||""}`,className:`${A||"builder"===I?"":L} ${v&&"non-draggable"} ${M.className||""} ${D||""} `,..."builder"!==I&&d?{onMouseDown:d}:{},..."builder"!==I&&f?{onMouseOver:f}:{}},properties:A?y:{}}}},6991:function(t,e,n){"use strict";n.r(e),n.d(e,{Block:function(){return o.default},Text:function(){return r.default},TextBlock:function(){return a.default},Image:function(){return i.default},SVG:function(){return s.default},Columns:function(){return o.default},Input:function(){return c.default},Dropdown:function(){return u.default},TextArea:function(){return l.default},Icons:function(){return p.default},Video:function(){return d.default}});var o=n(714),r=n(3042),a=n(2545),i=n(9597),s=n(2866),c=n(2618),u=n(6053),l=n(3014),p=n(2062),d=n(449)},2362:function(t,e,n){"use strict";n.r(e);const o={label:"Flex Box Child Settings",type:"FlexChildEditor",subProperties:["order","flexGrow","flexShrink","flexBasis","alignSelf"],viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},r={label:"Flex Box ",type:"FlexEditor",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],subProperties:["flexDirection","flexWrap","justifyContent","alignItems","columnGap","rowGap"]},a={type:"Overflow",label:"Overflow",group:"Layout",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},i={type:"InputText"},s={label:"Border",type:"BorderEditor",subProperties:["borderRadius","borderWidth","borderStyle","borderColor"],viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},c={label:"Background",type:"BackgroundEditor",subProperties:["backgroundColor","backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundClip","backgroundOrigin","background","transform"],viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},u={type:"MarginController",label:"Position",group:"Layout",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],subProperties:["x","y","position"]},l={type:"EditorHandler",info:"Typography section",label:"Editor",group:"Typography",child:!0,child_value:"componentData.children"},p={type:"DimensionsController",label:"Size",group:"Layout",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],subProperties:["w","h","minW","minH","maxW","maxH"]},d={type:"AnchorController",label:"Anchor Link",group:"Link",wrap:!0,wrap_value:"componentData.anchor",html:'<a href=# class="link" target="_self"></a>'},f={type:"Padding",label:"Padding",group:"Layout",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},E={group:"Style",type:"BoxShadowEditor2",label:"Shadow",subProperties:["boxShadow"],viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},m={group:"Style",type:"EffectsEditor",label:"Effects",subProperties:["opacity","transform","backdropFilter","filter"],viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},_={type:"FontSizeWeight",value:"",defaultValue:{web:"52px",mobile:"30px",tablet:"40px"},label:"Text Size",subProperties:["fontSize","fontWeight"],viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},h={type:"TextAlign",value:"",label:"Horizontal Align",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],group:"Typography"},g={type:"FontSpacing",label:"Spacing",group:"Typography",subProperties:["letterSpacing","lineHeight"],viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},S={type:"Dropdown",label:"Tagname",dataTitle:n(6160).builderConstants.dataTitles.tagName,options:[{label:"div",value:"div"},{label:"span",value:"span"},{label:"section",value:"section"},{label:"article",value:"article"},{label:"address",value:"address"}],group:"Tag",viewOn:["bp_1920","bp_1440","bp_1280","web"],element:!0,element_value:"componentData.elementType"},T={Body:{renderAsMixed:!0,groupPriority:["body","HiddenElements"],data:{hidden:{group:"HiddenElements",type:"AllHiddenComponents",label:"Showing hidden components"}},style:{global:{border:{...s,group:"body"},background:{...c,group:"body"}}}},Button:{html:"<button data-component='Button'></button>",renderAsMixed:!0,groupPriority:["Link","Layout","Typography","Style","FlexChild"],defaultOpenGroup:"Style",data:{margin:{...u},dimensions:{...p},children:{...l},anchor:{...d}},style:{global:{padding:{...f},background:{...c,group:"Style"},boxShadow:{...E},border:{...s,group:"Style"},effects:{...m},fontFamily:{type:"FontFamily",value:"",group:"Typography"},fontSizeWeight:{..._,group:"Typography"},color:{type:"Color",value:"",group:"Typography"},textSpacing:{...g},textAlign:{...h,group:"Typography"},flexBoxChild:{...o,group:"FlexChild"}}}},Icon:{html:"<i data-component='Icon'></i>",renderAsMixed:!0,groupPriority:["Link","Layout","IconSettings","FlexChild"],defaultOpenGroup:"IconSettings",data:{margin:{...u},dimensions:{...p},icon:{group:"IconSettings",type:"IconEditor",attr:"class",attr_value:"componentData.icon"},anchor:{...d}},style:{global:{padding:{...f},color:{type:"Color",value:"",label:"Color",group:"IconSettings"},fontSizeWeight:{..._,subProperties:["fontSize"],group:"IconSettings"},flexBoxChild:{...o,group:"FlexChild"}}}},LinkedComponentInstance:{renderAsMixed:!0,defaultOpenGroup:"Layout",groupPriority:["Layout"],data:{margin:{...u},dimensions:{...p}}},Section:{renderAsMixed:!0,defaultOpenGroup:"Style",groupPriority:["Link","Columns","Layout","Flex","Style"],html:"<div data-component='DivComponent'> </div>",data:{margin:{...u},dimensions:{...p},columns:{group:"Columns",viewOn:["bp_1920","bp_1440","bp_1280","web"],type:"ColumnsGallery"},MultiList:{type:"ColumnItemsEditor",group:"Columns",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],label:"Customize columns",editType:"Custom",validation:[(t,e)=>"web"===e?t.reduce(((t,e)=>t+(e.w||0)),0)<=12:0===t.filter((t=>t.w>12)).length,t=>{let e=!0;return t.map((t=>{t.w<1&&(e=!1)})),e},t=>t.length>=1&&t.length<=12]},elementType:{...S},anchor:{...d}},style:{global:{padding:{...f},overflow:{...a},flexBox:{...r,group:"Flex"},background:{...c,group:"Style",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},boxShadow:{...E},border:{...s,group:"Style",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},effects:{...m}}}},Form:{renderAsMixed:!0,defaultOpenGroup:"Style",groupPriority:["Link","Layout","Flex","Style"],data:{margin:{...u},dimensions:{...p},elementType:{...S},apiIntegration:{label:"APIIntegrations",type:"APIController",group:"APIIntegrations",viewOn:["bp_1920","bp_1440","bp_1280","web"]},form:{label:"Form Settings",type:"FormController",group:"FormSettings",viewOn:["bp_1920","bp_1440","bp_1280","web"]},anchor:{...d}},style:{global:{padding:{...f},overflow:{...a},flexBox:{...r,group:"Flex"},background:{...c,group:"Style",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},boxShadow:{...E},border:{...s,group:"Style",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},effects:{...m}}}},Columns:{html:"<div data-component='Columns'> </div>",renderAsMixed:!0,groupPriority:["Columns","ColumnLayout","Style"],defaultOpenGroup:"Columns",structure:{w:{id:"number",label:"Column",name:"w",default:!0,value:1}},data:{margin:{...u,group:"ColumnLayout"},dimensions:{...p,group:"ColumnLayout"},columns:{group:"Columns",viewOn:["bp_1920","bp_1440","bp_1280","web"],type:"ColumnsGallery"},MultiList:{type:"ColumnItemsEditor",group:"Columns",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],label:"Customize columns",editType:"Custom",validation:[(t,e)=>"web"===e?t.reduce(((t,e)=>t+(e.w||0)),0)<=12:0===t.filter((t=>t.w>12)).length,t=>{let e=!0;return t.map((t=>{t.w<1&&(e=!1)})),e},t=>t.length>=1&&t.length<=12]},horizontalAlign:{group:"Columns",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],type:"HorizontalAlign",info:"Choose one of the column structures below. You can customize it later. ",label:"Horizontal Align"}},style:{global:{padding:{...f,group:"ColumnLayout"},background:{...c,group:"Style"},border:{...s,group:"Style"},boxShadow:{...E},effects:{...m}}}},Image:{renderAsMixed:!0,groupPriority:["Link","Layout","Image","Style","FlexChild"],defaultOpenGroup:"Image",html:"<span> <img data-component='Image' /> </span>",data:{margin:{...u},dimensions:{...p},anchor:{...d},image:{type:"Image",label:"Image",info:"Replace Image",group:"Image",child_attr:"src",child_attr_value:"src"}},style:{global:{border:{...s,group:"Style",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},boxShadow:{...E},padding:{...f},effects:{...m},objectFit:{group:"Image",type:"ObjectFitSelector",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},flexBoxChild:{...o,group:"FlexChild"}}}},HTMLCode:{html:"<div data-component='HTMLCode'></div>",renderAsMixed:!0,groupPriority:["Link","Code","Layout","Flex","Style"],defaultOpenGroup:"Code",data:{margin:{...u},dimensions:{...p},anchor:{...d},htmlCode:{type:"CodeElementEditor",label:"HTML Code",group:"Code",inputPlaceholder:"Paste your embed codes here...",keyName:"htmlCode",child:!0,child_value:"componentData.htmlCode"}},style:{global:{padding:{...f},overflow:{...a},flexBox:{...r,group:"Flex"},background:{...c,group:"Style",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},boxShadow:{...E,group:"Style"},border:{...s,group:"Style"},effects:{...m},flexBoxChild:{...o,group:"FlexChild"}}}},Svg:{renderAsMixed:!0,groupPriority:["Link","Image","Layout","Flex","Style"],defaultOpenGroup:"Image",data:{margin:{...u},dimensions:{...p},anchor:{...d},svg:{type:"TextareaWithLabel",label:"SVG",svg:!0,group:"Image",keyName:"svg"}},style:{global:{padding:{...f},overflow:{...a},flexBox:{...r,group:"Flex"},background:{...c,group:"Style",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},boxShadow:{...E,group:"Style"},border:{...s,group:"Style"},effects:{...m},flexBoxChild:{...o,group:"FlexChild"}}}},Input:{renderAsMixed:!0,groupPriority:["Layout","Input","Typography","Style","Placeholder","FlexChild"],defaultOpenGroup:"Input",html:"<input data-component='Input'></input>",data:{margin:{...u},dimensions:{...p},inputType:{type:"Dropdown",label:"Input Type",group:"Input",attr:"type",attr_value:"componentData.inputType",options:[{label:"text",value:"text"},{label:"number",value:"number"},{label:"email",value:"email"},{label:"checkbox",value:"checkbox"},{label:"date & time",value:"datetime-local"},{label:"date",value:"date"},{label:"time",value:"time"},{label:"password",value:"password"}]},placeholder:{type:"InputText",inputProps:{label:"Placeholder",placeholder:"placeholder here",style:{width:"170px"}},group:"Input",attr:"placeholder",attr_value:"componentData.placeholder"}},style:{global:{padding:{...f},overflow:{...a},fontFamily:{label:"Typography",type:"FontFamily",value:"",group:"Typography"},fontSizeWeight:{..._,group:"Typography"},color:{type:"Color",group:"Typography",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},textSpacing:{...g},textAlign:{...h,group:"Typography"},background:{...c,group:"Style"},border:{...s,group:"Style"},boxShadow:{...E,group:"Style"},effects:{...m,group:"Style"},flexBoxChild:{...o,group:"FlexChild"}}}},Select:{renderAsMixed:!0,groupPriority:["Layout","DropdownSettings","Style","FlexChild"],defaultOpenGroup:"DropdownSettings",html:"<select data-component='Dropdown'> </select>",data:{margin:{...u},dimensions:{...p},placeholder:{type:"InputText",group:"DropdownSettings",inputProps:{label:"Placeholder",placeholder:"placeholder for the dropdown field",style:{width:"180px"}}},MultiList:{group:"DropdownSettings",label:"Add/Edit options",type:"MultiListForOptions",editType:"Options",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"],moreOptions:!1,multilist_html:"<option data-component='Option'></option>",multilist_attr:"value",multilist_attr_value:"value",multilist:"componentData.Options",multilist_child:!0,multilist_child_value:"label",validation:[]}},style:{global:{padding:{...f},fontSizeWeight:{..._,group:"Style"},fontFamily:{type:"FontFamily",label:"Font Family",value:"",group:"Style"},color:{type:"Color",label:"Color",value:"",group:"Style"},background:{...c,group:"Style"},border:{...s,group:"Style"},boxShadow:{...E},flexBoxChild:{...o,group:"FlexChild"}}}},TextArea:{html:"<textarea data-component='TextArea'/>",renderAsMixed:!0,groupPriority:["Layout","TextArea","Typography","Style","Placeholder","FlexChild"],defaultOpenGroup:"TextArea",data:{margin:{...u},dimensions:{...p},placeholder:{type:"InputText",attr:"placeholder",attr_value:"componentData.placeholder",inputProps:{label:"Placeholder",placeholder:"placeholder here",style:{width:"170px"}},group:"TextArea"}},style:{global:{padding:{...f},overflow:{...a},fontSizeWeight:{..._,group:"Typography"},fontFamily:{type:"FontFamily",label:"Typography",value:"",group:"Typography"},color:{type:"Color",group:"Typography",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},textSpacing:{...g},textAlign:{...h,group:"Typography"},background:{...c,group:"Style"},border:{...s,group:"Style"},boxShadow:{...E,group:"Style"},effects:{...m,group:"Style"},flexBoxChild:{...o,group:"FlexChild"}}}},Text:{renderAsMixed:!0,groupPriority:["Link","Layout","Flex","Typography","Style","FlexChild"],defaultOpenGroup:"Typography",html:"<span data-component='Text'></span>",data:{margin:{...u},dimensions:{...p},children:{...l},anchor:{...d}},style:{global:{overflow:{...a},flexBox:{...r,group:"Flex"},fontFamily:{type:"FontFamily",group:"Typography"},fontSizeWeight:{..._,group:"Typography"},color:{type:"Color",group:"Typography",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},padding:{...f},textAlign:{...h,group:"Typography"},textTransform:{type:"TextTransform",value:"",label:"Text Transform",group:"Typography",viewOn:["bp_1920","bp_1440","bp_1280","web","tablet","mobile"]},textSpacing:{...g},background:{...c,group:"Style"},boxShadow:{...E,group:"Style"},border:{...s,group:"Style"},effects:{...m,group:"Style"},flexBoxChild:{...o,group:"FlexChild"}}}},TextBlock:{renderAsMixed:!0,groupPriority:["Link","Layout","Typography","global","FlexChild"],data:{margin:{...u},dimensions:{...p},children:{...l,visible:!1},anchor:{...d}},style:{global:{fontFamily:{type:"FontFamily",value:"",group:"Typography"},color:{type:"Color",value:"",group:"Typography"},fontSizeWeight:{..._,group:"Typography"},padding:{...f},textAlign:{...h,group:"Typography"},flexBoxChild:{...o,group:"FlexChild"}}}},Video:{renderAsMixed:!0,groupPriority:["Layout","Video","Style","FlexChild"],defaultOpenGroup:"Video",data:{margin:{...u},dimensions:{...p},src:{...i,inputProps:{label:"URL",placeholder:"e.g. https://www.youtube.com/watch?v=EhpR4KYkbns"},validation:[],label:"Video",group:"Video"},autoplay:{type:"InputCheckbox",label:"Autoplay",group:"Video"},mute:{type:"InputCheckbox",label:"Mute",group:"Video"}},style:{global:{effects:{...m},flexBoxChild:{...o,group:"FlexChild"}}}},Audio:{renderAsMixed:!0,groupPriority:["Layout","Audio","Style","FlexChild"],defaultOpenGroup:"Audio",data:{margin:{...u},dimensions:{...p},src:{...i,inputProps:{label:"URL",placeholder:"e.g. https://soundcloud.com/paul-de-clerck/stephan-beneking-nocturnes-for-isabella-no-1-in-d-minor"},validation:[],label:"Audio",group:"Audio"},autoplay:{type:"InputCheckbox",label:"Autoplay",group:"Audio"}},style:{global:{effects:{...m},flexBoxChild:{...o,group:"FlexChild"}}}},IFrame:{html:"<div data-component='IFrame'></div>",renderAsMixed:!0,groupPriority:["Layout","IFrame","Style","FlexChild"],defaultOpenGroup:"IFrame",data:{margin:{...u},dimensions:{...p},src:{type:"IframeEditor",group:"IFrame",child:!0,child_value:"componentData.src"}},style:{global:{effects:{...m},flexBoxChild:{...o,group:"FlexChild"}}}}};e.default=T},4099:function(t,e,n){"use strict";n.r(e);const o={addCustomCode:t=>{try{new Function(t)()}catch(e){console.error(e)}}};e.default=o},8146:function(t,e,n){"use strict";n.r(e);e.default={returnString:t=>t}},6512:function(t,e,n){"use strict";n.r(e);var o=n(6774),r=n(8867),a=n(3465),i=n.n(a);const s={postToDatabase:function(t,e,n,a){let s=i()(n);const c=arguments[arguments.length-1],u=arguments[arguments.length-2],{dispatch:l,getState:p}=o.clientStore,d=p(),{clientInputs:f}=d.common,{blueprint:E}=d.customization.present.data,{context:m}=d.customization.present,_=E[m];let h=_?.components?.[u]?.linkedProps?.instanceId;if(h){const t=_?.components?.[h];Object.keys(n).map((e=>{const n=t?.linkedProps?.clientIdMap?.[e];n&&(s[n]=s[e],delete s[e])}))}let g={};Object.keys(s).map((t=>{let e=s[t],n=f[t];g={...g,[`field_${e}`]:n}})),l(r.databaseActions.createPublicRow(g,e,t,a,c,u))}};e.default=s},2695:function(t,e,n){"use strict";n.r(e);const o={updateElementStyle:function(t,e){const n=arguments[arguments.length-1],o=arguments[arguments.length-2],r=arguments[arguments.length-4],a=arguments[arguments.length-3],{getDocument:i}=window.codeDesign.helpers,s=i();let c=s.getElementById(t);if(c||Object.keys(r[a]?.components).find((e=>{const n=r[a]?.components?.[e];let o=n?.linkedProps?.clientIdMap?.[t];o&&(c=s.getElementById(o))})),t&&e?.length>0&&c){let t={};for(var u in e.map((e=>{let{name:r,value:a,toggleProperty:i}=e;if(r&&a)if(i){const e=window?.codeDesign?.state?.[`${n}_${o}_${r}`];if(e)t[r]=e,window?.codeDesign?.state?.[`${n}_${o}_${r}`]&&(window.codeDesign.state[`${n}_${o}_${r}`]=void 0);else{const e=window.getComputedStyle(c)?.[r];e&&(window.codeDesign.state={...window.codeDesign.state,[`${n}_${o}_${r}`]:e},t[r]=a)}}else t[r]=a})),t)c.style[u]=t[u]}}};e.default=o},3095:function(t,e,n){"use strict";n.r(e);const o={galleryFunctions:(t,e)=>{const{getDocument:n}=window.codeDesign.helpers,o=[...n().getElementById(t).children].filter((t=>"relative"===window.getComputedStyle(t)?.position));window?.codeDesign?.state||(window.codeDesign.state={});const r=window?.codeDesign?.state?.[t]?.galleryFunctions?.lastSelection,a=o.length,i=e=>{window.codeDesign.state[t]={...window.codeDesign.state[t],galleryFunctions:{...window.codeDesign.state[t]?.galleryFunctions,lastSelection:e}}};switch(e){case"showFirstElement":o.map(((t,e)=>{0===e?(i(e),t.style.display="block",t.style.width="100%",t.style.height="100%"):t.style.display="none"}));break;case"showNextElement":{let t=r+1;const e=a<=t;o.map(((n,o)=>{e&&(t=a-t),o===t?(n.style.display="block",n.style.width="100%",n.style.height="100%",i(o)):n.style.display="none"}));break}case"showPreviousElement":{let t=r+1;const e=a<=t;o.map(((n,o)=>{e&&(t=a-t),o===t?(n.style.display="block",n.style.width="100%",n.style.height="100%",i(o)):n.style.display="none"}));break}}}};e.default=o},4251:function(t,e,n){"use strict";n.r(e);const o={redirectToPage:t=>{const{getWindow:e}=window.codeDesign.helpers;e().location.href=t}};e.default=o},6743:function(t,e,n){"use strict";n.r(e);var o=n(3465),r=n.n(o),a=n(7100),i=n(6774);const s={getState:(t="global",e)=>{const n=i.default.getState().stateManagement?.[t]?.[e];return n?.value},getAllActiveStates:(t="global")=>{const e=i.default.getState();return r()(e.stateManagement?.[t])},createNewState:(t="global",e)=>{const{dispatch:n}=i.default;n({type:a.stateManagementConstants.ADD_STATE,payload:{parent:t,key:e}})},updateState:(t="global",e,n)=>{const{dispatch:o}=i.default;o({type:a.stateManagementConstants.UPDATE_STATE,payload:{parent:t,key:e,value:n}})},updateIndividualState:(t,e)=>{if(!t)return;const{dispatch:n}=i.default;n({type:a.stateManagementConstants.UPDATE_INDIVIDUAL_ITEM,payload:{itemKey:t,itemValue:e}})}};e.default=s},4177:function(t,e,n){"use strict";n.r(e);var o=n(6743),r=n(6512),a=n(4099),i=n(8146),s=n(4251),c=n(2695),u=n(3095);const l={...o.default,...r.default,...a.default,...i.default,...s.default,...c.default,...u.default};e.default=l},8098:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(5122),a=n.n(r);e.default=()=>{const[t,e]=(0,o.useState)(0);return(0,o.useEffect)((()=>{const n=()=>{const n=document.documentElement.scrollHeight,o=document.documentElement.scrollTop/(n-document.documentElement.clientHeight)*100;o>t&&(e(o),o>=90?a().track("Scroll 90% from dashboard on dev.codedesign.ai"):o>=70?a().track("Scroll 70% from dashboard on dev.codedesign.ai"):o>=50?a().track("Scroll 50% from dashboard on dev.codedesign.ai"):o>=20&&a().track("Scroll 20% from dashboard on dev.codedesign.ai"))};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)}),[t]),null}},2827:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(5122),a=n.n(r);e.default=()=>((0,o.useEffect)((()=>{const t=Date.now(),e=()=>{const e=Date.now()-t,n=Math.floor(e/6e4);20===n?a().track("Spent less than 20 mins on Template Library on codedesign.ai"):30===n?a().track("Spent less than 30 mins on Template Library on codedesign.ai"):50===n?a().track("Spent less than 50 mins on Template Library on codedesign.ai"):60===n&&a().track("Spent less than 60 mins on Template Library on codedesign.ai")},n=setInterval(e,6e4),o=()=>{clearInterval(n),e()};return window.addEventListener("beforeunload",o),()=>{clearInterval(n),window.removeEventListener("beforeunload",o)}}),[]),null)},5796:function(t,e,n){"use strict";function o(t=""){return t.match(/.{1,3}/g).map((t=>parseInt(t,16))).join("-")}function r(t=""){if(!t)return"";if(/^[0-9a-fA-F]+$/.test(t))return t;return t.split("-").map((t=>Number(t).toString(16))).join("")}n.r(e),n.d(e,{transformHexId:function(){return o},reverseTransformToHexId:function(){return r}})},7911:function(t,e,n){"use strict";n.r(e),n.d(e,{failure:function(){return r}});var o=n(7100);function r(t,e){let n={message:"Something went wrong",type:t};return"TypeError: Could not connect to the server."===String(e)?n={message:"Either our server is down or your network is!",type:"NETWORK_DOWN"}:"TypeError: The Internet connection appears to be offline."===String(e)&&(n={message:"Your Internet is down",type:"INTERNET_DOWN"}),r=>{r({type:o.errorsConstants.ADD_ERROR,payload:{type:n.type,error:n}}),r({type:t,payload:e})}}},6865:function(t,e,n){"use strict";n.r(e),n.d(e,{flattenObject:function(){return o}});const o=function(t){var e={};for(var n in t)if(Object.hasOwnProperty.bind(t)(n))if("object"==typeof t[n]){var r=o(t[n]);for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}else e[n]=t[n];return e}},4195:function(t,e,n){"use strict";n.r(e),n.d(e,{flattenObj:function(){return o},chunkArray:function(){return r}});const o=(t,e=0)=>{let n=0;return Object.assign({},...function t(o,r="",a=0){return[].concat(...Object.keys(o).map((i=>"object"===typeof o[i]&&a<e?t(o[i],`${r}.${i}`,++n):{[`${r}.${i}`]:o[i]})))}(t))};function r(t,e){let n=0,o=t.length,r=[];for(n=0;n<o;n+=e){let o=t.slice(n,n+e);r.push(o)}return r}},167:function(t,e,n){"use strict";function o(t,e){return t.json().then((n=>{let o;if(o=function(t){try{JSON.parse(t)}catch(e){return!1}return!0}(n)?JSON.parse(n):n,!t.ok){401===t.status&&(window.localStorage.removeItem("token"),window.localStorage.removeItem("uRI"),window.location.reload());const n=o&&o.errorMessage||o&&o.message||t.statusText;return e?Promise.reject(t):Promise.reject(n)}if(t.status>500){const t="Server is down";return Promise.reject(t)}return o}))}n.r(e),n.d(e,{handleResponse:function(){return o}})},879:function(t,e,n){"use strict";n.r(e),n.d(e,{hasFeature:function(){return i}});var o=n(4055),r=n(6774),a=n(288);function i(t,e,n){const{getState:i,dispatch:s}=r.default,c=i(),u={usage:c.user.data.order.usage||{},exportNumber:c.user.data.exportNumber,plan:c.user.data.order.plan||"Free",isAdmin:c.user.data.isAdmin,domains:c.common.data.domains,projects:c.customization.present.webBuilders,isLoggedIn:c.user.data._id,user:c.user.data,codedesignPricing:c.admin.siteProfile.data.pricing||[],projectPlan:c.customization.present.data.order||{},userPlan:c.user.data.order||{},currentProject:c.customization.present.data,playground:c.customization.present.playground},l=u.user.email?.endsWith("codedesign.app")||u.user.isAdmin,p={};u.codedesignPricing.forEach((t=>{const e=t["Plan Name"];if(!e)return;const n=t.hasFeature||[],o={};n.forEach((t=>{const[e,n]=t.split("__");o[e]=n})),p[e]=o}));let d=[],f=[];u.projects.map((t=>{t?.theme?.templateId?f.push(t):d.push(t)}));const E=(t={})=>{const{caseItem:e=""}=t;if("guest"===S&&n?.includes("limitGuest"))s(o.uiActions.setGuestModal(!0));else if(u.playground&&n?.includes("limitPlayground")){((t="")=>{s(o.uiActions.setPlaygroundModal(!0,t))})("")}else!u.paid&&n?.includes("limitPremium")?(((t="")=>{s(o.uiActions.setShowPricingModal(!0,t))})(e),n?.includes("limitLTD")&&!u.projectPlan?.plan?.includes("LTD")&&window.showToast({type:"error",msg:"This feature is only available for Lifetime deal users"})):n()},m=u.plan===a.zo,_=u.plan===a.xf,h=u.plan===a.E5,g=()=>u.isAdmin?"admin":u.isLoggedIn?m?"basic":_?"premium":h?"advanced":"free":"guest",S=g();switch(t){case"SAVE_AI_PLAYGROUND_PROJECT":return u?.userPlan?.paid?e():E();case"PREMIUM_ELEMENT_DROPPING":return u.projectPlan?.paid?e():E();case"GENERIC_ACTION_ALLOW_ONLY_USER_PLAN_PAID":return u?.userPlan?.paid?e():E();case"ADD_PROJECT":return e();case"DEPLOY_PROJECT":return"guest"===S?E():e();case"GENERIC_ACTION":return"guest"===S||u.playground?E():e();case"DATABASE_AND_SETTINGS":return u.playground?E():e();case"DOMAIN_CONNECTION":case"GENERIC_ACTION_ALLOW_ONLY_PAID":return u.projectPlan?.paid?e():E();case"GENERIC_ACTION_ALLOW_ONLY_PAID_OR_CODEDESIGN_MEMBERS":return u.projectPlan?.paid||l?e():E();case"DB_ACCESS":case"WORKFLOW_ACCESS":case"REACT_EXPORT":return"free"!==g()?e():E();case"WHOLE_PROJECT_EXPORT":return console.log(u,"monarki"),"free"!==g()&&u.projectPlan?.plan?.includes("LTD")?e():E();case"SINGLE_PAGE_EXPORT":return u.projectPlan?.paid&&u.projectPlan?.plan?.includes("LTD")?e():E();case"REQUEST_EARLY_ACCESS_BUTTON":return u.projectPlan?.paid?e():E();case"REGENERATE_SITE":return u.userPlan?.paid||l?e():E({caseItem:"REGENERATE_SITE"});case"CREATE_DATABASE":return u.projectPlan?.paid?e():E();case"GENERIC_ACTION_PLAYGROUND_LIMIT":return"guest"===S||u.playground?E():e();case"ADD_PAGE":if("guest"===S||u.playground)return E();{const t=Object.keys(u.currentProject.blueprint||{})?.length;if(t>=3&&!u.projectPlan?.paid&&!u.userPlan?.paid)return E();e()}break;default:return""}}},5236:function(t,e,n){"use strict";n.r(e),n.d(e,{openInNewTab:function(){return C},formatDate:function(){return y},clean:function(){return h},isObject:function(){return m},mergeDeep:function(){return _},builderMediaQueries:function(){return p},checkNested:function(){return d},toTitleCase:function(){return f},capitalizeFirstLetter:function(){return E},swapKeyValues:function(){return g},filterObject:function(){return S},getTimeStr:function(){return T},flattenObject:function(){return i.flattenObject},promisedProperties:function(){return s.promisedProperties},validateInput:function(){return c.validateInput},isValidBase64:function(){return u.isValidBase64},hasFeature:function(){return l.hasFeature}});var o=n(4266),r={};for(var a in o)["default","openInNewTab","formatDate","clean","isObject","mergeDeep","builderMediaQueries","checkNested","toTitleCase","capitalizeFirstLetter","swapKeyValues","filterObject","getTimeStr"].indexOf(a)<0&&(r[a]=function(t){return o[t]}.bind(0,a));n.d(e,r);var i=n(6865),s=n(5689),c=n(9704),u=n(7501),l=n(879);const p={small:"(max-width: 767px)",medium:"(min-width: 768px) and (max-width: 1199px)",large:"(min-width: 1200px) and (max-width: 1279px)",bp_1280:"(min-width: 1280px) and (max-width: 1439px)",bp_1440:"(min-width: 1440px) and (max-width: 1919px)",bp_1920:"(min-width: 1920px)"};function d(t){if(!t)return!1;try{for(var e=1;e<arguments.length;e++){if(!t||!Object.prototype.hasOwnProperty.call(t,arguments[e]))return!1;t=t[arguments[e]]}return!0}catch(n){return!1}}function f(t){let e=!0,n="";for(let o=0,r=t.length;o<r;o++)" "!=t[o]?(n+=e?t[o].toUpperCase():t[o],e=!1):(e=!0,n+=" ");return n}const E=t=>t.charAt(0).toUpperCase()+t.slice(1);function m(t){return t&&"object"===typeof t&&!Array.isArray(t)}function _(t,...e){if(!e.length)return t;const n=e.shift();if(m(t)&&m(n))for(const o in n)m(n[o])?(t[o]||Object.assign(t,{[o]:{}}),_(t[o],n[o])):Object.assign(t,{[o]:n[o]});return _(t,...e)}function h(t){for(var e in t)""===t[e]||void 0===t[e]||"undefined"===typeof t[e]?delete t[e]:"object"===typeof t[e]&&h(t[e]);return t}const g=t=>Object.keys(t).reduce(((e,n)=>(e[t[n]]=n,e)),{});function S(t,e){return Object.fromEntries(Object.entries(t).filter((([t,n])=>e(n,t))))}const T=(t="",e={})=>{const{threeLetterMonth:n=!1,twoLetterYear:o=!1,excludeTime:r=!1,excludeYear:a=!1}=e;let i=[];const s=new Date(t),c=s.getFullYear(),u=["January","February","March","April","May","June","July","August","September","October","November","December"][s.getMonth()],l=("0"+s.getDate()).slice(-2);let p=s.getHours(),d=s.getMinutes(),f=p>=12?"PM":"AM";p%=12,p=p||12,d=d<10?"0"+d:d;let E=p+":"+d+" "+f;i.push(l);let m=n?u.slice(0,3):u;i.push(m);let _=o?`'${String(c).slice(-2)}`:String(c);return a||i.push(_),!r&&i.push(E),i.join(" ")},y=t=>{var e=new Date(t),n=""+(e.getMonth()+1),o=""+e.getDate(),r=e.getFullYear();return n.length<2&&(n="0"+n),o.length<2&&(o="0"+o),[r,n,o].join("-")};function C(t){window.open(t,"_blank")}},9704:function(t,e,n){"use strict";function o(t,e){const n=/^(([^<>()\]\\.,;:\s@"]+(\.[^<>()\]\\.,;:\s@"]+)*)|(".+"))@(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,o=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).\S{8,25}$/,r=/^[a-zA-Z, .'-]{3,30}$/,a=/^[a-z0-9-]{3,20}$/,i=/^[ A-Za-z0-9_@.\/#&+'"-?!`@$%^&*()[\]{}]*$/,s=/^(?!\s*$).+/,c=/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/,u=/^(((?!-))(xn--|_{1,1})?[a-z0-9-]{0,61}[a-z0-9]{1,1}\.)*(xn--)?([a-z0-9][a-z0-9\-]{0,60}|[a-z0-9-]{1,30}\.[a-z]{2,})$/,l=/^[a-zA-Z0-9][a-zA-Z0-9.-]+[a-zA-Z0-9]$/;let p;switch(t){case"domain":p=!!u.test(e);break;case"subdomain":p=!!l.test(e);break;case"username":p=!a.test(e);break;case"userurl":p=!c.test(e);break;case"name":p=!r.test(e);break;case"email":p=!n.test(e);break;case"password":p=!o.test(e);break;case"forgotPassword":{const{password:t,confirmPassword:n}=e;p={password:!o.test(t),passwordMatch:""===t||t!==n};break}case"title":p=!i.test(e);break;case"content":p=!s.test(e)}return p}n.r(e),n.d(e,{validateInput:function(){return o}})},418:function(){},4961:function(t,e,n){"use strict";n.r(e),e.default=function(t){for(var e="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=n.length,r=0;r<t;r++)e+=n.charAt(Math.floor(Math.random()*o));return e}},5689:function(t,e,n){"use strict";function o(t){let e=[];const n=Object.keys(t);return n.forEach((n=>e.push(t[n]))),Promise.all(e).then((e=>e.reduce(((t,e,o)=>(t[n[o]]=e,t)),t)))}n.r(e),n.d(e,{promisedProperties:function(){return o}})},5809:function(t,e,n){"use strict";n.r(e);e.default=(t,e,n,o)=>{const r=(t+(o||"")).toString().includes("%");if("string"===typeof t?[t,e,n,o]=t.match(/(0?\.?\d{1,3})%?\b/g).map(Number):void 0!==o&&(o=parseFloat(o)),"number"!==typeof t||"number"!==typeof e||"number"!==typeof n||t>255||e>255||n>255)throw new TypeError("Expected three numbers below 256");if("number"===typeof o){if(!r&&o>=0&&o<=1)o=Math.round(255*o);else{if(!(r&&o>=0&&o<=100))throw new TypeError(`Expected alpha value (${o}) as a fraction or percentage`);o=Math.round(255*o/100)}o=(256|o).toString(16).slice(1)}else o="";return(n|e<<8|t<<16|1<<24).toString(16).slice(1)+o}},9972:function(t,e,n){"use strict";n.r(e),n.d(e,{getToken:function(){return o},getGuestToken:function(){return r},getUsername:function(){return a},getUserId:function(){return i},getItem:function(){return s},setItem:function(){return c},removeItem:function(){return u}});const o=()=>{if("undefined"!==typeof localStorage)return localStorage.getItem("token")&&localStorage.getItem("token")},r=()=>{if("undefined"!==typeof localStorage)return localStorage.getItem("guestToken")&&localStorage.getItem("guestToken")},a=()=>{if("undefined"!==typeof localStorage)return localStorage.getItem("username")&&localStorage.getItem("username")},i=()=>{if("undefined"!==typeof localStorage)return localStorage.getItem("uRI")&&localStorage.getItem("uRI")},s=t=>{if("undefined"!==typeof localStorage)return localStorage.getItem(t)&&localStorage.getItem(t)},c=(t,e)=>{if("undefined"!==typeof localStorage)return localStorage.setItem(t,e)},u=t=>{if("undefined"!==typeof localStorage)return localStorage.removeItem(t)}},5169:function(t,e,n){"use strict";n.r(e),n.d(e,{handle3DSecure:function(){return i}});var o=n(2859),r=n(5017);const{stripePublishableKey:a}=r.default;async function i(t){const{clientSecret:e,connectedAccountId:n,paymentMethodId:r}=t;try{const t=(0,o.J)(a,{stripeAccount:n}),i=await t;console.log(e,n,"testingkito");const{error:s,paymentIntent:c}=await i.confirmCardPayment(e,{payment_method:r},{stripeAccount:n});return s?(console.error("Error during 3D Secure authentication:",s),"order_failed_3d_secure"):"succeeded"===c.status?"order_success":"order_failed_3d_secure"}catch(i){return console.error(i,"Something went wrong with the payment"),"order_failed_3d_secure"}}},4266:function(){},4527:function(t,e,n){"use strict";n.r(e);var o=n(5017),r=n(9972);const a=`${o.default.apiUrl}guest/user-journey/update-event`;e.default=async(t,e)=>{"production"?.startsWith("dev")||window.requestIdleCallback((async()=>{try{const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({eventName:t,value:e})};await fetch(a,n)}catch(n){console.error("Error tracking event:",n)}}))}},9805:function(t,e,n){"use strict";function o(t,e){let n,o=!1;try{n=new URL(t)}catch(a){if(o=!0,"string"===typeof t){const e=window.location.origin;n=new URL(`${e}/${t.replace(/^\/|\/$/g,"")}`)}else n=new URL(window.location.href)}const r="string"===typeof t?e:t;if(r?.queryParams)for(const i in r.queryParams)if(Object.prototype.hasOwnProperty.call(r.queryParams,i)){const t=r.queryParams[i];t?n.searchParams.set(i,t):n.searchParams.delete(i)}return r?.path&&(n.pathname=r.path),null===r?.path&&(n.pathname=""),r?.hash&&(n.hash=r.hash),o&&!r?.returnAbsoluteUrl?n.pathname+n.search+n.hash:n.toString()}n.r(e),n.d(e,{default:function(){return o}})},7192:function(t,e,n){"use strict";n.r(e);var o=n(7423);e.default=(t,e,n)=>{(0,o.useEffect)((()=>{const e=setTimeout((()=>t()),n);return()=>clearTimeout(e)}),[...e||[],n])}},8051:function(t,e,n){"use strict";n.r(e);var o=n(7423);e.default=function(t,e,n=window){const r=(0,o.useRef)();(0,o.useEffect)((()=>{r.current=e}),[e]),(0,o.useEffect)((()=>{if(!(n&&n.addEventListener))return;const e=t=>r.current(t);return n.addEventListener(t,e),()=>{n.removeEventListener(t,e)}}),[t,n])}},2614:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});var o=n(7423);function r(t){const e=(0,o.useRef)();return(0,o.useEffect)((()=>{e.current=t}),[t]),e.current}},7501:function(t,e,n){"use strict";function o(t){return/^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$/.test(t)}n.r(e),n.d(e,{isValidBase64:function(){return o}})},2471:function(t,e,n){"use strict";n.r(e),n.d(e,{databaseActions:function(){return l}});var o=n(2619),r=n(4055),a=n(7911),i=n(2307),s=n.n(i),c=n(3902),u=n(9262);const l={createDatabase:function(t){return(e,n)=>{n();e(E(c.databaseConstants.CREATE_DATABASE_REQUEST));const o={project:t};u.databaseService.createDatabase(o).then((t=>{window.showToast({type:"success",msg:"Database created successfully"}),e(m(c.databaseConstants.CREATE_DATABASE_SUCCESS,t))}),(t=>{window.showToast({type:"error",msg:"Error creating database. Please try again later"}),e((0,a.failure)(c.databaseConstants.CREATE_DATABASE_FAILURE,t))}))}},setCurrentActiveTable:p,initialDatabaseFetch:function(t,e){return(n,o)=>{const r=o();n(E(c.databaseConstants.DATABASE_MINIMAL_FETCH_REQUEST));const{_id:a}=r.customization.present.data,{databaseId:i}=r.database.data;(i||e)&&u.databaseService.initialDatabaseFetch({project:a||t,databaseId:i||e}).then((t=>{n(m(c.databaseConstants.DATABASE_MINIMAL_FETCH_SUCCESS,t));const e=t?.[0]?.id;e&&(n(d(e,{disableToast:!0})),n(p(e)))}))}},getTable:d,createTable:f,deleteTable:function(t){return(e,n)=>{const o=n(),i=o.database.currentActiveTable,s=o.database.data.tables.filter((e=>e.id!==t)),{_id:l}=o.customization.present.data;e(E(c.databaseConstants.DELETE_TABLE_REQUEST)),u.databaseService.deleteTable({tableId:t,project:l}).then((n=>{e(m(c.databaseConstants.DELETE_TABLE_SUCCESS,s)),e(r.uiActions.setDeleteTableAlert("")),window.showToast({type:"success",msg:"Table deleted successfully"}),s.length>0?i===t&&(e(d(s[0].id)),e(p(s[0].id))):e(p(""))}),(t=>{e((0,a.failure)(c.databaseConstants.DELETE_TABLE_FAILURE,t)),window.showToast({type:"error",msg:"Error deleting table. Please try again later"})}))}},duplicateTable:function(t){return(e,n)=>{const o=n().database.data.tables.find((e=>e.id===t))||{},{name:r,description:a,fields:i=[]}=o;e(f({name:r,description:a,fields:i},{type:"duplicate"}))}},updateTable:function(t){return(e,n)=>{e(m(c.databaseConstants.UPDATE_TABLE_REQUEST,o));const o=n().database.data.tables.map((e=>e.id===t.id?{...e,...t}:e));e(m(c.databaseConstants.UPDATE_TABLE_SUCCESS,o))}},deleteRow:function(t,e){return(n,o)=>{n(E(c.databaseConstants.DELETE_ROW_REQUEST));const i=o(),s=i.database.data.tables.find((e=>e.id===t)),{_id:l}=i.customization.present.data,p={project:l,tableId:t,rowId:e},d=s.results;u.databaseService.deleteRow(p).then((o=>{const a=d.filter((t=>t.id!==e)),u={...s,results:a,count:s.count-1},l=i.database.data.tables.map((e=>e.id===t?u:e));n(m(c.databaseConstants.DELETE_ROW_SUCCESS,l)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"success",msg:"Row deleted successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.DELETE_ROW_FAILURE,t)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"failure",msg:"Row deletion failed"})}))}},deleteRows:function(t,e){return(n,o)=>{n(E(c.databaseConstants.DELETE_ROW_REQUEST));const i=o(),s=i.database.data.tables.find((e=>e.id===t)),{_id:l}=i.customization.present.data,p={project:l,tableId:t,rowIds:e},d=s.results;u.databaseService.deleteRows(p).then((o=>{const a=d.filter((t=>!e.includes(t.id))),u={...s,results:a,count:s.count-1},l=i.database.data.tables.map((e=>e.id===t?u:e));n(m(c.databaseConstants.DELETE_ROW_SUCCESS,l)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"success",msg:"Row deleted successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.DELETE_ROW_FAILURE,t)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"failure",msg:"Row deletion failed"})}))}},createRow:function(t,e){return(n,o)=>{n(E(c.databaseConstants.CREATE_ROW_REQUEST));const r=o(),i=r.database.data.tables.find((t=>t.id===e)),s=i.results,{_id:l}=r.customization.present.data,p={rowData:t,project:l,tableId:e};u.databaseService.createRow(p).then((t=>{const o=[...s,t],a={...i,results:o,count:i.count+1},u=r.database.data.tables.map((t=>t.id===e?a:t));n(m(c.databaseConstants.CREATE_ROW_SUCCESS,u)),window.showToast({type:"success",msg:"Row created successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.CREATE_ROW_FAILURE,t)),window.showToast({type:"error",msg:"Error creating row. Please try again later"})}))}},updateRow:function(t,e){return(n,o)=>{n(E(c.databaseConstants.UPDATE_ROW_REQUEST));const r=o(),{_id:i}=r.customization.present.data,{id:s}=t,l={rowData:t,project:i,tableId:e,rowId:s},p=r.database.data.tables.find((t=>t.id===e)),d=p.results;u.databaseService.updateRow(l).then((o=>{const a=d.map((e=>e.id===t.id?{...e,...t}:e)),i={...p,results:a},s=r.database.data.tables.map((t=>t.id===e?i:t));n(m(c.databaseConstants.UPDATE_ROW_SUCCESS,s)),window.showToast({type:"success",msg:"Row updated successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.UPDATE_ROW_FAILURE,t)),window.showToast({type:"error",msg:"Error updating row. Please try again later"})}))}},updateFields:function(t,e){return(n,o)=>{n(E(c.databaseConstants.UPDATE_FIELDS_REQUEST));const r=o(),{_id:i}=r.customization.present.data,l=r.database.data.tables.find((e=>e.id===t)),p=l.fields;let f=[],_=[],h=[];f=e.filter((t=>!p.some((e=>e.id===t.id)))),_=p.filter((t=>!e.some((e=>e.id===t.id)))),h=e.filter((t=>p.some((e=>((t,e)=>t.id===e.id&&!s()(t,e))(t,e)))));const g={...l,fields:e},S=r.database.data.tables.map((e=>e.id===t?g:e)),T={project:i,tableId:t,fields:{addedFields:f,removedFields:_,updatedFields:h}};u.databaseService.updateFields(T).then((e=>{e?(e?.createNewFieldResponse?.length>0&&(g.fields=g.fields.map((t=>{const n=e.createNewFieldResponse.find((e=>e.oldId===t.id));return n||t}))),n(m(c.databaseConstants.UPDATE_FIELDS_SUCCESS,S)),n(d(t,{disableToast:!0})),window.showToast({type:"success",msg:"Fields updated successfully"})):(n((0,a.failure)(c.databaseConstants.UPDATE_FIELDS_FAILURE,"Some fields could not be updated")),window.showToast({type:"error",msg:"Some fields could not be updated"}))}),(t=>{n((0,a.failure)(c.databaseConstants.UPDATE_FIELDS_FAILURE,t)),window.showToast({type:"error",msg:"Error updating fields. Please try again later"})}))}},reset:function(){return t=>t({type:c.databaseConstants.RESET_DB_STATE})},createPublicRow:function(t,e,n,r,i,s){return(n,l)=>{n(E(c.databaseConstants.CREATE_ROW_REQUEST));const p=l();let d;if(s){const{getDocument:t=(()=>{})}=window.codeDesign?.helpers,e=t()?.getElementById(s);e&&(d=e.querySelector('button[type="submit"]'),d&&(d.disabled=!0))}const{_id:f}=p.customization.present.data,_={rowData:t,project:f,tableId:e,functionId:i};(0,o.showPromiseToast)(u.databaseService.createPublicRow(_).then((t=>{if(n(m(c.databaseConstants.CREATE_ROW_SUCCESS)),d&&(d.disabled=!1),r)try{const t=new URL(r);window.location.href=t}catch(e){try{const t=`${window.location.protocol}//${window.location.host}/`;r=r.replace(/^\/|\/$/g,"");const e=new URL(r,t);window.location.href=e}catch(e){console.error(e)}}}),(t=>(n((0,a.failure)(c.databaseConstants.CREATE_ROW_FAILURE,t)),d&&(d.disabled=!1),Promise.reject(t)))),{pending:"Form is being submitted...",success:"Form submission successful \ud83d\udc4c",error:"Form submission failed \ud83e\udd2f"})}}};function p(t){return e=>{e({type:c.databaseConstants.SET_CURRENT_ACTIVE_TABLE,payload:t})}}function d(t,e={}){return(n,o)=>{const{search:r}=e,i=o(),{_id:s}=i.customization.present.data,{databaseId:l,tables:p}=i.database.data;n(E(c.databaseConstants.GET_TABLE_REQUEST,t));const d=p.find((e=>e.id===t));u.databaseService.getTable({tableId:t,project:s,databaseId:l,options:{search:r}}).then((o=>{!e.disableToast&&window.showToast({type:"success",msg:`Table "${d.name}" loaded successfully`}),n(m(c.databaseConstants.GET_TABLE_SUCCESS,{tableId:t,data:o}))}),(t=>{!e.disableToast&&window.showToast({type:"error",msg:`Something went wrong while loading table ${d.name||""}`}),n((0,a.failure)(c.databaseConstants.GET_TABLE_FAILURE,t))}))}}function f(t,e={}){return(n,o)=>{const{name:r,description:i,fields:s=[]}=t,p=o(),{_id:d}=p.customization.present.data,{databaseId:f}=p.database.data;if(!f)return void window.showToast({type:"error",msg:"Failed to create table. Please try again later."});p.database.data.tables.length;n(E(c.databaseConstants.CREATE_TABLE_REQUEST)),u.databaseService.createTable({name:r,description:i,fields:s,databaseId:f,project:d}).then((o=>{window.showToast({type:"success",msg:`Table "${r}" ${"duplicate"===e.type?"duplicated":"created"} successfully`}),n(m(c.databaseConstants.CREATE_TABLE_SUCCESS,{...t,id:o.id})),n(l.setCurrentActiveTable(o.id))}),(t=>{window.showToast({type:"error",msg:`Something went wrong while ${"duplicate"===e.type?"duplicating":"creating"} the table`}),n((0,a.failure)(c.databaseConstants.CREATE_TABLE_FAILURE,t))}))}}function E(t,e){return{type:t,payload:e||null}}function m(t,e,n={}){return o=>{o({type:t,payload:e,options:n}),o({type:c.errorsConstants.REMOVE_ERROR})}}},8867:function(t,e,n){"use strict";n.r(e),n.d(e,{databaseActions:function(){return f}});var o=n(2619),r=n(4055),a=n(7911),i=n(2307),s=n.n(i),c=n(3902),u=n(9262),l=n(6160),p=n(1717),d=n(5169);const f={createDatabase:function(t){return(e,n)=>{n();e(h(c.databaseConstants.CREATE_DATABASE_REQUEST));const o={project:t};u.databaseService.createDatabase(o).then((t=>{window.showToast({type:"success",msg:"Database created successfully"}),e(g(c.databaseConstants.CREATE_DATABASE_SUCCESS,t)),e(r.uiActions.setShowCreateTableModal(!0))}),(t=>{window.showToast({type:"error",msg:"Error creating database. Please try again later"}),e((0,a.failure)(c.databaseConstants.CREATE_DATABASE_FAILURE,t))}))}},setCurrentActiveTable:E,initialDatabaseFetch:function(t,e){return(n,o)=>{const r=o();n(h(c.databaseConstants.DATABASE_MINIMAL_FETCH_REQUEST));const{_id:a,blueprint:i}=r.customization.present.data,{databaseId:s}=r.database.data;(s||e)&&u.databaseService.initialDatabaseFetch({project:a||t,databaseId:s||e}).then(((t={})=>{const{tables:e,models:o}=t;n(g(c.databaseConstants.DATABASE_MINIMAL_FETCH_SUCCESS,{tables:e,models:o})),e.forEach(((t,e)=>{t.id&&(n(m(t.id,{disableToast:!0})),0===e&&n(E(t.id)))}))}))}},getTable:m,createTable:_,deleteTable:function(t){return(e,n)=>{const o=n(),i=o.database.currentActiveTable,s=o.database.data.tables.filter((e=>e.id!==t)),{_id:l}=o.customization.present.data;e(h(c.databaseConstants.DELETE_TABLE_REQUEST)),u.databaseService.deleteTable({tableId:t,project:l}).then((n=>{e(g(c.databaseConstants.DELETE_TABLE_SUCCESS,s)),e(r.uiActions.setDeleteTableAlert("")),window.showToast({type:"success",msg:"Table deleted successfully"}),s.length>0?i===t&&(e(m(s[0].id)),e(E(s[0].id))):e(E(""))}),(t=>{e((0,a.failure)(c.databaseConstants.DELETE_TABLE_FAILURE,t)),window.showToast({type:"error",msg:"Error deleting table. Please try again later"})}))}},duplicateTable:function(t){return(e,n)=>{const o=n().database.data.tables.find((e=>e.id===t))||{},{name:r,description:a,fields:i=[]}=o;e(_({name:r,description:a,fields:i},{type:"duplicate"}))}},updateTable:function(t){return(e,n)=>{e(g(c.databaseConstants.UPDATE_TABLE_REQUEST,o));const o=n().database.data.tables.map((e=>e.id===t.id?{...e,...t}:e));e(g(c.databaseConstants.UPDATE_TABLE_SUCCESS,o))}},createTableFromSocket:function(t){return(e,n)=>{e(g(c.databaseConstants.UPDATE_TABLE_REQUEST));const o=[...n().database.data.tables,{...t}];e(g(c.databaseConstants.UPDATE_TABLE_SUCCESS,o))}},updateFieldFromSocket:function(t){const{fields:e}=t;return(n,o)=>{n(g(c.databaseConstants.UPDATE_TABLE_REQUEST));const r=o().database.data.tables.map((n=>{if(n.id===t.id){return n.fields=[...e],{...n}}return n}));n(g(c.databaseConstants.UPDATE_TABLE_SUCCESS,r))}},updateRowFromSocket:function(t){return(e,n)=>{e(g(c.databaseConstants.UPDATE_TABLE_REQUEST));const o=n().database.data.tables.map((e=>{if(e.id===t.tableId){const n=e.fields.reduce(((t,e)=>(t[e.name]=e.id,t)),{}),o=e.results.map((e=>{if(e[`field_${n.OrderId}`]===t.OrderId){const o={...e};for(const[e,r]of Object.entries(t))if("tableId"!==e){const t=n[e];t&&(o[`field_${t}`]=r)}return o}return e}));return{...e,results:o}}return e}));e(g(c.databaseConstants.UPDATE_TABLE_SUCCESS,o))}},createRowFromSocket:function(t){return(e,n)=>{e(g(c.databaseConstants.UPDATE_TABLE_REQUEST));const o=n().database.data.tables.map((e=>{if(e.id===t.id){const n={};return e.fields.forEach((e=>{t.hasOwnProperty(e.name)&&(n[`field_${e.id}`]=t[e.name])})),{...e,results:[...e.results,{...n,id:t.id,order:t.order}]}}return e}));e(g(c.databaseConstants.UPDATE_TABLE_SUCCESS,o))}},deleteRow:function(t,e){return(n,o)=>{n(h(c.databaseConstants.DELETE_ROW_REQUEST));const i=o(),s=i.database.data.tables.find((e=>e.id===t)),{_id:l}=i.customization.present.data,p={project:l,tableId:t,rowId:e},d=s.results;u.databaseService.deleteRow(p).then((o=>{const a=d.filter((t=>t.id!==e)),u={...s,results:a,count:s.count-1},l=i.database.data.tables.map((e=>e.id===t?u:e));n(g(c.databaseConstants.DELETE_ROW_SUCCESS,l)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"success",msg:"Row deleted successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.DELETE_ROW_FAILURE,t)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"failure",msg:"Row deletion failed"})}))}},deleteRows:function(t,e){return(n,o)=>{n(h(c.databaseConstants.DELETE_ROW_REQUEST));const i=o(),s=i.database.data.tables.find((e=>e.id===t)),{_id:l}=i.customization.present.data,p={project:l,tableId:t,rowIds:e},d=s.results;u.databaseService.deleteRows(p).then((o=>{const a=d.filter((t=>!e.includes(t.id))),u={...s,results:a,count:s.count-1},l=i.database.data.tables.map((e=>e.id===t?u:e));n(g(c.databaseConstants.DELETE_ROW_SUCCESS,l)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"success",msg:"Row deleted successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.DELETE_ROW_FAILURE,t)),n(r.uiActions.setDeleteRowAlert("")),window.showToast({type:"failure",msg:"Row deletion failed"})}))}},createRow:function(t,e){return(n,o)=>{n(h(c.databaseConstants.CREATE_ROW_REQUEST));const r=o(),i=r.database.data.tables.find((t=>t.id===e)),s=i.results,{_id:l}=r.customization.present.data,p={rowData:t,project:l,tableId:e};u.databaseService.createRow(p).then((t=>{const o=[...s,t],a={...i,results:o,count:i.count+1},u=r.database.data.tables.map((t=>t.id===e?a:t));n(g(c.databaseConstants.CREATE_ROW_SUCCESS,u)),window.showToast({type:"success",msg:"Row created successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.CREATE_ROW_FAILURE,t)),window.showToast({type:"error",msg:"Error creating row. Please try again later"})}))}},updateRow:function(t,e){return(n,o)=>{n(h(c.databaseConstants.UPDATE_ROW_REQUEST));const r=o(),{_id:i}=r.customization.present.data,{id:s}=t,l={rowData:t,project:i,tableId:e,rowId:s},p=r.database.data.tables.find((t=>t.id===e)),d=p.results;u.databaseService.updateRow(l).then((o=>{const a=d.map((e=>e.id===t.id?{...e,...t}:e)),i={...p,results:a},s=r.database.data.tables.map((t=>t.id===e?i:t));n(g(c.databaseConstants.UPDATE_ROW_SUCCESS,s)),window.showToast({type:"success",msg:"Row updated successfully"})}),(t=>{n((0,a.failure)(c.databaseConstants.UPDATE_ROW_FAILURE,t)),window.showToast({type:"error",msg:"Error updating row. Please try again later"})}))}},updateFields:function(t,e){return(n,o)=>{n(h(c.databaseConstants.UPDATE_FIELDS_REQUEST));const r=o(),{_id:i}=r.customization.present.data,l=r.database.data.tables.find((e=>e.id===t)),p=l.fields;let d=[],f=[],E=[];d=e.filter((t=>!p.some((e=>e.id===t.id)))),f=p.filter((t=>!e.some((e=>e.id===t.id)))),E=e.filter((t=>p.some((e=>((t,e)=>t.id===e.id&&!s()(t,e))(t,e)))));const _={...l,fields:e},S=r.database.data.tables.map((e=>e.id===t?_:e)),T={project:i,tableId:t,fields:{addedFields:d,removedFields:f,updatedFields:E}};u.databaseService.updateFields(T).then((e=>{e?(e?.createNewFieldResponse?.length>0&&(_.fields=_.fields.map((t=>{const n=e.createNewFieldResponse.find((e=>e.oldId===t.id));return n||t}))),n(g(c.databaseConstants.UPDATE_FIELDS_SUCCESS,S)),n(m(t,{disableToast:!0})),window.showToast({type:"success",msg:"Fields updated successfully"})):(n((0,a.failure)(c.databaseConstants.UPDATE_FIELDS_FAILURE,"Some fields could not be updated")),window.showToast({type:"error",msg:"Some fields could not be updated"}))}),(t=>{n((0,a.failure)(c.databaseConstants.UPDATE_FIELDS_FAILURE,t)),window.showToast({type:"error",msg:"Error updating fields. Please try again later"})}))}},reset:function(){return t=>t({type:c.databaseConstants.RESET_DB_STATE})},createPublicRow:function(t,e,n,r,i,s){return(n,l)=>{n(h(c.databaseConstants.CREATE_ROW_REQUEST));const p=l();let d;if(s){const{getDocument:t=(()=>{})}=window.codeDesign?.helpers,e=t()?.getElementById(s);e&&(console.log("formElement",e),d=e.querySelector('button[type="submit"]'),d&&(d.disabled=!0))}const{_id:f}=p.customization.present.data,E={rowData:t,project:f,tableId:e,functionId:i};(0,o.showPromiseToast)(u.databaseService.createPublicRow(E).then((t=>{if(n(g(c.databaseConstants.CREATE_ROW_SUCCESS)),d&&(d.disabled=!1),r)try{const t=new URL(r);window.location.href=t}catch(e){try{const t=`${window.location.protocol}//${window.location.host}/`;r=r.replace(/^\/|\/$/g,"");const e=new URL(r,t);window.location.href=e}catch(e){console.error(e)}}}),(t=>(n((0,a.failure)(c.databaseConstants.CREATE_ROW_FAILURE,t)),d&&(d.disabled=!1),Promise.reject(t)))),{pending:"Form is being submitted...",success:"Form submission successful \ud83d\udc4c",error:"Form submission failed \ud83e\udd2f"})}},submitFormData:function({formData:t,formId:e,urlRedirect:n,order:i=!1,clickedButtonComponent:s,orderId:l,successCallback:f}){return(E,m)=>{E(h(c.databaseConstants.CREATE_ROW_REQUEST));const _=m();let S;if(e){const{getDocument:t=(()=>{})}=window.codeDesign?.helpers,n=t()?.getElementById(e);n&&(S=n.querySelector('button[type="submit"]'),S&&(S.disabled=!0))}const{_id:T}=_.customization.present.data,{context:y}=_.customization.present;if(s)if(i){const{paymentSuccessRedirectProps:t}=s?.props?.componentData||{},e=(0,p.getCompleteUrl)(t);e&&(n=e)}else{const{submitRedirectProps:t}=s?.props?.componentData||{},e=(0,p.getCompleteUrl)(t);e&&(n=e)}if(i){let s;s=(0,o.showToast)({type:"loader",msg:"Processing...",timer:!1}),u.databaseService.submitFormData({formData:t,formId:e,project:T,context:y,order:i,urlRedirect:n,orderId:l}).then((async(t={})=>{E(g(c.databaseConstants.CREATE_ROW_SUCCESS)),console.log(t,"testingjog");const e=t.identifier,{token:n,redirectUrl:a,connectedAccountId:i,paymentIntentClientSecret:u,paymentMethodId:l}=t;switch(e){case"order_session_checkout_initiated":E(r.uiActions.showPaymentPopup(n)),s&&o.toast.dismiss(s);break;case"order_offscreen_payment_succesful":s&&o.toast.dismiss(s),(0,o.showToast)({type:"success",msg:"Payment Success. "+(a?" Redirecting...":"")}),a&&setTimeout((()=>{window.location.href=a}),500);break;case"order_offscreen_payment_failed":(0,o.showToast)({type:"error",msg:"Payment Failed"});break;case"order_offscreen_payment_authentication_required":const t=await(0,d.handle3DSecure)({connectedAccountId:i,clientSecret:u,paymentMethodId:l});t&&s&&o.toast.dismiss(s),"order_success"===t?((0,o.showToast)({type:"success",msg:"Payment Success."+(a?" Redirecting...":"")}),a&&setTimeout((()=>{window.location.href=a}),500)):(0,o.showToast)({type:"error",msg:"Payment Failed"})}S&&(S.disabled=!1)}),(t=>(E((0,a.failure)(c.databaseConstants.CREATE_ROW_FAILURE,t)),S&&(S.disabled=!1),Promise.reject(t)))).catch((t=>{s&&o.toast.dismiss(s),(0,o.showToast)({type:"error",msg:"Something went wrong"})}))}else{let r;r=(0,o.showToast)({type:"loader",msg:"Submitting...",timer:!1}),u.databaseService.submitFormData({formData:t,formId:e,project:T,context:y,order:i,urlRedirect:n,orderId:l}).then((t=>{r&&o.toast.dismiss(r),E(g(c.databaseConstants.CREATE_ROW_SUCCESS)),S&&(S.disabled=!1),(0,o.showToast)({type:"success",msg:"Form submitted successfully."+(n?" Redirecting...":"")}),f&&f(),n&&setTimeout((()=>{window.location.href=n}),500)}),(t=>(r&&o.toast.dismiss(r),E((0,a.failure)(c.databaseConstants.CREATE_ROW_FAILURE,t)),S&&(S.disabled=!1),Promise.reject(t)))).catch((t=>{r&&o.toast.dismiss(r),(0,o.showToast)({type:"error",msg:"Something went wrong when submitting. Please try again or contact support."})}))}}},addProduct:function(t){return(e,n)=>{let o=n().customization.present.data._id;e(h(c.databaseConstants.ADD_PRODUCT_REQUEST)),u.databaseService.addProduct(t,{project:o}).then((t=>{window.showToast({type:"success",msg:"Product added successfully"}),e(g(c.databaseConstants.ADD_PRODUCT_SUCCESS,t))}),(t=>{window.showToast({type:"error",msg:"Error adding product. Please try again later"}),e((0,a.failure)(c.databaseConstants.ADD_PRODUCT_FAILURE,t))}))}},getPresetTable:function(t,e={}){const{PresetTables:n}=l.builderConstants;return Object.freeze(n),(o,r)=>{if(!Object.values(n).includes(t))throw new Error(`Invalid preset table: ${t}`);const i=t,{search:s}=e,l=r(),{_id:p}=l.customization.present.data,{databaseId:d,tables:f}=l.database.data;o(h(c.databaseConstants.GET_TABLE_REQUEST,i));const E=f.find((t=>t.id===i||t.name===i));u.databaseService.getTable({tableId:i,project:p,databaseId:d,options:{search:s}}).then((t=>{!e.disableToast&&window.showToast({type:"success",msg:`Table "${E.name}" loaded successfully`}),o(g(c.databaseConstants.GET_TABLE_SUCCESS,{tableId:E.id,data:t}))}),(t=>{!e.disableToast&&window.showToast({type:"error",msg:`Something went wrong while loading table ${E?.name||""}`}),o((0,a.failure)(c.databaseConstants.GET_TABLE_FAILURE,t))}))}},updateOverviewData:function(t){return e=>{e({type:c.databaseConstants.OVERVIEW_DATA,payload:t})}},updateTableDetails:function(t){return e=>{e({type:c.databaseConstants.TABLE_DETAILS,payload:t})}}};function E(t){return e=>{e({type:c.databaseConstants.SET_CURRENT_ACTIVE_TABLE,payload:t})}}function m(t,e={}){return(n,o)=>{const{search:r,page:i,size:s}=e,l=o(),{_id:p}=l.customization.present.data,{databaseId:d,tables:f}=l.database.data;n(h(c.databaseConstants.GET_TABLE_REQUEST,t));f.find((e=>e.id===t));u.databaseService.getTable({tableId:t,project:p,databaseId:d,options:{search:r,page:i,size:s}}).then((e=>{n(g(c.databaseConstants.GET_TABLE_SUCCESS,{tableId:t,data:e}))}),(t=>{n((0,a.failure)(c.databaseConstants.GET_TABLE_FAILURE,t))}))}}function _(t,e={}){return(n,o)=>{const{name:r,description:i,fields:s=[]}=t,l=o(),{_id:p}=l.customization.present.data,{databaseId:d}=l.database.data;if(!d)return void window.showToast({type:"error",msg:"Failed to create table. Please try again later."});l.database.data.tables.length;n(h(c.databaseConstants.CREATE_TABLE_REQUEST)),u.databaseService.createTable({name:r,description:i,fields:s,databaseId:d,project:p}).then((o=>{window.showToast({type:"success",msg:`Table "${r}" ${"duplicate"===e.type?"duplicated":"created"} successfully`}),n(g(c.databaseConstants.CREATE_TABLE_SUCCESS,{...t,id:o.id})),n(f.setCurrentActiveTable(o.id))}),(t=>{window.showToast({type:"error",msg:`Something went wrong while ${"duplicate"===e.type?"duplicating":"creating"} the table`}),n((0,a.failure)(c.databaseConstants.CREATE_TABLE_FAILURE,t))}))}}function h(t,e){return{type:t,payload:e||null}}function g(t,e,n={}){return o=>{o({type:t,payload:e,options:n}),o({type:c.errorsConstants.REMOVE_ERROR})}}},6961:function(t,e,n){"use strict";n.r(e),n.d(e,{siteProfileActions:function(){return i.siteProfileActions},orderActions:function(){return s.orderActions},userListActions:function(){return c.userListActions},databaseActions:function(){return u.databaseActions}});var o=n(1660),r={};for(var a in o)"default"!==a&&(r[a]=function(t){return o[t]}.bind(0,a));n.d(e,r);var i=n(6120),s=n(8435),c=n(7379),u=n(8867)},1660:function(){},8435:function(t,e,n){"use strict";n.r(e),n.d(e,{orderActions:function(){return s}});var o=n(7100),r=n(7878),a=n(3902),i=n(3655);const s={createOrder:function(t,e){return(n,r)=>{const s=r();n({type:o.userConstants.REQUEST_CREATE_ORDER}),i.orderService.createOrder(t,s,e).then((t=>{n(function(t){return e=>{e({type:o.userConstants.SUCCESS_CREATE_ORDER,payload:t}),e({type:a.errorsConstants.REMOVE_ERROR})}}(t))}),(t=>{n(function(t){return e=>{e({type:a.errorsConstants.ADD_ERROR,payload:{type:"CREATE_ORDER_FAILURE",error:t}}),e({type:o.userConstants.FAILURE_CREATE_ORDER,payload:t})}}(t.toString()))}))}},verifyOrder:function(t){return(e,n)=>{const r=n();e({type:o.userConstants.REQUEST_VERIFY_ORDER}),i.orderService.verifyOrder(t,r).then((t=>{e(function(t){return e=>{e({type:o.userConstants.SUCCESS_VERIFY_ORDER,payload:t}),e({type:a.errorsConstants.REMOVE_ERROR})}}(t))}),(t=>{e(function(t){return e=>{e({type:a.errorsConstants.ADD_ERROR,payload:{type:"VERIFY_ORDER_FAILURE",error:t}}),e({type:o.userConstants.FAILURE_VERIFY_ORDER,payload:t})}}(t.toString()))}))}},createOrderLink:function(t,e,n){return(o,s)=>{const c=s();let u=n||c.customization.present.data._id;const l=c.user.data._id;o({type:r.uiConstants.REQUEST_CREATE_ORDER_LINK}),i.orderService.createOrderLink(t,e,u,l).then((t=>{t.url&&(window.location.href=t.url,o(function(t){return e=>{e({type:r.uiConstants.SUCCESS_CREATE_ORDER_LINK,payload:t}),e({type:a.errorsConstants.REMOVE_ERROR})}}()))}),(t=>{o(function(t){return e=>{e({type:a.errorsConstants.ADD_ERROR,payload:{type:"CREATE_ORDER_FAILURE",error:t}}),e({type:r.uiConstants.FAILURE_CREATE_ORDER_LINK,payload:t})}}(t.toString()))}))}}}},6120:function(t,e,n){"use strict";n.r(e),n.d(e,{siteProfileActions:function(){return i}});var o=n(3655),r=n(3902),a=n(7911);const i={getSiteProfileDetails:function(){return t=>{t(s(r.siteProfileConstants.REQUEST_FETCH)),o.siteProfileService.getSiteProfileDetails().then((e=>{t(c(r.siteProfileConstants.SUCCESS_FETCH,e))}),(e=>{t((0,a.failure)(r.siteProfileConstants.FAILURE_FETCH,e.toString()))}))}},setSiteProfileDetails:function(t){return e=>{e(s(r.siteProfileConstants.REQUEST_UPDATE,t)),o.siteProfileService.setSiteProfileDetails(t).then((t=>{e(c(r.siteProfileConstants.SUCCESS_UPDATE,t))}),(t=>{e((0,a.failure)(r.siteProfileConstants.FAILURE_UPDATE,t.toString()))}))}},saveContent:function(t,e){return n=>{n(s(r.siteProfileConstants.REQUEST_CUSTOMIZE_CONTENT));const o={id:t,html:e};setTimeout((()=>{n(c(r.siteProfileConstants.SUCCESS_CUSTOMIZE_CONTENT,o))}),1e3)}},getContent:function(){return null},changeView:function(t){return e=>{e({type:r.siteProfileConstants.CHANGE_VIEW,payload:t})}},changeContext:function(t){return e=>{e({type:r.siteProfileConstants.CHANGE_CONTEXT,payload:t})}},savezIndex:function(t,e){return n=>{n({type:r.siteProfileConstants.CHANGE_ZINDEX,payload:{[e]:t}})}},getPageListDetails:function(){return t=>{t(s(r.siteProfileConstants.REQUEST_FETCH_PAGE_LIST)),o.siteProfileService.getPageListDetails().then((e=>{t(c(r.siteProfileConstants.SUCCESS_FETCH_PAGE_LIST,e))}),(e=>{t((0,a.failure)(r.siteProfileConstants.FAILURE_FETCH_PAGE_LIST,e.toString()))}))}},getCategoryListDetails:function(){return t=>{t(s(r.siteProfileConstants.REQUEST_FETCH_CATEGORY_LIST)),o.siteProfileService.getCategoryListDetails().then((e=>{t(c(r.siteProfileConstants.SUCCESS_FETCH_CATEGORY_LIST,e))}),(e=>{t((0,a.failure)(r.siteProfileConstants.FAILURE_FETCH_CATEGORY_LIST,e.toString()))}))}},storeImageComponentId:function(t,e){let n={compId:t,url:e};return{type:r.siteProfileConstants.STORE_IMAGE_COMP_ID_AND_URL,payload:n}},blueprintAndLayout:function(){return t=>{t({type:r.siteProfileConstants.BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE})}},updateComponentProps:function(t){const{client_id:e,props:n,context:o,zIndex:a}=t;return(t,i)=>{const s=i();let c={...s.admin.siteProfile.data.blueprint[o][e],props:{...s.admin.siteProfile.data.blueprint[o][e].props,...n},zIndex:a};t({type:r.siteProfileConstants.UPDATE_COMPONENT_PROPS,payload:c})}},storeCroppedImg:function(t){const e=t;return t=>{t(s(r.siteProfileConstants.REQUEST_SAVE_CROPPED_IMAGE)),setTimeout((()=>{t(c(r.siteProfileConstants.SUCCESS_SAVE_CROPPED_IMAGE,e))}),100)}},uploadCroppedImage:function(t,e){let n={alt:"storyLens-Builder",author:"storyLens",name:e,createdAt:t.created_at,height:t.height,width:t.width,src:t.secure_url,tags:[],type:"image",main:"UI/Image/index.jsx"};return t=>{t(s(r.siteProfileConstants.REQUEST_SAVE_CROPPED_IMAGE)),o.siteProfileService.uploadCroppedImage(n).then((()=>{t(c(r.siteProfileConstants.SUCCESS_SAVE_CROPPED_IMAGE,n))}),(e=>{t((0,a.failure)(r.siteProfileConstants.FAILURE_SAVE_CROPPED_IMAGE,e.toString()))}))}},cacheClear:function(){return t=>{t(s(r.siteProfileConstants.REQUEST_CLEAR_CACHE)),o.siteProfileService.cacheClear().then((e=>{t(c(r.siteProfileConstants.SUCCESS_CLEAR_CACHE,e))}),(e=>{t((0,a.failure)(r.siteProfileConstants.FAILURE_CLEAR_CACHE,e.toString()))}))}},addPlugins:function(t){return e=>{e(s(r.siteProfileConstants.REQUEST_ADD_PLUGINS)),o.siteProfileService.addPlugins(t).then((t=>{e(c(r.siteProfileConstants.SUCCESS_ADD_PLUGINS,t))}),(t=>{e((0,a.failure)(r.siteProfileConstants.FAILURE_ADD_PLUGINS,t.toString()))}))}},updatePlugins:function(t){return e=>{e(s(r.siteProfileConstants.REQUEST_UPDATE_PLUGINS)),o.siteProfileService.updatePlugins(t).then((t=>{e(c(r.siteProfileConstants.SUCCESS_UPDATE_PLUGINS,t))}),(t=>{e((0,a.failure)(r.siteProfileConstants.FAILURE_UPDATE_PLUGINS,t.toString()))}))}},removePlugins:function(t){return e=>{e(s(r.siteProfileConstants.REQUEST_REMOVE_PLUGINS)),o.siteProfileService.removePlugins(t).then((t=>{e(c(r.siteProfileConstants.SUCCESS_REMOVE_PLUGINS,t))}),(t=>{e((0,a.failure)(r.siteProfileConstants.FAILURE_REMOVE_PLUGINS,t.toString()))}))}}};function s(t,e){return{type:t,payload:e||null}}function c(t,e){return n=>{n({type:t,payload:e}),n({type:r.errorsConstants.REMOVE_ERROR})}}},7379:function(t,e,n){"use strict";n.r(e),n.d(e,{userListActions:function(){return i}});var o=n(3902),r=n(7100),a=n(3655);const i={fetchUserList:function(t){return e=>{e({type:o.userListConstants.REQUEST_USER_LIST}),a.userListService.fetchUserList(t).then((t=>{var n;e((n=t,t=>{t({type:o.userListConstants.SUCCESS_USER_LIST,payload:n}),t({type:r.errorsConstants.REMOVE_ERROR})}))}),(t=>{e(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"USERLIST_FETCH_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_USER_LIST,payload:t})}}(t.toString()))}))}},clearSearchResults:function(){return{type:o.userListConstants.CLEAR_SEARCH_RESULTS}},searchUser:function(t,e){return n=>{n({type:o.userListConstants.SET_SEARCH_TEXT,payload:t}),n({type:o.userListConstants.SEARCH_REQUEST}),a.userListService.searchUser(t,e).then((t=>{n(function(t){return e=>{e({type:o.userListConstants.SEARCH_SUCCESS,payload:t}),e({type:r.errorsConstants.REMOVE_ERROR})}}(t))}),(t=>{n(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"FAILURE_USERLIST_SEARCH",error:t}}),e({type:o.userListConstants.SEARCH_FAILURE,payload:t})}}(t.toString()))}))}},deleteUser:function(t){return e=>{e({type:o.userListConstants.REQUEST_DELETE_USER}),a.userListService.deleteUser(t).then((()=>{var n;e((n=t,t=>{t({type:o.userListConstants.SUCCESS_DELETE_USER,payload:n}),t({type:r.errorsConstants.REMOVE_ERROR})}))}),(t=>{e(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"USER_DELETE_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_DELETE_USER,payload:t})}}(t.toString()))}))}},restoreUser:function(t){return e=>{e({type:o.userListConstants.REQUEST_RESTORE_USER}),a.userListService.restoreUser(t).then((()=>{var n;e((n=t,t=>{t({type:o.userListConstants.SUCCESS_RESTORE_USER,payload:n}),t({type:r.errorsConstants.REMOVE_ERROR})}))}),(t=>{e(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"USER_RESTORE_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_RESTORE_USER,payload:t})}}(t.toString()))}))}},editStory:function(t,e){let n={showOnMainPage:e};return e=>{e({type:o.userListConstants.REQUEST_EDIT_STORY_ITEM}),a.userListService.editStory(t,n).then((t=>{var n;e((n=t,t=>{t({type:o.userListConstants.SUCCESS_EDIT_STORY_ITEM,payload:n}),t({type:r.errorsConstants.REMOVE_ERROR})}))}),(t=>{e(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"STORY_EDIT_STORY_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_EDIT_STORY_ITEM,payload:t})}}(t))}))}},updateUser:function(t,e,n){return s=>{if(s({type:o.userListConstants.REQUEST_UPDATE_USER}),"register"===n){let t=e.language&&e.language.map((t=>t.id));e=Object.assign({},e,{bio:{extended:e.bio},language:t}),a.userListService.userRegister(e).then((t=>{s(i(t)),s({type:o.userListConstants.REFRESH_REQUESTED})}))}else a.userListService.updateUser(t,e).then((t=>{s(i(t))}),(t=>{s(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"UPDATE_USER_FETCH_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_UPDATE_USER,payload:t})}}(t.toString()))}))};function i(t){return e=>{e({type:o.userListConstants.SUCCESS_UPDATE_USER,payload:t}),e({type:r.errorsConstants.REMOVE_ERROR})}}},fetchProjectList:function(t){return e=>{e({type:o.userListConstants.REQUEST_PROJECT_LIST}),a.userListService.fetchProjectList(t).then((t=>{var n;e((n=t,t=>{t({type:o.userListConstants.SUCCESS_PROJECT_LIST,payload:n}),t({type:r.errorsConstants.REMOVE_ERROR})}))}),(t=>{e(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"USERLIST_FETCH_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_PROJECT_LIST,payload:t})}}(t.toString()))}))}},fetchDomainList:function(t){return e=>{e({type:o.userListConstants.REQUEST_DOMAIN_LIST}),a.userListService.fetchDomainList(t).then((t=>{var n;e((n=t,t=>{t({type:o.userListConstants.SUCCESS_DOMAIN_LIST,payload:n}),t({type:r.errorsConstants.REMOVE_ERROR})}))}),(t=>{e(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"USERLIST_FETCH_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_DOMAIN_LIST,payload:t})}}(t.toString()))}))}},fetchSubdomainList:function(t){return e=>{e({type:o.userListConstants.REQUEST_SUBDOMAIN_LIST}),a.userListService.fetchSubdomainList(t).then((t=>{var n;e((n=t,t=>{t({type:o.userListConstants.SUCCESS_SUBDOMAIN_LIST,payload:n}),t({type:r.errorsConstants.REMOVE_ERROR})}))}),(t=>{e(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"USERLIST_FETCH_FAILURE",error:t}}),e({type:o.userListConstants.FAILURE_SUBDOMAIN_LIST,payload:t})}}(t.toString()))}))}},searchProject:function(t,e){let n=new URL(document.location.href).searchParams.get("apiType");return i=>{i({type:o.userListConstants.SET_SEARCH_TEXT,payload:t}),i({type:o.userListConstants.SEARCH_REQUEST}),a.userListService.searchProject(t,{...e,apiType:n}).then((t=>{i(function(t){return e=>{e({type:o.userListConstants.SEARCH_SUCCESS,payload:t}),e({type:r.errorsConstants.REMOVE_ERROR})}}(t))}),(t=>{i(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"FAILURE_USERLIST_SEARCH",error:t}}),e({type:o.userListConstants.SEARCH_FAILURE,payload:t})}}(t.toString()))}))}},searchSubdomain:function(t,e){let n=new URL(document.location.href).searchParams.get("apiType");return i=>{i({type:o.userListConstants.SET_SEARCH_TEXT,payload:t}),i({type:o.userListConstants.SEARCH_REQUEST}),a.userListService.searchSubdomain(t,{...e,apiType:n}).then((t=>{i(function(t){return e=>{e({type:o.userListConstants.SEARCH_SUCCESS,payload:t}),e({type:r.errorsConstants.REMOVE_ERROR})}}(t))}),(t=>{i(function(t){return e=>{e({type:r.errorsConstants.ADD_ERROR,payload:{type:"FAILURE_USERLIST_SEARCH",error:t}}),e({type:o.userListConstants.SEARCH_FAILURE,payload:t})}}(t.toString()))}))}},clearUserData:function(){return t=>{t({type:o.userListConstants.CLEAR_USER_DATA})}},getTemplateUser:function(){return t=>{a.userListService.getTemplateUser().then((e=>{t({type:o.userListConstants.FETCH_TEMPLATE_USER,payload:e.data})}),(t=>{console.error("Couldn't fetch template User",t)}))}},assignProjectLicense:function(t,e){return n=>{a.userListService.assignProjectLicense(t,e).then((t=>{n({type:o.userListConstants.ASSIGN_PROJECT_LICENSE,payload:t.data}),window.location.reload()}),(t=>{console.error("Couldn't update",t)}))}},validateDomain:function(t,e){return n=>{a.userListService.validateDomain(t,e).then((t=>{n({type:o.userListConstants.VALIDATE_DOMAIN,payload:t.data}),window.location.reload()}),(t=>{console.error("Couldn't update",t)}))}},unpublishSite:function(t,e){return n=>{a.userListService.unpublishSite(t,e).then((t=>{n({type:o.userListConstants.UNPUBLISH_SITE,payload:t.data}),window.location.reload()}),(t=>{console.error("Couldn't unpublish site",t)}))}}}},6160:function(t,e,n){"use strict";n.r(e),n.d(e,{builderConstants:function(){return o},INTERCOM_ARTICLE_IDS:function(){return r},RIGHT_SIDEBAR_HELP_ALERT_DATA:function(){return a},RESTRICTED_BUILDER_FUNCTIONS:function(){return i},DISABLED_BUILDER_FUNCTIONS:function(){return s},FORM_ELEMENT_TYPES:function(){return c}});const o={LIST_OF_COMPONENT_TYPES_HAVING_EMPTY_STATE_PRESETS:["form-component-v1"],GLOBAL_ELEMENT:"Global0007",CANVAS_TEXT_FIX:"<style>:not(.content-editor) h1,\n:not(.content-editor) h2,\n:not(.content-editor) h3,\n:not(.content-editor) h4,\n:not(.content-editor) h5,\n:not(.content-editor) h6,\n:not(.content-editor) p {\n  line-height: inherit;\n  margin: 0.1rem 0;\n  white-space:pre-wrap;\n  tab-size:4;\n}\n:not(.content-editor) h1 a,\n:not(.content-editor) h1 a:active,\n:not(.content-editor) h2 a,\n:not(.content-editor) h2 a:active,\n:not(.content-editor) h3 a,\n:not(.content-editor) h3 a:active,\n:not(.content-editor) h4 a,\n:not(.content-editor) h4 a:active,\n:not(.content-editor) h5 a,\n:not(.content-editor) h5 a:active,\n:not(.content-editor) h6 a,\n:not(.content-editor) h6 a:active,\n:not(.content-editor) p a,\n:not(.content-editor) p a:active {\n  color: inherit;\n  font-weight: inherit;\n  text-decoration: none;\n}\n:not(.content-editor) h1 a:hover,\n:not(.content-editor) h1 a:active:hover,\n:not(.content-editor) h2 a:hover,\n:not(.content-editor) h2 a:active:hover,\n:not(.content-editor) h3 a:hover,\n:not(.content-editor) h3 a:active:hover,\n:not(.content-editor) h4 a:hover,\n:not(.content-editor) h4 a:active:hover,\n:not(.content-editor) h5 a:hover,\n:not(.content-editor) h5 a:active:hover,\n:not(.content-editor) h6 a:hover,\n:not(.content-editor) h6 a:active:hover,\n:not(.content-editor) p a:hover,\n:not(.content-editor) p a:active:hover {\n  color: inherit;\n  text-decoration: underline;\n}\n:not(.content-editor) .cd-paragraph-clean :not(:first-child) {\n  margin-top: 16px;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n  font-size: inherit;\n  font-weight: inherit;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n  line-height: inherit;\n}\nh1 a,\nh1 a:active,\nh2 a,\nh2 a:active,\nh3 a,\nh3 a:active,\nh4 a,\nh4 a:active,\nh5 a,\nh5 a:active,\nh6 a,\nh6 a:active,\np a,\np a:active {\n  color: inherit;\n  text-decoration: none;\n}\nh1 a:hover,\nh1 a:active:hover,\nh2 a:hover,\nh2 a:active:hover,\nh3 a:hover,\nh3 a:active:hover,\nh4 a:hover,\nh4 a:active:hover,\nh5 a:hover,\nh5 a:active:hover,\nh6 a:hover,\nh6 a:active:hover,\np a:hover,\np a:active:hover {\n  color: inherit;\n  text-decoration: underline;\n}\n</style>",BREAKPOINT_KEYS:["bp_1920","bp_1440","bp_1280","lg","md","sm"],INITIAL_GRADIENT_BG:"linear-gradient(0deg,rgb(255,222,233)0%,rgb(181,255,252)100%)",ELEMENT_ORDER_BREAKPOINT:"lg",WHITELISTED_TEXT_UNIT_VALUES:["auto","fit-content","none"],CANVAS_LABEL_HEIGHT:24,HEROSECTION_MARGIN_TOP:-24,HEROSECTION_PADDING_TOP:24,CUSTOMIZATIONPARENT_BOX_SHADOW_SE:-1.75,CUSTOMIZATIONPARENT_BOX_SHADOW_NW:1.75,CUSTOMIZATIONPARENT_BOX_SHADOW_LIGHTER_SE:-.75,CUSTOMIZATIONPARENT_BOX_SHADOW_LIGHTER_NW:.75,MOVE_ELEMENT_SNAP_OFFSET:2,MOVE_ELEMENT_SNAP_TIMER:500,MARGIN_HELPER_MAX_ZINDEX:2147483647,CANVAS_SIDEMENU_WIDTH:220,CANVAS_SIDEMENU_OFFSET:2,AI_PREVIEW_CUSTOMIZE_WIDTH_EXCLUDED:322,CANVAS_WIDTH_EXCLUDED:304,CANVAS_HEIGHT_EXCLUDED:36,CANVAS_SCREEN_SIZE_MOBILE:480,CANVAS_SCREEN_SIZE_TABLET:780,DROPPING_POSITION_TOP_OFFSET:24,DROPPING_POSITION_LEFT_OFFSET:2,CONTAINER_WIDTH_LG:1135,DRAG_PLACEHOLDER_ID_IFRAME:"placeholderABCD",ACTIVE_OVERLAY_ELEMENT:".cd-element-overlay.active",ROW_HEIGHT:2,BASIC_BLOCKS_MAPPING:{blocks:"UI/GridLayoutChild/index.js",block:"UI/GridLayoutChild/index.js",image:"UI/Image/index.jsx",svg:"UI/Image/svg.jsx",text:"UI/Text/index.jsx",columns:"UI/GridLayoutChild/index.js",button:"UI/Button/index.js",fonts:"UI/Fonts/index.jsx",video:"UI/Video/index.jsx",audio:"UI/Audio/index.jsx",iframe:"UI/IFrame/index.jsx",HTMLCode:"UI/HTMLCode/index.jsx",input:"UI/Input/Input.jsx",dropdown:"UI/Input/Select.jsx",textarea:"UI/Input/TextArea.jsx"},RESIZE_HANDLERS:{RIGHT_ONLY:["e"],BOTTOM_ONLY:["s"],BOTTOM_RIGHT_ONLY:["se"],RIGHT_AND_BOTTOM:["s","e"],NONE:[]},TEMPLATE_TITLES:{"landing-page":"Landing Page",cta:"Call to Action",popup:"Pop-up",pricing:"Pricing",team:"Team",testimonial:"Testimonial"},errorpages:{client:"client-404",deploy:"deploy-pending",host:"host-404"},BOOKMARK_PRESET_TAB:"BOOKMARK_PRESET_TAB",BOOKMARK_LINKEDCOMPONENT_TAB:"BOOKMARK_LINKEDCOMPONENT_TAB",DB_TAB_APP_DATA:"DB_TAB_APP_DATA",DB_TAB_PRIVACY:"DB_TAB_PRIVACY",DB_TAB_FIELDS:"DB_TAB_FIELDS",DB_TAB_WEBHOOKS:"DB_TAB_WEBHOOKS",PresetTables:{PRODUCTS:"_products",ORDERS:"_orders",CONTACTS:"_contacts"},APP_SETTINGS_TAB_GENERAL:"APP_SETTINGS_TAB_GENERAL",APP_SETTINGS_TAB_DOMAIN:"APP_SETTINGS_TAB_DOMAIN",APP_SETTINGS_TAB_USERS:"APP_SETTINGS_TAB_USERS",APP_SETTINGS_TAB_DELETE:"APP_SETTINGS_TAB_DELETE",APP_SETTINGS_TAB_EMAILNOTIFY:"APP_SETTINGS_TAB_EMAILNOTIFY",APP_SETTINGS_TAB_INTEGRATIONS:"APP_SETTINGS_TAB_INTEGRATIONS",dataTitles:{padding:"An element's padding is the space between its content and its border",zIndex:"This property specifies the stack order of an element",pos_static:"The element is positioned according to the normal flow of the document",pos_absolute:"The element is positioned relative to its parent block. Allows placing one element on top of another",pos_relative:"The element is positioned according to the normal flow of the document, and then offset relative to itself based on the values of top, right, bottom, and left.",pos_fixed:"The element is positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled",pos_sticky:'The element is treated as relatively positioned until its containing block crosses a specified threshold value within its flow root (or the container it scrolls within), at which point it is treated as "stuck" until meeting the opposite edge of its containing block. ',display_block:"The element is treated as a block element",display_inline_block:"The element is treated as an inline-block element",display_flex:"The element is treated as a flex container",allSides:"Apply to all sides",individualSides:"Apply to individual sides",paragraph:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",italics:"Italics",bold:"Bold",underline:"Underline",textAlignLeft:"Aligns the content to the left",textAlignRight:"Aligns the content to the right",textAlignCenter:"Centers the content horizontally",textAlignJustify:"Stretches the lines so that each line has equal width",textTransformNone:"No transformation applied to the text",textTransformUppercase:"Converts all characters to uppercase",textTransformLowercase:"Converts all characters to lowercase",textTransformCapitalize:"Capitalizes the first letter of each word",verticalAlignTop:"Vertically aligns the text to top",verticalAlignCenter:"Centers the text vertically",verticalAlignBottom:"Vetically aligns the text to bottom",fontSize:"Sets the font-size",fontWeight:"Sets how thick or thin characters in text should be displayed",letterSpacing:"The space between characters in a text",lineHeight:"The property specifies the height of a line",flexJustifyContent:"The property aligns the flexible container's items when the items do not use all available space on the main-axis",flexJustifyContentStart:"Default value. Items are positioned at the beginning of the container",flexJustifyContentEnd:"Items are positioned at the end of the container",flexJustifyContentCenter:"Items are positioned in the center of the container",flexJustifyContentSpaceBetween:"Items will have space between them",flexJustifyContentSpaceAround:"Items will have space before, between, and after them",flexJustifyContentSpaceEvenly:"Items will have equal space around them",flexDirection:"This property specifies the direction of the items inside flexible container",flexDirectionRow:"Default value. The flexible items are displayed horizontally, as a row",flexDirectionColumn:"The flexible items are displayed vertically, as a column",flexDirectionRowReverse:"Same as row, but in reverse order",flexDirectionColumnReverse:"Same as column, but in reverse order",flexWrap:"This property specifies whether the flexible items should wrap or not",flexWrapNoWrap:"Default value. Specifies that the flexible items will not wrap",flexWrapWrap:"Specifies that the flexible items will wrap if necessary",flexWrapWrapReverse:"Specifies that the flexible items will wrap, if necessary, in reverse order",flexAlignItems:"This property specifies the default alignment for items inside the flexible container",flexAlignItemsStretch:"Default. Items are stretched to fit the container",flexAlignItemsStart:"Items are positioned at the beginning of the container",flexAlignItemsEnd:"Items are positioned at the end of the container",flexAlignItemsCenter:"Items are positioned at the center of the container",flexAlignItemsBaseline:"Items are positioned at the baseline of the container",tagName:"Sets the type of html tag this element should render",imgObjectFit:"property is used to specify how an image should be resized to fit its container",imgObjectFitFill:"The replaced content is sized to fill the element's content box. If necessary, the object will be stretched or squished to fit",imgObjectFitContain:"The replaced content is scaled to maintain its aspect ratio while fitting within the element's content box",imgObjectFitCover:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box. The object will be clipped to fit",imgObjectFitScaleDown:"The content is sized as if none or contain were specified (would result in a smaller concrete object size)",addBg:"Add an image or gradient to the background",shadow:"Attaches shadow to an element",shadowNil:"No shadow",shadowLight:"Light shadow",shadowDark:"Dark shadow",shadowCustom:"Add a custom shadow",borderRadius:"Defines the radius of the element's corners",borderSolid:"Solid border",borderDashed:"Dashed border",borderTop:"Border on the top side",borderRight:"Border on the right side",borderBottom:"Border on the bottom side",borderLeft:"Border on the left side",linkExternal:"Link to an external page",linkAnchor:"Anchor link to an element in the page",linkPage:"Link to another page of current project",linkMailto:"Email link",linkTel:"Telephone link",hideInLarge:"Hide element in large screens (desktop)",hideInMedium:"Hide element in medium screens (tablet)",hideInSmall:"Hide element in small screens (mobile)",overflow:"Sets the desired behavior for an element's overflow, when content is too big to fit in",backgroundSize:"This property specifies the size of the background images",backgroundSizeAuto:"The background image is displayed in its original size",backgroundSizeCover:"Resize the background image to cover the entire container, even if it has to stretch the image or cut a little bit off one of the edges",backgroundSizeContain:"Resize the background image to make sure the image is fully visible",backgroundSizeCustom:"Sets the width and height of the background image in either pixel or percent of the parent element. Eg: 400px 200px or 80% 20%",draggable:"Move and reorder by clicking and dragging",deleteItem:"Click to remove this item",backgroundClip:"This property defines how far the background (color or image) should extend within an element",backgroundOrigin:"This property specifies the origin position (the background positioning area) of a background image",backgroundAttachment:"This property sets whether a background image scrolls with the rest of the page, or is fixed",deployDomain:"Deploy to Subdomain or Your own domain!",deployGithub:"Deploy to GitHub",deployFirebase:"Deploy to Firebase",deployCodesandbox:"Deploy to CodeSandbox",addDropdownOption:"Add an option item to the drop-down list",addColumnItem:"Add a column to the row"},TEXT_COMPONENT_SOURCE:"UI/Text/index.jsx",BUTTON_COMPONENT_SOURCE:"UI/Button/index.js",HTML_CODE_COMPONENT_SOURCE:"UI/HTMLCode/index.jsx",HTML_CODE_IFRAME_COMPONENT_SOURCE:"UI/Iframe/index.jsx",IMAGE_COMPONENT_SOURCE:"UI/Image/index.jsx",INPUT_COMPONENT_SOURCE:"UI/Input/Input.jsx",SELECT_COMPONENT_SOURCE:"UI/Input/Select.jsx",TEXTAREA_COMPONENT_SOURCE:"UI/Input/TextArea.jsx",BLOCK_COMPONENT_SOURCE:"UI/GridLayoutChild/index.js",ICON_COMPONENT_SOURCE:"UI/Fonts/index.jsx",IFRAME_COMPONENT_SOURCE:"UI/Iframe/index.jsx"},r={domainConnection:6331567,builderFunctionTab:6324502},a={"layers-panel":{id:"layers-panel",text:"Learn more about working with Layers Panel",linkText:"Watch Video (1 min)",linkUrl:"https://youtu.be/zEzipOlI_pc",icon:void 0},"preset-components":{id:"preset-components",text:"Learn more about Re-usable Preset Elements",linkText:"Watch Video (2 min)",linkUrl:"https://youtu.be/HqdXYTzPGbM",icon:void 0},"linked-components":{id:"linked-components",text:"Learn more about Linked Components",linkText:"Watch Video (3 min)",linkUrl:"https://youtu.be/qu8VoitMZZ0",icon:void 0},"flex-box-settings":{id:"flex-box-settings",text:"Learn more about Flexbox Alignment Settings",linkText:"Watch Video (3 min)",linkUrl:"https://youtu.be/sYCLp34bqiw",icon:void 0},"image-settings":{id:"image-settings",text:"Learn more about Image Settings",linkText:"Watch Video (2 min)",linkUrl:"https://youtu.be/mYkC_6kR7dU",icon:void 0},"layout-settings":{id:"layout-settings",text:"Learn more about Layout Settings",linkText:"Watch Video (3 min)",linkUrl:"https://youtu.be/ER675irGksg",icon:void 0},"typography-settings":{id:"typography-settings",text:"Learn more about Typography Settings",linkText:"Watch Video (2 min)",linkUrl:"https://youtu.be/Y0Qfac9EErs",icon:void 0},"style-settings":{id:"style-settings",text:"Learn more about Style Settings",linkText:"Watch Video (3 min)",linkUrl:"https://youtu.be/XqmZVu4jWwE",icon:void 0}},i={delete:"delete"},s={delete:"delete",copy:"copy",paste:"paste",duplicate:"duplicate",changeParent:"changeParent",createLinkedComponent:"createLinkedComponent",createPreset:"createPreset",drag:"drag",drop:"drop"},c={TEXT:"text",EMAIL:"email",NUMBER:"number",FIRST_NAME:"firstName",LAST_NAME:"lastName",DATE:"date",FULL_NAME:"fullName",PHONE:"phone",BUY_BUTTON:"buy",SUBMIT_BUTTON:"submit",SELECT:"select",CHECKBOX:"checkbox",TEXTAREA:"textarea",URL:"url"}},3168:function(t,e,n){"use strict";n.r(e),n.d(e,{databaseConstants:function(){return o}});const o={DATABASE_MINIMAL_FETCH_REQUEST:"DATABASE_MINIMAL_FETCH_REQUEST",DATABASE_MINIMAL_FETCH_SUCCESS:"DATABASE_MINIMAL_FETCH_SUCCESS",DATABASE_MINIMAL_FETCH_FAILURE:"DATABASE_MINIMAL_FETCH_FAILURE",CREATE_TABLE_REQUEST:"CREATE_TABLE_REQUEST",CREATE_TABLE_SUCCESS:"CREATE_TABLE_SUCCESS",CREATE_TABLE_FAILURE:"CREATE_TABLE_FAILURE",GET_TABLE_REQUEST:"GET_TABLE_REQUEST",GET_TABLE_SUCCESS:"GET_TABLE_SUCCESS",GET_TABLE_FAILURE:"GET_TABLE_FAILURE",CREATE_DATABASE_REQUEST:"CREATE_DATABASE_REQUEST",CREATE_DATABASE_SUCCESS:"CREATE_DATABASE_SUCCESS",CREATE_DATABASE_FAILURE:"CREATE_DATABASE_FAILURE",UPDATE_DATABASE_ID:"UPDATE_DATABASE_ID",CREATE_TABLE_REQUEST:"CREATE_TABLE_REQUEST",CREATE_TABLE_SUCCESS:"CREATE_TABLE_SUCCESS",CREATE_TABLE_FAILURE:"CREATE_TABLE_FAILURE",DELETE_TABLE_REQUEST:"DELETE_TABLE_REQUEST",DELETE_TABLE_SUCCESS:"DELETE_TABLE_SUCCESS",DELETE_TABLE_FAILURE:"DELETE_TABLE_FAILURE",UPDATE_TABLE_REQUEST:"UPDATE_TABLE_REQUEST",UPDATE_TABLE_SUCCESS:"UPDATE_TABLE_SUCCESS",UPDATE_TABLE_FAILURE:"UPDATE_TABLE_FAILURE",DELETE_ROW_REQUEST:"DELETE_ROW_REQUEST",DELETE_ROW_SUCCESS:"DELETE_ROW_SUCCESS",DELETE_ROW_FAILURE:"DELETE_ROW_FAILURE",CREATE_ROW_REQUEST:"CREATE_ROW_REQUEST",CREATE_ROW_SUCCESS:"CREATE_ROW_SUCCESS",CREATE_ROW_FAILURE:"CREATE_ROW_FAILURE",UPDATE_ROW_REQUEST:"UPDATE_ROW_REQUEST",UPDATE_ROW_SUCCESS:"UPDATE_ROW_SUCCESS",UPDATE_ROW_FAILURE:"UPDATE_ROW_FAILURE",UPDATE_FIELDS_REQUEST:"UPDATE_FIELDS_REQUEST",UPDATE_FIELDS_SUCCESS:"UPDATE_FIELDS_SUCCESS",UPDATE_FIELDS_FAILURE:"UPDATE_FIELDS_FAILURE",SET_CURRENT_ACTIVE_TABLE:"SET_CURRENT_ACTIVE_TABLE",RESET_DB_STATE:"RESET_DB_STATE",DATE_DATA_TYPES:["created_on","last_modified","date"],READONLY_DATA_TYPES:["created_on","last_modified"],ADD_PRODUCT_REQUEST:"ADD_PRODUCT_REQUEST",ADD_PRODUCT_SUCCESS:"ADD_PRODUCT_SUCCESS",ADD_PRODUCT_FAILURE:"ADD_PRODUCT_FAILURE",OVERVIEW_DATA:"OVERVIEW_DATA",TABLE_DETAILS:"TABLE_DETAILS"}},7182:function(t,e,n){"use strict";n.r(e),n.d(e,{errorsConstants:function(){return o}});const o={ADD_ERROR:"ADD_ERROR",REMOVE_ERROR:"REMOVE_ERROR"}},3902:function(t,e,n){"use strict";n.r(e),n.d(e,{notificationsConstants:function(){return o.notificationsConstants},siteProfileConstants:function(){return r.siteProfileConstants},errorsConstants:function(){return a.errorsConstants},orderConstants:function(){return i.orderConstants},DISABLED_BUILDER_FUNCTIONS:function(){return s.DISABLED_BUILDER_FUNCTIONS},FORM_ELEMENT_TYPES:function(){return s.FORM_ELEMENT_TYPES},INTERCOM_ARTICLE_IDS:function(){return s.INTERCOM_ARTICLE_IDS},RESTRICTED_BUILDER_FUNCTIONS:function(){return s.RESTRICTED_BUILDER_FUNCTIONS},RIGHT_SIDEBAR_HELP_ALERT_DATA:function(){return s.RIGHT_SIDEBAR_HELP_ALERT_DATA},builderConstants:function(){return s.builderConstants},userListConstants:function(){return c.userListConstants},databaseConstants:function(){return u.databaseConstants}});var o=n(522),r=n(5663),a=n(7182),i=n(9809),s=n(6160),c=n(3727),u=n(3168)},522:function(t,e,n){"use strict";n.r(e),n.d(e,{notificationsConstants:function(){return o}});const o={REQUEST_NOTIFICATIONS:"REQUEST_FETCH_ADMIN_NOTIFICATIONS",SUCCESS_NOTIFICATIONS:"SUCCESS_FETCH_ADMIN_NOTIFICATIONS",FAILURE_NOTIFICATIONS:"FAILURE_FETCH_ADMIN_NOTIFICATIONS",REQUEST_READ_NOTIFICATION:"REQUEST_READ_ADMIN_NOTIFICATION",SUCCESS_READ_NOTIFICATION:"SUCCESS_READ_ADMIN_NOTIFICATION",FAILURE_READ_NOTIFICATION:"FAILURE_READ_ADMIN_NOTIFICATION",REQUEST_UNREAD_NOTIFICATION:"REQUEST_UNREAD_ADMIN_NOTIFICATION",SUCCESS_UNREAD_NOTIFICATION:"SUCCESS_UNREAD_ADMIN_NOTIFICATION",FAILURE_UNREAD_NOTIFICATION:"FAILURE_UNREAD_ADMIN_NOTIFICATION",REQUEST_READ_ALL_NOTIFICATIONS:"REQUEST_READ_ALL_ADMIN_NOTIFCATIONS",SUCCESS_READ_ALL_NOTIFICATIONS:"SUCCESS_READ_ALL_ADMIN_NOTIFCATIONS",FAILURE_READ_ALL_NOTIFICATIONS:"FAILURE_READ_ALL_ADMIN_NOTIFCATIONS",CLEAR_NOTIFICATION_LIST:"CLEAR_NOTIFICATION_LIST"}},9809:function(t,e,n){"use strict";n.r(e),n.d(e,{orderConstants:function(){return o}});const o={REQUEST_CREATE_ORDER:"REQUEST_CREATE_ORDER",SUCCESS_CREATE_ORDER:"SUCCESS_CREATE_ORDER",FAILURE_CREATE_ORDER:"FAILURE_CREATE_ORDER",REQUEST_VERIFY_ORDER:"REQUEST_VERIFY_ORDER",SUCCESS_VERIFY_ORDER:"SUCCESS_VERIFY_ORDER",FAILURE_VERIFY_ORDER:"FAILURE_VERIFY_ORDER"}},5663:function(t,e,n){"use strict";n.r(e),n.d(e,{siteProfileConstants:function(){return o}});const o={REQUEST_FETCH:"REQUEST_FETCH_SITE_DETAILS",SUCCESS_FETCH:"SUCCESS_FETCH_SITE_DETAILS",FAILURE_FETCH:"FAILURE_FETCH_SITE_DETAILS",REQUEST_UPDATE:"REQUEST_UPDATE_SITE_DETAILS",SUCCESS_UPDATE:"SUCCESS_UPDATE_SITE_DETAILS",FAILURE_UPDATE:"FAILURE_UPDATE_SITE_DETAILS",REQUEST_SAVE_LAYOUT:"REQUEST_SAVE_LAYOUT",SUCCESS_SAVE_LAYOUT:"SUCCESS_SAVE_LAYOUT",FAILURE_SAVE_LAYOUT:"FAILURE_SAVE_LAYOUT",REQUEST_FETCH_LAYOUT:"REQUEST_FETCH_LAYOUT",SUCCESS_FETCH_LAYOUT:"SUCCESS_FETCH_LAYOUT",FAILURE_FETCH_LAYOUT:"FAILURE_FETCH_LAYOUT",LAYOUT_MISMATCH:"LAYOUT_MISMATCH_WITH_LOCAL_STORAGE",LAYOUT_MISMATCH_RESOLVED:"LAYOUT_MISMATCH_WITH_LOCAL_STORAGE_RESOLVED",REQUEST_CUSTOMIZE_CONTENT:"REQUEST_CUSTOMIZE_CONTENT",SUCCESS_CUSTOMIZE_CONTENT:"SUCCESS_CUSTOMIZE_CONTENT",FAILURE_CUSTOMIZE_CONTENT:"FAILURE_CUSTOMIZE_CONTENT",CHANGE_VIEW:"CHANGE_BUILDER_VIEW",CHANGE_ZINDEX:"CHANGE_ZINDEX",REQUEST_FETCH_PAGE_LIST:"REQUEST_FETCH_PAGE_DETAILS",SUCCESS_FETCH_PAGE_LIST:"SUCCESS_FETCH_PAGE_DETAILS",FAILURE_FETCH_PAGE_LIST:"FAILURE_FETCH_PAGE_DETAILS",REQUEST_FETCH_CATEGORY_LIST:"REQUEST_FETCH_CATEGORY_DETAILS",SUCCESS_FETCH_CATEGORY_LIST:"SUCCESS_FETCH_CATEGORY_DETAILS",FAILURE_FETCH_CATEGORY_LIST:"FAILURE_FETCH_CATEGORY_DETAILS",REQUEST_FETCH_STATIC_MEDIA:"REQUEST_FETCH_STATIC_MEDIA",SUCCESS_FETCH_STATIC_MEDIA:"SUCCESS_FETCH_STATIC_MEDIA",FAILURE_FETCH_STATIC_MEDIA:"FAILURE_FETCH_STATIC_MEDIA",REQUEST_SAVE_CROPPED_IMAGE:"REQUEST_SAVE_CROPPED_IMAGE",SUCCESS_SAVE_CROPPED_IMAGE:"SUCCESS_SAVE_CROPPED_IMAGE",FAILURE_SAVE_CROPPED_IMAGE:"FAILURE_SAVE_CROPPED_IMAGE",STORE_IMAGE_COMP_ID_AND_URL:"STORE_IMAGE_COMP_ID_AND_URL",CHANGE_LAYOUT:"CHANGE_LAYOUT_ON_DROP",UPDATE_BLUEPRINT:"UPDATE_BLUEPRINT",BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE:"BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETR",UPDATE_COMPONENT_PROPS:"UPDATE_COMPONENT_PROPS_OLD",UPDATE_COMPONENT_PROPS_DONE:"UPDATE_COMPONENT_PROPS_DONE",REQUEST_DELETE_COMPONENT:"REQUEST_DELETE_COMPONENT",SUCCESS_DELETE_COMPONENT:"SUCCESS_DELETE_COMPONENT",REQUEST_CLEAR_CACHE:"REQUEST_CLEAR_CACHE",SUCCESS_CLEAR_CACHE:"SUCCESS_CLEAR_CACHE",FAILURE_CLEAR_CACHE:"FAILURE_CLEAR_CACHE",REQUEST_ADD_PLUGINS:"REQUEST_ADD_PLUGINS",SUCCESS_ADD_PLUGINS:"SUCCESS_ADD_PLUGINS",FAILURE_ADD_PLUGINS:"FAILURE_ADD_PLUGINS",REQUEST_UPDATE_PLUGINS:"REQUEST_UPDATE_PLUGINS",SUCCESS_UPDATE_PLUGINS:"SUCCESS_UPDATE_PLUGINS",FAILURE_UPDATE_PLUGINS:"FAILURE_UPDATE_PLUGINS",REQUEST_REMOVE_PLUGINS:"REQUEST_REMOVE_PLUGINS",SUCCESS_REMOVE_PLUGINS:"SUCCESS_REMOVE_PLUGINS",FAILURE_REMOVE_PLUGINS:"FAILURE_REMOVE_PLUGINS"}},3727:function(t,e,n){"use strict";n.r(e),n.d(e,{userListConstants:function(){return o}});const o={REQUEST_USER_LIST:"REQUEST_FETCH_USER_LIST",SUCCESS_USER_LIST:"SUCCESS_FETCH_USER_LIST",FAILURE_USER_LIST:"FAILURE_FETCH_USER_LIST",REQUEST_PROJECT_LIST:"REQUEST_FETCH_PROJECT_LIST",SUCCESS_PROJECT_LIST:"SUCCESS_FETCH_PROJECT_LIST",FAILURE_PROJECT_LIST:"FAILURE_FETCH_PROJECT_LIST",REQUEST_DOMAIN_LIST:"REQUEST_FETCH_DOMAIN_LIST",SUCCESS_DOMAIN_LIST:"SUCCESS_FETCH_DOMAIN_LIST",FAILURE_DOMAIN_LIST:"FAILURE_FETCH_DOMAIN_LIST",REQUEST_SUBDOMAIN_LIST:"REQUEST_FETCH_SUBDOMAIN_LIST",SUCCESS_SUBDOMAIN_LIST:"SUCCESS_FETCH_SUBDOMAIN_LIST",FAILURE_SUBDOMAIN_LIST:"FAILURE_FETCH_SUBDOMAIN_LIST",REQUEST_UPDATE_USER:"REQUEST_UPDATE_USER",SUCCESS_UPDATE_USER:"SUCCESS_UPDATE_USER",FAILURE_UPDATE_USER:"FAILURE_UPDATE_USER",REQUEST_EDIT_STORY_ITEM:"REQUEST_EDIT_STORY_ITEM",SUCCESS_EDIT_STORY_ITEM:"SUCCESS_EDIT_STORY_ITEM",FAILURE_EDIT_STORY_ITEM:"FAILURE_EDIT_STORY_ITEM",SET_SEARCH_TEXT:"SET_USER_LIST_SEARCH_TEXT",CLEAR_SEARCH_RESULTS:"CLEAR_USER_LIST_SEARCH_RESULTS",SEARCH_REQUEST:"REQUEST_USER_LIST_SEARCH",SEARCH_SUCCESS:"SUCCESS_USER_LIST_SEARCH",SEARCH_FAILURE:"FAILURE_USER_LIST_SEARCH",REQUEST_DELETE_USER:"REQUEST_DELETE_USER_LIST_ITEM",SUCCESS_DELETE_USER:"SUCCESS_DELETE_USER_LIST_ITEM",FAILURE_DELETE_USER:"FAILURE_DELETE_USER_LIST_ITEM",REQUEST_RESTORE_USER:"REQUEST_RESTORE_USER",SUCCESS_RESTORE_USER:"SUCCESS_RESTORE_USER",FAILURE_RESTORE_USER:"FAILURE_RESTORE_USER",REFRESH_REQUESTED:"REFRESH_REQUESTED",CLEAR_USER_DATA:"CLEAR_USER_DATA",FETCH_TEMPLATE_USER:"FETCH_TEMPLATE_USER",ASSIGN_PROJECT_LICENSE:"ASSIGN_PROJECT_LICENSE",VALIDATE_DOMAIN:"VALIDATE_DOMAIN",UNPUBLISH_SITE:"UNPUBLISH_SITE"}},2668:function(t,e,n){"use strict";n.r(e),n.d(e,{database:function(){return a}});var o=n(3902);const r={isFetching:!1,isFetchingTable:!1,isCreatingDB:!1,isCreatingTable:!1,isDeletingRow:!1,isAddingRow:!1,currentActiveTable:"",tableDetails:{},data:{tables:[]},overviewData:{fetched:!1,current:"Today"}};function a(t=r,e){switch(e.type){case o.databaseConstants.ADD_PRODUCT_REQUEST:return{...t,isAddingProduct:!0};case o.databaseConstants.ADD_PRODUCT_SUCCESS:case o.databaseConstants.ADD_PRODUCT_FAILURE:return{...t,isAddingProduct:!1};case o.databaseConstants.CREATE_DATABASE_REQUEST:return{...t,isFetching:!0,isCreatingDB:!0};case o.databaseConstants.UPDATE_DATABASE_ID:return{...t,data:{...t.data,databaseId:e.payload.id}};case o.databaseConstants.CREATE_DATABASE_SUCCESS:return{...t,isCreatingDB:!1,data:{...t.data,databaseId:e.payload.id},isFetching:!1};case o.databaseConstants.CREATE_DATABASE_FAILURE:return{...t,isFetching:!1,isCreatingDB:!1};case o.databaseConstants.SET_CURRENT_ACTIVE_TABLE:return{...t,currentActiveTable:e.payload};case o.databaseConstants.DATABASE_MINIMAL_FETCH_REQUEST:return{...t,isFetching:!0};case o.databaseConstants.DATABASE_MINIMAL_FETCH_SUCCESS:return{...t,data:{...t.data,tables:e.payload.tables,models:e.payload.models},isFetching:!1};case o.databaseConstants.DATABASE_MINIMAL_FETCH_FAILURE:return{...t,isFetching:!1};case o.databaseConstants.GET_TABLE_REQUEST:return{...t,isFetching:!0,isFetchingTable:!0};case o.databaseConstants.GET_TABLE_SUCCESS:return{...t,isFetchingTable:!1,data:{...t.data,tables:t.data.tables.map((t=>t.id===e.payload.tableId?{...t,...e.payload.data}:t))},isFetching:!1};case o.databaseConstants.GET_TABLE_FAILURE:return{...t,isFetching:!1,isFetchingTable:!1};case o.databaseConstants.CREATE_TABLE_REQUEST:return{...t,isFetching:!0,isCreatingTable:!0};case o.databaseConstants.CREATE_TABLE_SUCCESS:return{...t,isCreatingTable:!1,data:{...t.data,tables:[...t.data.tables,e.payload]},isFetching:!1};case o.databaseConstants.CREATE_TABLE_FAILURE:return{...t,isFetching:!1,isCreatingTable:!1};case o.databaseConstants.DELETE_TABLE_REQUEST:return{...t,isFetching:!0,isDeletingTable:!0};case o.databaseConstants.DELETE_TABLE_SUCCESS:return{...t,isDeletingTable:!1,data:{...t.data,tables:e.payload},isFetching:!1};case o.databaseConstants.DELETE_TABLE_FAILURE:return{...t,isFetching:!1,isDeletingTable:!1};case o.databaseConstants.UPDATE_TABLE_REQUEST:return{...t,isFetching:!0};case o.databaseConstants.UPDATE_TABLE_SUCCESS:return{...t,data:{...t.data,tables:e.payload},isFetching:!1};case o.databaseConstants.UPDATE_TABLE_FAILURE:return{...t,isFetching:!1};case o.databaseConstants.DELETE_ROW_REQUEST:return{...t,isDeletingRow:!0};case o.databaseConstants.DELETE_ROW_SUCCESS:return{...t,isDeletingRow:!1,data:{...t.data,tables:e.payload}};case o.databaseConstants.DELETE_ROW_FAILURE:return{...t,isDeletingRow:!1};case o.databaseConstants.CREATE_ROW_REQUEST:return{...t,isFetching:!0,isAddingRow:!0};case o.databaseConstants.CREATE_ROW_SUCCESS:return{...t,isAddingRow:!1,data:{...t.data,tables:e.payload}};case o.databaseConstants.CREATE_ROW_FAILURE:return{...t,isFetching:!1,isAddingRow:!1};case o.databaseConstants.UPDATE_ROW_REQUEST:return{...t,isFetching:!0,isUpdatingRow:!0};case o.databaseConstants.UPDATE_ROW_SUCCESS:return{...t,isUpdatingRow:!1,data:{...t.data,tables:e.payload}};case o.databaseConstants.UPDATE_ROW_FAILURE:return{...t,isFetching:!1,isUpdatingRow:!1};case o.databaseConstants.UPDATE_FIELDS_REQUEST:return{...t,isFetching:!0,isUpdatingFields:!0};case o.databaseConstants.UPDATE_FIELDS_SUCCESS:return{...t,isUpdatingFields:!1,data:{...t.data,tables:e.payload},isFetching:!1};case o.databaseConstants.UPDATE_FIELDS_FAILURE:return{...t,isFetching:!1,isUpdatingFields:!1};case o.databaseConstants.RESET_DB_STATE:return{...t,currentActiveTable:"",data:{tables:[]}};case o.databaseConstants.OVERVIEW_DATA:return{...t,overviewData:e.payload};case o.databaseConstants.TABLE_DETAILS:return{...t,tableDetails:e.payload};default:return t}}},5558:function(t,e,n){"use strict";n.r(e),n.d(e,{admin:function(){return s}});var o=n(5217),r=n(4966),a=n(1669),i=n(6731);const s=(0,o.UY)({notifications:r.notifications,siteProfile:a.siteProfile,userList:i.userList})},4966:function(t,e,n){"use strict";n.r(e),n.d(e,{notifications:function(){return a}});var o=n(3902);const r={isFetchingNotifications:!1,isReadingNotification:!1,data:[],totalNotificationCount:"",count:0};function a(t=r,e){switch(e.type){case o.notificationsConstants.REQUEST_NOTIFICATIONS:return{...t,isFetchingNotifications:!0};case o.notificationsConstants.SUCCESS_NOTIFICATIONS:return{...t,isFetchingNotifications:!1,data:[...t.data,...e.payload],totalNotificationCount:e.payload.count,count:t.count+e.payload.length};case o.notificationsConstants.FAILURE_NOTIFICATIONS:return{...t,isFetchingNotifications:!1};case o.notificationsConstants.REQUEST_READ_NOTIFICATION:return{...t,isReadingNotification:!0};case o.notificationsConstants.SUCCESS_READ_NOTIFICATION:{const n=t.data.map(((n,o)=>n._id===e.payload?(t.data[o].read=!0,t.data[o]):t.data[o]));return{...t,data:n,isReadingNotification:!1}}case o.notificationsConstants.FAILURE_READ_NOTIFICATION:return{...t,isReadingNotification:!1};case o.notificationsConstants.REQUEST_UNREAD_NOTIFICATION:return{...t,isReadingNotification:!0};case o.notificationsConstants.SUCCESS_UNREAD_NOTIFICATION:{const n=t.data.map(((n,o)=>n._id===e.payload?(t.data[o].read=!1,t.data[o]):t.data[o]));return{...t,data:n,isReadingNotification:!1}}case o.notificationsConstants.FAILURE_UNREAD_NOTIFICATION:return{...t,isReadingNotification:!1};case o.notificationsConstants.REQUEST_READ_ALL_NOTIFICATIONS:return{...t,isReadingNotification:!0};case o.notificationsConstants.SUCCESS_READ_ALL_NOTIFICATIONS:{const e=t.data.map(((e,n)=>(t.data[n].read=!0,t.data[n])));return{...t,data:e,isReadingNotification:!1}}case o.notificationsConstants.FAILURE_READ_ALL_NOTIFICATIONS:return{...t,isReadingNotification:!1};case o.notificationsConstants.CLEAR_NOTIFICATION_LIST:return r;default:return t}}},1669:function(t,e,n){"use strict";n.r(e),n.d(e,{siteProfile:function(){return a}});var o=n(5663);const r={tempFieldForLayout:"heroTwo",isFetching:!1,isFetchingComponents:!1,isUpdating:!1,layoutsInitialized:!1,componentsInitialized:!1,mismatchActionRequired:!1,gridLayout:{cols:{lg:20,md:16,sm:8},breakpoints:{lg:1200,md:768,sm:479},margin:[0,0],containerPadding:[0,0],rowHeight:30},data:{logo:{horizontal:"",round:""},layouts:{},plans:{free:{},premium:{}},components:[],view:"web",staticMedia:[],currentUpdatedImage:[],selectedData:{url:"",compId:""},blueprint:{},recentlyremovedComponentId:"",tourData:{initialTour:!1,secondTour:!1,thirdTour:!1,fourthTour:!1},order:""},cacheClear:{},isUpdatingProps:!1,isUpdatingBluePrint:!1,isUpdatingLayout:!1,isDeletingComponent:!1,isCustomizing:!1,custom:{},isFetchingCategory:!1,tableHeaders:{},Pagedata:{},categorydata:{},isUploadingImage:!1,isFetchingCache:!1,isUpdatingPlugins:!1,isRemovingPlugins:!1,isAddingPlugins:!1};function a(t=r,e){switch(e.type){case o.siteProfileConstants.REQUEST_ADD_PLUGINS:return{...t,isAddingPlugins:!0};case o.siteProfileConstants.SUCCESS_ADD_PLUGINS:return{...t,isAddingPlugins:!1,data:{...t.data,plugins:e.payload}};case o.siteProfileConstants.FAILURE_ADD_PLUGINS:return{...t,isAddingPlugins:!1};case o.siteProfileConstants.REQUEST_UPDATE_PLUGINS:return{...t,isUpdatingPlugins:!0};case o.siteProfileConstants.SUCCESS_UPDATE_PLUGINS:return{...t,isUpdatingPlugins:!1,data:{...t.data,plugins:e.payload}};case o.siteProfileConstants.FAILURE_UPDATE_PLUGINS:return{...t,isUpdatingPlugins:!1};case o.siteProfileConstants.REQUEST_REMOVE_PLUGINS:return{...t,isRemovingPlugins:!0};case o.siteProfileConstants.SUCCESS_REMOVE_PLUGINS:return{...t,isRemovingPlugins:!1,data:{...t.data,plugins:e.payload}};case o.siteProfileConstants.FAILURE_REMOVE_PLUGINS:return{...t,isRemovingPlugins:!1};case o.siteProfileConstants.UPDATE_COMPONENT_PROPS_DONE:return{...t};case o.siteProfileConstants.REQUEST_FETCH:return{...t,isFetching:!0,componentsInitialized:!1};case o.siteProfileConstants.SUCCESS_FETCH:return{...t,data:{...t.data,...e.payload},tableHeaders:e.payload.selectedTableHeaders?e.payload.selectedTableHeaders:t.tableHeaders,isFetching:!1,layoutsInitialized:!0,componentsInitialized:!0};case o.siteProfileConstants.FAILURE_FETCH:return{...t,isFetching:!1};case o.siteProfileConstants.STORE_IMAGE_COMP_ID_AND_URL:return{...t,data:{...t.data,selectedData:e.payload}};case o.siteProfileConstants.REQUEST_SAVE_CROPPED_IMAGE:return{...t,isUploadingImage:!0};case o.siteProfileConstants.SUCCESS_SAVE_CROPPED_IMAGE:return{...t,isUploadingImage:!1,croppedImageProps:e.payload};case o.siteProfileConstants.FAILURE_SAVE_CROPPED_IMAGE:return{...t,isUploadingImage:!1};case o.siteProfileConstants.REQUEST_UPDATE:return{...t,isUpdating:!0,...e.payload};case o.siteProfileConstants.SUCCESS_UPDATE:return{...t,data:{...t.data,...e.payload},isUpdating:!1};case o.siteProfileConstants.FAILURE_UPDATE:return{...t,isUpdating:!1};case o.siteProfileConstants.LAYOUT_MISMATCH:return{...t,mismatchActionRequired:!0};case o.siteProfileConstants.LAYOUT_MISMATCH_RESOLVED:return{...t,mismatchActionRequired:!1};case o.siteProfileConstants.REQUEST_CUSTOMIZE_CONTENT:return{...t,isCustomizing:!0};case o.siteProfileConstants.SUCCESS_CUSTOMIZE_CONTENT:{const n=t.data.components.map((t=>t.id===e.payload.id?{...t,html:e.payload.html}:t));return{...t,isCustomizing:!1,data:{...t.data,components:0===t.data.components.length?[...e.payload]:n}}}case o.siteProfileConstants.CHANGE_VIEW:return{...t,data:{...t.data,view:e.payload}};case o.siteProfileConstants.CHANGE_ZINDEX:return{...t,zIndex:{...t.zIndex,...e.payload}};case o.siteProfileConstants.REQUEST_FETCH_PAGE_LIST:return{...t,isShowing:!0};case o.siteProfileConstants.SUCCESS_FETCH_PAGE_LIST:return{...t,Pagedata:e.payload,isShowing:!1};case o.siteProfileConstants.FAILURE_FETCH_PAGE_LIST:return{...t,isShowing:!1};case o.siteProfileConstants.REQUEST_FETCH_CATEGORY_LIST:return{...t,isFetchingCategory:!0};case o.siteProfileConstants.SUCCESS_FETCH_CATEGORY_LIST:return{...t,categorydata:e.payload,isFetchingCategory:!1};case o.siteProfileConstants.FAILURE_FETCH_CATEGORY_LIST:return{...t,isFetchingCategory:!1};case o.siteProfileConstants.REQUEST_ADD_COMPONENT:return{...t};case o.siteProfileConstants.SUCCESS_ADD_COMPONENT:return{...t,data:{...t.data,components:e.payload}};case o.siteProfileConstants.FAILURE_ADD_COMPONENT:return{...t};case o.siteProfileConstants.REQUEST_CLEAR_CACHE:return{...t,isFetchingCache:!0};case o.siteProfileConstants.SUCCESS_CLEAR_CACHE:return{...t,cacheClear:e.payload,isFetchingCache:!1};case o.siteProfileConstants.FAILURE_CLEAR_CACHE:return{...t,isFetchingCache:!1};default:return t}}},6731:function(t,e,n){"use strict";n.r(e),n.d(e,{userList:function(){return a}});var o=n(3902);const r={isUpdating:!1,isUpdatingStory:!1,isFetching:!1,isDeleting:!1,isRestoring:!1,data:{},TotalCount:"",count:0,searchText:"",isSearching:!1,searchResults:{data:{},count:0},contentCheck:{},refreshRequested:!1};function a(t=r,e){switch(e.type){case o.userListConstants.REQUEST_USER_LIST:return{...t,isFetching:!0,refreshRequested:!1};case o.userListConstants.SUCCESS_USER_LIST:return{...t,data:e.payload.userData,isFetching:!1,TotalCount:e.payload.usersCount,count:t.count+Object.keys(e.payload).length};case o.userListConstants.FAILURE_USER_LIST:return{...t,isFetching:!1};case o.userListConstants.REQUEST_UPDATE_USER:return{...t,isUpdating:!0};case o.userListConstants.SUCCESS_UPDATE_USER:{let n;return Object.keys(t.data).map((o=>(n=o===e.payload._id?{...n,[o]:e.payload}:{...n,[o]:t.data[o]},null))),{...t,data:n,isUpdating:!1,contentCheck:e.payload}}case o.userListConstants.FAILURE_UPDATE_USER:return{...t,isUpdating:!1};case o.userListConstants.REFRESH_REQUESTED:return{...t,refreshRequested:!0};case o.userListConstants.SET_SEARCH_TEXT:return{...t,searchText:e.payload};case o.userListConstants.CLEAR_SEARCH_RESULTS:return{...t,searchResults:{data:{},count:0},searchText:""};case o.userListConstants.SEARCH_REQUEST:return{...t,isSearching:!0};case o.userListConstants.SEARCH_SUCCESS:return{...t,isSearching:!1,searchResults:{...t.searchResults,data:e.payload,count:t.searchResults.count+Object.keys(e.payload).length}};case o.userListConstants.SEARCH_FAILURE:return{...t,isSearching:!1};case o.userListConstants.REQUEST_DELETE_USER:return{...t,isDeleting:!0};case o.userListConstants.SUCCESS_DELETE_USER:{const n={...t.data[e.payload],isListed:!1};return{...t,data:{...t.data,[e.payload]:n},isDeleting:!1}}case o.userListConstants.FAILURE_DELETE_USER:return{...t,...e.payload,isDeleting:!1};case o.userListConstants.REQUEST_RESTORE_USER:return{...t,isRestoring:!0};case o.userListConstants.SUCCESS_RESTORE_USER:{let n={...t.data[e.payload],isListed:!0};return{...t,data:{...t.data,[e.payload]:n},isRestoring:!1}}case o.userListConstants.FAILURE_RESTORE_USER:return{...t,isRestoring:!1};case o.userListConstants.REQUEST_EDIT_STORY_ITEM:return{...t,isUpdatingStory:!0};case o.userListConstants.SUCCESS_EDIT_STORY_ITEM:{let n;return Object.keys(t.data).map((o=>(t.data[o].stories.map((r=>(r._id===e.payload._id&&(r.showOnMainPage=e.payload.showOnMainPage),n={...n,[o]:t.data[o]},null))),null))),{...t,isUpdatingStory:!1,data:n}}case o.userListConstants.FAILURE_EDIT_STORY_ITEM:return{...t,isUpdatingStory:!1};case o.userListConstants.CLEAR_USER_DATA:return{...t,contentCheck:{}};case o.userListConstants.FETCH_TEMPLATE_USER:return{...t,templateUser:e.payload};case o.userListConstants.REQUEST_PROJECT_LIST:return{...t,isFetching:!0,refreshRequested:!1};case o.userListConstants.SUCCESS_PROJECT_LIST:return{...t,data:e.payload.projectData,isFetching:!1,TotalCount:e.payload.projectCount,count:t.count+Object.keys(e.payload).length};case o.userListConstants.FAILURE_PROJECT_LIST:return{...t,isFetching:!1};case o.userListConstants.REQUEST_DOMAIN_LIST:return{...t,isFetching:!0,refreshRequested:!1};case o.userListConstants.SUCCESS_DOMAIN_LIST:return{...t,data:e.payload.domainData,isFetching:!1,TotalCount:e.payload.domainCount,count:t.count+Object.keys(e.payload).length};case o.userListConstants.FAILURE_DOMAIN_LIST:return{...t,isFetching:!1};case o.userListConstants.REQUEST_SUBDOMAIN_LIST:return{...t,isFetching:!0,refreshRequested:!1};case o.userListConstants.SUCCESS_SUBDOMAIN_LIST:return{...t,data:e.payload.subdomainData,isFetching:!1,TotalCount:e.payload.subdomainCount,count:t.count+Object.keys(e.payload).length};case o.userListConstants.FAILURE_SUBDOMAIN_LIST:return{...t,isFetching:!1};default:return t}}},9262:function(t,e,n){"use strict";n.r(e),n.d(e,{databaseService:function(){return s}});var o=n(5017),r=n(9972),a=n(9805);const i=(t,e={})=>{const n=new URL(document.location.href).searchParams.get("apiType"),r=new URL(document.location.href).searchParams.get("user");return(0,a.default)(`${(0,o.returnAPI)()}${t}`,{returnAbsoluteUrl:!0,queryParams:{...e,apiType:n,user:r}})},s={listAllTables:function(){return Promise.resolve([{id:0,name:"First Table",order:1231230,database_id:0},{id:1,name:"Second Table",order:1231231,database_id:0},{id:2,name:"Third Table",order:1231232,database_id:0},{id:3,name:"Fourth Table",order:1231233,database_id:0},{id:4,name:"Fifth Table",order:1231234,database_id:0}])},createTable:function(t){const{name:e,description:n,fields:o,project:a,databaseId:s}=t,u={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({name:e,description:n,fields:o})};let l=i(`guest/database/${a}/tables/database/${s}`);return fetch(l,u).then(c).then((t=>t.data))},createDatabase:function(t){const{project:e}=t,n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=i(`guest/database/${e}`);return fetch(o,n).then(c).then((t=>t.data))},initialDatabaseFetch:function(t){const{project:e,databaseId:n}=t,o={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=i(`guest/database/${e}/tables/database/${n}`);return fetch(a,o).then(c).then((t=>t.data)).catch((t=>{console.error("The user doesn't have acces to the database",t)}))},getTable:function(t){const{project:e,tableId:n,options:o}=t,{search:a,page:s,size:u}=o,l={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let p=`guest/database/${e}/tables/database/table/${n}`;const d=new URLSearchParams;a&&d.append("search",a);s&&d.append("page",s);u&&d.append("size",u);const f=d.toString();p=f?`${p}?${f}`:p;let E=i(p);return fetch(E,l).then(c).then((t=>t.data))},createRow:function(t){const{tableId:e,project:n,rowData:o}=t,a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(o)};let s=i(`guest/database/${n}/database/rows/table/${e}`);return fetch(s,a).then(c).then((t=>t.data))},updateRow:function(t){const{tableId:e,project:n,rowData:o,rowId:a}=t,s={method:"PATCH",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(o)};let u=i(`guest/database/${n}/database/rows/table/${e}/${a}`);return fetch(u,s).then(c).then((t=>t.data))},deleteRow:function(t){const{tableId:e,project:n,rowId:o}=t,a={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let s=i(`guest/database/${n}/database/rows/table/${e}/${o}`);return fetch(s,a).then(c).then((t=>t.data))},deleteRows:function(t){const{tableId:e,project:n,rowIds:o}=t,a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({row_ids:o})};let s=i(`guest/database/${n}/database/rows/table/${e}/batch-delete`);return fetch(s,a).then(c).then((t=>t.data))},updateFields:function(t){const{tableId:e,project:n,fields:o}=t,a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(o)};let s=i(`guest/database/${n}/database/fields/table/${e}`);return fetch(s,a).then(c).then((t=>t.data))},deleteTable:function(t){const{tableId:e,project:n}=t,o={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=i(`guest/database/${n}/database/tables/${e}/`);return fetch(a,o).then(c).then((t=>t.data))},createPublicRow:function(t){const{tableId:e,functionId:n,rowData:o,databaseId:a,project:s}=t,u={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({project:s,...o})};let l=i(`guest/function/${n}/database/${a}/rows/table/${e}`);return fetch(l,u).then(c).then((t=>t.data))},submitFormData:function(t){const{formData:e,formId:n,project:o,context:a,order:s,urlRedirect:u,orderId:l}=t,p={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({project:o,formData:e,context:a,order:s,urlRedirect:u,orderId:l})};let d=i(`guest/database/${o}/database/${n}`);return fetch(d,p).then(c).then((t=>(console.log("testingjog0",t),{identifier:t.identifier,...t.data})))},addProduct:function(t,e){const{project:n}=e,o={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(t)};let a=i(`guest/database/${n}/database/product`);return fetch(a,o).then(c).then((t=>t.data))},sendWebhooksToDatabase:function(t,e,n){const o={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(n)};let a=i(`guest/database/${t}/database/tables/${e}/webhooks`);return fetch(a,o).then(c).then((t=>(console.log(t,"res"),t.data)))},exportTable:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=i(`guest/database/${t}/database/tables/${e}/export`);return fetch(o,n).then(c).then((t=>(console.log(t,"res from export table"),t)))},downloadTable:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}},o=i(`guest/database/${t}/database/tables/${e}/download`);return fetch(o,n).then((t=>{if(!t.ok)throw new Error("Failed to download the table");return t.blob()})).catch((t=>{throw console.error("Error downloading table:",t),t}))},testWebhookEndpoint:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=i(`guest/database/${t}/database/tables/${e}/test/webhook`);return fetch(o,n).then(c).then((t=>(console.log(t,"res from test webhook"),t)))}};function c(t){return t.json().then((e=>{if(!t.ok){const n=e.errorMessage||e.message||t.statusText;throw new Error(n)}return e})).catch((e=>{throw 429===t.status?new Error("Too Many Requests"):new Error(e.message||"Something went wrong")}))}},3655:function(t,e,n){"use strict";n.r(e),n.d(e,{userProfileService:function(){return o.userProfileService},notificationsService:function(){return r.notificationsService},siteProfileService:function(){return a.siteProfileService},orderService:function(){return i.orderService},userListService:function(){return s.userListService}});var o=n(3474),r=n(3558),a=n(1096),i=n(7380),s=n(3884)},3558:function(t,e,n){"use strict";n.r(e),n.d(e,{notificationsService:function(){return a}});var o=n(5017),r=n(9972);const a={fetchNotifications:function(t){(0,r.getToken)();(0,o.returnAPI)(),(0,r.getUsername)(),t.offset,t.limit},readNotification:function(t){(0,r.getToken)();(0,o.returnAPI)(),(0,r.getUsername)()},unreadNotification:function(t){(0,r.getToken)();(0,o.returnAPI)(),(0,r.getUsername)()},markNotificationsAsRead:function(t){(0,r.getToken)();(0,o.returnAPI)(),(0,r.getUsername)()}}},7380:function(t,e,n){"use strict";n.r(e),n.d(e,{orderService:function(){return a}});var o=n(5017),r=n(9972);const a={createOrder:function(t,e,n){t.type=n;const a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(t)};let s=`${o.default.storylensioUrl}order/${e.user.data._id+"/"+e.common.data.uniqueId}`;return fetch(s,a).then(i).then((t=>t.data))},verifyOrder:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(t)};let a=`${o.default.storylensioUrl}order/${e.user.data._id+"/"+e.common.data.uniqueId}/verify`;return fetch(a,n).then(i).then((t=>t.data))},placeOrder:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(e)},a=`${(0,o.returnAPI)()}order/${t}`;return fetch(a,n).then(i).then((t=>t))},createOrderLink:function(t,e,n,a){const s={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({plan:t,period:e,project:n})},c=`${(0,o.returnAPI)()}order/${a}`;return fetch(c,s).then(i).then((t=>t.data))}};function i(t){return t.json().then((e=>{const n=e;if(!t.ok){const e=n&&n.errorMessage||n&&n.message||t.statusText;return Promise.reject(e)}return n}))}},1096:function(t,e,n){"use strict";n.r(e),n.d(e,{siteProfileService:function(){return a}});var o=n(5017),r=n(9972);const a={getSiteProfileDetails:function(){const t={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let e=`${(0,o.returnAPI)()}site-profile`;return fetch(e,t).then(i).then((t=>t.data))},setSiteProfileDetails:function(t){const e={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(t)};let n=`${(0,o.returnAPI)()}admin/site-profile`;return fetch(n,e).then(i).then((t=>t.data))},saveLayoutToServer:function(t){const e={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(t)};let n=`${(0,o.returnAPI)()}admin/site-profile`;return fetch(n,e).then(i).then((t=>t.data.layouts))},getPageListDetails:function(){const t={method:"GET",headers:{"Content-Type":"application.json","x-access-token":(0,r.getToken)()}};let e=`${(0,o.returnAPI)()}admin/site-profile/page-list`;return fetch(e,t).then(i).then((t=>t.data))},getCategoryListDetails:function(){const t={method:"GET",headers:{"Content-Type":"application.json","x-access-token":(0,r.getToken)()}};let e=`${(0,o.returnAPI)()}admin/site-profile/category-list`;return fetch(e,t).then(i).then((t=>t.data))},storeComponents:function(t){const e={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(t)};let n=`${(0,o.returnAPI)()}admin/site-profile`;return fetch(n,e).then(i).then((t=>t.data.components))},uploadCroppedImage:function(t){const e={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({staticMedia:t})};let n=`${(0,o.returnAPI)()}admin/site-profile`;return fetch(n,e).then(i).then((t=>t.data.staticMedia))},cacheClear:function(){const t={method:"GET",headers:{"Content-Type":"application.json","x-access-token":(0,r.getToken)()}};let e=`${(0,o.returnAPI)()}admin/cache/clear`;return fetch(e,t).then(i).then((t=>t))},addPlugins:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({plugins:t})};let n=`${(0,o.returnAPI)()}admin/site-profile/add-plugin`;return fetch(n,e).then(i).then((t=>t.data.plugins))},updatePlugins:function(t){const e={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({plugins:t})};let n=`${(0,o.returnAPI)()}admin/site-profile/update-plugin`;return fetch(n,e).then(i).then((t=>t.data.plugins))},removePlugins:function(t){const e={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({plugins:t})};let n=`${(0,o.returnAPI)()}admin/site-profile/delete-plugin`;return fetch(n,e).then(i).then((t=>t.data.plugins))}};function i(t){return t.json().then((e=>{const n=e;if(!t.ok){const e=n&&n.errorMessage||n&&n.message||t.statusText;return Promise.reject(e)}return n}))}},3884:function(t,e,n){"use strict";n.r(e),n.d(e,{userListService:function(){return i}});var o=n(5017),r=n(9972),a=n(1717);const i={fetchUserList:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=`${(0,o.returnAPI)()}admin/user/list?offset=${t.offset}&limit=${t.limit}&sortColumn=${t.sortColumn}&sortType=${t.sortType}&apiType=${t.apiType}`;return fetch(n,e).then(s).then((t=>({userData:t.data,usersCount:t.usersCount})))},searchUser:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=`${(0,o.returnAPI)()}admin/user/search?q=${t}&offset=${e.offset}&limit=${e.limit}&sortColumn=${e.sortColumn}&sortType=${e.sortType}`;return fetch(a,n).then(s).then((t=>t.data))},deleteUser:function(t){const e={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=`${(0,o.returnAPI)()}user/${t}`;return fetch(n,e).then(s).then((t=>t))},restoreUser:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=`${(0,o.returnAPI)()}user/${t}/restore`;return fetch(n,e).then(s).then((t=>t.data))},updateUser:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(e)};let a=`${(0,o.returnAPI)()}admin/user/${t}`;return fetch(a,n).then(s).then((t=>t.data))},editStory:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(e)};let a=`${(0,o.returnAPI)()}story/${t}/`;return fetch(a,n).then(s).then((t=>t.data))},userRegister:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)()},body:JSON.stringify(t)};let n=`${(0,o.returnAPI)()}admin/user/register`;return fetch(n,e).then(s).then((t=>t.data))},getTemplateUser:function(){const t={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let e=`${(0,o.returnAPI)()}admin/user/template-user`;return fetch(e,t).then(s).then((t=>({data:t.data})))},fetchProjectList:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}},n={endpoint:`${(0,o.returnAPI)()}admin/project/list`,parameters:Object.keys(t).map((e=>({key:e,value:t[e]})))};let i=(0,a.createUrl)(n);return fetch(i,e).then(s).then((t=>({projectData:t.data,projectCount:t.projectsCount})))},searchProject:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=`${(0,o.returnAPI)()}admin/project/search?q=${t}&offset=${e.offset}&limit=${e.limit}&sortColumn=${e.sortColumn}&sortType=${e.sortType}&apiType=${e.apiType}&searchType=project`;return fetch(a,n).then(s).then((t=>t.data))},searchSubdomain:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=`${(0,o.returnAPI)()}admin/project/search?q=${t}&offset=${e.offset}&limit=${e.limit}&sortColumn=${e.sortColumn}&sortType=${e.sortType}&apiType=${e.apiType}&searchType=subdomain`;return fetch(a,n).then(s).then((t=>t.data))},fetchDomainList:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=`${(0,o.returnAPI)()}admin/domain/list?offset=${t.offset}&limit=${t.limit}&sortColumn=${t.sortColumn}&sortType=${t.sortType}&apiType=${t.apiType}`;return fetch(n,e).then(s).then((t=>({domainData:t.data,domainCount:t.domainsCount})))},fetchSubdomainList:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=`${(0,o.returnAPI)()}admin/subdomain/list?offset=${t.offset}&limit=${t.limit}&sortColumn=${t.sortColumn}&sortType=${t.sortType}&apiType=${t.apiType}`;return fetch(n,e).then(s).then((t=>({subdomainData:t.data,subdomainCount:t.subdomainsCount})))},assignProjectLicense:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({project:t,order:e})};let a=`${(0,o.returnAPI)()}admin/project/assign-license`;return fetch(a,n).then(s).then((t=>({data:t.data})))},validateDomain:function(t,e){console.log(t,e,"testingkit000");const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({project:t,domain:e})};let a=`${(0,o.returnAPI)()}admin/project/validate-domain`;return fetch(a,n).then(s).then((t=>({data:t.data})))},unpublishSite:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({project:t,domain:e})};let a=`${(0,o.returnAPI)()}admin/project/unpublish-site`;return fetch(a,n).then(s).then((t=>({data:t.data})))}};function s(t){return t.json().then((e=>{const n=e;if(!t.ok){const e=n&&n.errorMessage||n&&n.message||t.statusText;return Promise.reject(e)}return n}))}},3474:function(t,e,n){"use strict";n.r(e),n.d(e,{userProfileService:function(){return a}});var o=n(5017),r=n(9972);const a={fetchUserProfileDetails:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=`${(0,o.returnAPI)()}user/${t}/public/`;return fetch(n,e).then(i).then((t=>t.data))},postUserProfileDetails:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)()},body:JSON.stringify(e)};let a=`${(0,o.returnAPI)()}user/${t}/`;return fetch(a,n).then(i).then((t=>t.data?t.data:t.user))}};function i(t){return t.json().then((e=>{const n=e;if(!t.ok){const e=n&&n.errorMessage||n&&n.message||t.statusText;return Promise.reject(e)}return n}))}},5017:function(t,e,n){"use strict";n.r(e),n.d(e,{returnAPI:function(){return d},returnAPIForSuperUser:function(){return _},returnAIAPI:function(){return E},returnCacheAPI:function(){return f},returnReactAppVersionOrCommit:function(){return m}});var o=n(8908),r=n.n(o),a=n(4155);const i={s3:{BUCKET:"YOUR_DEV_S3_UPLOADS_BUCKET_NAME"},storylensioUrl:"https://beta-api.codedesign.app/",aiApiUrl:"https://production-api.codedesign.app/",apiUrl:"https://production-api.codedesign.app/",cloudflareApiUrl:"https://production-api.codedesign.ai/",frontendUrl:"http://localhost:3000/",url:"http://localhost:3000",cloudinaryApiUrl:"https://res.cloudinary.com/drihmlyza",CLOUDINARY_UPLOAD_PRESET:"d2h7au2r",ClOUD_NAME:"drihmlyza",CLOUDINARY_MAIN_DIRECTORY:"storylens-dev",CLOUDINARY_UPLOAD_URL:"https://api.cloudinary.com/v1_1/drihmlyza/image/upload",cache:!0,env:"development",stripePublishableKey:"pk_test_51L29TCBN6KZ8dA5BKkMaA5qKA4aDSSQ0lEAFikYWJ3OCZYujJuy7OmBoBSptMDmXi8ouoKM8K1dum9ieBDwZ3XD600l0VfNqTM"},s={...i,apiUrl:"https://beta-api.codedesign.app/",aiApiUrl:"https://beta-api.codedesign.app/",frontendUrl:"https://staging-production-jqesv.codedesign.app/"},c={s3:{BUCKET:"YOUR_DEV_S3_UPLOADS_BUCKET_NAME"},aiApiUrl:"https://ai-api.codedesign.ai/",apiUrl:"http://localhost:3001/",url:"http://localhost:3000",storylensioUrl:"http://localhost:3003/",cloudinaryApiUrl:"https://res.cloudinary.com/lensbird",CLOUDINARY_UPLOAD_PRESET:"tiwecp6e",ClOUD_NAME:"lensbird",CLOUDINARY_MAIN_DIRECTORY:"storylens-dev",CLOUDINARY_UPLOAD_URL:"https://api.cloudinary.com/v1_1/lensbird/image/upload",cache:!1,env:"local"},u={s3:{BUCKET:"YOUR_PROD_S3_UPLOADS_BUCKET_NAME"},aiApiUrl:"https://ai-api.codedesign.ai/",cloudflareApiUrl:"https://production-api.codedesign.ai/",apiUrl:"https://production-api.codedesign.ai/",frontendUrl:"https://dev.codedesign.ai/",url:"https://codedesign.ai",storylensioUrl:"https://production-api.codedesign.ai/",cloudinaryApiUrl:"https://res.cloudinary.com/drihmlyza",CLOUDINARY_UPLOAD_PRESET:"d2h7au2r",ClOUD_NAME:"drihmlyza",CLOUDINARY_MAIN_DIRECTORY:"storylens-dev",CLOUDINARY_UPLOAD_URL:"https://api.cloudinary.com/v1_1/drihmlyza/image/upload",cache:!0,env:"production",stripePublishableKey:"pk_live_51L29TCBN6KZ8dA5BVY4t7Raf9OjLc2bmw6c7YjgHeQumZPKKmoPhDrQ1gNxHrBaj6Z6MAug7dZPoPmDnNyNq2Fxl00hccK8bd3"},l=a.env.REACT_APP_STAGE?.trim()||"production"?.trim(),p=l&&"production"===l?u:l&&"local"===l?c:l&&"test"===l?s:i;function d(){return p.apiUrl}function f(){return p.cloudflareApiUrl}function E(){return p.aiApiUrl}function m(){const t=r().location.href.includes("https://dev.codedesign.ai/"),e=t?`App Version: ${a.env.REACT_APP_VERSION}`:`Commit ID: ${a.env.REACT_APP_COMMIT_ID}`;return r().appVersionOrCommit=t?a.env.REACT_APP_VERSION:a.env.REACT_APP_COMMIT_ID,e}function _(t){return"beta"===t?i.apiUrl:"production"===t?u.apiUrl:p.apiUrl}e.default={MAX_ATTACHMENT_SIZE:5e6,...p,GOOGLE_CLIENT_ID:"781747190459-7lo9rki62sfi0kuc0p5ot3ctl7belr2o.apps.googleusercontent.com",FACEBOOK_APP_ID:"2490344927869658",GOOGLE_DEV_API_KEY:"AIzaSyCeP71ANSEQI-KwqEomT1nVIubf7IdyQnA",INTERCOM_APP_ID:"mi73h8ob",env:l}},750:function(t,e,n){"use strict";t.exports=n(1729).default,t.exports.utils=n(8697),t.exports.Responsive=n(6072).default,t.exports.Responsive.utils=n(2079),t.exports.WidthProvider=n(1488).default},2445:function(t,e,n){"use strict";t.exports=n(1729).default,t.exports.utils=n(8697),t.exports.Responsive=n(6072).default,t.exports.Responsive.utils=n(2079),t.exports.WidthProvider=n(1488).default,t.exports.calcWH=n(6955).calcWH,t.exports.getBreakpointFromWidth=n(2079).getBreakpointFromWidth},5188:function(){},6955:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return d}});var o=n(7423),r=n(4184),a=n.n(r),i=n(9590),s=n.n(i),c=n(3465),u=n.n(c),l=n(1717),p=n(4177);class d extends o.default.Component{state={resizing:null,dragging:null,className:""};createStyle(){const{dynamicProps:t,type:e}=this.props;let n,o;n={},o={};let r={x:"margin-left",y:"margin-top",x1:"margin-right",y1:"margin-bottom",w:"width",h:"height",minW:"minWidth",maxW:"maxWidth",minH:"minHeight",maxH:"maxHeight",display:"display",position:"position"},a={...this.props.layout};return"builder"===e&&(0,l.isPositionAbsolute)(a,e)&&(a.position="absolute"),a.x1||(a.x1=0),a.y1||(a.y1=0),(0,l.isPositionAbsolute)(a.position,e)&&(r.x="left",r.y="top",r.x1="right",r.y1="bottom"),Object.keys(a).map((e=>{if(Object.keys(r).includes(e)){let o=(0,l.getUnit)(a[e])||"px";n[r[e]]=(0,l.isUpdatedValueInText)(o)?o:a[e],t&&Object.keys(t).map((e=>{const o=t[e]?.[0];o&&(n[r[e]]=(0,l.sequenceExecutor)(o,p.default)())}))}})),o=u()(n),o.position=o.position||"relative",o}shouldComponentUpdate(t,e){return this.props.gridItemUpdateRequired!==t.gridItemUpdateRequired||(t.breakpoint!==this.props.breakpoint||(!s()(this.props?.children?.props?.style,t?.children?.props?.style)||(!s()(this.props.layout,t.layout)||(!(s()(this.state.resizing,e.resizing)&&s()(this.props.w,t.w)&&s()(this.props.h,t.h)&&s()(this.props.x,t.x)&&s()(this.props.y,t.y))||(t.selectedComponent===this.props.selectedComponent||t.selectedComponent===this.props.i||this.props.selectedComponent===this.props.i)&&(!s()(t.compStyles,this.props.compStyles)||(t.dragStop!==this.props.dragStop||!s()(t.children,this.props.children)))))))}componentDidMount(){this.elementRef=o.default.createRef()}render(){const{isDraggable:t,useCSSTransforms:e,transformDirection:n,layout:r={},type:i,compStyles:s,onUserClick:c,i:u,placeholder:l}=this.props,p=o.default.Children.only(this.props.children),d={...this.props.style,...p.props.style,...this.createStyle(),...s,..."fixed"===r.position&&"page"===i?{position:"fixed"}:{}};let f=o.default.cloneElement(p,{id:l?u+"-dragging":u,ref:this.elementRef,className:a()("react-grid-item",n,p.props.className,this.props.className,{static:this.props.static,resizing:Boolean(this.state.resizing),"react-draggable":t,"react-draggable-dragging":Boolean(this.state.dragging),cssTransforms:e}),style:d,onClick:t=>c&&c(t)});return o.default.createElement(o.Fragment,null,f)}}},1729:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return p}});var o=n(7423),r=n(9590),a=n.n(r),i=n(4184),s=n.n(i),c=n(8697),u=n(6955),l=n(1717);class p extends o.default.Component{static displayName="ReactGridLayout";state={isDragging:null,layout:(0,c.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.compactType(),{page:this.props.page,breakpoint:this.props.breakpoint,count:0}),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null};shouldComponentUpdate(t){return this.props.dragStop!==t.dragStop||null!==t.layout&&(this.props.dragStop,!0)}componentDidUpdate(t){try{let e;if(a()(this.props.layout,t.layout)&&this.props.compactType===t.compactType&&(0,c.childrenEqual)(t.children,this.props.children)||(e=this.props.layout),this.props.layout.length-t.layout.length===1&&this.props.children.length-t.children.length===0);else if(e){const t=(0,c.synchronizeLayoutWithChildren)(e,this.props.children,this.compactType(this.props),{page:this.props.page,breakpoint:this.props.breakpoint,count:1});this.setState({layout:t})}this.props.documentContext&&this.props.playgroundDocumentHeadFlag!==t.playgroundDocumentHeadFlag&&setTimeout((()=>{let t;t=this.props.documentContext.getElementById("placeholder-lastElement")?.offsetTop,t&&this.state.canvasHeight!==t&&this.setState({canvasHeight:t})}),1e3)}catch(e){}}compactType(t){return t||(t=this.props),!1===t.verticalCompact?null:t.compactType}processGridItem(t,e,n){const{margin:r,containerPadding:a,isDraggable:i,isResizable:s,useCSSTransforms:p,transformScale:d,transformDirection:f,draggableCancel:E,draggableHandle:m,dragStop:_,selectedComponent:h,horizontalAlign:g,onUserClick:S,documentContext:T,breakpoint:y}=this.props,{mounted:C,isDragging:b,layout:A,oldLayout:I,xYMeasurements:O}=this.state;if(!t.key)return;let R=(0,c.getLayoutItem)(I&&!n?I:A,String(t.key));if(!R)return null;let v=null;if(n){const t=T.getElementById(R.i);if(t){const{offsetTop:e,offsetLeft:n,offsetHeight:o,offsetWidth:r}=t;v={offsetTop:e,offsetLeft:n,offsetHeight:o,offsetWidth:r,node:t}}}const U=(0,l.getComponentByClientId)(R.i),{gridItemStyle:P={},noLabel:L}=U.metaProps||{},x=Boolean(!L&&!R.static&&i&&(R.isDraggable||null==R.isDraggable)),N=Boolean(!R.static&&s&&(R.isResizable||null==R.isResizable)),D=h!==R.i?[]:["s","e","se"],w={...P};return o.default.createElement(u.default,{gridItemUpdateRequired:this.props.gridItemUpdateRequired,breakpoint:y,xYMeasurements:O,extraProps:{},isDragging:b,actualElementSettings:v,documentContext:T,placeholder:n,zerothElement:0===e,selectedComponent:h,compStyles:w,layout:R,type:this.props.type,margin:r,containerPadding:a||r,cancel:E,handle:m,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:x,isResizable:N,useCSSTransforms:p&&C,transformScale:d,transformDirection:f,dragStop:_,w:R.w,h:R.h,x:R.x,y:R.y,i:R.i,minH:R.minH,minW:R.minW,maxH:R.maxH,maxW:R.maxW,static:R.static,resizeHandles:D,horizontalAlign:g,onUserClick:S},t)}render(){const{className:t,style:e,id:n="",horizontalAlign:r,dragPlaceholder:a,documentContext:i,addAColumnToCanvas:c,breakpoint:u}=this.props,{canvasHeight:l}=this.state;let p=s()("react-grid-layout",t);r&&["center","right"].includes(r)&&(p=s()(p,`column-align-${r}`)),"sl-rgl"===n&&window.requestIdleCallback((()=>{let t;t=i.getElementById("placeholder-lastElement")?.offsetTop,t&&l!==t&&this.setState({canvasHeight:t})}));const d={...e,...this.state.stoppingDrag?{opacity:0}:{opacity:1},height:"sl-rgl"===n&&"lg"===u?`${l+("/playground"===window.location.pathname?0:300)}px`:"100%"};return"sl-rgl"===n||"jsoneditor"===n?o.default.createElement("div",{id:n,className:`${p} ${"sl-rgl"===n?"builder-absolute":""}`,style:d},o.default.createElement(o.Fragment,null,o.default.createElement("div",{id:"placeholderABCD-dragging",style:{display:a?"block":"none",height:"10px",width:"10px",position:"absolute",top:a?.y,left:a?.x,background:"transparent",zIndex:10}}),o.default.Children.map(this.props.children,((t,e)=>t.key?this.processGridItem(t,e):t)),"sl-rgl"===n&&"lg"===u&&o.default.createElement("div",{id:"placeholder-lastElement",style:{display:"flex",visibility:"visible",height:"100vh",width:"100%",position:"relative",justifyContent:"center",flexDirection:"column",alignItems:"center",pointerEvents:"none",background:"#f9f9f9",opacity:this.props.dragStatus?.3:1,transition:"opacity 0.2s ease-out",...this.props.isLinkedComponentCanvas?{backgroundColor:"#afafaf"}:{},..."/playground"===window.location.pathname?{maxHeight:"0px",overflow:"hidden"}:{}}},null))):o.default.createElement(o.Fragment,null,o.default.Children.map(this.props.children,((t,e)=>t.key?this.processGridItem(t,e):t)))}}},5055:function(t,e,n){"use strict";n.r(e);var o=n(5697),r=n.n(o),a=n(7423);e.default={className:r().string,style:r().object,width:r().number,autoSize:r().bool,cols:r().number,draggableCancel:r().string,draggableHandle:r().string,compactType:r().oneOf(["vertical","horizontal"]),layout:function(t){var e=t.layout;void 0!==e&&n(8697).validateLayout(e,"layout")},margin:r().arrayOf(r().number),containerPadding:r().arrayOf(r().number),rowHeight:r().number,maxRows:r().number,isDraggable:r().bool,isResizable:r().bool,preventCollision:r().bool,useCSSTransforms:r().bool,transformScale:r().number,isDroppable:r().bool,onLayoutChange:r().func,onDragStart:r().func,onDrag:r().func,onDragStop:r().func,onResizeStart:r().func,onResize:r().func,onResizeStop:r().func,onDrop:r().func,droppingItem:r().shape({i:r().string.isRequired,w:r().number.isRequired,h:r().number.isRequired}),children:function(t,e){var n=t[e],o={};a.default.Children.forEach(n,(function(t){if(o[t.key])throw new Error('Duplicate child key "'+t.key+'" found! This will cause problems in ReactGridLayout.');o[t.key]=!0}))},innerRef:r().any}},6072:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(1729),a=n(1717);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}e.default=t=>{const{breakpoints:e,cols:n,layouts:s,onBreakpointChange:c,onLayoutChange:u,onWidthChange:l,...p}=t;let d=(0,a.mergeResponsiveLayouts)(s,t.breakpoint);return o.default.createElement(r.default,i({},p,{onLayoutChange:(e,n)=>{try{u(e,{...s,[t.breakpoint]:e},n)}catch(o){}},layout:d}))}},6550:function(){},1488:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return s}});var o=n(7423),r=n(5697),a=n.n(r);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function s(t){return class extends o.Component{static defaultProps={measureBeforeMount:!1};static propTypes={measureBeforeMount:a().bool};state={width:1280};mounted=!1;componentDidMount(){this.mounted=!0,window.addEventListener("resize",this.onWindowResize),this.onWindowResize()}componentWillUnmount(){this.mounted=!1,window.removeEventListener("resize",this.onWindowResize)}onWindowResize=()=>{if(!this.mounted)return;const t=o.default.findDOMNode(this);t instanceof HTMLElement&&this.setState({width:t.offsetWidth})};render(){const{measureBeforeMount:e,...n}=this.props;return e&&!this.mounted?o.createElement("div",{className:this.props.className,style:this.props.style}):o.createElement(t,i({},n,this.state))}}}},3236:function(){},2079:function(t,e,n){"use strict";n.r(e),n.d(e,{getBreakpointFromWidth:function(){return r},getColsFromBreakpoint:function(){return a},findOrGenerateResponsiveLayout:function(){return i},sortBreakpoints:function(){return s}});var o=n(8697);function r(t,e){const n=s(t);let o=n[0];const r=n[n.length-1];for(let a=1,i=n.length;a<i;a++){const i=n[a];(e>t[r]||e<t[i])&&(o=i)}return o}function a(t,e){if(!e[t])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+t+" is missing!");return e[t]}function i(t,e,n,r,a,i){if(t[n])return(0,o.cloneLayout)(t[n]);let c=t[r];const u=s(e),l=u.slice(u.indexOf(n));for(let o=0,s=l.length;o<s;o++){const e=l[o];if(t[e]){c=t[e];break}}return c=(0,o.cloneLayout)(c||[]),(0,o.compact)((0,o.correctBounds)(c,{cols:a}),i,a)}function s(t){return Object.keys(t).sort((function(e,n){return t[e]-t[n]}))}},8697:function(t,e,n){"use strict";n.r(e),n.d(e,{bottom:function(){return p},cloneLayout:function(){return d},cloneLayoutItem:function(){return f},childrenEqual:function(){return E},fastRGLPropsEqual:function(){return m},fastPositionEqual:function(){return _},collides:function(){return h},collidesOnYAxis:function(){return g},collidesOnXAxis:function(){return S},compact:function(){return T},resolveCompactionCollision:function(){return C},compactItem:function(){return b},correctBounds:function(){return A},modifyLayout:function(){return I},getLayoutItem:function(){return O},getFirstCollision:function(){return R},getAllCollisions:function(){return v},getStatics:function(){return U},isABlock:function(){return P},getFirstBlockCollision:function(){return x},moveElement:function(){return D},perc:function(){return w},setTransform:function(){return F},setTopLeft:function(){return M},sortLayoutItems:function(){return k},sortLayoutItemsByOffsetValues:function(){return j},arrangeInlineElements:function(){return B},sortLayoutItemsByRowCol:function(){return G},sortLayoutItemsByRowColWithFlex:function(){return z},sortLayoutItemsByColRow:function(){return H},sortLayoutItemsByColRowWithFlex:function(){return W},synchronizeLayoutWithChildren:function(){return V},validateLayout:function(){return $},autoBindHandlers:function(){return Q},noop:function(){return Y},createDragApiRef:function(){return K},insert:function(){return q},move:function(){return J},updateIthElement:function(){return X},convertToPxLogic:function(){return Z}});var o=n(9590),r=n.n(o),a=n(7423),i=n(1717),s=n(6774),c=n(3465),u=n.n(c),l=n(6160);n(7878);function p(t){let e,n=0;for(let o=0,r=t.length;o<r;o++)e=t[o].y+t[o].h,e>n&&(n=e);return n}function d(t){const e=Array(t.length);for(let n=0,o=t.length;n<o;n++)e[n]=f(t[n]);return e}function f(t){return{...t,parent:t.parent,w:t.w,h:t.h,x:t.x,y:t.y,i:t.i,minW:t.minW,maxW:t.maxW,minH:t.minH,maxH:t.maxH,moved:Boolean(t.moved),static:Boolean(t.static),isDraggable:t.isDraggable,isResizable:t.isResizable}}function E(t,e){return r()(a.default.Children.map(t,(t=>t.key)),a.default.Children.map(e,(t=>t.key)))}const m=n(3236);function _(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.width&&t.height===e.height}function h(t,e,n){const{ignoreAbsolutePosition:o,absolutePosition:r}=n||{},a=s.default.getState().customization.present.documentContext;if(("absolute"===e.position||"fixed"===e.position)&&!o)return!1;if(r&&("absolute"===t.position||"fixed"===t.position)&&!o)return!1;if(t.i===e.i)return!1;if(t===e)return!1;const i=a.getElementById(t.i),c=a.getElementById(e.i+"-dragging")||a.getElementById(e.i);if(!i||!c)return!1;const u=i.getBoundingClientRect(),l=c.getBoundingClientRect();return!!!(u.right<l.left||u.left>l.right||u.bottom<l.top||u.top>l.bottom)}function g(t,e){return!(t.x+t.w+(t.x1?t.x1:0)<=e.x)&&!(t.x>=e.x+e.w+(e.x1?e.x1:0))}function S(t,e){return!(t.y+t.h+(t.y1?t.y1:0)<=e.y)&&!(t.y>=e.y+e.h+(e.y1?e.y1:0))}function T(t,e,n,o,r,a){return t}const y={x:"w",y:"h"};function C(t,e,n,o){const r=y[o];e[o]+=1;for(let a=t.map((t=>t.i)).indexOf(e.i)+1;a<t.length;a++){const i=t[a];if(!i.static){if(i.y>e.y+e.h)break;h(e,i)&&C(t,i,n+e[r],o)}}e[o]=n}function b(t,e,n,o,r,a,i){const s="vertical"===n,c="horizontal"===n;if(isNaN(e.x)||isNaN(e.w))return e;if("lg"===i)return e;if(s)for(e.y=Math.min(p(t),e.y);e.y>0&&!R(t,e);)e.y--;else if(c)for(e.y=Math.min(p(t),e.y);e.x>0&&!R(t,e);)e.x--;let u;for(;u=R(t,e,{absolutePosition:!0});)c?C(r,e,u.x+u.w+(u.x1?u.x1:0),"x"):C(r,e,u.y+u.h+(u.y1?u.y1:0),"y"),c&&e.x+e.w+(e.x1?e.x1:0)>o&&(e.x=o-e.w-(e.x1?e.x1:0),e.y++);return e}function A(t,e){const n=U(t);for(let o=0,r=t.length;o<r;o++){const r=t[o];if(r.x+r.w+(r.x1?r.x1:0)>e.cols&&(r.x=e.cols-r.w-(r.x1?r.x1:0)),r.x<0&&(r.x=0,r.w=e.cols-r.x1),r.static)for(;R(n,r);)r.y++;else n.push(r)}return t}function I(t,e){const n=Array(t.length);for(let o=0,r=t.length;o<r;o++)e.i===t[o].i?n[o]=e:n[o]=t[o];return n}function O(t,e){for(let n=0,o=t.length;n<o;n++)if(t[n].i===e)return t[n]}function R(t,e,n){for(let o=0,r=t.length;o<r;o++)if(h(t[o],e,n))return t[o]}function v(t,e,n){return t.filter((t=>h(t,e,n)))}function U(t){return t.filter((t=>t.static))}function P(t={}){return"UI/GridLayoutChild/index.js"===t.main}const L=(t,e)=>{const{offsetTop:n,offsetLeft:o,offsetWidth:r,offsetHeight:a}=t;return{node:t,y:n,x:o,w:r,h:a,i:e.i,display:e.display||"block",position:e.position||"relative"}};function x(t,e,n){let o=n.elementsFromPoint(t,e).filter((t=>{if("grid-layout"===t.getAttribute("data-type")&&!t.id.endsWith("-dragging"))return!0}));return{immediateBlockParent:o[0],immediateBlockParents:o}}let N;function D(t,e,n,o,r,a={}){const{isDragging:c=!1,breakpoint:p,fromOutsideIframe:d=!1,xYMeasurements:f={},canvasTransform:E=1}=a;if(e.static)return t;c||(N=null);const{getState:m,dispatch:_}=s.default,h=m(),{x:g,y:S}=f;let T,y,C;e.x=n,e.y=o,e.moved=!0,t=I(t,e);const b=h.customization.present.documentContext||document;let A={};t.map((t=>{let n=b.getElementById(t.i);if(e.i===t.i){let e;e=b.getElementById(`${t.i}-dragging`),n=e||n}n&&(A[t.i]=L(n,t))}));const O=b.getElementById("overlay-labelhead-draggable");if(O&&!d){const t=b.getElementById("sl-rgl"),n=(0,i.getOffsetBetweenUnrelatedElements)(t,O,b,E);A["overlay-labelhead-draggable"]=L(O,{i:"overlay-labelhead-draggable"}),A["overlay-labelhead-draggable"].x=n.x/E,A["overlay-labelhead-draggable"].y=n.y/E,A[e.i]=A["overlay-labelhead-draggable"]}let R;A[e.i+"-viewport"]={...A[e.i]},R=d?A[e.i].node.getBoundingClientRect():A["overlay-labelhead-draggable"]?.node.getBoundingClientRect();const{y:v,x:U}=A[e.i+"-viewport"];let P,D=x(R.left+1,R.top+1,b),{immediateBlockParent:w,immediateBlockParents:F}=D,M=w?.getAttribute("id"),k=(0,i.findParentBlockNode)(A[e.i]?.node.parentNode);if(A["sl-rgl"]=L(b.getElementById("sl-rgl"),{i:"sl-rgl"}),k&&(A[k?.id]=L(k,{i:k?.id}),A[k?.id+"-viewport"]={...A[k?.id],y:(0,i.getOffsetTop)(A[k?.id].node,"sl-rgl"),x:(0,i.getOffsetLeft)(A[k?.id].node,"sl-rgl")}),M){const t=(0,i.findAllChildren)(r,e.i,[],!0).flat(1/0);let n=1;for(;M&&t.includes(M);)w=F[n],M=w?.getAttribute("id"),n+=1}if(M){const t=(0,i.findLayout)(M,r);t.lg[0]&&(A[M]=L(w,t.lg[0]))}e.parent;let B,G,z,H;if(M&&(A[M+"-viewport"]={...A[M],tag:"parent",y:(0,i.getOffsetTop)(A[M].node,"sl-rgl"),x:(0,i.getOffsetLeft)(A[M].node,"sl-rgl")}),M&&(z=A[M]?.display?.includes("flex"),H=z?(0,i.getFlexDirectionFromCSS)(r,M,p):"",z&&M===e.parent?B=!0:z&&M!==e.parent&&(G=!0)),(M||"layouts")!==e.i){const t={...e,y:A[e.i+"-viewport"].y-(M?A[M+"-viewport"]?.y:0),x:A[e.i+"-viewport"].x-(M?A[M+"-viewport"]?.x:0),dragging:!0};P=r[M||"layouts"]?.[p]||[],P&&(P.map((t=>{let e=b.getElementById(t.i);e&&(A[t.i]=L(e,t))})),P=[...P,t],A[e.i]={...A[e.i],y:t.y,x:t.x})}y=u()(t),B=d?G:B,T=j(t,A,{isFlex:B,flexDirection:H}),P&&(C=j(P,A,{isFlex:G,flexDirection:H}));let W=T;const V=C?"donor":"host";"donor"===V&&(W=C);const $=W.findIndex((t=>t.i===e.i)),Q=t.findIndex((t=>t.i===e.i));t[Q];e.i;let Y=W[$],K=function(t,e){for(let n=e-1;n>=0;n--)if("relative"===t[n].position||"static"===t[n].position||!t[n].position)return t[n].i}(W,$);let q=W[$+1]?.i,J=M;K&&A[K]&&(A[`${K}-viewport`]={...A[K],tag:"previous",y:(0,i.getOffsetTop)(A[K].node,"sl-rgl"),x:(0,i.getOffsetLeft)(A[K].node,"sl-rgl")}),q&&A[q]&&(A[`${q}-viewport`]={...A[q],tag:"next",y:(0,i.getOffsetTop)(A[q].node,"sl-rgl"),x:(0,i.getOffsetLeft)(A[q].node,"sl-rgl")});const tt=A[`${e.i}-viewport`].y,et=A[`${e.i}-viewport`].x,nt=A[`${e.i}-viewport`].w,ot=A[`${e.i}-viewport`].h,rt=K&&A[`${K}-viewport`]?A[`${K}-viewport`].y+A[`${K}-viewport`].h:J&&A[`${J}-viewport`]?A[`${J}-viewport`].y:0,at=K&&A[`${K}-viewport`]?A[`${K}-viewport`].w:J?A[`${J}-viewport`].w:0,it=K&&A[K]?A[K].h:0,st=K&&A[K]?A[K].w:0,ct=K&&A[K]?A[K].x:0,ut=A[`${K}-viewport`],lt=A[`${J}-viewport`],pt=ut&&ut.x+ut.w!==0?ut.x+ut.w:lt?lt.x:0,dt=J&&A[`${J}-viewport`].x;let ft,Et=K&&A[`${K}`]?A[`${K}`]?.display:"",mt=A[`${e.i}`]?.display;if(ft=H&&H?.startsWith("row")||"inline-block"===Et&&"inline-block"===mt?"horizontal":"vertical",!c&&!(0,i.isPositionAbsolute)(Y.position,"builder")){const t=K&&A[K];"inline-block"===Y.display&&(Y.x="inline-block"!==t?.display&&K?A[`${e.i}-viewport`].x-(dt||0):A[`${e.i}-viewport`].x-pt),"inline-block"===Y.display&&"inline-block"===t?.display?Y.y=0:Y.y=A[`${e.i}-viewport`].y-rt}if(!c&&!(0,i.isPositionAbsolute)(Y.position,"builder")){const t=A[`${e.i}-viewport`]?.x,n=A[`${e.i}-viewport`]?.y;0===t&&(Y.x=0),0===n&&(Y.y=0)}if(!c&&!(0,i.isPositionAbsolute)(Y.position,"builder")){const t=w||b.getElementById("sl-rgl"),{offsetWidth:n}=t;A[`${e.i}-viewport`]?.x+A[`${e.i}-viewport`]?.w>(A?.[`${M}-viewport`]?.x||0)+n&&(Y.x=Math.max(0,n-A[`${e.i}-viewport`]?.w))}if(!c&&w){let t=parseFloat(window.getComputedStyle(w)?.paddingLeft)||0,e=parseFloat(window.getComputedStyle(w)?.paddingTop)||0;.05===e&&(e=0),P&&(Y.x=Y.x-t),K||(Y.y=Y.y-e)}if(!c){let t={},n=g||(0,i.getUnit)(e.x);t=Z(S||(0,i.getUnit)(e.y),n,A[`${e.i}`].node?.parentNode,{top:Y.y,left:Y.x,i:Y.i,y:Y.y,action:"drag"}),Y.y=t?.top||Y.y,Y.x=t?.left||Y.x}if((!Y.position||"relative"===Y.position||"static"===Y.position)&&!c&&(Y.y=Math.max(0,Y.y)),c||(0,i.isPositionAbsolute)(Y.position,"builder")||(B||G)&&(Y.x=0,Y.y=0),c){Y.x=0,Y.y=0;const t=(t=>{let e={};return Object.values(t).map((t=>{t.tag&&(e[t.tag]=t),e.canvasTop={},e.canvasLeft={},e.canvasRight={}})),e})(A);let e=y.find((t=>t.i===Y.i));const r=15,a=d?o-l.builderConstants.HEROSECTION_PADDING_TOP:o,i=n,{w:s,h:c}=A[Y.i],u=A[`${k?.id}-viewport`]?.y||0,p=A[`${k?.id}-viewport`]?.x||0,f=A["sl-rgl"]?.w;Object.keys(t).map((n=>{const{x:o,y:l,w:d,h:E}=t[n];switch(n){case"previous":{const t=a+u-(l+E);t<=r&&t>=0?e.y=l+E-u:t<=-r&&(e.y=a);const n=i+p-(o+d);n<=r&&n>=0?e.x=o+d-p:n<=-r&&(e.x=i);break}case"parent":{const t=a+u-rt,n=E-a-c;e.y=t<=r&&t>=0?rt-u:n<=r&&n>=0?E-c:a;const l=i+p-dt,f=d-i-s;e.x=l<=r&&l>=0?o-p:f<=r&&f>=0?d-s:i;break}case"canvasTop":{const t="undefined"===typeof w&&a+u;e.y=t<=r&&t>=0?0-u:a;break}case"canvasRight":{const t="undefined"===typeof w&&f-(p+s+i),n="undefined"===typeof w&&i+p;e.x="number"===typeof t&&t<=r&&t>=0?f-p-s:"number"===typeof n&&n<=r&&n>=0?0-p:i;break}}}))}return S&&(Y.y=`${Y.y}${S}`),g&&(Y.x=`${Y.x}${g}`),!c&&d&&(Y.y="0px",T=X(Y,T,Y.i)),{fromOutsideIframe:d,previousLayout:y,currentHostSortedLayout:T,currentDonorSortedLayout:C,immediateBlockParent:A[M],immediateBlockParentId:M,layoutObjectWithPositionData:A,type:V,nextElementId:q,previousElementId:K,previousOrBaseTop:rt,previousOrBaseLeft:pt,previousHeight:it,previousWidth:st,previousLeft:ct,previousOrBaseWidth:at,baseWidth:A[`${J}-viewport`]?.w,baseHeight:A[`${J}-viewport`]?.h,baseTop:A[`${J}-viewport`]?.y,baseLeft:dt,direction:ft,previousElementId:K,baseElementId:J,currentTopViewport:tt,currentLeftViewport:et,currentWidth:nt,currentHeight:ot,currentElement:Y,isFlex:G||B}}function w(t){return 100*t+"%"}function F({top:t,left:e,width:n,height:o},r){const a=`translate(${"rtl"===r?-e:e}px,${t}px)`;return{transform:a,WebkitTransform:a,MozTransform:a,msTransform:a,OTransform:a,width:`${n}px`,height:`${o}px`,position:"absolute"}}function M({top:t,left:e,width:n,height:o},r){return{top:`${t}px`,left:`${"rtl"===r?-e:e}px`,width:`${n}px`,height:`${o}px`,position:"absolute"}}function k(t,e,n){return"horizontal"===e?H(t):G(t)}function j(t,e,n){const{isFlex:o,flexDirection:r}=n;return[].concat(t).sort((function(t,n){if(!e[t.i]?.node||!e[n.i]?.node)return 0;const{y:o,x:a,w:i,h:s,i:c,display:u}=e[t.i],{y:l,x:p,w:d,h:f,i:E,display:m}=e[n.i];return r&&r.startsWith("row")||"inline-block"===u&&"inline-block"===m?a<=d/2+p?-1:1:o<f/2+l?-1:1}))}function B(t,e){return t.map(((n,o)=>{let r;const{y:a,x:i,w:s,h:c,d:u,p:l}=e[n.i];0===o&&(r=o+1),t.map(((t,n)=>{if(o===n)return;const{y:u,x:l,w:p,h:d,d:f,p:E}=e[t.i];u>=a&&l>=i+s&&u<=a+c&&(r+=1)}))})),t}function G(t){return[].concat(t).sort((function(t,e){return t.y>e.y+e.h+2||t.y>=e.y&&t.y<=e.y+e.h-12&&t.x>e.x+e.w?1:t.y===e.y&&t.x===e.x?0:-1}))}function z(t,e){return[].concat(t).sort((function(t,e){return t.y>e.y||t.y===e.y&&t.x>e.x?1:t.y===e.y&&t.x===e.x?t.moved?-1:0:-1}))}function H(t){return[].concat(t).sort((function(t,e){return t.x>e.x||t.x===e.x&&t.y>e.y?1:-1}))}function W(t,e){return[].concat(t).sort((function(t,e){return t.x>e.x||t.x===e.x&&t.y>e.y?1:t.y===e.y&&t.x===e.x?t.moved?1:0:-1}))}function V(t,e,n,o){t=t||[];const{isDisplayFlex:r=!1,breakpoint:i,count:s}=o;if(r)return t;let c=[];return a.default.Children.forEach(e,((e,n)=>{const r=O(t,String(e.key));if(r)c[n]=f(r);else{0;const t=e.props["data-grid"]||e.props._grid;if(t)c[n]=f({...t,i:e.key});else{const{page:t,breakpoint:r}=o;let a;if(t&&t.hiddenLayouts&&t.hiddenLayouts[r]&&(a=t.hiddenLayouts[r].filter((t=>t.i===e.key))[0]),a)c[n]=f(a);else{const o=t&&t.components&&t.components[e.key]&&t.components[e.key].parent;c[n]=f({w:5,h:5,x:0,y:p(c),i:String(e.key),parent:o})}}}})),c}function $(t,e="Layout"){const n=["x","y","w","h"];if(!Array.isArray(t))throw new Error(e+" must be an array!");for(let o=0,r=t.length;o<r;o++){const r=t[o];for(let t=0;t<n.length;t++)if("number"!==typeof r[n[t]])throw new Error("ReactGridLayout: "+e+"["+o+"]."+n[t]+" must be a number!");if(r.i&&"string"!==typeof r.i)throw new Error("ReactGridLayout: "+e+"["+o+"].i must be a string!");if(void 0!==r.static&&"boolean"!==typeof r.static)throw new Error("ReactGridLayout: "+e+"["+o+"].static must be a boolean!")}}function Q(t,e){e.forEach((e=>t[e]=t[e].bind(t)))}const Y=()=>{},K=()=>({value:null}),q=(t=[],e,n)=>[...t.slice(0,e),n,...t.slice(e)],J=(t,e,n)=>{const o=Math.min(e,n),r=Math.max(e,n);return[...t.slice(0,o),...e<n?t.slice(o+1,r+1):[],t[e],...e>n?t.slice(o,r):[],...t.slice(r+1)]},X=(t,e,n)=>{const o=e.findIndex((t=>t.i===n));return o>=0&&(e[o]=t),e};function Z(t,e,n,o){const r="em"===t||"em"===e,a="rem"===t||"rem"===e,i="vh"===t||"vw"===t||"vh"===e||"vw"===e;let s,c,u,l,p,d,f=n,E={};if("%"===t||"%"===e){const t=window.getComputedStyle(f);s=parseInt(t.width);const e="drag"===o.action?t.width:t.height;c=parseInt(e)}if(i){let t=function(t){var e,n;"undefined"!=typeof t.innerWidth&&(e=t.innerWidth,n=t.innerHeight);return{viewPortWidth:e,viewPortHeight:n}}(n.ownerDocument.defaultView);u=t.viewPortWidth,l=t.viewPortHeight}if(r){const t=n.ownerDocument;p=window.getComputedStyle(t.body).getPropertyValue("font-size"),p=parseInt(p)}switch(a&&(d=window.getComputedStyle(f).getPropertyValue("font-size"),d=parseInt(d)),e){case"%":s&&"number"===typeof s&&(E.left=o.left/s*100);break;case"vw":u&&"number"===typeof u&&(E.left=o.left/u*100);break;case"vh":l&&"number"===typeof l&&(E.left=o.left/l*100);break;case"em":p&&"number"===typeof p&&(E.left=o.left/p);break;case"rem":d&&"number"===typeof d&&(E.left=o.left/d)}switch(t){case"%":c&&"number"===typeof c&&(E.top=o.top/c*100);break;case"vw":u&&"number"===typeof u&&(E.top=o.top/u*100);break;case"vh":l&&"number"===typeof l&&(E.top=o.top/l*100);break;case"em":p&&"number"===typeof p&&(E.top=o.top/p);break;case"rem":d&&"number"===typeof d&&(E.top=o.top/d)}return E}},5137:function(t,e,n){"use strict";function o(t){return t&&"object"===typeof t&&"default"in t?t.default:t}Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(5697)),a=o(n(3524)),i=o(n(9590)),s=o(n(7423)),c=o(n(6086)),u="bodyAttributes",l="htmlAttributes",p="titleAttributes",d={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},f=(Object.keys(d).map((function(t){return d[t]})),"charset"),E="cssText",m="href",_="http-equiv",h="innerHTML",g="itemprop",S="name",T="property",y="rel",C="src",b="target",A={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",O="defer",R="encodeSpecialCharacters",v="onChangeClientState",U="titleTemplate",P=Object.keys(A).reduce((function(t,e){return t[A[e]]=e,t}),{}),L=[d.NOSCRIPT,d.SCRIPT,d.STYLE],x="data-react-helmet",N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},w=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),F=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},M=function(t,e){var n={};for(var o in t)e.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n},k=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e},j=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===e?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},B=function(t){var e=V(t,d.TITLE),n=V(t,U);if(n&&e)return n.replace(/%s/g,(function(){return Array.isArray(e)?e.join(""):e}));var o=V(t,I);return e||o||void 0},G=function(t){return V(t,v)||function(){}},z=function(t,e){return e.filter((function(e){return"undefined"!==typeof e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return F({},t,e)}),{})},H=function(t,e){return e.filter((function(t){return"undefined"!==typeof t[d.BASE]})).map((function(t){return t[d.BASE]})).reverse().reduce((function(e,n){if(!e.length)for(var o=Object.keys(n),r=0;r<o.length;r++){var a=o[r].toLowerCase();if(-1!==t.indexOf(a)&&n[a])return e.concat(n)}return e}),[])},W=function(t,e,n){var o={};return n.filter((function(e){return!!Array.isArray(e[t])||("undefined"!==typeof e[t]&&K("Helmet: "+t+' should be of type "Array". Instead found type "'+N(e[t])+'"'),!1)})).map((function(e){return e[t]})).reverse().reduce((function(t,n){var r={};n.filter((function(t){for(var n=void 0,a=Object.keys(t),i=0;i<a.length;i++){var s=a[i],c=s.toLowerCase();-1===e.indexOf(c)||n===y&&"canonical"===t[n].toLowerCase()||c===y&&"stylesheet"===t[c].toLowerCase()||(n=c),-1===e.indexOf(s)||s!==h&&s!==E&&s!==g||(n=s)}if(!n||!t[n])return!1;if(t&&n in t&&"string"===typeof t[n])var u=t[n].toLowerCase();return o[n]||(o[n]={}),r[n]||(r[n]={}),!o[n][u]&&(r[n][u]=!0,!0)})).reverse().forEach((function(e){return t.push(e)}));for(var a=Object.keys(r),i=0;i<a.length;i++){var s=a[i],u=c({},o[s],r[s]);o[s]=u}return t}),[]).reverse()},V=function(t,e){for(var n=t.length-1;n>=0;n--){var o=t[n];if(o.hasOwnProperty(e))return o[e]}return null},$=function(){var t=Date.now();return function(e){var n=Date.now();n-t>16?(t=n,e(n)):setTimeout((function(){$(e)}),0)}}(),Q=window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||$,Y=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){return clearTimeout(t)},K=function(t){return console&&"function"===typeof console.warn&&console.warn(t)},q=null,J=function(t,e){var n=t.baseTag,o=t.bodyAttributes,r=t.htmlAttributes,a=t.linkTags,i=t.metaTags,s=t.noscriptTags,c=t.onChangeClientState,u=t.scriptTags,l=t.styleTags,p=t.title,f=t.titleAttributes;tt(d.BODY,o),tt(d.HTML,r),Z(p,f);var E={baseTag:et(d.BASE,n),linkTags:et(d.LINK,a),metaTags:et(d.META,i),noscriptTags:et(d.NOSCRIPT,s),scriptTags:et(d.SCRIPT,u),styleTags:et(d.STYLE,l)},m={},_={};Object.keys(E).forEach((function(t){var e=E[t],n=e.newTags,o=e.oldTags;n.length&&(m[t]=n),o.length&&(_[t]=E[t].oldTags)})),e&&e(),c(t,m,_)},X=function(t){return Array.isArray(t)?t.join(""):t},Z=function(t,e){"undefined"!==typeof t&&document.title!==t&&(document.title=X(t)),tt(d.TITLE,e)},tt=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var o=n.getAttribute(x),r=o?o.split(","):[],a=[].concat(r),i=Object.keys(e),s=0;s<i.length;s++){var c=i[s],u=e[c]||"";n.getAttribute(c)!==u&&n.setAttribute(c,u),-1===r.indexOf(c)&&r.push(c);var l=a.indexOf(c);-1!==l&&a.splice(l,1)}for(var p=a.length-1;p>=0;p--)n.removeAttribute(a[p]);r.length===a.length?n.removeAttribute(x):n.getAttribute(x)!==i.join(",")&&n.setAttribute(x,i.join(","))}},et=function(t,e){var n=document.head||document.querySelector(d.HEAD),o=n.querySelectorAll(t+"["+"data-react-helmet]"),r=Array.prototype.slice.call(o),a=[],i=void 0;return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var o in e)if(e.hasOwnProperty(o))if(o===h)n.innerHTML=e.innerHTML;else if(o===E)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var s="undefined"===typeof e[o]?"":e[o];n.setAttribute(o,s)}n.setAttribute(x,"true"),r.some((function(t,e){return i=e,n.isEqualNode(t)}))?r.splice(i,1):a.push(n)})),r.forEach((function(t){return t.parentNode.removeChild(t)})),a.forEach((function(t){return n.appendChild(t)})),{oldTags:r,newTags:a}},nt=function(t){return Object.keys(t).reduce((function(e,n){var o="undefined"!==typeof t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+o:o}),"")},ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[A[n]||n]=t[n],e}),e)},rt=function(t,e,n){switch(t){case d.TITLE:return{toComponent:function(){return function(t,e,n){var o,r=((o={key:e})[x]=!0,o),a=ot(n,r);return[s.createElement(d.TITLE,a,e)]}(0,e.title,e.titleAttributes)},toString:function(){return function(t,e,n,o){var r=nt(n),a=X(e);return r?"<"+t+' data-react-helmet="true" '+r+">"+j(a,o)+"</"+t+">":"<"+t+' data-react-helmet="true">'+j(a,o)+"</"+t+">"}(t,e.title,e.titleAttributes,n)}};case u:case l:return{toComponent:function(){return ot(e)},toString:function(){return nt(e)}};default:return{toComponent:function(){return function(t,e){return e.map((function(e,n){var o,r=((o={key:n})[x]=!0,o);return Object.keys(e).forEach((function(t){var n=A[t]||t;if(n===h||n===E){var o=e.innerHTML||e.cssText;r.dangerouslySetInnerHTML={__html:o}}else r[n]=e[t]})),s.createElement(t,r)}))}(t,e)},toString:function(){return function(t,e,n){return e.reduce((function(e,o){var r=Object.keys(o).filter((function(t){return!(t===h||t===E)})).reduce((function(t,e){var r="undefined"===typeof o[e]?e:e+'="'+j(o[e],n)+'"';return t?t+" "+r:r}),""),a=o.innerHTML||o.cssText||"",i=-1===L.indexOf(t);return e+"<"+t+' data-react-helmet="true" '+r+(i?"/>":">"+a+"</"+t+">")}),"")}(t,e,n)}}}},at=function(t){var e=t.baseTag,n=t.bodyAttributes,o=t.encode,r=t.htmlAttributes,a=t.linkTags,i=t.metaTags,s=t.noscriptTags,c=t.scriptTags,p=t.styleTags,f=t.title,E=void 0===f?"":f,m=t.titleAttributes;return{base:rt(d.BASE,e,o),bodyAttributes:rt(u,n,o),htmlAttributes:rt(l,r,o),link:rt(d.LINK,a,o),meta:rt(d.META,i,o),noscript:rt(d.NOSCRIPT,s,o),script:rt(d.SCRIPT,c,o),style:rt(d.STYLE,p,o),title:rt(d.TITLE,{title:E,titleAttributes:m},o)}},it=function(t){var e,n;return n=e=function(e){function n(){return D(this,n),k(this,e.apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,e),n.prototype.shouldComponentUpdate=function(t){return!i(this.props,t)},n.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case d.SCRIPT:case d.NOSCRIPT:return{innerHTML:e};case d.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,o=t.arrayTypeChildren,r=t.newChildProps,a=t.nestedChildren;return F({},o,((e={})[n.type]=[].concat(o[n.type]||[],[F({},r,this.mapNestedChildrenToProps(n,a))]),e))},n.prototype.mapObjectTypeChildren=function(t){var e,n,o=t.child,r=t.newProps,a=t.newChildProps,i=t.nestedChildren;switch(o.type){case d.TITLE:return F({},r,((e={})[o.type]=i,e.titleAttributes=F({},a),e));case d.BODY:return F({},r,{bodyAttributes:F({},a)});case d.HTML:return F({},r,{htmlAttributes:F({},a)})}return F({},r,((n={})[o.type]=F({},a),n))},n.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=F({},e);return Object.keys(t).forEach((function(e){var o;n=F({},n,((o={})[e]=t[e],o))})),n},n.prototype.warnOnInvalidChildren=function(t,e){return!0},n.prototype.mapChildrenToProps=function(t,e){var n=this,o={};return s.Children.forEach(t,(function(t){if(t&&t.props){var r=t.props,a=r.children,i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[P[n]||n]=t[n],e}),e)}(M(r,["children"]));switch(n.warnOnInvalidChildren(t,a),t.type){case d.LINK:case d.META:case d.NOSCRIPT:case d.SCRIPT:case d.STYLE:o=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:o,newChildProps:i,nestedChildren:a});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:i,nestedChildren:a})}}})),e=this.mapArrayTypeChildrenToProps(o,e)},n.prototype.render=function(){var e=this.props,n=e.children,o=M(e,["children"]),r=F({},o);return n&&(r=this.mapChildrenToProps(n,r)),s.createElement(t,r)},w(n,null,[{key:"canUseDOM",set:function(e){t.canUseDOM=e}}]),n}(s.Component),e.propTypes={base:r.object,bodyAttributes:r.object,children:r.oneOfType([r.arrayOf(r.node),r.node]),defaultTitle:r.string,defer:r.bool,encodeSpecialCharacters:r.bool,htmlAttributes:r.object,link:r.arrayOf(r.object),meta:r.arrayOf(r.object),noscript:r.arrayOf(r.object),onChangeClientState:r.func,script:r.arrayOf(r.object),style:r.arrayOf(r.object),title:r.string,titleAttributes:r.object,titleTemplate:r.string},e.defaultProps={defer:!0,encodeSpecialCharacters:!0},e.peek=t.peek,e.rewind=function(){var e=t.rewind();return e||(e=at({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},n}(a((function(t){return{baseTag:H([m,b],t),bodyAttributes:z(u,t),defer:V(t,O),encode:V(t,R),htmlAttributes:z(l,t),linkTags:W(d.LINK,[y,m],t),metaTags:W(d.META,[S,f,_,T,g],t),noscriptTags:W(d.NOSCRIPT,[h],t),onChangeClientState:G(t),scriptTags:W(d.SCRIPT,[C,h],t),styleTags:W(d.STYLE,[E],t),title:B(t),titleAttributes:z(p,t)}}),(function(t){q&&Y(q),t.defer?q=Q((function(){J(t,(function(){q=null}))})):(J(t),q=null)}),at)((function(){return null})));it.renderStatic=it.rewind,e.Helmet=it,e.default=it},4584:function(t,e,n){"use strict";n.r(e);var o=n(7423),r=n(5697),a=n.n(r),i=n(5933),s=n.n(i),c=n(562),u=n(2307),l=n.n(u);class p extends o.default.Component{state={status:void 0};handleLoading=()=>{this.setState({status:c.default.loading})};handleActive=()=>{this.setState({status:c.default.active})};handleInactive=()=>{this.setState({status:c.default.inactive})};loadFonts=async()=>{s()&&"function"===typeof s().load&&s().load({...this.props.config,loading:this.handleLoading,active:this.handleActive,inactive:this.handleInactive})};componentDidMount(){this.loadFonts()}componentDidUpdate(t,e){const{onStatus:n,config:o}=this.props;e.status!==this.state.status&&n(this.state.status),l()(t.config,o)||this.loadFonts()}render(){const{children:t}=this.props;return t||null}}p.propTypes={config:a().object.isRequired,children:a().element,onStatus:a().func.isRequired},p.defaultProps={onStatus:()=>{}},e.default=p},562:function(t,e,n){"use strict";n.r(e),e.default={inactive:"inactive",active:"active",loading:"loading"}},3855:function(t,e,n){"use strict";n.r(e),n.d(e,{alertActions:function(){return r}});var o=n(7100);const r={success:function(t){return{type:o.alertConstants.SUCCESS,message:t}},error:function(t){return{type:o.alertConstants.ERROR,message:t}},clear:function(){return{type:o.alertConstants.CLEAR}}}},5690:function(t,e,n){"use strict";n.r(e),n.d(e,{cloudinaryActions:function(){return a}});var o=n(7100),r=n(6774);const a={updateProgressPercentage:function(t){r.default.dispatch({type:o.cloudinaryConstants.IMAGE_UPLOAD_PERCENT,payload:{value:t}})}}},6811:function(t,e,n){"use strict";n.r(e),n.d(e,{commonActions:function(){return s}});var o=n(7100),r=n(5654),a=n(7911),i=n(6354);const s={getSiteProfile:function(){return t=>{t(c(o.commonConstants.REQUEST_FETCH_SITE)),r.commonServices.fetchsiteProfile().then((e=>{e.blueprint&&(e={...e,blueprint:{...e.blueprint,home:{...e.blueprint.home,layouts:{...e.blueprint.home.layouts}}}}),t(u(o.commonConstants.SUCCESS_FETCH_SITE,e))}),(e=>{t((0,a.failure)(o.commonConstants.FAILURE_FETCH_SITE,e.toString()))}))}},updateSite:function(t){return e=>{e({type:o.commonConstants.SUCCESS_UPDATE_SITE,payload:{name:t.name,tag:t.tag,description:t.description,logo:t.logo}})}},toggleRefreshRequired:function(){return t=>{t({type:o.commonConstants.TOGGLE_REFRESH_REQUIRED})}},getPage:function(t,e,n){return i=>{i(c(o.commonConstants.REQUEST_FETCH_PAGE)),r.commonServices.fetchPage(t,e,n).then((t=>{t.blueprint&&(t={...t,blueprint:{...t.blueprint,[n]:{...t.blueprint[n],layouts:{...t.blueprint[n].layouts}}}}),i(u(o.commonConstants.SUCCESS_FETCH_PAGE,t))}),(t=>{i((0,a.failure)(o.commonConstants.FAILURE_FETCH_PAGE,t.toString()))}))}},resetDomainDetails:function(){return t=>{t({type:o.commonConstants.RESET_DOMAIN_DETAILS})}},getverificationStatus:function(t){return(e,n)=>{let s=n(),l=s.user.data._id,p=s.customization.present.project;e(c(o.commonConstants.REQUEST_VERIFICATION_STATUS)),r.commonServices.getVerificationStatus(l,t,p).then(((t={})=>{if(t.dnsVerified&&t.txtVerified){const n=s.customization.present.data?.name;n&&e(i.customizationActions.addDomainToProject(t.domain,n))}e(u(o.commonConstants.SUCCESS_VERIFICATION_STATUS,t.data))}),(t=>{e((0,a.failure)(o.commonConstants.FAILURE_VERIFICATION_STATUS,t.toString()))}))}},getDomainDetails:function(t,e){return(n,i)=>{let s=i(),l=s.user.data._id||localStorage.getItem("uRI"),p=s.customization.present.project;n(c(o.commonConstants.REQUEST_DOMAIN_LIST_OF_USER)),r.commonServices.getDomainDetails(l,t,e,p).then((t=>{t.data&&(t.data.status=2),n(u(o.commonConstants.SUCCESS_DOMAIN_LIST_OF_USER,t))}),(t=>{n((0,a.failure)(o.commonConstants.FAILURE_DOMAIN_LIST_OF_USER,t.toString()))}))}},setDomainDetails:function(t){return(e,n)=>{let i=n(),s=i.user.data._id,l=i.customization.present.project;e(c(o.commonConstants.REQUEST_ADD_DOMAIN)),r.commonServices.setDomainDetails(t,s,l).then((t=>{t?t.data&&(t.data.status=1,e(u(o.commonConstants.SUCCESS_ADD_DOMAIN,t.data))):e((0,a.failure)(o.commonConstants.FAILURE_ADD_DOMAIN,"Something went wrong"))}),(t=>{e((0,a.failure)(o.commonConstants.FAILURE_ADD_DOMAIN,t.toString()))}))}},clearError:function(){return t=>{t({type:o.commonConstants.CLEAR_COMMON_ERROR})}},deleteDomain:function(t,e){return(n,i)=>{let s=i(),l=s.customization.present.project,p=s.user.data._id;n(c(o.commonConstants.REQUEST_DELETE_DOMAIN)),r.commonServices.deleteDomain(t,p,l).then((()=>{n(u(o.commonConstants.SUCCESS_DELETE_DOMAIN,t)),e&&e()}),(t=>{n((0,a.failure)(o.commonConstants.FAILURE_DELETE_DOMAIN,t.toString()))}))}},checkSubdomainExists:function(t){return(e,n)=>{let i=n().user.data._id;e(c(o.commonConstants.REQUEST_SUBDOMAIN_CHECK)),r.commonServices.checkSubdomainExists(t,i).then((()=>{e(u(o.commonConstants.SUCCESS_SUBDOMAIN_CHECK,t))}),(t=>{e((0,a.failure)(o.commonConstants.FAILURE_SUBDOMAIN_CHECK,t.toString()))}))}},clearSubdomainError:function(){return t=>{t({type:o.commonConstants.CLEAR_SUBDOMAIN_ERROR})}},updateClientInputs:function(t){return e=>{const n={...t};e({type:o.commonConstants.UPDATE_CLIENT_INPUTS,payload:n})}}};function c(t,e){return{type:t,payload:e}}function u(t,e){return n=>{n({type:t,payload:e}),n({type:o.errorsConstants.REMOVE_ERROR})}}},930:function(t,e,n){"use strict";n.r(e),n.d(e,{customizationActions:function(){return w},mergeAndReplaceBlueprintWithLatestLinkedComponentValues:function(){return lt},returnHostName:function(){return pt},updateBlueprintAfterDeleteAsset:function(){return F}});var o=n(6774),r=n(7100),a=n(782),i=n(1969),s=n(6160),c=n(7911),u=n(5654),l=n(5236),p=n(3465),d=n.n(p),f=n(4961),E=n(7632),m=n(5122),_=n.n(m),h=n(1717),g=n(5809),S=n(3774);function T(t){let e,n,o,r=!1;return function(a){void 0===e?(e=a,n=0,o=-1):e=function(t,e){const n=new Uint8Array(t.length+e.length);return n.set(t),n.set(e,t.length),n}(e,a);const i=e.length;let s=0;for(;n<i;){r&&(10===e[n]&&(s=++n),r=!1);let a=-1;for(;n<i&&-1===a;++n)switch(e[n]){case 58:-1===o&&(o=n-s);break;case 13:r=!0;case 10:a=n}if(-1===a)break;t(e.subarray(s,a),o),s=n,o=-1}s===i?e=void 0:0!==s&&(e=e.subarray(s),n-=s)}}var y=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]])}return n};const C="text/event-stream",b="last-event-id";function A(t,e){var{signal:n,headers:o,onopen:r,onmessage:a,onclose:i,onerror:s,openWhenHidden:c,fetch:u}=e,l=y(e,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise(((e,p)=>{const d=Object.assign({},o);let f;function E(){f.abort(),document.hidden||y()}d.accept||(d.accept=C),c||document.addEventListener("visibilitychange",E);let m=1e3,_=0;function h(){document.removeEventListener("visibilitychange",E),window.clearTimeout(_),f.abort()}null===n||void 0===n||n.addEventListener("abort",(()=>{h(),e()}));const g=null!==u&&void 0!==u?u:window.fetch,S=null!==r&&void 0!==r?r:I;async function y(){var n;f=new AbortController;try{const n=await g(t,Object.assign(Object.assign({},l),{headers:d,signal:f.signal}));await S(n),await async function(t,e){const n=t.getReader();let o;for(;!(o=await n.read()).done;)e(o.value)}(n.body,T(function(t,e,n){let o={data:"",event:"",id:"",retry:void 0};const r=new TextDecoder;return function(a,i){if(0===a.length)null===n||void 0===n||n(o),o={data:"",event:"",id:"",retry:void 0};else if(i>0){const n=r.decode(a.subarray(0,i)),s=i+(32===a[i+1]?2:1),c=r.decode(a.subarray(s));switch(n){case"data":o.data=o.data?o.data+"\n"+c:c;break;case"event":o.event=c;break;case"id":t(o.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||e(o.retry=n)}}}}((t=>{t?d[b]=t:delete d[b]}),(t=>{m=t}),a))),null===i||void 0===i||i(),h(),e()}catch(o){if(!f.signal.aborted)try{const t=null!==(n=null===s||void 0===s?void 0:s(o))&&void 0!==n?n:m;window.clearTimeout(_),_=window.setTimeout(y,t)}catch(r){h(),p(r)}}}y()}))}function I(t){const e=t.headers.get("content-type");if(!(null===e||void 0===e?void 0:e.startsWith(C)))throw new Error(`Expected content-type to be text/event-stream, Actual: ${e}`)}var O=n(5017),R=n(9972),v=n(6354),U=n(8867),P=n(9245),L=n.n(P),x=n(3168),N=(n(4527),n(3476)),D=n(7878);const w={disconnectStripe:function(){return(t,e)=>{let n=e().customization.present.project;t({type:r.customizationConstants.REQUEST_DISCONNECT_STRIPE}),u.customBuilderService.disconnectStripe(n).then((e=>{t(st(r.customizationConstants.SUCCESS_DISCONNECT_STRIPE,e))}),(e=>{window?.showToast({type:"error",msg:"Couldn't remove Stripe integration. Please contact support if the issue persists"}),t((0,c.failure)(r.customizationConstants.FAILURE_DISCONNECT_STRIPE))}))}},connectWithStripe:function(){return(t,e)=>{let n=e().customization.present.project;t({type:r.customizationConstants.REQUEST_CONNECT_STRIPE}),u.customBuilderService.connectWithStripe(n).then((e=>{t(st(r.customizationConstants.SUCCESS_CONNECT_STRIPE,e)),e.redirectURL&&(window.location.href=e.redirectURL)}),(e=>{window?.showToast({type:"error",msg:"Couldn't add Stripe integration. Please contact support if the issue persists"}),t((0,c.failure)(r.customizationConstants.FAILURE_CONNECT_STRIPE))}))}},addAnalyticsToProject:function(){return(t,e)=>{let n=e().customization.present.project;t({type:r.customizationConstants.REQUEST_ADD_ANALYTICS_TO_PROJECT}),u.customBuilderService.addAnalyticsToProject(n).then((e=>{t(st(r.customizationConstants.SUCCESS_ADD_ANALYTICS_TO_PROJECT,e))}),(e=>{window?.showToast({type:"error",msg:""}),t((0,c.failure)(r.customizationConstants.FAILURE_ADD_ANALYTICS_TO_PROJECT))}))}},updateCurrentStateNameOfComponent:function(t=""){return e=>{e({type:r.customizationConstants.STORE_SELECTED_STATENAME,payload:t})}},removeProperty:function(t,e){return n=>{n({type:r.customizationConstants.REMOVE_PROPERTY,payload:[t],context:e})}},removeMultipleComponents:tt,addMultipleComponents:V,addMultipleLayouts:function(t,e,n={}){return(o,a)=>{const{pageMeta:i={}}=n,s=a(),c=s.customization.present.data.blueprint[e].meta;if(s.customization.present.layoutsInitialized){let n,a=s.customization.present.project;n={...s.customization.present.data.blueprint,[e]:{...s.customization.present.data.blueprint[e],...t,meta:{...c,...i}}},o(it(r.customizationConstants.REQUEST_SAVE_LAYOUT,n)),(0,h.checkIfUndoable)("REQUEST_SAVE_LAYOUT");let u={[e]:{...n[e]}};ct(u,a);const l=ut({data:u});setTimeout((()=>{o(st(r.customizationConstants.SUCCESS_SAVE_LAYOUT,l))}),200)}}},toggleCustomization:function(){return t=>{t({type:r.customizationConstants.TOGGLE_CUSTOMIZATION})}},toggleImageEditModal:function(){return document.body.classList.toggle("sl-image-edit-modal--backdrop"),{type:r.customizationConstants.TOGGLE_IMAGE_EDIT_MODAL}},storeImageComponentId:function(t,e){let n={compId:t,url:e};return{type:r.customizationConstants.STORE_IMAGE_COMP_ID_AND_URL,payload:n}},toggleComponentEditModal:function(t){return{type:r.customizationConstants.TOGGLE_COMPONENT_EDIT_MODAL,payload:t}},changeView:q,changeContext:function(t){return(e,n)=>{const o=n()?.customization?.present?.data?.currentlySelectedComponentId||"";o&&"Global0007"!==o&&e(K("Global0007")),e({type:r.customizationConstants.CHANGE_CONTEXT,payload:t}),e(((t,e)=>{const n=e(),{blueprint:o}=n.customization.present.data,a=lt({blueprint:o});t({type:r.customizationConstants.UPDATE_BP_ONLY,payload:a})}))}},saveLayoutToServer:function(t,e,n){return(o,a)=>{Object.keys(t).map((e=>{t[e].filter((function(t){return delete t.moved,!0}))}));const i=a();if(i.customization.present.layoutsInitialized){let a,s=i.customization.present.project,c=i.customization.present.context;if(JSON.stringify(t)===JSON.stringify(i.customization.present.data.blueprint[c][e||"layouts"]))return;a=e&&"layouts"!==e?{...i.customization.present.data.blueprint,[c]:{...i.customization.present.data.blueprint[c],[e]:{...t}}}:{...i.customization.present.data.blueprint,[c]:{...i.customization.present.data.blueprint[c],layouts:{...t}}},o(it(r.customizationConstants.REQUEST_SAVE_LAYOUT,a)),(0,h.checkIfUndoable)("REQUEST_SAVE_LAYOUT",n),e&&"layouts"!==e&&Object.keys(t).map((e=>t[e].filter((t=>{t.parent}))));let u={[c]:{...a[c]}};ct(u,s);const l=ut({data:u});setTimeout((()=>{o(st(r.customizationConstants.SUCCESS_SAVE_LAYOUT,l))}),200)}}},updateBlueprintContents:ot,updateSelectedBlueprint:function(t,e){return(n,o)=>{const r=o(),a=r.customization.present.context,i=r.customization.present.data.blueprint;let s=i[a];if(!e||!s[e])return null;n(ot("blueprint",{...i,[a]:{...i[a],[e]:{...i[a][e],...t}}}))}},blueprintAndLayoutUpdateComplete:function(t,e,n){return o=>{let a={};a=n?{type:r.customizationConstants.BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE_WM,payload:e,name:t,context:n}:{type:r.customizationConstants.BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE},o(a),o({type:r.customizationConstants.EXCHANGE_END})}},getWebBuilderDetails:at,previewStreaming:function(t,e,n,o,a){n||(n="preview");return async(i,s)=>{if(-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")||"codedesign-playground"===t)return void i(at(t,e,n,{}));if(s().customization.present.isFetching)i({type:"REQUEST_PENDING"});else{i(it(r.customizationConstants.REQUEST_FETCH_WEB_BUILDER));class c extends Error{}class u extends Error{}const l={method:"GET",headers:{"Content-Type":"text/event-stream","x-access-token":(0,R.getToken)(),"guest-token":""+(0,R.getGuestToken)()}};A(`${(0,O.returnAPI)()}guest/web-builder/preview-streaming?project=${t}&page=${e}&type=${n}${o?"&user="+o:""}&${a?"&public=true":""}`,{...l,openWhenHidden:!1,async onopen(t){if(!t.ok)throw t.status>=400&&t.status<500&&429!==t.status?new u:new c},onmessage(t){let o;if("update"!==t.event)throw new c;try{o=JSON.parse(t.data),o&&(o.blueprint=lt(o),rt(o,n,i,s,e))}catch(r){throw new c}},onclose(){throw new c},onerror(t){t instanceof u&&(window.location="/a/dashboard")}})}}},moveToBlueprintFromWB:function(t){return e=>{e(it(r.customizationConstants.REQUEST_FETCH_WEB_BUILDER)),null!==t.blueprint&&null!=t.blueprint.home.components||(t.blueprint.home.components={}),e(st(r.customizationConstants.SUCCESS_FETCH_WEB_BUILDER,t))}},updateComponentProps:function(t,e={},n={}){const{client_id:o,props:a,context:i,zIndex:s}=t;return(t,c)=>{const u=c(),l=u.customization.present.data;let p=u.customization.present.project;if(!l.blueprint[i].components[o])return;let f=e.updatedComponent?{...e.updatedComponent}:{...l.blueprint[i].components[o],props:{...l.blueprint[i].components[o].props,...a},zIndex:s},E=d()(l.blueprint[i]);E.components[o]=f,ct({[i]:E},p,void 0,void 0,n),e.updatedComponent&&t({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT,payload:{dataname:"blueprint",content:{...l.blueprint,[i]:E}}}),t({type:r.customizationConstants.UPDATE_COMPONENT_PROPS,payload:f,context:i}),t({type:r.customizationConstants.UNDOS_REVISION_UPDATE})}},removeComponent:Z,storeCroppedImg:function(t){const e=t;return t=>{t(it(r.customizationConstants.REQUEST_SAVE_CROPPED_IMAGE)),setTimeout((()=>{t(st(r.customizationConstants.SUCCESS_SAVE_CROPPED_IMAGE,e))}),100)}},storeCurrentComponentId:K,togglePhotosPanel:function(t,e){return(n,o)=>{"basic"===o().customization.present.editorMode&&t&&n(v.uiActions.setRightSideEditPopupType("photos")),n({type:r.customizationConstants.TOGGLE_PHOTOS_PANEL,payload:t,callback:e})}},setStyleSettingsFoldableBlock:H,storeMultipleComponentIds:function(t){if(t!==[])return(e,n)=>{let o,a=n();"string"===typeof t?o=[...a.customization.present.data.currentlySelectedComponentArray,t]:"number"===typeof t&&(o=[]);let i=[...new Set(o)];e({type:r.customizationConstants.STORE_SELECTED_COMPONENT_INTO_ARRAY,payload:i})}},ungroupComponents:function(t,e,n,o){return(a,i)=>{let s=i().customization.present.data.blueprint[n].components[t],c={};s.components&&s.components.map((t=>{t&&t.props&&t.props.componentData&&t.props.componentData.hideIn&&(t.props.componentData.hideIn=t.props.componentData.hideIn.filter((t=>t!==o.currentBreakpoint))),c={...c,[t.uniqueId]:t}})),a(Z(t,n,{ungroup:!0})),a(V(c,n)),e&&a({type:r.customizationConstants.CHANGE_LAYOUT,payload:e,currentView:n}),a(Q(c,n,o))}},groupComponents:function(t,e,n,o,a){null==a&&(a={});let i=(0,f.default)(4),s=e.name+i,c={width:e.layouts[a.currentBreakpoint].w,height:e.layouts[a.currentBreakpoint].h},u=e.zIndex?e.zIndex:"navbar"===e.category?500:50;const{currentBreakpoint:l}=a;return t=>{let i,p={author:"Storylens",category:e.category,context:["Homepage",n],custom:!1,main:e.main,name:e.name,props:e.props,client_id:s,type:e.type,tags:e.tags,zIndex:u,components:e.components?e.components:null,wrapper:e.wrapper},d={};"true"===e.wrapper&&(i={lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]},d=function(t,e,n,o){let r={lg:[{w:"duplicate"===o.type||"number"===typeof n.w&&!isNaN(n.w)?n.w.lg||n.w:t.layouts&&t.layouts.lg?t.layouts.lg.w:e.width,h:"duplicate"===o.type?n.h.lg||n.h:t.layouts&&t.layouts.lg?t.layouts.lg.h:e.height,x:"number"!==typeof n.x.lg||isNaN(n.x.lg)?n.x:n.x.lg,y:"number"!==typeof n.y.lg||isNaN(n.y.lg)?n.y:n.y.lg,i:n.c,moved:!1,static:!1,parent:o.parent}],md:[{w:"duplicate"===o.type?n.w.md||n.w:t.layouts&&t.layouts.md?t.layouts.md.w:e.width,h:"duplicate"===o.type?n.h.md||n.h:t.layouts&&t.layouts.md?t.layouts.md.h:e.height,x:"number"!==typeof n.x.md||isNaN(n.x.md)?n.x:n.x.md,y:"number"!==typeof n.y.md||isNaN(n.y.md)?n.y:n.y.md,i:n.c,moved:!1,static:!1,parent:o.parent}],sm:[{w:"duplicate"===o.type?n.w.sm||n.w:t.layouts&&t.layouts.sm?t.layouts.sm.w:e.width,h:"duplicate"===o.type?n.h.sm||n.h:t.layouts&&t.layouts.sm?t.layouts.sm.h:e.height,x:"number"!==typeof n.x.sm||isNaN(n.x.sm)?n.x:n.x.sm,y:"number"!==typeof n.y.sm||isNaN(n.y.sm)?n.y:n.y.sm,i:n.c,moved:!1,static:!1,parent:o.parent}]};return["bp_1920","bp_1440","bp_1280"].map((t=>{r={...r,[t]:r.lg}})),r}(e,c,{x:e.layouts[a.currentBreakpoint].x,y:e.layouts[a.currentBreakpoint].y,w:e.layouts[a.currentBreakpoint].w,h:e.layouts[a.currentBreakpoint].h,c:s},a),e.components.map((t=>{i[a.currentBreakpoint]=[...i[a.currentBreakpoint],t.layouts[a.currentBreakpoint]]}))),t({type:r.customizationConstants.CLEAR_SELECTED_COMPONENTS_ARRAY}),t({type:r.customizationConstants.CHANGE_LAYOUT,payload:d,currentView:n}),"true"===e.wrapper&&t({type:r.customizationConstants.ADD_TEMP_LAYOUT,payload:i,currentView:n}),t(tt(o,n,l)),t({type:r.customizationConstants.UPDATE_BLUEPRINT,payload:p,currentView:n,currentBreakpoint:l})}},removeLayoutsFromTempLayouts:Q,removeComponentFromWrappers:function(t,e){if(t&&t.components.length>1){let n=t.components.map((t=>t.client_id));return(t,o)=>{let r=o(),a=JSON.parse(JSON.stringify(r.customization.present.data.blueprint[e].components)),i={};Object.keys(a).map((t=>{"true"!==a[t].wrapper||!0!==a[t].wrapper?i={...i,[t]:a[t]}:a[t].components&&a[t].components.item((t=>!n.includes(t.client_id)))}))}}},addNewPage:J,deletePage:function(t){return(e,n)=>{let o=n(),a=o.customization.present.project,i=o.customization.present.data.blueprint;delete i[t],e(it(r.customizationConstants.REQUEST_DELETE_PAGE,i)),u.customBuilderService.deletePage(t,a).then((t=>{e(st(r.customizationConstants.SUCCESS_DELETE_PAGE,t))}),(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_DELETE_PAGE,t.toString()))}))}},addNewProject:function(t){return e=>{e(it(r.customizationConstants.REQUEST_ADD_PROJECT,t)),u.customBuilderService.addNewProject(t).then((n=>{e(st(r.customizationConstants.SUCCESS_ADD_PROJECT,n)),e(J({name:"Home",url:"/home"},t.uniqueUrl,void 0,{isAddedNewProject:!0,redirect:!1}))}),(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_ADD_PROJECT,t.toString()))}))}},getAllProjects:function(t,e){return n=>{n(it(r.customizationConstants.REQUEST_FETCH_WEB_BUILDERS)),u.customBuilderService.getAllProjects(t,e).then((t=>{t?(t&&t.data&&(t.data.status=2),n(st(r.customizationConstants.SUCCESS_FETCH_WEB_BUILDERS,t))):n((0,c.failure)(r.customizationConstants.FAILURE_FETCH_WEB_BUILDERS,"Project unavailable"))}),(t=>{n((0,c.failure)(r.customizationConstants.FAILURE_FETCH_WEB_BUILDERS,t.toString()))}))}},deleteProject:function(t,e,n){return(o,a)=>{let i=a(),s=i.customization.present.webBuilders;const l=t._id;let p=n||i.customization.present.project;"undefined"!==typeof l&&(window?.showToast({type:"info",msg:"We're deleting your project. Please wait..."}),o(it(r.customizationConstants.REQUEST_DELETE_PROJECT,l)),u.customBuilderService.deleteProject(l,p).then((()=>{let t=s.filter((t=>t._id!==l));"function"===typeof e&&e(),window?.showToast({type:"success",msg:"Project successfully deleted."}),o(st(r.customizationConstants.SUCCESS_DELETE_PROJECT,t))}),(t=>{window?.showToast({type:"info",msg:"Something went wrong. Please try again later or contact support."}),o((0,c.failure)(r.customizationConstants.FAILURE_DELETE_PROJECT,t.toString()))})))}},updateProjectName:function(t){return e=>{e({type:r.customizationConstants.UPDATE_PROJECT_NAME,payload:t})}},updateWebBuilderAdmin:et,optimizeProject:function(){function t(t){const e=new Blob([JSON.stringify(t)]).size;return e<1024?e+" bytes":e<1048576?(e/1024).toFixed(2)+" KB":(e/1048576).toFixed(2)+" MB"}return(e,n)=>{const o=n(),r=o.customization.present.data.blueprint,a=o.customization.present.data._id,i=t(r);let s={};Object.keys(r).map((t=>{const e=r[t];let n={components:{Global0007:{category:"global",name:"Global",client_id:"Global0007",type:"global"}},layouts:{lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]}};n.meta=e.meta,n.version=e.version,s[t]=(0,h.cleanupBlueprint)(e,"layouts",n)}));const c=t(s);console.log(i,c,a,s,"objectsize"),e(et({blueprint:s},a))}},saveComponentAsPreset:function(t,e,n){if(t&&e)return(o,a)=>{let i=a().customization.present.project;o(it(r.customizationConstants.REQUEST_SAVE_AS_PRESET,e)),o(v.uiActions.toggleIsLoading(!0)),u.customBuilderService.saveComponentAsPreset(t,e,n,i).then((t=>{o(st(r.customizationConstants.SUCCESS_SAVE_AS_PRESET,t.componentManifest)),o(v.uiActions.setDockSidebarActiveMenu("bookmarks")),o(v.uiActions.toggleBookmarkInnerTabs(s.builderConstants.BOOKMARK_PRESET_TAB)),o(v.uiActions.toggleIsLoading(!1))}),(t=>{o((0,c.failure)(r.customizationConstants.FAILURE_SAVE_AS_PRESET,t.toString()))}))}},publishPage:Y,prePublishPage:function(t){return(e,n)=>{const o=n(),a=o.customization.present.data,i=o.customization.present.context;let s=o.customization.present.project,u=d()(a.blueprint[i]);u.meta.published=t;const l={[i]:u};e(it(r.customizationConstants.PUBLISH_PAGE_LAYOUT,t)),ct(l,s,(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_PUBLISH_PAGE_LAYOUT,t.toString()))}));const p=ut({data:l});setTimeout((()=>{e(st(r.customizationConstants.SUCCESS_PUBLISH_PAGE_LAYOUT,p))}),200)}},toggleShowGrid:function(t){return{type:r.customizationConstants.TOGGLE_SHOW_GRID,payload:t}},updateGoogleFonts:function(t){return{type:r.customizationConstants.SUCCESS_FETCH_GOOGLE_FONTS,payload:[...t]}},fetchGoogleFonts:function(t="trending"){return e=>{e(it(r.customizationConstants.REQUEST_FETCH_GOOGLE_FONTS)),u.customBuilderService.fetchGoogleFonts(t).then((t=>{const{items:n}=t,o=n.map((t=>t.family));e(st(r.customizationConstants.SUCCESS_FETCH_GOOGLE_FONTS,o))}),(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_FETCH_GOOGLE_FONTS,t))}))}},resetGoogleFonts:function(){return{type:r.customizationConstants.RESET_GOOGLE_FONTS}},updateFontsUsedInSite:$,updateActiveFonts:function(){return(t,e)=>{let n=e().customization.present.data.fonts||[],o=new Set;n&&Object.keys(n).filter((t=>t&&n[t]&&n[t].fontFamily&&o.add(`${n[t].fontFamily}:100,200,300,400,500,600,700,800,900`))),o=Array.from(o)||[],t({type:r.customizationConstants.UPDATE_ACTIVE_FONTS,payload:o})}},updateFontImports:function(t){return e=>{e(it(r.customizationConstants.REQUEST_IMPORT_FONTS_USED_IN_TEXT_MANIFEST)),setTimeout((()=>{e(st(r.customizationConstants.SUCCESS_IMPORT_FONTS_USED_IN_TEXT_MANIFEST,[...t]))}),5)}},setFontIsLoading:function(t){return{type:r.customizationConstants.SET_FONT_LOADING_STATUS,payload:t}},saveToServer:function(t,e={}){return(n,o)=>{const a=o();if(a.customization.present.layoutsInitialized){let o=a.customization.present.project,i=a.customization.present.context,s={...a.customization.present.data.blueprint,[i]:{...a.customization.present.data.blueprint[i],layouts:{...a.customization.present.data.blueprint[i].layouts},meta:{...a.customization.present.data.blueprint[i].meta,name:t&&t.name?t.name:a.customization.present.data.blueprint[i].meta.name,description:t&&t.description?t.description:a.customization.present.data.blueprint[i].meta.description,activeBreakpoints:t&&t.activeBreakpoints?t.activeBreakpoints:a.customization.present.data.blueprint[i].meta.activeBreakpoints,autoResponsiveComponents:t&&t.autoResponsiveComponents?t.autoResponsiveComponents:a.customization.present.data.blueprint[i].meta.autoResponsiveComponents}}};n(it(r.customizationConstants.REQUEST_SAVE_LAYOUT,s)),(0,h.checkIfUndoable)("REQUEST_SAVE_LAYOUT");let c={[i]:{...s[i]}},u={};e.updateLinkedComponent&&e.updatedLinkedComponents&&(c={...c,...e.updatedLinkedComponents},u={linkedComponents:Object.keys(e.updatedLinkedComponents)}),ct(c,o,null,u);const l=ut({data:c});setTimeout((()=>{n(st(r.customizationConstants.SUCCESS_SAVE_LAYOUT,l))}),200)}}},toggleShowLayout:function(t){return{type:r.customizationConstants.TOGGLE_SHOW_CUSTOM_LAYOUT,payload:t}},setGuidelines:function(t){return{type:r.customizationConstants.UPDATE_GUIDELINES,payload:t}},updateResizeStatus:function(t){return{type:r.customizationConstants.UPDATE_RESIZE_STATUS,payload:t}},updateRecentlySelectedBlock:function(t){return{type:r.customizationConstants.UPDATE_SELECTED_BLOCK,payload:t}},setBuilderCanvasRef:function(t){return e=>{e({type:r.customizationConstants.SET_BUILDER_CANVAS_REF,payload:t})}},setBuilderContainerRef:function(t){return e=>{e({type:r.customizationConstants.SET_BUILDER_CONTAINER_REF,payload:t})}},updateCanvasTransform:W,updateSidePopupMenu:function(t){return e=>{e({type:r.customizationConstants.UPDATE_SIDE_POPUP_MENU,payload:t})}},updatePreviewImage:function(t,e,n,o){return a=>{a({type:r.customizationConstants.REQUEST_UPDATE_PREVIEW_IMAGE,payload:{url:t,context:e}}),u.customBuilderService.updatePreviewImage(t,e,n,o).then((t=>{a(st(r.customizationConstants.SUCCESS_UPDATE_PREVIEW_IMAGE,t))}),(t=>{a((0,c.failure)(r.customizationConstants.FAILURE_UPDATE_PREVIEW_IMAGE,t.toString()))}))}},updateColorPalette:function(t){if(!t)return;t.includes("rgb")&&((t=(0,g.default)(t)).startsWith("#")||(t=`#${t}`),9===t.length&&(t=t.substring(0,t.length-2)));return(e,n)=>{const o=n();let{context:a,project:i,playground:s}=o.customization.present,c=o.customization.present.data.colorPalette;c=[t,...c];let l=[...new Set(c)];l.length>11&&(l.length=11),u.customBuilderService.updateBlueprint("colorPalette",l,i,a,{playground:s}).then((()=>{e({type:r.customizationConstants.UPDATE_COLOR_PALETTE,payload:l})}))}},fetchKBArticles:function(t){const e="edbsn736ce6759a3bba02110ca436347f0bd6ea236db6f8a3426ebb9fbdd37f021ce1",n="https://desk.zoho.com/portal/api/kbArticles";if(!t)return;return async o=>{o({type:r.customizationConstants.REQUEST_FETCH_KB_ARTICLE,payload:t});const a=`${n}?categoryId=490283000000921001&portalId=${e}&sortBy=createdTime`;u.customBuilderService.fetchKBArticles(a).then((async t=>{if(!t||t&&!t.data)o((0,c.failure)(r.customizationConstants.FAILURE_FETCH_KB_ARTICLE,"Couldn't fetch help articles"));else try{if(t.data.length>0){const a=(await Promise.all(t.data.map((t=>{const o=`${n}/${t.id}?portalId=${e}`;return u.customBuilderService.fetchKBArticles(o)})))).map((t=>({title:t.title,content:t.answer})));a&&a.length>0?o(st(r.customizationConstants.SUCCESS_FETCH_KB_ARTICLE,a)):o((0,c.failure)(r.customizationConstants.FAILURE_FETCH_KB_ARTICLE,"No articles found"))}}catch(a){o((0,c.failure)(r.customizationConstants.FAILURE_FETCH_KB_ARTICLE,a))}}),(t=>{o((0,c.failure)(r.customizationConstants.FAILURE_FETCH_KB_ARTICLE,t))}))}},toggleGlobalShiftKey:function(t){return(e,n)=>{const o=n().customization.present.globalShiftKey;(t||o&&!t)&&e({type:r.customizationConstants.TOGGLE_GLOBAL_SHIFT_KEY,payload:t})}},setTempFontFamilies:function(t=[]){return{type:r.customizationConstants.SET_TEMP_FONT_FAMILIES,payload:t}},copyProject:function(t,e){return n=>{n(it(r.customizationConstants.REQUEST_COPY_PROJECT)),u.customBuilderService.copyProject(t,e).then((()=>{n(it(r.customizationConstants.SUCCESS_COPY_PROJECT))})).catch((t=>{n((0,c.failure)(r.customizationConstants.FAILURE_COPY_PROJECT,t.toString()))}))}},fetchClient:function(t,e){return(n,o)=>{let a=o().customization.present.activeFonts||[];function i(t){if(0===a.length){let e=new Set;t.fonts&&Object.keys(t.fonts).filter((n=>n&&t.fonts[n]&&t.fonts[n].fontFamily&&e.add(`${t.fonts[n].fontFamily}:100,200,300,400,500,600,700,800,900`))),e=Array.from(e)||[],n({type:r.customizationConstants.UPDATE_ACTIVE_FONTS,payload:e})}let e={};if(t.functions){const o=t.functions;Array.isArray(o)||Object.keys(o).map((t=>{e[t]={...o[t]}})),n(st(r.functionConstants.FUNCTION_FETCH_SUCCESS,e)),delete t.functions}n(st(r.customizationConstants.SUCCESS_FETCH_HOST,t||{}))}n(it(r.customizationConstants.REQUEST_FETCH_HOST)),window.ccData?.fetchedData?i(window.ccData?.fetchedData):u.commonServices.fetchClient(t,e).then((t=>{i(t)}),(t=>{400===t.status&&n({type:r.customizationConstants.CLIENT_DEPLOY_PENDING}),n((0,c.failure)(r.customizationConstants.FAILURE_FETCH_HOST,t.statusText))}))}},toggleHostStatus:function(t){return e=>{e({type:r.customizationConstants.TOGGLE_HOST_STATUS,payload:t})}},addDomainToProject:function(t,e){return(n,o)=>{let a=o().user.data._id;n(it(r.customizationConstants.REQUEST_ADD_DOMAIN_TO_PROJECT)),u.customBuilderService.addDomainToProject(t,e,a).then((()=>{n(st(r.customizationConstants.SUCCESS_ADD_DOMAIN_TO_PROJECT,{domain:t}))})).catch((t=>{n((0,c.failure)(r.customizationConstants.FAILURE_ADD_DOMAIN_TO_PROJECT,t.toString()))}))}},addSubdomainToProject:function(t,e,n={}){return(o,a)=>{const i=a();let s=i.user.data._id;const l=i.customization.present.context;o(it(r.customizationConstants.REQUEST_ADD_SUB_DOMAIN_TO_PROJECT)),u.customBuilderService.addSubdomainToProject(t,e,s).then((()=>{o(v.uiActions.setPublishSiteLoadingStatus(!1)),o(st(r.customizationConstants.SUCCESS_ADD_SUB_DOMAIN_TO_PROJECT,t)),n&&n.publishAfterAdd&&o(Y(l,e,n.activeStatus))})).catch((t=>{o(v.uiActions.setPublishSiteLoadingStatus(!1)),o((0,c.failure)(r.customizationConstants.FAILURE_ADD_SUB_DOMAIN_TO_PROJECT,t.toString()))}))}},updateActiveStatus:function(t,e){return n=>{n("domain"===t?{type:r.customizationConstants.UPDATE_DOMAIN_ACTIVE_STATUS,payload:e}:{type:r.customizationConstants.UPDATE_SUB_DOMAIN_ACTIVE_STATUS,payload:e})}},saveCustomCode:function(t,e){return(n,o)=>{if(!t||!["js","css"].includes(t))return;const a=o();let{project:i,context:s,playground:l}=a.customization.present;n(it(r.customizationConstants.REQUEST_SAVE_CUSTOM_CODE)),u.customBuilderService.updateBlueprint(t.toLowerCase(),e,i,s,{playground:l}).then((()=>{setTimeout((()=>n(st(r.customizationConstants.SUCCESS_SAVE_CUSTOM_CODE,{[t]:e||("css"===t?"/*\n\n                  Note: For display flex to work, you have to add \n                  \n                  .your-class-name{\n                    display:flex;\n                  }\n                  \n                  .your-class-name > div {\n                    position: static !important;\n                  }\n                  \n                  */\n                  \n                  /* place css code */":"js"===t?"// Add your JS here":"")}))),1e3)})).catch((t=>{n((0,c.failure)(r.customizationConstants.FAILURE_SAVE_CUSTOM_CODE,t.toString())),setTimeout((()=>n({type:r.customizationConstants.CLEAR_CUSTOM_CODE_ERROR})),5e3)}))}},toggleAPIEditor:function(t){return e=>{e({type:r.customizationConstants.TOGGLE_API_EDITOR,payload:t})}},updateFormState:z,updateHiddenLayouts:function(t){return(e,n)=>{const o=n(),a=o.customization.present.context;let i=o.customization.present.project,s={};s[a]={...o.customization.present.data.blueprint[a],hiddenLayouts:t},ct(s,i,null),e({type:r.customizationConstants.UPDATE_HIDDEN_LAYOUTS,payload:t,context:a})}},makeExternalRequest:G,submitGenericForm:function(t){return(e,n)=>{const o=n(),a=o.customization.present.context;const i=d()(o.customization.present.data.blueprint)[a];let s=(0,h.findImmediateFormParent)(t,i);if(s){let t,n=(0,h.generateFormParameters)(s,i)||[],a=(0,l.checkNested)(i,"components",s,"props","componentData","apiIntegration")&&i.components[s].props.componentData.apiIntegration,u=(0,l.checkNested)(i,"components",s,"props","componentData","form","successUrl")&&i.components[s].props.componentData.form.successUrl,p=o.customization.present.data.apiIntegrations;p&&Object.keys(p).map((e=>{p[e].find((t=>t.id===a))&&(t=e)})),e(t&&a&&n?G({id:a},t,n,{clientId:s,updateState:!0,successUrl:u}):(0,c.failure)(r.customizationConstants.FAILURE_GENERIC_API_CALL,{status:400,ok:!1,json:{message:"Couldn't initiate call"},text:JSON.stringify({message:"Couldn't initiate call"})}))}}},openWorkflow:function(t){return e=>{const n=window.location.host,o=`${window.location.protocol}//${n}/workflow/${t}`;e({type:r.customizationConstants.OPEN_WORKFLOW,payload:t}),window.open(o,"_blank")}},initiateCanvas:function(){return t=>{t({type:r.customizationConstants.INITIATE_CANVAS})}},setContentLimitation:function(t=""){return e=>{e({type:r.customizationConstants.SET_CONTENT_LIMITATION_BUILDER,payload:t})}},updateIframeDocument:function(t){return e=>{e({type:r.customizationConstants.UPDATE_IFRAME_DOCUMENT,payload:{...t}})}},markUndoStoringCompleted:B,fetchTemplates:function(){return t=>{t(it(r.customizationConstants.REQUEST_FETCH_TEMPLATES)),u.customBuilderService.fetchTemplates().then(((e={})=>{const{featured:n,recommended:o,...a}=e;t(st(r.customizationConstants.SUCCESS_FETCH_TEMPLATES,a))}),(e=>{t((0,c.failure)(r.customizationConstants.FAILURE_FETCH_TEMPLATES,e.toString()))}))}},fetchComponentManifest:function(){return t=>{t(it(r.customizationConstants.REQUEST_FETCH_COMPONENT_MANIFEST)),u.customBuilderService.fetchComponentManifest().then(((e={})=>{const{featured:n,recommended:o,...a}=e?.data||{};let i={};Object.keys(a).map((t=>{i[t]={...a[t],...e.extras||{}}})),t(st(r.customizationConstants.SUCCESS_FETCH_COMPONENT_MANIFEST,i))}),(e=>{t((0,c.failure)(r.customizationConstants.FAILURE_FETCH_COMPONENT_MANIFEST,e.toString()))}))}},onetime:function(t,e,n={}){return e?(o,a)=>{const i=a();let{project:s,context:c,playground:l}=i.customization.present,p="blueprint"===t?"data":t;u.customBuilderService.updateBlueprint(p,e,s,c,{...n,playground:l}).then((()=>{o({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT_SUCCESS}),window.location.reload()}),(t=>{o({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT_FAILURE,payload:t.toString()}),console.error("error occured",t)}))}:null},fetchTemplateByKey:function(t){return(e,n)=>{e(it(r.customizationConstants.REQUEST_FETCH_TEMPLATE_BY_KEY)),u.customBuilderService.fetchTemplateByKey(t).then((t=>{e(st(r.customizationConstants.SUCCESS_FETCH_TEMPLATE_BY_KEY,t)),rt(t,"preview",e,n,"home")}),(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_FETCH_TEMPLATE_BY_KEY,t.toString()))}))}},fetchVersionHistory:function(t=0,e=10){return(n,o)=>{const a=o(),i=a.customization.present.context;let s=a.customization.present.project;n(it(r.customizationConstants.REQUEST_FETCH_VERSIONS)),u.customBuilderService.fetchVersions(s,i,t,e).then((t=>{n(st(r.customizationConstants.SUCCESS_FETCH_VERSIONS,t))}),(t=>{n((0,c.failure)(r.customizationConstants.FAILURE_FETCH_VERSIONS,t.toString()))}))}},updateUIState:function(t={}){return e=>{e({type:r.customizationConstants.UPDATE_UI_STATE,payload:t})}},exitBuilderTasks:function(){return t=>{t(v.uiActions.setInitialLoadingStatus(!1)),t(U.databaseActions.reset()),t(v.functionActions.reset()),t({type:r.customizationConstants.RESET_CUSTOMIZATION_STATE}),window.childWindow=null}},toggleTextEditorOutline:function(t){return e=>{e({type:r.customizationConstants.TOGGLE_TEXT_EDITOR_OUTLINE,payload:t})}},updateDragPlaceholder:function(t){return e=>{e({type:r.customizationConstants.UPDATE_DRAG_PLACEHOLDER,payload:t})}},dropStart:function(t){return e=>{e({type:r.customizationConstants.DROP_UPDATE,payload:t})}},dropEnd:function(){return t=>{t({type:r.customizationConstants.DROP_UPDATE,payload:!1})}},storeBgImageTemp:function(t){return{type:r.customizationConstants.STORE_BG_IMAGE,payload:t}},setTempBgImageChangedIndex:function(t){return{type:r.customizationConstants.SET_BG_IMAGE_CHANGED_INDEX,payload:t}},setBackgroundMultilistExpandedIds:function(t){return{type:r.customizationConstants.SET_BG_MULTILIST_EXPANDED_IDS,payload:t}},fetchTemplatesV2:function(t){return e=>{e(it(r.customizationConstants.REQUEST_FETCH_TEMPLATES_V2)),u.customBuilderService.fetchTemplatesV2(t).then(((t=[])=>{e(st(r.customizationConstants.SUCCESS_FETCH_TEMPLATES_V2,t))}),(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_FETCH_TEMPLATES_V2,t.toString()))}))}},fetchComponentLibraryV2:function(){return t=>{t(it(r.customizationConstants.REQUEST_FETCH_COMPONENT_LIBRARY_V2)),u.customBuilderService.fetchTemplatesV2("components").then(((e=[])=>{t(st(r.customizationConstants.SUCCESS_FETCH_COMPONENT_LIBRARY_V2,e))}),(e=>{t((0,c.failure)(r.customizationConstants.FAILURE_FETCH_COMPONENT_LIBRARY_V2,e.toString()))}))}},updateDatabaseTablesWithNotificationEnabled:function(t){return(e,n)=>{e(w.updateBlueprintContents("databaseTablesWithNotificationEnabled",t,!0))}},updateWebHooks:function(t,e){if(!e)return;return(n,o)=>{const r={...o().customization.present.data.databaseWebHooks,[e]:t};n(w.updateBlueprintContents("databaseWebHooks",r,!0))}},transferProjectOwnership:function(t,e=(()=>{})){return async(n,o)=>{let a=o().customization.present.project;n(it(r.customizationConstants.REQUEST_TRANSFER_OWNERSHIP_START));try{const o=await u.customBuilderService.transferProjectOwnership(t,a);n(it(r.customizationConstants.SUCCESS_TRANSFER_OWNERSHIP_START,o)),e()}catch(i){n(it(r.customizationConstants.FAILURE_TRANSFER_OWNERSHIP_START))}}},moveGuestProjectToDashboard:function(t,e={}){const{subdomain:n}=e;return async t=>{0}},setProjectPrompt:function(t){return{type:r.customizationConstants.STORE_PROJECT_PROMPT,payload:t}},setTryProjectPromptAgainFlag:function(t){return{type:r.customizationConstants.STORE_FLAG_TO_TRY_PROMPT_AGAIN,payload:t}},assignLifetimeLicense:function(t){return(e,n)=>{let o=n().customization.present.project;e({type:r.customizationConstants.REQUEST_ASSIGN_LICENSE}),u.customBuilderService.assignLicense(t,"lifetime",o).then(((t=[])=>{window.location.reload(),e(st(r.customizationConstants.SUCCESS_ASSIGN_LICENSE,t))}),(t=>{window?.showToast({type:"error",msg:"Something went wrong. Please try again later or contact support"}),e((0,c.failure)(r.customizationConstants.FAILURE_ASSIGN_LICENSE))}))}},assignSubscriptionLicense:function(t){return(e,n)=>{let o=n().customization.present.project;e({type:r.customizationConstants.REQUEST_ASSIGN_LICENSE}),u.customBuilderService.assignLicense(t,"subscription",o).then(((t=[])=>{window.location.reload(),e(st(r.customizationConstants.SUCCESS_ASSIGN_LICENSE,t))}),(t=>{window?.showToast({type:"error",msg:"Something went wrong. Please try again later or contact support"}),e((0,c.failure)(r.customizationConstants.FAILURE_ASSIGN_LICENSE))}))}},duplicateProject:function(t){return(e,n)=>{n();e({type:r.customizationConstants.REQUEST_DUPLICATE_PROJECT});window?.showToast({type:"info",msg:"We're duplicating your project. Please wait..."}),u.customBuilderService.duplicateProject(t).then(((t=[])=>{{const t="Project successfully duplicated. Reloading... ";window?.showToast({type:"success",msg:t}),setTimeout((()=>{window.location.reload()}),2e3)}e(st(r.customizationConstants.SUCCESS_DUPLICATE_PROJECT,t))}),(t=>{window?.showToast({type:"error",msg:"Something went wrong. Please try again later or contact support"}),e((0,c.failure)(r.customizationConstants.FAILURE_DUPLICATE_PROJECT))}))}},duplicatePage:function(t){return(e,n)=>{let o=n().customization.present.project;e({type:r.customizationConstants.REQUEST_DUPLICATE_PAGE});window?.showToast({type:"info",msg:"We're duplicating your page. Please wait..."}),u.customBuilderService.duplicatePage(t,o).then(((t=[])=>{{const t="Page successfully duplicated. Reloading...";window?.showToast({type:"success",msg:t}),setTimeout((()=>{window.location.reload()}),2e3)}e(st(r.customizationConstants.SUCCESS_DUPLICATE_PAGE,t))}),(t=>{window?.showToast({type:"error",msg:"Something went wrong. Please try again later or contact support"}),e((0,c.failure)(r.customizationConstants.FAILURE_DUPLICATE_PAGE))}))}},setRecentlyEditedComponent:function(t){return e=>{e({type:r.customizationConstants.SET_RECENTLY_EDITED_COMPONENT,payload:t})}},updateBackupName:function(t,e){return(n,o)=>{let a=o().customization.present.project;n({type:r.customizationConstants.REQUEST_UPDATE_BACKUP_NAME}),u.customBuilderService.updateBackupName(a,e,t).then(((t=[])=>{n(st(r.customizationConstants.SUCCESS_UPDATE_BACKUP_NAME,t))}),(t=>{window?.showToast({type:"error",msg:"Couldn't update backup name. Please try again later or contact support"}),n((0,c.failure)(r.customizationConstants.FAILURE_UPDATE_BACKUP_NAME))}))}},clearVersionHistory:function(){return t=>{t({type:r.customizationConstants.CLEAR_VERSION_HISTORY})}},restoreBackup:function(t){return(e,n)=>{let o=n().customization.present.project;e({type:r.customizationConstants.REQUEST_RESTORE_BACKUP});const i=window?.showToast({type:"info",msg:"Restore in progress...",timer:5e3});u.customBuilderService.restoreBackup(o,t).then(((t=[])=>{a.Am.dismiss(i),window?.showToast({type:"success",msg:"Restore completed successfully! Reloading...",timer:5e3}),setTimeout((()=>{window.location.reload()}),3e3),e(st(r.customizationConstants.SUCCESS_RESTORE_BACKUP,t))}),(t=>{showToast({type:"error",msg:"Restore failed. Contact support if this persists",timer:5e3,updateId:i}),e((0,c.failure)(r.customizationConstants.FAILURE_RESTORE_BACKUP))}))}},deleteBackup:function(t){return(e,n)=>{let o=n().customization.present.project;e({type:r.customizationConstants.REQUEST_DELETE_BACKUP}),u.customBuilderService.deleteBackup(o,t).then(((n=[])=>{e(st(r.customizationConstants.SUCCESS_DELETE_BACKUP,t))}),(t=>{window?.showToast({type:"error",msg:"Couldn't delete backup. Please try again later or contact support"}),e((0,c.failure)(r.customizationConstants.FAILURE_DELETE_BACKUP))}))}},hideElementsOfPage:function(t){return(e,n)=>{const o=n(),{blueprint:a}=o.customization.present.data;let i=a[t];Object.keys(i.components).map((t=>{let e=i.components[t];(e.isElementCanvasHidden||!1)&&((i.meta.canvasHiddenElements||[]).includes(e.client_id)||(i={...i,meta:{...i.meta,canvasHiddenElements:[...i.meta.canvasHiddenElements||[],e.client_id]}}))})),e({type:r.customizationConstants.UPDATE_BP_ONLY,payload:{...a,[t]:i}})}},generateWordPressAPIKey:function(){return(t,e)=>{let n=e().customization.present.project;t({type:r.customizationConstants.REQUEST_GENERATE_WP_API_KEY}),u.customBuilderService.generateWordPressAPIKey(n).then((e=>{t(st(r.customizationConstants.SUCCESS_GENERATE_WP_API_KEY,e))}),(e=>{window?.showToast({type:"error",msg:"Couldn't generate WordPress API key. Please try again later or contact support"}),t((0,c.failure)(r.customizationConstants.FAILURE_GENERATE_WP_API_KEY))}))}},disconnectWordpress:function(t){return(e,n)=>{let o=n().customization.present.project;e({type:r.customizationConstants.REQUEST_DISCONNECT_WORDPRESS}),u.customBuilderService.disconnectWordpress(t,o).then((t=>{e(st(r.customizationConstants.SUCCESS_DISCONNECT_WORDPRESS,t))}),(t=>{window?.showToast({type:"error",msg:"Couldn't generate WordPress API key. Please try again later or contact support"}),e((0,c.failure)(r.customizationConstants.FAILURE_DISCONNECT_WORDPRESS))}))}},markAsHomePage:function(t){return(e,n)=>{const o=n().customization.present.project;window?.showToast({type:"info",msg:"Please wait while we are moving the pages..."}),u.customBuilderService.markAsHomePage(o,t).then((t=>{window.location.href=window.location.origin+`/app/builder?project=${o}#home`,window.location.reload(!0)}),(t=>{window?.showToast({type:"error",msg:"There was an error moving pages... Please try again later or contact support."})}))}},generateAIForPage:function(t="",e=""){return(n,o)=>{const a=o(),i=a.customization.present.data.uniqueUrl,s=a.customization.present.context;n({type:r.customizationConstants.REQUEST_GENERATE_AI_FOR_PAGE}),u.customBuilderService.generateAIForPage(i,s,t,e).then((async t=>{let e={};const o=lt({blueprint:t.blueprint});Object.keys(o||{}).map((t=>{let n=o?.[t]||{};"linkedComponent"===n?.meta?.type&&(e[t]=n)}));const a=o?.[s],i=await(0,h.importBasicComponents)(a.components);a.components={...a.components,...i},n(st(r.customizationConstants.SUCCESS_GENERATE_AI_FOR_PAGE,{context:s,page:a,linkedComponentBlueprints:e})),n(v.uiActions.setShowGeneratePageModal(!1))}),(t=>{window?.showToast({type:"error",msg:"Something went wrong. Please try again later or contact support"}),n((0,c.failure)(r.customizationConstants.FAILURE_GENERATE_AI_FOR_PAGE))}))}},unlinkVariablesUsedInProject:function(t,e,n=(()=>"")){return(o,a)=>{const i=a().customization.present.data.uniqueUrl;o(it(r.customizationConstants.REQUEST_UNLINK_VARIABLES_USED_IN_PROJECT)),window?.showToast({type:"info",msg:"deleting variable and unlinking all references..."}),u.customBuilderService.unlinkVariablesUsedInProject(i,t,e).then((()=>{const{updatedBlueprint:a,updatedClasses:i}=(0,h.unlinkVariablesUsedInProjectHelper)(t,e);o(st(r.customizationConstants.SUCCESS_UNLINK_VARIABLES_USED_IN_PROJECT,{blueprint:a,classes:i})),n(),window?.showToast({type:"success",msg:"variable deleted successfully"})}),(t=>{o((0,c.failure)(r.customizationConstants.FAILURE_UNLINK_VARIABLES_USED_IN_PROJECT)),window?.showToast({type:"error",msg:"Something went wrong. Please try again later or contact support"})}))}},updateComponentFieldMappingFromSocket:function(t){return(e,n)=>{const o=n();let r=d()(o.customization.present.data.blueprint);const{componentFieldMapping:a={},context:i,...s}=t,{isLinkedComponentInstance:c,linkedComponentMetaId:u,linkedComponentMapping:l}=s;let p=r[i];c&&(p=r[u]),Object.keys(a).map((t=>{p.components[t].props.componentData={...p.components[t].props.componentData,fieldId:a[t]}})),e(ot("blueprint",r,!1))}},updateNotificationEmailSettings:function(t,e,n={}){const{makeAPICall:o=!0}=n;return(n,r)=>{const a={...r().customization.present.data.notificationEmailSettings,formNotifications:e,emailAddresses:t};n(v.uiActions.updatingEmailNotify(!0)),n(w.updateBlueprintContents("notificationEmailSettings",a,o,{},{},(()=>{n(v.uiActions.updatingEmailNotify(!1))})))}},switchEditorMode:function(t,e=null){return(n,o)=>{if(n({type:r.customizationConstants.SWITCH_EDITOR_MODE,payload:t}),"basic"===t)n(W(1)),n(v.uiActions.setShowElementFloatingPopup(!1)),n(v.uiActions.setRightSideEditPopupType(null));else{const t=o().customization.present.data.view;n(q(t))}n(v.uiActions.layoutShiftRequired("edit-panel")),requestIdleCallback((()=>{n(v.uiActions.setDockSidebarActiveMenu(e||"componentEdit"))}))}},updatePlaygroundDocumentHeadFlag:function(t){return e=>{e({type:r.customizationConstants.UPDATE_PLAYGROUND_DOCUMENT_HEAD_FLAG,payload:t})}},setAiOnboarding:k,generateMetaFromPrompt:M,createProjectFromPrompt:j,checkTemplate:function(t){return(e,n)=>{e({type:r.customizationConstants.REQUEST_CHECK_TEMPLATE}),u.customBuilderService.checkTemplate(t).then((t=>{e(st(r.customizationConstants.SUCCESS_CHECK_TEMPLATE,t))}),(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_CHECK_TEMPLATE))}))}},handleRegenerateAIProject:function(){return(t,e)=>{let n={...e().customization.present.aiOnboarding,...JSON.parse(localStorage.getItem("aiOnboardingLS"))};if(_().track("aiOnboardV2 - Regenerating AI Project",{previousLogId:n.logId,category:n.category,businessName:n.businessName,location:n.location,keywords:n.keywords,projectName:n.projectName,language:n.language,isFunnel:n.isFunnel,aiService:n.aiService,objective:n.objective,prompt:n.prompt,templateId:n.templateId}),n?.objective||n?.templateId){if(n?.businessName&&n?.category){const e=(0,E.Z)();return t(k({...n,logId:e,currentStep:"loading-screen",hasErrorOnCreateProjectFromPrompt:!1,errorMsgOnCreateProjectFromPrompt:""})),void t(j(n.prompt,n.templateId,{logId:e,category:n.category,businessName:n.businessName,location:n.location,keywords:n.keywords,projectName:n.projectName,language:n.language,isFunnel:n.isFunnel,aiService:n.aiService,objective:n.objective,setting:"default",errorAction:e=>{t(k({...n,currentStep:"loading-screen",hasErrorOnCreateProjectFromPrompt:!0,errorMsgOnCreateProjectFromPrompt:e}))}}))}return t(k({...n,currentStep:"2"})),void t(M({prompt:n.prompt,objective:n.objective,isFunnel:n.isFunnel,aiService:n.aiService,language:n.language}))}t(k({...n,currentStep:"0"}))}},updateStaticMedia:function(t,e){return(n,o)=>{const a=function(t,e,n){return t.map((t=>t.src===e?null===n?{...t,src:""}:{...t,...n}:t)).filter((t=>""!==t.src))}(o().customization.present.data.staticMedia,t,e);n({type:r.customizationConstants.UPDATE_STATIC_MEDIA,payload:a})}}};const F=(t,e)=>(n,o)=>{const r=o().customization.present.data,a="https://res.cloudinary.com/storylens/image/upload/v1618515994/static/defaultBgImg.svg";if(!r.blueprint)return;let i=d()(r.blueprint);Object.keys(i).forEach((n=>{const o=i[n];o&&o.components&&t.forEach((t=>{const n=o.components[t];if(n&&n.props&&(n.props.src&&(n.props.src=a),n.props.componentStyle?.global?.backgroundImage)){const t=n.props.componentStyle.global.backgroundImage.split(",").map((t=>t.trim())).map((t=>{if(t.includes("url(")&&t.includes(e)){if(t.includes("linear-gradient")){return`${t.substring(0,t.lastIndexOf("url("))}url(${a})`}return`url(${a})`}return t.includes("linear-gradient"),t}));n.props.componentStyle.global.backgroundImage=t.join(", ")}}))})),n(ot("blueprint",i,!1,{},{executeCallbackWhenAPICallIsFalse:!0},(()=>{n(v.uiActions.gridLayoutChildUpdateRequired())})))};function M(t){return(e,n)=>{e({type:r.customizationConstants.REQUEST_GENERATE_META_FROM_PROMPT});const o=n();_().track("aiOnboardV2 - Generating Meta from Prompt",{...t});const a=o.customization.present.aiOnboarding;u.customBuilderService.generateMetaFromPrompt(t).then((n=>{_().track("aiOnboardV2 - Meta Generated Successfully",{objective:t.objective,prompt:t.prompt,businessName:n?.businessName,category:n?.category,location:n?.location,aiService:n?.aiService?.name,language:n?.languageCode,isFunnel:n?.meta?.isFunnel}),e(k({...a,businessName:n?.businessName,category:n?.category,location:n?.location,aiService:n?.aiService?.name,keywords:n?.keywords||[],language:n?.languageCode,isFunnel:n?.meta?.isFunnel,objective:n?.meta?.objective,categoryData:n?.meta?.categoryData,projectName:n?.projectName,currentStep:3,hasErrorOnGeneratingMetaFromPrompt:!1,errorMsgOnGeneratingMetaFromPrompt:""})),e(st(r.customizationConstants.SUCCESS_GENERATE_META_FROM_PROMPT))}),(n=>{_().track("aiOnboardV2 - Meta Generation Failed",{prompt:t.prompt,objective:t.objective,error:n}),e((0,c.failure)(r.customizationConstants.FAILURE_GENERATE_META_FROM_PROMPT,`${n}. Refresh the page and try again.`))}))}}function k(t){return e=>{e({type:r.customizationConstants.SET_AI_ONBOARDING,payload:t})}}function j(t,e,n={}){const{logId:o,language:a,setting:i,category:s,businessName:l,location:p,keywords:d,subCategory:f,projectName:E,websiteType:m,aiService:h,objective:g,isFunnel:S,mockError:T}=n;return(y,C)=>{const b=C(),A=b.user.data?.preferences,I=A?.p_attempt||0,O=b?.customization?.present?.aiOnboarding||{},R=b?.ui?.aiFailureAttempt||0;localStorage.setItem("aiOnboardingLS",JSON.stringify({...O})),y(it(r.customizationConstants.REQUEST_CREATE_PROJECT_FROM_PROMPT)),_().track("aiOnboardV2 - Creating Project from Prompt",{logId:o,language:a,setting:i,category:s,businessName:l,location:p,keywords:d,subCategory:f,projectName:E,websiteType:m,aiService:h,objective:g,isFunnel:S,mockError:T,aiFailureAttempt:R}),u.customBuilderService.createProjectFromPrompt({prompt:t,templateId:e,category:s,businessName:l,location:p,logId:o,language:a,setting:i,keywords:d,subCategory:f,projectName:E,websiteType:m,aiService:h,objective:g,isFunnel:S,aiFailureAttempt:R}).then(((t=[])=>{_().track("aiOnboardV2 - Successfully Created Project from Prompt",{templateId:t._id,templateName:t.designName,logId:o,aiLogId:t.aiLogId,language:a,setting:i,category:s,businessName:l,location:p,keywords:d,subCategory:f,projectName:E,websiteType:m,aiService:t.aiService,objective:g,isFunnel:S,aiFailureAttempt:R}),y(v.uiActions.setAIFailureAttempt(0)),y(N.userActions.updateUserFields({preferences:{...A,p_attempt:I+1}})),y(st(r.customizationConstants.SUCCESS_CREATE_PROJECT_FROM_PROMPT,t))}),(t=>{const e="Something went wrong. Please try again with a different prompt.";_().track("aiOnboardV2 - Error in Creating Project from Prompt",{logId:o,language:a,setting:i,category:s,businessName:l,location:p,keywords:d,subCategory:f,projectName:E,websiteType:m,objective:g,isFunnel:S,error:t,aiFailureAttempt:R}),y(v.uiActions.setAIFailureAttempt()),n.errorAction?.(e),y((0,c.failure)(r.customizationConstants.FAILURE_CREATE_PROJECT_FROM_PROMPT,e.toString()))}))}}function B(){return t=>{t({type:r.customizationConstants.UNDOS_REVISION_UPDATE_COMPLETED})}}function G(t,e,n,o={}){const{updateState:a,successUrl:i,clientId:s}=o;let{id:l=""}=t;return(t,o)=>{let p=o().customization.present.project;t(it(r.customizationConstants.REQUEST_GENERIC_API_CALL)),u.customBuilderService.makeExternalRequest(p,l,e,n).then((e=>{e&&e.data&&e.data.ok?(t(st(r.customizationConstants.SUCCESS_GENERIC_API_CALL,e.data)),a&&(t(z(s,"success")),i&&setTimeout((()=>{window.location.href=i}),500))):(t(st(r.customizationConstants.FAILURE_GENERIC_API_CALL,e.data)),a&&t(z(s,"error")))})).catch((e=>{t((0,c.failure)(r.customizationConstants.FAILURE_GENERIC_API_CALL,{status:400,ok:!1,json:e,text:JSON.stringify(e)})),a&&t(z(s,"error"))}))}}function z(t,e){return n=>{n({type:r.customizationConstants.UPDATE_FORM_STATE,payload:{name:t,value:e}})}}function H(t){return e=>{e({type:r.customizationConstants.SET_STYLE_SETTINGS_FOLDABLE_BLOCK,payload:t})}}function W(t){return(e,n)=>{const o=n().customization.present.documentContext;if(o){var a=o.querySelector(":root");const{CANVAS_LABEL_HEIGHT:e,HEROSECTION_MARGIN_TOP:n,CUSTOMIZATIONPARENT_BOX_SHADOW_SE:r,CUSTOMIZATIONPARENT_BOX_SHADOW_NW:i,CUSTOMIZATIONPARENT_BOX_SHADOW_LIGHTER_SE:c,CUSTOMIZATIONPARENT_BOX_SHADOW_LIGHTER_NW:u}=s.builderConstants,l=-e/t+"px",p=n*t+"px",d=i/t+"px",f=r/t+"px",E=u/t+"px",m=c/t+"px";a.style.setProperty("--zoom-inverse-top",l),a.style.setProperty("--herosection-margin-top",p),a.style.setProperty("--customizationParent-box-shadow-nw",d),a.style.setProperty("--customizationParent-box-shadow-se",f),a.style.setProperty("--customizationParent-box-shadow-lighter-nw",E),a.style.setProperty("--customizationParent-box-shadow-lighter-se",m),a.style.setProperty("--zoom-inverse",1/t)}e({type:r.customizationConstants.UPDATE_CANVAS_TRANSFORM_VALUE,payload:t})}}function V(t,e){return async n=>{let o=await(0,h.addMultipleImports)(t,e),a={};return o.map((t=>{a[t.client_id]=t})),n({type:r.customizationConstants.UPDATE_BLUEPRINT_WITH_MULTIPLE_COMPONENTS,payload:a,currentView:e}),o}}function $(t){return(e,n)=>{if(!t.clientId)return void e((0,c.failure)(r.customizationConstants.FAILURE_UPDATE_SITE_FONTS));const o=n();let a=o.customization.present.project;if(t.fontFamily){let n=d()(o.customization.present.activeFonts),a=new Set(n);a.add(`${t.fontFamily}:100,200,300,400,500,600,700,800,900`),n=[...a],e({type:r.customizationConstants.UPDATE_ACTIVE_FONTS,payload:n})}const i=d()(o.customization.present.data.fonts);i[t.clientId]={...i[t.clientId],...t},e(it(r.customizationConstants.REQUEST_UPDATE_SITE_FONTS,i)),u.customBuilderService.updateFontsUsedInSite(i,a).then((()=>{e(st(r.customizationConstants.SUCCESS_UPDATE_SITE_FONTS,t))}),(t=>{e((0,c.failure)(r.customizationConstants.FAILURE_UPDATE_SITE_FONTS,t))}))}}function Q(t,e,n){return(o,a)=>{let i=a(),s=d()(i.customization.present.data.blueprint[e][n.name?n.name:"tempLayouts"]),c={...s};n.allLayouts?Object.keys(s).map((e=>{c[e]=[],c[e]=s[e].filter((e=>!Object.keys(t).includes(e.i)))})):(c[n.currentBreakpoint]=[],c[n.currentBreakpoint]=s[n.currentBreakpoint].filter((e=>!Object.keys(t).includes(e.i)))),o({type:r.customizationConstants.REMOVE_LAYOUTS_FROM_TEMP_LAYOUTS,payload:c,currentView:e,name:n.name?n.name:"tempLayouts"})}}function Y(t,e,n,o){return a=>{a({type:r.customizationConstants.REQUEST_PUBLISH_PROJECT}),o&&a({type:r.customizationConstants.UPDATE_SUBDOMAIN_NAME,payload:o}),u.customBuilderService.publishPage(t,e,n,o).then((t=>{a(v.uiActions.setPublishSiteLoadingStatus(!1)),a(st(r.customizationConstants.SUCCESS_PUBLISH_PROJECT,t))}),(t=>{a(v.uiActions.setPublishSiteLoadingStatus(!1)),a((0,c.failure)(r.customizationConstants.FAILURE_PUBLISH_PROJECT,t.toString()))}))}}function K(t){return(e,n)=>{const o=n();e(v.uiActions.hideAllEditPopups()),e(v.uiActions.setIsHoveringInsideForElementAddition(!1)),o?.customization?.present?.showStyleSettingsFoldableBlockCondition&&e(H(!1));if(o.customization.present.showAPIEditor)return;if(o.customization.present.data.currentlySelectedComponentId===t)return;try{let n=o.customization.present.data.blueprint,r=o.customization.present.context,a=n[r].components[t].props.componentData.childOf;if(a&&a[0]){if(!!(0,l.checkNested)(n,r,"components",a[0],"props","componentData","groupChildren")&&n[r].components[a[0]].props.componentData.groupChildren)return void e(K(a[0]))}}catch(i){}try{let n=o.customization.present.data.blueprint[o.customization.present.context].components[t].linkedProps?.instanceId;if((0,h.isInstanceOfAnyLinkedComponent)(n))return void e({type:r.customizationConstants.STORE_SELECTED_COMPONENT,payload:n})}catch(s){}e({type:r.customizationConstants.STORE_SELECTED_COMPONENT,payload:t});const a=o.customization.present.documentContext;if(a){const e=a.getElementById(t);e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}}function q(t){const{getState:e}=o.default,n=e(),{getState:a}=o.clientStore,i=a(),c=n.ui.screenWidth,u=n.customization.present.editorMode,l=i.ui.viewSetFromSSR;let p=!1;const d=l||t;window.location.pathname?.includes("/playground-preview")&&(p=!0);let f="bp_1280"===d?"bp_1280":"bp_1440"===d?"bp_1440":"bp_1920"===d?"bp_1920":"tablet"===d?"md":"mobile"===d?"sm":"lg";return t=>{if("mobile"!==d&&"tablet"!==d||t(W(1)),"web"===d&&c)if("basic"===u)t(W(1));else{const e=(c-(p?s.builderConstants.AI_PREVIEW_CUSTOMIZE_WIDTH_EXCLUDED:s.builderConstants.CANVAS_WIDTH_EXCLUDED))/c;"number"===typeof e&&t(W(e))}t({type:r.customizationConstants.CHANGE_VIEW,payload:d,breakpoint:f})}}function J(t,e,n,o={}){return(a,i)=>{let s,l,p=t.url.substr(1),d=i().customization.present.data.blueprint.home;if(d){let t=[],e=[];Object.keys(d.components).filter((n=>("navbar"===d.components[n].category&&(t=[...t,n]),"footer"===d.components[n].category&&(e=[...e,n]),"")));let n={lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]};t&&t[0]&&Object.keys(d.layouts).map((e=>{n[e]=[...n[e],...d.layouts[e].filter((e=>e.i===t[0]))]})),e&&e[0]&&Object.keys(d.layouts).map((t=>{n[t]=[...n[t],...d.layouts[t].filter((t=>t.i===e[0]))]})),s={[t[0]]:d.components[t[0]],[e[0]]:d.components[e],Global0007:{author:"Storylens",category:"global",context:["Homepage","something"],custom:!1,main:null,name:"Global",props:{componentData:{hideIn:[]}},client_id:"Global0007",type:"global",zIndex:200,components:null,isStatic:!0,parent:void 0,component:{}}},l=n,delete s.undefined}let f={[p]:{components:s,layouts:l,meta:{name:t.name,id:p,previewImage:"",activeBreakpoints:["lg","md","sm"],autoResponsiveComponents:{md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]}}}};a(it(r.customizationConstants.REQUEST_ADD_PAGE,f)),u.customBuilderService.addNewPage(f,e,n,o).then((()=>{a(st(r.customizationConstants.SUCCESS_ADD_PAGE,f,{isAddedNewProject:o.isAddedNewProject}))}),(t=>{a((0,c.failure)(r.customizationConstants.FAILURE_ADD_PAGE,t.toString()))}))}}function X(t,e,n){const{dispatch:r}=o.default,a=t.blueprint[e].components[n];if(a&&("text"===a.type||"navbar"===a.category)){let e=t.fonts;delete e[n],r($(e))}}function Z(t,e,n){return null==n&&(n={}),(o,a)=>{const i=a(),s=d()(i.customization.present.data);if((0,h.checkIfCurrentContextIsLinkedComponentCanvas)(e)){const n=s.blueprint[e]?.layouts?.lg?.[0]?.i;if(t===n)return void window.showToast({msg:"This component can't be deleted",type:"warning"})}const c=s.blueprint[e]?.components?.[t]||{};let u={};if(c.linkedProps?.linkedComponentMetaId){const t=c.linkedProps.instanceId,e=c.linkedProps.linkedComponentMetaId,n=s.blueprint[e],o=n.meta.instances.filter((e=>e!==t)),r=(0,h.returnUpdatedUsedBy)(e,s.blueprint,o);u={updateLinkedComponent:!0,linkedComponentMetaId:e,updatedLinkedComponents:{[e]:{...n,meta:{...n.meta,instances:o,usedBy:r}}}}}const l=s.blueprint[e][t];let p=[];"undefined"!==typeof l?(p=(0,h.findAllChildren)(s.blueprint[e],t,[],!0).flat(1/0),p=p.map((t=>(X(s,e,t),t)))):p=[t],X(s,e,t);let f=d()(s.blueprint[e]);const E=f.components[t]?.parent||"layouts";Object.keys(f.components).map((t=>{p.includes(t)&&delete f.components[t]})),Object.keys(f).map((t=>{p.includes(t)&&delete f[t]}));let m={};f[E]&&Object.keys(f[E]).map((e=>{m[e]=f[E][e].filter((e=>e?.i!==t))})),f[E]=m;let _={};const{autoResponsiveComponents:g={}}=s.blueprint[e].meta;["sm","md","bp_1280","bp_1440","bp_1920"].map((t=>{const e=g[t]||[];let n=[...e];n=e.filter((t=>!p.includes(t))),_={..._,[t]:n}})),f.meta.autoResponsiveComponents=_;const S={...s.blueprint,[e]:f,...u.updateLinkedComponent?u.updatedLinkedComponents:{}};o(ot("blueprint",S,void 0,{origin:"removeCompoent",linkedComponents:u.updateLinkedComponent?[u.linkedComponentMetaId]:void 0})),o({type:r.customizationConstants.REQUEST_DELETE_COMPONENT}),o({type:r.customizationConstants.SUCCESS_DELETE_COMPONENT,payload:{clientId:t,blueprint:S}}),n.newSelectedComponent?o(K(n.newSelectedComponent)):o(K("Global0007")),o({type:r.customizationConstants.UNDOS_REVISION_UPDATE}),o(B()),o(v.uiActions.layoutShiftRequired()),o(v.uiActions.gridLayoutChildUpdateRequired())}}function tt(t,e,n,o){return a=>{o&&o.delete?(a({type:r.customizationConstants.REQUEST_DELETE_COMPONENT}),a({type:r.customizationConstants.SUCCESS_DELETE_MULTIPLE_COMPONENTS,payload:t,currentView:e,currentBreakpoint:n,options:o})):(a({type:r.customizationConstants.REQUEST_HIDE_COMPONENT}),a({type:r.customizationConstants.SUCCESS_HIDE_MULTIPLE_COMPONENTS,payload:t,currentView:e,currentBreakpoint:n,options:o}))}}function et(t,e){return t?(n,o)=>{o().user.data.isAdmin&&(n({type:r.customizationConstants.REQUEST_ADMIN_WEBBUILDER_UPDATE}),u.customBuilderService.updateWebBuilderAdmin(t,e).then((e=>{!e||e&&e.error?(setTimeout((()=>{n({type:r.customizationConstants.CLEAR_ADMIN_UPDATE_WEBBUILDER_ERROR})}),5e3),n({type:r.customizationConstants.FAILURE_ADMIN_WEBBUILDER_UPDATE,payload:"Something went wrong"})):(setTimeout((()=>window.location.reload()),3e3),n({type:r.customizationConstants.SUCCESS_ADMIN_WEBBUILDER_UPDATE,payload:t}))}),(t=>{n({type:r.customizationConstants.FAILURE_ADMIN_WEBBUILDER_UPDATE,payload:t.toString()}),setTimeout((()=>{n({type:r.customizationConstants.CLEAR_ADMIN_UPDATE_WEBBUILDER_ERROR})}),5e3)})))}:null}const nt=(0,S.debounce)(1e3,(t=>t()));function ot(t,e,n=!0,o={},a={},i=(()=>{})){return e?(s,c)=>{const l=c();let{project:p,context:d,playground:f}=l.customization.present;a?.pageNameBeingUpdated&&(d=a.pageNameBeingUpdated);let E="blueprint"===t?"data":t;if(s({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT_REQUEST}),s({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT,payload:{dataname:t,content:e}}),"functions"===t&&s({type:r.functionConstants.UPDATE_FUNCTION_CONTENT,payload:e}),n){a.apiRequestMsg&&window.showToast&&window.showToast({type:"info",msg:a.apiRequestMsg});const t=()=>u.customBuilderService.updateBlueprint(E,e,p,d,{...o,playground:f}).then((t=>{const e={};void 0!==t.version&&(e.version=t.version),void 0!==t.backupVersion&&(e.backupVersion=t.backupVersion),i(),o.successCallback&&o.successCallback(),s({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT_SUCCESS,payload:e}),o.skipUndoUpdate||s({type:r.customizationConstants.UNDOS_REVISION_UPDATE}),a.apiSuccessMsg&&window.showToast&&window.showToast({type:"success",msg:a.apiSuccessMsg})}),(t=>{s({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT_FAILURE,payload:t.toString()}),a.apiFailureMsg&&window.showToast&&window.showToast({type:"error",msg:a.apiFailureMsg}),o.failureCallback&&o.failureCallback(),console.error("error occured",t)}));a.debounceApiCall?nt(t):t()}else s({type:r.customizationConstants.UPDATE_BLUEPRINT_CONTENT_SUCCESS}),o.skipUndoUpdate||s({type:r.customizationConstants.UNDOS_REVISION_UPDATE}),a.executeCallbackWhenAPICallIsFalse&&i()}:null}async function rt(t,e,n,o,a){const i=o();if(0===(i.customization.present.activeFonts||[]).length){let e=new Set;t.fonts&&Object.keys(t.fonts).filter((n=>n&&t.fonts[n]&&t.fonts[n].fontFamily&&e.add(`${t.fonts[n].fontFamily}:100,200,300,400,500,600,700,800,900`))),e=Array.from(e)||[],n({type:r.customizationConstants.UPDATE_ACTIVE_FONTS,payload:e})}t.blueprint.home&&null==t.blueprint.home?.components&&(t.blueprint.home.components={});let s=i.customization.present.data.blueprint||{[a]:{}};if("preview"===e&&t.blueprint[a]&&s[a]&&t.blueprint[a].version===s[a].version)n(st(r.customizationConstants.SUCCESS_POLL_WEB_BUILDER));else{"preview"===e||Object.keys(t.blueprint).map((e=>{t.blueprint[e].components&&Object.values(t.blueprint[e].components).map((t=>{t.component&&(t.component=null)}))}));{const e={};t.componentManifest&&Object.keys(t.componentManifest).filter((n=>{"true"===t.componentManifest[n].custom&&(e[n]=t.componentManifest[n])})),t.componentManifest={...e}}if(t.functions&&Object.keys(t.functions).length>0){let e=t.functions;n(st(r.functionConstants.FUNCTION_FETCH_SUCCESS,e))}n(st(r.customizationConstants.SUCCESS_FETCH_WEB_BUILDER,t))}}function at(t,e,n,o={}){return n||(n="preview"),async(a,s)=>{const l=s();a(it(r.customizationConstants.REQUEST_FETCH_WEB_BUILDER));try{let c;const{isPlayground:p}=o;if(p){const t=new URLSearchParams(window.location.search),r=t.get("templateId")||"",a=t.get("fromPrompt")||"";r?c=await u.customBuilderService.fetchTemplateByKey(r,e,n,o):a&&Object.keys(l.customization.present.tempAIPromptData).length?(c=l.customization.present.tempAIPromptData,c.playground=!0,c.fromPrompt=!0):(localStorage.guestCustomizationDataId,setTimeout((()=>{window.location.href="/a/dashboard"}),500)),t.delete("fromPrompt"),delete o.isPlayground}else c=await u.customBuilderService.getWebBuilderDetails(t,e,n,o);if(0===(l.customization.present.activeFonts||[]).length||p){let t=new Set;c.fonts&&Object.keys(c.fonts).filter((e=>e&&c.fonts[e]&&c.fonts[e].fontFamily&&t.add(`${c.fonts[e].fontFamily}:100,200,300,400,500,600,700,800,900`))),t=Array.from(t)||[],a({type:r.customizationConstants.UPDATE_ACTIVE_FONTS,payload:t})}c.blueprint||(_().track("Builder redirection condition executed ",{project:t,page:e,type:n,isPlayground:p,optionsParams:o}),setTimeout((()=>{window.location.href=window.location.origin}),1e3)),null==c.blueprint.home.components&&(c.blueprint.home.components={});let d=l.customization.present.data.blueprint||{[e]:{}};if(c.blueprint=lt(c),"preview"===n&&c.blueprint[e]&&d[e]&&c.blueprint[e].version===d[e].version)a(st(r.customizationConstants.SUCCESS_POLL_WEB_BUILDER));else{"preview"===n||Object.keys(c.blueprint).map((t=>{c.blueprint[t].components&&Object.values(c.blueprint[t].components).map((t=>{t.component&&(t.component=null)}))}));{const t={};c.componentManifest&&Object.keys(c.componentManifest).filter((e=>{"true"===c.componentManifest[e].custom&&(t[e]=c.componentManifest[e])})),c.componentManifest={...t}}if(a(st(r.customizationConstants.SUCCESS_FETCH_WEB_BUILDER,c)),c.database&&!L()(c.database)&&"builder"===n?(a({type:x.databaseConstants.UPDATE_DATABASE_ID,payload:{id:c.database}}),a(U.databaseActions.initialDatabaseFetch(c._id,c.database))):a({type:x.databaseConstants.UPDATE_DATABASE_ID,payload:{id:""}}),"builder"===n){window.location.pathname.includes("/playground")||a(v.functionActions.initialFunctionsFetch(c._id));const t=s().customization.present.data._id,{assets:e=[],total:n,current_storage:o}=await i.supabaseService.fetchSupabaseImages(t);a({type:D.uiConstants.SET_PROJECT_ASSETS,payload:e}),a(v.uiActions.updateTotalImages(n)),a({type:D.uiConstants.UPDATE_STORAGE_INFO,payload:o})}}}catch(p){a((0,c.failure)(r.customizationConstants.FAILURE_FETCH_WEB_BUILDER,p.toString()))}}}function it(t,e){return{type:t,payload:e||null}}function st(t,e,n={}){return o=>{o({type:t,payload:e,options:n}),o({type:r.errorsConstants.REMOVE_ERROR})}}const ct=(0,S.debounce)(500,(async(t,e,n,a,i={})=>{const{dispatch:s,getState:l}=o.default,p=l(),{playground:d,context:f}=p.customization.present;u.customBuilderService.saveLayoutToServer({data:t},e,f,a).then((()=>{i.successCallback&&i.successCallback(),i.apiSuccessMsg&&window.showToast&&window.showToast({type:"success",msg:i.apiSuccessMsg})}),(t=>{n?n(t):s((0,c.failure)(r.customizationConstants.FAILURE_SAVE_LAYOUT,t.toString())),i.failureCallback&&i.failureCallback(),i.apiFailureMsg&&window.showToast&&window.showToast({type:"error",msg:i.apiFailureMsg})}))}));function ut(t={}){const{getState:e}=o.default;let n=e().customization.present.data;return n="object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"data")?{...n,blueprint:{...n.blueprint,...t}}:{...n,...t},n}const lt=t=>{const{blueprint:e}=t;let n={...e};const o=(0,h.getFilteredBlueprints)("linkedComponent",n);return Object.keys(o).map((t=>{const e=o[t],{meta:r,version:a=1,components:i={},layouts:s,...c}=e,{Global0007:u,...p}=i;if(0==Object.keys(p).length||!p)return;let d={};Object.keys(p).forEach((t=>{d[t]=void 0}));const{usedBy:E=[],instances:m=[],id:_}=r;E.map(((t,e)=>{const o=(r=n,(0,h.getFilteredBlueprints)("page",r));var r;if(!o[t])return;const{meta:a,version:i,components:s={},layouts:u,...E}=o[t],{Global0007:g,...S}=s,T=Object.keys(S);let y={};T.forEach((t=>{m.includes(t)&&S[t]?.linkedProps?.linkedComponentMetaId===_&&(y[t]=S[t])}));let C={};Object.keys(y).forEach((t=>{let e={};const n=y[t],{clientIdMap:o={}}=n.linkedProps||{};Object.keys(d).forEach((t=>{Object.prototype.hasOwnProperty.call(o,t)?e[t]=o[t]:e[t]=t.substring(0,t.length-4)+(0,f.default)(4)})),C[t]=e}));let b={},A={};Object.keys(y).forEach((t=>{const e=Object.keys(C[t]),n=Object.values(C[t]);let o=JSON.parse((0,h.replaceBulk)(JSON.stringify(p),e,n));Object.keys(o).forEach((e=>{let n={linkedProps:{instanceId:t}};e===t&&(n={linkedProps:{instanceId:t,clientIdMap:C[t],linkedComponentMetaId:_},...S[t]?.parent?{parent:S[t]?.parent}:{}}),o[e]={...o[e],...n}})),b[t]=o;let r=JSON.parse((0,h.replaceBulk)(JSON.stringify(c),e,n));A[t]=r}));const I=Object.entries(b).map((([t,e])=>e)).reduce(((t,e)=>({...t,...e})),{}),O={...(0,l.filterObject)(s,((t,e)=>!Object.keys(I).includes(e))),...I},R=Object.entries(A).map((([t,e])=>e)).reduce(((t,e)=>({...t,...e})),{}),v={...(0,l.filterObject)(E,((t,e)=>!Object.keys(R).includes(e))),...R};n={...n,[t]:{...n[t],components:O,...v}}}))})),n};const pt=()=>window&&window.location.origin},283:function(t,e,n){"use strict";n.r(e),n.d(e,{functionActions:function(){return E}});var o=n(7100),r=n(5654),a=n(7911),i=n(6354),s=n(6332),c=n(3465),u=n.n(c),l=n(7632),p=n(3778),d=n.n(p),f=n(1717);const E={createNewFunction:function(t,e,n){const{selectedEvent:r,uniqueId:a}=n;return(n,s)=>{if("setter"===e&&!r)return;const c=s(),u=c.customization.present.context,p=c.customization.present.data.blueprint,d=c.customization.present.data.currentlySelectedComponentId;let f=new Set(t.usedBy||[]);f.add(d),t.usedBy=[...f],n(m(o.functionConstants.REQUEST_CREATE_NEW_FUNCTION));let E=a||(0,l.Z)();E.startsWith("cd_fn_")||(E=`cd_fn_${E}`),t={...t,_id:E};const h={[E]:{...t,_id:E}},g={...c.functions.data.functionDefinitions,...h};if(n(i.customizationActions.updateBlueprintContents("functions",g,!0)),n(_(o.functionConstants.SUCCESS_CREATE_NEW_FUNCTION,h)),"setter"===e){const t=r?.id,e=p[u].components[d]?.props?.componentData;let o;const a=e?.events?.[t];if(Array.isArray(a)){if(a.length>0){o={[`cd_event_${(0,l.Z)()}`]:a}}}else o=a;const s={[`cd_event_${(0,l.Z)()}`]:[E]};o={...o,...s};const c={...e?.events||{},[t]:{...o}},f={client_id:d,context:u,props:{componentData:{...e,events:c}}};n(i.customizationActions.updateComponentProps(f))}if("getter"===e){const{blueprint:e}=c.customization.present.data,o=c.customization.present.context;let r=e[o].components[d];const a={client_id:d,context:o,props:{componentStyle:{...r.props?.componentStyle,global:{...r.props?.componentStyle?.global,display:[`${t._id}`]}}}};n(i.customizationActions.updateComponentProps(a))}}},updateFunction:function(t){const{_id:e}=t;return(n,r)=>{const a=r();n(m(o.functionConstants.REQUEST_UPDATE_FUNCTION,t));const s=e;let c=a.functions.data.functionDefinitions;c[s]=t,n(i.customizationActions.updateBlueprintContents("functions",c,!0)),n(_(o.functionConstants.SUCCESS_UPDATE_FUNCTION,c))}},initialFunctionsFetch:function(t){return(e,n)=>{const i=n();e(m(o.functionConstants.FUNCTION_FETCH_REQUEST));const{_id:c}=i.customization.present.data;r.functionService.initialFunctionsFetch({project:c||t}).then((t=>{if(!t)return;let n=t;const r=Object.values(n).map((t=>t.sequence)).flat(1/0);let a={};r.filter((t=>"createNewState"===t?.name)).map((t=>{t.arguments&&t.arguments[0]&&t.arguments[1]&&(a[t.arguments[0]]||(a[t.arguments[0]]={}),a[t.arguments[0]]={...a[t.arguments[0]],[t.arguments[1]]:{value:t.arguments[2]||""}})})),e(_(s.stateManagementConstants.LOAD_INITIAL_STATE,a)),e(_(o.functionConstants.FUNCTION_FETCH_SUCCESS,n))}),(t=>{e((0,a.failure)(o.functionConstants.FUNCTION_FETCH_FAILURE,t))}))}},removeFunctionFromEvent:function(t,e,n){return(o,r)=>{if(!e||!t)return;const a=r(),s=a.customization.present.context,c=a.customization.present.data.currentlySelectedComponentId,l=a.customization.present.data.blueprint[s].components[c]?.props?.componentData;let p=a.functions.data.functionDefinitions[t],f=new Set(p.usedBy||[]);f.delete(c),p.usedBy=[...f];let E=u()(l.events);d()(E[e])?E[e]=E[e].filter((function(e){return e!==t})):delete E[e][n];const m={client_id:c,context:s,props:{componentData:{...l,events:E}}};o(i.customizationActions.updateComponentProps(m))}},removeEventId:function(t,e){return(n,o)=>{if(!e)return;const r=o(),a=r.customization.present.context,s=r.customization.present.data.currentlySelectedComponentId,c=r.customization.present.data.blueprint[a].components[s]?.props?.componentData;let l=u()(c.events);d()(l[t])||delete l[t][e];const p={client_id:s,context:a,props:{componentData:{...c,events:l}}};n(i.customizationActions.updateComponentProps(p))}},appendFunctionToComponent:function(t,e,n={}){const{selectedEvent:r,selectedEventId:a}=n;return(n,s)=>{const c=s();if("setter"===e&&!r)return;const{_id:u}=t,l=c.customization.present.context,p=c.customization.present.data.blueprint,f=c.customization.present.data.currentlySelectedComponentId;let E,h=new Set(t.usedBy||[]);if(h.add(f),t.usedBy=[...h],"setter"===e){const e=r?.id,s=p[l].components[f]?.props?.componentData,h=s?.events?.[e];E=d()(h)?[...s?.events?.[e]||[],t._id]:{...s?.events?.[e]||{},[a]:[...s?.events?.[e]?.[a]||[],t._id]};const g={...s?.events||{},[e]:E},S={client_id:f,context:l,props:{componentData:{...s,events:g}}};n(m(o.functionConstants.REQUEST_UPDATE_FUNCTION,t));const T=u;let y=c.functions.data.functionDefinitions;y[T]=t,n(_(o.functionConstants.SUCCESS_UPDATE_FUNCTION,y)),n(i.customizationActions.updateBlueprintContents("functions",y,!0)),n(i.customizationActions.updateComponentProps(S))}}},reset:function(){return t=>{t({type:o.functionConstants.RESET})}},deleteFunction:function(t){return(e,n)=>{const r=n();e(m(o.functionConstants.REQUEST_DELETE_FUNCTION));let a=r.functions.data.functionDefinitions;const s=(0,f.deleteProperty)({...a},t);e(i.customizationActions.updateBlueprintContents("functions",s,!0)),setTimeout((()=>e(i.uiActions.setDeleteFunctionAlert(""))),900),e(_(o.functionConstants.SUCCESS_DELETE_FUNCTION,a))}}};function m(t,e){return{type:t,payload:e||null}}function _(t,e,n={}){return r=>{r({type:t,payload:e,options:n}),r({type:o.errorsConstants.REMOVE_ERROR})}}},1507:function(t,e,n){"use strict";n.r(e),n.d(e,{guestActions:function(){return i}});var o=n(7100),r=n(5654),a=n(7911);const i={getIdenticon:function(){return t=>{t(s(o.guestConstants.FETCH_IDENTICON)),r.guestServices.fetchIdenticon().then((e=>{localStorage.setItem("guestIdenticon",e.identicon),localStorage.setItem("guestToken",e.token),t(c(o.guestConstants.FETCH_IDENTICON_SUCCESS,e.identicon))}),(e=>{t((0,a.failure)(o.guestConstants.FETCH_IDENTICON_FAILURE,e))}))}},fetchIdenticonFromStorage:function(t){return e=>{e(c(o.guestConstants.FETCH_IDENTICON_SUCCESS,t))}},subscribeEmail:function(t){return e=>{e(s(o.guestConstants.SUBSCRIBE_EMAIL)),r.guestServices.subscribeEmail(t).then((()=>{e(c(o.guestConstants.SUBSCRIBE_EMAIL_SUCCESS,"Successfully subscribed"))}),(t=>{let n={type:"SUBSCRIBE_EMAIL_FAILURE",error:t};e(c(o.errorsConstants.ADD_ERROR,n)),e((0,a.failure)(o.guestConstants.SUBSCRIBE_EMAIL_FAILURE,t))}))}},clearSubscribeEmailMessage:function(){return t=>{t(c(o.guestConstants.CLEAR_SUBSCRIBE_EMAIL_MESSAGE))}}};function s(t){return{type:t}}function c(t,e){return n=>{n({type:t,payload:e})}}},6354:function(t,e,n){"use strict";n.r(e),n.d(e,{alertActions:function(){return o.alertActions},userActions:function(){return r.userActions},uiActions:function(){return a.uiActions},cloudinaryActions:function(){return i.cloudinaryActions},guestActions:function(){return s.guestActions},commonActions:function(){return p.commonActions},customizationActions:function(){return d.customizationActions},mergeAndReplaceBlueprintWithLatestLinkedComponentValues:function(){return d.mergeAndReplaceBlueprintWithLatestLinkedComponentValues},returnHostName:function(){return d.returnHostName},updateBlueprintAfterDeleteAsset:function(){return d.updateBlueprintAfterDeleteAsset},functionActions:function(){return f.functionActions}});var o=n(3855),r=n(3476),a=n(4055),i=n(5690),s=n(1507),c=n(7280),u={};for(var l in c)["default","alertActions","userActions","uiActions","cloudinaryActions","guestActions"].indexOf(l)<0&&(u[l]=function(t){return c[t]}.bind(0,l));n.d(e,u);var p=n(6811),d=n(930),f=n(283)},7280:function(){},4055:function(t,e,n){"use strict";n.r(e),n.d(e,{uiActions:function(){return u}});var o=n(4961),r=n(7878),a=n(3855),i=n(6774),s=n(2033),c=n(930);const u={toggleAuthenticationModal:function(){return t=>(t(a.alertActions.clear()),t({type:r.uiConstants.CLEAR_AUTHENTICATION_MODAL_TABS}),t({type:r.uiConstants.TOGGLE_AUTHENTICATION_MODAL_VISIBILITY}))},switchAuthenticationModalTabs:function(t){return{type:r.uiConstants.SWITCH_AUTHENTICATION_MODAL_TABS,name:t}},toggleNavigationDropdownMenu:function(){return{type:r.uiConstants.TOGGLE_NAVIGATION_DROPDOWN_MENU}},toggleSignUpModal:function(t){return{type:r.uiConstants.TOGGLE_SIGNUP_MODAL,message:t}},clearSignupModalMessage:function(){return{type:r.uiConstants.CLEAR_SIGNUP_MODAL_MESSAGE}},toggleStatsModalWindow:function(){return t=>{t({type:r.uiConstants.TOGGLE_STATS_MODAL_WINDOW})}},toggleSearchButton:function(){return t=>{t({type:r.uiConstants.TOGGLE_SEARCH_BUTTON})}},toggleDraftPublishModal:function(){return t=>{t({type:r.uiConstants.TOGGLE_DRAFT_PUBLISH_MODAL})}},toggleSideNav:function(){return{type:r.uiConstants.TOGGLE_SIDE_NAV}},setView:function(t,e){return n=>{n({type:r.uiConstants.SET_SCREEN_VIEW,payload:{view:t,width:e}})}},setPremiumModal:function(t){return e=>{e({type:r.uiConstants.SET_PREMIUM_MODAL,payload:t})}},setGuestModal:function(t){return e=>{e({type:r.uiConstants.SET_GUEST_MODAL,payload:t})}},toggleElementOutlines:function(t){return e=>{e({type:r.uiConstants.SET_ELEMENT_OUTLINE_VISIBILITY,payload:t})}},toggleBookmarkInnerTabs:function(t){return e=>{e({type:r.uiConstants.TOGGLE_BOOKMARK_INNER_TAB,payload:t})}},toggleIsLoading:function(t){return{type:r.uiConstants.TOGGLE_IS_LOADING,payload:t}},changeDBTab:function(t){return e=>{e({type:r.uiConstants.CHANGE_DB_TAB,payload:t})}},changeAppSettingsTab:function(t){return e=>{e({type:r.uiConstants.CHANGE_APP_SETTINGS_TAB,payload:t})}},setInitialLoadingStatus:function(t){return{type:r.uiConstants.SET_INITIAL_LOADING_STATUS,payload:t}},setPublishSiteLoadingStatus:function(t){return{type:r.uiConstants.SET_PUBLISH_SITE_LOADING_STATUS,payload:t}},setShowCreateTableModal:function(t){return e=>{e({type:r.uiConstants.SET_SHOW_CREATE_TABLE_MODAL,payload:t})}},setShowAddDataModal:function(t){return e=>{e({type:r.uiConstants.SET_SHOW_ADD_DATA_MODAL,payload:t})}},setDeleteRowAlert:function(t){return e=>{e({type:r.uiConstants.SET_DELETE_ROW_ALERT,payload:t})}},setDeleteTableAlert:function(t){return e=>{e({type:r.uiConstants.SET_DELETE_TABLE_ALERT,payload:t})}},setDeleteFunctionAlert:function(t){return e=>{e({type:r.uiConstants.SET_DELETE_FUNCTION_ALERT,payload:t})}},setDragSortedLayouts:function(t){return e=>{e({type:r.uiConstants.SET_DRAG_SORTED_LAYOUTS,payload:t})}},setDragStatus:function(t){return{type:r.uiConstants.SET_DRAG_STATUS,payload:t}},setDockSidebarActiveMenu:function(t=""){return e=>{e({type:r.uiConstants.SET_DOCK_SIDEBAR_ACTIVE_MENU,payload:t||"headers"})}},setCustomizationIsUpdatingFlag:function(t){return{type:r.uiConstants.CUSTOMIZATION_IS_UPDATING_FLAG,payload:t}},updateElementCollidingWithBreadcrumbs:function(t){const{getState:e}=i.default,n=e();if(n.ui.elementCollidingWithBreadcrumbs!==t)return{type:r.uiConstants.ELEMENT_COLLIDING_WITH_BREADCRUMBS,payload:t}},switchWorkspaceTab:function(t){return{type:r.uiConstants.SWITCH_WORKSPACE,payload:t}},setShowCustomComponentStyleModal:function(t){return{type:r.uiConstants.SHOW_CUSTOM_COMPONENT_STYLE_MODAL,payload:t}},setShowPricingModal:function(t,e=""){return{type:r.uiConstants.SHOW_PRICING_MODAL,payload:t,caseItem:e}},setShowChooseProjectForUpgradeModal:function(t){return{type:r.uiConstants.SHOW_CHOOSE_PROJECT_FOR_UPGRADE_MODAL,payload:t}},setPlaygroundModal:function(t,e=""){return n=>{n({type:r.uiConstants.SET_PLAYGROUND_MODAL,payload:t,caseItem:e})}},showSaveAndPublishPopupPlayground:function(t){return{type:r.uiConstants.SHOW_SAVE_AND_PUBLISH_POPUP_IN_PLAYGROUND,payload:t}},hideAllEditPopups:function(){return{type:r.uiConstants.HIDE_ALL_EDIT_POPUPS}},setShowElementFloatingPopup:function(t){return{type:r.uiConstants.SET_SHOW_ELEMENT_FLOATING_POPUP,payload:t}},setDoubleClickedPosition:function(t){return{type:r.uiConstants.SET_DOUBLE_CLICKED_POSITION,payload:t}},setShowFeatureUpdateModalFromBuilder:function(t){return{type:r.uiConstants.SHOW_FEATURE_UPDATE_MODAL_FROM_BUILDER,payload:t}},setComponentEditPanelInnerTabKey:function(t){return{type:r.uiConstants.SET_COMPONENT_EDIT_PANEL_INNER_TAB_KEY,payload:t}},toggleBuilderContextMenuVisibility:function(t){return{type:r.uiConstants.TOGGLE_BUILDER_CONTEXT_MENU_VISIBILITY,payload:t}},toggleSettingsContextAlertBox:function(t){return{type:r.uiConstants.TOGGLE_SETTINGS_CONTEXT_ALERT_BOX,payload:t}},setShowGeneratePageModal:function(t){return{type:r.uiConstants.SHOW_GENERATE_PAGE_MODAL,payload:t}},showPaymentPopup:function(t){return{type:r.uiConstants.SHOW_PAYMENT_POPUP,payload:t}},toggleExitModal:function(t){return{type:r.uiConstants.SHOW_EXIT_MODAL,payload:t}},setRightClickSideMenuStatus:function(t,e){return{type:r.uiConstants.SET_RIGHT_CLICK_SIDE_MENU_STATUS,payload:{status:t,position:e}}},setAISidebarStatus:function(t){return{type:r.uiConstants.SET_AI_SIDE_BAR_STATUS,payload:t}},layoutShiftRequired:function(t="generic"){return{type:r.uiConstants.LAYOUT_SHIFT_REQUIRED,payload:`${t}${(0,o.default)(8)}`}},gridLayoutChildUpdateRequired:function(){return{type:r.uiConstants.GRID_LAYOUT_CHILD_UPDATE_REQUIRED,payload:(0,o.default)(8)}},updateHoverElementPositionData:function(t){return{type:r.uiConstants.UPDATE_HOVER_ELEMENT_POSITION_DATA,payload:t}},setLegacyFormUpdating:function(t,e){if(!t)return;return{type:r.uiConstants.SET_LEGACY_FORM_UPDATING,payload:{clientId:t,val:e}}},setAddElementFlag:function(t,e){return{type:r.uiConstants.SET_ADD_ELEMENT_FLAG,payload:t,options:e}},setAddElementFromCanvasBodyFlag:function(t){return{type:r.uiConstants.SET_ADD_ELEMENT_FROM_CANVAS_BODY_FLAG,payload:t}},setAddElementHelperIds:function(t,e){return{type:r.uiConstants.SET_ADD_ELEMENT_HELPER_IDS,payload:{startId:t,endId:e}}},setIsHoveringInsideForElementAddition:function(t){return{type:r.uiConstants.SET_IS_HOVERING_INSIDE_FOR_ELEMENT_ADDITION,payload:t}},showSyncChangesModal:function(){return{type:r.uiConstants.SHOW_SYNC_CHANGES_MODAL,payload:!0}},setShowAdvancedOptions:function(){return{type:r.uiConstants.SHOW_ADVANCED_OPTIONS,payload:!0}},updatingEmailNotify:function(t){return{type:r.uiConstants.UPDATING_EMAIL_NOTIFY,payload:t}},triggerDoubleClick:function(t){return{type:r.uiConstants.TRIGGER_DOUBLE_CLICK,payload:t}},triggerShiftUpOrDown:function(t){return{type:r.uiConstants.TRIGGER_SHIFT_UP_OR_DOWN,payload:t}},setRightSideEditPopupType:function(t){return{type:r.uiConstants.SET_RIGHT_SIDE_EDIT_POPUP_TYPE,payload:t}},setIsHoveringOnPlusForElementAddition:function(t){return{type:r.uiConstants.SET_IS_HOVERING_ON_PLUS_FOR_ELEMENT_ADDITION,payload:t}},setPlaygroundSavingFlag:function(t){return{type:r.uiConstants.SET_PLAYGROUND_SAVING_FLAG,payload:t}},setAIFailureAttempt:function(t=null){return{type:r.uiConstants.SET_AI_FAILURE_ATTEMPT,payload:t}},toggleReferralPopup:function(t){return{type:r.uiConstants.TOGGLE_REFERRAL_POPUP,payload:t}},uploadImageFile:function(t){let e={asset_id:t.asset_id,name:t.name,height:t.height,width:t.width,src:t.secure_url,file_path:t.file_path,createdAt:t.created_at};return{type:r.uiConstants.SUCCESS_SAVE_IMAGE,payload:e}},failureSaveImage:function(t){return{type:r.uiConstants.FAILURE_SAVE_IMAGE,payload:t}},updateFileStorageInfo:function(t){return{type:r.uiConstants.UPDATE_STORAGE_INFO,payload:t}},updateProjectAsset:function(t,e){const{getState:n}=i.default,o=function(t,e,n){return t.map((t=>t.src===e?null===n?{...t,src:""}:{...t,...n}:t)).filter((t=>""!==t.src))}(n().ui.projectAssets,t,e);return{type:r.uiConstants.UPDATE_PROJECT_ASSETS,payload:o}},deleteImage:function(t,e,n={}){return o=>{o({type:r.uiConstants.DELETE_IMAGE_REQUEST,payload:t}),s.customBuilderService.deleteImageReferences(t,e,n).then((e=>{const n=e?.matchedClientIds||[];n.length>0&&(o((0,c.updateBlueprintAfterDeleteAsset)(n,t)),o(l()))})).catch((t=>{console.error("Error in deleteImage action:",t),o(l())}))}},resetDeletedImage:l,setIsDeletingImage:function(t){return async e=>{await e({type:r.uiConstants.IS_DELETING_IMAGE,payload:t})}},appendProjectAssets:function(t){return{type:r.uiConstants.SET_PROJECT_ASSETS,payload:t}},updateTotalImages:function(t){return{type:r.uiConstants.UPDATE_TOTAL_IMAGES,payload:t}}};function l(){return{type:r.uiConstants.RESET_DELETED_IMAGE}}},3476:function(t,e,n){"use strict";n.r(e),n.d(e,{userActions:function(){return l}});var o=n(7100),r=n(5654),a=n(6354),i=n(9972),s=n(7911),c=n(5122),u=n.n(c);const l={login:function(t,e,n){return c=>{c(f(o.userConstants.VERIFY_USER)),c(f(o.userConstants.LOGIN_REQUEST)),r.userService.login(t,e,n).then((t=>{t.emailVerification.isEmailVerified?!0===t.temporaryPasswordGenerated?c(E(o.userConstants.VERIFICATION_SUCCESS,t)):(c(E(o.userConstants.VERIFICATION_SUCCESS,t)),setTimeout((()=>{c(a.alertActions.clear())}),2e3)):(c(E(o.userConstants.VERIFICATION_SUCCESS,t)),!t.temporaryPasswordGenerated&&c(a.alertActions.success("Welcome back! You will need to confirm your email first"))),c(E(o.userConstants.LOGIN_SUCCESS,null))}),(t=>{c(E(o.userConstants.LOGIN_FAILURE,null)),c((0,s.failure)(o.userConstants.VERIFICATION_FAILURE,t.toString())),(0,i.removeItem)("token"),c(a.alertActions.error(t.toString())),setTimeout((()=>{c(a.alertActions.clear())}),5e3)}))}},logout:p,register:function(t){return e=>{e(f(o.userConstants.REGISTER_REQUEST)),r.userService.register(t).then((t=>{e(E(o.userConstants.REGISTER_SUCCESS,t))}),(t=>{e((0,s.failure)(o.userConstants.REGISTER_FAILURE,t.toString())),e(a.alertActions.error(t.toString())),setTimeout((()=>{e(a.alertActions.clear())}),5e3)}))}},removeUser:function(t){return e=>{e(f(o.userConstants.REQUEST_DELETE_USER)),r.userService.deleteUserAccount(t).then((t=>{e(p()),e(E(o.userConstants.SUCCESS_DELETE_USER,t))}),(t=>{e((0,s.failure)(o.userConstants.FAILURE_DELETE_USER,t))}))}},googleRegister:function(t,e,n){return i=>{i(f(o.userConstants.REGISTER_REQUEST)),r.userService.googleAuthentication(t,e,n.provider).then((t=>{i(E(o.userConstants.REGISTER_SUCCESS,t)),i(a.alertActions.success("Registration Successful")),setTimeout((()=>{i(a.alertActions.clear())}),2e3)}),(t=>{i((0,s.failure)(o.userConstants.REGISTER_FAILURE,t.toString())),i(a.alertActions.error(t.toString())),setTimeout((()=>{i(a.alertActions.clear())}),5e3)}))}},facebookRegister:function(t,e){return n=>{n(f(o.userConstants.REGISTER_REQUEST)),r.userService.facebookAuthentication(t,e).then((t=>{n(E(o.userConstants.REGISTER_SUCCESS,t)),n(a.alertActions.success("Registration Successful")),setTimeout((()=>{n(a.alertActions.clear())}),2e3)}),(t=>{n((0,s.failure)(o.userConstants.REGISTER_FAILURE,t.toString())),n(a.alertActions.error(t.toString())),setTimeout((()=>{n(a.alertActions.clear())}),5e3)}))}},googleLogin:function(t){return e=>{e(f(o.userConstants.LOGIN_REQUEST)),r.userService.googleAuthentication(t).then((t=>{e(E(o.userConstants.LOGIN_SUCCESS,t)),window.location.reload(),setTimeout((()=>{e(a.alertActions.clear())}),2e3)}),(t=>{window.showToast({type:"error",msg:"Error logging you in, try again later"}),e((0,s.failure)(o.userConstants.LOGIN_FAILURE,t.toString())),e(a.alertActions.error(t.toString())),setTimeout((()=>{e(a.alertActions.clear())}),5e3)}))}},facebookLogin:function(t,e){return n=>{n(f(o.userConstants.LOGIN_REQUEST));r.userService.facebookAuthentication(t,e,!0).then((t=>{n(E(o.userConstants.LOGIN_SUCCESS,t)),n(a.alertActions.success("Welcome back "+t.name.charAt(0)+"!")),setTimeout((()=>{n(a.alertActions.clear())}),2e3)}),(t=>{n((0,s.failure)(o.userConstants.LOGIN_FAILURE,t.toString())),n(a.alertActions.error(t.toString())),setTimeout((()=>{n(a.alertActions.clear())}),5e3)}))}},resendVerificationEmail:d,verifyEmailCode:function(t,e){return n=>{n(f(o.userConstants.REQUEST_OTP)),r.userService.verifyEmailCode(t,e).then((t=>{n(E(o.userConstants.SUCCESS_OTP,t)),n(a.alertActions.success(" Your account has been verified.")),setTimeout((()=>{n(a.alertActions.clear())}),2e3)}),(t=>{n((0,s.failure)(o.userConstants.FAILURE_OTP)),n(a.alertActions.error(t.toString())),setTimeout((()=>{n(a.alertActions.clear())}),5e3)}))}},getUserDetails:function(t){return e=>{e(f(o.userConstants.FETCH_USER)),r.userService.fetchUserDetails(t).then((t=>{e(E(o.userConstants.SUCCESS_FETCH_USER,t))}),(t=>{e((0,s.failure)(o.userConstants.REGISTER_FAILURE,t.toString()))}))}},saveUserDetails:function(t,e,n){return a=>{a(f(o.userConstants.SAVE_USER)),r.userService.postAuthorDetails(t,e).then((e=>{a(E(o.userConstants.SUCCESS_SAVE_USER,e)),n&&d(t),a({type:o.errorsConstants.REMOVE_ERROR}),window.showToast?.({type:"success",msg:"Successfully updated profile."}),a({type:o.alertConstants.SUCCESS,message:"Status successfully updated"})}),(t=>{window.showToast?.({type:"error",msg:"Failed to updated profile. Contact support if the issue persists"}),a({type:o.errorsConstants.ADD_ERROR,payload:{type:"USER_UPDATE_FAILED",error:t}}),a((0,s.failure)(o.userConstants.FAILURE_SAVE_USER,t.toString()))}))}},reportUser:function(t,e){return n=>{n({type:o.userConstants.REPORT_USER}),r.userService.reportUser(t,e).then((()=>{n({type:o.userConstants.REPORT_USER_SUCCESS,payload:"Successfully reported"})}),(t=>{n({type:o.errorsConstants.ADD_ERROR,payload:{type:"USER_REPORT_FAILURE",error:t}}),n({type:o.userConstants.REPORT_USER_FAILURE,payload:t})}))}},requestTempPassword:function(t){return e=>{e(f(o.userConstants.REQUEST_FORGOT_PASSWORD)),r.userService.requestTempPassword(t).then((t=>{t.token?((0,i.setItem)("fpToken",t.token),e(E(o.userConstants.SUCCESS_FORGOT_PASSWORD,t))):e((0,s.failure)("Something went wrong. Report the issue to support@storylens.com"))}),(t=>{e((0,s.failure)(o.userConstants.FAILURE_FORGOT_PASSWORD,t.toString()))}))}},clearUserReportMessage:function(){return t=>{t({type:o.userConstants.CLEAR_USER_REPORT_MESSAGE})}},updatePassword:function(t){return(e,n)=>{let a=n().user.data;e(f(o.userConstants.REQUEST_CONFIRM_PASSWORD)),r.userService.updatePassword(t,a).then((t=>{e(E(o.userConstants.SUCCESS_CONFIRM_PASSWORD,t)),(0,i.removeItem)("fpToken")}),(t=>{e((0,s.failure)(o.userConstants.FAILURE_CONFIRM_PASSWORD,t.toString()))}))}},fetchReferralList:function(){return(t,e)=>{let n=e().user.data._id||localStorage.getItem("uRI");t(f(o.userConstants.REQUEST_REFERRAL_LIST)),r.userService.fetchReferralList(n).then((e=>{t(E(o.userConstants.SUCCESS_REFERRAL_LIST,e))}),(e=>{t((0,s.failure)(o.userConstants.FAILURE_REFERRAL_LIST,e.toString()))}))}},updateUserFields:function(t={}){return(e,n)=>{let a=n().user.data;e(f(o.userConstants.REQUEST_UPDATE_USER_DATA)),r.userService.updateUserFields(a._id,t).then((t=>{e(E(o.userConstants.SUCCESS_UPDATE_USER_DATA,t))}),(t=>{e((0,s.failure)(o.userConstants.FAILURE_UPDATE_USER_DATA,t.toString()))}))}},updateTourTimer:function(t,e){return n=>{n({type:o.userConstants.UPDATE_TOUR_TIMER,payload:{tour:t,timer:e}})}},setIsPartOfCodeDesignTeam:function(t){return{type:o.userConstants.IS_PART_OF_CODE_DESIGN_TEAM,payload:t}},validateSocialReferForAI:function(t,e){return(n,a)=>{const i=a().user.data._id;n({type:o.userConstants.REQUEST_VALIDATE_SOCIAL_REFER_FOR_AI}),u().track("AI Onboard Referral - Handling Social Post Validation",{platform:t,postUrl:e}),r.userService.validateSocialReferForAI(i,t,e).then((r=>{const{socialReferForAI:a}=r;u().track("AI Onboard Referral - Success Handling Social Post Validation",{platform:t,postUrl:e,socialReferForAI:a}),n(E(o.userConstants.SUCCESS_VALIDATE_SOCIAL_REFER_FOR_AI,{...a,[t]:"inProgress"}))}),(r=>{u().track("AI Onboard Referral - Failure Handling Social Post Validation",{platform:t,postUrl:e,error:r.toString()}),n((0,s.failure)(o.userConstants.FAILURE_VALIDATE_SOCIAL_REFER_FOR_AI,{[t]:"false",error:r.toString()}))}))}}};function p(){return t=>{r.userService.logout(),t({type:o.userConstants.LOGOUT})}}function d(t){return e=>{r.userService.resendVerificationEmail(t).then((()=>{e(a.alertActions.success("Email sent!")),setTimeout((()=>{e(a.alertActions.clear())}),5e3)}),(t=>{e(a.alertActions.error(t.toString())),setTimeout((()=>{e(a.alertActions.clear())}),5e3)}))}}function f(t){return{type:t}}function E(t,e){return n=>{n({type:t,user:e})}}},9329:function(t,e,n){"use strict";n.r(e),n.d(e,{alertConstants:function(){return o}});const o={SUCCESS:"ALERT_SUCCESS",ERROR:"ALERT_ERROR",CLEAR:"ALERT_CLEAR"}},2212:function(t,e,n){"use strict";n.r(e),n.d(e,{cloudinaryConstants:function(){return o}});const o={IMAGE_UPLOAD_PERCENT:"IMAGE_UPLOAD_PERCENT",REQUEST_CLOUDINARY:"REQUEST_CLOUDINARY",SUCCESS_CLOUDINARY:"SUCCESS_CLOUDINARY",FAILURE_CLOUDINARY:"FAILURE_CLOUDINARY"}},641:function(t,e,n){"use strict";n.r(e),n.d(e,{commonConstants:function(){return o}});const o={REQUEST_FETCH_SITE:"REQUEST_FETCH_SITE_PROFILE",SUCCESS_FETCH_SITE:"SUCCESS_FETCH_SITE_PROFILE",FAILURE_FETCH_SITE:"FAILURE_FETCH_SITE_PROFILE",REQUEST_FETCH_PAGE:"REQUEST_FETCH_PAGE",SUCCESS_FETCH_PAGE:"SUCCESS_FETCH_PAGE",FAILURE_FETCH_PAGE:"FAILURE_FETCH_PAGE",TOGGLE_REFRESH_REQUIRED:"TOGGLE_REFRESH_REQUIRED",SUCCESS_UPDATE_SITE:"SUCCESS_UPDATE_SITE",REQUEST_ADD_DOMAIN:"REQUEST_ADD_DOMAIN",SUCCESS_ADD_DOMAIN:"SUCCESS_ADD_DOMAIN",FAILURE_ADD_DOMAIN:"FAILURE_ADD_DOMAIN",REQUEST_DOMAIN_LIST_OF_USER:"REQUEST_DOMAIN_LIST_OF_USER",SUCCESS_DOMAIN_LIST_OF_USER:"SUCCESS_DOMAIN_LIST_OF_USER",FAILURE_DOMAIN_LIST_OF_USER:"FAILURE_DOMAIN_LIST_OF_USER",REQUEST_VERIFICATION_STATUS:"REQUEST_VERIFICATION_STATUS",SUCCESS_VERIFICATION_STATUS:"SUCCESS_VERIFICATION_STATUS",FAILURE_VERIFICATION_STATUS:"FAILURE_VERIFICATION_STATUS",CLEAR_COMMON_ERROR:"CLEAR_COMMON_ERROR",CLEAR_SUBDOMAIN_ERROR:"CLEAR_SUBDOMAIN_ERROR",REQUEST_DELETE_DOMAIN:"REQUEST_DELETE_DOMAIN",SUCCESS_DELETE_DOMAIN:"SUCCESS_DELETE_DOMAIN",FAILURE_DELETE_DOMAIN:"FAILURE_DELETE_DOMAIN",REQUEST_SUBDOMAIN_CHECK:"REQUEST_SUBDOMAIN_CHECK",SUCCESS_SUBDOMAIN_CHECK:"SUCCESS_SUBDOMAIN_CHECK",FAILURE_SUBDOMAIN_CHECK:"FAILURE_SUBDOMAIN_CHECK",UPDATE_CLIENT_INPUTS:"UPDATE_CLIENT_INPUTS"}},9857:function(t,e,n){"use strict";n.r(e),n.d(e,{customizationConstants:function(){return o}});const o={UPDATE_STATIC_MEDIA:"UPDATE_STATIC_MEDIA",REQUEST_CHECK_TEMPLATE:"REQUEST_CHECK_TEMPLATE",SUCCESS_CHECK_TEMPLATE:"SUCCESS_CHECK_TEMPLATE",FAILURE_CHECK_TEMPLATE:"FAILURE_CHECK_TEMPLATE",SET_TITLES_FOR_AI_SECTIONS_USED_IN_BUILDER:"SET_TITLES_FOR_AI_SECTIONS_USED_IN_BUILDER",SET_AI_ONBOARDING:"SET_AI_ONBOARDING",RESET_AI_ONBOARDING:"RESET_AI_ONBOARDING",REQUEST_GENERATE_META_FROM_PROMPT:"REQUEST_GENERATE_META_FROM_PROMPT",SUCCESS_GENERATE_META_FROM_PROMPT:"SUCCESS_GENERATE_META_FROM_PROMPT",FAILURE_GENERATE_META_FROM_PROMPT:"FAILURE_GENERATE_META_FROM_PROMPT",SET_PROJECT_FROM_PROMPT_TRANSFERRED:"SET_PROJECT_FROM_PROMPT_TRANSFERRED",SET_STYLE_SETTINGS_FOLDABLE_BLOCK:"SET_STYLE_SETTINGS_FOLDABLE_BLOCK",TRIGGER_COMPONENT_EDIT_PANEL_UPDATE:"TRIGGER_COMPONENT_EDIT_PANEL_UPDATE",UPDATE_PLAYGROUND_DOCUMENT_HEAD_FLAG:"UPDATE_PLAYGROUND_DOCUMENT_HEAD_FLAG",REQUEST_UNLINK_VARIABLES_USED_IN_PROJECT:"REQUEST_UNLINK_VARIABLES_USED_IN_PROJECT",SUCCESS_UNLINK_VARIABLES_USED_IN_PROJECT:"SUCCESS_UNLINK_VARIABLES_USED_IN_PROJECT",FAILURE_UNLINK_VARIABLES_USED_IN_PROJECT:"FAILURE_UNLINK_VARIABLES_USED_IN_PROJECT",REQUEST_GENERATE_AI_FOR_PAGE:"REQUEST_GENERATE_AI_FOR_PAGE",SUCCESS_GENERATE_AI_FOR_PAGE:"SUCCESS_GENERATE_AI_FOR_PAGE",FAILURE_GENERATE_AI_FOR_PAGE:"FAILURE_GENERATE_AI_FOR_PAGE",AI_FEEDBACK_TOAST_PENDING:"AI_FEEDBACK_TOAST_PENDING",SET_RECENTLY_EDITED_COMPONENT:"SET_RECENTLY_EDITED_COMPONENT",STORE_PROJECT_PROMPT:"STORE_PROJECT_PROMPT",STORE_FLAG_TO_TRY_PROMPT_AGAIN:"STORE_FLAG_TO_TRY_PROMPT_AGAIN",UPDATE_UI_STATE:"UPDATE_UI_STATE",CLIENT_DEPLOY_PENDING:"CLIENT_DEPLOY_PENDING",UPDATE_BP_ONLY:"UPDATE_BP_ONLY",REQUEST_FETCH_COMPONENT_MANIFEST:"REQUEST_FETCH_COMPONENT_MANIFEST",SUCCESS_FETCH_COMPONENT_MANIFEST:"SUCCESS_FETCH_COMPONENT_MANIFEST",FAILURE_FETCH_COMPONENT_MANIFEST:"FAILURE_FETCH_COMPONENT_MANIFEST",REQUEST_FETCH_TEMPLATES:"REQUEST_FETCH_TEMPLATES",SUCCESS_FETCH_TEMPLATES:"SUCCESS_FETCH_TEMPLATES",FAILURE_FETCH_TEMPLATES:"FAILURE_FETCH_TEMPLATES",REQUEST_FETCH_TEMPLATES_V2:"REQUEST_FETCH_TEMPLATES_V2",SUCCESS_FETCH_TEMPLATES_V2:"SUCCESS_FETCH_TEMPLATES_V2",FAILURE_FETCH_TEMPLATES_V2:"FAILURE_FETCH_TEMPLATES_V2",REQUEST_FETCH_COMPONENT_LIBRARY_V2:"REQUEST_FETCH_COMPONENT_LIBRARY_V2",SUCCESS_FETCH_COMPONENT_LIBRARY_V2:"SUCCESS_FETCH_COMPONENT_LIBRARY_V2",FAILURE_FETCH_COMPONENT_LIBRARY_V2:"FAILURE_FETCH_COMPONENT_LIBRARY_V2",REQUEST_FETCH_TEMPLATE_BY_KEY:"REQUEST_FETCH_TEMPLATE_BY_KEY",SUCCESS_FETCH_TEMPLATE_BY_KEY:"SUCCESS_FETCH_TEMPLATE_BY_KEY",FAILURE_FETCH_TEMPLATE_BY_KEY:"FAILURE_FETCH_TEMPLATE_BY_KEY",REFRESH_CANVAS:"REFRESH_CANVAS",SET_TEMP_FONT_FAMILIES:"SET_TEMP_FONT_FAMILIES",TOGGLE_CUSTOMIZATION:"TOGGLE_CUSTOMIZATION",TOGGLE_IMAGE_EDIT_MODAL:"TOGGLE_IMAGE_EDIT_MODAL",TOGGLE_COMPONENT_EDIT_MODAL:"TOGGLE_COMPONENT_EDIT_MODAL",STORE_IMAGE_COMP_ID:"STORE_IMAGE_COMPONENT_ID",UPDATE_AUTO_RESPONSIVE_COMPS:"UPDATE_AUTO_RESPONSIVE_COMPS",REQUEST_FETCH_WEB_BUILDER:"REQUEST_FETCH_WEBBUILDER",SUCCESS_FETCH_WEB_BUILDER:"SUCCESS_FETCH_WEBBUILDER",FAILURE_FETCH_WEB_BUILDER:"FAILURE_FETCH_WEBBUILDER",REQUEST_UPDATE_PREVIEW_IMAGE:"REQUEST_UPDATE_PREVIEW_IMAGE",SUCCESS_UPDATE_PREVIEW_IMAGE:"SUCCESS_UPDATE_PREVIEW_IMAGE",FAILURE_UPDATE_PREVIEW_IMAGE:"FAILURE_UPDATE_PREVIEW_IMAGE",SUCCESS_POLL_WEB_BUILDER:"SUCCESS_POLL_WEBBUILDER",REQUEST_FETCH_WEB_BUILDERS:"REQUEST_FETCH_WEBBUILDERS",SUCCESS_FETCH_WEB_BUILDERS:"SUCCESS_FETCH_WEBBUILDERS",FAILURE_FETCH_WEB_BUILDERS:"FAILURE_FETCH_WEBBUILDERS",REQUEST_SAVE_LAYOUT:"REQUEST_SAVE_LAYOUT",SUCCESS_SAVE_LAYOUT:"SUCCESS_SAVE_LAYOUT",FAILURE_SAVE_LAYOUT:"FAILURE_SAVE_LAYOUT",CHANGE_VIEW:"CHANGE_BUILDER_VIEW",CHANGE_CONTEXT:"CHANGE_BUILDER_CONTEXT",CHANGE_ZINDEX:"CHANGE_ZINDEX",REQUEST_SAVE_CROPPED_IMAGE:"REQUEST_SAVE_CROPPED_IMAGE",SUCCESS_SAVE_CROPPED_IMAGE:"SUCCESS_SAVE_CROPPED_IMAGE",FAILURE_SAVE_CROPPED_IMAGE:"FAILURE_SAVE_CROPPED_IMAGE",STORE_IMAGE_COMP_ID_AND_URL:"STORE_IMAGE_COMP_ID_AND_URL",CHANGE_LAYOUT:"CHANGE_LAYOUT_ON_DROP",CHANGE_LAYOUT_CHILD:"CHANGE_LAYOUT_CHILD",DROP_UPDATE:"DROP_UPDATE",REPLACE_LAYOUT:"REPLACE_LAYOUT",REPLACE_TEMP_LAYOUT:"REPLACE_TEMP_LAYOUT",ADD_TEMP_LAYOUT:"ADD_TEMP_LAYOUT_ON_GROUP",UPDATE_BLUEPRINT:"UPDATE_BLUEPRINT",UPDATE_BLUEPRINT_WITH_MULTIPLE_COMPONENTS:"UPDATE_BLUEPRINT_WITH_MULTIPLE_COMPONENTS",BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE:"BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE",BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE_WM:"BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE_WM",UPDATE_COMPONENT_PROPS:"UPDATE_COMPONENT_PROPS",UPDATE_COMPONENT_PROPS_DONE:"UPDATE_COMPONENT_PROPS_DONE",REQUEST_DELETE_COMPONENT:"REQUEST_DELETE_COMPONENT",SUCCESS_DELETE_COMPONENT:"SUCCESS_DELETE_COMPONENT",SUCCESS_DELETE_MULTIPLE_COMPONENTS:"SUCCESS_DELETE_MULTIPLE_COMPONENTS",FAILURE_DELETE_COMPONENT:"FAILURE_DELETE_COMPONENT",REQUEST_HIDE_COMPONENT:"REQUEST_HIDE_COMPONENT",SUCCESS_HIDE_MULTIPLE_COMPONENTS:"SUCCESS_HIDE_MULTIPLE_COMPONENTS",REQUEST_DELETE_COMPONENT_FROM_MANIFEST:"REQUEST_DELETE_COMPONENT_FROM_MANIFEST",SUCCESS_DELETE_COMPONENT_FROM_MANIFEST:"SUCCESS_DELETE_COMPONENT_FROM_MANIFEST",FAILURE_DELETE_COMPONENT_FROM_MANIFEST:"FAILURE_DELETE_COMPONENT_FROM_MANIFEST",STORE_SELECTED_COMPONENT:"STORE_SELECTED_COMPONENT",STORE_SELECTED_COMPONENT_INTO_ARRAY:"STORE_SELECTED_COMPONENT_INTO_ARRAY",CLEAR_SELECTED_COMPONENTS_ARRAY:"REMOVE_SELECTED_COMPONENT_FROM_ARRAY",CREATE_TEMPLATE:"CREATE_NEW_TEMPLATE",UPDATE_TEMPLATE:"UPDATE_TEMPLATE",DELETE_TEMPLATE:"DELETE",TOGGLE_SHOW_GRID:"TOGGLE_SHOW_GRID",CHANGE_GRID_DENSITY:"CHANGE_GRID_DENSITY",REQUEST_ADD_PAGE:"REQUEST_ADD_PAGE_TO_TEMPLATE",SUCCESS_ADD_PAGE:"SUCCESS_ADD_PAGE_TO_TEMPLATE",FAILURE_ADD_PAGE:"FAILURE_ADD_PAGE_TO_TEMPLATE",DELETE_ADD_PAGE:"DELETE_ADD_PAGE_TO_TEMPLATE",REQUEST_ADD_PROJECT:"REQUEST_ADD_PROJECT",SUCCESS_ADD_PROJECT:"SUCCESS_ADD_PROJECT",FAILURE_ADD_PROJECT:"FAILURE_ADD_PROJECT",REQUEST_DELETE_PAGE:"REQUEST_DELETE_PAGE_FROM_TEMPLATE",SUCCESS_DELETE_PAGE:"SUCCESS_DELETE_PAGE_FROM_TEMPLATE",FAILURE_DELETE_PAGE:"FAILURE_DELETE_PAGE_FROM_TEMPLATE",REQUEST_SAVE_AS_PRESET:"REQUEST_SAVE_AS_PRESET",SUCCESS_SAVE_AS_PRESET:"SUCCESS_SAVE_AS_PRESET",FAILURE_SAVE_AS_PRESET:"FAILURE_SAVE_AS_PRESET",UPDATE_COMPONENTMANIFEST_LOCALLY:"UPDATE_COMPONENTMANIFEST_PROPS_LOCALLY",REQUEST_DELETE_PROJECT:"REQUEST_DELETE_PROJECT",SUCCESS_DELETE_PROJECT:"SUCCESS_DELETE_PROJECT",FAILURE_DELETE_PROJECT:"FAILURE_DELETE_PROJECT",UPDATE_PROJECT_NAME:"UPDATE_PROJECT_NAME",UPDATE_PAGE:"UPDATE_PAGE",UPDATE_BLUEPRINT_BROADCAST:"UPDATE_BLUEPRINT_BROADCAST",REQUEST_SEND_URL:"REQUEST_SEND_URL",SUCCESS_SEND_URL:"SUCCESS_SEND_URL",FAILURE_SEND_URL:"FAILURE_SEND_URL",REQUEST_VERIFY_URL:"REQUEST_VERIFY_URL",SUCCESS_VERIFY_URL:"SUCCESS_VERIFY_URL",FAILURE_VERIFY_URL:"FAILURE_VERIFY_URL",UNDO_ACTION:"UNDO_ACTION",UNDO_ACTION_COMPLETE:"UNDO_ACTION_COMPLETE",SET_SAVELAYOUT_HISTORY:"SET_SAVELAYOUT_HISTORY",PUBLISH_PAGE_LAYOUT:"PUBLISH_PAGE_LAYOUT",SUCCESS_PUBLISH_PAGE_LAYOUT:"SUCCESS_PUBLISH_PAGE_LAYOUT",FAILURE_PUBLISH_PAGE_LAYOUT:"FAILURE_PUBLISH_PAGE_LAYOUT",SET_FONT_LOADING_STATUS:"SET_FONT_LOADING_STATUS",REQUEST_UPDATE_TEXT_MANIFEST:"REQUEST_UPDATE_TEXT_MANIFEST",SUCCESS_UPDATE_TEXT_MANIFEST:"SUCCESS_UPDATE_TEXT_MANIFEST",FAILURE_UPDATE_TEXT_MANIFEST:"FAILURE_UPDATE_TEXT_MANIFEST",REQUEST_FETCH_GOOGLE_FONTS:"REQUEST_FETCH_GOOGLE_FONTS",SUCCESS_FETCH_GOOGLE_FONTS:"SUCCESS_FETCH_GOOGLE_FONTS",FAILURE_FETCH_GOOGLE_FONTS:"FAILURE_FETCH_GOOGLE_FONTS",RESET_GOOGLE_FONTS:"RESET_GOOGLE_FONTS",REQUEST_IMPORT_FONTS_USED_IN_TEXT_MANIFEST:"REQUEST_IMPORT_FONTS_USED_IN_TEXT_MANIFEST",SUCCESS_IMPORT_FONTS_USED_IN_TEXT_MANIFEST:"SUCCESS_IMPORT_FONTS_USED_IN_TEXT_MANIFEST",REQUEST_UPDATE_SITE_FONTS:"REQUEST_UPDATE_SITE_FONTS",SUCCESS_UPDATE_SITE_FONTS:"SUCCESS_UPDATE_SITE_FONTS",FAILURE_UPDATE_SITE_FONTS:"FAILURE_UPDATE_SITE_FONTS",REQUEST_FETCH_TAGS:"REQUEST_FETCH_TAGS",SUCCESS_FETCH_TAGS:"SUCCESS_FETCH_TAGS",FAILURE_FETCH_TAGS:"FAILURE_FETCH_TAGS",REMOVE_LAYOUTS_FROM_TEMP_LAYOUTS:"REMOVE_LAYOUTS_FROM_TEMP_LAYOUTS",RESET_DOMAIN_DETAILS:"RESET_DOMAIN_DETAILS",REQUEST_FETCH_VERSIONS:"REQUEST_FETCH_VERSIONS",SUCCESS_FETCH_VERSIONS:"SUCCESS_FETCH_VERSIONS",FAILURE_FETCH_VERSIONS:"FAILURE_FETCH_VERSIONS",REQUEST_UPDATE_WITH_NEW_TEMPLATE:"REQUEST_UPDATE_WITH_NEW_TEMPLATE",SUCCESS_UPDATE_WITH_NEW_TEMPLATE:"SUCCESS_UPDATE_WITH_NEW_TEMPLATE",FAILURE_UPDATE_WITH_NEW_TEMPLATE:"REQUEST_UPDATE_WITH_NEW_TEMPLATE",TOGGLE_SHOW_CUSTOM_LAYOUT:"TOGGLE_SHOW_CUSTOM_LAYOUT",UPDATE_GUIDELINES:"UPDATE_GUIDELINES",UPDATE_RESIZE_STATUS:"UPDATE_RESIZE_STATUS",UPDATE_SELECTED_BLOCK:"UPDATE_SELECTED_BLOCK",EXCHANGE_START:"EXCHANGE_START",EXCHANGE_END:"EXCHANGE_END",EXCHANGE_CHILDREN:"EXCHANGE_CHILDREN",REMOVE_PROPERTY:"REMOVE_PROPERTY",UNDO:"UNDO",REDO:"REDO",UNDOS_REVISION_UPDATE:"UNDOS_REVISION_UPDATE",UNDOS_REVISION_UPDATE_COMPLETED:"UNDOS_REVISION_UPDATE_COMPLETED",UNDOS_REVISION_UPDATE_IS_STORING_START:"UNDOS_REVISION_UPDATE_IS_STORING_START",REQUEST_EXPORT_CODE:"REQUEST_EXPORT_CODE",SUCCESS_EXPORT_CODE:"SUCCESS_EXPORT_CODE",FAILURE_EXPORT_CODE:"FAILURE_EXPORT_CODE",TOGGLE_PARENT_OUTLINE:"TOGGLE_PARENT_OUTLINE",SET_BUILDER_CANVAS_REF:"SET_BUILDER_CANVAS_REF",SET_BUILDER_CONTAINER_REF:"SET_BUILDER_CONTAINER_REF",UPDATE_CANVAS_TRANSFORM_VALUE:"UPDATE_CANVAS_TRANSFORM_VALUE",UPDATE_SIDE_POPUP_MENU:"UPDATE_SIDE_POPUP_MENU",START_POLLING:"START_POLLING",STOP_POLLING:"STOP_POLLING",UPDATE_COLOR_PALETTE:"UPDATE_COLOR_PALETTE",REQUEST_FETCH_KB_ARTICLE:"REQUEST_FETCH_KB_ARTICLE",SUCCESS_FETCH_KB_ARTICLE:"SUCCESS_FETCH_KB_ARTICLE",FAILURE_FETCH_KB_ARTICLE:"FAILURE_FETCH_KB_ARTICLE",TOGGLE_GLOBAL_SHIFT_KEY:"TOGGLE_GLOBAL_SHIFT_KEY",UPDATE_RESPONSIVE_VIEW_FLAG:"UPDATE_RESPONSIVE_VIEW_FLAG",REQUEST_COPY_PROJECT:"REQUEST_COPY_PROJECT",SUCCESS_COPY_PROJECT:"SUCCESS_COPY_PROJECT",FAILURE_COPY_PROJECT:"FAILURE_COPY_PROJECT",TOGGLE_PHOTOS_PANEL:"TOGGLE_PHOTOS_PANEL",REQUEST_ADD_DOMAIN_TO_PROJECT:"REQUEST_ADD_DOMAIN_TO_PROJECT",SUCCESS_ADD_DOMAIN_TO_PROJECT:"SUCCESS_ADD_DOMAIN_TO_PROJECT",FAILURE_ADD_DOMAIN_TO_PROJECT:"FAILURE_ADD_DOMAIN_TO_PROJECT",REQUEST_ADD_SUB_DOMAIN_TO_PROJECT:"REQUEST_ADD_SUB_DOMAIN_TO_PROJECT",SUCCESS_ADD_SUB_DOMAIN_TO_PROJECT:"SUCCESS_ADD_SUB_DOMAIN_TO_PROJECT",FAILURE_ADD_SUB_DOMAIN_TO_PROJECT:"FAILURE_ADD_SUB_DOMAIN_TO_PROJECT",REQUEST_PUBLISH_PROJECT:"REQUEST_PUBLISH_PROJECT",SUCCESS_PUBLISH_PROJECT:"SUCCESS_PUBLISH_PROJECT",FAILURE_PUBLISH_PROJECT:"FAILURE_PUBLISH_PROJECT",REQUEST_FETCH_HOST:"REQUEST_FETCH_HOST",SUCCESS_FETCH_HOST:"SUCCESS_FETCH_HOST",FAILURE_FETCH_HOST:"FAILURE_FETCH_HOST",TOGGLE_HOST_STATUS:"TOGGLE_HOST_STATUS",UPDATE_DOMAIN_ACTIVE_STATUS:"UPDATE_DOMAIN_ACTIVE_STATUS",UPDATE_SUB_DOMAIN_ACTIVE_STATUS:"UPDATE_SUB_DOMAIN_ACTIVE_STATUS",UPDATE_BLUEPRINT_CONTENT_REQUEST:"UPDATE_BLUEPRINT_CONTENT_REQUEST",UPDATE_BLUEPRINT_CONTENT_SUCCESS:"UPDATE_BLUEPRINT_CONTENT_SUCCESS",UPDATE_BLUEPRINT_CONTENT_FAILURE:"UPDATE_BLUEPRINT_CONTENT_FAILURE",UPDATE_BLUEPRINT_CONTENT:"UPDATE_BLUEPRINT_CONTENT",STORE_SELECTED_STATENAME:"STORE_SELECTED_STATENAME",UPDATE_ACTIVE_FONTS:"UPDATE_ACTIVE_FONTS",REQUEST_SAVE_CUSTOM_CODE:"REQUEST_SAVE_CUSTOM_CODE",SUCCESS_SAVE_CUSTOM_CODE:"SUCCESS_SAVE_CUSTOM_CODE",FAILURE_SAVE_CUSTOM_CODE:"FAILURE_SAVE_CUSTOM_CODE",CLEAR_CUSTOM_CODE_ERROR:"CLEAR_CUSTOM_CODE_ERROR",TOGGLE_API_EDITOR:"TOGGLE_API_EDITOR",REQUEST_UPDATE_INTEGRATION:"REQUEST_UPDATE_INTEGRATION",SUCCESS_UPDATE_INTEGRATION:"SUCCESS_UPDATE_INTEGRATION",FAILURE_UPDATE_INTEGRATION:"FAILURE_UPDATE_INTEGRATION",CLEAR_UPDATE_INTEGRATION_ERROR:"CLEAR_UPDATE_INTEGRATION_ERROR",UPDATE_FORM_STATE:"UPDATE_FORM_STATE",UPDATE_HIDDEN_LAYOUTS:"UPDATE_HIDDEN_LAYOUTS",REQUEST_GENERIC_API_CALL:"REQUEST_GENERIC_API_CALL",SUCCESS_GENERIC_API_CALL:"SUCCESS_GENERIC_API_CALL",FAILURE_GENERIC_API_CALL:"FAILURE_GENERIC_API_CALL",REQUEST_ADMIN_WEBBUILDER_UPDATE:"REQUEST_ADMIN_WEBBUILDER_UPDATE",SUCCESS_ADMIN_WEBBUILDER_UPDATE:"SUCCESS_ADMIN_WEBBUILDER_UPDATE",FAILURE_ADMIN_WEBBUILDER_UPDATE:"FAILURE_ADMIN_WEBBUILDER_UPDATE",CLEAR_ADMIN_UPDATE_WEBBUILDER_ERROR:"CLEAR_ADMIN_UPDATE_WEBBUILDER_ERROR",IMPORT_BASIC_COMPONENTS:"IMPORT_BASIC_COMPONENTS",OPEN_WORKFLOW:"OPEN_WORKFLOW",INITIALIZE_RESIZE_OBSERVER:"INITIALIZE_RESIZE_OBSERVER",UPDATE_RESIZE_OBSERVED_COMPONENTS:"UPDATE_RESIZE_OBSERVED_COMPONENTS",INITIATE_CANVAS:"INITIATE_CANVAS",SET_CONTENT_LIMITATION_BUILDER:"SET_CONTENT_LIMITATION_BUILDER",RESET_CUSTOMIZATION_STATE:"RESET_CUSTOMIZATION_STATE",UPDATE_IFRAME_DOCUMENT:"UPDATE_IFRAME_DOCUMENT",RESET_UNDO_STATE:"RESET_UNDO_STATE",SET_IS_UPDATING_BLUEPRINT:"SET_IS_UPDATING_BLUEPRINT",TRANSFER_COMPONENT_FROM_DOCK_TO_CANVAS:"TRANSFER_COMPONENT_FROM_DOCK_TO_CANVAS",TOGGLE_TEXT_EDITOR_OUTLINE:"TOGGLE_TEXT_EDITOR_OUTLINE",UPDATE_DRAG_PLACEHOLDER:"UPDATE_DRAG_PLACEHOLDER",STORE_BG_IMAGE:"STORE_BG_IMAGE",SET_BG_MULTILIST_EXPANDED_IDS:"SET_BG_MULTILIST_EXPANDED_IDS",SET_BG_IMAGE_CHANGED_INDEX:"SET_BG_IMAGE_CHANGED_INDEX",UPDATE_PROJECT_USERS:"UPDATE_PROJECT_USERS",UPDATE_USER_ROLE:"UPDATE_USER_ROLE",REQUEST_TRANSFER_OWNERSHIP_START:"REQUEST_TRANSFER_OWNERSHIP_START",SUCCESS_TRANSFER_OWNERSHIP_START:"SUCCESS_TRANSFER_OWNERSHIP_START",FAILURE_TRANSFER_OWNERSHIP_START:"FAILURE_TRANSFER_OWNERSHIP_START",CLEAR_PERMISSION_ERROR:"CLEAR_PERMISSION_ERROR",IN_PLAYGROUND_MODE:"IN_PLAYGROUND_MODE",REQUEST_MOVE_GUEST_PROJECT:"REQUEST_MOVE_GUEST_PROJECT",SUCCESS_MOVE_GUEST_PROJECT:"SUCCESS_MOVE_GUEST_PROJECT",FAILURE_MOVE_GUEST_PROJECT:"FAILURE_MOVE_GUEST_PROJECT",REQUEST_CREATE_PROJECT_FROM_PROMPT:"REQUEST_CREATE_PROJECT_FROM_PROMPT",SUCCESS_CREATE_PROJECT_FROM_PROMPT:"SUCCESS_CREATE_PROJECT_FROM_PROMPT",FAILURE_CREATE_PROJECT_FROM_PROMPT:"FAILURE_CREATE_PROJECT_FROM_PROMPT",REQUEST_ASSIGN_LICENSE:"REQUEST_ASSIGN_LICENSE",SUCCESS_ASSIGN_LICENSE:"SUCCESS_ASSIGN_LICENSE",FAILURE_ASSIGN_LICENSE:"FAILURE_ASSIGN_LICENSE",REQUEST_DUPLICATE_PROJECT:"REQUEST_DUPLICATE_PROJECT",SUCCESS_DUPLICATE_PROJECT:"SUCCESS_DUPLICATE_PROJECT",FAILURE_DUPLICATE_PROJECT:"FAILURE_DUPLICATE_PROJECT",REQUEST_DUPLICATE_PAGE:"REQUEST_DUPLICATE_PAGE",SUCCESS_DUPLICATE_PAGE:"SUCCESS_DUPLICATE_PAGE",FAILURE_DUPLICATE_PAGE:"FAILURE_DUPLICATE_PAGE",UPDATE_SUBDOMAIN_NAME:"UPDATE_SUBDOMAIN_NAME",REQUEST_UPDATE_BACKUP_NAME:"REQUEST_UPDATE_BACKUP_NAME",SUCCESS_UPDATE_BACKUP_NAME:"SUCCESS_UPDATE_BACKUP_NAME",FAILURE_UPDATE_BACKUP_NAME:"FAILURE_UPDATE_BACKUP_NAME",CLEAR_VERSION_HISTORY:"CLEAR_VERSION_HISTORY",REQUEST_RESTORE_BACKUP:"REQUEST_RESTORE_BACKUP",SUCCESS_RESTORE_BACKUP:"SUCCESS_RESTORE_BACKUP",FAILURE_RESTORE_BACKUP:"FAILURE_RESTORE_BACKUP",REQUEST_DELETE_BACKUP:"REQUEST_DELETE_BACKUP",SUCCESS_DELETE_BACKUP:"SUCCESS_DELETE_BACKUP",FAILURE_DELETE_BACKUP:"FAILURE_DELETE_BACKUP",REQUEST_GENERATE_WP_API_KEY:"REQUEST_GENERATE_WP_API_KEY",SUCCESS_GENERATE_WP_API_KEY:"SUCCESS_GENERATE_WP_API_KEY",FAILURE_GENERATE_WP_API_KEY:"FAILURE_GENERATE_WP_API_KEY",REQUEST_DISCONNECT_WORDPRESS:"REQUEST_DISCONNECT_WORDPRESS",SUCCESS_DISCONNECT_WORDPRESS:"SUCCESS_DISCONNECT_WORDPRESS",FAILURE_DISCONNECT_WORDPRESS:"FAILURE_DISCONNECT_WORDPRESS",REQUEST_DISCONNECT_STRIPE:"REQUEST_DISCONNECT_STRIPE",SUCCESS_DISCONNECT_STRIPE:"SUCCESS_DISCONNECT_STRIPE",FAILURE_DISCONNECT_STRIPE:"FAILURE_DISCONNECT_STRIPE",REQUEST_ADD_ANALYTICS_TO_PROJECT:"REQUEST_ADD_ANALYTICS_TO_PROJECT",SUCCESS_ADD_ANALYTICS_TO_PROJECT:"SUCCESS_ADD_ANALYTICS_TO_PROJECT",FAILURE_ADD_ANALYTICS_TO_PROJECT:"FAILURE_ADD_ANALYTICS_TO_PROJECT",SUCCESS_CONNECT_STRIPE:"SUCCESS_CONNECT_STRIPE",REQUEST_CONNECT_STRIPE:"REQUEST_CONNECT_STRIPE",FAILURE_CONNECT_STRIPE:"FAILURE_CONNECT_STRIPE",SWITCH_EDITOR_MODE:"SWITCH_EDITOR_MODE"}},7899:function(t,e,n){"use strict";n.r(e),n.d(e,{errorsConstants:function(){return o}});const o={ADD_ERROR:"ADD_ERROR",REMOVE_ERROR:"REMOVE_ERROR"}},5495:function(t,e,n){"use strict";n.r(e),n.d(e,{functionConstants:function(){return o}});const o={REQUEST_CREATE_NEW_FUNCTION:"REQUEST_CREATE_NEW_FUNCTION",SUCCESS_CREATE_NEW_FUNCTION:"SUCCESS_CREATE_NEW_FUNCTION",FAILURE_CREATE_NEW_FUNCTION:"FAILURE_CREATE_NEW_FUNCTION",REQUEST_UPDATE_FUNCTION:"REQUEST_UPDATE_FUNCTION",SUCCESS_UPDATE_FUNCTION:"SUCCESS_UPDATE_FUNCTION",FAILURE_UPDATE_FUNCTION:"FAILURE_UPDATE_FUNCTION",UPDATE_FUNCTION_CONTENT:"UPDATE_FUNCTION_CONTENT",FUNCTION_FETCH_REQUEST:"FUNCTION_FETCH_REQUEST",FUNCTION_FETCH_SUCCESS:"FUNCTION_FETCH_SUCCESS",FUNCTION_FETCH_FAILURE:"FUNCTION_FETCH_FAILURE",UPDATE_FUNCTION:"UPDATE_FUNCTION",DELETE_FUNCTION:"DELETE_FUNCTION",RESET:"RESET_FUNCTIONS",REQUEST_DELETE_FUNCTION:"REQUEST_DELETE_FUNCTION",SUCCESS_DELETE_FUNCTION:"SUCCESS_DELETE_FUNCTION",FAILURE_DELETE_FUNCTION:"FAILURE_DELETE_FUNCTION"}},7588:function(t,e,n){"use strict";n.r(e),n.d(e,{guestConstants:function(){return o}});const o={FETCH_IDENTICON:"FETCH_IDENTICON",FETCH_IDENTICON_SUCCESS:"FETCH_IDENTICON_SUCCESS",FETCH_IDENTICON_FAILURE:"FETCH_IDENTICON_FAILURE",SUBSCRIBE_EMAIL:"SUBSCRIBE_EMAIL",SUBSCRIBE_EMAIL_SUCCESS:"SUBSCRIBE_EMAIL_SUCCESS",SUBSCRIBE_EMAIL_FAILURE:"SUBSCRIBE_EMAIL_FAILURE",CLEAR_SUBSCRIBE_EMAIL_MESSAGE:"CLEAR_SUBSCRIBE_EMAIL_MESSAGE"}},7100:function(t,e,n){"use strict";n.r(e),n.d(e,{alertConstants:function(){return o.alertConstants},userConstants:function(){return r.userConstants},uiConstants:function(){return a.uiConstants},lensConstants:function(){return i.lensConstants},errorsConstants:function(){return s.errorsConstants},cloudinaryConstants:function(){return c.cloudinaryConstants},guestConstants:function(){return u.guestConstants},notificationsConstants:function(){return l.notificationsConstants},commonConstants:function(){return p.commonConstants},customizationConstants:function(){return d.customizationConstants},stateManagementConstants:function(){return f.stateManagementConstants},functionConstants:function(){return E.functionConstants}});var o=n(9329),r=n(6562),a=n(7878),i=n(822),s=n(7899),c=n(2212),u=n(7588),l=n(9346),p=n(641),d=n(9857),f=n(6332),E=n(5495)},822:function(t,e,n){"use strict";n.r(e),n.d(e,{lensConstants:function(){return o}});const o={FETCH_REQUEST:"FETCH_LATEST_STORIES_REQUEST",FETCH_SUCCESS:"FETCH_LATEST_STORIES_SUCCESS",FETCH_FAILURE:"FETCH_LATEST_STORIES_FAILURE",SEARCH_REQUEST:"SEARCH_STORIES_REQUEST",SEARCH_SUCCESS:"SEARCH_STORIES_SUCCESS",SEARCH_FAILURE:"SEARCH_STORIES_FAILURE",CLEAR_SEARCH_RESULTS:"CLEAR_STORIES_SEARCH_RESULTS",SET_SEARCH_TEXT:"SET_SEARCH_TEXT",CLEAR_STORYLIST:"CLEAR_STORYLIST",REQUEST_FETCH_POPULAR_STORIES:"REQUEST_FETCH_POPULAR_STORIES",SUCCESS_FETCH_POPULAR_STORIES:"SUCCESS_FETCH_POPULAR_STORIES",FAILURE_FETCH_POPULAR_STORIES:"FAILURE_FETCH_POPULAR_STORIES",REQUEST_FETCH_POPULAR_TAGS:"REQUEST_FETCH_POPULAR_TAGS",SUCCESS_FETCH_POPULAR_TAGS:"SUCCESS_FETCH_POPULAR_TAGS",FAILURE_FETCH_POPULAR_TAGS:"FAILURE_FETCH_POPULAR_TAGS",SUCCESS_STORY_LIKE:"SUCCESS_LENS_STORY_LIKE",SUCCESS_STORY_UNLIKE:"SUCCESS_LENS_STORY_UNLIKE",SUCCESS_STORY_ADD_BOOKMARK:"SUCCESS_LENS_STORY_ADD_BOOKMARK",SUCCESS_STORY_REMOVE_BOOKMARK:"SUCCESS_LENS_STORY_REMOVE_BOOKMARK",SUCCESS_FETCH_CARD_CONTENT:"SUCCESS_FETCH_CARD_CONTENT",FAILURE_FETCH_CARD_CONTENT:"FAILURE_FETCH_CARD_CONTENT",STORE_LOCATION:"STORE_LOCATION_OF_CURRENT_PAGE"}},9346:function(t,e,n){"use strict";n.r(e),n.d(e,{notificationsConstants:function(){return o}});const o={REQUEST_NOTIFICATIONS:"REQUEST_FETCH_USER_NOTIFICATIONS",SUCCESS_NOTIFICATIONS:"SUCCESS_FETCH_USER_NOTIFICATIONS",FAILURE_NOTIFICATIONS:"FAILURE_FETCH_USER_NOTIFICATIONS",REQUEST_READ_NOTIFICATION:"REQUEST_READ_USER_NOTIFICATION",SUCCESS_READ_NOTIFICATION:"SUCCESS_READ_USER_NOTIFICATION",FAILURE_READ_NOTIFICATION:"FAILURE_READ_USER_NOTIFICATION",REQUEST_UNREAD_NOTIFICATION:"REQUEST_UNREAD_USER_NOTIFICATION",SUCCESS_UNREAD_NOTIFICATION:"SUCCESS_UNREAD_USER_NOTIFICATION",FAILURE_UNREAD_NOTIFICATION:"FAILURE_UNREAD_USER_NOTIFICATION",REQUEST_READ_ALL_NOTIFICATIONS:"REQUEST_READ_ALL_USER_NOTIFCATIONS",SUCCESS_READ_ALL_NOTIFICATIONS:"SUCCESS_READ_ALL_USER_NOTIFCATIONS",FAILURE_READ_ALL_NOTIFICATIONS:"FAILURE_READ_ALL_USER_NOTIFCATIONS"}},6332:function(t,e,n){"use strict";n.r(e),n.d(e,{stateManagementConstants:function(){return o}});const o={ADD_STATE:"ADD_STATE",DELETE_STATE:"DELETE_STATE",UPDATE_STATE:"UPDATE_STATE",LOAD_INITIAL_STATE:"LOAD_INITIAL_STATE",UPDATE_INDIVIDUAL_ITEM:"UPDATE_INDIVIDUAL_ITEM"}},7878:function(t,e,n){"use strict";n.r(e),n.d(e,{uiConstants:function(){return o}});const o={UPDATE_TOTAL_IMAGES:"UPDATE_TOTAL_IMAGES",IS_DELETING_IMAGE:"IS_DELETING_IMAGE",DELETE_IMAGE_REQUEST:"DELETE_IMAGE_REQUEST",RESET_DELETED_IMAGE:"RESET_DELETED_IMAGE",UPDATE_STORAGE_INFO:"UPDATE_STORAGE_INFO",FAILURE_SAVE_IMAGE:"FAILURE_SAVE_IMAGE",SUCCESS_SAVE_IMAGE:"SUCCESS_SAVE_IMAGE",UPDATE_PROJECT_ASSETS:"UPDATE_PROJECT_ASSETS",SET_PROJECT_ASSETS:"SET_PROJECT_ASSETS",SET_PLAYGROUND_SAVING_FLAG:"SET_PLAYGROUND_SAVING_FLAG",SHOW_GENERATE_PAGE_MODAL:"SHOW_GENERATE_PAGE_MODAL",SET_COMPONENT_EDIT_PANEL_INNER_TAB_KEY:"SET_COMPONENT_EDIT_PANEL_INNER_TAB_KEY",SET_DOUBLE_CLICKED_POSITION:"SET_DOUBLE_CLICKED_POSITION",SET_SHOW_TEXT_EDIT_POPUP:"SET_SHOW_TEXT_EDIT_POPUP",HIDE_ALL_EDIT_POPUPS:"HIDE_ALL_EDIT_POPUPS",SET_SHOW_IMAGE_EDIT_POPUP:"SET_SHOW_IMAGE_EDIT_POPUP",SET_SHOW_CODE_EDIT_POPUP:"SET_SHOW_CODE_EDIT_POPUP",SHOW_CHOOSE_PROJECT_FOR_UPGRADE_MODAL:"SHOW_CHOOSE_PROJECT_FOR_UPGRADE_MODAL",SHOW_PRICING_MODAL:"SHOW_PRICING_MODAL",SHOW_CUSTOM_COMPONENT_STYLE_MODAL:"SHOW_CUSTOM_COMPONENT_STYLE_MODAL",TOGGLE_AUTHENTICATION_MODAL_VISIBILITY:"TOGGLE_AUTHENTICATION_MODAL_VISIBILITY",SWITCH_AUTHENTICATION_MODAL_TABS:"SWITCH_AUTHENTICATION_MODAL_TABS",CLEAR_AUTHENTICATION_MODAL_TABS:"CLEAR_AUTHENTICATION_MODAL_TABS",TOGGLE_NAVIGATION_DROPDOWN_MENU:"TOGGLE_NAVIGATION_DROPDOWN_MENU",TOGGLE_SIGNUP_MODAL:"TOGGLE_SIGNUP_MODAL",CLEAR_SIGNUP_MODAL_MESSAGE:"CLEAR_SIGNUP_MODAL_MESSGAGE",TOGGLE_STATS_MODAL_WINDOW:"TOGGLE_STATS_MODAL_WINDOW",TOGGLE_SEARCH_BUTTON:"TOGGLE_SEARCH_BUTTON",CLEAR_DROPDOWN_STATE:"CLEAR_DROPDOWN_STATE",TOGGLE_DRAFT_PUBLISH_MODAL:"TOGGLE_DRAFT_PUBLISH_MODAL",TOGGLE_FEATURED_IMAGE_IN_DRAFT:"TOGGLE_FEATURED_IMAGE_IN_DRAFT",TOGGLE_SIDE_NAV:"TOGGLE_SIDE_NAV",SET_SCREEN_VIEW:"SET_SCREEN_VIEW",SET_PREMIUM_MODAL:"SET_PREMIUM_MODAL",SET_GUEST_MODAL:"SET_GUEST_MODAL",SET_PLAYGROUND_MODAL:"SET_PLAYGROUND_MODAL",TOGGLE_REFERRAL_POPUP:"TOGGLE_REFERRAL_POPUP",SET_ELEMENT_OUTLINE_VISIBILITY:"SET_ELEMENT_OUTLINE_VISIBILITY",TOGGLE_BOOKMARK_INNER_TAB:"TOGGLE_BOOKMARK_INNER_TAB",TOGGLE_IS_LOADING:"TOGGLE_IS_LOADING",CHANGE_DB_TAB:"CHANGE_DB_TAB",CHANGE_APP_SETTINGS_TAB:"CHANGE_APP_SETTINGS_TAB",SET_INITIAL_LOADING_STATUS:"SET_INITIAL_LOADING_STATUS",SET_PUBLISH_SITE_LOADING_STATUS:"SET_PUBLISH_SITE_LOADING_STATUS",SET_SHOW_CREATE_TABLE_MODAL:"SET_SHOW_CREATE_TABLE_MODAL",SET_SHOW_ADD_DATA_MODAL:"SET_SHOW_ADD_DATA_MODAL",SET_DELETE_FUNCTION_ALERT:"SET_DELETE_FUNCTION_ALERT",SET_DELETE_ROW_ALERT:"SET_DELETE_ROW_ALERT",SET_DELETE_TABLE_ALERT:"SET_DELETE_TABLE_ALERT",SET_DRAG_SORTED_LAYOUTS:"SET_DRAG_SORTED_LAYOUTS",SET_DOCK_SIDEBAR_ACTIVE_MENU:"SET_DOCK_SIDEBAR_ACTIVE_MENU",CUSTOMIZATION_IS_UPDATING_FLAG:"CUSTOMIZATION_IS_UPDATING_FLAG",ELEMENT_COLLIDING_WITH_BREADCRUMBS:"ELEMENT_COLLIDING_WITH_BREADCRUMBS",UPDATE_MOVE_ELEMENT_STATE:"UPDATE_MOVE_ELEMENT_STATE",SWITCH_WORKSPACE:"SWITCH_WORKSPACE",REQUEST_CREATE_ORDER_LINK:"REQUEST_CREATE_ORDER_LINK",SUCCESS_CREATE_ORDER_LINK:"SUCCESS_CREATE_ORDER_LINK",FAILURE_CREATE_ORDER_LINK:"FAILURE_CREATE_ORDER_LINK",SHOW_SAVE_AND_PUBLISH_POPUP_IN_PLAYGROUND:"SHOW_SAVE_AND_PUBLISH_POPUP_IN_PLAYGROUND",SHOW_FEATURE_UPDATE_MODAL_FROM_BUILDER:"SHOW_FEATURE_UPDATE_MODAL_FROM_BUILDER",TOGGLE_BUILDER_CONTEXT_MENU_VISIBILITY:"TOGGLE_BUILDER_CONTEXT_MENU_VISIBILITY",TOGGLE_SETTINGS_CONTEXT_ALERT_BOX:"TOGGLE_SETTINGS_CONTEXT_ALERT_BOX",SHOW_PAYMENT_POPUP:"SHOW_PAYMENT_POPUP",SHOW_EXIT_MODAL:"SHOW_EXIT_MODAL",SET_IS_RESIZING_START:"SET_IS_RESIZING_START",SET_IS_RESIZING_STOP:"SET_IS_RESIZING_STOP",SET_IS_FLEX_RESIZE:"SET_IS_FLEX_RESIZE",SET_DRAG_STATUS:"SET_DRAG_STATUS",SET_RIGHT_CLICK_SIDE_MENU_STATUS:"SET_RIGHT_CLICK_SIDE_MENU_STATUS",SET_AI_SIDE_BAR_STATUS:"SET_AI_SIDE_BAR_STATUS",LAYOUT_SHIFT_REQUIRED:"LAYOUT_SHIFT_REQUIRED",GRID_LAYOUT_CHILD_UPDATE_REQUIRED:"GRID_LAYOUT_CHILD_UPDATE_REQUIRED",UPDATE_HOVER_ELEMENT_POSITION_DATA:"UPDATE_HOVER_ELEMENT_POSITION_DATA",SET_LEGACY_FORM_UPDATING:"SET_LEGACY_FORM_UPDATING",SET_ADD_ELEMENT_FLAG:"SET_ADD_ELEMENT_FLAG",SET_ADD_ELEMENT_FROM_CANVAS_BODY_FLAG:"SET_ADD_ELEMENT_FROM_CANVAS_BODY_FLAG",SET_ADD_ELEMENT_HELPER_IDS:"SET_ADD_ELEMENT_HELPER_IDS",SET_IS_HOVERING_INSIDE_FOR_ELEMENT_ADDITION:"SET_IS_HOVERING_INSIDE_FOR_ELEMENT_ADDITION",SHOW_SYNC_CHANGES_MODAL:"SHOW_SYNC_CHANGES_MODAL",SHOW_ADVANCED_OPTIONS:"SHOW_ADVANCED_OPTIONS",UPDATING_EMAIL_NOTIFY:"UPDATING_EMAIL_NOTIFY",SET_SHOW_ELEMENT_FLOATING_POPUP:"SET_SHOW_ELEMENT_FLOATING_POPUP",TRIGGER_DOUBLE_CLICK:"TRIGGER_DOUBLE_CLICK",TRIGGER_SHIFT_UP_OR_DOWN:"TRIGGER_SHIFT_UP_OR_DOWN",SET_RIGHT_SIDE_EDIT_POPUP_TYPE:"SET_RIGHT_SIDE_EDIT_POPUP_TYPE",SET_IS_HOVERING_ON_PLUS_FOR_ELEMENT_ADDITION:"SET_IS_HOVERING_ON_PLUS_FOR_ELEMENT_ADDITION",SET_AI_FAILURE_ATTEMPT:"SET_AI_FAILURE_ATTEMPT"}},6562:function(t,e,n){"use strict";n.r(e),n.d(e,{userConstants:function(){return o}});const o={REQUEST_VALIDATE_SOCIAL_REFER_FOR_AI:"REQUEST_VALIDATE_SOCIAL_REFER_FOR_AI",SUCCESS_VALIDATE_SOCIAL_REFER_FOR_AI:"SUCCESS_VALIDATE_SOCIAL_REFER_FOR_AI",FAILURE_VALIDATE_SOCIAL_REFER_FOR_AI:"FAILURE_VALIDATE_SOCIAL_REFER_FOR_AI",REQUEST_UPDATE_USER_DATA:"REQUEST_UPDATE_USER_DATA",SUCCESS_UPDATE_USER_DATA:"SUCCESS_UPDATE_USER_DATA",FAILURE_UPDATE_USER_DATA:"FAILURE_UPDATE_USER_DATA",REQUEST_CONFIRM_PASSWORD:"REQUEST_CONFIRM_PASSWORD",SUCCESS_CONFIRM_PASSWORD:"SUCCESS_CONFIRM_PASSWORD",FAILURE_CONFIRM_PASSWORD:"FAILURE_CONFIRM_PASSWORD",REQUEST_FORGOT_PASSWORD:"REQUEST_FORGOT_PASSWORD",SUCCESS_FORGOT_PASSWORD:"SUCCESS_FORGOT_PASSWORD",FAILURE_FORGOT_PASSWORD:"FAILURE_FORGOT_PASSWORD",REGISTER_REQUEST:"REGISTER_REQUEST",REGISTER_SUCCESS:"REGISTER_SUCCESS",REGISTER_FAILURE:"REGISTER_FAILURE",REQUEST_OTP:"REQUEST_OTP",SUCCESS_OTP:"SUCCESS_OTP",FAILURE_OTP:"FAILURE_OTP",LOGIN_REQUEST:"LOGIN_REQUEST",LOGIN_SUCCESS:"LOGIN_SUCCESS",LOGIN_FAILURE:"LOGIN_FAILURE",LOGOUT:"LOGOUT",VERIFY_USER:"VERIFY_USER",VERIFICATION_SUCCESS:"VERIFICATION_SUCCESS",VERIFICATION_FAILURE:"VERIFICATION_FAILURE",FETCH_USER:"FETCH_USER",SUCCESS_FETCH_USER:"SUCCESS_FETCH_USER",FAILURE_FETCH_USER:"FAILURE_FETCH_USER",SAVE_USER:"SAVE_USER",SUCCESS_SAVE_USER:"SUCCESS_SAVE_USER",FAILURE_SAVE_USER:"FAILURE_SAVE_USER",REQUEST_DELETE_USER:"REQUEST_DELETE_AUTHOR",SUCCESS_DELETE_USER:"SUCCESS_DELETE_AUTHOR",FAILURE_DELETE_USER:"FAILURE_DELETE_AUTHOR",REPORT_USER:"REPORT_USER",REPORT_USER_SUCCESS:"REPORT_USER_SUCCESS",REPORT_USER_FAILURE:"REPORT_USER_FAILURE",CLEAR_USER_REPORT_MESSAGE:"CLEAR_USER_REPORT_MESSAGE",STORE_LOCATION_BEFORE_LOGIN:"STORE_LOCATION_BEFORE_LOGIN",UPDATE_EXPORT_CODE_COUNT:"UPDATE_EXPORT_CODE_COUNT",REQUEST_CREATE_ORDER:"REQUEST_CREATE_ORDER",SUCCESS_CREATE_ORDER:"SUCCESS_CREATE_ORDER",FAILURE_CREATE_ORDER:"FAILURE_CREATE_ORDER",REQUEST_VERIFY_ORDER:"REQUEST_VERIFY_ORDER",SUCCESS_VERIFY_ORDER:"SUCCESS_VERIFY_ORDER",FAILURE_VERIFY_ORDER:"FAILURE_VERIFY_ORDER",REQUEST_REFERRAL_LIST:"REQUEST_REFERRAL_LIST",SUCCESS_REFERRAL_LIST:"SUCCESS_REFERRAL_LIST",FAILURE_REFERRAL_LIST:"FAILURE_REFERRAL_LIST",UPDATE_TOUR_TIMER:"UPDATE_TOUR_TIMER",IS_PART_OF_CODE_DESIGN_TEAM:"IS_PART_OF_CODE_DESIGN_TEAM"}},6162:function(t,e,n){"use strict";n.r(e),n.d(e,{alerts:function(){return a}});var o=n(7100);const r={};function a(t=r,e){switch(e.type){case o.alertConstants.SUCCESS:return{type:"alert-success",message:e.message};case o.alertConstants.ERROR:return{type:"alert-danger",message:e.message};case o.alertConstants.CLEAR:return{};default:return t}}},2787:function(t,e,n){"use strict";n.r(e),n.d(e,{cloudinaryImage:function(){return a}});var o=n(7100);const r={requestStatus:!1,cloudinaryImage:"",uploadPercentage:0};function a(t=r,e){switch(e.type){case o.cloudinaryConstants.REQUEST_CLOUDINARY:return Object.assign({},t,{requestStatus:!0,cloudinaryImage:""});case o.cloudinaryConstants.SUCCESS_CLOUDINARY:return Object.assign({},t,{requestStatus:!1,cloudinaryImage:e.payload});case o.cloudinaryConstants.FAILURE_CLOUDINARY:return Object.assign({},t,{requestStatus:!1});case o.cloudinaryConstants.IMAGE_UPLOAD_PERCENT:return Object.assign({},t,{uploadPercentage:e.payload});default:return t}}},1700:function(t,e,n){"use strict";n.r(e),n.d(e,{common:function(){return a}});var o=n(7100);const r={isFetchingDomains:!1,isDeletingDomain:!1,refreshRequired:!1,clientInputs:{},data:{domains:[],error:"",subdomainError:"",blueprint:{home:{meta:{name:"",description:"",previewImage:""},layouts:{lg:{},md:{},sm:{}},tempLayouts:{lg:{},md:{},sm:{}},components:[]}}}};function a(t=r,e){switch(e.type){case o.commonConstants.REQUEST_SUBDOMAIN_CHECK:return{...t,isCheckingSubdomain:!0};case o.commonConstants.SUCCESS_SUBDOMAIN_CHECK:return{...t,isCheckingSubdomain:!1,data:{...t.data,subdomainError:""}};case o.commonConstants.FAILURE_SUBDOMAIN_CHECK:return{...t,isCheckingSubdomain:!1,data:{...t.data,subdomainError:e.payload}};case o.commonConstants.REQUEST_DELETE_DOMAIN:return{...t,isDeletingDomain:!0};case o.commonConstants.SUCCESS_DELETE_DOMAIN:return{...t,isDeletingDomain:!1,data:{...t.data,error:"",subdomainError:"",domains:t.data.domains.filter((t=>t.domain!==e.payload))}};case o.commonConstants.FAILURE_DELETE_DOMAIN:return{...t,isDeletingDomain:!1};case o.commonConstants.TOGGLE_REFRESH_REQUIRED:return{...t,refreshRequired:!0};case o.commonConstants.REQUEST_DOMAIN_LIST_OF_USER:return{...t,isFetchingDomains:!0};case o.commonConstants.FAILURE_DOMAIN_LIST_OF_USER:return{...t,isFetchingDomains:!1};case o.commonConstants.SUCCESS_DOMAIN_LIST_OF_USER:return{...t,isFetchingDomains:!1,data:{...t.data,domains:e.payload}};case o.commonConstants.REQUEST_ADD_DOMAIN:return{...t,isAddingDomain:!0};case o.commonConstants.SUCCESS_ADD_DOMAIN:return{...t,isAddingDomain:!1,data:{...t.data,domains:[...t.data.domains,e.payload]}};case o.commonConstants.FAILURE_ADD_DOMAIN:return{...t,isAddingDomain:!1,data:{...t.data,error:e.payload}};case o.commonConstants.REQUEST_VERIFICATION_STATUS:return{...t,isVerifyingDomain:!0};case o.commonConstants.SUCCESS_VERIFICATION_STATUS:return{...t,isVerifyingDomain:!1,data:{...t.data,domains:[...t.data.domains.filter((t=>t.domain!=e.payload.domain)),e.payload]}};case o.commonConstants.FAILURE_VERIFICATION_STATUS:return{...t,data:{...t.data,error:e.payload}};case o.commonConstants.CLEAR_COMMON_ERROR:return{...t,data:{...t.data,error:""}};case o.commonConstants.CLEAR_SUBDOMAIN_ERROR:return{...t,data:{...t.data,subdomainError:""}};case o.commonConstants.UPDATE_CLIENT_INPUTS:return{...t,clientInputs:{...t.clientInputs,...e.payload}};default:return t}}},5925:function(t,e,n){"use strict";n.r(e),n.d(e,{customization:function(){return p}});var o=n(3465),r=n.n(o),a=n(8858),i=n(7100);const s={currentStep:0,isFunnel:!1,objective:"",language:"en",aiService:"gpt4o-mini",prompt:"",websiteName:"",category:"",location:"",businessName:"",categoryData:[],keywords:[],logId:"",hasErrorOnGeneratingMetaFromPrompt:!1,errorMsgOnGeneratingMetaFromPrompt:"",hasErrorOnCreateProjectFromPrompt:!1,errorMsgOnCreateProjectFromPrompt:""},c={cols:{bp_1920:100,bp_1440:100,bp_1280:100,lg:100,md:100,sm:100},breakpoints:{bp_1920:1920,bp_1440:1440,bp_1280:1280,lg:1200,md:768,sm:480},margin:[0,0],containerPadding:[0,0],rowHeight:2},u={cols:{lg:20,md:20,sm:20},breakpoints:{lg:1200,md:768,sm:480},margin:[0,0],containerPadding:[0,0],rowHeight:30},l={uiState:{},deployPending:!1,isStoringUndo:!1,isSavingBlueprintContent:!1,contentLimitationView:null,currentStateNameOfComponent:"",tempFontFamilies:[],showComponentEditModal:!1,customizationEnabled:!1,kbArticles:[],activeFonts:[],versionHistory:[],dragPlaceholder:{},data:{existingComponentsNew:{},styleguide:{},projectUsers:[],colorPalette:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],templates:[],recentlyUpdatedComponents:[],gridDensity:"default",gridLayout:{cols:{lg:20,md:20,sm:20},breakpoints:{lg:1200,md:768,sm:480},margin:[0,0],containerPadding:[0,0],rowHeight:30},css:"/*\n\n    Note: For display flex to work, you have to add \n    \n    .your-class-name{\n      display:flex;\n    }\n    \n    .your-class-name > div {\n      position: static !important;\n    }\n    \n    */\n    \n    /* place css code */\n\n\n\n\n",js:"//Add your JS here\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",blueprint:{home:{meta:{name:"",description:"",previewImage:"",activeBreakpoints:["lg","md","sm"],autoResponsiveComponents:{}},layouts:{lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]},tempLayouts:{lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[]},hiddenLayouts:{lg:[],sm:[],md:[],bp_1280:[],bp_1440:[],bp_1920:[]},components:[]}},staticMedia:[],selectedData:{url:"",compId:""},currentlySelectedComponentId:"Global0007",currentlySelectedComponentArray:[],view:"web",currentBreakpoint:"lg",fonts:{}},webBuilders:[],guidelines:{topGuide:{},leftGuide:{},rightGuide:{},bottomGuide:{}},revisiondata:0,layoutdata:[],newUrl:"",verificationData:{data:{}},windowContext:null,documentContext:null,context:"home",project:"",gridLayout:{cols:{lg:20,md:20,sm:20},breakpoints:{lg:1200,md:768,sm:480},margin:[0,0],containerPadding:[0,0],rowHeight:30},isExportingCode:!1,tagData:[],recentlyUndone:!1,isUpdatingProps:!1,isUpdatingBluePrint:!1,isExchangingChildren:!1,isUpdatingLayout:!1,isUpdating:!1,isUpdatingManifest:!1,isDeletingComponent:!1,isHidingComponent:!1,isDeletingComponentFromManifest:!1,isImageUploaded:!1,isSavingUrl:!1,isVerifiedStatus:!1,isCustomizing:!1,isAddingNewPage:!1,isAddedPage:!1,isDeletingPage:!1,isFetching:!1,isFetchingComponents:!1,isundoAction:!1,layoutsInitialized:!1,componentsInitialized:!1,mismatchActionRequired:!1,googleFonts:[],isFetchingGoogleFonts:!1,isUpdatingSiteFonts:!1,isUpdatingTextManifest:!1,isLoadingFontsOfTextManifest:!1,fontsUsedInTextManifest:[],isLoadingGoogleFonts:!1,isPublishingPage:!1,showGridLines:!1,showAPIEditor:!1,showCustomLayout:!1,isFetchingTemplates:!1,isGeneratingWordPressAPIKey:!1,isUpdatingTemplate:!1,resized:!1,recentlyResizedComp:"",recentlySelectedBlock:"",deletionKey:"",globalShiftKey:!1,isAddingNewProject:!1,isDeletingProject:!1,canvasTransform:"1",canvasTransformMaxLimit:1,showSidePopup:!1,showPhotosPanel:!1,invalidHost:!1,isFetchingHost:!1,isAddingSubdomain:!1,isAddingDomain:!1,formState:{},genericAPICall:"",isDropping:!1,refreshCanvas:!1,photosPanelClickToSelectModeCallback:"",bgImageTempUrl:"",bgMultilistExpandedIds:[],tempBgImageChangedIndex:null,templates:{isFetching:!1,data:[]},isCreatingProjectFromPrompt:!1,tempBuilderUIState:{},tempAIPromptData:{},projectPrompt:"",tryProjectPromptAgainFlag:!1,isCheckingTemplate:!1,aiOnboarding:s,recentlyEditedComponent:{client_id:"",props:{componentStyle:{},componentData:{}}},isFeedbackToastPending:!1,isGeneratingPageUsingAi:!1,editorMode:"basic",triggerComponentEditPanelUpdate:"",playgroundDocumentHeadFlag:"",showStyleSettingsFoldableBlockCondition:!1};function p(t=l,e){switch(e.type){case a.ju:return{...t,...e.payload.customization.present};case i.customizationConstants.REQUEST_CHECK_TEMPLATE:return{...t,isCheckingTemplate:!0};case i.customizationConstants.SUCCESS_CHECK_TEMPLATE:return e?.payload?.isAI?{...t,isCheckingTemplate:!1,aiOnboarding:{...t.aiOnboarding,templateId:e.payload.templateId,templateInfo:e.payload}}:{...t,isCheckingTemplate:!1,aiOnboarding:{...t.aiOnboarding,templateId:"",currentStep:"0",templateInfo:{}}};case i.customizationConstants.FAILURE_CHECK_TEMPLATE:return{...t,isCheckingTemplate:!1,aiOnboarding:{...t.aiOnboarding,templateId:"",currentStep:"0",templateInfo:{}}};case i.customizationConstants.REQUEST_GENERATE_META_FROM_PROMPT:return{...t,isGeneratingMetaFromPrompt:!0};case i.customizationConstants.SUCCESS_GENERATE_META_FROM_PROMPT:return{...t,isGeneratingMetaFromPrompt:!1,aiOnboarding:{...t.aiOnboarding,hasErrorOnGeneratingMetaFromPrompt:!1,errorMsgOnGeneratingMetaFromPrompt:""}};case i.customizationConstants.FAILURE_GENERATE_META_FROM_PROMPT:return{...t,isGeneratingMetaFromPrompt:!1,aiOnboarding:{...t.aiOnboarding,hasErrorOnGeneratingMetaFromPrompt:!0,errorMsgOnGeneratingMetaFromPrompt:e.payload}};case i.customizationConstants.RESET_AI_ONBOARDING:return{...t,aiOnboarding:s};case i.customizationConstants.SET_AI_ONBOARDING:return{...t,aiOnboarding:{...t.aiOnboarding,...e.payload}};case i.customizationConstants.SET_TITLES_FOR_AI_SECTIONS_USED_IN_BUILDER:return{...t,aiSectionTitles:e.payload};case i.customizationConstants.SET_STYLE_SETTINGS_FOLDABLE_BLOCK:return{...t,showStyleSettingsFoldableBlockCondition:e.payload};case i.customizationConstants.UPDATE_PLAYGROUND_DOCUMENT_HEAD_FLAG:return{...t,playgroundDocumentHeadFlag:e.payload};case i.customizationConstants.SWITCH_EDITOR_MODE:return{...t,editorMode:e.payload};case i.customizationConstants.REQUEST_CONNECT_STRIPE:return{...t,isConnectingStripe:!0};case i.customizationConstants.SUCCESS_CONNECT_STRIPE:case i.customizationConstants.FAILURE_CONNECT_STRIPE:return{...t,isConnectingStripe:!1};case i.customizationConstants.REQUEST_UNLINK_VARIABLES_USED_IN_PROJECT:return{...t};case i.customizationConstants.SUCCESS_UNLINK_VARIABLES_USED_IN_PROJECT:return{...t,data:{...t.data,blueprint:{...t.data.blueprint,...e.payload.blueprint},classes:{...t.data.classes,...e.payload.classes}}};case i.customizationConstants.FAILURE_UNLINK_VARIABLES_USED_IN_PROJECT:return{...t};case i.customizationConstants.TRIGGER_COMPONENT_EDIT_PANEL_UPDATE:return{...t,triggerComponentEditPanelUpdate:e.payload};case i.customizationConstants.REQUEST_GENERATE_AI_FOR_PAGE:return{...t,isGeneratingPageUsingAi:!0};case i.customizationConstants.SUCCESS_GENERATE_AI_FOR_PAGE:return{...t,isGeneratingPageUsingAi:!1,data:{...t.data,blueprint:{...t.data.blueprint,[e.payload.context]:e.payload.page,...e.payload.linkedComponentBlueprints}}};case i.customizationConstants.FAILURE_GENERATE_AI_FOR_PAGE:return{...t,isGeneratingPageUsingAi:!1};case i.customizationConstants.REQUEST_ADD_ANALYTICS_TO_PROJECT:return{...t,isAddingAnalyticsToProject:!0};case i.customizationConstants.SUCCESS_ADD_ANALYTICS_TO_PROJECT:return{...t,isAddingAnalyticsToProject:!1,data:{...t.data,analytics:e.payload?.id}};case i.customizationConstants.FAILURE_ADD_ANALYTICS_TO_PROJECT:return{...t,isAddingAnalyticsToProject:!1};case i.customizationConstants.SET_RECENTLY_EDITED_COMPONENT:return{...t,recentlyEditedComponent:e.payload};case i.customizationConstants.UPDATE_SUBDOMAIN_NAME:return{...t,data:{...t.data,subdomain:e.payload}};case i.customizationConstants.REQUEST_GENERATE_WP_API_KEY:return{...t,isGeneratingWordPressAPIKey:!0};case i.customizationConstants.SUCCESS_GENERATE_WP_API_KEY:return{...t,isGeneratingWordPressAPIKey:!1,data:{...t.data,integrations:{...t.data.integrations,wordpressPlugin:{...t.data.integrations.wordpressPlugin,...e.payload}}}};case i.customizationConstants.FAILURE_GENERATE_WP_API_KEY:return{...t,isGeneratingWordPressAPIKey:!1};case i.customizationConstants.REQUEST_DISCONNECT_WORDPRESS:return{...t,wordpressPluginBeingDisconnected:!0};case i.customizationConstants.FAILURE_DISCONNECT_WORDPRESS:return{...t,wordpressPluginBeingDisconnected:!1};case i.customizationConstants.SUCCESS_DISCONNECT_WORDPRESS:return{...t,wordpressPluginBeingDisconnected:!1,data:{...t.data,integrations:{...t.data.integrations,wordpressPlugin:{apiKey:t.data.integrations.wordpressPlugin.apiKey,status:"plugin-activation-pending"}}}};case i.customizationConstants.REQUEST_DISCONNECT_STRIPE:return{...t,isDisconnectingStripe:!0};case i.customizationConstants.FAILURE_DISCONNECT_STRIPE:return{...t,isDisconnectingStripe:!1};case i.customizationConstants.SUCCESS_DISCONNECT_STRIPE:return{...t,wordpressPluginBeingDisconnected:!1,data:{...t.data,integrations:{...t.data.integrations,stripe:null}}};case i.customizationConstants.REQUEST_ASSIGN_LICENSE:return{...t,isAssigningLifetimeLicense:!0};case i.customizationConstants.SUCCESS_ASSIGN_LICENSE:case i.customizationConstants.FAILURE_ASSIGN_LICENSE:return{...t,isAssigningLifetimeLicense:!1};case i.customizationConstants.STORE_FLAG_TO_TRY_PROMPT_AGAIN:return{...t,tryProjectPromptAgainFlag:e.payload};case i.customizationConstants.STORE_PROJECT_PROMPT:return{...t,projectPrompt:e.payload};case i.customizationConstants.REQUEST_CREATE_PROJECT_FROM_PROMPT:return{...t,isCreatingProjectFromPrompt:!0,tempAIPromptData:{}};case i.customizationConstants.SET_PROJECT_FROM_PROMPT_TRANSFERRED:return{...t,projectFromPromptTransferred:e.payload};case i.customizationConstants.SUCCESS_CREATE_PROJECT_FROM_PROMPT:return{...t,isCreatingProjectFromPrompt:!1,projectFromPromptTransferred:!0,tempAIPromptData:e.payload,isFeedbackToastPending:!0};case i.customizationConstants.FAILURE_CREATE_PROJECT_FROM_PROMPT:return{...t,isCreatingProjectFromPrompt:!1};case i.customizationConstants.AI_FEEDBACK_TOAST_PENDING:return{...t,isFeedbackToastPending:e.payload};case i.customizationConstants.REQUEST_MOVE_GUEST_PROJECT:return{...t,transferingGuestProject:!0};case i.customizationConstants.SUCCESS_MOVE_GUEST_PROJECT:case i.customizationConstants.FAILURE_MOVE_GUEST_PROJECT:return{...t,transferingGuestProject:!1};case i.customizationConstants.IN_PLAYGROUND_MODE:return{...t,playground:e.payload};case i.customizationConstants.REQUEST_TRANSFER_OWNERSHIP_START:return{...t,isTransferingProject:!0};case i.customizationConstants.SUCCESS_TRANSFER_OWNERSHIP_START:return{...t,isTransferingProject:!1,data:{...t.data,transferStatus:e.payload.transferStatus}};case i.customizationConstants.FAILURE_TRANSFER_OWNERSHIP_START:return{...t,isTransferingProject:!1};case i.customizationConstants.UPDATE_PROJECT_USERS:return{...t,projectUsers:e.payload};case i.customizationConstants.UPDATE_DRAG_PLACEHOLDER:return{...t,dragPlaceholder:e.payload};case i.customizationConstants.TOGGLE_TEXT_EDITOR_OUTLINE:return{...t,showTextEditorOutline:e.payload};case i.customizationConstants.UPDATE_USER_ROLE:return{...t,userRole:e.payload};case i.customizationConstants.TRANSFER_COMPONENT_FROM_DOCK_TO_CANVAS:return{...t,transferredComponent:e.payload};case i.customizationConstants.REFRESH_CANVAS:return{...t,refreshCanvas:!0};case i.customizationConstants.SET_IS_UPDATING_BLUEPRINT:return{...t,isUpdatingBlueprint:e.payload};case i.customizationConstants.DROP_UPDATE:return{...t,isDropping:e.payload};case i.customizationConstants.UNDOS_REVISION_UPDATE_IS_STORING_START:return{...t,isStoringUndo:!0};case i.customizationConstants.UNDOS_REVISION_UPDATE_COMPLETED:return{...t,isStoringUndo:!1,canvasInit:!0};case i.customizationConstants.UPDATE_IFRAME_DOCUMENT:return{...t,windowContext:e.payload.windowContext,documentContext:e.payload.documentContext};case i.customizationConstants.RESET_CUSTOMIZATION_STATE:return{...l,isFetching:!1,officialCDHost:!0,webBuilders:t.webBuilders};case i.customizationConstants.INITIATE_CANVAS:return{...t,canvasInit:!0,refreshCanvas:!1};case i.customizationConstants.IMPORT_BASIC_COMPONENTS:return{...t,basicComponentsInit:!0,basicComponentModules:e.payload};case i.customizationConstants.SET_CONTENT_LIMITATION_BUILDER:return{...t,contentLimitationView:e.payload};case i.customizationConstants.REQUEST_GENERIC_API_CALL:return{...t,isMakingGenericAPICall:!0};case i.customizationConstants.SUCCESS_GENERIC_API_CALL:case i.customizationConstants.FAILURE_GENERIC_API_CALL:return{...t,genericAPICall:e.payload,isMakingGenericAPICall:!1};case i.customizationConstants.UPDATE_HIDDEN_LAYOUTS:{const{context:n,payload:o}=e;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],hiddenLayouts:o}}}}}case i.customizationConstants.UPDATE_FORM_STATE:return{...t,formState:{...t.formState,[e.payload.name]:e.payload.value}};case i.customizationConstants.TOGGLE_API_EDITOR:return{...t,showAPIEditor:e.payload};case i.customizationConstants.REQUEST_UPDATE_INTEGRATION:return{...t,isUpdatingIntegration:!0};case i.customizationConstants.SUCCESS_UPDATE_INTEGRATION:return{...t,isUpdatingIntegration:!1,data:{...t.data,...e.payload}};case i.customizationConstants.FAILURE_UPDATE_INTEGRATION:return{...t,isUpdatingIntegration:!1,integrationError:e.payload};case i.customizationConstants.CLEAR_UPDATE_INTEGRATION_ERROR:return{...t,integrationError:""};case i.customizationConstants.REQUEST_ADMIN_WEBBUILDER_UPDATE:return{...t,isAdminUpdatingWebBuilder:!0};case i.customizationConstants.SUCCESS_ADMIN_WEBBUILDER_UPDATE:return{...t,isAdminUpdatingWebBuilder:!1};case i.customizationConstants.FAILURE_ADMIN_WEBBUILDER_UPDATE:return{...t,isAdminUpdatingWebBuilder:!1,adminUpdateWebBuilderError:e.payload};case i.customizationConstants.CLEAR_ADMIN_UPDATE_WEBBUILDER_ERROR:return{...t,adminUpdateWebBuilderError:""};case i.customizationConstants.REQUEST_SAVE_CUSTOM_CODE:return{...t,isSavingCustomCode:!0};case i.customizationConstants.SUCCESS_SAVE_CUSTOM_CODE:return{...t,isSavingCustomCode:!1,data:{...t.data,...e.payload}};case i.customizationConstants.FAILURE_SAVE_CUSTOM_CODE:return{...t,isSavingCustomCode:!1,customCodeError:e.payload};case i.customizationConstants.CLEAR_CUSTOM_CODE_ERROR:return{...t,customCodeError:""};case i.customizationConstants.UPDATE_ACTIVE_FONTS:return{...t,activeFonts:e.payload};case i.customizationConstants.UPDATE_DOMAIN_ACTIVE_STATUS:return{...t,data:{...t.data,active:{...t.data.active,domain:e.payload}}};case i.customizationConstants.UPDATE_SUB_DOMAIN_ACTIVE_STATUS:return{...t,data:{...t.data,active:{...t.data.active,subdomain:e.payload}}};case i.customizationConstants.REQUEST_ADD_SUB_DOMAIN_TO_PROJECT:return{...t,isAddingSubdomain:!0};case i.customizationConstants.SUCCESS_ADD_SUB_DOMAIN_TO_PROJECT:return{...t,isAddingSubdomain:!1,data:{...t.data,subdomain:e.payload,active:{...t.data.active,subdomain:"true"}}};case i.customizationConstants.FAILURE_ADD_SUB_DOMAIN_TO_PROJECT:return{...t,isAddingSubdomain:!1};case i.customizationConstants.REQUEST_ADD_DOMAIN_TO_PROJECT:return{...t,isAddingDomain:!0};case i.customizationConstants.SUCCESS_ADD_DOMAIN_TO_PROJECT:return{...t,isAddingDomain:!1,data:{...t.data,domain:e.payload}};case i.customizationConstants.FAILURE_ADD_DOMAIN_TO_PROJECT:return{...t,isAddingDomain:!1};case i.customizationConstants.TOGGLE_HOST_STATUS:return{...t,officialCDHost:!0};case i.customizationConstants.REQUEST_FETCH_HOST:return{...t,isFetchingHost:!0,officialCDHost:!1,deployPending:!1};case i.customizationConstants.SUCCESS_FETCH_HOST:return{...t,isFetchingHost:!1,data:{...t.data,...e.payload}};case i.customizationConstants.FAILURE_FETCH_HOST:return{...t,isFetchingHost:!1,invalidHost:!0};case i.customizationConstants.CLIENT_DEPLOY_PENDING:return{...t,deployPending:!0};case i.customizationConstants.REQUEST_FETCH_KB_ARTICLE:return{...t,isFetchingKBArticle:!0};case i.customizationConstants.TOGGLE_PHOTOS_PANEL:return{...t,showPhotosPanel:e.payload,photosPanelClickToSelectModeCallback:e.callback};case i.customizationConstants.STORE_BG_IMAGE:return{...t,bgImageTempUrl:e.payload};case i.customizationConstants.UNDO_ACTION:return{...t,recentlyUndone:!0};case i.customizationConstants.UNDO_ACTION_COMPLETE:return{...t,recentlyUndone:!1};case i.customizationConstants.SUCCESS_FETCH_KB_ARTICLE:return{...t,isFetchingKBArticle:!1,kbArticles:e.payload};case i.customizationConstants.FAILURE_FETCH_KB_ARTICLE:return{...t,isFetchingKBArticle:!1};case i.customizationConstants.REQUEST_EXPORT_CODE:return{...t,isExportingCode:!0};case i.customizationConstants.SUCCESS_EXPORT_CODE:case i.customizationConstants.FAILURE_EXPORT_CODE:return{...t,isExportingCode:!1};case i.customizationConstants.UPDATE_COLOR_PALETTE:return{...t,data:{...t.data,colorPalette:e.payload}};case i.customizationConstants.UPDATE_SIDE_POPUP_MENU:return{...t,showSidePopup:e.payload};case i.customizationConstants.SET_BUILDER_CONTAINER_REF:return{...t,builderContainerRef:e.payload};case i.customizationConstants.SET_BUILDER_CANVAS_REF:return{...t,builderCanvasRef:e.payload};case i.customizationConstants.TOGGLE_GLOBAL_SHIFT_KEY:return{...t,globalShiftKey:e.payload};case i.customizationConstants.EXCHANGE_START:return{...t,isExchangingChildren:!0};case i.customizationConstants.EXCHANGE_END:return{...t,isExchangingChildren:!1};case i.customizationConstants.EXCHANGE_CHILDREN:return{...t,isUpdatingBluePrint:!0,isExchangingChildren:!1,deletionKey:e.key,data:{...t.data,blueprint:e.payload}};case i.customizationConstants.TOGGLE_SHOW_GRID:return{...t,showGridLines:e.payload};case i.customizationConstants.TOGGLE_SHOW_CUSTOM_LAYOUT:return{...t,showCustomLayout:e.payload};case i.customizationConstants.CHANGE_GRID_DENSITY:return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[e.context]:{...t.data.blueprint[e.context],meta:{...t.data.blueprint[e.context].meta,gridDensity:e.payload,gridLayout:"compact"===e.payload?c:u}}}}};case i.customizationConstants.UPDATE_RESIZE_STATUS:return{...t,...e.payload};case i.customizationConstants.UPDATE_PROJECT_NAME:return{...t,project:e.payload};case i.customizationConstants.UPDATE_SELECTED_BLOCK:return{...t,recentlySelectedBlock:e.payload};case i.customizationConstants.UPDATE_GUIDELINES:return{...t,guidelines:e.payload};case i.customizationConstants.UPDATE_AUTO_RESPONSIVE_COMPS:return{...t};case i.customizationConstants.SET_FONT_LOADING_STATUS:return{...t,isLoadingGoogleFonts:e.payload};case i.customizationConstants.REQUEST_SAVE_AS_PRESET:return{...t,isUpdatingManifest:!0};case i.customizationConstants.SUCCESS_SAVE_AS_PRESET:return{...t,isUpdatingManifest:!1,data:{...t.data,componentManifest:{...t.data.componentManifest,...e.payload}}};case i.customizationConstants.FAILURE_SAVE_AS_PRESET:return{...t,isUpdatingManifest:!1};case i.customizationConstants.REQUEST_IMPORT_FONTS_USED_IN_TEXT_MANIFEST:return{...t,isLoadingFontsOfTextManifest:!0};case i.customizationConstants.SUCCESS_IMPORT_FONTS_USED_IN_TEXT_MANIFEST:return{...t,isLoadingFontsOfTextManifest:!1,fontsUsedInTextManifest:e.payload};case i.customizationConstants.REQUEST_UPDATE_TEXT_MANIFEST:return{...t,isUpdatingTextManifest:!0};case i.customizationConstants.SUCCESS_UPDATE_TEXT_MANIFEST:return{...t,isUpdatingTextManifest:!1,data:{...t.data,textManifest:e.payload}};case i.customizationConstants.REQUEST_UPDATE_SITE_FONTS:return{...t,isUpdatingSiteFonts:!0,data:{...t.data,fonts:e.payload}};case i.customizationConstants.SUCCESS_UPDATE_SITE_FONTS:return{...t,isUpdatingSiteFonts:!1};case i.customizationConstants.UPDATE_CANVAS_TRANSFORM_VALUE:return{...t,canvasTransform:e.payload};case i.customizationConstants.FAILURE_UPDATE_SITE_FONTS:return{...t};case i.customizationConstants.RESET_GOOGLE_FONTS:return{...t,isFetchingGoogleFonts:!1,googleFonts:[]};case i.customizationConstants.REQUEST_FETCH_GOOGLE_FONTS:return{...t,isFetchingGoogleFonts:!0};case i.customizationConstants.SUCCESS_FETCH_GOOGLE_FONTS:return{...t,isFetchingGoogleFonts:!1,googleFonts:[...new Set([...t.googleFonts||[],...e.payload])]};case i.customizationConstants.FAILURE_FETCH_GOOGLE_FONTS:case i.customizationConstants.REQUEST_FETCH_TAGS:case i.customizationConstants.FAILURE_FETCH_TAGS:return{...t};case i.customizationConstants.REQUEST_SEND_URL:return{...t,isSavingUrl:!0};case i.customizationConstants.SUCCESS_SEND_URL:return{...t,isSavingUrl:!1,verificationData:e.payload};case i.customizationConstants.FAILURE_SEND_URL:return{...t,isSavingUrl:!1};case i.customizationConstants.FAILURE_VERIFY_URL:return{...t,verificationData:{...t.verificationData,data:{...t.verificationData.data,error:!0,message:"Failed to verify. Please try again in a few minutes"},error:!0,message:"Failed to verify. Please try again in a few minutes"}};case i.customizationConstants.STORE_SELECTED_COMPONENT:return{...t,data:{...t.data,currentlySelectedComponentId:e.payload}};case i.customizationConstants.CLEAR_SELECTED_COMPONENTS_ARRAY:return{...t,data:{...t.data,currentlySelectedComponentArray:[]}};case i.customizationConstants.STORE_SELECTED_COMPONENT_INTO_ARRAY:return 0===e.payload.length?{...t,data:{...t.data,currentlySelectedComponentArray:[]}}:{...t,data:{...t.data,currentlySelectedComponentArray:e.payload}};case i.customizationConstants.REQUEST_DELETE_COMPONENT:return{...t,isDeletingComponent:!0};case i.customizationConstants.REQUEST_HIDE_COMPONENT:return{...t,isHidingComponent:!0};case i.customizationConstants.REMOVE_PROPERTY:{const n=e.context;let o=r()(t.data.blueprint[n]);return e.payload.length?e.payload.map((t=>(delete o[t],!0))):delete o[e.payload],{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:o}},isDeletingComponent:!0}}case i.customizationConstants.SUCCESS_DELETE_COMPONENT:{const{blueprint:n,clientId:o}=e.payload;return{...t,isDeletingComponent:!1,data:{...t.data,...e.options&&!1!==e.options.changeSelectedComponent?{currentlySelectedComponentId:"Global0007"}:{},blueprint:n,recentlyremovedComponentId:o}}}case i.customizationConstants.SUCCESS_DELETE_MULTIPLE_COMPONENTS:{let n=e.currentView,o={};const{payload:a}=e;let i=r()(t.data.blueprint[t.context].components);return a&&a.map((r=>(Object.keys(t.data.blueprint[n].layouts).map((e=>{const a=t.data.blueprint[n].layouts[e].filter((t=>t.i!==r));return o={...o,[e]:a},!0})),Object.prototype.hasOwnProperty.call(i,r)&&e.options&&e.options.delete&&delete i[r],!0))),{...t,isDeletingComponent:!1,data:{...t.data,...!1!==e.options.changeSelectedComponent?{currentlySelectedComponentId:"Global0007"}:{},blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],components:i}},recentlyremovedComponentId:e.payload}}}case i.customizationConstants.SUCCESS_HIDE_MULTIPLE_COMPONENTS:{let n=e.currentView,o={};const{payload:a}=e;let i=r()(t.data.blueprint[t.context].components);return a&&a.map((r=>{if(Object.keys(t.data.blueprint[n].layouts).map((e=>{const a=t.data.blueprint[n].layouts[e].filter((t=>t.i!==r));return o={...o,[e]:a},!0})),Object.prototype.hasOwnProperty.call(i,r)){let t=i[r].props.componentData.hideIn;i[r].props.componentData.hideIn=[...new Set([...t||[],e.currentBreakpoint])],e.options&&e.options.delete&&delete i[r]}return!0})),{...t,isHidingComponent:!1,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],components:i}},recentlyUpdatedComponents:a,recentlyremovedComponentId:e.payload}}}case i.customizationConstants.UPDATE_COMPONENT_PROPS:{const{context:n,payload:o}=e;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],components:{...t.data.blueprint[n].components,[o.client_id]:o}}}}}}case i.customizationConstants.RESET_DOMAIN_DETAILS:return{...t,verificationData:{...t.verificationData,data:{error:!1}}};case i.customizationConstants.TOGGLE_CUSTOMIZATION:return{...t,customizationEnabled:!t.customizationEnabled};case i.customizationConstants.TOGGLE_IMAGE_EDIT_MODAL:return{...t,showImageEditModal:!t.showImageEditModal};case i.customizationConstants.TOGGLE_COMPONENT_EDIT_MODAL:return{...t,showComponentEditModal:void 0===e.payload?!t.showComponentEditModal:e.payload};case i.customizationConstants.STORE_IMAGE_COMP_ID_AND_URL:return{...t,data:{...t.data,selectedData:e.payload}};case i.customizationConstants.CHANGE_LAYOUT:{let n=e.currentView;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],layouts:{...t.data.blueprint[n].layouts,lg:[...new Set([...t.data.blueprint[n].layouts.lg||[],...e.payload.lg])],md:[...new Set([...t.data.blueprint[n].layouts.md||[],...e.payload.md])],sm:[...new Set([...t.data.blueprint[n].layouts.sm||[],...e.payload.sm])],bp_1280:[...new Set([...t.data.blueprint[n].layouts.bp_1280||[],...e.payload.bp_1280])],bp_1440:[...new Set([...t.data.blueprint[n].layouts.bp_1440||[],...e.payload.bp_1440])],bp_1920:[...new Set([...t.data.blueprint[n].layouts.bp_1920||[],...e.payload.bp_1920])]}}}}}}case i.customizationConstants.CHANGE_LAYOUT_CHILD:{let n=e.currentView,o=e.parent;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],[o]:{lg:[],md:[],sm:[],bp_1280:[],bp_1440:[],bp_1920:[],...t.data.blueprint[n][o],lg:[...new Set([...t.data.blueprint[n][o]?t.data.blueprint[n][o].lg:{},...e.payload.lg])],md:[...new Set([...t.data.blueprint[n][o]?t.data.blueprint[n][o].md:{},...e.payload.md])],sm:[...new Set([...t.data.blueprint[n][o]?t.data.blueprint[n][o].sm:{},...e.payload.sm])],bp_1280:[...new Set([...t.data.blueprint[n][o]?t.data.blueprint[n][o].bp_1280:{},...e.payload.bp_1280])],bp_1440:[...new Set([...t.data.blueprint[n][o]?t.data.blueprint[n][o].bp_1440:{},...e.payload.bp_1440])],bp_1920:[...new Set([...t.data.blueprint[n][o]?t.data.blueprint[n][o].bp_1920:{},...e.payload.bp_1920])]}}}}}}case i.customizationConstants.REPLACE_LAYOUT:{let n=e.currentView;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],layouts:{...t.data.blueprint[n].layouts,lg:[...new Set([...e.payload.lg])],md:[...new Set([...e.payload.md])],sm:[...new Set([...e.payload.sm])],bp_1280:[...new Set([...e.payload.bp_1280])],bp_1440:[...new Set([...e.payload.bp_1440])],bp_1920:[...new Set([...e.payload.bp_1920])]}}}}}}case i.customizationConstants.REPLACE_TEMP_LAYOUT:{let n=e.currentView;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],tempLayouts:{...t.data.blueprint[n].tempLayouts,lg:[...new Set([...e.payload.lg])],md:[...new Set([...e.payload.md])],sm:[...new Set([...e.payload.sm])],bp_1280:[...new Set([...e.payload.bp_1280])],bp_1440:[...new Set([...e.payload.bp_1440])],bp_1920:[...new Set([...e.payload.bp_1920])]}}}}}}case i.customizationConstants.REMOVE_LAYOUTS_FROM_TEMP_LAYOUTS:{let n=e.currentView,o=e.name;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],[o]:e.payload}}}}}case i.customizationConstants.ADD_TEMP_LAYOUT:{let n=e.currentView;return{...t,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],tempLayouts:{lg:[...t.data.blueprint[n].tempLayouts&&t.data.blueprint[n].tempLayouts.lg||[],...e.payload.lg],md:[...t.data.blueprint[n].tempLayouts&&t.data.blueprint[n].tempLayouts.md||[],...e.payload.md],sm:[...t.data.blueprint[n].tempLayouts&&t.data.blueprint[n].tempLayouts.sm||[],...e.payload.sm],bp_1280:[...t.data.blueprint[n].tempLayouts&&t.data.blueprint[n].tempLayouts.bp_1280||[],...e.payload.bp_1280],bp_1440:[...t.data.blueprint[n].tempLayouts&&t.data.blueprint[n].tempLayouts.bp_1440||[],...e.payload.bp_1440],bp_1920:[...t.data.blueprint[n].tempLayouts&&t.data.blueprint[n].tempLayouts.bp_1920||[],...e.payload.bp_1920]}}}}}}case i.customizationConstants.UPDATE_BP_ONLY:return{...t,data:{...t.data,blueprint:e.payload}};case i.customizationConstants.UPDATE_BLUEPRINT:return{...t,isUpdatingBluePrint:!1,data:{...t.data,blueprint:{...t.data.blueprint,[e.currentView]:{...t.data.blueprint[e.currentView],components:{...t.data.blueprint[e.currentView].components,[e.payload.client_id]:e.payload}}}}};case i.customizationConstants.UPDATE_BLUEPRINT_WITH_MULTIPLE_COMPONENTS:return{...t,isUpdatingBluePrint:!1,isDeletingComponent:!1,data:{...t.data,blueprint:{...t.data.blueprint,[e.currentView]:{...t.data.blueprint[e.currentView],components:{...t.data.blueprint[e.currentView].components,...e.payload}}}}};case i.customizationConstants.REQUEST_PUBLISH_PROJECT:return{...t,isPublishingProject:!0};case i.customizationConstants.SUCCESS_PUBLISH_PROJECT:{const{subdomainUpdatedAt:n,domainUpdatedAt:o}=e.payload;return{...t,isPublishingProject:!1,data:{...t.data,subdomainUpdatedAt:n,domainUpdatedAt:o}}}case i.customizationConstants.FAILURE_PUBLISH_PROJECT:return{...t,isPublishingProject:!1};case i.customizationConstants.FAILURE_PUBLISH_PAGE_LAYOUT:return{...t,isPublishingPage:!1};case i.customizationConstants.PUBLISH_PAGE_LAYOUT:return{...t,isPublishingPage:!0};case i.customizationConstants.SUCCESS_PUBLISH_PAGE_LAYOUT:return{...t,isPublishingPage:!1,data:{...t.data,blueprint:e.payload.blueprint}};case i.customizationConstants.UPDATE_UI_STATE:return{...t,uiState:{...t.uiState,...e.payload}};case i.customizationConstants.BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE:return{...t,deletionKey:"",isUpdatingLayout:!1,isUpdatingBluePrint:!1,data:{...t.data,recentlyAddedComponent:{},recentlyUpdatedComponents:[]}};case i.customizationConstants.BLUEPRINT_AND_LAYOUT_UPDATE_COMPLETE_WM:{const{context:n,name:o,payload:r}=e;return{...t,deletionKey:"",isUpdatingLayout:!1,isUpdatingBluePrint:!1,data:{...t.data,blueprint:{...t.data.blueprint,[n]:{...t.data.blueprint[n],components:{...t.data.blueprint[n].components,[o]:{...t.data.blueprint[n].components[o],component:r}}}},recentlyAddedComponent:{},recentlyUpdatedComponents:[]}}}case i.customizationConstants.REQUEST_SAVE_LAYOUT:return{...t,isUpdating:!0,data:{...t.data,blueprint:e.payload},guidelines:{topGuide:{},leftGuide:{},rightGuide:{},bottomGuide:{}}};case i.customizationConstants.SUCCESS_SAVE_LAYOUT:case i.customizationConstants.FAILURE_SAVE_LAYOUT:return{...t,isUpdating:!1};case i.customizationConstants.REQUEST_FETCH_WEB_BUILDER:return{...t,isFetching:!0,componentsInitialized:!1};case i.customizationConstants.SUCCESS_POLL_WEB_BUILDER:return{...t,isFetching:!1};case i.customizationConstants.SUCCESS_FETCH_WEB_BUILDER:return{...t,data:{...t.data,...e.payload},componentsInitialized:!0,isFetching:!1,layoutsInitialized:!0,canvasInit:!1};case i.customizationConstants.FAILURE_FETCH_WEB_BUILDER:return{...t,permissionError:!0,isFetching:!1};case i.customizationConstants.CLEAR_PERMISSION_ERROR:return{...t,permissionError:!1};case i.customizationConstants.FAILURE_FETCH:return{...t,isFetching:!1};case i.customizationConstants.REQUEST_FETCH_WEB_BUILDERS:return{...t,isFetching:!0};case i.customizationConstants.SUCCESS_FETCH_WEB_BUILDERS:return{...t,webBuilders:[...e.payload],isFetching:!1};case i.customizationConstants.FAILURE_FETCH_WEB_BUILDERS:return{...t,isFetching:!1};case i.customizationConstants.REQUEST_SAVE_CROPPED_IMAGE:return{...t,isUploadingImage:!0};case i.customizationConstants.SUCCESS_SAVE_CROPPED_IMAGE:return{...t,isUploadingImage:!1,croppedImageProps:e.payload};case i.customizationConstants.FAILURE_SAVE_CROPPED_IMAGE:return{...t,isUploadingImage:!1};case i.customizationConstants.REQUEST_SAVE_IMAGE:return{...t,isImageUploaded:!0};case i.customizationConstants.FAILURE_SAVE_IMAGE:return{...t,isImageUploaded:!1};case i.customizationConstants.CHANGE_VIEW:return{...t,data:{...t.data,view:e.payload,currentBreakpoint:e.breakpoint},isUpdatingView:!0};case i.customizationConstants.UPDATE_RESPONSIVE_VIEW_FLAG:return{...t,isUpdatingView:e.payload};case i.customizationConstants.CHANGE_CONTEXT:return{...t,context:e.payload};case i.customizationConstants.REQUEST_ADD_PAGE:return{...t,isAddingNewPage:!0,isAddedPage:!1};case i.customizationConstants.SUCCESS_ADD_PAGE:{const n=Object.keys(e.payload)[0];return{...t,data:{...t.data,blueprint:{...t.data.blueprint,...e.payload}},isAddingNewPage:!1,isAddedPage:!0,newlyAddedPage:n,isAddedNewProject:e.options&&e.options.isAddedNewProject}}case i.customizationConstants.FAILURE_ADD_PAGE:return{...t,isAddingNewPage:!1,isAddedPage:!1};case i.customizationConstants.REQUEST_DELETE_PAGE:return{...t,data:{...t.data,blueprint:e.payload},isDeletingPage:!0};case i.customizationConstants.SUCCESS_DELETE_PAGE:case i.customizationConstants.FAILURE_DELETE_PAGE:return{...t,isDeletingPage:!1};case i.customizationConstants.REQUEST_DELETE_PROJECT:return{...t,isDeletingProject:!0};case i.customizationConstants.SUCCESS_DELETE_PROJECT:return{...t,webBuilders:e.payload,isDeletingProject:!1};case i.customizationConstants.FAILURE_DELETE_PROJECT:return{...t,isDeletingProject:!1};case i.customizationConstants.REQUEST_ADD_PROJECT:return{...t,isAddingNewProject:!0};case i.customizationConstants.SUCCESS_ADD_PROJECT:return{...t,isAddingNewProject:!1,webBuilders:[...t.webBuilders,e.payload]};case i.customizationConstants.FAILURE_ADD_PROJECT:return{...t,isAddingNewProject:!1};case i.customizationConstants.UPDATE_BLUEPRINT_BROADCAST:return{...t,data:{...t.data,blueprint:{...t.data.blueprint,...e.payload}}};case i.customizationConstants.REQUEST_FETCH_TEMPLATE_BY_KEY:return{...t,isFetchingTemplateByKey:!0};case i.customizationConstants.SUCCESS_FETCH_TEMPLATE_BY_KEY:return{...t,isFetchingTemplateByKey:!1,data:{...t.data,...e.payload}};case i.customizationConstants.FAILURE_FETCH_TEMPLATE_BY_KEY:return{...t,isFetchingTemplateByKey:!1};case i.customizationConstants.REQUEST_FETCH_TEMPLATES_V2:return{...t,templates:{...t.templates,isFetchingTemplates:!0}};case i.customizationConstants.SUCCESS_FETCH_TEMPLATES_V2:return{...t,templates:{...t.templates,isFetchingTemplates:!1,data:e.payload}};case i.customizationConstants.FAILURE_FETCH_TEMPLATES_V2:return{...t,templates:{...t.templates,isFetchingTemplates:!1}};case i.customizationConstants.REQUEST_FETCH_COMPONENT_LIBRARY_V2:return{...t,isFetchingComponentLibrary:!0,data:{...t.data}};case i.customizationConstants.SUCCESS_FETCH_COMPONENT_LIBRARY_V2:return{...t,isFetchingComponentLibrary:!1,data:{...t.data,templates:e.payload}};case i.customizationConstants.FAILURE_FETCH_COMPONENT_LIBRARY_V2:return{...t,isFetchingComponentLibrary:!1};case i.customizationConstants.REQUEST_FETCH_COMPONENT_MANIFEST:return{...t,isFetchingComponentManifest:!0};case i.customizationConstants.SUCCESS_FETCH_COMPONENT_MANIFEST:{let n={...e.payload,htmlCode:{...d}};return{...t,isFetchingComponentManifest:!1,data:{...t.data,existingComponentsNew:n}}}case i.customizationConstants.FAILURE_FETCH_COMPONENT_MANIFEST:return{...t,isFetchingComponentManifest:!1};case i.customizationConstants.REQUEST_FETCH_VERSIONS:return{...t,isFetchingVersionHistory:!0};case i.customizationConstants.SUCCESS_FETCH_VERSIONS:{let n=e.payload;return{...t,isFetchingVersionHistory:!1,versionHistory:[...t.versionHistory,...n],lastFetchedVersionHistoryCount:n.length,totalVersionCount:n.length+t.versionHistory?.length}}case i.customizationConstants.SUCCESS_DELETE_BACKUP:return{...t,versionHistory:t.versionHistory.filter((t=>t.docId!==e.payload))};case i.customizationConstants.CLEAR_VERSION_HISTORY:return{...t,isFetchingVersionHistory:!1,versionHistory:[],lastFetchedVersionHistoryCount:null,totalVersionCount:null};case i.customizationConstants.FAILURE_FETCH_VERSIONS:return{...t,isFetchingVersionHistory:!1};case i.customizationConstants.REQUEST_UPDATE_WITH_NEW_TEMPLATE:return{...t,isUpdatingTemplate:!0};case i.customizationConstants.SUCCESS_UPDATE_WITH_NEW_TEMPLATE:return{...t,isUpdatingTemplate:!1};case i.customizationConstants.SET_TEMP_FONT_FAMILIES:return{...t,tempFontFamilies:e.payload};case i.customizationConstants.UPDATE_BLUEPRINT_CONTENT_REQUEST:return{...t,isSavingBlueprintContent:!0};case i.customizationConstants.UPDATE_BLUEPRINT_CONTENT_SUCCESS:return{...t,isSavingBlueprintContent:!1,data:{...t.data,...e.payload}};case i.customizationConstants.UPDATE_BLUEPRINT_CONTENT_FAILURE:return{...t,isSavingBlueprintContent:!1,errorSavingBlueprintContentMsg:e.payload};case i.customizationConstants.UPDATE_BLUEPRINT_CONTENT:return{...t,data:{...t.data,[e.payload.dataname]:e.payload.content}};case i.customizationConstants.UPDATE_STATIC_MEDIA:return{...t,data:{...t.data,staticMedia:e.payload}};case i.customizationConstants.STORE_SELECTED_STATENAME:return{...t,currentStateNameOfComponent:e.payload};case i.customizationConstants.SET_BG_MULTILIST_EXPANDED_IDS:return{...t,bgMultilistExpandedIds:e.payload};case i.customizationConstants.SET_BG_IMAGE_CHANGED_INDEX:return{...t,tempBgImageChangedIndex:e.payload};default:return t}}const d={layouts:{layouts:{lg:[{x:"0px",y:"0px",w:"100%",i:"HTMLCode1pqr",h:"300px",static:!1}],sm:[{i:"HTMLCode1pqr"}],md:[{i:"HTMLCode1pqr"}],bp_1920:[{i:"HTMLCode1pqr"}],bp_1440:[{i:"HTMLCode1pqr"}],bp_1280:[{i:"HTMLCode1pqr"}]},version:17},components:{HTMLCode1pqr:{uniqueId:"HTMLCode1pqr",zIndex:"",author:"Storylens",isListed:"true",isStatic:!1,name:"HTMLCode",main:"UI/HTMLCode/index.jsx",type:"component",category:"Text",client_id:"HTMLCode1pqr",givenName:"HTML Code"}},isPremiumElement:!0,name:"HTMLCode",displayName:"HTML Code",category:"Text",subCategory:"Embed",subCategoryOrder:"2",description:"html code component without iframe wrapper",custom:"true",isListed:"true",isStatic:!1,main:"UI/HTMLCode/index.jsx",thumbnail:{src:"https://res.cloudinary.com/dbyioi2qq/q_auto/v1667671648/static/iframesvg_1667671647_13432.svg"},uniqueId:"HTMLCode1pqr",fonts:{},classes:{},functions:{}}},4303:function(t,e,n){"use strict";n.r(e),n.d(e,{errors:function(){return i}});var o=n(7100),r=n(5017);const a={};function i(t=a,e){switch(e.type){case o.errorsConstants.ADD_ERROR:return Object.assign({},t,{errorType:e.payload.type,error:e.payload.error,env:(0,r.returnAPI)()});case o.errorsConstants.REMOVE_ERROR:return Object.assign({},t,{errorType:"",error:""});default:return t}}},7772:function(t,e,n){"use strict";n.r(e),n.d(e,{functions:function(){return i}});var o=n(7100),r=n(8858);const a={data:{functionDefinitions:{}},isFetching:!1,isDeletingFunction:!1};function i(t=a,e){switch(e.type){case r.ju:return{...t,...e.payload.functions};case o.functionConstants.REQUEST_DELETE_FUNCTION:return{...t,isDeletingFunction:!0};case o.functionConstants.SUCCESS_DELETE_FUNCTION:case o.functionConstants.FAILURE_DELETE_FUNCTION:return{...t,isDeletingFunction:!1};case o.functionConstants.FUNCTION_FETCH_REQUEST:return{...t,isFetching:!0};case o.functionConstants.FUNCTION_FETCH_SUCCESS:return{...t,isFetching:!1,data:{functionDefinitions:e.payload}};case o.functionConstants.FUNCTION_FETCH_FAILURE:return{...t,isFetching:!1};case o.functionConstants.REQUEST_CREATE_NEW_FUNCTION:return{...t,isFetching:!0};case o.functionConstants.SUCCESS_CREATE_NEW_FUNCTION:return{...t,isFetching:!1,data:{...t.data,functionDefinitions:{...t.data.functionDefinitions,...e.payload}}};case o.functionConstants.FAILURE_CREATE_NEW_FUNCTION:return{...t,isFetching:!1};case o.functionConstants.REQUEST_UPDATE_FUNCTION:return{...t,isFetching:!0};case o.functionConstants.SUCCESS_UPDATE_FUNCTION:return{...t,isFetching:!1,data:{...t.data,functionDefinitions:{...e.payload}}};case o.functionConstants.FAILURE_UPDATE_FUNCTION:return{...t,isFetching:!1};case o.functionConstants.DELETE_FUNCTION:return{...t};case o.functionConstants.UPDATE_FUNCTION_CONTENT:return{...t,data:{...t.data,functionDefinitions:{...e.payload}}};case o.functionConstants.RESET:return{...a};default:return t}}},711:function(t,e,n){"use strict";n.r(e);var o=n(5217),r=n(3905),a=n(4399),i=n(6162),s=n(7520),c=n(4303),u=n(2787),l=n(3239),p=n(5558),d=n(1700),f=n(6569),E=n(7772),m=n(5925),_=n(1090),h=n(7100),g=n(2668);const S=(0,o.UY)({user:r.user,ui:a.ui,alerts:i.alerts,lens:s.lens,errors:c.errors,cloudinaryImage:u.cloudinaryImage,notifications:l.notifications,admin:p.admin,common:d.common,stateManagement:f.stateManagement,customization:(0,_.ZP)(m.customization,{undoType:h.customizationConstants.UNDO,redoType:h.customizationConstants.REDO,ignoreInitialState:!0,filter:function(t,e,n){let{past:o,present:r}=n;if([h.customizationConstants.UNDOS_REVISION_UPDATE].includes(t.type)){const t=o[o.length-1];return!t||JSON.stringify(t.data.blueprint)!==JSON.stringify(r.data.blueprint)}},clearHistoryType:h.customizationConstants.RESET_UNDO_STATE}),database:g.database,functions:E.functions});e.default=S},7520:function(t,e,n){"use strict";n.r(e),n.d(e,{lens:function(){return a}});var o=n(7100);const r={fetching:!1,stories:[],cardContent:{},popularStories:{stories:[{author:{},title:"",slug:"",readTime:"",content:{}},{author:{},title:"",slug:"",readTime:"",content:{}},{author:{},title:"",slug:"",readTime:"",content:{}},{author:{},title:"",slug:"",readTime:"",content:{}},{author:{},title:"",slug:"",readTime:"",content:{}}],count:0,isFetching:!1},popularTags:{tags:[],count:0,isFetching:!1},initialFetchTime:Date.now(),count:0,searchResults:{stories:[],count:0,totalCount:0,isFetching:!1},searchText:"",pageLocation:""};function a(t=r,e){switch(e.type){case o.lensConstants.SUCCESS_FETCH_CARD_CONTENT:return{...t,cardContent:{...t.cardContent,[e.payload.parameter]:[...t.cardContent[e.payload.parameter]?t.cardContent[e.payload.parameter]:[],...e.payload.data]}};case o.lensConstants.STORE_LOCATION:return{...t,pageLocation:e.payload};case o.lensConstants.FETCH_REQUEST:return Object.assign({},t,{fetching:!0});case o.lensConstants.FETCH_SUCCESS:return Object.assign({},t,{fetching:!1,stories:[...t.stories,...e.payload],count:t.count+e.payload.length});case o.lensConstants.FETCH_FAILURE:return Object.assign({},t,{fetching:!1});case o.lensConstants.REQUEST_FETCH_POPULAR_STORIES:return Object.assign({},t,{popularStories:{...t.popularStories,isFetching:!0}});case o.lensConstants.SUCCESS_FETCH_POPULAR_STORIES:return Object.assign({},t,{popularStories:{...t.popularStories,isFetching:!1,stories:e.payload,count:e.payload.length}});case o.lensConstants.FAILURE_FETCH_POPULAR_STORIES:return Object.assign({},t,{popularStories:{...t.popularStories,isFetching:!1}});case o.lensConstants.REQUEST_FETCH_POPULAR_TAGS:return Object.assign({},t,{popularTags:{isFetching:!0}});case o.lensConstants.SUCCESS_FETCH_POPULAR_TAGS:return Object.assign({},t,{popularTags:{...t.popularTags,isFetching:!1,tags:[...e.payload],count:t.popularTags.count+e.payload.length}});case o.lensConstants.FAILURE_FETCH_POPULAR_TAGS:return Object.assign({},t,{popularTags:{isFetching:!1}});case o.lensConstants.CLEAR_STORYLIST:return Object.assign({},t,{stories:[]});case o.lensConstants.SEARCH_REQUEST:return{...t,searchResults:{...t.searchResults,isFetching:!0}};case o.lensConstants.SEARCH_SUCCESS:return{...t,searchResults:{...t.searchResults,isFetching:!1,stories:[...t.searchResults.stories,...e.payload.data],count:t.searchResults.count+e.payload.count,totalCount:e.payload.totalCount?e.payload.totalCount:t.searchResults.totalCount}};case o.lensConstants.SEARCH_FAILURE:return{...t,searchResults:{...t.searchResults,isFetching:!1}};case o.lensConstants.CLEAR_SEARCH_RESULTS:return{...t,searchResults:{...r.searchResults}};case o.lensConstants.SUCCESS_STORY_LIKE:{const n=t.stories.map((t=>t._id===e.payload.storyId?{...t,likesCount:t.likesCount+1,likes:[...t.likes,{userId:e.payload.userId}],isLiked:!0}:t));return{...t,stories:n}}case o.lensConstants.SUCCESS_STORY_UNLIKE:{const n=t.stories.map((t=>{if(t._id===e.payload.storyId){let n=t.likes.filter((t=>t.userId!==e.payload.userId));return{...t,likesCount:t.likesCount-1,likes:n,isLiked:!1}}return t}));return{...t,stories:n}}case o.lensConstants.SUCCESS_STORY_ADD_BOOKMARK:{const n=t.stories.map((t=>t._id===e.payload.storyId?{...t,bookmarksCount:t.bookmarksCount+1,bookmarks:[...t.bookmarks,{userId:e.payload.userId}],isBookmarked:!0}:t));return{...t,stories:n}}case o.lensConstants.SUCCESS_STORY_REMOVE_BOOKMARK:{const n=t.stories.map((t=>{if(t._id===e.payload.storyId){let n=t.bookmarks.filter((t=>t.userId!==e.payload.userId));return{...t,bookmarksCount:t.bookmarksCount-1,bookmarks:n,isBookmarked:!1}}return t}));return{...t,stories:n}}case o.lensConstants.CLEAR_TAG_RESULTS:return Object.assign({},t,{searchByTagResults:{count:0,stories:[]}});default:return t}}},3239:function(t,e,n){"use strict";n.r(e),n.d(e,{notifications:function(){return a}});var o=n(9346);const r={isFetching:!1,data:[],count:0,unreadCount:0,totalCount:0};function a(t=r,e){switch(e.type){case o.notificationsConstants.REQUEST_NOTIFICATIONS:return{...t,isFetching:!0};case o.notificationsConstants.SUCCESS_NOTIFICATIONS:return{...t,data:[...t.data,...e.payload.data],count:t.count+e.payload.data.length,unreadCount:e.payload.unreadCount,isFetching:!1,totalCount:20};case o.notificationsConstants.FAILURE_NOTIFICATIONS:return{...t,isFetching:!1};case o.notificationsConstants.REQUEST_READ_NOTIFICATION:return{...t,isReading:!0};case o.notificationsConstants.SUCCESS_READ_NOTIFICATION:{const n=t.data.map(((n,o)=>n._id===e.payload?(t.data[o].read=!0,t.data[o]):t.data[o]));return{...t,data:n,unreadCount:t.unreadCount-1,isReading:!1}}case o.notificationsConstants.FAILURE_READ_NOTIFICATION:return{...t,isReading:!1};case o.notificationsConstants.REQUEST_UNREAD_NOTIFICATION:return{...t,isReading:!0};case o.notificationsConstants.SUCCESS_UNREAD_NOTIFICATION:{const n=t.data.map(((n,o)=>n._id===e.payload?(t.data[o].read=!1,t.data[o]):t.data[o]));return{...t,data:n,isReading:!1,unreadCount:t.unreadCount+1}}case o.notificationsConstants.FAILURE_UNREAD_NOTIFICATION:return{...t,isReading:!1};case o.notificationsConstants.REQUEST_READ_ALL_NOTIFICATIONS:return{...t,isReading:!0};case o.notificationsConstants.SUCCESS_READ_ALL_NOTIFICATIONS:{const e=t.data.map(((e,n)=>(t.data[n].read=!0,t.data[n])));return{...t,data:e,isReading:!1,unreadCount:0}}case o.notificationsConstants.FAILURE_READ_ALL_NOTIFICATIONS:return{...t,isReading:!1};default:return t}}},6569:function(t,e,n){"use strict";n.r(e),n.d(e,{stateManagement:function(){return a}});var o=n(7100);const r={global:{}};function a(t=r,e){switch(e.type){case o.stateManagementConstants.LOAD_INITIAL_STATE:return{...t,...e.payload};case o.stateManagementConstants.ADD_STATE:return{...t,[e.payload.parent]:{[e.payload.key]:{value:""}}};case o.stateManagementConstants.UPDATE_STATE:return{...t,[e.payload.parent]:{...t[e.payload.parent],[e.payload.key]:{value:e.payload.value}}};case o.stateManagementConstants.DELETE_STATE:{let n=t[e.payload.parent];return delete n[e.payload.key],{...t,[e.payload.parent]:n}}case o.stateManagementConstants.UPDATE_INDIVIDUAL_ITEM:return{...t,[e.payload.itemKey]:e.payload.itemValue};default:return t}}},4399:function(t,e,n){"use strict";n.r(e),n.d(e,{ui:function(){return s}});var o=n(8858),r=n(6160),a=n(7100);const i={authenticationModalVisibility:!1,authenticationModalTab:"login",navigationDropdownMenu:!1,signupModalWithMessage:!1,signupModalMessage:"",statsModalWindow:!1,searchButtonVisible:!1,draftPublishConfirmationModal:!1,isFeaturedImageVisible:!1,mobileSideNav:!1,screenView:"",screenWidth:0,showPremiumModal:!1,isElementOutlineVisible:!1,currentBookmarkInnerTabKey:r.builderConstants.BOOKMARK_LINKEDCOMPONENT_TAB,isGeneralLoading:!1,currentDBTab:r.builderConstants.DB_TAB_APP_DATA,currentAppSettingsTab:r.builderConstants.APP_SETTINGS_TAB_GENERAL,isInitalLoadingDone:!1,isPublishingSiteLoadingStatus:!1,showCreateTableModal:!1,showAddDataModal:!1,deleteTableAlert:"",dockSidebarActiveMenu:"templates",customizationIsUpdating:!1,moveElementState:{},currentWorkspaceTab:"",showCustomComponentStyleModal:!1,showPricingModal:!1,showChooseProjectForUpgradeModal:!1,showSaveAndPublishPopupPlayground:!1,showElementFloatingPopup:!1,showReferralPopup:!1,doubleClickedPosition:{left:0,top:0,isDragging:!1,offsetX:0,offsetY:0},showFeatureUpdateModalFromBuilder:!1,componentEditPanelInnerTabKey:"design",dragStatus:!1,viewSetFromSSR:"",showGeneratePageModal:!1,showExitModal:!1,showSyncChangesModal:!1,hoverElementPositionData:!1,v:!1,triggerDoubleClick:!1,triggerShiftUpOrDown:!1,isLegacyFormUpdating:{},rightSideEditPopupType:"",addElementFlag:!1,addElementFlagOptions:{},isHoveringInsideForElementAddition:!1,addElementFromCanvasBodyFlag:!1,playgroundSavingFlag:!1,pricingModalCaseItem:"",aiFailureAttempt:0,projectAssets:[],deletedImageUrl:null,isDeletingImage:!1,totalImages:0};function s(t=i,e){switch(e.type){case o.ju:return{...t,...e.payload.ui};case a.uiConstants.IS_DELETING_IMAGE:return{...t,isDeletingImage:e.payload};case a.uiConstants.DELETE_IMAGE_REQUEST:return{...t,deletedImageUrl:e.payload};case a.uiConstants.RESET_DELETED_IMAGE:return{...t,deletedImageUrl:null};case a.uiConstants.UPDATE_TOTAL_IMAGES:return{...t,totalImages:e.payload};case a.uiConstants.SET_PROJECT_ASSETS:return{...t,projectAssets:[...t.projectAssets,...e.payload]};case a.uiConstants.UPDATE_PROJECT_ASSETS:return{...t,projectAssets:e.payload};case a.uiConstants.SUCCESS_SAVE_IMAGE:{let n=e.payload;return{...t,projectAssets:[n,...t.projectAssets],totalImages:t.totalImages+1}}case a.uiConstants.UPDATE_STORAGE_INFO:return{...t,fileStorageInfo:e.payload};case a.uiConstants.SET_RIGHT_SIDE_EDIT_POPUP_TYPE:return{...t,rightSideEditPopupType:e.payload};case a.uiConstants.TRIGGER_SHIFT_UP_OR_DOWN:return{...t,triggerShiftUpOrDown:e.payload};case a.uiConstants.TRIGGER_DOUBLE_CLICK:return{...t,triggerDoubleClick:e.payload};case a.uiConstants.SET_SHOW_ELEMENT_FLOATING_POPUP:return{...t,showElementFloatingPopup:e.payload};case a.uiConstants.SET_PLAYGROUND_SAVING_FLAG:return{...t,playgroundSavingFlag:e.payload};case a.uiConstants.SET_IS_HOVERING_INSIDE_FOR_ELEMENT_ADDITION:return{...t,isHoveringInsideForElementAddition:e.payload};case a.uiConstants.SET_ADD_ELEMENT_HELPER_IDS:return{...t,addElementHelperStartId:e.payload.startId,addElementHelperEndId:e.payload.endId};case a.uiConstants.SET_ADD_ELEMENT_FLAG:return{...t,addElementFlag:e.payload,addElementFlagOptions:e.options};case a.uiConstants.SET_ADD_ELEMENT_FROM_CANVAS_BODY_FLAG:return{...t,addElementFromCanvasBodyFlag:e.payload};case a.uiConstants.SHOW_SYNC_CHANGES_MODAL:return{...t,showSyncChangesModal:e.payload};case a.uiConstants.SET_LEGACY_FORM_UPDATING:return{...t,isLegacyFormUpdating:{...t.isLegacyFormUpdating,[e.payload.clientId]:e.payload.val}};case a.uiConstants.SHOW_ADVANCED_OPTIONS:return{...t,showAdvancedOptions:!t.showAdvancedOptions};case a.uiConstants.UPDATE_HOVER_ELEMENT_POSITION_DATA:return{...t,hoverElementPositionData:e.payload};case a.uiConstants.SET_AI_SIDE_BAR_STATUS:return{...t,aiSidebarStatus:e.payload};case a.uiConstants.GRID_LAYOUT_CHILD_UPDATE_REQUIRED:return{...t,gridLayoutChildUpdateRequired:e.payload};case a.uiConstants.LAYOUT_SHIFT_REQUIRED:return{...t,layoutShiftRequired:e.payload};case a.uiConstants.SET_RIGHT_CLICK_SIDE_MENU_STATUS:return{...t,rightClickSideMenuStatus:e.payload.status,rightClickSideMenuPosition:e.payload.position};case a.uiConstants.SET_DRAG_STATUS:return{...t,dragStatus:e.payload};case a.uiConstants.SET_IS_FLEX_RESIZE:return{...t,isFlexResize:e.payload};case a.uiConstants.SET_IS_RESIZING_START:return{...t,isResizing:!0};case a.uiConstants.SET_IS_RESIZING_STOP:return{...t,isResizing:!1};case a.uiConstants.TOGGLE_BUILDER_CONTEXT_MENU_VISIBILITY:return{...t,builderContextMenuVisibility:e.payload};case"VIEW_SET_FROM_SERVER_SIDE_RENDER":return{...t,viewSetFromSSR:e.payload};case a.uiConstants.SET_COMPONENT_EDIT_PANEL_INNER_TAB_KEY:return{...t,componentEditPanelInnerTabKey:e.payload};case a.uiConstants.SHOW_FEATURE_UPDATE_MODAL_FROM_BUILDER:return{...t,showFeatureUpdateModalFromBuilder:e.payload};case a.uiConstants.SET_DOUBLE_CLICKED_POSITION:return{...t,doubleClickedPosition:e.payload};case a.uiConstants.HIDE_ALL_EDIT_POPUPS:return{...t,showElementFloatingPopup:!1,doubleClickedPosition:i.doubleClickedPosition};case a.uiConstants.REQUEST_CREATE_ORDER_LINK:return{...t,isOrderLinkLoading:!0};case a.uiConstants.SUCCESS_CREATE_ORDER_LINK:case a.uiConstants.FAILURE_CREATE_ORDER_LINK:return{...t,isOrderLinkLoading:!1};case a.uiConstants.SHOW_SAVE_AND_PUBLISH_POPUP_IN_PLAYGROUND:return{...t,showSaveAndPublishPopupPlayground:e.payload};case a.uiConstants.SHOW_CHOOSE_PROJECT_FOR_UPGRADE_MODAL:return{...t,showChooseProjectForUpgradeModal:e.payload};case a.uiConstants.SHOW_PRICING_MODAL:return{...t,showPricingModal:e.payload,pricingModalCaseItem:e.caseItem};case a.uiConstants.SHOW_CUSTOM_COMPONENT_STYLE_MODAL:return{...t,showCustomComponentStyleModal:e.payload};case a.uiConstants.SWITCH_WORKSPACE:return{...t,currentWorkspaceTab:e.payload};case a.uiConstants.UPDATE_MOVE_ELEMENT_STATE:return{...t,moveElementState:e.payload};case a.uiConstants.ELEMENT_COLLIDING_WITH_BREADCRUMBS:return{...t,elementCollidingWithBreadcrumbs:e.payload};case a.uiConstants.CUSTOMIZATION_IS_UPDATING_FLAG:return{...t,customizationIsUpdating:e.payload};case a.uiConstants.SET_DOCK_SIDEBAR_ACTIVE_MENU:return{...t,dockSidebarActiveMenu:e.payload};case a.uiConstants.SET_DRAG_SORTED_LAYOUTS:return{...t,draggingState:{...e.payload}};case a.uiConstants.SET_DELETE_FUNCTION_ALERT:return{...t,deleteFunctionAlert:e.payload};case a.uiConstants.SET_DELETE_ROW_ALERT:return{...t,deleteRowAlert:e.payload};case a.uiConstants.SET_DELETE_TABLE_ALERT:return{...t,deleteTableAlert:e.payload};case a.uiConstants.SET_SHOW_ADD_DATA_MODAL:return{...t,showAddDataModal:e.payload};case a.uiConstants.SET_SHOW_CREATE_TABLE_MODAL:return{...t,showCreateTableModal:e.payload};case a.uiConstants.SET_PUBLISH_SITE_LOADING_STATUS:return{...t,isPublishingSiteLoadingStatus:e.payload};case a.uiConstants.SET_INITIAL_LOADING_STATUS:return{...t,isInitalLoadingDone:e.payload};case a.uiConstants.CHANGE_APP_SETTINGS_TAB:return{...t,currentAppSettingsTab:e.payload};case a.uiConstants.CHANGE_DB_TAB:return{...t,currentDBTab:e.payload};case a.uiConstants.TOGGLE_IS_LOADING:return{...t,isGeneralLoading:e.payload};case a.uiConstants.TOGGLE_BOOKMARK_INNER_TAB:return{...t,currentBookmarkInnerTabKey:e.payload};case a.uiConstants.SET_ELEMENT_OUTLINE_VISIBILITY:return{...t,isElementOutlineVisible:e.payload};case a.uiConstants.SET_PREMIUM_MODAL:return{...t,showPremiumModal:e.payload};case a.uiConstants.SET_GUEST_MODAL:return{...t,showGuestModal:e.payload};case a.uiConstants.SET_PLAYGROUND_MODAL:return{...t,showPlaygroundModal:e.payload,playgroundModalCaseItem:e.caseItem};case a.uiConstants.TOGGLE_AUTHENTICATION_MODAL_VISIBILITY:return Object.assign({},t,{authenticationModalVisibility:!t.authenticationModalVisibility});case a.uiConstants.SWITCH_AUTHENTICATION_MODAL_TABS:return Object.assign({},t,{authenticationModalTab:e.name});case a.uiConstants.CLEAR_AUTHENTICATION_MODAL_TABS:return Object.assign({},t,{authenticationModalTab:"login"});case a.uiConstants.TOGGLE_NAVIGATION_DROPDOWN_MENU:return Object.assign({},t,{navigationDropdownMenu:!t.navigationDropdownMenu});case a.uiConstants.CLEAR_DROPDOWN_STATE:return Object.assign({},t,{navigationDropdownMenu:!1});case a.uiConstants.TOGGLE_SIGNUP_MODAL:return Object.assign({},t,{signupModalWithMessage:!t.signupModalWithMessage,signupModalMessage:e.message});case a.uiConstants.CLEAR_SIGNUP_MODAL_MESSAGE:return Object.assign({},t,{signModalMessage:""});case a.uiConstants.TOGGLE_STATS_MODAL_WINDOW:return Object.assign({},t,{statsModalWindow:!t.statsModalWindow});case a.uiConstants.TOGGLE_SEARCH_BUTTON:return Object.assign({},t,{searchButtonVisible:!t.searchButtonVisible});case a.uiConstants.TOGGLE_DRAFT_PUBLISH_MODAL:return Object.assign({},t,{draftPublishConfirmationModal:!t.draftPublishConfirmationModal});case a.uiConstants.TOGGLE_SIDE_NAV:return Object.assign({},t,{mobileSideNav:!t.mobileSideNav});case a.uiConstants.SET_SCREEN_VIEW:return Object.assign({},t,{screenView:e.payload.view,screenWidth:e.payload.width});case a.uiConstants.TOGGLE_SETTINGS_CONTEXT_ALERT_BOX:return{...t,showSettingsContextAlertBox:e.payload};case a.uiConstants.SHOW_GENERATE_PAGE_MODAL:return{...t,showGeneratePageModal:e.payload};case a.uiConstants.SHOW_PAYMENT_POPUP:return{...t,showPaymentPopup:e.payload};case a.uiConstants.UPDATING_EMAIL_NOTIFY:return{...t,updatingEmailNotify:e.payload};case a.uiConstants.SHOW_EXIT_MODAL:return{...t,showExitModal:e.payload};case a.uiConstants.SET_IS_HOVERING_ON_PLUS_FOR_ELEMENT_ADDITION:return{...t,isHoveringOnPlusForElementAddition:e.payload};case a.uiConstants.SET_AI_FAILURE_ATTEMPT:return{...t,aiFailureAttempt:null!==e.payload?e.payload:t.aiFailureAttempt+1};case a.uiConstants.TOGGLE_REFERRAL_POPUP:return{...t,showReferralPopup:void 0!==e.payload?e.payload:!t.showReferralPopup};default:return t}}},3905:function(t,e,n){"use strict";n.r(e),n.d(e,{user:function(){return a}});var o=n(7100);const r={userTokenVerified:!1,data:{bio:{extended:""},socialLinks:{facebook:"",linkedin:"",twitter:""},isAdmin:"",_id:"",emailVerification:{isEmailVerified:!1},temporaryPasswordGenerated:!1,exportNumber:0,order:{timestamps:{}},referrals:[]},currentLocation:{},isVerifying:!1,deleteStatus:"",isDeleting:!1,deleted:!1,isReporting:!1,userReportMessage:null,isConfirming:!1,isRequestingTempPassword:!1,isRequestingOtp:!1,isRegistering:!1,isLoggingIn:!1,isCreatingOrder:!1,isFetchingReferrals:!1,tourTimers:{playground:1e4}};function a(t=r,e){switch(e.type){case o.userConstants.REQUEST_VALIDATE_SOCIAL_REFER_FOR_AI:return{...t,data:{...t.data,socialReferForAI:{...t.data.socialReferForAI,error:""}}};case o.userConstants.SUCCESS_VALIDATE_SOCIAL_REFER_FOR_AI:{const{user:n}=e;return{...t,data:{...t.data,socialReferForAI:{...t.data.socialReferForAI,...n}}}}case o.userConstants.FAILURE_VALIDATE_SOCIAL_REFER_FOR_AI:return{...t,data:{...t.data,socialReferForAI:{...t.data.socialReferForAI,...e.payload}}};case o.userConstants.IS_PART_OF_CODE_DESIGN_TEAM:return{...t,isCodeDesignTeam:e.payload};case o.userConstants.REQUEST_UPDATE_USER_DATA:return{...t};case o.userConstants.SUCCESS_UPDATE_USER_DATA:return{...t,data:{...t.data,...e.user}};case o.userConstants.FAILURE_UPDATE_USER_DATA:return{...t};case o.userConstants.UPDATE_EXPORT_CODE_COUNT:return{...t,data:{...t.data,exportNumber:t.data.exportNumber+1}};case o.userConstants.REGISTER_REQUEST:return{...t,isRegistering:!0};case o.userConstants.REGISTER_SUCCESS:return{...t,isRegistering:!1,data:{...t.data,...e.user}};case o.userConstants.REGISTER_FAILURE:return{...t,isRegistering:!1};case o.userConstants.LOGIN_REQUEST:return{...t,isLoggingIn:!0};case o.userConstants.LOGIN_SUCCESS:{let n=e.user;return n?{...t,isLoggingIn:!1,userTokenVerified:!0,data:{...t.data,...n}}:{...t,isLoggingIn:!1}}case o.userConstants.LOGIN_FAILURE:return{...t,isLoggingIn:!1};case o.userConstants.VERIFY_USER:return{...t,isVerifying:!0};case o.userConstants.VERIFICATION_SUCCESS:return Object.assign({},t,{isVerifying:!1,userTokenVerified:!0,data:e.user,currentLocation:e.currentLoaction});case o.userConstants.VERIFICATION_FAILURE:return Object.assign({},t,{isVerifying:!1,userTokenVerified:!1});case o.userConstants.REQUEST_OTP:return{...t,isRequestingOtp:!0};case o.userConstants.SUCCESS_OTP:return{...t,isRequestingOtp:!1,data:{...e.user}};case o.userConstants.FAILURE_OTP:return{...t,isRequestingOtp:!1};case o.userConstants.LOGOUT:return Object.assign({},t,{isVerifying:!1,userTokenVerified:!1,data:{}});case o.userConstants.FETCH_USER:return Object.assign({},t,{isFetching:!0});case o.userConstants.SUCCESS_FETCH_USER:return Object.assign({},t,{isFetching:!1,author:e.payload});case o.userConstants.FAILURE_FETCH_USER:return Object.assign({},t,{isFetching:!1});case o.userConstants.SAVE_USER:return Object.assign({},t,{isFetching:!0});case o.userConstants.SUCCESS_SAVE_USER:return Object.assign({},t,{isFetching:!1,data:e.user});case o.userConstants.FAILURE_SAVE_USER:return Object.assign({},t,{isFetching:!1});case o.userConstants.REQUEST_DELETE_USER:return{...t,isDeleting:!0};case o.userConstants.SUCCESS_DELETE_USER:return{...t,isDeleting:!1,deleted:!0,deleteStatus:e.payload};case o.userConstants.FAILURE_DELETE_USER:return{...t,isDeleting:!1,deleted:!1,deleteStatus:e.payload};case o.userConstants.REPORT_USER:return Object.assign({},t,{isReporting:!0});case o.userConstants.REPORT_USER_SUCCESS:case o.userConstants.REPORT_USER_FAILURE:return Object.assign({},t,{isReporting:!1,userReportMessage:e.payload});case o.userConstants.CLEAR_USER_REPORT_MESSAGE:return Object.assign({},t,{userReportMessage:null});case o.userConstants.REQUEST_FORGOT_PASSWORD:return Object.assign({},t,{isRequestingTempPassword:!0});case o.userConstants.SUCCESS_FORGOT_PASSWORD:case o.userConstants.FAILURE_FORGOT_PASSWORD:return Object.assign({},t,{isRequestingTempPassword:!1});case o.userConstants.REQUEST_CONFIRM_PASSWORD:return Object.assign({},t,{isConfirming:!0});case o.userConstants.SUCCESS_CONFIRM_PASSWORD:case o.userConstants.FAILURE_CONFIRM_PASSWORD:return Object.assign({},t,{isConfirming:!1});case o.userConstants.REQUEST_CREATE_ORDER:return{...t,isCreatingOrder:!0};case o.userConstants.SUCCESS_CREATE_ORDER:return{...t,isCreatingOrder:!1,data:{...t.data,order:e.payload}};case o.userConstants.FAILURE_CREATE_ORDER:return{...t,isCreatingOrder:!1};case o.userConstants.SUCCESS_VERIFY_ORDER:return{...t,data:{...t.data,order:e.payload}};case o.userConstants.REQUEST_REFERRAL_LIST:return{...t,isFetchingReferrals:!0};case o.userConstants.SUCCESS_REFERRAL_LIST:return{...t,isFetchingReferrals:!1,data:{...t.data,referrals:e.user}};case o.userConstants.FAILURE_REFERRAL_LIST:return{...t,isFetchingReferrals:!1};case o.userConstants.UPDATE_TOUR_TIMER:return{...t,tourTimers:{...t.tourTimers,[e.payload.tour]:e.payload.timer}};default:return t}}},171:function(t,e,n){"use strict";n.r(e),n.d(e,{cloudinaryService:function(){return a}});var o=n(5017),r=n(6354);const a={uploadImage:async function(t,e={}){const a=await n.e(569).then(n.t.bind(n,569,23));let s=Math.floor(9e4*Math.random())+1e4,c=Math.round((new Date).getTime()/1e3);const u=t.name?i(t.name):"";let l=(e.type||"storylens")+`/${u}_${c}_${s}`;e.publicId&&(l=e.type+"/"+e.publicId);return a.post(o.default.CLOUDINARY_UPLOAD_URL).field("upload_preset",o.default.CLOUDINARY_UPLOAD_PRESET).field("file",t).field("public_id",l).on("progress",(t=>{e.customUpdateProgressPercentage?e.customUpdateProgressPercentage(t.percent,e.type):r.cloudinaryActions.updateProgressPercentage(t.percent,e.type)})).then((t=>{if(""!==t.body.secure_url){const n=`${o.default.cloudinaryApiUrl}/q_auto/v${t.body.version}/${t.body.public_id}.${e.preserveFormat&&t.body.original_extension?t.body.original_extension:t.body.format}`;return t.body.secure_url=n,t}}))},uploadImageFromUrl:async function(t,e,a={}){const s=await n.e(569).then(n.t.bind(n,569,23));let c=Math.floor(9e4*Math.random())+1e4,u=Math.round((new Date).getTime()/1e3);const l=e?i(e):"";return s.post(o.default.CLOUDINARY_UPLOAD_URL).field("upload_preset",o.default.CLOUDINARY_UPLOAD_PRESET).field("file",t).field("public_id",`${a.type}/${l}_${u}_${c}`).on("progress",(t=>{a.customUpdateProgressPercentage?a.customUpdateProgressPercentage(t.percent,a.type):r.cloudinaryActions.updateProgressPercentage(t.percent,a.type)})).then((t=>{if(""!==t.body.secure_url){const e=`${o.default.cloudinaryApiUrl}/q_auto/v${t.body.version}/${t.body.public_id}.${t.body.format}`;return t.body.secure_url=e,t}}))}};function i(t){return t.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\\\-+/g,"-").replace(/-{2,}/g,"-")}},758:function(t,e,n){"use strict";n.r(e),n.d(e,{commonServices:function(){return u}});var o=n(5017),r=n(9972),a=n(167),i=n(4301),s=n.n(i),c=n(5654);const u={fetchsiteProfile:function(){const t={method:"GET",headers:{"Content-Type":"application.json","x-access-token":(0,r.getToken)()}};let e=`${(0,o.returnAPI)()}site-profile`;return s()(e,t).then(a.handleResponse).then((t=>t.data))},fetchPage:function(t,e,n){const i={method:"GET",headers:{"Content-Type":"application.json","x-access-token":(0,r.getToken)()}};let c=`${(0,o.returnAPI)()}guest/web-builder/page?userId=${t}&projectId=${e}&context=${n}`;return s()(c,i).then(a.handleResponse).then((t=>t.data))},setDomainDetails:function(t,e,n){const i={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({name:t,project:n})};let c=`${(0,o.returnAPI)()}domains/${e}/`;return s()(c,i).then(a.handleResponse).then((t=>t))},getDomainDetails:function(t,e,n,o){const i={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let u=c.customBuilderService.adminUrlHelper(`domains/${t}/list`,{verifiedDomainsOnly:e?"true":"false",all:n?"true":"false",project:o});return s()(u,i).then(a.handleResponse).then((t=>t.data))},getVerificationStatus:function(t,e,n){const i={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let c=`${(0,o.returnAPI)()}domains/${t}/check-status?domain=${e}&project=${n}`;return s()(c,i).then(a.handleResponse).then((t=>t))},deleteDomain:function(t,e,n){const i={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({key:t})};let c=`${(0,o.returnAPI)()}domains/${e}?domain=${t}&project=${n}`;return s()(c,i).then(a.handleResponse).then((t=>t.data))},fetchClient:function(t,e="home",n){let r=`${"nextjs"===n?(0,o.returnCacheAPI)():(0,o.returnAPI)()}guest/web-builder/project?key=${t}&pageName=${e}`;return s()(r,{method:"GET"}).then((t=>(0,a.handleResponse)(t,!0))).then((t=>t.data))},checkSubdomainExists:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let i=`${(0,o.returnAPI)()}domains/${e}/check-subdomain?subdomain=${t}`;return s()(i,n).then(a.handleResponse).then((t=>t.data))}}},2033:function(t,e,n){"use strict";n.r(e),n.d(e,{customBuilderService:function(){return u}});var o=n(5017),r=n(9972),a=n(9805),i=n(5796);const s=(t,e={})=>{const n=new URL(document.location.href).searchParams.get("apiType"),r=new URL(document.location.href).searchParams.get("user"),i=new URL(document.location.href).searchParams.get("backupId");return(0,a.default)(`${(0,o.returnAPI)()}${t}`,{returnAbsoluteUrl:!0,queryParams:{...e,apiType:n,user:r,...i?{docId:i}:{}}})},c=(t,e={})=>{const n=new URL(document.location.href).searchParams.get("apiType"),r=new URL(document.location.href).searchParams.get("user");return(0,a.default)(`${(0,o.returnAIAPI)()}${t}`,{returnAbsoluteUrl:!0,queryParams:{...e,apiType:n,user:r}})},u={saveLayoutToServer:function(t,e,n,o={}){let a=sessionStorage.getItem("deviceId");t.project=e;const i={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({...t,rateLimit:"true",responseEmpty:"true",context:n,options:o,deviceId:a})};let c=s("guest/web-builder");return fetch(c,i).then(l).then((t=>t.data))},getWebBuilderDetails:function(t,e,n){const o={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};let a=s("guest/web-builder",{project:t,page:e,type:n});return fetch(a,o).then(l).then((t=>t.data))},uploadImageFile:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({staticMedia:t,project:e})};let o=s("guest/web-builder");return fetch(o,n).then(l).then((t=>t.data.staticMedia))},addNewPage:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({newBlueprint:t,project:e})};let o=s("guest/web-builder/add-page");return fetch(o,n).then(l).then((t=>t.data))},deletePage:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({page:t,project:e})};let o=s("guest/web-builder/delete-page");return fetch(o,n).then(l).then((t=>t.data))},addNewProject:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({project:t})};let n=s("guest/web-builder");return fetch(n,e).then(l).then((t=>t.data))},getAllProjects:function(){const t={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let e=s("guest/web-builder/all");return fetch(e,t).then(l).then((t=>t.data))},deleteProject:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({key:t,project:e})};let o=s("guest/web-builder/delete-project");return fetch(o,n).then(l).then((t=>t.data))},publishPage:function(t,e,n,o){const a={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}},{domain:i=!1,subdomain:c=!1}=n;let u=s("guest/web-builder/publish",{context:t,project:e,domain:i,subdomain:c,customSubdomain:o});return fetch(u,a).then(l).then((t=>t.data))},fetchData:function(t,e){return fetch(t,e).then(l)},fetchGoogleFonts:function(t){const e=`https://www.googleapis.com/webfonts/v1/webfonts?key=${o.default.GOOGLE_DEV_API_KEY}&sort=${t}`;return fetch(e).then(l)},updateFontsUsedInSite:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({fonts:t,project:e})};let o=s("guest/web-builder");return fetch(o,n).then(l).then((t=>t.data.fonts))},exportCode:function(t,e,n,o){const a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({context:t,project:e,blueprint:n,extras:o})};let i=s("guest/web-builder/export");return fetch(i,a).then(d)},updatePreviewImage:function(t,e,n,o){const a={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({uri:t})};let i=s("guest/web-builder/preview-image",{context:e,project:n,projectId:o});return fetch(i,a).then(l).then((t=>t))},updateBlueprint:async function(t,e,n,o,a={}){let i=sessionStorage.getItem("deviceId");const{playground:c,...u}=a;{const a={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({[t]:e,project:n,rateLimit:"true",responseEmpty:"true",context:o,options:u,deviceId:i})};let c=s("guest/web-builder");return fetch(c,a).then(l).then((t=>{if(t.data)return t.data}))}},fetchKBArticles:function(t){return fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}}).then(l)},copyProject:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s("guest/web-builder/copy-project",{project:t,user:e});return fetch(o,n).then(l).then((t=>t))},addDomainToProject:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s("guest/web-builder/add-domain",{project:e,domain:t});return fetch(o,n).then(l).then((t=>t))},addSubdomainToProject:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s("guest/web-builder/add-subdomain",{project:e,subdomain:t});return fetch(o,n).then(l).then((t=>t))},makeExternalRequest:function(t,e,n,a){const i={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({extras:a})};let s=`${(0,o.returnAPI)()}external-api?project=${t}&id=${e}&type=${n}`;return fetch(s,i).then(l).then((t=>t))},updateWebBuilderAdmin:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({data:t,id:e})};let o=s("guest/web-builder/admin-update");return fetch(o,n).then(l).then((t=>{if(t.data)return t.data}))},guestTemplateCopy:function(t="",e={}){const n={method:"POST",headers:{"Content-Type":"application/json",...(0,r.getToken)()?{"x-access-token":""+(0,r.getToken)()}:{},"guest-token":(0,r.getGuestToken)()||""},body:JSON.stringify({...e})};let o=s("guest/web-builder/copy-template",{templateId:t});return fetch(o,n).then(l).then((t=>t))},fetchTemplates:function(){const t={method:"GET",headers:{"Content-Type":"application/json",...(0,r.getToken)()?{"x-access-token":""+(0,r.getToken)()}:{},"guest-token":(0,r.getGuestToken)()||""}};let e=s("guest/web-builder/templates",{showExtra:"true"});return fetch(e,t).then(l).then((t=>{let e=t;try{t=JSON.parse(t)}catch(n){t=e}return t.data}))},fetchComponentManifest:function(){let t=s("guest/web-builder/component-manifest");const e={method:"GET",headers:{"Content-Type":"application/json",...(0,r.getToken)()?{"x-access-token":""+(0,r.getToken)()}:{},"guest-token":(0,r.getGuestToken)()||""}};return fetch(t,e).then(l).then((t=>{let e=t;try{t=JSON.parse(t)}catch(n){console.log("Fetch Component Manifest: JSON Parse not possible, returning original response",n),t=e}return t}))},fetchTemplateByKey:function(t){let e=s("guest/web-builder/template",{key:t});return fetch(e).then(l).then((t=>t.data))},fetchVersions:function(t,e,n=0,o=10){const a={method:"GET",headers:{"Content-Type":"application/json",...(0,r.getToken)()?{"x-access-token":""+(0,r.getToken)()}:{},"guest-token":(0,r.getGuestToken)()||""}};let i=s("guest/web-builder/version",{project:t,context:e,offset:n,limit:o});return fetch(i,a).then(l).then((t=>t.data))},saveComponentAsPreset:function(t,e,n,o){const a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({component:e,componentName:t,layout:n,project:o})};let i=s("guest/web-builder/update-presets",{project:o});return fetch(i,a).then(l).then((t=>t.data))},adminUrlHelper:s,fetchTemplatesV2:function(t="components"){const e={method:"GET",headers:{"Content-Type":"application/json",...(0,r.getToken)()?{"x-access-token":""+(0,r.getToken)()}:{},"guest-token":(0,r.getGuestToken)()||""}};let n=`${(0,o.returnCacheAPI)()}guest/web-builder/v2/templates?libraryType=${t}&returnJSON=true`;return fetch(n,e).then(l).then((t=>("string"===typeof t?JSON.parse(t):t).data||[]))},rebuildTemplates:function(t="components",e="false"){const n={method:"POST",headers:{"Content-Type":"application/json",...(0,r.getToken)()?{"x-access-token":""+(0,r.getToken)()}:{},"guest-token":(0,r.getGuestToken)()||""}};let a=`${(0,o.returnAPI)()}guest/web-builder/rebuild-templates?libraryType=${t}&buildFromAirtable=${e}`;return fetch(a,n).then(l).then((t=>t))},transferProjectOwnership:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({newOwner:t,project:e})};let a=`${(0,o.returnAPI)()}guest/web-builder/transfer-ownership`;return fetch(a,n).then(l).then((t=>t.data))},moveGuestProjectToDashboard:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({data:t,subdomain:e})};let o=s("guest/web-builder/",{existingProject:!0});return fetch(o,n).then(l).then((t=>t.data))},createProjectFromPrompt:function({prompt:t,templateId:e,category:n,businessName:o,location:a,logId:s,language:u,setting:p,keywords:d,skipAI:f=!1,subCategory:E,projectName:m,websiteType:_,aiService:h,objective:g,isFunnel:S,mockError:T,aiFailureAttempt:y}){const C=(0,i.reverseTransformToHexId)(e||""),b={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};let A=c("guest/ai-prompt/create-from-prompt",{prompt:t,category:n,businessName:o,location:a,templateId:C,logId:s,language:u,setting:p,skipAI:f,keywords:d,subCategory:E,projectName:m,websiteType:_,aiService:h,objective:g,isFunnel:S,mockError:T,aiFailureAttempt:y});return fetch(A,b).then((t=>l(t,!0))).then((t=>t.data))},createTextFromPrompt:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};let n=c("guest/ai-prompt/sdfsf",{prompt:t});return fetch(n,e).then(p).then((t=>t.data))},assignLicense:function(t,e,n){const a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({action:t,licenseType:e,project:n})};let i=`${(0,o.returnAPI)()}guest/web-builder/change-license`;return fetch(i,a).then(l).then((t=>t.data))},duplicateProject:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=s("guest/web-builder/duplicate-project",{project:t});return fetch(n,e).then(l).then((t=>t.data))},duplicatePage:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s("guest/web-builder/duplicate-page",{pageName:t,project:e});return fetch(o,n).then(l).then((t=>t.data))},updateBackupName:function(t,e,n){const o={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=s("guest/web-builder/rename-backup",{project:t,docId:e,updatedName:n});return fetch(a,o).then(l).then((t=>t.data))},restoreBackup:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({project:t,docId:e})};let o=s("guest/web-builder/restore-backup",{project:t,docId:e});return fetch(o,n).then(l).then((t=>t.data))},deleteBackup:function(t,e){const n={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s("guest/web-builder/delete-backup",{project:t,docId:e});return fetch(o,n).then(l).then((t=>t.data))},generateWordPressAPIKey:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=s("guest/web-builder/generate-wp-api-key",{project:t});return fetch(n,e).then(l).then((t=>t.data))},disconnectWordpress:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({api_key:t})};let o=s("wp/disconnect-key",{project:e});return fetch(o,n).then(l).then((t=>t.data)).catch((t=>{console.log(t,"reachinnn")}))},addAnalyticsToProject:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=s("guest/analytics/create-website",{project:t});return fetch(n,e).then(l).then((t=>t.data)).catch((t=>{console.log(t,"reachinnn")}))},fetchAnalytics:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s(`guest/analytics/websites/${t}`,{project:e});return fetch(o,n).then(l).then((t=>t.data)).catch((t=>{console.log(t,"reachinnn")}))},fetchAnalyticsStats:function(t,e,n,o){const a={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let i=s(`guest/analytics/websites/${t}/stats`,{project:o,startAt:e,endAt:n});return fetch(i,a).then(l).then((t=>t.data)).catch((t=>{throw console.error(t,"errorFetchingAnalytics"),t}))},fetchAnalyticsActive:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s(`guest/analytics/websites/${t}/active`,{project:e});return fetch(o,n).then(l).then((t=>t.data)).catch((t=>{throw console.error(t,"errorFetchingAnalytics"),t}))},fetchAnalyticsMetrics:function(t,e,n,o,a){const i={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let c=s(`guest/analytics/websites/${t}/metrics`,{project:a,startAt:e,endAt:n,type:o});return fetch(c,i).then(l).then((t=>t.data)).catch((t=>{throw console.error(t.message,"error Fetching Analytics Metrics"),t}))},fetchAnalyticsPageviews:function(t,e,n,o,a,i){const c={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let u=s(`guest/analytics/websites/${t}/pageviews`,{project:i,startAt:e,endAt:n,unit:o,timezone:a});return fetch(u,c).then(l).then((t=>t.data)).catch((t=>{throw console.error(t.message,"error Fetching Analytics Metrics"),t}))},markAsHomePage:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};let o=s("guest/web-builder/mark-as-home",{project:t,contextToBeUpdated:e});return fetch(o,n).then(l).then((t=>t.data))},generateAIForPage:function(t,e,n,o=""){const a={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let i=s("guest/web-builder/generate-ai-for-page",{project:t,pageName:e,prompt:n,language:o});return fetch(i,a).then(l).then((t=>t.data))},renameLayersWithAI:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=s("guest/ai/rename-layers",{project:t,pageName:e});return fetch(o,n).then(l).then((t=>t.data)).catch((t=>{throw console.error(t,"errorFetchingAnalytics"),t}))},unlinkVariablesUsedInProject:function(t,e,n){const o={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({variableId:e,variableValue:n,project:t})};let a=s("guest/web-builder/unlink-variables");return fetch(a,o).then(l).then((t=>t))},connectWithStripe:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=s("guest/stripe/connect",{project:t});return fetch(n,e).then(l).then((t=>t.data))},disconnectStripe:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let n=s("guest/stripe/disconnect",{project:t});return fetch(n,e).then(l).then((t=>t.data))},checkTemplate:async function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}},n=`${(0,o.returnAPI)()}guest/web-builder/check-template/${t}`;return fetch(n,e).then(l).then((t=>t.data))},fetchOverviewStats:function(t,e){console.log("fetchOverviewStats",t);const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=new URL(`${(0,o.returnAPI)()}guest/overview/stats`);const i=new URLSearchParams;i.append("project",t),e&&(i.append("startAt",e?.startAt),i.append("endAt",e?.endAt));return a.search=i.toString(),fetch(a,n).then(l).then((t=>t.data))},fetchOverviewTransactions:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=new URL(`${(0,o.returnAPI)()}guest/overview/transactions`);const i=new URLSearchParams;i.append("project",t),e&&(i.append("startAt",e?.startAt),i.append("endAt",e?.endAt));return a.search=i.toString(),fetch(a,n).then(l).then((t=>t.data))},fetchOverviewContacts:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let a=new URL(`${(0,o.returnAPI)()}guest/overview/contacts`);const i=new URLSearchParams;i.append("project",t),e&&(i.append("startAt",e?.startAt),i.append("endAt",e?.endAt));return a.search=i.toString(),fetch(a,n).then(l).then((t=>t.data))},generateMetaFromPrompt:async function(t){const{prompt:e,language:n,objective:a,isFunnel:i,aiService:s}=t;let c={prompt:e};""!==n?.trim()&&(c.language=n);""!==a?.trim()&&(c.objective=a);i&&(c.isFunnel=i);""!==s?.trim()&&(c.aiService=s);const u={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify(c)},p=`${(0,o.returnAPI)()}guest/ai-prompt/v3/generate-meta-from-prompt`;return fetch(p,u).then(l).then((t=>t.data))},chatWithAI:async function(t,e,n,r){const a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userInput:t,chatHistory:e,collectedInfo:n,sessionId:r})},i=`${(0,o.returnAPI)()}guest/ai-prompt/v3/chat`;return fetch(i,a).then((function(t){return t.json().then((e=>{const n=e;if(t.ok||429===t.status)return n;{const e=n&&n.errorMessage||n&&n.message||t.statusText;return Promise.reject(new Error(e))}})).catch((t=>Promise.reject(new Error(t.message||"Unknown Error"))))})).then((t=>t)).catch((t=>{throw console.error("Error in chatWithAI:",t),t}))},deleteImageReferences:async function(t,e,n={}){const o={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({deletedImageUrl:t,project:e,options:n})};let a=s("guest/web-builder/delete-image-references");return fetch(a,o).then(l).then((t=>{if(t)return t}))},renameAssetFromStaticMedia:function(t,e,n){const o={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({src:t,newFileName:e,project:n})};let a=s("guest/web-builder/rename-asset");return fetch(a,o).then(l).then((t=>t))},deleteAssetFromStaticMedia:function(t,e){const n={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({src:t,project:e})};let o=s("guest/web-builder/delete-asset");return fetch(o,n).then(l).then((t=>t))}};function l(t,e=!1){return t.json().then((n=>{const o=n;if(console.log(t.ok,t.status,"response"),t.ok||429===t.status)return o;{const n={...o},r=o&&o.errorMessage||o&&o.message||t.statusText;return e?Promise.reject(n):Promise.reject(r)}}))}function p(t){return t.json().then((e=>{const n=e;if(t.ok||429===t.status)return n;{let e="";return e=n&&n.data?.error?.message||n&&n.errorMessage||n&&n.message||t.statusText,Promise.reject(e)}}))}function d(t){return t.ok?t.blob().then((t=>t)):t.json().then((e=>{const n=e&&e.errorMessage||e&&e.message||t.statusText;return Promise.reject(n)}))}},6691:function(t,e,n){"use strict";n.r(e),n.d(e,{functionService:function(){return s}});var o=n(5017),r=n(9972),a=n(9805);const i=(t,e={})=>{const n=new URL(document.location.href).searchParams.get("apiType"),r=new URL(document.location.href).searchParams.get("user");return(0,a.default)(`${(0,o.returnAPI)()}${t}`,{returnAbsoluteUrl:!0,queryParams:{...e,apiType:n,user:r}})},s={createFunction:function(t){const{project:e,functionObject:n}=t,o={method:"POST",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({...n})};let a=i(`guest/function/${e}/`);return fetch(a,o).then(c).then((t=>t.data))},updateFunction:function(t){const{project:e,functionObject:n,_id:o}=t,a={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()},body:JSON.stringify({...n})};let s=i(`guest/function/${e}/function/${o}`);return fetch(s,a).then(c).then((t=>t.data))},initialFunctionsFetch:function(t){const{project:e}=t,n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)()}};let o=i(`guest/function/${e}/?project=${e}`);return fetch(o,n).then(c).then((t=>t.data))}};function c(t){return t.json().then((e=>{const n=e;if(!t.ok&&429!==t.status){const e=n&&n.errorMessage||n&&n.message||t.statusText;return Promise.reject(e)}return n})).catch((()=>{if(429!==t.status)return new Error("Something went wrong")}))}},8012:function(t,e,n){"use strict";n.r(e),n.d(e,{guestServices:function(){return i}});var o=n(5017),r=n(9972),a=n(167);const i={fetchIdenticon:function(){let t=`${(0,o.returnAPI)()}guest/generate-identicon`;return fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}}).then(a.handleResponse).then((t=>{if(204!==t.status){return t.data}return 204}))},subscribeEmail:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({email:t.email})};let n=`${(0,o.returnAPI)()}guest/subscribe`;return fetch(n,e).then(a.handleResponse).then((t=>t))}}},5654:function(t,e,n){"use strict";n.r(e),n.d(e,{updateUserFields:function(){return o.updateUserFields},userService:function(){return o.userService},cloudinaryService:function(){return r.cloudinaryService},guestServices:function(){return a.guestServices},commonServices:function(){return u.commonServices},customBuilderService:function(){return l.customBuilderService},functionService:function(){return p.functionService}});var o=n(8817),r=n(171),a=n(8012),i=n(1284),s={};for(var c in i)["default","updateUserFields","userService","cloudinaryService","guestServices"].indexOf(c)<0&&(s[c]=function(t){return i[t]}.bind(0,c));n.d(e,s);var u=n(758),l=n(2033),p=n(6691)},1284:function(){},1969:function(t,e,n){"use strict";n.r(e),n.d(e,{supabaseService:function(){return c}});var o=n(5017),r=n(9972),a=n(167),i=n(9805);const s=(t,e={})=>{const n=new URL(document.location.href).searchParams.get("apiType"),r=new URL(document.location.href).searchParams.get("user");return(0,i.default)(`${(0,o.returnAPI)()}${t}`,{returnAbsoluteUrl:!0,queryParams:{...e,apiType:n,user:r}})},c={uploadFile:async function(t,e,n={}){const o=new FormData;o.append("file",t),o.append("projectId",e),o.append("metadata",JSON.stringify(n));for(let[r,a]of o.entries());const i={method:"POST",headers:{"x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:o},c=s("guest/supabase-assets/upload-file");return fetch(c,i).then(a.handleResponse).then((t=>t)).catch((t=>{throw console.error("Error uploading file to backend:",t),t}))},uploadImageFromUrl:async function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({imageUrl:t,projectId:e})},o=s("guest/supabase-assets/upload-url");return fetch(o,n).then(a.handleResponse).then((t=>t)).catch((t=>{throw console.error("Error uploading image from URL to backend:",t),t}))},fetchSupabaseImages:async function(t,e=1,n=10){const o={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({projectId:t,page:e,limit:n})},i=s("guest/supabase-assets/list-assets");return fetch(i,o).then(a.handleResponse).then((t=>t)).catch((t=>{throw console.error("Error fetching assets list:",t),t}))},deleteAsset:async function(t,e){const n={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({projectId:t,filePath:e})},o=s("guest/supabase-assets/delete-asset");return fetch(o,n).then(a.handleResponse).then((t=>t)).catch((t=>{throw console.error("Error deleting asset:",t),t}))},moveFile:async function(t,e,n){const o={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({projectId:t,oldFilePath:e,newFileName:n})},i=s("guest/supabase-assets/move-file");return fetch(i,o).then(a.handleResponse).then((t=>t)).catch((t=>{throw console.error("Error renaming file:",t),t}))}}},8817:function(t,e,n){"use strict";n.r(e),n.d(e,{userService:function(){return i},updateUserFields:function(){return c}});var o=n(5017),r=n(9972),a=n(167);const i={login:function(t,e,n){const i={email:t,password:e,guest:{_id:n}},c={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify(i)};return fetch(`${(0,o.returnAPI)()}login`,c).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e}))},logout:function(){localStorage.removeItem("token"),localStorage.removeItem("uRI"),localStorage.removeItem("username")},register:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify(t)};return fetch(`${(0,o.returnAPI)()}register/`,e).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e}))},deleteUserAccount:function(t){const e={method:"DELETE",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};let n=`${(0,o.returnAPI)()}user/${t}`;return fetch(n,e).then(a.handleResponse).then((t=>t.message))},googleAuthentication:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({...t},null,2)},n=`${(0,o.returnAPI)()}login/auth/google`;return fetch(n,e).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e}))},facebookAuthentication:function(t,e,n){const i={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({accessToken:t,profile:e},null,2)},c=`${(0,o.returnAPI)()}register/auth/${e.provider}`,u=`${(0,o.returnAPI)()}login/auth/${e.provider}`;return n?fetch(u,i).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e})):fetch(c,i).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e}))},verifyToken:function(t,e){const n={method:"GET",headers:{"Content-Type":"application/json","x-access-token":t,"guest-token":""+(0,r.getGuestToken)()}};return fetch(`${(0,o.returnAPI)()}user/${e}/`,n).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e}))},resendVerificationEmail:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};return fetch(`${(0,o.returnAPI)()}register/verificationemail/${t}`,e).then(a.handleResponse).then((t=>t))},verifyEmailCode:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":e.token,"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({emailVerificationCode:t})};return fetch(`${(0,o.returnAPI)()}register/verifyemail/${e._id}`,n).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e}))},fetchUserDetails:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};let n=`${(0,o.returnAPI)()}user/${t}/`;return fetch(n,e).then(a.handleResponse).then((t=>{let e=t.data;return e.token&&s(e.token,e._id,e.username),e}))},postAuthorDetails:function(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify(e)};let i=`${(0,o.returnAPI)()}user/${t}/`;return fetch(i,n).then(a.handleResponse).then((t=>{let e=t.data?t.data:t.user;return e.token&&s(e.token,e._id,e.username),e}))},reportUser:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({reason:e.reason,entityType:"User",entityId:t._id})};let i=`${(0,o.returnAPI)()}report`;return fetch(i,n).then(a.handleResponse).then((t=>t))},requestTempPassword:function(t){const e={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({email:t})};let n=`${(0,o.returnAPI)()}user/forgotpassword`;return fetch(n,e).then(a.handleResponse).then((t=>t))},updatePassword:function(t,e){const n={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({newPassword:t,fpToken:e.temporaryToken?e.temporaryToken:(0,r.getToken)("fpToken")})};let i=`${(0,o.returnAPI)()}user/${e._id}/changepassword`;return fetch(i,n).then(a.handleResponse).then((t=>t.message))},fetchReferralList:function(t){const e={method:"GET",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()}};let n=`${(0,o.returnAPI)()}user/${t}/public/referrals`;return fetch(n,e).then(a.handleResponse).then((t=>t.data))},updateUserFields:c,validateSocialReferForAI:function(t,e,n){const i={method:"POST",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify({platform:e,postUrl:n})};let s=`${(0,o.returnAPI)()}social-referrals/${t}/validateSocialReferForAI`;return fetch(s,i).then(a.handleResponse).then((t=>t.data))}};function s(t,e,n){(0,r.setItem)("token",t),(0,r.setItem)("uRI",e),(0,r.setItem)("username",n)}function c(t,e){const n={method:"PUT",headers:{"Content-Type":"application/json","x-access-token":""+(0,r.getToken)(),"guest-token":""+(0,r.getGuestToken)()},body:JSON.stringify(e)};let i=`${(0,o.returnAPI)()}user/${t}/`;return fetch(i,n).then(a.handleResponse).then((t=>t.data?t.data:t.user))}},6774:function(t,e,n){"use strict";n.r(e),n.d(e,{clientStore:function(){return d},default:function(){return _},wrapper:function(){return m}});var o=n(5217),r=n(8858);function a(t){return function(e){var n=e.dispatch,o=e.getState;return function(e){return function(r){return"function"===typeof r?r(n,o,t):e(r)}}}}var i=a();i.withExtraArgument=a;var s=i,c=n(4500),u=n(711),l=n(910);const p=(0,c.createLogger)({diff:!1,predicate:(t,e)=>!0});let d,f=[s,l.default];function E(){const t=(window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({}):o.qC)((0,o.md)(...f));return d=(0,o.MT)(u.default,t),d}f.push(p),f=[...f];const m=(0,r.KV)(E);var _=E()},5739:function(){},910:function(t,e,n){"use strict";n.r(e);var o=n(6354),r=n(8178),a=n(6774),i=n(288),s=n(9857);const c=(0,r.J)();c.addListener("SET_DOCK_SIDEBAR_ACTIVE_MENU",((t,e)=>{"guest"===function(){const t=localStorage&&localStorage.getItem("token"),e=localStorage&&localStorage.getItem("uRI"),n=localStorage&&localStorage.getItem("guestToken"),o=a.default.getState(),{user:r}=o;if(t&&e)return r.data.isAdmin?"admin":r.data.order&&r.data.order.plan===i.xf?"premium":r.data.order&&r.data.order.plan===i.E5?"standard":"user";if(!t&&n)return"guest"}()&&(u.includes(e.payload)?t(o.customizationActions.setContentLimitation("Guest")):t(o.customizationActions.setContentLimitation("")))})),c.addListener(s.customizationConstants.REQUEST_SAVE_LAYOUT,(t=>{t(o.uiActions.setCustomizationIsUpdatingFlag(!0))})),c.addListener(s.customizationConstants.SUCCESS_SAVE_LAYOUT,(t=>{t(o.uiActions.setCustomizationIsUpdatingFlag(!1))})),c.addListener(s.customizationConstants.FAILURE_SAVE_LAYOUT,(t=>{t(o.uiActions.setCustomizationIsUpdatingFlag(!1))})),e.default=c;const u=["db","workflow","deployMenu","exportMenu"]},85:function(t,e,n){"use strict";n.r(e);e.default=class{constructor(t,e,n){this.frameWindow=e,this.frameDocument=n,this.prefix="cdhs",this.documentHeight=this.frameDocument.documentElement.scrollHeight-this.frameDocument.documentElement.clientHeight,this.defaultOptions={root:null,element:`[data-${this.prefix}]`,enableCallback:!1,callback:`data-${this.prefix}-call`,class:`${this.prefix}-inview`,initClass:`${this.prefix}-init`,threshold:.1,offset:{top:0,right:0,bottom:-40,left:0},repeat:!1,mirror:!1,startEvent:"DOMContentLoaded",responsive:{}},this.options={...this.defaultOptions,...t},this.observerOptions={root:this.options.root,rootMargin:this.calculateOffset(this.options.offset),threshold:this.options.threshold},this.animationElements=this.frameDocument.querySelectorAll(this.options.element),this.callbackElements=this.frameDocument.querySelectorAll(`[${this.options.callback}]`),this.init()}init(){const t=new Event(`${this.prefix}:complete`);let e=null;const n=new IntersectionObserver((t=>{t.forEach((t=>{const e=t.target.dataset.hs;if(!this.options.repeat&&t.isIntersecting)return t.target.classList.add(this.options.class),void n.unobserve(t.target);t.target.classList.toggle(this.options.class,t.isIntersecting),t.isIntersecting&&e&&e.includes("once")&&(t.target.classList.add(this.options.class),n.unobserve(t.target))}))}),this.observerOptions);this.options.enableCallback&&(e=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const n=t.target.getAttribute(this.options.callback);this.frameWindow[n]&&this.frameWindow[n](),e.unobserve(t.target)}}))}),this.observerOptions));const o=()=>{this.animationElements.forEach((t=>{n.observe(t),t.classList.add(this.options.initClass)})),this.frameDocument.body.classList.add(`${this.prefix}-loaded`),this.frameWindow.dispatchEvent(t)};!function(t,e){"loading"!==e.readyState?t():e.addEventListener("DOMContentLoaded",t)}((function(){o()}),this.frameDocument),this.options.enableCallback&&this.frameWindow.addEventListener(this.options.startEvent,(()=>{this.callbackElements.forEach((t=>{e.observe(t)}))})),this.frameWindow.dispatchEvent(t)}update(){this.init()}on(t,e){this.frameWindow.addEventListener(t,(t=>{e(t)}),!1)}calculateOffset(t){let e={...this.defaultOptions.offset,...t},n=`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`,o=`${this.documentHeight}px ${e.right}px ${e.bottom}px ${e.left}px`;return this.options.repeat&&!this.options.mirror&&(n=o),n}}},288:function(t,e,n){"use strict";n.d(e,{zo:function(){return o},xf:function(){return r},E5:function(){return a}});const o="Basic",r="Premium",a="Standard"},6477:function(t,e){"use strict";e.Headers=self.Headers,e.Request=self.Request,e.Response=self.Response,e.fetch=self.fetch},6086:function(t){"use strict";var e=Object.assign.bind(Object);t.exports=e,t.exports.default=t.exports},1780:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(2551)}])},859:function(){},868:function(){},7347:function(){},2917:function(){},9590:function(t){var e="undefined"!==typeof Element,n="function"===typeof Map,o="function"===typeof Set,r="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=i.length)return!1;for(c=s;0!==c--;)if(!a(t[c],i[c]))return!1;return!0}if(n&&t instanceof Map&&i instanceof Map){if(t.size!==i.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!i.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!a(c.value[1],i.get(c.value[0])))return!1;return!0}if(o&&t instanceof Set&&i instanceof Set){if(t.size!==i.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!i.has(c.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(i)){if((s=t.length)!=i.length)return!1;for(c=s;0!==c--;)if(t[c]!==i[c])return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(c=s;0!==c--;)if(!Object.prototype.hasOwnProperty.call(i,u[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!==c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!a(t[u[c]],i[u[c]]))return!1;return!0}return t!==t&&i!==i}t.exports=function(t,e){try{return a(t,e)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},9928:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=n(7423),a=(i(r),i(n(5697)));function i(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var u=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"componentDidMount",value:function(){this.props.contentDidMount()}},{key:"componentDidUpdate",value:function(){this.props.contentDidUpdate()}},{key:"render",value:function(){return r.Children.only(this.props.children)}}]),e}(r.Component);u.propTypes={children:a.default.element.isRequired,contentDidMount:a.default.func.isRequired,contentDidUpdate:a.default.func.isRequired},e.default=u},1054:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FrameContextConsumer=e.FrameContextProvider=e.useFrame=e.FrameContext=void 0;var o,r=n(7423),a=(o=r)&&o.__esModule?o:{default:o};var i=void 0,s=void 0;"undefined"!==typeof document&&(i=document),"undefined"!==typeof window&&(s=window);var c=e.FrameContext=a.default.createContext({document:i,window:s}),u=(e.useFrame=function(){return a.default.useContext(c)},c.Provider),l=c.Consumer;e.FrameContextProvider=u,e.FrameContextConsumer=l},8698:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Frame=void 0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(7423),i=p(a),s=p(n(7423)),c=p(n(5697)),u=n(1054),l=p(n(9928));function p(t){return t&&t.__esModule?t:{default:t}}var d=e.Frame=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return o.setRef=function(t){o.nodeRef.current=t;var e=o.props.forwardedRef;"function"===typeof e?e(t):e&&(e.current=t)},o.handleLoad=function(){o.setState({iframeLoaded:!0})},o._isMounted=!1,o.nodeRef=i.default.createRef(),o.state={iframeLoaded:!1},o}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"componentDidMount",value:function(){this._isMounted=!0;var t=this.getDoc();t&&"complete"===t.readyState?this.forceUpdate():this.nodeRef.current.addEventListener("load",this.handleLoad)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.nodeRef.current.removeEventListener("load",this.handleLoad)}},{key:"getDoc",value:function(){return this.nodeRef.current?this.nodeRef.current.contentDocument:null}},{key:"getMountTarget",value:function(){var t=this.getDoc();return this.props.mountTarget?t.querySelector(this.props.mountTarget):t.body.children[0]}},{key:"renderFrameContents",value:function(){if(!this._isMounted)return null;var t=this.getDoc();if(!t)return null;var e=this.props.contentDidMount,n=this.props.contentDidUpdate,o=t.defaultView||t.parentView,r=i.default.createElement(l.default,{contentDidMount:e,contentDidUpdate:n},i.default.createElement(u.FrameContextProvider,{value:{document:t,window:o}},i.default.createElement("div",{className:"frame-content"},this.props.children))),a=this.getMountTarget();return[s.default.createPortal(this.props.head,this.getDoc().head),s.default.createPortal(r,a)]}},{key:"render",value:function(){var t=o({},this.props,{srcDoc:this.props.initialContent,children:void 0});return delete t.head,delete t.initialContent,delete t.mountTarget,delete t.contentDidMount,delete t.contentDidUpdate,delete t.forwardedRef,i.default.createElement("iframe",o({},t,{ref:this.setRef,onLoad:this.handleLoad}),this.state.iframeLoaded&&this.renderFrameContents())}}]),e}(a.Component);d.propTypes={style:c.default.object,head:c.default.node,initialContent:c.default.string,mountTarget:c.default.string,contentDidMount:c.default.func,contentDidUpdate:c.default.func,children:c.default.oneOfType([c.default.element,c.default.arrayOf(c.default.element)])},d.defaultProps={style:{},head:null,children:void 0,mountTarget:void 0,contentDidMount:function(){},contentDidUpdate:function(){},initialContent:'<!DOCTYPE html><html><head></head><body><div class="frame-root"></div></body></html>'},e.default=i.default.forwardRef((function(t,e){return i.default.createElement(d,o({},t,{forwardedRef:e}))}))},6561:function(t,e,n){"use strict";var o=n(8698);Object.defineProperty(e,"ZP",{enumerable:!0,get:function(){return(t=o,t&&t.__esModule?t:{default:t}).default;var t}});var r=n(1054)},9921:function(t,e){"use strict";var n=60103,o=60106,r=60107,a=60108,i=60114,s=60109,c=60110,u=60112,l=60113,p=60120,d=60115,f=60116,E=60121,m=60122,_=60117,h=60129,g=60131;if("function"===typeof Symbol&&Symbol.for){var S=Symbol.for;n=S("react.element"),o=S("react.portal"),r=S("react.fragment"),a=S("react.strict_mode"),i=S("react.profiler"),s=S("react.provider"),c=S("react.context"),u=S("react.forward_ref"),l=S("react.suspense"),p=S("react.suspense_list"),d=S("react.memo"),f=S("react.lazy"),E=S("react.block"),m=S("react.server.block"),_=S("react.fundamental"),h=S("react.debug_trace_mode"),g=S("react.legacy_hidden")}function T(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case r:case i:case a:case l:case p:return t;default:switch(t=t&&t.$$typeof){case c:case u:case f:case d:case s:return t;default:return e}}case o:return e}}}e.isContextConsumer=function(t){return T(t)===c}},9864:function(t,e,n){"use strict";t.exports=n(9921)},4742:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var o=n(7462);function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var i=n(4942),s=n(7423),c=n(5697),u=n.n(c),l=n(1143),p=n.n(l),d=n(973),f=n.n(d),E=function(){function t(t,e,n){var o=this;this.nativeMediaQueryList=t.matchMedia(e),this.active=!0,this.cancellableListener=function(){o.matches=o.nativeMediaQueryList.matches,o.active&&n.apply(void 0,arguments)},this.nativeMediaQueryList.addListener(this.cancellableListener),this.matches=this.nativeMediaQueryList.matches}return t.prototype.cancel=function(){this.active=!1,this.nativeMediaQueryList.removeListener(this.cancellableListener)},t}(),m=u().oneOfType([u().string,u().object,u().arrayOf(u().object.isRequired)]),_=function(t){var e,n;function c(e){var n,r;return n=t.call(this,e)||this,(0,i.Z)(a(a(n)),"queries",[]),(0,i.Z)(a(a(n)),"getMatches",(function(){return function(t){var e=Object.keys(t);if(1===e.length&&"__DEFAULT__"===e[0])return t.__DEFAULT__;return t}(n.queries.reduce((function(t,e){var n,r=e.name,a=e.mqListener;return(0,o.Z)({},t,((n={})[r]=a.matches,n))}),{}))})),(0,i.Z)(a(a(n)),"updateMatches",(function(){var t=n.getMatches();n.setState((function(){return{matches:t}}),n.onChange)})),e.query||e.queries||e.query&&e.queries||p()(!1),void 0!==e.defaultMatches&&e.query&&"boolean"!==typeof e.defaultMatches&&p()(!1),void 0!==e.defaultMatches&&e.queries&&"object"!==typeof e.defaultMatches&&p()(!1),"object"!==typeof window?(r=void 0!==e.defaultMatches?e.defaultMatches:!!e.query||Object.keys(n.props.queries).reduce((function(t,e){var n;return(0,o.Z)({},t,((n={})[e]=!0,n))}),{}),n.state={matches:r},a(n)):(n.initialize(),n.state={matches:void 0!==n.props.defaultMatches?n.props.defaultMatches:n.getMatches()},n.onChange(),n)}n=t,(e=c).prototype=Object.create(n.prototype),e.prototype.constructor=e,r(e,n);var u=c.prototype;return u.initialize=function(){var t=this,e=this.props.targetWindow||window;"function"!==typeof e.matchMedia&&p()(!1);var n=this.props.queries||{__DEFAULT__:this.props.query};this.queries=Object.keys(n).map((function(o){var r=n[o],a="string"!==typeof r?f()(r):r;return{name:o,mqListener:new E(e,a,t.updateMatches)}}))},u.componentDidMount=function(){this.initialize(),void 0!==this.props.defaultMatches&&this.updateMatches()},u.onChange=function(){var t=this.props.onChange;t&&t(this.state.matches)},u.componentWillUnmount=function(){this.queries.forEach((function(t){return t.mqListener.cancel()}))},u.render=function(){var t=this.props,e=t.children,n=t.render,o=this.state.matches,r="object"===typeof o?Object.keys(o).some((function(t){return o[t]})):o;return n?r?n(o):null:e?"function"===typeof e?e(o):(!Array.isArray(e)||e.length)&&r?s.default.Children.only(e)&&"string"===typeof s.default.Children.only(e).type?s.default.Children.only(e):s.default.cloneElement(s.default.Children.only(e),{matches:o}):null:null},c}(s.default.Component);(0,i.Z)(_,"propTypes",{defaultMatches:u().oneOfType([u().bool,u().objectOf(u().bool)]),query:m,queries:u().objectOf(m),render:u().func,children:u().oneOfType([u().node,u().func]),targetWindow:u().object,onChange:u().func});var h=_},2686:function(t,e,n){var o=n(3888),r=n(3138),a=n(1855),i=a.MUST_USE_PROPERTY,s=a.HAS_BOOLEAN_VALUE,c=a.HAS_NUMERIC_VALUE,u=a.HAS_POSITIVE_NUMERIC_VALUE,l=a.HAS_OVERLOADED_BOOLEAN_VALUE;function p(t,e){return(t&e)===e}function d(t,e,n){var o,r,a,d=t.Properties,f=t.DOMAttributeNames;for(r in d)o=f[r]||(n?r:r.toLowerCase()),a=d[r],e[o]={attributeName:o,propertyName:r,mustUseProperty:p(a,i),hasBooleanValue:p(a,s),hasNumericValue:p(a,c),hasPositiveNumericValue:p(a,u),hasOverloadedBooleanValue:p(a,l)}}var f={};d(o,f);var E={};d(r,E,!0);var m={};d(o,m),d(r,m,!0);t.exports={html:f,svg:E,properties:m,isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"))}},3888:function(t){t.exports={Properties:{autoFocus:4,accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:4,allowTransparency:0,alt:0,as:0,async:4,autoComplete:0,autoPlay:4,capture:4,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:5,cite:0,classID:0,className:0,cols:24,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:4,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:4,defer:4,dir:0,disabled:4,download:32,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:4,formTarget:0,frameBorder:0,headers:0,height:0,hidden:4,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:4,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:5,muted:5,name:0,nonce:0,noValidate:4,open:4,optimum:0,pattern:0,placeholder:0,playsInline:4,poster:0,preload:0,profile:0,radioGroup:0,readOnly:4,referrerPolicy:0,rel:0,required:4,reversed:4,role:0,rows:24,rowSpan:8,sandbox:0,scope:0,scoped:4,scrolling:0,seamless:4,selected:5,shape:0,size:24,sizes:0,span:24,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:8,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:4,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"}}},3138:function(t){t.exports={Properties:{accentHeight:0,accumulate:0,additive:0,alignmentBaseline:0,allowReorder:0,alphabetic:0,amplitude:0,arabicForm:0,ascent:0,attributeName:0,attributeType:0,autoReverse:0,azimuth:0,baseFrequency:0,baseProfile:0,baselineShift:0,bbox:0,begin:0,bias:0,by:0,calcMode:0,capHeight:0,clip:0,clipPath:0,clipRule:0,clipPathUnits:0,colorInterpolation:0,colorInterpolationFilters:0,colorProfile:0,colorRendering:0,contentScriptType:0,contentStyleType:0,cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:0,direction:0,display:0,divisor:0,dominantBaseline:0,dur:0,dx:0,dy:0,edgeMode:0,elevation:0,enableBackground:0,end:0,exponent:0,externalResourcesRequired:0,fill:0,fillOpacity:0,fillRule:0,filter:0,filterRes:0,filterUnits:0,floodColor:0,floodOpacity:0,focusable:0,fontFamily:0,fontSize:0,fontSizeAdjust:0,fontStretch:0,fontStyle:0,fontVariant:0,fontWeight:0,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:0,glyphOrientationHorizontal:0,glyphOrientationVertical:0,glyphRef:0,gradientTransform:0,gradientUnits:0,hanging:0,horizAdvX:0,horizOriginX:0,ideographic:0,imageRendering:0,in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:0,kernelUnitLength:0,kerning:0,keyPoints:0,keySplines:0,keyTimes:0,lengthAdjust:0,letterSpacing:0,lightingColor:0,limitingConeAngle:0,local:0,markerEnd:0,markerMid:0,markerStart:0,markerHeight:0,markerUnits:0,markerWidth:0,mask:0,maskContentUnits:0,maskUnits:0,mathematical:0,mode:0,numOctaves:0,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:0,overlineThickness:0,paintOrder:0,panose1:0,pathLength:0,patternContentUnits:0,patternTransform:0,patternUnits:0,pointerEvents:0,points:0,pointsAtX:0,pointsAtY:0,pointsAtZ:0,preserveAlpha:0,preserveAspectRatio:0,primitiveUnits:0,r:0,radius:0,refX:0,refY:0,renderingIntent:0,repeatCount:0,repeatDur:0,requiredExtensions:0,requiredFeatures:0,restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:0,slope:0,spacing:0,specularConstant:0,specularExponent:0,speed:0,spreadMethod:0,startOffset:0,stdDeviation:0,stemh:0,stemv:0,stitchTiles:0,stopColor:0,stopOpacity:0,strikethroughPosition:0,strikethroughThickness:0,string:0,stroke:0,strokeDasharray:0,strokeDashoffset:0,strokeLinecap:0,strokeLinejoin:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0,surfaceScale:0,systemLanguage:0,tableValues:0,targetX:0,targetY:0,textAnchor:0,textDecoration:0,textRendering:0,textLength:0,to:0,transform:0,u1:0,u2:0,underlinePosition:0,underlineThickness:0,unicode:0,unicodeBidi:0,unicodeRange:0,unitsPerEm:0,vAlphabetic:0,vHanging:0,vIdeographic:0,vMathematical:0,values:0,vectorEffect:0,version:0,vertAdvY:0,vertOriginX:0,vertOriginY:0,viewBox:0,viewTarget:0,visibility:0,widths:0,wordSpacing:0,writingMode:0,x:0,xHeight:0,x1:0,x2:0,xChannelSelector:0,xlinkActuate:0,xlinkArcrole:0,xlinkHref:0,xlinkRole:0,xlinkShow:0,xlinkTitle:0,xlinkType:0,xmlBase:0,xmlns:0,xmlnsXlink:0,xmlLang:0,xmlSpace:0,y:0,y1:0,y2:0,yChannelSelector:0,z:0,zoomAndPan:0},DOMAttributeNames:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space"}}},1855:function(t){t.exports={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32}},9756:function(t,e,n){"use strict";n.d(e,{zt:function(){return l},$j:function(){return H},I0:function(){return Y},v9:function(){return X}});var o=n(7423),r=o.default.createContext(null);var a=function(t){t()},i=function(){return a};var s={notify:function(){},get:function(){return[]}};function c(t,e){var n,o=s;function r(){c.onStateChange&&c.onStateChange()}function a(){n||(n=e?e.addNestedSub(r):t.subscribe(r),o=function(){var t=i(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var o=!0,r=n={callback:t,next:null,prev:n};return r.prev?r.prev.next=r:e=r,function(){o&&null!==e&&(o=!1,r.next?r.next.prev=r.prev:n=r.prev,r.prev?r.prev.next=r.next:e=r.next)}}}}())}var c={addNestedSub:function(t){return a(),o.subscribe(t)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:r,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=s)},getListeners:function(){return o}};return c}var u="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?o.useLayoutEffect:o.useEffect;var l=function(t){var e=t.store,n=t.context,a=t.children,i=(0,o.useMemo)((function(){var t=c(e);return{store:e,subscription:t}}),[e]),s=(0,o.useMemo)((function(){return e.getState()}),[e]);u((function(){var t=i.subscription;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[i,s]);var l=n||r;return o.default.createElement(l.Provider,{value:i},a)},p=n(7462);function d(t,e){if(null==t)return{};var n,o,r={},a=Object.keys(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}var f=n(8679),E=n.n(f),m=n(9864),_=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],h=["reactReduxForwardedRef"],g=[],S=[null,null];function T(t,e){var n=t[1];return[e.payload,n+1]}function y(t,e,n){u((function(){return t.apply(void 0,e)}),n)}function C(t,e,n,o,r,a,i){t.current=o,e.current=r,n.current=!1,a.current&&(a.current=null,i())}function b(t,e,n,o,r,a,i,s,c,u){if(t){var l=!1,p=null,d=function(){if(!l){var t,n,d=e.getState();try{t=o(d,r.current)}catch(f){n=f,p=f}n||(p=null),t===a.current?i.current||c():(a.current=t,s.current=t,i.current=!0,u({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var A=function(){return[null,0]};function I(t,e){void 0===e&&(e={});var n=e,a=n.getDisplayName,i=void 0===a?function(t){return"ConnectAdvanced("+t+")"}:a,s=n.methodName,u=void 0===s?"connectAdvanced":s,l=n.renderCountProp,f=void 0===l?void 0:l,I=n.shouldHandleStateChanges,O=void 0===I||I,R=n.storeKey,v=void 0===R?"store":R,U=(n.withRef,n.forwardRef),P=void 0!==U&&U,L=n.context,x=void 0===L?r:L,N=d(n,_),D=x;return function(e){var n=e.displayName||e.name||"Component",r=i(n),a=(0,p.Z)({},N,{getDisplayName:i,methodName:u,renderCountProp:f,shouldHandleStateChanges:O,storeKey:v,displayName:r,wrappedComponentName:n,WrappedComponent:e}),s=N.pure;var l=s?o.useMemo:function(t){return t()};function _(n){var r=(0,o.useMemo)((function(){var t=n.reactReduxForwardedRef,e=d(n,h);return[n.context,t,e]}),[n]),i=r[0],s=r[1],u=r[2],f=(0,o.useMemo)((function(){return i&&i.Consumer&&(0,m.isContextConsumer)(o.default.createElement(i.Consumer,null))?i:D}),[i,D]),E=(0,o.useContext)(f),_=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(E)&&Boolean(E.store);var I=_?n.store:E.store,R=(0,o.useMemo)((function(){return function(e){return t(e.dispatch,a)}(I)}),[I]),v=(0,o.useMemo)((function(){if(!O)return S;var t=c(I,_?null:E.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[I,_,E]),U=v[0],P=v[1],L=(0,o.useMemo)((function(){return _?E:(0,p.Z)({},E,{subscription:U})}),[_,E,U]),x=(0,o.useReducer)(T,g,A),N=x[0][0],w=x[1];if(N&&N.error)throw N.error;var F=(0,o.useRef)(),M=(0,o.useRef)(u),k=(0,o.useRef)(),j=(0,o.useRef)(!1),B=l((function(){return k.current&&u===M.current?k.current:R(I.getState(),u)}),[I,N,u]);y(C,[M,F,j,u,B,k,P]),y(b,[O,I,U,R,M,F,j,k,P,w],[I,U,R]);var G=(0,o.useMemo)((function(){return o.default.createElement(e,(0,p.Z)({},B,{ref:s}))}),[s,e,B]);return(0,o.useMemo)((function(){return O?o.default.createElement(f.Provider,{value:L},G):G}),[f,G,L])}var I=s?o.default.memo(_):_;if(I.WrappedComponent=e,I.displayName=_.displayName=r,P){var R=o.default.forwardRef((function(t,e){return o.default.createElement(I,(0,p.Z)({},t,{reactReduxForwardedRef:e}))}));return R.displayName=r,R.WrappedComponent=e,E()(R,e)}return E()(I,e)}}function O(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function R(t,e){if(O(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(e,n[r])||!O(t[n[r]],e[n[r]]))return!1;return!0}function v(t){return function(e,n){var o=t(e,n);function r(){return o}return r.dependsOnOwnProps=!1,r}}function U(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function P(t,e){return function(e,n){n.displayName;var o=function(t,e){return o.dependsOnOwnProps?o.mapToProps(t,e):o.mapToProps(t)};return o.dependsOnOwnProps=!0,o.mapToProps=function(e,n){o.mapToProps=t,o.dependsOnOwnProps=U(t);var r=o(e,n);return"function"===typeof r&&(o.mapToProps=r,o.dependsOnOwnProps=U(r),r=o(e,n)),r},o}}var L=[function(t){return"function"===typeof t?P(t):void 0},function(t){return t?void 0:v((function(t){return{dispatch:t}}))},function(t){return t&&"object"===typeof t?v((function(e){return function(t,e){var n={},o=function(o){var r=t[o];"function"===typeof r&&(n[o]=function(){return e(r.apply(void 0,arguments))})};for(var r in t)o(r);return n}(t,e)})):void 0}];var x=[function(t){return"function"===typeof t?P(t):void 0},function(t){return t?void 0:v((function(){return{}}))}];function N(t,e,n){return(0,p.Z)({},n,t,e)}var D=[function(t){return"function"===typeof t?function(t){return function(e,n){n.displayName;var o,r=n.pure,a=n.areMergedPropsEqual,i=!1;return function(e,n,s){var c=t(e,n,s);return i?r&&a(c,o)||(o=c):(i=!0,o=c),o}}}(t):void 0},function(t){return t?void 0:function(){return N}}],w=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function F(t,e,n,o){return function(r,a){return n(t(r,a),e(o,a),a)}}function M(t,e,n,o,r){var a,i,s,c,u,l=r.areStatesEqual,p=r.areOwnPropsEqual,d=r.areStatePropsEqual,f=!1;function E(r,f){var E=!p(f,i),m=!l(r,a,f,i);return a=r,i=f,E&&m?(s=t(a,i),e.dependsOnOwnProps&&(c=e(o,i)),u=n(s,c,i)):E?(t.dependsOnOwnProps&&(s=t(a,i)),e.dependsOnOwnProps&&(c=e(o,i)),u=n(s,c,i)):m?function(){var e=t(a,i),o=!d(e,s);return s=e,o&&(u=n(s,c,i)),u}():u}return function(r,l){return f?E(r,l):(s=t(a=r,i=l),c=e(o,i),u=n(s,c,i),f=!0,u)}}function k(t,e){var n=e.initMapStateToProps,o=e.initMapDispatchToProps,r=e.initMergeProps,a=d(e,w),i=n(t,a),s=o(t,a),c=r(t,a);return(a.pure?M:F)(i,s,c,t,a)}var j=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function B(t,e,n){for(var o=e.length-1;o>=0;o--){var r=e[o](t);if(r)return r}return function(e,o){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+o.wrappedComponentName+".")}}function G(t,e){return t===e}function z(t){var e=void 0===t?{}:t,n=e.connectHOC,o=void 0===n?I:n,r=e.mapStateToPropsFactories,a=void 0===r?x:r,i=e.mapDispatchToPropsFactories,s=void 0===i?L:i,c=e.mergePropsFactories,u=void 0===c?D:c,l=e.selectorFactory,f=void 0===l?k:l;return function(t,e,n,r){void 0===r&&(r={});var i=r,c=i.pure,l=void 0===c||c,E=i.areStatesEqual,m=void 0===E?G:E,_=i.areOwnPropsEqual,h=void 0===_?R:_,g=i.areStatePropsEqual,S=void 0===g?R:g,T=i.areMergedPropsEqual,y=void 0===T?R:T,C=d(i,j),b=B(t,a,"mapStateToProps"),A=B(e,s,"mapDispatchToProps"),I=B(n,u,"mergeProps");return o(f,(0,p.Z)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:b,initMapDispatchToProps:A,initMergeProps:I,pure:l,areStatesEqual:m,areOwnPropsEqual:h,areStatePropsEqual:S,areMergedPropsEqual:y},C))}}var H=z();function W(){return(0,o.useContext)(r)}function V(t){void 0===t&&(t=r);var e=t===r?W:function(){return(0,o.useContext)(t)};return function(){return e().store}}var $=V();function Q(t){void 0===t&&(t=r);var e=t===r?$:V(t);return function(){return e().dispatch}}var Y=Q(),K=function(t,e){return t===e};function q(t){void 0===t&&(t=r);var e=t===r?W:function(){return(0,o.useContext)(t)};return function(t,n){void 0===n&&(n=K);var r=e(),a=function(t,e,n,r){var a,i=(0,o.useReducer)((function(t){return t+1}),0)[1],s=(0,o.useMemo)((function(){return c(n,r)}),[n,r]),l=(0,o.useRef)(),p=(0,o.useRef)(),d=(0,o.useRef)(),f=(0,o.useRef)(),E=n.getState();try{if(t!==p.current||E!==d.current||l.current){var m=t(E);a=void 0!==f.current&&e(m,f.current)?f.current:m}else a=f.current}catch(_){throw l.current&&(_.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),_}return u((function(){p.current=t,d.current=E,f.current=a,l.current=void 0})),u((function(){function t(){try{var t=n.getState();if(t===d.current)return;var o=p.current(t);if(e(o,f.current))return;f.current=o,d.current=t}catch(_){l.current=_}i()}return s.onStateChange=t,s.trySubscribe(),t(),function(){return s.tryUnsubscribe()}}),[n,s]),a}(t,n,r.store,r.subscription);return(0,o.useDebugValue)(a),a}}var J,X=q();J=o.unstable_batchedUpdates,a=J},3524:function(t,e,n){"use strict";var o,r=n(7423),a=(o=r)&&"object"===typeof o&&"default"in o?o.default:o;function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);t.exports=function(t,e,n){if("function"!==typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(o){if("function"!==typeof o)throw new Error("Expected WrappedComponent to be a React component.");var c,u=[];function l(){c=t(u.map((function(t){return t.props}))),p.canUseDOM?e(c):n&&(c=n(c))}var p=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.peek=function(){return c},r.rewind=function(){if(r.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=c;return c=void 0,u=[],t};var i=r.prototype;return i.UNSAFE_componentWillMount=function(){u.push(this),l()},i.componentDidUpdate=function(){l()},i.componentWillUnmount=function(){var t=u.indexOf(this);u.splice(t,1),l()},i.render=function(){return a.createElement(o,this.props)},r}(r.PureComponent);return i(p,"displayName","SideEffect("+function(t){return t.displayName||t.name||"Component"}(o)+")"),i(p,"canUseDOM",s),p}}},782:function(t,e,n){"use strict";n.d(e,{Ix:function(){return U},LG:function(){return v},Am:function(){return k}});var o=n(7423);function r(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(o&&(o+=" "),o+=n);else for(e in t)t[e]&&(o&&(o+=" "),o+=e);return o}var a=function(){for(var t,e,n=0,o="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(o&&(o+=" "),o+=e);return o};function i(t){return"number"==typeof t&&!isNaN(t)}function s(t){return"boolean"==typeof t}function c(t){return"string"==typeof t}function u(t){return"function"==typeof t}function l(t){return c(t)||u(t)?t:null}function p(t){return 0===t||t}function d(t){return(0,o.isValidElement)(t)||c(t)||u(t)||i(t)}const f={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},E={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function m(t){let{enter:e,exit:n,appendPosition:r=!1,collapse:a=!0,collapseDuration:i=300}=t;return function(t){let{children:s,position:c,preventExitTransition:u,done:l,nodeRef:p,isIn:d}=t;const f=r?e+"--"+c:e,E=r?n+"--"+c:n,m=(0,o.useRef)(),_=(0,o.useRef)(0);function h(t){if(t.target!==p.current)return;const e=p.current;e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",h),e.removeEventListener("animationcancel",h),0===_.current&&"animationcancel"!==t.type&&(e.className=m.current)}function g(){const t=p.current;t.removeEventListener("animationend",g),a?function(t,e,n){void 0===n&&(n=300);const{scrollHeight:o,style:r}=t;requestAnimationFrame((()=>{r.minHeight="initial",r.height=o+"px",r.transition="all "+n+"ms",requestAnimationFrame((()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(e,n)}))}))}(t,l,i):l()}return(0,o.useLayoutEffect)((()=>{!function(){const t=p.current;m.current=t.className,t.className+=" "+f,t.addEventListener("animationend",h),t.addEventListener("animationcancel",h)}()}),[]),(0,o.useEffect)((()=>{d||(u?g():function(){_.current=1;const t=p.current;t.className+=" "+E,t.addEventListener("animationend",g)}())}),[d]),o.default.createElement(o.default.Fragment,null,s)}}function _(t,e){return{content:t.content,containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,status:e}}const h={list:new Map,emitQueue:new Map,on(t,e){return this.list.has(t)||this.list.set(t,[]),this.list.get(t).push(e),this},off(t,e){if(e){const n=this.list.get(t).filter((t=>t!==e));return this.list.set(t,n),this}return this.list.delete(t),this},cancelEmit(t){const e=this.emitQueue.get(t);return e&&(e.forEach(clearTimeout),this.emitQueue.delete(t)),this},emit(t){this.list.has(t)&&this.list.get(t).forEach((e=>{const n=setTimeout((()=>{e(...[].slice.call(arguments,1))}),0);this.emitQueue.has(t)||this.emitQueue.set(t,[]),this.emitQueue.get(t).push(n)}))}},g=t=>{let{theme:e,type:n,...r}=t;return o.default.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":"var(--toastify-icon-color-"+n+")",...r})},S={info:function(t){return o.default.createElement(g,{...t},o.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return o.default.createElement(g,{...t},o.default.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return o.default.createElement(g,{...t},o.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return o.default.createElement(g,{...t},o.default.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return o.default.createElement("div",{className:"Toastify__spinner"})}};function T(t){const[,e]=(0,o.useReducer)((t=>t+1),0),[n,r]=(0,o.useState)([]),a=(0,o.useRef)(null),f=(0,o.useRef)(new Map).current,E=t=>-1!==n.indexOf(t),m=(0,o.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:t,containerId:null,isToastActive:E,getToast:t=>f.get(t)}).current;function g(t){let{containerId:e}=t;const{limit:n}=m.props;!n||e&&m.containerId!==e||(m.count-=m.queue.length,m.queue=[])}function T(t){r((e=>p(t)?e.filter((e=>e!==t)):[]))}function y(){const{toastContent:t,toastProps:e,staleId:n}=m.queue.shift();b(t,e,n)}function C(t,n){let{delay:r,staleId:E,...g}=n;if(!d(t)||function(t){return!a.current||m.props.enableMultiContainer&&t.containerId!==m.props.containerId||f.has(t.toastId)&&null==t.updateId}(g))return;const{toastId:C,updateId:A,data:I}=g,{props:O}=m,R=()=>T(C),v=null==A;v&&m.count++;const U={toastId:C,updateId:A,data:I,containerId:g.containerId,isLoading:g.isLoading,theme:g.theme||O.theme,icon:null!=g.icon?g.icon:O.icon,isIn:!1,key:g.key||m.toastKey++,type:g.type,closeToast:R,closeButton:g.closeButton,rtl:O.rtl,position:g.position||O.position,transition:g.transition||O.transition,className:l(g.className||O.toastClassName),bodyClassName:l(g.bodyClassName||O.bodyClassName),style:g.style||O.toastStyle,bodyStyle:g.bodyStyle||O.bodyStyle,onClick:g.onClick||O.onClick,pauseOnHover:s(g.pauseOnHover)?g.pauseOnHover:O.pauseOnHover,pauseOnFocusLoss:s(g.pauseOnFocusLoss)?g.pauseOnFocusLoss:O.pauseOnFocusLoss,draggable:s(g.draggable)?g.draggable:O.draggable,draggablePercent:g.draggablePercent||O.draggablePercent,draggableDirection:g.draggableDirection||O.draggableDirection,closeOnClick:s(g.closeOnClick)?g.closeOnClick:O.closeOnClick,progressClassName:l(g.progressClassName||O.progressClassName),progressStyle:g.progressStyle||O.progressStyle,autoClose:!g.isLoading&&(P=g.autoClose,L=O.autoClose,!1===P||i(P)&&P>0?P:L),hideProgressBar:s(g.hideProgressBar)?g.hideProgressBar:O.hideProgressBar,progress:g.progress,role:g.role||O.role,deleteToast(){const t=_(f.get(C),"removed");f.delete(C),h.emit(4,t);const n=m.queue.length;if(m.count=p(C)?m.count-1:m.count-m.displayedToast,m.count<0&&(m.count=0),n>0){const t=p(C)?1:m.props.limit;if(1===n||1===t)m.displayedToast++,y();else{const e=t>n?n:t;m.displayedToast=e;for(let t=0;t<e;t++)y()}}else e()}};var P,L;U.iconOut=function(t){let{theme:e,type:n,isLoading:r,icon:a}=t,s=null;const l={theme:e,type:n};return!1===a||(u(a)?s=a(l):(0,o.isValidElement)(a)?s=(0,o.cloneElement)(a,l):c(a)||i(a)?s=a:r?s=S.spinner():(t=>t in S)(n)&&(s=S[n](l))),s}(U),u(g.onOpen)&&(U.onOpen=g.onOpen),u(g.onClose)&&(U.onClose=g.onClose),U.closeButton=O.closeButton,!1===g.closeButton||d(g.closeButton)?U.closeButton=g.closeButton:!0===g.closeButton&&(U.closeButton=!d(O.closeButton)||O.closeButton);let x=t;(0,o.isValidElement)(t)&&!c(t.type)?x=(0,o.cloneElement)(t,{closeToast:R,toastProps:U,data:I}):u(t)&&(x=t({closeToast:R,toastProps:U,data:I})),O.limit&&O.limit>0&&m.count>O.limit&&v?m.queue.push({toastContent:x,toastProps:U,staleId:E}):i(r)?setTimeout((()=>{b(x,U,E)}),r):b(x,U,E)}function b(t,e,n){const{toastId:o}=e;n&&f.delete(n);const a={content:t,props:e};f.set(o,a),r((t=>[...t,o].filter((t=>t!==n)))),h.emit(4,_(a,null==a.props.updateId?"added":"updated"))}return(0,o.useEffect)((()=>(m.containerId=t.containerId,h.cancelEmit(3).on(0,C).on(1,(t=>a.current&&T(t))).on(5,g).emit(2,m),()=>h.emit(3,m))),[]),(0,o.useEffect)((()=>{m.props=t,m.isToastActive=E,m.displayedToast=n.length})),{getToastToRender:function(e){const n=new Map,o=Array.from(f.values());return t.newestOnTop&&o.reverse(),o.forEach((t=>{const{position:e}=t.props;n.has(e)||n.set(e,[]),n.get(e).push(t)})),Array.from(n,(t=>e(t[0],t[1])))},containerRef:a,isToastActive:E}}function y(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function C(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function b(t){const[e,n]=(0,o.useState)(!1),[r,a]=(0,o.useState)(!1),i=(0,o.useRef)(null),s=(0,o.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,o.useRef)(t),{autoClose:l,pauseOnHover:p,closeToast:d,onClick:f,closeOnClick:E}=t;function m(e){if(t.draggable){s.didMove=!1,document.addEventListener("mousemove",S),document.addEventListener("mouseup",T),document.addEventListener("touchmove",S),document.addEventListener("touchend",T);const n=i.current;s.canCloseOnClick=!0,s.canDrag=!0,s.boundingRect=n.getBoundingClientRect(),n.style.transition="",s.x=y(e.nativeEvent),s.y=C(e.nativeEvent),"x"===t.draggableDirection?(s.start=s.x,s.removalDistance=n.offsetWidth*(t.draggablePercent/100)):(s.start=s.y,s.removalDistance=n.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent/100))}}function _(){if(s.boundingRect){const{top:e,bottom:n,left:o,right:r}=s.boundingRect;t.pauseOnHover&&s.x>=o&&s.x<=r&&s.y>=e&&s.y<=n?g():h()}}function h(){n(!0)}function g(){n(!1)}function S(n){const o=i.current;s.canDrag&&o&&(s.didMove=!0,e&&g(),s.x=y(n),s.y=C(n),s.delta="x"===t.draggableDirection?s.x-s.start:s.y-s.start,s.start!==s.x&&(s.canCloseOnClick=!1),o.style.transform="translate"+t.draggableDirection+"("+s.delta+"px)",o.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function T(){document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",T),document.removeEventListener("touchmove",S),document.removeEventListener("touchend",T);const e=i.current;if(s.canDrag&&s.didMove&&e){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return a(!0),void t.closeToast();e.style.transition="transform 0.2s, opacity 0.2s",e.style.transform="translate"+t.draggableDirection+"(0)",e.style.opacity="1"}}(0,o.useEffect)((()=>{c.current=t})),(0,o.useEffect)((()=>(i.current&&i.current.addEventListener("d",h,{once:!0}),u(t.onOpen)&&t.onOpen((0,o.isValidElement)(t.children)&&t.children.props),()=>{const t=c.current;u(t.onClose)&&t.onClose((0,o.isValidElement)(t.children)&&t.children.props)})),[]),(0,o.useEffect)((()=>(t.pauseOnFocusLoss&&(document.hasFocus()||g(),window.addEventListener("focus",h),window.addEventListener("blur",g)),()=>{t.pauseOnFocusLoss&&(window.removeEventListener("focus",h),window.removeEventListener("blur",g))})),[t.pauseOnFocusLoss]);const b={onMouseDown:m,onTouchStart:m,onMouseUp:_,onTouchEnd:_};return l&&p&&(b.onMouseEnter=g,b.onMouseLeave=h),E&&(b.onClick=t=>{f&&f(t),s.canCloseOnClick&&d()}),{playToast:h,pauseToast:g,isRunning:e,preventExitTransition:r,toastRef:i,eventHandlers:b}}function A(t){let{closeToast:e,theme:n,ariaLabel:r="close"}=t;return o.default.createElement("button",{className:"Toastify__close-button Toastify__close-button--"+n,type:"button",onClick:t=>{t.stopPropagation(),e(t)},"aria-label":r},o.default.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},o.default.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function I(t){let{delay:e,isRunning:n,closeToast:r,type:i,hide:s,className:c,style:l,controlledProgress:p,progress:d,rtl:f,isIn:E,theme:m}=t;const _={...l,animationDuration:e+"ms",animationPlayState:n?"running":"paused",opacity:s?0:1};p&&(_.transform="scaleX("+d+")");const h=a("Toastify__progress-bar",p?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+m,"Toastify__progress-bar--"+i,{"Toastify__progress-bar--rtl":f}),g=u(c)?c({rtl:f,type:i,defaultClassName:h}):a(h,c);return o.default.createElement("div",{role:"progressbar","aria-hidden":s?"true":"false","aria-label":"notification timer",className:g,style:_,[p&&d>=1?"onTransitionEnd":"onAnimationEnd"]:p&&d<1?null:()=>{E&&r()}})}I.defaultProps={type:E.DEFAULT,hide:!1};const O=t=>{const{isRunning:e,preventExitTransition:n,toastRef:r,eventHandlers:i}=b(t),{closeButton:s,children:c,autoClose:l,onClick:p,type:d,hideProgressBar:f,closeToast:E,transition:m,position:_,className:h,style:g,bodyClassName:S,bodyStyle:T,progressClassName:y,progressStyle:C,updateId:O,role:R,progress:v,rtl:U,toastId:P,deleteToast:L,isIn:x,isLoading:N,iconOut:D,theme:w}=t,F=a("Toastify__toast","Toastify__toast-theme--"+w,"Toastify__toast--"+d,{"Toastify__toast--rtl":U}),M=u(h)?h({rtl:U,position:_,type:d,defaultClassName:F}):a(F,h),k=!!v,j={closeToast:E,type:d,theme:w};let B=null;return!1===s||(B=u(s)?s(j):o.default.isValidElement(s)?o.default.cloneElement(s,j):A(j)),o.default.createElement(m,{isIn:x,done:L,position:_,preventExitTransition:n,nodeRef:r},o.default.createElement("div",{id:P,onClick:p,className:M,...i,style:g,ref:r},o.default.createElement("div",{...x&&{role:R},className:u(S)?S({type:d}):a("Toastify__toast-body",S),style:T},null!=D&&o.default.createElement("div",{className:a("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!N})},D),o.default.createElement("div",null,c)),B,(l||k)&&o.default.createElement(I,{...O&&!k?{key:"pb-"+O}:{},rtl:U,theme:w,delay:l,isRunning:e,isIn:x,closeToast:E,hide:f,type:d,style:C,className:y,controlledProgress:k,progress:v})))},R=m({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),v=(m({enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0}),m({enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"})),U=(m({enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"}),(0,o.forwardRef)(((t,e)=>{const{getToastToRender:n,containerRef:r,isToastActive:i}=T(t),{className:s,style:c,rtl:p,containerId:d}=t;function f(t){const e=a("Toastify__toast-container","Toastify__toast-container--"+t,{"Toastify__toast-container--rtl":p});return u(s)?s({position:t,rtl:p,defaultClassName:e}):a(e,l(s))}return(0,o.useEffect)((()=>{e&&(e.current=r.current)}),[]),o.default.createElement("div",{ref:r,className:"Toastify",id:d},n(((t,e)=>{const n=e.length?{...c}:{...c,pointerEvents:"none"};return o.default.createElement("div",{className:f(t),style:n,key:"container-"+t},e.map(((t,n)=>{let{content:r,props:a}=t;return o.default.createElement(O,{...a,isIn:i(a.toastId),style:{...a.style,"--nth":n+1,"--len":e.length},key:"toast-"+a.key},r)})))})))})));U.displayName="ToastContainer",U.defaultProps={position:f.TOP_RIGHT,transition:R,rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:A,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let P,L=new Map,x=[];function N(){return Math.random().toString(36).substring(2,9)}function D(t){return t&&(c(t.toastId)||i(t.toastId))?t.toastId:N()}function w(t,e){return L.size>0?h.emit(0,t,e):x.push({content:t,options:e}),e.toastId}function F(t,e){return{...e,type:e&&e.type||t,toastId:D(e)}}function M(t){return(e,n)=>w(e,F(t,n))}function k(t,e){return w(t,F(E.DEFAULT,e))}k.loading=(t,e)=>w(t,F(E.DEFAULT,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),k.promise=function(t,e,n){let o,{pending:r,error:a,success:i}=e;r&&(o=c(r)?k.loading(r,n):k.loading(r.render,{...n,...r}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null,delay:100},l=(t,e,r)=>{if(null==e)return void k.dismiss(o);const a={type:t,...s,...n,data:r},i=c(e)?{render:e}:e;return o?k.update(o,{...a,...i}):k(i.render,{...a,...i}),r},p=u(t)?t():t;return p.then((t=>l("success",i,t))).catch((t=>l("error",a,t))),p},k.success=M(E.SUCCESS),k.info=M(E.INFO),k.error=M(E.ERROR),k.warning=M(E.WARNING),k.warn=k.warning,k.dark=(t,e)=>w(t,F(E.DEFAULT,{theme:"dark",...e})),k.dismiss=t=>h.emit(1,t),k.clearWaitingQueue=function(t){return void 0===t&&(t={}),h.emit(5,t)},k.isActive=t=>{let e=!1;return L.forEach((n=>{n.isToastActive&&n.isToastActive(t)&&(e=!0)})),e},k.update=function(t,e){void 0===e&&(e={}),setTimeout((()=>{const n=function(t,e){let{containerId:n}=e;const o=L.get(n||P);return o?o.getToast(t):null}(t,e);if(n){const{props:o,content:r}=n,a={...o,...e,toastId:e.toastId||t,updateId:N()};a.toastId!==t&&(a.staleId=t);const i=a.render||r;delete a.render,w(i,a)}}),0)},k.done=t=>{k.update(t,{progress:1})},k.onChange=t=>(h.on(4,t),()=>{h.off(4,t)}),k.POSITION=f,k.TYPE=E,h.on(2,(t=>{P=t.containerId||t,L.set(P,t),x.forEach((t=>{h.emit(0,t.content,t.options)})),x=[]})).on(3,(t=>{L.delete(t.containerId||t),0===L.size&&h.off(0).off(1).off(5)}))},8178:function(t,e){"use strict";e.J=function(){var t=[],e=function(e){var n=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];setTimeout((function(){return e.dispatch.apply(e,n)}),0)};return function(e){return function(o){t.filter((function(t){var e=t.type;return e===o.type||e.constructor===Array&&e.indexOf(o.type)>-1})).map((function(t){return t.listener(n,o)})),e(o)}}};return e.addListener=function(e,n){t.push(function(t,e){return{type:t,listener:e}}(e,n))},e.addListeners=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];o.map((function(n){return e.addListener(t,n)}))},e}},4500:function(t,e,n){!function(t){"use strict";function e(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}function o(t,e){Object.defineProperty(this,"kind",{value:t,enumerable:!0}),e&&e.length&&Object.defineProperty(this,"path",{value:e,enumerable:!0})}function r(t,e,n){r.super_.call(this,"E",t),Object.defineProperty(this,"lhs",{value:e,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function a(t,e){a.super_.call(this,"N",t),Object.defineProperty(this,"rhs",{value:e,enumerable:!0})}function i(t,e){i.super_.call(this,"D",t),Object.defineProperty(this,"lhs",{value:e,enumerable:!0})}function s(t,e,n){s.super_.call(this,"A",t),Object.defineProperty(this,"index",{value:e,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function c(t,e,n){var o=t.slice((n||e)+1||t.length);return t.length=e<0?t.length+e:e,t.push.apply(t,o),t}function u(t){var e="undefined"==typeof t?"undefined":P(t);return"object"!==e?e:t===Math?"math":null===t?"null":Array.isArray(t)?"array":"[object Date]"===Object.prototype.toString.call(t)?"date":"function"==typeof t.toString&&/^\/.*\//.test(t.toString())?"regexp":"object"}function l(t,e,n,o,p,d,f){f=f||[];var E=(p=p||[]).slice(0);if("undefined"!=typeof d){if(o){if("function"==typeof o&&o(E,d))return;if("object"===("undefined"==typeof o?"undefined":P(o))){if(o.prefilter&&o.prefilter(E,d))return;if(o.normalize){var m=o.normalize(E,d,t,e);m&&(t=m[0],e=m[1])}}}E.push(d)}"regexp"===u(t)&&"regexp"===u(e)&&(t=t.toString(),e=e.toString());var _="undefined"==typeof t?"undefined":P(t),h="undefined"==typeof e?"undefined":P(e),g="undefined"!==_||f&&f[f.length-1].lhs&&f[f.length-1].lhs.hasOwnProperty(d),S="undefined"!==h||f&&f[f.length-1].rhs&&f[f.length-1].rhs.hasOwnProperty(d);if(!g&&S)n(new a(E,e));else if(!S&&g)n(new i(E,t));else if(u(t)!==u(e))n(new r(E,t,e));else if("date"===u(t)&&t-e!==0)n(new r(E,t,e));else if("object"===_&&null!==t&&null!==e)if(f.filter((function(e){return e.lhs===t})).length)t!==e&&n(new r(E,t,e));else{if(f.push({lhs:t,rhs:e}),Array.isArray(t)){var T;for(t.length,T=0;T<t.length;T++)T>=e.length?n(new s(E,T,new i(void 0,t[T]))):l(t[T],e[T],n,o,E,T,f);for(;T<e.length;)n(new s(E,T,new a(void 0,e[T++])))}else{var y=Object.keys(t),C=Object.keys(e);y.forEach((function(r,a){var i=C.indexOf(r);i>=0?(l(t[r],e[r],n,o,E,r,f),C=c(C,i)):l(t[r],void 0,n,o,E,r,f)})),C.forEach((function(t){l(void 0,e[t],n,o,E,t,f)}))}f.length=f.length-1}else t!==e&&("number"===_&&isNaN(t)&&isNaN(e)||n(new r(E,t,e)))}function p(t,e,n,o){return o=o||[],l(t,e,(function(t){t&&o.push(t)}),n),o.length?o:void 0}function d(t,e,n){if(n.path&&n.path.length){var o,r=t[e],a=n.path.length-1;for(o=0;o<a;o++)r=r[n.path[o]];switch(n.kind){case"A":d(r[n.path[o]],n.index,n.item);break;case"D":delete r[n.path[o]];break;case"E":case"N":r[n.path[o]]=n.rhs}}else switch(n.kind){case"A":d(t[e],n.index,n.item);break;case"D":t=c(t,e);break;case"E":case"N":t[e]=n.rhs}return t}function f(t,e,n){if(t&&e&&n&&n.kind){for(var o=t,r=-1,a=n.path?n.path.length-1:0;++r<a;)"undefined"==typeof o[n.path[r]]&&(o[n.path[r]]="number"==typeof n.path[r]?[]:{}),o=o[n.path[r]];switch(n.kind){case"A":d(n.path?o[n.path[r]]:o,n.index,n.item);break;case"D":delete o[n.path[r]];break;case"E":case"N":o[n.path[r]]=n.rhs}}}function E(t,e,n){if(n.path&&n.path.length){var o,r=t[e],a=n.path.length-1;for(o=0;o<a;o++)r=r[n.path[o]];switch(n.kind){case"A":E(r[n.path[o]],n.index,n.item);break;case"D":case"E":r[n.path[o]]=n.lhs;break;case"N":delete r[n.path[o]]}}else switch(n.kind){case"A":E(t[e],n.index,n.item);break;case"D":case"E":t[e]=n.lhs;break;case"N":t=c(t,e)}return t}function m(t,e,n){if(t&&e&&n&&n.kind){var o,r,a=t;for(r=n.path.length-1,o=0;o<r;o++)"undefined"==typeof a[n.path[o]]&&(a[n.path[o]]={}),a=a[n.path[o]];switch(n.kind){case"A":E(a[n.path[o]],n.index,n.item);break;case"D":case"E":a[n.path[o]]=n.lhs;break;case"N":delete a[n.path[o]]}}}function _(t,e,n){t&&e&&l(t,e,(function(o){n&&!n(t,e,o)||f(t,e,o)}))}function h(t){return"color: "+N[t].color+"; font-weight: bold"}function g(t){var e=t.kind,n=t.path,o=t.lhs,r=t.rhs,a=t.index,i=t.item;switch(e){case"E":return[n.join("."),o,"\u2192",r];case"N":return[n.join("."),r];case"D":return[n.join(".")];case"A":return[n.join(".")+"["+a+"]",i];default:return[]}}function S(t,e,n,o){var r=p(t,e);try{o?n.groupCollapsed("diff"):n.group("diff")}catch(t){n.log("diff")}r?r.forEach((function(t){var e=t.kind,o=g(t);n.log.apply(n,["%c "+N[e].text,h(e)].concat(L(o)))})):n.log("\u2014\u2014 no diff \u2014\u2014");try{n.groupEnd()}catch(t){n.log("\u2014\u2014 diff end \u2014\u2014 ")}}function T(t,e,n,o){switch("undefined"==typeof t?"undefined":P(t)){case"object":return"function"==typeof t[o]?t[o].apply(t,L(n)):t[o];case"function":return t(e);default:return t}}function y(t){var e=t.timestamp,n=t.duration;return function(t,o,r){var a=["action"];return a.push("%c"+String(t.type)),e&&a.push("%c@ "+o),n&&a.push("%c(in "+r.toFixed(2)+" ms)"),a.join(" ")}}function C(t,e){var n=e.logger,o=e.actionTransformer,r=e.titleFormatter,a=void 0===r?y(e):r,i=e.collapsed,s=e.colors,c=e.level,u=e.diff,l="undefined"==typeof e.titleFormatter;t.forEach((function(r,p){var d=r.started,f=r.startedTime,E=r.action,m=r.prevState,_=r.error,h=r.took,g=r.nextState,y=t[p+1];y&&(g=y.prevState,h=y.started-d);var C=o(E),b="function"==typeof i?i((function(){return g}),E,r):i,A=v(f),I=s.title?"color: "+s.title(C)+";":"",O=["color: gray; font-weight: lighter;"];O.push(I),e.timestamp&&O.push("color: gray; font-weight: lighter;"),e.duration&&O.push("color: gray; font-weight: lighter;");var R=a(C,A,h);try{b?s.title&&l?n.groupCollapsed.apply(n,["%c "+R].concat(O)):n.groupCollapsed(R):s.title&&l?n.group.apply(n,["%c "+R].concat(O)):n.group(R)}catch(t){n.log(R)}var U=T(c,C,[m],"prevState"),P=T(c,C,[C],"action"),L=T(c,C,[_,m],"error"),x=T(c,C,[g],"nextState");if(U)if(s.prevState){var N="color: "+s.prevState(m)+"; font-weight: bold";n[U]("%c prev state",N,m)}else n[U]("prev state",m);if(P)if(s.action){var D="color: "+s.action(C)+"; font-weight: bold";n[P]("%c action    ",D,C)}else n[P]("action    ",C);if(_&&L)if(s.error){var w="color: "+s.error(_,m)+"; font-weight: bold;";n[L]("%c error     ",w,_)}else n[L]("error     ",_);if(x)if(s.nextState){var F="color: "+s.nextState(g)+"; font-weight: bold";n[x]("%c next state",F,g)}else n[x]("next state",g);u&&S(m,g,n,b);try{n.groupEnd()}catch(t){n.log("\u2014\u2014 log end \u2014\u2014")}}))}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},D,t),n=e.logger,o=e.stateTransformer,r=e.errorTransformer,a=e.predicate,i=e.logErrors,s=e.diffPredicate;if("undefined"==typeof n)return function(){return function(t){return function(e){return t(e)}}};if(t.getState&&t.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n  reducer,\n  applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n  // ...options\n});\nconst store = createStore(\n  reducer,\n  applyMiddleware(logger)\n)\n"),function(){return function(t){return function(e){return t(e)}}};var c=[];return function(t){var n=t.getState;return function(t){return function(u){if("function"==typeof a&&!a(n,u))return t(u);var l={};c.push(l),l.started=U.now(),l.startedTime=new Date,l.prevState=o(n()),l.action=u;var p=void 0;if(i)try{p=t(u)}catch(t){l.error=r(t)}else p=t(u);l.took=U.now()-l.started,l.nextState=o(n());var d=e.diff&&"function"==typeof s?s(n,u):e.diff;if(C(c,Object.assign({},e,{diff:d})),c.length=0,l.error)throw l.error;return p}}}}var A,I,O=function(t,e){return new Array(e+1).join(t)},R=function(t,e){return O("0",e-t.toString().length)+t},v=function(t){return R(t.getHours(),2)+":"+R(t.getMinutes(),2)+":"+R(t.getSeconds(),2)+"."+R(t.getMilliseconds(),3)},U="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},x=[];A="object"===("undefined"==typeof n.g?"undefined":P(n.g))&&n.g?n.g:"undefined"!=typeof window?window:{},(I=A.DeepDiff)&&x.push((function(){"undefined"!=typeof I&&A.DeepDiff===p&&(A.DeepDiff=I,I=void 0)})),e(r,o),e(a,o),e(i,o),e(s,o),Object.defineProperties(p,{diff:{value:p,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:_,enumerable:!0},applyChange:{value:f,enumerable:!0},revertChange:{value:m,enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof I},enumerable:!0},noConflict:{value:function(){return x&&(x.forEach((function(t){t()})),x=null),p},enumerable:!0}});var N={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},D={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(t){return t},actionTransformer:function(t){return t},errorTransformer:function(t){return t},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.dispatch,n=t.getState;return"function"==typeof e||"function"==typeof n?b()({dispatch:e,getState:n}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=D,t.createLogger=b,t.logger=w,t.default=w,Object.defineProperty(t,"__esModule",{value:!0})}(e)},2236:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ActionCreators=e.ActionTypes=void 0;var n={UNDO:"@@redux-undo/UNDO",REDO:"@@redux-undo/REDO",JUMP_TO_FUTURE:"@@redux-undo/JUMP_TO_FUTURE",JUMP_TO_PAST:"@@redux-undo/JUMP_TO_PAST",JUMP:"@@redux-undo/JUMP",CLEAR_HISTORY:"@@redux-undo/CLEAR_HISTORY"};e.ActionTypes=n;var o={undo:function(){return{type:n.UNDO}},redo:function(){return{type:n.REDO}},jumpToFuture:function(t){return{type:n.JUMP_TO_FUTURE,index:t}},jumpToPast:function(t){return{type:n.JUMP_TO_PAST,index:t}},jump:function(t){return{type:n.JUMP,index:t}},clearHistory:function(){return{type:n.CLEAR_HISTORY}}};e.ActionCreators=o},8823:function(t,e){"use strict";function n(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var o,r;Object.defineProperty(e,"__esModule",{value:!0}),e.set=function(t){o=t},e.start=function(t,e){void(r={header:[],prev:[],action:[],next:[],msgs:[]}),o&&(console.group?(r.header=["%credux-undo","font-style: italic","action",t.type],r.action=c("action",i,t),r.prev=c("prev history",a,e)):(r.header=["redux-undo action",t.type],r.action=["action",t],r.prev=["prev history",e]))},e.end=function(t){o&&(console.group?r.next=c("next history",s,t):r.next=["next history",t],function(){var t=r,e=t.header,o=t.prev,a=t.next,i=t.action,s=t.msgs;if(console.group){var c,u,l,p,d;(c=console).groupCollapsed.apply(c,n(e)),(u=console).log.apply(u,n(o)),(l=console).log.apply(l,n(i)),(p=console).log.apply(p,n(a)),(d=console).log.apply(d,n(s)),console.groupEnd()}else{var f,E,m,_,h;(f=console).log.apply(f,n(e)),(E=console).log.apply(E,n(o)),(m=console).log.apply(m,n(i)),(_=console).log.apply(_,n(a)),(h=console).log.apply(h,n(s))}}())},e.log=function(){if(o){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];r.msgs=r.msgs.concat([].concat(e,["\n"]))}};var a="#9E9E9E",i="#03A9F4",s="#4CAF50";function c(t,e,n){return["%c".concat(t),"color: ".concat(e,"; font-weight: bold"),n]}},1619:function(t,e){"use strict";function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Array.isArray(t)?t:"string"===typeof t?[t]:e}Object.defineProperty(e,"__esModule",{value:!0}),e.parseActions=n,e.isHistory=function(t){return"undefined"!==typeof t.present&&"undefined"!==typeof t.future&&"undefined"!==typeof t.past&&Array.isArray(t.future)&&Array.isArray(t.past)},e.includeAction=function(t){var e=n(t);return function(t){return e.indexOf(t.type)>=0}},e.excludeAction=function(t){var e=n(t);return function(t){return e.indexOf(t.type)<0}},e.combineFilters=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return function(n,o,r){return t(n,o,r)&&e(n,o,r)}}),(function(){return!0}))},e.groupByActionTypes=function(t){var e=n(t);return function(t){return e.indexOf(t.type)>=0?t.type:null}},e.newHistory=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{past:t,present:e,future:n,group:o,_latestUnfiltered:e,index:t.length,limit:t.length+n.length+1}}},1090:function(t,e,n){"use strict";Object.defineProperty(e,"ZP",{enumerable:!0,get:function(){return i.default}});var o,r=n(2236),a=n(1619),i=(o=n(2479))&&o.__esModule?o:{default:o}},2479:function(t,e,n){"use strict";function o(t){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.set(e.debug);var n,o=u({limit:void 0,filter:function(){return!0},groupBy:function(){return null},undoType:a.ActionTypes.UNDO,redoType:a.ActionTypes.REDO,jumpToPastType:a.ActionTypes.JUMP_TO_PAST,jumpToFutureType:a.ActionTypes.JUMP_TO_FUTURE,jumpType:a.ActionTypes.JUMP,neverSkipReducer:!1,ignoreInitialState:!1,syncFilter:!1},e,{initTypes:(0,i.parseActions)(e.initTypes,["@@redux-undo/INIT"]),clearHistoryType:(0,i.parseActions)(e.clearHistoryType,[a.ActionTypes.CLEAR_HISTORY])}),s=o.neverSkipReducer?function(e,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),a=2;a<o;a++)r[a-2]=arguments[a];return u({},e,{present:t.apply(void 0,[e.present,n].concat(r))})}:function(t){return t};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.start(a,e);for(var c,u=e,l=arguments.length,p=new Array(l>2?l-2:0),g=2;g<l;g++)p[g-2]=arguments[g];if(!n){if(r.log("history is uninitialized"),void 0===e){var S={type:"@@redux-undo/CREATE_HISTORY"},T=t.apply(void 0,[e,S].concat(p));return u=d(T,o.ignoreInitialState),r.log("do not set initialState on probe actions"),r.end(u),u}(0,i.isHistory)(e)?(u=n=o.ignoreInitialState?e:(0,i.newHistory)(e.past,e.present,e.future),r.log("initialHistory initialized: initialState is a history",n)):(u=n=d(e,o.ignoreInitialState),r.log("initialHistory initialized: initialState is not a history",n))}switch(a.type){case void 0:return u;case o.undoType:return c=_(u,-1),r.log("perform undo"),r.end(c),s.apply(void 0,[c,a].concat(p));case o.redoType:return c=_(u,1),r.log("perform redo"),r.end(c),s.apply(void 0,[c,a].concat(p));case o.jumpToPastType:return c=m(u,a.index),r.log("perform jumpToPast to ".concat(a.index)),r.end(c),s.apply(void 0,[c,a].concat(p));case o.jumpToFutureType:return c=E(u,a.index),r.log("perform jumpToFuture to ".concat(a.index)),r.end(c),s.apply(void 0,[c,a].concat(p));case o.jumpType:return c=_(u,a.index),r.log("perform jump to ".concat(a.index)),r.end(c),s.apply(void 0,[c,a].concat(p));case h(a.type,o.clearHistoryType):return c=d(u.present,o.ignoreInitialState),r.log("perform clearHistory"),r.end(c),s.apply(void 0,[c,a].concat(p));default:if(c=t.apply(void 0,[u.present,a].concat(p)),o.initTypes.some((function(t){return t===a.type})))return r.log("reset history due to init action"),r.end(n),n;if(u._latestUnfiltered===c)return u;var y="function"===typeof o.filter&&!o.filter(a,c,u);if(y){var C=(0,i.newHistory)(u.past,c,u.future,u.group);return o.syncFilter||(C._latestUnfiltered=u._latestUnfiltered),r.log("filter ignored action, not storing it in past"),r.end(C),C}var b=o.groupBy(a,c,u);if(null!=b&&b===u.group){var A=(0,i.newHistory)(u.past,c,u.future,u.group);return r.log("groupBy grouped the action with the previous action"),r.end(A),A}return u=f(u,c,o.limit,b),r.log("inserted new state into history"),r.end(u),u}}};var r=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!==typeof t)return{default:t};var e=s();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var i=r?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=t[a]}n.default=t,e&&e.set(t,n);return n}(n(8823)),a=n(2236),i=n(1619);function s(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return s=function(){return t},t}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(t,e){var n=(0,i.newHistory)([],t,[]);return e&&(n._latestUnfiltered=null),n}function f(t,e,n,o){var a=t.past.length+1;r.log("inserting",e),r.log("new free: ",n-a);var s=t.past,c=t._latestUnfiltered,u=n&&n<=a,l=s.slice(u?1:0),d=null!=c?[].concat(p(l),[c]):l;return(0,i.newHistory)(d,e,[],o)}function E(t,e){if(e<0||e>=t.future.length)return t;var n=t.past,o=t.future,r=t._latestUnfiltered,a=[].concat(p(n),[r],p(o.slice(0,e))),s=o[e],c=o.slice(e+1);return(0,i.newHistory)(a,s,c)}function m(t,e){if(e<0||e>=t.past.length)return t;var n=t.past,o=t.future,r=t._latestUnfiltered,a=n.slice(0,e),s=[].concat(p(n.slice(e+1)),[r],p(o)),c=n[e];return(0,i.newHistory)(a,c,s)}function _(t,e){return e>0?E(t,e-1):e<0?m(t,t.past.length+e):t}function h(t,e){return e.indexOf(t)>-1?t:!t}},5217:function(t,e,n){"use strict";n.d(e,{md:function(){return E},UY:function(){return d},qC:function(){return f},MT:function(){return p}});var o=n(4942);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var s="function"===typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function l(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function p(t,e,n){var o;if("function"===typeof e&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(i(0));if("function"===typeof e&&"undefined"===typeof n&&(n=e,e=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(i(1));return n(p)(t,e)}if("function"!==typeof t)throw new Error(i(2));var r=t,a=e,c=[],d=c,f=!1;function E(){d===c&&(d=c.slice())}function m(){if(f)throw new Error(i(3));return a}function _(t){if("function"!==typeof t)throw new Error(i(4));if(f)throw new Error(i(5));var e=!0;return E(),d.push(t),function(){if(e){if(f)throw new Error(i(6));e=!1,E();var n=d.indexOf(t);d.splice(n,1),c=null}}}function h(t){if(!l(t))throw new Error(i(7));if("undefined"===typeof t.type)throw new Error(i(8));if(f)throw new Error(i(9));try{f=!0,a=r(a,t)}finally{f=!1}for(var e=c=d,n=0;n<e.length;n++){(0,e[n])()}return t}function g(t){if("function"!==typeof t)throw new Error(i(10));r=t,h({type:u.REPLACE})}function S(){var t,e=_;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(i(11));function n(){t.next&&t.next(m())}return n(),{unsubscribe:e(n)}}})[s]=function(){return this},t}return h({type:u.INIT}),(o={dispatch:h,subscribe:_,getState:m,replaceReducer:g})[s]=S,o}function d(t){for(var e=Object.keys(t),n={},o=0;o<e.length;o++){var r=e[o];0,"function"===typeof t[r]&&(n[r]=t[r])}var a,s=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if("undefined"===typeof n(void 0,{type:u.INIT}))throw new Error(i(12));if("undefined"===typeof n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(n)}catch(c){a=c}return function(t,e){if(void 0===t&&(t={}),a)throw a;for(var o=!1,r={},c=0;c<s.length;c++){var u=s[c],l=n[u],p=t[u],d=l(p,e);if("undefined"===typeof d){e&&e.type;throw new Error(i(14))}r[u]=d,o=o||d!==p}return(o=o||s.length!==Object.keys(t).length)?r:t}}function f(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function E(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),o=function(){throw new Error(i(15))},r={getState:n.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=e.map((function(t){return t(r)}));return o=f.apply(void 0,s)(n.dispatch),a(a({},n),{},{dispatch:o})}}}},1697:function(t,e,n){"use strict";t.exports=n(3188)()},3188:function(t,e,n){"use strict";var o=n(8764).Buffer;function r(t){return t instanceof o?o.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}t.exports=function(t){return(t=t||{}).circles?function(t){var e=[],n=[];return t.proto?function t(a){if("object"!==typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return o(a,t);if(a instanceof Map)return new Map(o(Array.from(a),t));if(a instanceof Set)return new Set(o(Array.from(a),t));var i={};for(var s in e.push(a),n.push(i),a){var c=a[s];if("object"!==typeof c||null===c)i[s]=c;else if(c instanceof Date)i[s]=new Date(c);else if(c instanceof Map)i[s]=new Map(o(Array.from(c),t));else if(c instanceof Set)i[s]=new Set(o(Array.from(c),t));else if(ArrayBuffer.isView(c))i[s]=r(c);else{var u=e.indexOf(c);i[s]=-1!==u?n[u]:t(c)}}return e.pop(),n.pop(),i}:function t(a){if("object"!==typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return o(a,t);if(a instanceof Map)return new Map(o(Array.from(a),t));if(a instanceof Set)return new Set(o(Array.from(a),t));var i={};for(var s in e.push(a),n.push(i),a)if(!1!==Object.hasOwnProperty.call(a,s)){var c=a[s];if("object"!==typeof c||null===c)i[s]=c;else if(c instanceof Date)i[s]=new Date(c);else if(c instanceof Map)i[s]=new Map(o(Array.from(c),t));else if(c instanceof Set)i[s]=new Set(o(Array.from(c),t));else if(ArrayBuffer.isView(c))i[s]=r(c);else{var u=e.indexOf(c);i[s]=-1!==u?n[u]:t(c)}}return e.pop(),n.pop(),i};function o(t,o){for(var a=Object.keys(t),i=new Array(a.length),s=0;s<a.length;s++){var c=a[s],u=t[c];if("object"!==typeof u||null===u)i[c]=u;else if(u instanceof Date)i[c]=new Date(u);else if(ArrayBuffer.isView(u))i[c]=r(u);else{var l=e.indexOf(u);i[c]=-1!==l?n[l]:o(u)}}return i}}(t):t.proto?function t(n){if("object"!==typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return e(n,t);if(n instanceof Map)return new Map(e(Array.from(n),t));if(n instanceof Set)return new Set(e(Array.from(n),t));var o={};for(var a in n){var i=n[a];"object"!==typeof i||null===i?o[a]=i:i instanceof Date?o[a]=new Date(i):i instanceof Map?o[a]=new Map(e(Array.from(i),t)):i instanceof Set?o[a]=new Set(e(Array.from(i),t)):ArrayBuffer.isView(i)?o[a]=r(i):o[a]=t(i)}return o}:function t(n){if("object"!==typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return e(n,t);if(n instanceof Map)return new Map(e(Array.from(n),t));if(n instanceof Set)return new Set(e(Array.from(n),t));var o={};for(var a in n)if(!1!==Object.hasOwnProperty.call(n,a)){var i=n[a];"object"!==typeof i||null===i?o[a]=i:i instanceof Date?o[a]=new Date(i):i instanceof Map?o[a]=new Map(e(Array.from(i),t)):i instanceof Set?o[a]=new Set(e(Array.from(i),t)):ArrayBuffer.isView(i)?o[a]=r(i):o[a]=t(i)}return o};function e(t,e){for(var n=Object.keys(t),o=new Array(n.length),a=0;a<n.length;a++){var i=n[a],s=t[i];"object"!==typeof s||null===s?o[i]=s:s instanceof Date?o[i]=new Date(s):ArrayBuffer.isView(s)?o[i]=r(s):o[i]=e(s)}return o}}},1169:function(t){t.exports=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()})).toLowerCase()}},1476:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var r=o(n(7848)),a=n(6678);e.default=function(t,e){var n={};return t&&"string"===typeof t?(r.default(t,(function(t,o){t&&o&&(n[a.camelCase(t,e)]=o)})),n):n}},6678:function(t,e){"use strict";e.__esModule=!0,e.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,r=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,i=function(t,e){return e.toUpperCase()},s=function(t,e){return e+"-"};e.camelCase=function(t,e){return void 0===e&&(e={}),function(t){return!t||r.test(t)||n.test(t)}(t)?t:(t=t.toLowerCase(),e.reactCompat||(t=t.replace(a,s)),t.replace(o,i))}},7848:function(t,e,n){var o=n(8139);t.exports=function(t,e){var n,r=null;if(!t||"string"!==typeof t)return r;for(var a,i,s=o(t),c="function"===typeof e,u=0,l=s.length;u<l;u++)a=(n=s[u]).property,i=n.value,c?e(a,i,n):i&&(r||(r={}),r[a]=i);return r}},3774:function(t,e){!function(t){"use strict";function e(t,e,n,o){var r,a=!1,i=0;function s(){r&&clearTimeout(r)}function c(){s(),a=!0}function u(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var p=this,d=Date.now()-i;function f(){i=Date.now(),n.apply(p,u)}function E(){r=void 0}a||(o&&!r&&f(),s(),void 0===o&&d>t?f():!0!==e&&(r=setTimeout(o?E:f,void 0===o?t-d:t)))}return"boolean"!==typeof e&&(o=n,n=e,e=void 0),u.cancel=c,u}function n(t,n,o){return void 0===o?e(t,n,!1):e(t,o,!1!==n)}t.debounce=n,t.throttle=e,Object.defineProperty(t,"__esModule",{value:!0})}(e)},7632:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var o={randomUUID:"undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let r;const a=new Uint8Array(16);function i(){if(!r&&(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(a)}const s=[];for(let l=0;l<256;++l)s.push((l+256).toString(16).slice(1));function c(t,e=0){return(s[t[e+0]]+s[t[e+1]]+s[t[e+2]]+s[t[e+3]]+"-"+s[t[e+4]]+s[t[e+5]]+"-"+s[t[e+6]]+s[t[e+7]]+"-"+s[t[e+8]]+s[t[e+9]]+"-"+s[t[e+10]]+s[t[e+11]]+s[t[e+12]]+s[t[e+13]]+s[t[e+14]]+s[t[e+15]]).toLowerCase()}var u=function(t,e,n){if(o.randomUUID&&!e&&!t)return o.randomUUID();const r=(t=t||{}).random||(t.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[t];return e}return c(r)}},5933:function(t,e,n){var o;!function(){function r(t,e,n){return t.call.apply(t.bind,arguments)}function a(t,e,n){if(!t)throw Error();if(2<arguments.length){var o=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,o),t.apply(e,n)}}return function(){return t.apply(e,arguments)}}function i(t,e,n){return(i=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?r:a).apply(null,arguments)}var s=Date.now||function(){return+new Date};function c(t,e){this.a=t,this.o=e||t,this.c=this.o.document}var u=!!window.FontFace;function l(t,e,n,o){if(e=t.c.createElement(e),n)for(var r in n)n.hasOwnProperty(r)&&("style"==r?e.style.cssText=n[r]:e.setAttribute(r,n[r]));return o&&e.appendChild(t.c.createTextNode(o)),e}function p(t,e,n){(t=t.c.getElementsByTagName(e)[0])||(t=document.documentElement),t.insertBefore(n,t.lastChild)}function d(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,n){e=e||[],n=n||[];for(var o=t.className.split(/\s+/),r=0;r<e.length;r+=1){for(var a=!1,i=0;i<o.length;i+=1)if(e[r]===o[i]){a=!0;break}a||o.push(e[r])}for(e=[],r=0;r<o.length;r+=1){for(a=!1,i=0;i<n.length;i+=1)if(o[r]===n[i]){a=!0;break}a||e.push(o[r])}t.className=e.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function E(t,e){for(var n=t.className.split(/\s+/),o=0,r=n.length;o<r;o++)if(n[o]==e)return!0;return!1}function m(t,e,n){function o(){s&&r&&a&&(s(i),s=null)}e=l(t,"link",{rel:"stylesheet",href:e,media:"all"});var r=!1,a=!0,i=null,s=n||null;u?(e.onload=function(){r=!0,o()},e.onerror=function(){r=!0,i=Error("Stylesheet failed to load"),o()}):setTimeout((function(){r=!0,o()}),0),p(t,"head",e)}function _(t,e,n,o){var r=t.c.getElementsByTagName("head")[0];if(r){var a=l(t,"script",{src:e}),i=!1;return a.onload=a.onreadystatechange=function(){i||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(i=!0,n&&n(null),a.onload=a.onreadystatechange=null,"HEAD"==a.parentNode.tagName&&r.removeChild(a))},r.appendChild(a),setTimeout((function(){i||(i=!0,n&&n(Error("Script load timeout")))}),o||5e3),a}return null}function h(){this.a=0,this.c=null}function g(t){return t.a++,function(){t.a--,T(t)}}function S(t,e){t.c=e,T(t)}function T(t){0==t.a&&t.c&&(t.c(),t.c=null)}function y(t){this.a=t||"-"}function C(t,e){this.c=t,this.f=4,this.a="n";var n=(e||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function b(t){var e=[];t=t.split(/,\s*/);for(var n=0;n<t.length;n++){var o=t[n].replace(/['"]/g,"");-1!=o.indexOf(" ")||/^\d/.test(o)?e.push("'"+o+"'"):e.push(o)}return e.join(",")}function A(t){return t.a+t.f}function I(t){var e="normal";return"o"===t.a?e="oblique":"i"===t.a&&(e="italic"),e}function O(t){var e=4,n="n",o=null;return t&&((o=t.match(/(normal|oblique|italic)/i))&&o[1]&&(n=o[1].substr(0,1).toLowerCase()),(o=t.match(/([1-9]00|normal|bold)/i))&&o[1]&&(/bold/i.test(o[1])?e=7:/[1-9]00/.test(o[1])&&(e=parseInt(o[1].substr(0,1),10)))),n+e}function R(t,e){this.c=t,this.f=t.o.document.documentElement,this.h=e,this.a=new y("-"),this.j=!1!==e.events,this.g=!1!==e.classes}function v(t){if(t.g){var e=E(t.f,t.a.c("wf","active")),n=[],o=[t.a.c("wf","loading")];e||n.push(t.a.c("wf","inactive")),f(t.f,n,o)}U(t,"inactive")}function U(t,e,n){t.j&&t.h[e]&&(n?t.h[e](n.c,A(n)):t.h[e]())}function P(){this.c={}}function L(t,e){this.c=t,this.f=e,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function x(t){p(t.c,"body",t.a)}function N(t){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+b(t.c)+";font-style:"+I(t)+";font-weight:"+t.f+"00;"}function D(t,e,n,o,r,a){this.g=t,this.j=e,this.a=o,this.c=n,this.f=r||3e3,this.h=a||void 0}function w(t,e,n,o,r,a,i){this.v=t,this.B=e,this.c=n,this.a=o,this.s=i||"BESbswy",this.f={},this.w=r||3e3,this.u=a||null,this.m=this.j=this.h=this.g=null,this.g=new L(this.c,this.s),this.h=new L(this.c,this.s),this.j=new L(this.c,this.s),this.m=new L(this.c,this.s),t=N(t=new C(this.a.c+",serif",A(this.a))),this.g.a.style.cssText=t,t=N(t=new C(this.a.c+",sans-serif",A(this.a))),this.h.a.style.cssText=t,t=N(t=new C("serif",A(this.a))),this.j.a.style.cssText=t,t=N(t=new C("sans-serif",A(this.a))),this.m.a.style.cssText=t,x(this.g),x(this.h),x(this.j),x(this.m)}y.prototype.c=function(t){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return e.join(this.a)},D.prototype.start=function(){var t=this.c.o.document,e=this,n=s(),o=new Promise((function(o,r){!function a(){s()-n>=e.f?r():t.fonts.load(function(t){return I(t)+" "+t.f+"00 300px "+b(t.c)}(e.a),e.h).then((function(t){1<=t.length?o():setTimeout(a,25)}),(function(){r()}))}()})),r=null,a=new Promise((function(t,n){r=setTimeout(n,e.f)}));Promise.race([a,o]).then((function(){r&&(clearTimeout(r),r=null),e.g(e.a)}),(function(){e.j(e.a)}))};var F={D:"serif",C:"sans-serif"},M=null;function k(){if(null===M){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);M=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return M}function j(t,e,n){for(var o in F)if(F.hasOwnProperty(o)&&e===t.f[F[o]]&&n===t.f[F[o]])return!0;return!1}function B(t){var e,n=t.g.a.offsetWidth,o=t.h.a.offsetWidth;(e=n===t.f.serif&&o===t.f["sans-serif"])||(e=k()&&j(t,n,o)),e?s()-t.A>=t.w?k()&&j(t,n,o)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?G(t,t.v):G(t,t.B):function(t){setTimeout(i((function(){B(this)}),t),50)}(t):G(t,t.v)}function G(t,e){setTimeout(i((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),e(this.a)}),t),0)}function z(t,e,n){this.c=t,this.a=e,this.f=0,this.m=this.j=!1,this.s=n}w.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),B(this)};var H=null;function W(t){0==--t.f&&t.j&&(t.m?((t=t.a).g&&f(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),U(t,"active")):v(t.a))}function V(t){this.j=t,this.a=new P,this.h=0,this.f=this.g=!0}function $(t,e,n,o,r){var a=0==--t.h;(t.f||t.g)&&setTimeout((function(){var t=r||null,s=o||{};if(0===n.length&&a)v(e.a);else{e.f+=n.length,a&&(e.j=a);var c,u=[];for(c=0;c<n.length;c++){var l=n[c],p=s[l.c],d=e.a,E=l;if(d.g&&f(d.f,[d.a.c("wf",E.c,A(E).toString(),"loading")]),U(d,"fontloading",E),d=null,null===H)if(window.FontFace){E=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);H=E?42<parseInt(E[1],10):!m}else H=!1;d=H?new D(i(e.g,e),i(e.h,e),e.c,l,e.s,p):new w(i(e.g,e),i(e.h,e),e.c,l,e.s,t,p),u.push(d)}for(c=0;c<u.length;c++)u[c].start()}}),0)}function Q(t,e){this.c=t,this.a=e}function Y(t,e){this.c=t,this.a=e}function K(t,e){this.c=t||q,this.a=[],this.f=[],this.g=e||""}z.prototype.g=function(t){var e=this.a;e.g&&f(e.f,[e.a.c("wf",t.c,A(t).toString(),"active")],[e.a.c("wf",t.c,A(t).toString(),"loading"),e.a.c("wf",t.c,A(t).toString(),"inactive")]),U(e,"fontactive",t),this.m=!0,W(this)},z.prototype.h=function(t){var e=this.a;if(e.g){var n=E(e.f,e.a.c("wf",t.c,A(t).toString(),"active")),o=[],r=[e.a.c("wf",t.c,A(t).toString(),"loading")];n||o.push(e.a.c("wf",t.c,A(t).toString(),"inactive")),f(e.f,o,r)}U(e,"fontinactive",t),W(this)},V.prototype.load=function(t){this.c=new c(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,function(t,e,n){var o=[],r=n.timeout;!function(t){t.g&&f(t.f,[t.a.c("wf","loading")]),U(t,"loading")}(e);o=function(t,e,n){var o,r=[];for(o in e)if(e.hasOwnProperty(o)){var a=t.c[o];a&&r.push(a(e[o],n))}return r}(t.a,n,t.c);var a=new z(t.c,e,r);for(t.h=o.length,e=0,n=o.length;e<n;e++)o[e].load((function(e,n,o){$(t,a,e,n,o)}))}(this,new R(this.c,t),t)},Q.prototype.load=function(t){function e(){if(a["__mti_fntLst"+o]){var n,r=a["__mti_fntLst"+o](),i=[];if(r)for(var s=0;s<r.length;s++){var c=r[s].fontfamily;void 0!=r[s].fontStyle&&void 0!=r[s].fontWeight?(n=r[s].fontStyle+r[s].fontWeight,i.push(new C(c,n))):i.push(new C(c))}t(i)}else setTimeout((function(){e()}),50)}var n=this,o=n.a.projectId,r=n.a.version;if(o){var a=n.c.o;_(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+o+".js"+(r?"?v="+r:""),(function(r){r?t([]):(a["__MonotypeConfiguration__"+o]=function(){return n.a},e())})).id="__MonotypeAPIScript__"+o}else t([])},Y.prototype.load=function(t){var e,n,o=this.a.urls||[],r=this.a.families||[],a=this.a.testStrings||{},i=new h;for(e=0,n=o.length;e<n;e++)m(this.c,o[e],g(i));var s=[];for(e=0,n=r.length;e<n;e++)if((o=r[e].split(":"))[1])for(var c=o[1].split(","),u=0;u<c.length;u+=1)s.push(new C(o[0],c[u]));else s.push(new C(o[0]));S(i,(function(){t(s,a)}))};var q="https://fonts.googleapis.com/css";function J(t){this.f=t,this.a=[],this.c={}}var X={latin:"BESbswy","latin-ext":"\xe7\xf6\xfc\u011f\u015f",cyrillic:"\u0439\u044f\u0416",greek:"\u03b1\u03b2\u03a3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},Z={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},tt={i:"i",italic:"i",n:"n",normal:"n"},et=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function nt(t,e){this.c=t,this.a=e}var ot={Arimo:!0,Cousine:!0,Tinos:!0};function rt(t,e){this.c=t,this.a=e}function at(t,e){this.c=t,this.f=e,this.a=[]}nt.prototype.load=function(t){var e=new h,n=this.c,o=new K(this.a.api,this.a.text),r=this.a.families;!function(t,e){for(var n=e.length,o=0;o<n;o++){var r=e[o].split(":");3==r.length&&t.f.push(r.pop());var a="";2==r.length&&""!=r[1]&&(a=":"),t.a.push(r.join(a))}}(o,r);var a=new J(r);!function(t){for(var e=t.f.length,n=0;n<e;n++){var o=t.f[n].split(":"),r=o[0].replace(/\+/g," "),a=["n4"];if(2<=o.length){var i;if(i=[],s=o[1])for(var s,c=(s=s.split(",")).length,u=0;u<c;u++){var l;if((l=s[u]).match(/^[\w-]+$/))if(null==(p=et.exec(l.toLowerCase())))l="";else{if(l=null==(l=p[2])||""==l?"n":tt[l],null==(p=p[1])||""==p)p="4";else var p=Z[p]||(isNaN(p)?"4":p.substr(0,1));l=[l,p].join("")}else l="";l&&i.push(l)}0<i.length&&(a=i),3==o.length&&(i=[],0<(o=(o=o[2])?o.split(","):i).length&&(o=X[o[0]])&&(t.c[r]=o))}for(t.c[r]||(o=X[r])&&(t.c[r]=o),o=0;o<a.length;o+=1)t.a.push(new C(r,a[o]))}}(a),m(n,function(t){if(0==t.a.length)throw Error("No fonts to load!");if(-1!=t.c.indexOf("kit="))return t.c;for(var e=t.a.length,n=[],o=0;o<e;o++)n.push(t.a[o].replace(/ /g,"+"));return e=t.c+"?family="+n.join("%7C"),0<t.f.length&&(e+="&subset="+t.f.join(",")),0<t.g.length&&(e+="&text="+encodeURIComponent(t.g)),e}(o),g(e)),S(e,(function(){t(a.a,a.c,ot)}))},rt.prototype.load=function(t){var e=this.a.id,n=this.c.o;e?_(this.c,(this.a.api||"https://use.typekit.net")+"/"+e+".js",(function(e){if(e)t([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){e=n.Typekit.config.fn;for(var o=[],r=0;r<e.length;r+=2)for(var a=e[r],i=e[r+1],s=0;s<i.length;s++)o.push(new C(a,i[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(c){}t(o)}}),2e3):t([])},at.prototype.load=function(t){var e=this.f.id,n=this.c.o,o=this;e?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[e]=function(e,n){for(var r=0,a=n.fonts.length;r<a;++r){var i=n.fonts[r];o.a.push(new C(i.name,O("font-weight:"+i.weight+";font-style:"+i.style)))}t(o.a)},_(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(t){return t.o.location.hostname||t.a.location.hostname}(this.c)+"/"+e+".js",(function(e){e&&t([])}))):t([])};var it=new V(window);it.a.c.custom=function(t,e){return new Y(e,t)},it.a.c.fontdeck=function(t,e){return new at(e,t)},it.a.c.monotype=function(t,e){return new Q(e,t)},it.a.c.typekit=function(t,e){return new rt(e,t)},it.a.c.google=function(t,e){return new nt(e,t)};var st={load:i(it.load,it)};void 0===(o=function(){return st}.call(e,n,e,t))||(t.exports=o)}()},5031:function(t,e,n){var o={"./Alert/ClientToast":2619,"./Alert/ClientToast.jsx":2619,"./Alert/danger.svg":2389,"./Alert/success.svg":8534,"./Alert/warning.svg":1825,"./Builder/BuilderComponents":1717,"./Builder/BuilderComponents.jsx":1717,"./Builder/Error/404":4234,"./Builder/Error/404.jsx":4234,"./Builder/Error/SomethingWentWrong/SomethingWentWrong":98,"./Builder/Error/SomethingWentWrong/SomethingWentWrong.jsx":98,"./Builder/ErrorBoundary":8078,"./Builder/ErrorBoundary.jsx":8078,"./Builder/Loader":2005,"./Builder/Loader.jsx":2005,"./Builder/PreviewCommon":7615,"./Builder/PreviewCommon.jsx":7615,"./Builder/logo.svg":4317,"./InternalFunctions":5651,"./InternalFunctions/":5651,"./InternalFunctions/index":5651,"./InternalFunctions/index.js":5651,"./Stripe/Overlay":5227,"./Stripe/Overlay.js":5227,"./Stripe/StripeCheckout":1982,"./Stripe/StripeCheckout.js":1982,"./UI":6991,"./UI/":6991,"./UI/Audio":4363,"./UI/Audio/":4363,"./UI/Audio/index":4363,"./UI/Audio/index.jsx":4363,"./UI/BackgroundVideo":3873,"./UI/BackgroundVideo.js":3873,"./UI/Button":2044,"./UI/Button/":2044,"./UI/Button/index":2044,"./UI/Button/index.js":2044,"./UI/Fonts":2062,"./UI/Fonts/":2062,"./UI/Fonts/index":2062,"./UI/Fonts/index.jsx":2062,"./UI/GridLayoutChild":714,"./UI/GridLayoutChild/":714,"./UI/GridLayoutChild/index":714,"./UI/GridLayoutChild/index.js":714,"./UI/GridLayoutColumns":8538,"./UI/GridLayoutColumns/":8538,"./UI/GridLayoutColumns/index":8538,"./UI/GridLayoutColumns/index.js":8538,"./UI/HTMLCode":3522,"./UI/HTMLCode/":3522,"./UI/HTMLCode/index":3522,"./UI/HTMLCode/index.jsx":3522,"./UI/IFrame":8634,"./UI/IFrame/":8634,"./UI/IFrame/index":8634,"./UI/IFrame/index.jsx":8634,"./UI/Image":9597,"./UI/Image/":9597,"./UI/Image/index":9597,"./UI/Image/index.jsx":9597,"./UI/Image/svg":2866,"./UI/Image/svg.jsx":2866,"./UI/Input/Input":2618,"./UI/Input/Input.jsx":2618,"./UI/Input/Select":6053,"./UI/Input/Select.jsx":6053,"./UI/Input/TextArea":3014,"./UI/Input/TextArea.jsx":3014,"./UI/Placeholder":9994,"./UI/Placeholder.jsx":9994,"./UI/ResponsiveNavMenu":9410,"./UI/ResponsiveNavMenu.jsx":9410,"./UI/StyleProvider":2477,"./UI/StyleProvider.jsx":2477,"./UI/Temp":6125,"./UI/Temp.jsx":6125,"./UI/Text":3042,"./UI/Text/":3042,"./UI/Text/TextBlock":2545,"./UI/Text/TextBlock.jsx":2545,"./UI/Text/index":3042,"./UI/Text/index.jsx":3042,"./UI/Video":449,"./UI/Video/":449,"./UI/Video/index":449,"./UI/Video/index.jsx":449,"./UI/attributesResolver":4057,"./UI/attributesResolver.js":4057,"./UI/close-btn.svg":8230,"./UI/code-100.svg":6265,"./UI/index":6991,"./UI/index.js":6991,"./UI/props.common":2362,"./UI/props.common.js":2362,"./Workflows/ActionController/customCode.subactions":4099,"./Workflows/ActionController/customCode.subactions.js":4099,"./Workflows/ActionController/data.subactions":8146,"./Workflows/ActionController/data.subactions.js":8146,"./Workflows/ActionController/database.subactions":6512,"./Workflows/ActionController/database.subactions.js":6512,"./Workflows/ActionController/elementstyle.subactions":2695,"./Workflows/ActionController/elementstyle.subactions.js":2695,"./Workflows/ActionController/gallery.subactions":3095,"./Workflows/ActionController/gallery.subactions.js":3095,"./Workflows/ActionController/redirect.subactions":4251,"./Workflows/ActionController/redirect.subactions.js":4251,"./Workflows/ActionController/stateManagement.actions":6743,"./Workflows/ActionController/stateManagement.actions.js":6743,"./Workflows/ActionController/subactions":4177,"./Workflows/ActionController/subactions.js":4177,"./_helpers":5236,"./_helpers/":5236,"./_helpers/ScrollTracker":8098,"./_helpers/ScrollTracker.js":8098,"./_helpers/TimeSpentTracker":2827,"./_helpers/TimeSpentTracker.js":2827,"./_helpers/encrypt":5796,"./_helpers/encrypt.js":5796,"./_helpers/failureActions":7911,"./_helpers/failureActions.js":7911,"./_helpers/flatten-object":6865,"./_helpers/flatten-object.js":6865,"./_helpers/functions":4195,"./_helpers/functions.js":4195,"./_helpers/handleResponse":167,"./_helpers/handleResponse.js":167,"./_helpers/hasFeature":879,"./_helpers/hasFeature.js":879,"./_helpers/index":5236,"./_helpers/index.js":5236,"./_helpers/input-validation":9704,"./_helpers/input-validation.js":9704,"./_helpers/languages":418,"./_helpers/languages.js":418,"./_helpers/makeId":4961,"./_helpers/makeId.js":4961,"./_helpers/resolve-promise":5689,"./_helpers/resolve-promise.js":5689,"./_helpers/rgbaConvert":5809,"./_helpers/rgbaConvert.js":5809,"./_helpers/storage":9972,"./_helpers/storage.js":9972,"./_helpers/stripeLib":5169,"./_helpers/stripeLib.js":5169,"./_helpers/toast":4266,"./_helpers/toast.js":4266,"./_helpers/trackEvent":4527,"./_helpers/trackEvent.js":4527,"./_helpers/urlBuilder":9805,"./_helpers/urlBuilder.js":9805,"./_helpers/useDebouncedEffect":7192,"./_helpers/useDebouncedEffect.js":7192,"./_helpers/useEventListener":8051,"./_helpers/useEventListener.js":8051,"./_helpers/usePrevious":2614,"./_helpers/usePrevious.js":2614,"./_helpers/validBase64":7501,"./_helpers/validBase64.js":7501,"./_redux/_actions":6961,"./_redux/_actions/":6961,"./_redux/_actions/analytics.actions":2471,"./_redux/_actions/analytics.actions.js":2471,"./_redux/_actions/database.actions":8867,"./_redux/_actions/database.actions.js":8867,"./_redux/_actions/index":6961,"./_redux/_actions/index.js":6961,"./_redux/_actions/notifications.actions":1660,"./_redux/_actions/notifications.actions.js":1660,"./_redux/_actions/order.actions":8435,"./_redux/_actions/order.actions.js":8435,"./_redux/_actions/siteProfile.actions":6120,"./_redux/_actions/siteProfile.actions.js":6120,"./_redux/_actions/userList.actions":7379,"./_redux/_actions/userList.actions.js":7379,"./_redux/_constants":3902,"./_redux/_constants/":3902,"./_redux/_constants/builder.constants":6160,"./_redux/_constants/builder.constants.js":6160,"./_redux/_constants/database.constants":3168,"./_redux/_constants/database.constants.js":3168,"./_redux/_constants/errorsConstants":7182,"./_redux/_constants/errorsConstants.js":7182,"./_redux/_constants/index":3902,"./_redux/_constants/index.js":3902,"./_redux/_constants/notifications.constants":522,"./_redux/_constants/notifications.constants.js":522,"./_redux/_constants/order.constants":9809,"./_redux/_constants/order.constants.js":9809,"./_redux/_constants/siteProfile.constants":5663,"./_redux/_constants/siteProfile.constants.js":5663,"./_redux/_constants/userList.constants":3727,"./_redux/_constants/userList.constants.js":3727,"./_redux/_reducers":5558,"./_redux/_reducers/":5558,"./_redux/_reducers/database.reducer":2668,"./_redux/_reducers/database.reducer.js":2668,"./_redux/_reducers/index":5558,"./_redux/_reducers/index.js":5558,"./_redux/_reducers/notifications.reducer":4966,"./_redux/_reducers/notifications.reducer.js":4966,"./_redux/_reducers/siteProfile.reducer":1669,"./_redux/_reducers/siteProfile.reducer.js":1669,"./_redux/_reducers/userList.reducer":6731,"./_redux/_reducers/userList.reducer.js":6731,"./_redux/_services":3655,"./_redux/_services/":3655,"./_redux/_services/database.service":9262,"./_redux/_services/database.service.js":9262,"./_redux/_services/index":3655,"./_redux/_services/index.js":3655,"./_redux/_services/notifications.service":3558,"./_redux/_services/notifications.service.js":3558,"./_redux/_services/order.service":7380,"./_redux/_services/order.service.js":7380,"./_redux/_services/siteProfile.service":1096,"./_redux/_services/siteProfile.service.js":1096,"./_redux/_services/userList.service":3884,"./_redux/_services/userList.service.js":3884,"./_redux/_services/userProfile.service":3474,"./_redux/_services/userProfile.service.js":3474,"./config":5017,"./config.js":5017,"./react-grid-layout":2445,"./react-grid-layout/":2445,"./react-grid-layout/index":2445,"./react-grid-layout/index-dev":750,"./react-grid-layout/index-dev.js":750,"./react-grid-layout/index.js":2445,"./react-grid-layout/interfaces/classnames":5188,"./react-grid-layout/interfaces/classnames.js":5188,"./react-grid-layout/lib/GridItem":6955,"./react-grid-layout/lib/GridItem.jsx":6955,"./react-grid-layout/lib/ReactGridLayout":1729,"./react-grid-layout/lib/ReactGridLayout.jsx":1729,"./react-grid-layout/lib/ReactGridLayoutPropTypes":5055,"./react-grid-layout/lib/ReactGridLayoutPropTypes.js":5055,"./react-grid-layout/lib/ResponsiveReactGridLayout":6072,"./react-grid-layout/lib/ResponsiveReactGridLayout.jsx":6072,"./react-grid-layout/lib/calcUtils":6550,"./react-grid-layout/lib/calcUtils.js":6550,"./react-grid-layout/lib/components/WidthProvider":1488,"./react-grid-layout/lib/components/WidthProvider.jsx":1488,"./react-grid-layout/lib/fastRGLPropsEqual":3236,"./react-grid-layout/lib/fastRGLPropsEqual.js":3236,"./react-grid-layout/lib/responsiveUtils":2079,"./react-grid-layout/lib/responsiveUtils.js":2079,"./react-grid-layout/lib/utils":8697,"./react-grid-layout/lib/utils.js":8697,"./react-helmet/Helmet":5137,"./react-helmet/Helmet.js":5137,"./react-webfont-loader/src":4584,"./react-webfont-loader/src/":4584,"./react-webfont-loader/src/index":4584,"./react-webfont-loader/src/index.js":4584,"./react-webfont-loader/src/statuses":562,"./react-webfont-loader/src/statuses.js":562,"./redux/_actions":6354,"./redux/_actions/":6354,"./redux/_actions/alert.actions":3855,"./redux/_actions/alert.actions.js":3855,"./redux/_actions/cloudinary.actions":5690,"./redux/_actions/cloudinary.actions.js":5690,"./redux/_actions/common.actions":6811,"./redux/_actions/common.actions.js":6811,"./redux/_actions/customization.actions":930,"./redux/_actions/customization.actions.js":930,"./redux/_actions/function.actions":283,"./redux/_actions/function.actions.js":283,"./redux/_actions/guest.actions":1507,"./redux/_actions/guest.actions.js":1507,"./redux/_actions/index":6354,"./redux/_actions/index.js":6354,"./redux/_actions/notifications.actions":7280,"./redux/_actions/notifications.actions.js":7280,"./redux/_actions/ui.actions":4055,"./redux/_actions/ui.actions.js":4055,"./redux/_actions/user.actions":3476,"./redux/_actions/user.actions.js":3476,"./redux/_constants":7100,"./redux/_constants/":7100,"./redux/_constants/alerts.constants":9329,"./redux/_constants/alerts.constants.js":9329,"./redux/_constants/cloudinary.constants":2212,"./redux/_constants/cloudinary.constants.js":2212,"./redux/_constants/common.constants":641,"./redux/_constants/common.constants.js":641,"./redux/_constants/customization.constants":9857,"./redux/_constants/customization.constants.js":9857,"./redux/_constants/errors.constants":7899,"./redux/_constants/errors.constants.js":7899,"./redux/_constants/functions.constants":5495,"./redux/_constants/functions.constants.js":5495,"./redux/_constants/guest.constants":7588,"./redux/_constants/guest.constants.js":7588,"./redux/_constants/index":7100,"./redux/_constants/index.js":7100,"./redux/_constants/lens.constants":822,"./redux/_constants/lens.constants.js":822,"./redux/_constants/notifications.constants":9346,"./redux/_constants/notifications.constants.js":9346,"./redux/_constants/stateManagement.constants":6332,"./redux/_constants/stateManagement.constants.js":6332,"./redux/_constants/ui.constants":7878,"./redux/_constants/ui.constants.js":7878,"./redux/_constants/user.constants":6562,"./redux/_constants/user.constants.js":6562,"./redux/_reducers":711,"./redux/_reducers/":711,"./redux/_reducers/alerts.reducer":6162,"./redux/_reducers/alerts.reducer.js":6162,"./redux/_reducers/cloudinary.reducer":2787,"./redux/_reducers/cloudinary.reducer.js":2787,"./redux/_reducers/common.reducer":1700,"./redux/_reducers/common.reducer.js":1700,"./redux/_reducers/customization.reducer":5925,"./redux/_reducers/customization.reducer.js":5925,"./redux/_reducers/errors.reducer":4303,"./redux/_reducers/errors.reducer.js":4303,"./redux/_reducers/functions.reducer":7772,"./redux/_reducers/functions.reducer.js":7772,"./redux/_reducers/index":711,"./redux/_reducers/index.js":711,"./redux/_reducers/lens.reducer":7520,"./redux/_reducers/lens.reducer.js":7520,"./redux/_reducers/notifications.reducer":3239,"./redux/_reducers/notifications.reducer.js":3239,"./redux/_reducers/stateManagement.reducer":6569,"./redux/_reducers/stateManagement.reducer.js":6569,"./redux/_reducers/ui.reducer":4399,"./redux/_reducers/ui.reducer.js":4399,"./redux/_reducers/user.reducer":3905,"./redux/_reducers/user.reducer.js":3905,"./redux/_services":5654,"./redux/_services/":5654,"./redux/_services/cloudinary.service":171,"./redux/_services/cloudinary.service.js":171,"./redux/_services/common.services":758,"./redux/_services/common.services.js":758,"./redux/_services/customization.service":2033,"./redux/_services/customization.service.js":2033,"./redux/_services/formcontainer":5580,"./redux/_services/formcontainer.json":5580,"./redux/_services/function.service":6691,"./redux/_services/function.service.js":6691,"./redux/_services/guest.service":8012,"./redux/_services/guest.service.js":8012,"./redux/_services/index":5654,"./redux/_services/index.js":5654,"./redux/_services/manifest_buy-button":9199,"./redux/_services/manifest_buy-button.json":9199,"./redux/_services/manifest_checkbox-input":6442,"./redux/_services/manifest_checkbox-input.json":6442,"./redux/_services/manifest_date-input":492,"./redux/_services/manifest_date-input.json":492,"./redux/_services/manifest_email-input":4240,"./redux/_services/manifest_email-input.json":4240,"./redux/_services/manifest_empty-form-block":6073,"./redux/_services/manifest_empty-form-block.json":6073,"./redux/_services/manifest_first-name-input":6707,"./redux/_services/manifest_first-name-input.json":6707,"./redux/_services/manifest_form-container":932,"./redux/_services/manifest_form-container.json":932,"./redux/_services/manifest_formWrappedBuyButton":1638,"./redux/_services/manifest_formWrappedBuyButton.json":1638,"./redux/_services/manifest_full-name-input":7273,"./redux/_services/manifest_full-name-input.json":7273,"./redux/_services/manifest_last-name-input":1741,"./redux/_services/manifest_last-name-input.json":1741,"./redux/_services/manifest_number-input":8262,"./redux/_services/manifest_number-input.json":8262,"./redux/_services/manifest_phone-input":8300,"./redux/_services/manifest_phone-input.json":8300,"./redux/_services/manifest_select-input":9760,"./redux/_services/manifest_select-input.json":9760,"./redux/_services/manifest_submit-button":6759,"./redux/_services/manifest_submit-button.json":6759,"./redux/_services/manifest_text-input":8400,"./redux/_services/manifest_text-input.json":8400,"./redux/_services/manifest_textarea-input":551,"./redux/_services/manifest_textarea-input.json":551,"./redux/_services/manifest_url-input":6185,"./redux/_services/manifest_url-input.json":6185,"./redux/_services/notification.services":1284,"./redux/_services/notification.services.js":1284,"./redux/_services/supabase.service":1969,"./redux/_services/supabase.service.js":1969,"./redux/_services/user.service":8817,"./redux/_services/user.service.js":8817,"./redux/_store":5739,"./redux/_store/":5739,"./redux/_store/configureStore":6774,"./redux/_store/configureStore.js":6774,"./redux/_store/index":5739,"./redux/_store/index.js":5739,"./redux/_store/listener":910,"./redux/_store/listener.js":910,"./simpleAOS/cdHumbleScroll":85,"./simpleAOS/cdHumbleScroll.js":85},r={85:9,98:9,167:9,171:9,283:9,418:7,449:9,492:3,522:9,551:3,562:9,641:9,711:9,714:9,750:7,758:9,822:9,879:9,910:9,930:9,932:3,1096:9,1284:7,1488:9,1507:9,1638:3,1660:7,1669:9,1700:9,1717:9,1729:9,1741:3,1825:9,1969:9,1982:9,2005:9,2033:9,2044:9,2062:9,2079:9,2212:9,2362:9,2389:9,2445:7,2471:9,2477:9,2545:9,2614:9,2618:9,2619:9,2668:9,2695:9,2787:9,2827:9,2866:9,3014:9,3042:9,3095:9,3168:9,3236:7,3239:9,3474:9,3476:9,3522:9,3558:9,3655:9,3727:9,3855:9,3873:7,3884:9,3902:9,3905:9,4055:9,4057:9,4099:9,4177:9,4195:9,4234:9,4240:3,4251:9,4266:7,4303:9,4317:9,4363:9,4399:9,4527:9,4584:9,4961:9,4966:9,5017:9,5055:9,5137:9,5169:9,5188:7,5227:9,5236:9,5495:9,5558:9,5580:3,5651:7,5654:9,5663:9,5689:9,5690:9,5739:7,5796:9,5809:9,5925:9,6053:9,6072:9,6073:3,6120:9,6125:9,6160:9,6162:9,6185:3,6265:9,6332:9,6354:9,6442:3,6512:9,6550:7,6562:9,6569:9,6691:9,6707:3,6731:9,6743:9,6759:3,6774:9,6811:9,6865:9,6955:9,6961:9,6991:9,7100:9,7182:9,7192:9,7273:3,7280:7,7379:9,7380:9,7501:9,7520:9,7588:9,7615:9,7772:9,7878:9,7899:9,7911:9,8012:9,8051:9,8078:9,8098:9,8146:9,8230:9,8262:3,8300:3,8400:3,8435:9,8534:9,8538:9,8634:9,8697:9,8817:9,8867:9,9199:3,9262:9,9329:9,9346:9,9410:9,9597:9,9704:9,9760:3,9805:9,9809:9,9857:9,9972:9,9994:9};function a(t){return i(t).then((function(t){return n.t(t,r[t])}))}function i(t){return Promise.resolve().then((function(){if(!n.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}))}a.keys=function(){return Object.keys(o)},a.resolve=i,a.id=5031,t.exports=a},3155:function(t){function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=function(){return[]},e.resolve=e,e.id=3155,t.exports=e},4942:function(t,e,n){"use strict";function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return o}})},7462:function(t,e,n){"use strict";function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}n.d(e,{Z:function(){return o}})},2859:function(t,e,n){"use strict";n.d(e,{J:function(){return m}});var o,r="https://js.stripe.com/v3",a=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,i="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",s=function(t){var e=t&&!t.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(e);var o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},c=null,u=null,l=null,p=function(t){return null!==c?c:(c=new Promise((function(e,n){if("undefined"!==typeof window&&"undefined"!==typeof document)if(window.Stripe&&t&&console.warn(i),window.Stripe)e(window.Stripe);else try{var o=function(){for(var t=document.querySelectorAll('script[src^="'.concat(r,'"]')),e=0;e<t.length;e++){var n=t[e];if(a.test(n.src))return n}return null}();if(o&&t)console.warn(i);else if(o){if(o&&null!==l&&null!==u){var c;o.removeEventListener("load",l),o.removeEventListener("error",u),null===(c=o.parentNode)||void 0===c||c.removeChild(o),o=s(t)}}else o=s(t);l=function(t,e){return function(){window.Stripe?t(window.Stripe):e(new Error("Stripe.js not available"))}}(e,n),u=function(t){return function(){t(new Error("Failed to load Stripe.js"))}}(n),o.addEventListener("load",l),o.addEventListener("error",u)}catch(p){return void n(p)}else e(null)}))).catch((function(t){return c=null,Promise.reject(t)}))},d=function(t,e,n){if(null===t)return null;var o=t.apply(void 0,e);return function(t,e){t&&t._registerWrapper&&t._registerWrapper({name:"stripe-js",version:"4.0.0",startTime:e})}(o,n),o},f=!1,E=function(){return o||(o=p(null).catch((function(t){return o=null,Promise.reject(t)})))};Promise.resolve().then((function(){return E()})).catch((function(t){f||console.warn(t)}));var m=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];f=!0;var o=Date.now();return E().then((function(t){return d(t,e,o)}))}},5580:function(t){"use strict";t.exports=JSON.parse('{"data":{"components":{"SubmitButton1234":{"category":"Buttons","context":["Homepage","twofoot"],"custom":"true","main":"UI/Button/index.js","name":"Button","type":"button","zIndex":"1","isStatic":false,"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 16px","backgroundColor":"#111","borderRadius":"8px 8px 8px 8px ","borderWidth":"2px 2px 2px 2px ","borderStyle":"solid solid solid solid ","borderColor":"#333 #333 #333 #333 ","fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#EEE","lineHeight":"26px"}},"componentData":{"elementType":"p","children":"<p>Submit Button</p>","properties":{"type":"submit"}}},"thumbnail":{"src":"https://res.cloudinary.com/lensbird/q_auto/v1620120925/storylens-dev/static/_1620120925_70331.png","width":138,"height":48},"isListed":"true","client_id":"SubmitButton1234","givenName":"submit button","parent":"FormMain1234","component":{}},"InputIo69":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"text","placeholder":"First Name","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputIo69","givenName":"field - text","zIndex":"1","parent":"TextInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>First Name</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"TextInput1234","component":{}},"TextInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"TEXT INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"TextFieldWrapper1234","component":{"default":{"compare":null}}},"InputWvUC":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"text","placeholder":"Last Name","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputWvUC","givenName":"field - text","zIndex":"1","parent":"TextInput5678","component":{"default":{"compare":null}}},"SpanIXSC":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpanIXSC","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Last Name</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label -lname","parent":"TextInput5678","component":{}},"TextInput5678":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextInput5678","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"TEXT INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"TextFieldWrapper1234","component":{"default":{"compare":null}}},"TextFieldWrapper1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextFieldWrapper1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"div","props":{"componentStyle":{"global":{"padding":"0px 0px 0px 0px","flexDirection":"row","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"InputZTSL":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"email","placeholder":"email@example.com","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputZTSL","givenName":"field - email","zIndex":"1","parent":"EmailInput1234","component":{"default":{"compare":null}}},"Span02A8":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"Span02A8","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Email</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - email","parent":"EmailInput1234","component":{}},"EmailInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"EmailInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"EMAIL INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"Inputn7eb":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"text","placeholder":"Phone number","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"Inputn7eb","givenName":"field - phone","zIndex":"1","parent":"PhoneInput1234","component":{"default":{"compare":null}}},"Span8kAq":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"Span8kAq","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Phone Number</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - phone","parent":"PhoneInput1234","component":{}},"PhoneInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"PhoneInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"PHONE INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"Input29ST":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"text","placeholder":"https://","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"Input29ST","givenName":"field - URL","zIndex":"1","parent":"URLInput1234","component":{"default":{"compare":null}}},"SpantOQV":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpantOQV","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Website URL</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - URL","parent":"URLInput1234","component":{}},"URLInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"URLInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"URL INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"InputctNm":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"date","placeholder":"https://","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputctNm","givenName":"field - date","zIndex":"1","parent":"DateInput1234","component":{"default":{"compare":null}}},"SpanU3VU":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpanU3VU","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Appointment Date</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - date","parent":"DateInput1234","component":{}},"DateInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"DateInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"DATE INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"InputHeU5":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"number","placeholder":"0","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputHeU5","givenName":"field - date","zIndex":"1","parent":"NumberInput1234","component":{"default":{"compare":null}}},"Span1Te9":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"Span1Te9","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Token Number</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - number","parent":"NumberInput1234","component":{}},"NumberInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"NumberInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"NUMBER INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"Spanv6xu":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"Spanv6xu","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Description</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - longtext","parent":"TextareaInput1234","component":{}},"TextAreaf8SQ":{"type":"form","uniqueId":"TextAreaf8SQ","author":"Storylens","isStatic":false,"context":["Homepage","last"],"category":"Forms","custom":"true","main":"UI/Input/TextArea.jsx","props":{"componentStyle":{"global":{"padding":"6px 12px 6px 12px","fontSize":"16px","fontWeight":"400","fontFamily":"Nunito Sans","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"placeholder":"Enter description in detail","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"thumbnail":{"height":136,"src":"https://res.cloudinary.com/storylens/image/upload/v1622278744/static/textarea.svg","width":274},"isListed":"true","name":"TextArea","zIndex":"1","client_id":"TextAreaf8SQ","givenName":"field - longtext","parent":"TextareaInput1234","component":{"default":{"compare":null}}},"TextareaInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextareaInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"NUMBER INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"Spanr1yr":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"Spanr1yr","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Select Priority</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - dropdown","parent":"DropdownInput1234","component":{}},"Dropdown4YQh":{"category":"Forms","custom":"true","author":"Storylens","main":"UI/Input/Select.jsx","type":"form","zIndex":"1","name":"Dropdown","isListed":"true","isStatic":false,"uniqueId":"Dropdown4YQh","props":{"componentData":{"Options":[{"disabled":true,"label":"Select any"},{"label":"First","value":"first"},{"value":"second","label":"Second"}]},"componentStyle":{"global":{"padding":"8px 12px 8px 12px","fontSize":"16px","fontWeight":"400","fontFamily":"Nunito Sans","color":"#000000","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}}},"thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278742/static/select.svg"},"context":["Homepage","last"],"client_id":"Dropdown4YQh","parent":"DropdownInput1234","givenName":"field - dropdown","component":{"default":{"compare":null}}},"DropdownInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"DropdownInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"DROPDOWN INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"InputQSK6":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Nunito Sans","color":"#000000","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"inputType":"checkbox","placeholder":{"content":"<p>Placeholder text</p>"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputQSK6","givenName":"field - checkbox","parent":"CheckboxInput1234","zIndex":"1","component":{"default":{"compare":null}}},"SpanBW7n":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpanBW7n","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Agree to the terms</p>"},"componentStyle":{"global":{"color":"#000000","fontFamily":"Nunito Sans","fontSize":"16px","fontWeight":"400","lineHeight":"24px"}}},"givenName":"label - checkbox","parent":"CheckboxInput1234","zIndex":"1","component":{}},"CheckboxInput1234":{"name":"Div","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"CheckboxInput1234","givenName":"CHECKBOX INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"12px 12px 12px 12px","rowGap":"0px","columnGap":"10px","alignItems":"center"}}},"parent":"FormMain1234","component":{"default":{"compare":null}}},"FormMain1234":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"FormMain1234","givenName":"Form Container","props":{"componentData":{"tagName":"form"},"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","backgroundColor":"#f0cacaff","borderRadius":"8px 8px 8px 8px "}}},"settingsRenderer":"Builder/ElementSettingsRenderer/form-component-v1.jsx","componentType":"form-component-v1","component":{"default":{"compare":null}}}},"layouts":{"TextInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"TextInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]},"TextInput5678":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanIXSC","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextInput5678"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputWvUC","h":"auto","display":"block","position":"relative","parent":"TextInput5678"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"TextFieldWrapper1234":{"lg":[{"y":"0px","i":"TextInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx","parent":"TextFieldWrapper1234"},{"y":"0px","i":"TextInput5678","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx","parent":"TextFieldWrapper1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"EmailInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Span02A8","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"EmailInput1234"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputZTSL","h":"auto","display":"block","position":"relative","parent":"EmailInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"PhoneInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Span8kAq","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"PhoneInput1234"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"Inputn7eb","h":"auto","display":"block","position":"relative","parent":"PhoneInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"URLInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpantOQV","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"URLInput1234"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"Input29ST","h":"auto","display":"block","position":"relative","parent":"URLInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"DateInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanU3VU","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"DateInput1234"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputctNm","h":"auto","display":"block","position":"relative","parent":"DateInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"NumberInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Span1Te9","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"NumberInput1234"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputHeU5","h":"auto","display":"block","position":"relative","parent":"NumberInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"TextareaInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Spanv6xu","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextareaInput1234"},{"h":"100px","w":"100%","i":"TextAreaf8SQ","x":"0px","y":"0px","display":"block","parent":"TextareaInput1234"}],"sm":[{"i":"TextAreaf8SQ"}],"md":[{"i":"TextAreaf8SQ"}],"bp_1280":[{"i":"TextAreaf8SQ"}],"bp_1440":[{"i":"TextAreaf8SQ"}],"bp_1920":[{"i":"TextAreaf8SQ"}]},"DropdownInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Spanr1yr","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"DropdownInput1234"},{"h":"auto","x1":"0px","y":"0px","i":"Dropdown4YQh","w":"100%","x":"0px","display":"block","maxW":"none","minW":"30px","parent":"DropdownInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"CheckboxInput1234":{"lg":[{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"fit-content","i":"InputQSK6","h":"fit-content","display":"block","parent":"CheckboxInput1234","minW":"18px","minH":"18px"},{"w":"fit-content","h":"auto","x":"0px","y":"0px","i":"SpanBW7n","display":"block","minH":"10px","minW":"16px","parent":"CheckboxInput1234"}],"sm":[{"i":"InputQSK6"},{"i":"SpanBW7n"}],"md":[{"i":"InputQSK6"},{"i":"SpanBW7n"}],"bp_1280":[{"i":"InputQSK6"},{"i":"SpanBW7n"}],"bp_1440":[{"i":"InputQSK6"},{"i":"SpanBW7n"}],"bp_1920":[{"i":"InputQSK6"},{"i":"SpanBW7n"}]},"FormMain1234":{"lg":[{"y":"0px","i":"TextFieldWrapper1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"y":"0px","i":"EmailInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"y":"0px","i":"PhoneInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"y":"0px","i":"URLInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"y":"0px","i":"DateInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"y":"0px","i":"NumberInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"y":"0px","i":"TextareaInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"y":"0px","i":"DropdownInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain1234","moved":true},{"w":"100%","h":"fit-content","x":"0px","y":"0px","i":"CheckboxInput1234","minH":"20px","minW":"20px","x1":"0px","display":"flex","position":"relative","parent":"FormMain1234","moved":true},{"x":"0px","y":"0px","w":"100%","h":"fit-content","i":"SubmitButton1234","position":"relative","parent":"FormMain1234","moved":true}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"layouts":{"lg":[{"w":"432px","h":"fit-content","x":"581.830985915493px","y":"28px","i":"FormMain1234","minH":"20px","minW":"20px","position":"relative","display":"flex"}],"sm":[{"i":"FormMain1234"}],"md":[{"i":"FormMain1234"}],"bp_1280":[{"i":"FormMain1234"}],"bp_1440":[{"i":"FormMain1234"}],"bp_1920":[{"i":"FormMain1234"}]}}}}')},9199:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"BuyButton1234","displayName":"Buy Button","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"BUY BUTTON COMPONENT","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{},"layouts":{"layouts":{"lg":[{"w":"fit-content","h":"fit-content","x":"0px","y":"0px","i":"BuyButton1234","minH":"20px","minW":"20px","position":"relative","static":false,"display":"flex"}],"sm":[{"i":"BuyButton1234"}],"md":[{"i":"BuyButton1234"}],"bp_1280":[{"i":"BuyButton1234"}],"bp_1440":[{"i":"BuyButton1234"}],"bp_1920":[{"i":"BuyButton1234"}]},"BuyButton1234":{"lg":[{"w":"fit-content","h":"auto","x":"0px","y":"0px","i":"SpankYEj","static":false,"display":"block","minH":"10px","minW":"16px","position":"relative","parent":"BuyButton1234","x1":0,"y1":0},{"x":"0px","y":"0px","w":"auto","h":"auto","i":"FontsOgio","x1":"0px","y1":"0px","static":false,"minW":"10px","minH":"10px","display":"block","parent":"BuyButton1234"}],"sm":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"md":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"bp_1280":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"bp_1440":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"bp_1920":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}]}},"components":{"BuyButton1234":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"BuyButton1234","givenName":"Button with icon","formElementType":"buy","executableInternalFunctions":{"onClick":["onBuy"]},"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 16px","alignItems":"center","columnGap":"8px","backgroundColor":"#EFEFEF","borderRadius":"2px 2px 2px 2px ","borderWidth":"0px 0px 0px 0px ","borderStyle":"solid solid solid solid ","borderColor":"#333 #333 #333 #333 "}},"componentData":{"tagName":"button"},"hover":{"global":{"backgroundColor":"#00000019"}}},"component":{"default":{"compare":null}},"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true}},"SpankYEj":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpankYEj","props":{"componentData":{"children":"<p>Buy Now</p>"},"componentStyle":{"global":{"fontFamily":"Nunito Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"26px"}}},"givenName":"Text","zIndex":"1","parent":"BuyButton1234","component":{},"disabledBuilderFunctions":["copy","changeParent"]},"FontsOgio":{"custom":"true","tags":["font"],"category":"Icons","name":"Fonts","isListed":"true","type":"component","thumbnail":{"src":"https://res.cloudinary.com/lensbird/q_auto/v1619445497/storylens-dev/static/_1619445498_34786.png","width":61,"height":58},"context":["Homepage","home"],"isStatic":false,"main":"UI/Fonts/index.jsx","props":{"componentData":{"font":"fab fa-fonticons-fi","icon":"far fa-star"},"componentStyle":{"global":{"padding":"0px 0px 0px 0px","color":"#000000ff","textAlign":"center","fontSize":"22px"}}},"client_id":"FontsOgio","givenName":"Font Awesome","parent":"BuyButton1234","component":{},"disabledBuilderFunctions":["copy","changeParent"]}}}')},6442:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"CheckboxInput1234","displayName":"Checkbox Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"CHECKBOX INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"CheckboxInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"CheckboxInput1234"}],"md":[{"i":"CheckboxInput1234"}],"bp_1920":[{"i":"CheckboxInput1234"}],"bp_1440":[{"i":"CheckboxInput1234"}],"bp_1280":[{"i":"CheckboxInput1234"}]},"CheckboxInput1234":{"lg":[{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"fit-content","i":"InputOPDR","h":"fit-content","static":false,"display":"block","parent":"CheckboxInput1234","minW":"18px","minH":"18px"},{"w":"fit-content","h":"auto","x":"0px","y":"0px","i":"SpanArag","static":false,"display":"block","minH":"10px","minW":"16px","parent":"CheckboxInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]}},"components":{"CheckboxInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"CheckboxInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"CHECKBOX INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","rowGap":"0px","columnGap":"10px","alignItems":"center"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputOPDR":{"formElementType":"checkbox","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Nunito Sans","color":"#000000","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Checkbox","inputType":"checkbox","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputOPDR","givenName":"field - checkbox","zIndex":"1","parent":"CheckboxInput1234","component":{"default":{"compare":null}}},"SpanArag":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanArag","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Label for checkbox</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"CheckboxInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},492:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"DateInput1234","displayName":"Date Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"DATE INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"DateInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"DateInput1234"}],"md":[{"i":"DateInput1234"}],"bp_1920":[{"i":"DateInput1234"}],"bp_1440":[{"i":"DateInput1234"}],"bp_1280":[{"i":"DateInput1234"}]},"DateInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"DateInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"DateInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"DateInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"DateInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"DATE INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputIo69":{"formElementType":"date","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Date","inputType":"datetime-local","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputIo69","givenName":"field - date","zIndex":"1","parent":"DateInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Text Label</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - text","parent":"DateInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},4240:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"EmailInput1234","displayName":"Email Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"EMAIL INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"EmailInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","moved":true}],"sm":[{"i":"EmailInput1234"}],"md":[{"i":"EmailInput1234"}],"bp_1920":[{"i":"EmailInput1234"}],"bp_1440":[{"i":"EmailInput1234"}],"bp_1280":[{"i":"EmailInput1234"}]},"EmailInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Span02A8","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"EmailInput1234"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputZTSL","h":"auto","display":"block","position":"relative","parent":"EmailInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]}},"components":{"InputZTSL":{"formElementType":"email","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Email","inputType":"email","placeholder":"email@example.com","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputZTSL","givenName":"field - email","zIndex":"1","parent":"EmailInput1234","disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"component":{"default":{"compare":null}}},"Span02A8":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"Span02A8","disabledBuilderFunctions":["copy","changeParent"],"classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Email</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - email","parent":"EmailInput1234","component":{}},"EmailInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"EmailInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"EMAIL INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},6073:function(t){"use strict";t.exports=JSON.parse('{"name":"Form","componentType":"form-component-v1","client_id":"FormMain7HaF","displayName":"Form Block v1","givenName":"FORM COMPONENT","type":"form","category":"blocks","subCategory":"Functional","subCategoryOrder":"1","description":"A Form lets you collect data from users.","custom":"true","isListed":"true","main":"UI/GridLayoutChild/index.js","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1671026996/static/form-blocksvg_1671026996_25277.svg"},"components":{"FormMain7HaF":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"FormMain7HaF","givenName":"FORM COMPONENT","props":{"componentData":{"tagName":"form"},"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","backgroundColor":"#f0cacaff","borderRadius":"8px 8px 8px 8px "}}},"settingsRenderer":"Builder/ElementSettingsRenderer/form-component-v1.jsx","componentType":"form-component-v1","component":{"default":{"compare":null}}}},"layouts":{"layouts":{"lg":[{"w":"432px","h":"fit-content","x":"528.5797752808988px","y":"0px","i":"FormMain7HaF","minH":"20px","minW":"20px","position":"relative","display":"flex"}],"sm":[{"i":"FormMain7HaF"}],"md":[{"i":"FormMain7HaF"}],"bp_1920":[{"i":"FormMain7HaF"}],"bp_1440":[{"i":"FormMain7HaF"}],"bp_1280":[{"i":"FormMain7HaF"}]},"FormMain7HaF":{"lg":[],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]}},"fonts":{},"classes":{},"functions":{}}')},6707:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextNameInput1234","displayName":"First Name Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"FIRST NAME COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"TextNameInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"TextNameInput1234"}],"md":[{"i":"TextNameInput1234"}],"bp_1920":[{"i":"TextNameInput1234"}],"bp_1440":[{"i":"TextNameInput1234"}],"bp_1280":[{"i":"TextNameInput1234"}]},"TextNameInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextNameInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"TextNameInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"TextNameInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextNameInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"FIRST NAME COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputIo69":{"formElementType":"firstName","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"First Name","inputType":"text","placeholder":"John Doe","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputIo69","givenName":"field - text","zIndex":"1","parent":"TextNameInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>First Name</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"TextNameInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},932:function(t){"use strict";t.exports=JSON.parse('{"name":"Form","client_id":"FormMain7HaF","componentType":"form-component-v1","displayName":"Form Block v1","givenName":"FORM COMPONENT","type":"form","category":"blocks","subCategory":"Functional","subCategoryOrder":"1","description":"A Form lets you collect data from users.","custom":"true","isListed":"true","main":"UI/GridLayoutChild/index.js","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1671026996/static/form-blocksvg_1671026996_25277.svg"},"components":{"FormMain7HaF":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"FormMain7HaF","givenName":"FORM COMPONENT","props":{"componentData":{"tagName":"form"},"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","backgroundColor":"#f0cacaff","borderRadius":"8px 8px 8px 8px "}}},"settingsRenderer":"Builder/ElementSettingsRenderer/form-component-v1.jsx","componentType":"form-component-v1","component":{"default":{"compare":null}}},"TextInputmVgs":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextInputmVgs","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"TEXT INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":{"default":{"compare":null}},"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[],"parent":"FormMain7HaF"},"InputJb7x":{"formElementType":"text","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Full Name","inputType":"text","placeholder":"First Name","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputJb7x","givenName":"field - text","zIndex":"1","parent":"TextInputmVgs","component":{"default":{"compare":null}}},"Span4ffE":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"Span4ffE","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>First Name</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"TextInputmVgs","component":{}},"InputBI09":{"formElementType":"email","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Email","inputType":"email","placeholder":"email@example.com","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputBI09","givenName":"field - email","zIndex":"1","parent":"EmailInputlLG5","disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"component":{"default":{"compare":null}}},"SpanKVzE":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpanKVzE","disabledBuilderFunctions":["copy","changeParent"],"classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Email</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - email","parent":"EmailInputlLG5","component":{}},"EmailInputlLG5":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"EmailInputlLG5","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"EMAIL INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":{"default":{"compare":null}},"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[],"parent":"FormMain7HaF"},"SubmitButton8Fei":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"SubmitButton8Fei","givenName":"Button with icon","formElementType":"submit","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 16px","alignItems":"center","columnGap":"8px","backgroundColor":"#EFEFEF","borderRadius":"2px 2px 2px 2px ","borderWidth":"0px 0px 0px 0px ","borderStyle":"solid solid solid solid ","borderColor":"#333 #333 #333 #333 "}},"componentData":{"tagName":"button"},"hover":{"global":{"backgroundColor":"#00000019"}}},"component":{"default":{"compare":null}},"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"executableInternalFunctions":{"onClick":["onSubmitForm"]},"parent":"FormMain7HaF"},"SpanKsYo":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpanKsYo","props":{"componentData":{"children":"<p>Submit Form</p>"},"componentStyle":{"global":{"fontFamily":"Nunito Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"26px"}}},"givenName":"Text","zIndex":"1","parent":"SubmitButton8Fei","component":{},"disabledBuilderFunctions":["copy","changeParent"]},"FontsDQT1":{"custom":"true","tags":["font"],"category":"Icons","name":"Fonts","isListed":"true","type":"component","thumbnail":{"src":"https://res.cloudinary.com/lensbird/q_auto/v1619445497/storylens-dev/static/_1619445498_34786.png","width":61,"height":58},"context":["Homepage","home"],"isStatic":false,"main":"UI/Fonts/index.jsx","props":{"componentData":{"font":"fab fa-fonticons-fi","icon":"far fa-star"},"componentStyle":{"global":{"padding":"0px 0px 0px 0px","color":"#000000ff","textAlign":"center","fontSize":"22px"}}},"client_id":"FontsDQT1","givenName":"Font Awesome","parent":"SubmitButton8Fei","component":{},"disabledBuilderFunctions":["copy","changeParent"]}},"layouts":{"layouts":{"lg":[{"w":"432px","h":"fit-content","x":"528.5797752808988px","y":"0px","i":"FormMain7HaF","minH":"20px","minW":"20px","position":"relative","display":"flex"}],"sm":[{"i":"FormMain7HaF"}],"md":[{"i":"FormMain7HaF"}],"bp_1920":[{"i":"FormMain7HaF"}],"bp_1440":[{"i":"FormMain7HaF"}],"bp_1280":[{"i":"FormMain7HaF"}]},"FormMain7HaF":{"lg":[{"y":"0px","i":"TextInputmVgs","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx","parent":"FormMain7HaF","static":false},{"y":"0px","i":"EmailInputlLG5","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","parent":"FormMain7HaF","static":false},{"w":"fit-content","h":"fit-content","x":"0px","y":"0px","i":"SubmitButton8Fei","minH":"20px","minW":"20px","position":"relative","static":false,"display":"flex","parent":"FormMain7HaF"}],"sm":[{"i":"TextInputmVgs"},{"i":"SubmitButton8Fei"},{"i":"EmailInputlLG5"}],"md":[{"i":"TextInputmVgs"},{"i":"SubmitButton8Fei"},{"i":"EmailInputlLG5"}],"bp_1280":[{"i":"TextInputmVgs"},{"i":"SubmitButton8Fei"},{"i":"EmailInputlLG5"}],"bp_1440":[{"i":"TextInputmVgs"},{"i":"SubmitButton8Fei"},{"i":"EmailInputlLG5"}],"bp_1920":[{"i":"TextInputmVgs"},{"i":"SubmitButton8Fei"},{"i":"EmailInputlLG5"}]},"TextInputmVgs":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Span4ffE","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextInputmVgs","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputJb7x","h":"auto","display":"block","position":"relative","parent":"TextInputmVgs","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]},"EmailInputlLG5":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanKVzE","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"EmailInputlLG5"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputBI09","h":"auto","display":"block","position":"relative","parent":"EmailInputlLG5"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]},"SubmitButton8Fei":{"lg":[{"w":"fit-content","h":"auto","x":"0px","y":"0px","i":"SpanKsYo","static":false,"display":"block","minH":"10px","minW":"16px","position":"relative","parent":"SubmitButton8Fei","x1":0,"y1":0},{"x":"0px","y":"0px","w":"auto","h":"auto","i":"FontsDQT1","x1":"0px","y1":"0px","static":false,"minW":"10px","minH":"10px","display":"block","parent":"SubmitButton8Fei"}],"sm":[{"i":"SpanKsYo","parent":"SubmitButton8Fei"},{"i":"FontsDQT1","parent":"SubmitButton8Fei"}],"md":[{"i":"SpanKsYo","parent":"SubmitButton8Fei"},{"i":"FontsDQT1","parent":"SubmitButton8Fei"}],"bp_1280":[{"i":"SpanKsYo","parent":"SubmitButton8Fei"},{"i":"FontsDQT1","parent":"SubmitButton8Fei"}],"bp_1440":[{"i":"SpanKsYo","parent":"SubmitButton8Fei"},{"i":"FontsDQT1","parent":"SubmitButton8Fei"}],"bp_1920":[{"i":"SpanKsYo","parent":"SubmitButton8Fei"},{"i":"FontsDQT1","parent":"SubmitButton8Fei"}]}},"fonts":{},"classes":{},"functions":{}}')},1638:function(t){"use strict";t.exports=JSON.parse('{"name":"Form","componentType":"form-component-v1","client_id":"FormMain7HaF","displayName":"Buy Now Button","givenName":"FORM COMPONENT","type":"form","category":"blocks","subCategory":"Functional","subCategoryOrder":"1","description":"A Form lets you collect data from users.","custom":"true","isListed":"true","main":"UI/GridLayoutChild/index.js","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1671026996/static/form-blocksvg_1671026996_25277.svg"},"components":{"FormMain7HaF":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"FormMain7HaF","givenName":"FORM COMPONENT","props":{"componentData":{"tagName":"form"},"componentStyle":{"global":{"flexDirection":"column","backgroundColor":"#f0cacaff","borderRadius":"8px 8px 8px 8px "}}},"settingsRenderer":"Builder/ElementSettingsRenderer/form-component-v1.jsx","componentType":"form-component-v1","component":{"default":{"compare":null}}},"BuyButton1234":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"BuyButton1234","givenName":"Button with icon","formElementType":"buy","executableInternalFunctions":{"onClick":["onBuy"]},"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 16px","alignItems":"center","columnGap":"8px","backgroundColor":"#EFEFEF","borderRadius":"2px 2px 2px 2px ","borderWidth":"0px 0px 0px 0px ","borderStyle":"solid solid solid solid ","borderColor":"#333 #333 #333 #333 "}},"componentData":{"tagName":"button"},"hover":{"global":{"backgroundColor":"#00000019"}}},"parent":"FormMain7HaF","component":{"default":{"compare":null}},"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true}},"SpankYEj":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpankYEj","props":{"componentData":{"children":"<p>Buy Now</p>"},"componentStyle":{"global":{"fontFamily":"Nunito Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"26px"}}},"givenName":"Text","zIndex":"1","parent":"BuyButton1234","component":{},"disabledBuilderFunctions":["copy","changeParent"]},"FontsOgio":{"custom":"true","tags":["font"],"category":"Icons","name":"Fonts","isListed":"true","type":"component","thumbnail":{"src":"https://res.cloudinary.com/lensbird/q_auto/v1619445497/storylens-dev/static/_1619445498_34786.png","width":61,"height":58},"context":["Homepage","home"],"isStatic":false,"main":"UI/Fonts/index.jsx","props":{"componentData":{"font":"fab fa-fonticons-fi","icon":"far fa-star"},"componentStyle":{"global":{"padding":"0px 0px 0px 0px","color":"#000000ff","textAlign":"center","fontSize":"22px"}}},"client_id":"FontsOgio","givenName":"Font Awesome","parent":"BuyButton1234","component":{},"disabledBuilderFunctions":["copy","changeParent"]}},"layouts":{"layouts":{"lg":[{"w":"fit-content","h":"fit-content","x":"528.5797752808988px","y":"0px","i":"FormMain7HaF","minH":"20px","minW":"20px","position":"relative","display":"flex"}],"sm":[{"i":"FormMain7HaF"}],"md":[{"i":"FormMain7HaF"}],"bp_1920":[{"i":"FormMain7HaF"}],"bp_1440":[{"i":"FormMain7HaF"}],"bp_1280":[{"i":"FormMain7HaF"}]},"FormMain7HaF":{"lg":[{"w":"fit-content","h":"fit-content","x":"0px","y":"0px","i":"BuyButton1234","minH":"20px","minW":"20px","position":"relative","static":false,"display":"flex","parent":"FormMain7HaF"}],"sm":[{"i":"BuyButton1234"}],"md":[{"i":"BuyButton1234"}],"bp_1280":[{"i":"BuyButton1234"}],"bp_1440":[{"i":"BuyButton1234"}],"bp_1920":[{"i":"BuyButton1234"}]},"BuyButton1234":{"lg":[{"w":"fit-content","h":"auto","x":"0px","y":"0px","i":"SpankYEj","static":false,"display":"block","minH":"10px","minW":"16px","position":"relative","parent":"BuyButton1234","x1":0,"y1":0},{"x":"0px","y":"0px","w":"auto","h":"auto","i":"FontsOgio","x1":"0px","y1":"0px","static":false,"minW":"10px","minH":"10px","display":"block","parent":"BuyButton1234"}],"sm":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"md":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"bp_1280":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"bp_1440":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}],"bp_1920":[{"i":"SpankYEj","parent":"BuyButton1234"},{"i":"FontsOgio","parent":"BuyButton1234"}]}},"fonts":{},"classes":{},"functions":{}}')},7273:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextNameInput1234","displayName":"Full Name Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"FULL NAME COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"TextNameInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"TextNameInput1234"}],"md":[{"i":"TextNameInput1234"}],"bp_1920":[{"i":"TextNameInput1234"}],"bp_1440":[{"i":"TextNameInput1234"}],"bp_1280":[{"i":"TextNameInput1234"}]},"TextNameInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextNameInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"TextNameInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"TextNameInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextNameInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"FULL NAME COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputIo69":{"formElementType":"fullName","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Full Name","inputType":"text","placeholder":"John Doe","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputIo69","givenName":"field - text","zIndex":"1","parent":"TextNameInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Full Name</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"TextNameInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},1741:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextNameInput1234","displayName":"Last Name Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"LAST NAME COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"TextNameInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"TextNameInput1234"}],"md":[{"i":"TextNameInput1234"}],"bp_1920":[{"i":"TextNameInput1234"}],"bp_1440":[{"i":"TextNameInput1234"}],"bp_1280":[{"i":"TextNameInput1234"}]},"TextNameInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextNameInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"TextNameInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"TextNameInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextNameInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"LAST NAME COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputIo69":{"formElementType":"lastName","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Last Name","inputType":"text","placeholder":"John Doe","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputIo69","givenName":"field - text","zIndex":"1","parent":"TextNameInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Last Name</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"TextNameInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},8262:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"NumberInput1234","displayName":"Number Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"NUMBER INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"NumberInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"NumberInput1234"}],"md":[{"i":"NumberInput1234"}],"bp_1920":[{"i":"NumberInput1234"}],"bp_1440":[{"i":"NumberInput1234"}],"bp_1280":[{"i":"NumberInput1234"}]},"NumberInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"NumberInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"NumberInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"NumberInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"NumberInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"NUMBER INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputIo69":{"props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Number","inputType":"number","placeholder":"0","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"InputIo69","givenName":"field - number","zIndex":"","parent":"NumberInput1234","component":{"default":{"compare":null}},"formElementType":"number","disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"]},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Label for Number Field</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"NumberInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},8300:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"PhoneInput1234","displayName":"Phone Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"PHONE INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"PhoneInput1234","x":"0px","h":"auto","w":"99.45434776772531%","display":"flex","x1":"NaNpx","moved":true}],"sm":[{"i":"PhoneInput1234"}],"md":[{"i":"PhoneInput1234"}],"bp_1920":[{"i":"PhoneInput1234"}],"bp_1440":[{"i":"PhoneInput1234"}],"bp_1280":[{"i":"PhoneInput1234"}]},"PhoneInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"Span8kAq","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"PhoneInput1234"},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"Inputn7eb","h":"auto","display":"block","position":"relative","parent":"PhoneInput1234"}],"sm":[],"md":[],"bp_1280":[],"bp_1440":[],"bp_1920":[]}},"components":{"PhoneInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"PhoneInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"PHONE INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"component":null},"Inputn7eb":{"formElementType":"phone","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Phone","inputType":"text","placeholder":"Phone number","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"type":"form","client_id":"Inputn7eb","givenName":"field - phone","zIndex":"1","parent":"PhoneInput1234","disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"component":{"default":{"compare":null}}},"Span8kAq":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"Span8kAq","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Phone Number</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - phone","parent":"PhoneInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},9760:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"DropdownInput1234","displayName":"Dropdown Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"DROPDOWN INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"DropdownInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"DropdownInput1234"}],"md":[{"i":"DropdownInput1234"}],"bp_1920":[{"i":"DropdownInput1234"}],"bp_1440":[{"i":"DropdownInput1234"}],"bp_1280":[{"i":"DropdownInput1234"}]},"DropdownInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"DropdownInput1234","moved":true},{"h":"auto","x1":"0px","y":"0px","i":"DropdownpebH","w":"100%","x":"0px","display":"block","maxW":"none","minW":"30px","parent":"DropdownInput1234"}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"DropdownInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"DropdownInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"DROPDOWN INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"DropdownpebH":{"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Dropdown Settings"],"formElementType":"select","givenName":"field - dropdown","category":"Forms","custom":"true","author":"Storylens","main":"UI/Input/Select.jsx","type":"form","zIndex":"","name":"Dropdown","isListed":"true","isStatic":false,"uniqueId":"DropdownpebH","props":{"componentData":{"Options":[{"label":"First","value":"first"},{"value":"second","label":"Second"}],"placeholder":"Select any"},"componentStyle":{"global":{"padding":"8px 12px 8px 12px","fontSize":"16px","fontWeight":"400","fontFamily":"Nunito Sans","color":"#000000","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}}},"thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278742/static/select.svg"},"context":["Homepage","last"],"client_id":"DropdownpebH","parent":"DropdownInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>First Name</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"DropdownInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},6759:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"SectionFzMV","displayName":"Submit Button","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"SUBMIT BUTTON COMPONENT","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{},"layouts":{"layouts":{"lg":[{"w":"fit-content","h":"fit-content","x":"0px","y":"0px","i":"SectionFzMV","minH":"20px","minW":"20px","position":"relative","static":false,"display":"flex"}],"sm":[{"i":"SectionFzMV"}],"md":[{"i":"SectionFzMV"}],"bp_1280":[{"i":"SectionFzMV"}],"bp_1440":[{"i":"SectionFzMV"}],"bp_1920":[{"i":"SectionFzMV"}]},"SectionFzMV":{"lg":[{"w":"fit-content","h":"auto","x":"0px","y":"0px","i":"SpankYEj","static":false,"display":"block","minH":"10px","minW":"16px","position":"relative","parent":"SectionFzMV","x1":0,"y1":0},{"x":"0px","y":"0px","w":"auto","h":"auto","i":"FontsOgio","x1":"0px","y1":"0px","static":false,"minW":"10px","minH":"10px","display":"block","parent":"SectionFzMV"}],"sm":[{"i":"SpankYEj","parent":"SectionFzMV"},{"i":"FontsOgio","parent":"SectionFzMV"}],"md":[{"i":"SpankYEj","parent":"SectionFzMV"},{"i":"FontsOgio","parent":"SectionFzMV"}],"bp_1280":[{"i":"SpankYEj","parent":"SectionFzMV"},{"i":"FontsOgio","parent":"SectionFzMV"}],"bp_1440":[{"i":"SpankYEj","parent":"SectionFzMV"},{"i":"FontsOgio","parent":"SectionFzMV"}],"bp_1920":[{"i":"SpankYEj","parent":"SectionFzMV"},{"i":"FontsOgio","parent":"SectionFzMV"}]}},"components":{"SectionFzMV":{"name":"Section","type":"block","category":"blocks","custom":"true","main":"UI/GridLayoutChild/index.js","isListed":"true","client_id":"SectionFzMV","givenName":"Button with icon","formElementType":"submit","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 16px","alignItems":"center","columnGap":"8px","backgroundColor":"#EFEFEF","borderRadius":"2px 2px 2px 2px ","borderWidth":"0px 0px 0px 0px ","borderStyle":"solid solid solid solid ","borderColor":"#333 #333 #333 #333 "}},"componentData":{"tagName":"button"},"hover":{"global":{"backgroundColor":"#00000019"}}},"component":{"default":{"compare":null}},"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"executableInternalFunctions":{"onClick":["onSubmitForm"]}},"SpankYEj":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","client_id":"SpankYEj","props":{"componentData":{"children":"<p>Submit Form</p>"},"componentStyle":{"global":{"fontFamily":"Nunito Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"26px"}}},"givenName":"Text","zIndex":"1","parent":"SectionFzMV","component":{},"disabledBuilderFunctions":["copy","changeParent"]},"FontsOgio":{"custom":"true","tags":["font"],"category":"Icons","name":"Fonts","isListed":"true","type":"component","thumbnail":{"src":"https://res.cloudinary.com/lensbird/q_auto/v1619445497/storylens-dev/static/_1619445498_34786.png","width":61,"height":58},"context":["Homepage","home"],"isStatic":false,"main":"UI/Fonts/index.jsx","props":{"componentData":{"font":"fab fa-fonticons-fi","icon":"far fa-star"},"componentStyle":{"global":{"padding":"0px 0px 0px 0px","color":"#000000ff","textAlign":"center","fontSize":"22px"}}},"client_id":"FontsOgio","givenName":"Font Awesome","parent":"SectionFzMV","component":{},"disabledBuilderFunctions":["copy","changeParent"]}}}')},8400:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextInput1234","displayName":"Text Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"TEXT INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"TextInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"TextInput1234"}],"md":[{"i":"TextInput1234"}],"bp_1920":[{"i":"TextInput1234"}],"bp_1440":[{"i":"TextInput1234"}],"bp_1280":[{"i":"TextInput1234"}]},"TextInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"TextInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"TextInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"TEXT INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputIo69":{"formElementType":"text","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Text","inputType":"text","placeholder":"add some text...","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputIo69","givenName":"field - text","zIndex":"1","parent":"TextInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Text Label</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - text","parent":"TextInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},551:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextAreaInput1234","displayName":"TextArea Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"TEXTAREA INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"TextAreaInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"TextAreaInput1234"}],"md":[{"i":"TextAreaInput1234"}],"bp_1920":[{"i":"TextAreaInput1234"}],"bp_1440":[{"i":"TextAreaInput1234"}],"bp_1280":[{"i":"TextAreaInput1234"}]},"TextAreaInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"TextAreaInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"TextArea6jlH","h":"100px","display":"block","position":"relative","parent":"TextAreaInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"TextAreaInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"TextAreaInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"TEXT INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"TextArea6jlH":{"formElementType":"textarea","props":{"componentStyle":{"global":{"padding":"6px 12px 6px 12px","fontSize":"16px","fontWeight":"400","fontFamily":"Nunito Sans","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Long Text","placeholder":"Enter your text","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/TextArea.jsx","name":"TextArea","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"TextArea6jlH","givenName":"field - textarea","zIndex":"1","parent":"TextAreaInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Message</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"TextAreaInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')},6185:function(t){"use strict";t.exports=JSON.parse('{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"UrlInput1234","displayName":"URL Input","name":"Div","isListed":"false","custom":"true","type":"block","givenName":"URL INPUT COMPONENT","layouts":{"layouts":{"lg":[{"y":"0px","i":"UrlInput1234","x":"0px","h":"auto","w":"100%","display":"flex","x1":"NaNpx"}],"sm":[{"i":"UrlInput1234"}],"md":[{"i":"UrlInput1234"}],"bp_1920":[{"i":"UrlInput1234"}],"bp_1440":[{"i":"UrlInput1234"}],"bp_1280":[{"i":"UrlInput1234"}]},"UrlInput1234":{"lg":[{"w":"100%","h":"auto","x":"0px","y":"0px","i":"SpanEKLM","display":"block","minH":"10px","minW":"16px","position":"relative","parent":"UrlInput1234","moved":true},{"x":"0px","x1":"0px","y1":"0px","y":"0px","w":"100%","i":"InputIo69","h":"auto","display":"block","position":"relative","parent":"UrlInput1234","moved":true}],"md":[],"bp_1920":[],"sm":[],"bp_1440":[],"bp_1280":[]}},"components":{"UrlInput1234":{"main":"UI/GridLayoutChild/index.js","category":"blocks","client_id":"UrlInput1234","name":"Div","isListed":"true","custom":"true","type":"block","givenName":"URL INPUT COMPONENT","props":{"componentStyle":{"global":{"padding":"10px 10px 10px 10px","flexDirection":"column","columnGap":"0px","rowGap":"0px"}}},"component":null,"isFormElementWrapper":true,"disabledBuilderFunctions":["copy","changeParentDifferentType"],"builderAttributes":{"data-layerView-to-block":true},"classes":[]},"InputIo69":{"formElementType":"url","props":{"componentStyle":{"global":{"padding":"8px 16px 8px 12px","fontFamily":"Open Sans","fontSize":"16px","color":"#000000","lineHeight":"26px","backgroundColor":"#ffffff","border":"1px solid #cccccc","borderRadius":"4px 4px 4px 4px"}},"componentData":{"fieldName":"Url","inputType":"url","placeholder":"https://...","properties":{"required":"true"}},"placeholder":{"global":{"color":"#0000007f"}}},"isListed":"true","category":"Forms","context":["Homepage","last"],"isStatic":false,"main":"UI/Input/Input.jsx","name":"Input","custom":"true","thumbnail":{"src":"https://res.cloudinary.com/storylens/image/upload/v1622278740/static/input.svg","height":50,"width":274},"disabledBuilderFunctions":["copy","changeParent"],"hideElementSettingsMenu":["Input Settings"],"type":"form","client_id":"InputIo69","givenName":"field - text","zIndex":"1","parent":"UrlInput1234","component":{"default":{"compare":null}}},"SpanEKLM":{"name":"Span","type":"text","category":"Text","custom":"true","main":"UI/Text/index.jsx","isListed":"true","disabledBuilderFunctions":["copy","changeParent"],"client_id":"SpanEKLM","classes":["cd-paragraph-clean"],"props":{"componentData":{"children":"<p>Website URL</p>"},"componentStyle":{"global":{"fontFamily":"Open Sans","fontSize":"16px","fontWeight":"400","color":"#000000","lineHeight":"24px"}}},"givenName":"label - fname","parent":"UrlInput1234","component":{}}},"tagName":"section","subCategory":"Blocks","subCategoryOrder":"1","description":"","thumbnail":{"src":"https://res.cloudinary.com/dbyioi2qq/q_auto/v1676905153/static/horizontal-blocksvg_1676905153_74512.svg"},"fonts":{},"classes":{},"functions":{}}')}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[774,179],(function(){return e(1780),e(9898)}));var n=t.O();_N_E=n}]);