PageSourceSearch

https://socialselling.ai/_next/static/chunks/26033-c5e6805196ae02dc.js

js socialselling.ai collected 2026-10-05 14:50:17 UTC 138,023 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26033],{39038:function(e,t,a){a.d(t,{I:function(){return n}});var s=a(57437),l=a(93448),r=a(30401);function n(e){let{block:t,isPreview:a,deviceView:n="desktop"}=e,{content:o,style:i}=t,c="mobile"===n,d="tablet"===n,x=o.benefits||[];return(0,s.jsx)("div",{style:{backgroundColor:i.backgroundColor||"#ffffff",color:i.textColor||"#1e293b"},children:(0,s.jsxs)("div",{className:(0,l.cn)("max-w-[1200px] mx-auto",c&&"px-4 py-6",d&&"px-6 py-10",!c&&!d&&"px-8 py-16"),children:[(0,s.jsxs)("div",{className:(0,l.cn)("text-center",c?"mb-6":"mb-10"),children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",c&&"text-xl",d&&"text-2xl",!c&&!d&&"text-3xl"),children:o.title||"Why Choose Us"}),o.subtitle&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 opacity-80",c?"text-sm":"text-lg"),children:o.subtitle})]}),(0,s.jsx)("div",{className:(0,l.cn)(c?"space-y-2":"space-y-4"),children:x.length>0?x.map((e,t)=>(0,s.jsxs)("div",{className:(0,l.cn)("flex items-start gap-3 bg-green-50 rounded-lg",c?"p-3":"p-4"),children:[(0,s.jsx)("div",{className:(0,l.cn)("shrink-0 bg-green-500 rounded-full flex items-center justify-center",c?"w-5 h-5":"w-6 h-6"),children:(0,s.jsx)(r.Z,{className:(0,l.cn)("text-white",c?"w-3 h-3":"w-4 h-4")})}),(0,s.jsx)("p",{className:c?"text-sm":"text-base",children:e})]},t)):["Benefit one goes here","Benefit two goes here","Benefit three goes here"].map((e,t)=>(0,s.jsxs)("div",{className:(0,l.cn)("flex items-start gap-3 bg-gray-50 rounded-lg border-2 border-dashed border-gray-200",c?"p-3":"p-4"),children:[(0,s.jsx)("div",{className:(0,l.cn)("shrink-0 bg-gray-300 rounded-full flex items-center justify-center",c?"w-5 h-5":"w-6 h-6"),children:(0,s.jsx)(r.Z,{className:(0,l.cn)("text-white",c?"w-3 h-3":"w-4 h-4")})}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-500",c?"text-sm":"text-base"),children:e})]},t))})]})})}},26033:function(e,t,a){a.d(t,{H:function(){return ep},j:function(){return em}});var s=a(57437),l=a(63010),r=a(43044),n=a(31047),o=a(88501),i=a(5005),c=a(13781),d=a(95080),x=a(86595),m=a(29525),u=a(56475),p=a(41473),h=a(57685),f=a(8515),g=a(67115),b=a(75203),y=a(75577),v=a(75568),j=a(34110),N=a(80156),w=a(31675),C=a(99204),k=a(46112),S=a(29),D=a.n(S),A=a(2265),Z=a(69064),M=a(93448),B=a(71837),T=a(32489),I=a(17689),P=a(40875),z=a(30401),F=a(92451),U=a(10407);let E=[{code:"+91",country:"IN",flag:"\uD83C\uDDEE\uD83C\uDDF3"},{code:"+1",country:"US",flag:"\uD83C\uDDFA\uD83C\uDDF8"},{code:"+44",country:"UK",flag:"\uD83C\uDDEC\uD83C\uDDE7"},{code:"+971",country:"AE",flag:"\uD83C\uDDE6\uD83C\uDDEA"},{code:"+61",country:"AU",flag:"\uD83C\uDDE6\uD83C\uDDFA"},{code:"+49",country:"DE",flag:"\uD83C\uDDE9\uD83C\uDDEA"},{code:"+33",country:"FR",flag:"\uD83C\uDDEB\uD83C\uDDF7"},{code:"+81",country:"JP",flag:"\uD83C\uDDEF\uD83C\uDDF5"},{code:"+86",country:"CN",flag:"\uD83C\uDDE8\uD83C\uDDF3"},{code:"+65",country:"SG",flag:"\uD83C\uDDF8\uD83C\uDDEC"}],L=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),q=e=>/^\+?[\d\s-()]{8,}$/.test(e),_=e=>{try{return new URL(e),!0}catch(e){return!1}};function H(e){let{value:t,onChange:a,disabled:l,size:r="md"}=e,[n,o]=(0,A.useState)(0),i={sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8"};return(0,s.jsx)("div",{className:"flex gap-1",children:[1,2,3,4,5].map(e=>(0,s.jsx)("button",{type:"button",disabled:l,onClick:()=>!l&&a(e),onMouseEnter:()=>!l&&o(e),onMouseLeave:()=>o(0),className:(0,M.cn)("transition-colors",l?"cursor-not-allowed":"cursor-pointer"),children:(0,s.jsx)(x.Z,{className:(0,M.cn)(i[r],"transition-colors",(n||t)>=e?"fill-yellow-400 text-yellow-400":"fill-gray-200 text-gray-200")})},e))})}function V(e){let{field:t,value:a,onChange:l,disabled:r,isMobile:n}=e,o=(0,A.useRef)(null),[i,c]=(0,A.useState)(!1),d=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?c(!0):"dragleave"===e.type&&c(!1)},x=e=>{let a=1048576*(t.maxFileSize||10);if(e.size>a){Z.default.error("File size must be less than ".concat(t.maxFileSize||10,"MB"));return}l(e)};return(0,s.jsxs)("div",{className:(0,M.cn)("relative border-2 border-dashed rounded-lg transition-colors",i?"border-blue-500 bg-blue-50":"border-gray-300",r&&"opacity-50 cursor-not-allowed"),onDragEnter:d,onDragLeave:d,onDragOver:d,onDrop:e=>{e.preventDefault(),e.stopPropagation(),c(!1),e.dataTransfer.files&&e.dataTransfer.files[0]&&x(e.dataTransfer.files[0])},children:[(0,s.jsx)("input",{ref:o,type:"file",accept:t.accept||"*/*",disabled:r,onChange:e=>{var t;return(null===(t=e.target.files)||void 0===t?void 0:t[0])&&x(e.target.files[0])},className:"hidden"}),a?(0,s.jsxs)("div",{className:(0,M.cn)("flex items-center gap-3",n?"p-3":"p-4"),children:[(0,s.jsxs)("div",{className:"flex-1 truncate",children:[(0,s.jsx)("p",{className:(0,M.cn)("font-medium truncate",n?"text-sm":"text-base"),children:a.name}),(0,s.jsxs)("p",{className:"text-xs text-gray-500",children:[(a.size/1024/1024).toFixed(2)," MB"]})]}),(0,s.jsx)("button",{type:"button",onClick:()=>l(null),disabled:r,className:"p-1 hover:bg-gray-100 rounded",children:(0,s.jsx)(T.Z,{className:"w-4 h-4 text-gray-500"})})]}):(0,s.jsxs)("button",{type:"button",onClick:()=>{var e;return null===(e=o.current)||void 0===e?void 0:e.click()},disabled:r,className:(0,M.cn)("w-full text-center",n?"p-4":"p-6"),children:[(0,s.jsx)(I.Z,{className:(0,M.cn)("mx-auto text-gray-400 mb-2",n?"w-6 h-6":"w-8 h-8")}),(0,s.jsx)("p",{className:(0,M.cn)("text-gray-600",n?"text-xs":"text-sm"),children:"Click to upload or drag and drop"}),(0,s.jsxs)("p",{className:"text-xs text-gray-400 mt-1",children:[t.accept||"All files"," (max ",t.maxFileSize||10,"MB)"]})]})]})}function R(e){let{field:t,value:a,onChange:l,disabled:r,isMobile:n}=e,[o,i]=(0,A.useState)(!1),c=E.find(e=>e.code===a.countryCode)||E[0];return(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>!r&&i(!o),disabled:r,className:(0,M.cn)("flex items-center gap-1 rounded-lg border border-gray-300 bg-white","hover:bg-gray-50 disabled:bg-gray-100 disabled:cursor-not-allowed",n?"px-2 py-2 text-sm":"px-3 py-3 text-base"),children:[(0,s.jsx)("span",{children:c.flag}),(0,s.jsx)("span",{children:c.code}),(0,s.jsx)(P.Z,{className:"w-3 h-3 text-gray-400"})]}),o&&(0,s.jsx)("div",{className:"absolute z-10 mt-1 w-48 bg-white border rounded-lg shadow-lg max-h-48 overflow-auto",children:E.map(e=>(0,s.jsxs)("button",{type:"button",onClick:()=>{l({...a,countryCode:e.code}),i(!1)},className:(0,M.cn)("w-full flex items-center gap-2 px-3 py-2 hover:bg-gray-50 text-left",e.code===a.countryCode&&"bg-blue-50"),children:[(0,s.jsx)("span",{children:e.flag}),(0,s.jsx)("span",{children:e.country}),(0,s.jsx)("span",{className:"text-gray-500",children:e.code})]},e.code))})]}),(0,s.jsx)("input",{type:"tel",value:a.number,onChange:e=>l({...a,number:e.target.value}),placeholder:t.placeholder||"Phone number",disabled:r,className:(0,M.cn)("flex-1 rounded-lg border border-gray-300","focus:ring-2 focus:ring-blue-500 focus:border-blue-500","disabled:bg-gray-100 disabled:cursor-not-allowed",n?"px-3 py-2 text-sm":"px-4 py-3 text-base")})]})}function G(e){var t;
1let{field:a,value:l,onChange:r,disabled:n,isMobile:o}=e,i=e=>{l.includes(e)?r(l.filter(t=>t!==e)):r([...l,e])};return(0,s.jsx)("div",{className:(0,M.cn)("space-y-2",o&&"space-y-1.5"),children:null===(t=a.options)||void 0===t?void 0:t.map((e,t)=>(0,s.jsxs)("label",{className:(0,M.cn)("flex items-center gap-3 cursor-pointer",n&&"cursor-not-allowed opacity-60"),children:[(0,s.jsx)("div",{className:(0,M.cn)("w-5 h-5 rounded border-2 flex items-center justify-center transition-colors",l.includes(e)?"bg-blue-600 border-blue-600":"border-gray-300 bg-white"),onClick:()=>!n&&i(e),children:l.includes(e)&&(0,s.jsx)(z.Z,{className:"w-3 h-3 text-white"})}),(0,s.jsx)("span",{className:(0,M.cn)(o?"text-sm":"text-base"),children:e})]},t))})}function Y(e){var t;let{field:a,value:l,onChange:r,disabled:n,isMobile:o}=e;return(0,s.jsx)("div",{className:(0,M.cn)("space-y-2",o&&"space-y-1.5"),children:null===(t=a.options)||void 0===t?void 0:t.map((e,t)=>(0,s.jsxs)("label",{className:(0,M.cn)("flex items-center gap-3 cursor-pointer",n&&"cursor-not-allowed opacity-60"),children:[(0,s.jsx)("div",{className:(0,M.cn)("w-5 h-5 rounded-full border-2 flex items-center justify-center transition-colors",l===e?"border-blue-600":"border-gray-300"),onClick:()=>!n&&r(e),children:l===e&&(0,s.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-blue-600"})}),(0,s.jsx)("span",{className:(0,M.cn)(o?"text-sm":"text-base"),children:e})]},t))})}function $(e){let{steps:t,currentStep:a,completedSteps:l,onStepClick:r,isMobile:n}=e;return(0,s.jsx)("div",{className:(0,M.cn)("flex items-center justify-center",n?"gap-1":"gap-2"),children:t.map((e,o)=>{let i=l.has(o),c=o===a,d=r&&(i||o<=Math.max(...Array.from(l),a));return(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("button",{type:"button",onClick:()=>d&&r(o),disabled:!d,className:(0,M.cn)("flex items-center justify-center rounded-full font-medium transition-all",n?"w-8 h-8 text-xs":"w-10 h-10 text-sm",i&&"bg-green-500 text-white",c&&!i&&"bg-blue-600 text-white ring-4 ring-blue-100",!i&&!c&&"bg-gray-200 text-gray-500",d&&!c&&"hover:bg-gray-300 cursor-pointer"),children:i?(0,s.jsx)(z.Z,{className:(0,M.cn)(n?"w-4 h-4":"w-5 h-5")}):o+1}),o<t.length-1&&(0,s.jsx)("div",{className:(0,M.cn)("h-1 transition-colors",n?"w-8":"w-12",i||o<a?"bg-green-500":"bg-gray-200")})]},e.id)})})}function O(e){let{block:t,isPreview:a,deviceView:l="desktop",pageSlug:r}=e,{content:n,style:o}=t,i="mobile"===l,c="tablet"===l,[d,x]=(0,A.useState)(0),[m,u]=(0,A.useState)(new Set),[p,h]=(0,A.useState)(!1),[f,g]=(0,A.useState)(!1),[b,y]=(0,A.useState)(null),[v,j]=(0,A.useState)({}),[N,w]=(0,A.useState)({}),[C,k]=(0,A.useState)({}),[S,T]=(0,A.useState)(0),[I,P]=(0,A.useState)("right"),z=n.steps||[{id:"step-1",title:"Personal Info",description:"Tell us about yourself",fields:[{type:"text",name:"name",label:"Full Name",placeholder:"John Doe",required:!0},{type:"email",name:"email",label:"Email",placeholder:"[email protected]",required:!0}]},{id:"step-2",title:"Contact Details",description:"How can we reach you?",fields:[{type:"phone",name:"phone",label:"Phone Number",placeholder:"9876543210",countryCode:"+91"},{type:"text",name:"company",label:"Company",placeholder:"Company name"}]},{id:"step-3",title:"Additional Info",description:"Any other details",fields:[{type:"textarea",name:"message",label:"Message",placeholder:"Tell us more..."}]}],E=n.conditionalRules||[],O=z[d],W=z.filter((e,t)=>!X(t)),J=W.length,Q=W.findIndex(e=>e.id===(null==O?void 0:O.id)),K="multistep-form-".concat(t.id);function X(e){let t=z[e];if(!t)return!1;for(let e of E.filter(e=>"skip_step"===e.action&&e.targetStep===t.id)){let t=v[e.field],a=!1;switch(e.operator){case"equals":a=t===e.value;break;case"not_equals":a=t!==e.value;break;case"is_empty":a=!t||""===t;break;case"is_not_empty":a=t&&""!==t}if(a)return!0}return!1}(0,A.useEffect)(()=>{{let e=new URLSearchParams(window.location.search),t=e.get("campaign_id");t&&y(t);try{let e=localStorage.getItem(K);if(e){let{formData:t,currentStep:a,completedSteps:s}=JSON.parse(e);j(t),x(a),u(new Set(s)),T(Date.now());return}}catch(e){console.error("Error restoring form progress:",e)}let a={};z.forEach(t=>{t.fields.forEach(t=>{if("hidden"===t.type){let s=e.get(t.name);a[t.name]=s||t.defaultValue||""}else"checkbox"===t.type?a[t.name]=t.defaultValue||[]:"phone"===t.type?a[t.name]={countryCode:t.countryCode||"+91",number:""}:"rating"===t.type?a[t.name]=t.defaultValue||0:a[t.name]=t.defaultValue||""})}
1),j(a),T(Date.now())}},[]),(0,A.useEffect)(()=>{if(Object.keys(v).length>0)try{localStorage.setItem(K,JSON.stringify({formData:v,currentStep:d,completedSteps:Array.from(m)}))}catch(e){console.error("Error saving form progress:",e)}},[v,d,m]);let ee=e=>{let t=E.filter(t=>t.targetField===e&&("show"===t.action||"hide"===t.action));if(0===t.length)return!0;for(let e of t){let t=v[e.field],a=!1;switch(e.operator){case"equals":a=t===e.value;break;case"not_equals":a=t!==e.value;break;case"contains":a=String(t).includes(e.value);break;case"greater_than":a=Number(t)>Number(e.value);break;case"less_than":a=Number(t)<Number(e.value);break;case"is_empty":a=!t||""===t||Array.isArray(t)&&0===t.length;break;case"is_not_empty":a=t&&""!==t&&(!Array.isArray(t)||t.length>0)}if("show"===e.action&&a)break;if("hide"===e.action&&a)return!1}return!0},et=e=>{if(e.required)return!0;for(let t of E.filter(t=>t.targetField===e.name&&"require"===t.action)){let e=v[t.field],a=!1;switch(t.operator){case"equals":a=e===t.value;break;case"not_equals":a=e!==t.value}if(a)return!0}return!1},ea=(e,t)=>{let a=et(e),s=e.validation||{};if(a){if(null==t||""===t)return s.customMessage||"".concat(e.label," is required");if(Array.isArray(t)&&0===t.length)return s.customMessage||"Please select at least one option";if("phone"===e.type&&(!t.number||""===t.number.trim()))return s.customMessage||"".concat(e.label," is required");if("rating"===e.type&&0===t)return s.customMessage||"Please provide a rating"}if(!t||""===t||Array.isArray(t)&&0===t.length)return null;switch(e.type){case"email":if(!L(t))return"Please enter a valid email address";break;case"tel":case"phone":let l="phone"===e.type?t.number:t;if(l&&!q(l))return"Please enter a valid phone number";break;case"url":if(!_(t))return"Please enter a valid URL"}return s.minLength&&String(t).length<s.minLength?"Minimum ".concat(s.minLength," characters required"):s.maxLength&&String(t).length>s.maxLength?"Maximum ".concat(s.maxLength," characters allowed"):void 0!==s.min&&Number(t)<s.min?"Value must be at least ".concat(s.min):void 0!==s.max&&Number(t)>s.max?"Value must be at most ".concat(s.max):s.pattern&&!new RegExp(s.pattern).test(String(t))?s.customMessage||"Invalid format":null},es=()=>{if(!O)return!0;let e={},t=!0;O.fields.forEach(a=>{if(!ee(a.name))return;let s=ea(a,v[a.name]);s&&(e[a.name]=s,t=!1)}),w(t=>({...t,...e}));let a={};return O.fields.forEach(e=>{a[e.name]=!0}),k(e=>({...e,...a})),t},el=(e,t)=>
1{j(a=>({...a,[e]:t})),N[e]&&w(t=>{let a={...t};return delete a[e],a})},er=e=>{k(t=>({...t,[e.name]:!0}));let t=ea(e,v[e.name]);t&&w(a=>({...a,[e.name]:t}))},en=async()=>{if(!a)return;if(!es()){Z.default.error("Please fix the errors before submitting");return}if(Date.now()-S<3e3){console.log("Possible bot detected"),g(!0),localStorage.removeItem(K);return}let e=v._hp_field;if(e&&""!==e){console.log("Honeypot triggered"),g(!0),localStorage.removeItem(K);return}h(!0);try{let e={};if(z.forEach(t=>{t.fields.forEach(t=>{if("hidden"===t.type||!ee(t.name))return;let a=v[t.name];"phone"===t.type?e[t.name]="".concat(a.countryCode," ").concat(a.number):"checkbox"===t.type?e[t.name]=a.join(", "):"file"===t.type&&a?e[t.name]=a.name:e[t.name]=String(a)})}),z.forEach(t=>{t.fields.filter(e=>"hidden"===e.type).forEach(t=>{e[t.name]=v[t.name]||""})}),r){let t="/landing-pages/public/".concat(r,"/submit-form");b&&(t+="?campaign_id=".concat(b));let a=(await B.api.post(t,e)).data;a.success&&console.log("Lead created:",a.data.lead_id)}localStorage.removeItem(K),g(!0)}catch(e){console.error("Form submission error:",e),Z.default.error("Failed to submit form. Please try again.")}finally{h(!1)}},eo=(e,t)=>{var l,r,n,o,c,d,x,m,u;if(!ee(e.name))return null;if("hidden"===e.type)return(0,s.jsx)("input",{type:"hidden",name:e.name,value:v[e.name]||""},t);let p=v[e.name],h=C[e.name]?N[e.name]:null,f=et(e),g=(0,M.cn)("w-full rounded-lg border",h?"border-red-500 focus:ring-red-500":"border-gray-300 focus:ring-blue-500","focus:ring-2 focus:border-transparent","disabled:bg-gray-100 disabled:cursor-not-allowed",i?"px-3 py-2 text-sm":"px-4 py-3 text-base");return(0,s.jsxs)("div",{children:[e.label&&(0,s.jsxs)("label",{className:(0,M.cn)("block font-medium mb-1",i?"text-xs":"text-sm"),children:[e.label,f&&(0,s.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),"textarea"===e.type?(0,s.jsx)("textarea",{name:e.name,placeholder:e.placeholder,value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,rows:i?3:4,className:g}):"select"===e.type?(0,s.jsxs)("select",{name:e.name,value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,className:g,children:[(0,s.jsx)("option",{value:"",children:e.placeholder||"Select an option"}),null===(l=e.options)||void 0===l?void 0:l.map((e,t)=>(0,s.jsx)("option",{value:e,children:e},t))]}):"checkbox"===e.type?(0,s.jsx)(G,{field:e,value:p||[],onChange:t=>el(e.name,t),disabled:!a,isMobile:i}):"radio"===e.type?(0,s.jsx)(Y,{field:e,value:p||"",onChange:t=>el(e.name,t),disabled:!a,isMobile:i}):"rating"===e.type?(0,s.jsx)(H,{value:p||0,onChange:t=>el(e.name,t),disabled:!a,size:i?"sm":"md"}):"file"===e.type?(0,s.jsx)(V,{field:e,value:p,onChange:t=>el(e.name,t),disabled:!a,isMobile:i}):"phone"===e.type?(0,s.jsx)(R,{field:e,value:p||{countryCode:"+91",number:""},onChange:t=>el(e.name,t),disabled:!a,isMobile:i}):"date"===e.type?(0,s.jsx)("input",{type:"date",name:e.name,value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,className:g}):"time"===e.type?(0,s.jsx)("input",{type:"time",name:e.name,value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,className:g}):"datetime"===e.type?(0,s.jsx)("input",{type:"datetime-local",name:e.name,value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,className:g}):"number"===e.type?(0,s.jsx)("input",{type:"number",name:e.name,placeholder:e.placeholder,value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,min:null===(r=e.validation)||void 0===r?void 0:r.min,max:null===(n=e.validation)||void 0===n?void 0:n.max,step:e.step,className:g}):"range"===e.type?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("input",{type:"range",name:e.name,value:p||(null===(o=e.validation)||void 0===o?void 0:o.min)||0,onChange:t=>el(e.name,t.target.value),disabled:!a,min:(null===(c=e.validation)||void 0===c?void 0:c.min)||0,max:(null===(d=e.validation)||void 0===d?void 0:d.max)||100,step:e.step||1,className:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer"}),(0,s.jsxs)("div",{className:"flex justify-between text-xs text-gray-500",children:[(0,s.jsx)("span",{children:(null===(x=e.validation)||void 0===x?void 0:x.min)||0}),(0,s.jsx)("span",{className:"font-medium text-gray-700",children:p||(null===(m=e.validation)||void 0===m?void 0:m.min)||0}),(0,s.jsx)("span",{children:(null===(u=e.validation)||void 0===u?void 0:u.max)||100})]})]}):"url"===e.type?(0,s.jsx)("input",{type:"url",name:e.name,placeholder:e.placeholder||"https://example.com",value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,className:g}):(0,s.jsx)("input",{type:e.type||"text",name:e.name,placeholder:e.placeholder,value:p||"",onChange:t=>el(e.name,t.target.value),onBlur:()=>er(e),disabled:!a,className:g}),h&&(0,s.jsx)("p",{className:"mt-1 text-xs text-red-500",children:h})]},t)};return f?(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"#f8fafc",color:o.textColor||"#1e293b"},children:(0,s.jsxs)("div",{className:(0,M.cn)("max-w-xl mx-auto text-center",i&&"px-4 py-6",c&&"px-6 py-10",!i&&!c&&"px-8 py-16"),children:[(0,s.jsx)("div",{className:(0,M.cn)("rounded-full bg-green-100 w-16 h-16 flex items-center justify-center mx-auto mb-4",i&&"w-12 h-12"),children:(0,s.jsx)("svg",{className:(0,M.cn)("text-green-600",i?"w-6 h-6":"w-8 h-8"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),(0,s.jsx)("h3",{className:(0,M.cn)("font-bold text-green-800",i?"text-lg":"text-xl"),children:n.successTitle||"Thank You!"}),(0,s.jsx)("p",{className:(0,M.cn)("mt-2 text-green-700",i?"text-sm":"text-base"),children:n.successMessage||"Your submission has been received."})]})}):(0,s.jsxs)("div",{style:{backgroundColor:o.backgroundColor||"#f8fafc",color:o.textColor||"#1e293b"},className:"jsx-274a0c9bda76ff57",children:[(0,s.jsxs)("div",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("max-w-xl mx-auto",i&&"px-4 py-6",c&&"px-6 py-10",!i&&!c&&"px-8 py-16")||""),children:[(0,s.jsxs)("div",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("text-center",i?"mb-4":"mb-6")||""),children:[(0,s.jsx)("h2",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("font-bold",i&&"text-xl",c&&"text-2xl",!i&&!c&&"text-3xl")||""),children:n.title||"Complete Your Information"}),n.subtitle&&(0,s.jsx)("p",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("mt-2 opacity-80",i?"text-sm":"text-base")||""),children:n.subtitle})]}),(0,s.jsx)("div",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)(i?"mb-6":"mb-8")||""),children:(0,s.jsx)($,{steps:W,currentStep:Q,completedSteps:m,onStepClick:e=>{(e<d||m.has(e))&&(P(e<d?"left":"right"),x(e))},isMobile:i})}),O&&(0,s.jsxs)("div",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("transition-all duration-300 ease-in-out","right"===I?"animate-slide-in-right":"animate-slide-in-left")||""),children:[(0,s.jsxs)("div",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)(i?"mb-4":"mb-6")||""),children:[(0,s.jsx)("h3",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("font-semibold",i?"text-lg":"text-xl")||""),children:O.title}),O.description&&(0,s.jsx)("p",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("text-gray-500 mt-1",i?"text-sm":"text-base")||""),children:O.description})]}),(0,s.jsxs)("div",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)(i?"
1space-y-3":"space-y-4")||""),children:[(0,s.jsx)("div",{style:{position:"absolute",left:"-9999px",opacity:0,height:0},"aria-hidden":"true",className:"jsx-274a0c9bda76ff57",children:(0,s.jsx)("input",{type:"text",name:"_hp_field",tabIndex:-1,autoComplete:"off",value:v._hp_field||"",onChange:e=>el("_hp_field",e.target.value),className:"jsx-274a0c9bda76ff57"})}),O.fields.map((e,t)=>eo(e,t))]})]},O.id),(0,s.jsxs)("div",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("flex gap-3",i?"mt-6":"mt-8",0===d?"justify-end":"justify-between")||""),children:[d>0&&(0,s.jsxs)("button",{type:"button",onClick:()=>{P("left");let e=d-1;for(;e>=0&&X(e);)e--;e>=0&&x(e)},disabled:!a,className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("flex items-center gap-2 rounded-lg font-medium","border border-gray-300 text-gray-700 hover:bg-gray-50 transition-colors","disabled:opacity-50 disabled:cursor-not-allowed",i?"py-2.5 px-4 text-sm":"py-3 px-6 text-base")||""),children:[(0,s.jsx)(F.Z,{className:"w-4 h-4"}),"Back"]}),(()=>{let e=d+1;for(;e<z.length&&X(e);)e++;return e>=z.length})()?(0,s.jsx)("button",{type:"button",onClick:en,disabled:!a||p,className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("flex items-center justify-center gap-2 rounded-lg font-medium","bg-blue-600 text-white hover:bg-blue-700 transition-colors","disabled:opacity-50 disabled:cursor-not-allowed",i?"py-2.5 px-6 text-sm":"py-3 px-8 text-base")||""),children:p?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("svg",{viewBox:"0 0 24 24",className:"jsx-274a0c9bda76ff57 animate-spin h-4 w-4",children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none",className:"jsx-274a0c9bda76ff57 opacity-25"}),(0,s.jsx)("path",{fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",className:"jsx-274a0c9bda76ff57 opacity-75"})]}),"Submitting..."]}):n.submitText||"Submit"}):(0,s.jsxs)("button",{type:"button",onClick:()=>{if(!es()){Z.default.error("Please fix the errors before continuing");return}u(e=>new Set([...e,d])),P("right");let e=d+1;for(;e<z.length&&X(e);)e++;e<z.length&&x(e)},disabled:!a,className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("flex items-center gap-2 rounded-lg font-medium","bg-blue-600 text-white hover:bg-blue-700 transition-colors","disabled:opacity-50 disabled:cursor-not-allowed",i?"py-2.5 px-6 text-sm":"py-3 px-8 text-base")||""),children:["Next",(0,s.jsx)(U.Z,{className:"w-4 h-4"})]})]}),(0,s.jsxs)("p",{className:"jsx-274a0c9bda76ff57 "+((0,M.cn)("text-center text-gray-400",i?"mt-4 text-xs":"mt-6 text-sm")||""),children:["Step ",Q+1," of ",J]})]}),(0,s.jsx)(D(),{id:"274a0c9bda76ff57",children:"@-webkit-keyframes slide-in-right{from{opacity:0;-webkit-transform:translatex(20px);transform:translatex(20px)}to{opacity:1;-webkit-transform:translatex(0);transform:translatex(0)}}@-moz-keyframes slide-in-right{from{opacity:0;-moz-transform:translatex(20px);transform:translatex(20px)}to{opacity:1;-moz-transform:translatex(0);transform:translatex(0)}}@-o-keyframes slide-in-right{from{opacity:0;-o-transform:translatex(20px);transform:translatex(20px)}to{opacity:1;-o-transform:translatex(0);transform:translatex(0)}}@keyframes slide-in-right{from{opacity:0;-webkit-transform:translatex(20px);-moz-transform:translatex(20px);-o-transform:translatex(20px);transform:translatex(20px)}to{opacity:1;-webkit-transform:translatex(0);-moz-transform:translatex(0);-o-transform:translatex(0);transform:translatex(0)}}@-webkit-keyframes slide-in-left{from{opacity:0;-webkit-transform:translatex(-20px);transform:translatex(-20px)}to{opacity:1;-webkit-transform:translatex(0);transform:translatex(0)}}@-moz-keyframes slide-in-left{from{opacity:0;-moz-transform:translatex(-20px);transform:translatex(-20px)}to{opacity:1;-moz-transform:translatex(0);transform:translatex(0)}}@-o-keyframes slide-in-left{from{opacity:0;-o-transform:translatex(-20px);transform:translatex(-20px)}to{opacity:1;-o-transform:translatex(0);transform:translatex(0)}}@keyframes slide-in-left{from{opacity:0;-webkit-transform:translatex(-20px);-moz-transform:translatex(-20px);-o-transform:translatex(-20px);transform:translatex(-20px)}to{opacity:1;-webkit-transform:translatex(0);-moz-transform:translatex(0);-o-transform:translatex(0);transform:translatex(0)}}.animate-slide-in-right{-webkit-animation:slide-in-right.3s ease-out;-moz-animation:slide-in-right.3s ease-out;-o-animation:slide-in-right.3s ease-out;animation:slide-in-right.3s ease-out}.animate-slide-in-left{-webkit-animation:slide-in-left.3s ease-out;-moz-animation:slide-in-left.3s ease-out;-o-animation:slide-in-left.3s ease-out;animation:slide-in-left.3s ease-out}"})]})}var W=a(92677),J=a(73931),Q=a(5590),K=a(66867),X=a(42302),ee=a(39038),et=a(33122),ea=a(89798),es=a(24924),el=a(65282),er=a(41616),en=a(92624),eo=a(99645),ei=a(63292),ec=a(41760),ed=a(68009),ex=a(48544);let em={hero:h.U,"event-hero":h.U,"app-hero":h.U,"coming-soon-hero":h.U,"bio-hero":h.U,"portfolio-hero":h.U,"product-hero":h.U,"thank-you-hero":h.U,"error-hero":h.U,"countdown-hero":h.U,"newsletter-hero":h.U,"ebook-hero":h.U,text:f.a,about:f.a,cta:g.e,"contact-cta":g.e,"buy-now":g.e,upsell:g.e,features:b.U,"features-grid":b.U,"product-features":b.U,"app-features":b.U,header:y.V,navbar:y.V,footer:v.r,pricing:j.Y,"pricing-table":j.Y,testimonials:N.S,stats:w.x,counter:w.x,"social-proof":w.x,faq:C.C,form:k.b,"multi-step-form":O,"registration-form":k.b,"contact-form":k.b,"waitlist-form":k.b,"notify-form":k.b,"email-form":k.b,"download-form":k.b,contact:k.b,search:k.b,image:W.r,video:J.n,gallery:Q.$,"product-gallery":Q.$,"app-screenshots":Q.$,"work-gri
1d":Q.$,portfolio:Q.$,section:K.A,columns:X.z,benefits:ee.I,"email-capture":et.Q,countdown:ea.v,button:es.a,"social-links":el.F,"social-share":el.F,team:er.p,speakers:er.p,speaker:er.p,author:er.p,map:en.Q,"buy-button":eo.D,product:ei.v,"products-grid":ei.v,reviews:ec.z,"app-reviews":ec.z,logos:ed.S,sponsors:ed.S,comparison:ex.E};function eu(e){let{block:t}=e,a=t.content||{},l=t.style||{};return(0,s.jsx)("div",{className:"py-12 px-6",style:{backgroundColor:l.background||"#f9fafb"},children:(0,s.jsxs)("div",{className:"max-w-[1200px] mx-auto",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,s.jsx)("div",{className:"p-2 bg-white rounded-lg shadow-sm text-gray-600",children:{agenda:(0,s.jsx)(r.Z,{className:"w-6 h-6"}),schedule:(0,s.jsx)(n.Z,{className:"w-6 h-6"}),"calendar-booking":(0,s.jsx)(o.Z,{className:"w-6 h-6"}),"services-list":(0,s.jsx)(i.Z,{className:"w-6 h-6"}),process:(0,s.jsx)(c.Z,{className:"w-6 h-6"}),tickets:(0,s.jsx)(d.Z,{className:"w-6 h-6"}),"social-proof":(0,s.jsx)(x.Z,{className:"w-6 h-6"}),skills:(0,s.jsx)(m.Z,{className:"w-6 h-6"}),portfolio:(0,s.jsx)(u.Z,{className:"w-6 h-6"})}[t.type]||(0,s.jsx)(p.Z,{className:"w-6 h-6"})}),(0,s.jsx)("h3",{className:"text-xl font-semibold text-gray-800",children:a.headline||a.title||a.name||t.type.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")})]}),a.subheadline&&(0,s.jsx)("p",{className:"text-gray-600 mb-4",children:a.subheadline}),a.description&&(0,s.jsx)("p",{className:"text-gray-600 mb-4",children:a.description}),a.items&&Array.isArray(a.items)&&(0,s.jsx)("ul",{className:"space-y-3",children:a.items.map((e,t)=>(0,s.jsxs)("li",{className:"flex items-start gap-3 bg-white p-4 rounded-lg shadow-sm",children:[(0,s.jsx)("span",{className:"flex-shrink-0 w-6 h-6 bg-emerald-100 text-emerald-600 rounded-full flex items-center justify-center text-sm font-medium",children:t+1}),(0,s.jsx)("div",{children:"string"==typeof e?(0,s.jsx)("span",{className:"text-gray-700",children:e}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"font-medium text-gray-800",children:e.title||e.name}),e.description&&(0,s.jsx)("p",{className:"text-gray-600 text-sm mt-1",children:e.description})]})})]},t))}),a.steps&&Array.isArray(a.steps)&&(0,s.jsx)("div",{className:"flex flex-wrap gap-4",children:a.steps.map((e,t)=>(0,s.jsxs)("div",{className:"flex-1 min-w-[200px] bg-white p-4 rounded-lg shadow-sm text-center",children:[(0,s.jsx)("div",{className:"w-10 h-10 bg-emerald-500 text-white rounded-full flex items-center justify-center mx-auto mb-3 font-bold",children:t+1}),(0,s.jsx)("h4",{className:"font-medium text-gray-800",children:e.title}),e.description&&(0,s.jsx)("p",{className:"text-gray-600 text-sm mt-1",children:e.description})]},t))}),a.schedule&&Array.isArray(a.schedule)&&(0,s.jsx)("div",{className:"space-y-3",children:a.schedule.map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center gap-4 bg-white p-4 rounded-lg shadow-sm",children:[(0,s.jsx)("span",{className:"text-emerald-600 font-medium",children:e.time}),(0,s.jsx)("span",{className:"text-gray-800",children:e.title}),e.speaker&&(0,s.jsxs)("span",{className:"text-gray-500 text-sm",children:["- ",e.speaker]})]},t))}),a.services&&Array.isArray(a.services)&&(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:a.services.map((e,t)=>(0,s.jsxs)("div",{className:"bg-white p-4 rounded-lg shadow-sm",children:[(0,s.jsx)("h4",{className:"font-medium text-gray-800",children:e.name}),e.description&&(0,s.jsx)("p",{className:"text-gray-600 text-sm mt-1",children:e.description}),e.price&&(0,s.jsx)("p",{className:"text-emerald-600 font-medium mt-2",children:e.price})]},t))}),a.skills&&Array.isArray(a.skills)&&(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:a.skills.map((e,t)=>(0,s.jsx)("span",{className:"px-3 py-1 bg-white rounded-full text-gray-700 text-sm shadow-sm",children:e},t))}),(a.downloads||a.rating||a.count)&&(0,s.jsxs)("div",{className:"flex gap-8 justify-center mt-4",children:[a.downloads&&(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-2xl font-bold text-gray-800",children:a.downloads}),(0,s.jsx)("div",{className:"text-gray-600 text-sm",children:"Downloads"})]}),a.rating&&(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-2xl font-bold text-gray-800",children:a.rating}),(0,s.jsx)("div",{className:"text-gray-600 text-sm",children:"Rating"})]}),a.count&&(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"text-2xl font-bold text-gray-800",children:a.count}),(0,s.jsx)("div",{className:"text-gray-600 text-sm",children:a.label||"Count"})]})]}),"calendar-booking"===t.type&&(0,s.jsxs)("div",{className:"bg-white p-8 rounded-lg shadow-sm text-center",children:[(0,s.jsx)(o.Z,{className:"w-12 h-12 text-gray-400 mx-auto mb-4"}),(0,s.jsx)("p",{className:"text-gray-600",children:"Calendar booking widget"}),(0,s.jsxs)("p",{className:"text-gray-400 text-sm mt-1",children:["Connect your ",a.calendar_type||"calendar"," to enable booking"]})]}),"tickets"===t.type&&a.tickets&&Array.isArray(a.tickets)&&(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:a.tickets.map((e,t)=>(0,s.jsxs)("div",{className:"bg-white p-6 rounded-lg shadow-sm text-center",children:[(0,s.jsx)("h4",{className:"font-medium text-gray-800",children:e.name}),(0,s.jsxs)("div",{className:"text-2xl font-bold text-emerald-600 my-3",children:["$",e.price]}),e.features&&(0,s.jsx)("ul",{className:"text-gray-600 text-sm space-y-1",children:e.features.map((e,t)=>(0,s.jsx)("li",{children:e},t))})]},t))})]})})}function ep(e){let{block:t,isPreview:a,deviceView:r="desktop",pageSlug:n}=e,o=em[t.type];return o?"form"===t.type&&a?(0,s.jsx)(k.b,{block:t,isPreview:!0,deviceView:r,pageSlug:n}):"multi-step-form"===t.type&&a?(0,s.jsx)(O,{block:t,isPreview:!0,deviceView:r,pageSlug:n}):a?(0,s.jsx)(o,{block:t,isPreview:!0,deviceView:r}):(0,s.jsx)(l.q,{block:t,deviceView:r,children:(0,s.jsx)(o,{block:t,deviceView:r})}):a?(0,s.jsx)(eu,{block:t}):(0,s.jsx)(l.q,{block:t,deviceView:r,children:(0,s.jsx)(eu,{block:t})})}},63010:function(e,t,a){a.d(t,{q:function(){return p}});var s=a(57437),l=a(93662),r=a(59892),n=a(41905),o=a(22135),i=a(40875),c=a(78867),d=a(18930
1),x=a(93448),m=a(90743),u=a(66042);function p(e){let{block:t,children:a,deviceView:p="desktop"}=e,{selectedBlockId:h,hoveredBlockId:f,selectBlock:g,setHoveredBlock:b,duplicateBlock:y,removeBlock:v,moveBlock:j,blocks:N,isPreviewMode:w}=(0,m.i)(),C="mobile"===p||"tablet"===p,{attributes:k,listeners:S,setNodeRef:D,transform:A,transition:Z,isDragging:M}=(0,l.nB)({id:t.id}),B={transform:r.ux.Transform.toString(A),transition:Z},T=h===t.id,I=f===t.id,P=N.findIndex(e=>e.id===t.id),z=(0,u.Ys)(t.type);if(w)return(0,s.jsx)("div",{children:a});let F=e=>{e.stopPropagation(),P>0&&j(P,P-1)},U=e=>{e.stopPropagation(),P<N.length-1&&j(P,P+1)};return(0,s.jsxs)("div",{ref:D,style:B,className:(0,x.cn)("relative group transition-all duration-200",M&&"opacity-50 z-50",T&&"ring-2 ring-blue-500 ring-offset-2",I&&!T&&"ring-2 ring-blue-300 ring-offset-1"),onClick:e=>{e.stopPropagation(),g(t.id)},onMouseEnter:()=>b(t.id),onMouseLeave:()=>b(null),...k,children:[(0,s.jsx)("div",{className:(0,x.cn)("absolute px-2 py-0.5 text-xs font-medium rounded-t-md transition-opacity z-10","bg-blue-500 text-white",T||I?"opacity-100":"opacity-0",C?"-top-5 left-1":"-top-6 left-2"),children:(null==z?void 0:z.name)||t.type}),!C&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:(0,x.cn)("absolute -left-10 top-1/2 -translate-y-1/2 p-1.5 rounded-lg cursor-grab active:cursor-grabbing transition-opacity z-10","bg-white shadow-md border border-gray-200",T||I?"opacity-100":"opacity-0"),...S,children:(0,s.jsx)(n.Z,{className:"h-4 w-4 text-gray-400"})}),(0,s.jsxs)("div",{className:(0,x.cn)("absolute -right-10 top-1/2 -translate-y-1/2 flex flex-col gap-1 transition-opacity z-10",T||I?"opacity-100":"opacity-0"),children:[(0,s.jsx)("button",{onClick:F,disabled:0===P,className:(0,x.cn)("p-1.5 rounded-lg bg-white shadow-md border border-gray-200 transition-colors",0===P?"opacity-50 cursor-not-allowed":"hover:bg-gray-50"),title:"Move up",children:(0,s.jsx)(o.Z,{className:"h-3.5 w-3.5 text-gray-600"})}),(0,s.jsx)("button",{onClick:U,disabled:P===N.length-1,className:(0,x.cn)("p-1.5 rounded-lg bg-white shadow-md border border-gray-200 transition-colors",P===N.length-1?"opacity-50 cursor-not-allowed":"hover:bg-gray-50"),title:"Move down",children:(0,s.jsx)(i.Z,{className:"h-3.5 w-3.5 text-gray-600"})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),y(t.id)},className:"p-1.5 rounded-lg bg-white shadow-md border border-gray-200 hover:bg-blue-50 transition-colors",title:"Duplicate",children:(0,s.jsx)(c.Z,{className:"h-3.5 w-3.5 text-blue-600"})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),confirm("Delete this block?")&&v(t.id)},className:"p-1.5 rounded-lg bg-white shadow-md border border-gray-200 hover:bg-red-50 transition-colors",title:"Delete",children:(0,s.jsx)(d.Z,{className:"h-3.5 w-3.5 text-red-600"})})]})]}),C&&(0,s.jsxs)("div",{className:(0,x.cn)("absolute -top-8 right-1 flex flex-row gap-1 transition-opacity z-10",T||I?"opacity-100":"opacity-0"),children:[(0,s.jsx)("div",{className:"p-1 rounded bg-white shadow-md border border-gray-200 cursor-grab active:cursor-grabbing",...S,children:(0,s.jsx)(n.Z,{className:"h-3 w-3 text-gray-400"})}),(0,s.jsx)("button",{onClick:F,disabled:0===P,className:(0,x.cn)("p-1 rounded bg-white shadow-md border border-gray-200 transition-colors",0===P?"opacity-50 cursor-not-allowed":"hover:bg-gray-50"),title:"Move up",children:(0,s.jsx)(o.Z,{className:"h-3 w-3 text-gray-600"})}),(0,s.jsx)("button",{onClick:U,disabled:P===N.length-1,className:(0,x.cn)("p-1 rounded bg-white shadow-md border border-gray-200 transition-colors",P===N.length-1?"opacity-50 cursor-not-allowed":"hover:bg-gray-50"),title:"Move down",children:(0,s.jsx)(i.Z,{className:"h-3 w-3 text-gray-600"})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),y(t.id)},className:"p-1 rounded bg-white shadow-md border border-gray-200 hover:bg-blue-50 transition-colors",title:"Duplicate",children:(0,s.jsx)(c.Z,{className:"h-3 w-3 text-blue-600"})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),confirm("Delete this block?")&&v(t.id)},className:"p-1 rounded bg-white shadow-md border border-gray-200 hover:bg-red-50 transition-colors",title:"Delete",children:(0,s.jsx)(d.Z,{className:"h-3 w-3 text-red-600"})})]}),(0,s.jsx)("div",{className:"relative",children:a})]})}},24924:function(e,t,a){a.d(t,{a:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}
1=e,{content:n,style:o}=t,i="mobile"===r,c=n.style||"primary",d=n.size||"large",x=(()=>{if(o.buttonBackgroundColor||o.buttonTextColor)return{backgroundColor:o.buttonBackgroundColor||"#3b82f6",color:o.buttonTextColor||"#ffffff",borderColor:"outline"===c?o.buttonBackgroundColor||"#3b82f6":void 0}})();return(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"transparent",textAlign:o.textAlign||"center"},className:(0,l.cn)(i?"px-4 py-4":"px-6 py-6"),children:(0,s.jsx)("a",{href:a&&n.url||"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("inline-flex items-center justify-center font-medium rounded-lg transition-all hover:opacity-90",i?"small"===d?"px-3 py-1.5 text-xs":"medium"===d?"px-4 py-2 text-sm":"px-5 py-2.5 text-sm":"small"===d?"px-4 py-2 text-sm":"medium"===d?"px-6 py-2.5 text-base":"px-8 py-3 text-lg",!x&&"primary"===c&&"bg-blue-600 hover:bg-blue-700 text-white",!x&&"secondary"===c&&"bg-gray-800 hover:bg-gray-900 text-white",!x&&"outline"===c&&"border-2 border-blue-600 text-blue-600 hover:bg-blue-50",x&&"outline"===c&&"border-2",n.fullWidth&&"w-full"),style:x?{backgroundColor:"outline"===c?"transparent":x.backgroundColor,color:x.color,borderColor:x.borderColor}:void 0,children:n.text||"Click Me"})})}},99645:function(e,t,a){a.d(t,{D:function(){return c}});var s=a(57437),l=a(93448),r=a(16275),n=a(88226),o=a(11239);let i={cart:r.Z,card:n.Z,zap:o.Z};function c(e){let{block:t,isPreview:a,deviceView:n="desktop"}=e,{content:o,style:c}=t,d="mobile"===n,x=i[o.icon]||r.Z,m=o.variant||"primary";return(0,s.jsx)("div",{style:{backgroundColor:c.backgroundColor||"transparent",textAlign:c.textAlign||"center"},children:(0,s.jsx)("div",{className:(0,l.cn)(d?"px-4 py-4":"px-6 py-6"),children:(0,s.jsxs)("div",{className:"max-w-md mx-auto",children:[o.priceLabel&&(0,s.jsx)("div",{className:(0,l.cn)("mb-2",d?"text-xs":"text-sm"),children:(0,s.jsx)("span",{className:"text-gray-500",children:o.priceLabel})}),o.price&&(0,s.jsxs)("div",{className:(0,l.cn)("font-bold mb-3",d?"text-2xl":"text-3xl"),children:[o.price,o.originalPrice&&(0,s.jsx)("span",{className:(0,l.cn)("ml-2 line-through text-gray-400 font-normal",d?"text-sm":"text-base"),children:o.originalPrice})]}),(0,s.jsxs)("a",{href:a&&o.url||"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("inline-flex items-center justify-center gap-2 font-semibold rounded-lg transition-all shadow-md hover:shadow-lg",d?"px-5 py-2.5 text-sm":"px-8 py-3.5 text-base",o.fullWidth&&"w-full",(()=>{switch(m){case"secondary":return"bg-gray-100 hover:bg-gray-200 text-gray-900 border border-gray-200";case"outline":return"bg-transparent hover:bg-blue-50 text-blue-600 border-2 border-blue-600";case"gradient":return"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white";default:return"bg-blue-600 hover:bg-blue-700 text-white"}})()),children:[!1!==o.showIcon&&(0,s.jsx)(x,{className:d?"w-4 h-4":"w-5 h-5"}),(0,s.jsx)("span",{children:o.text||"Buy Now"})]}),o.subtext&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 text-gray-500",d?"text-xs":"text-sm"),children:o.subtext}),o.badges&&o.badges.length>0&&(0,s.jsx)("div",{className:(0,l.cn)("flex flex-wrap justify-center mt-3",d?"gap-2":"gap-3"),children:o.badges.map((e,t)=>(0,s.jsx)("span",{className:(0,l.cn)("px-2 py-0.5 bg-gray-100 text-gray-600 rounded-full",d?"text-[10px]":"text-xs"),children:e},t))})]})})})}},67115:function(e,t,a){a.d(t,{e:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}=e,{content:n,style:o}=t,i="mobile"===r,c="tablet"===r;return(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"#3b82f6",color:o.textColor||"#ffffff",textAlign:o.textAlign||"center"},children:(0,s.jsxs)("div",{className:(0,l.cn)("max-w-3xl mx-auto",i&&"px-4 py-8",c&&"px-6 py-12",!i&&!c&&"px-8 py-16"),children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",i&&"text-xl",c&&"text-2xl",!i&&!c&&"text-4xl"),children:n.headline||"Ready to Get Started?"}),(0,s.jsx)("p",{className:(0,l.cn)("whitespace-pre-line mt-3 opacity-90",i?"text-sm":"text-lg"),children:n.subheadline||"Join thousands of satisfied customers today."}),(0,s.jsx)("div",{className:(0,l.cn)(i?"mt-5":"mt-8"),children:(0,s.jsx)("a",{href:a?n.ctaUrl:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("inline-flex items-center justify-center rounded-lg font-semibold","transition-colors shadow-lg hover:shadow-xl hover:opacity-90",i?"px-5 py-2.5 text-sm":"px-8 py-4 text-lg"),style:{backgroundColor:o.buttonBackgroun
1dColor||"#ffffff",color:o.buttonTextColor||"#3b82f6"},children:n.ctaText||"Start Free Trial"})}),n.secondaryText&&(0,s.jsx)("p",{className:(0,l.cn)("mt-3 opacity-75",i?"text-xs":"text-sm"),children:n.secondaryText})]})})}},42302:function(e,t,a){a.d(t,{z:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}=e,{content:n,style:o}=t,i="mobile"===r,c="tablet"===r,d=n.columns||3,x=n.gap||24,m=n.items||[];return(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"#ffffff",color:o.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)("max-w-[1400px] mx-auto",i&&"px-4 py-6",c&&"px-6 py-8",!i&&!c&&"px-8 py-12"),children:(0,s.jsx)("div",{className:"grid",style:{gridTemplateColumns:"repeat(".concat(i?1:c?Math.min(d,2):d,", 1fr)"),gap:i?"16px":"".concat(x,"px")},children:m.length>0?m.map((e,t)=>(0,s.jsxs)("div",{className:(0,l.cn)(i?"p-3":"p-4"),children:[e.title&&(0,s.jsx)("h3",{className:(0,l.cn)("font-semibold mb-2",i?"text-base":"text-lg"),children:e.title}),(0,s.jsx)("p",{className:(0,l.cn)("opacity-80",i?"text-xs":"text-sm"),children:e.content||"Add your content here"})]},t)):Array.from({length:d}).map((e,t)=>(0,s.jsxs)("div",{className:(0,l.cn)("bg-gray-50 rounded-lg border-2 border-dashed border-gray-200",i?"p-3":"p-4"),children:[(0,s.jsxs)("h3",{className:(0,l.cn)("font-semibold mb-2",i?"text-base":"text-lg"),children:["Column ",t+1]}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-500",i?"text-xs":"text-sm"),children:"Add content in the properties panel"})]},t))})})})}},48544:function(e,t,a){a.d(t,{E:function(){return i}});var s=a(57437),l=a(93448),r=a(30401),n=a(32489),o=a(21047);function i(e){let{block:t,isPreview:a,deviceView:i="desktop"}=e,{content:c,style:d}=t,x="mobile"===i,m="tablet"===i,u=c.plans||[],p=c.features||[],h=e=>!0===e?(0,s.jsx)(r.Z,{className:(0,l.cn)("text-green-500",x?"w-4 h-4":"w-5 h-5")}):!1===e?(0,s.jsx)(n.Z,{className:(0,l.cn)("text-red-400",x?"w-4 h-4":"w-5 h-5")}):null==e?(0,s.jsx)(o.Z,{className:(0,l.cn)("text-gray-300",x?"w-4 h-4":"w-5 h-5")}):(0,s.jsx)("span",{className:x?"text-xs":"text-sm",children:e});return(0,s.jsx)("div",{style:{backgroundColor:d.backgroundColor||"#ffffff",color:d.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)(x&&"px-2 py-6",m&&"px-4 py-10",!x&&!m&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[c.title&&(0,s.jsxs)("div",{className:(0,l.cn)("text-center",x?"mb-6":"mb-12"),children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",x&&"text-xl",m&&"text-2xl",!x&&!m&&"text-3xl"),children:c.title}),c.subtitle&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 opacity-80",x?"text-xs":"text-base"),children:c.subtitle})]}),(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full border-collapse",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:(0,l.cn)("text-left font-semibold border-b border-gray-200",x?"p-2 text-xs":"p-4 text-sm"),children:c.featureLabel||"Features"}),u.map((e,t)=>(0,s.jsxs)("th",{className:(0,l.cn)("text-center font-semibold border-b border-gray-200",x?"p-2 text-xs":"p-4 text-sm",e.highlighted&&"bg-blue-50"),children:[(0,s.jsx)("div",{children:e.name}),e.price&&(0,s.jsx)("div",{className:(0,l.cn)("font-bold text-blue-600",x?"text-sm":"text-lg"),children:e.price})]},t))]})}),(0,s.jsx)("tbody",{children:p.map((e,t)=>(0,s.jsxs)("tr",{className:"hover:bg-gray-50",children:[(0,s.jsxs)("td",{className:(0,l.cn)("text-left border-b border-gray-100",x?"p-2 text-xs":"p-4 text-sm"),children:[(0,s.jsx)("div",{className:"font-medium",children:e.name}),e.description&&(0,s.jsx)("div",{className:(0,l.cn)("text-gray-500 mt-0.5",x?"text-[10px]":"text-xs"),children:e.description})]}),u.map((t,a)=>{var r;return(0,s.jsx)("td",{className:(0,l.cn)("text-center border-b border-gray-100",x?"p-2":"p-4",t.highlighted&&"bg-blue-50/50"),children:(0,s.jsx)("div",{className:"flex justify-center",children:h(null===(r=e.values)||void 0===r?void 0:r[a])})},a)})]},t))}),c.showCTA&&(0,s.jsx)("tfoot",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{className:x?"p-2":"p-4"}),u.map((e,t)=>(0,s.jsx)("td",{className:(0,l.cn)("text-center",x?"p-2":"p-4",e.highlighted&&"bg-blue-50/50"),children:(0,s.jsx)("a",{href:a&&e.ctaUrl||"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("inline-block rounded-lg font-medium transition-colors",x?"px-3 py-1.5 text-xs":"px-5 py-2 text-sm",e.highlighted?"bg-blue-600 hover:bg-blue-700 text-white":"bg-gray-100 hover:bg-gray-200 text-gray-900"),children:e.ctaText||"Get Started"})},t))]})})]})})]})})})}},89798:function(e,t,a){a.d(t,{v:function(){return o}});
1var s=a(57437),l=a(2265),r=a(91723),n=a(93448);function o(e){let{block:t,isPreview:a,deviceView:o="desktop"}=e,{content:i,style:c}=t,[d,x]=(0,l.useState)({days:0,hours:0,minutes:0,seconds:0}),m="mobile"===o,u="tablet"===o;(0,l.useEffect)(()=>{let e=()=>{let e=new Date(i.endDate?i.endDate:Date.now()+6048e5).getTime()-Date.now();return e>0?{days:Math.floor(e/864e5),hours:Math.floor(e/36e5%24),minutes:Math.floor(e/1e3/60%60),seconds:Math.floor(e/1e3%60)}:{days:0,hours:0,minutes:0,seconds:0}};x(e());let t=setInterval(()=>x(e()),1e3);return()=>clearInterval(t)},[i.endDate]);let p=e=>{let{value:t,label:a}=e;return(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)("div",{className:(0,n.cn)("font-bold bg-white/20 rounded-lg flex items-center justify-center",m&&"text-lg px-2 py-1 min-w-[36px]",u&&"text-2xl px-3 py-1.5 min-w-[50px]",!m&&!u&&"text-4xl px-4 py-2 min-w-[70px]"),children:t.toString().padStart(2,"0")}),!1!==i.showLabels&&(0,s.jsx)("span",{className:(0,n.cn)("mt-1 opacity-80 uppercase tracking-wide",m?"text-[8px]":"text-xs"),children:a})]})};return(0,s.jsx)("div",{style:{backgroundColor:c.backgroundColor||"#ef4444",color:c.textColor||"#ffffff",textAlign:"center"},children:(0,s.jsx)("div",{className:(0,n.cn)(m&&"px-3 py-5",u&&"px-6 py-8",!m&&!u&&"px-8 py-12"),children:(0,s.jsxs)("div",{className:"max-w-[1200px] mx-auto",children:[(0,s.jsx)(r.Z,{className:(0,n.cn)("mx-auto mb-2 opacity-80",m?"w-5 h-5":"w-8 h-8")}),(0,s.jsx)("h2",{className:(0,n.cn)("font-bold",m?"text-sm":u?"text-xl":"text-2xl"),children:i.title||"Limited Time Offer"}),i.subtitle&&(0,s.jsx)("p",{className:(0,n.cn)("mt-1 opacity-80",m?"text-[10px]":"text-sm"),children:i.subtitle}),(0,s.jsxs)("div",{className:(0,n.cn)("flex justify-center items-start",m?"gap-1 mt-4":"gap-3 mt-6"),children:[(0,s.jsx)(p,{value:d.days,label:"Days"}),(0,s.jsx)("span",{className:(0,n.cn)("font-bold mt-1",m?"text-lg":"text-3xl"),children:":"}),(0,s.jsx)(p,{value:d.hours,label:"Hours"}),(0,s.jsx)("span",{className:(0,n.cn)("font-bold mt-1",m?"text-lg":"text-3xl"),children:":"}),(0,s.jsx)(p,{value:d.minutes,label:"Min"}),(0,s.jsx)("span",{className:(0,n.cn)("font-bold mt-1",m?"text-lg":"text-3xl"),children:":"}),(0,s.jsx)(p,{value:d.seconds,label:"Sec"})]})]})})})}},33122:function(e,t,a){a.d(t,{Q:function(){return i}});var s=a(57437),l=a(2265),r=a(89345),n=a(44743),o=a(93448);function i(e){let{block:t,isPreview:a,deviceView:i="desktop"}=e,{content:c,style:d}=t,[x,m]=(0,l.useState)(""),[u,p]=(0,l.useState)(!1),h="mobile"===i,f="tablet"===i;return(0,s.jsx)("div",{style:{backgroundColor:d.backgroundColor||"#1e293b",color:d.textColor||"#f1f5f9",textAlign:d.textAlign||"center"},children:(0,s.jsx)("div",{className:(0,o.cn)(h&&"px-4 py-6",f&&"px-6 py-8",!h&&!f&&"px-8 py-12"),children:(0,s.jsxs)("div",{className:"max-w-xl mx-auto",children:[(0,s.jsx)(r.Z,{className:(0,o.cn)("mx-auto mb-3 opacity-80",h?"w-6 h-6":"w-10 h-10")}),(0,s.jsx)("h2",{className:(0,o.cn)("font-bold",h?"text-base":f?"text-xl":"text-2xl"),children:c.title||"Stay Updated"}),c.subtitle&&(0,s.jsx)("p",{className:(0,o.cn)("mt-1 opacity-80",h?"text-xs":"text-sm"),children:c.subtitle}),u?(0,s.jsx)("div",{className:(0,o.cn)("mt-4 p-3 bg-green-500/20 rounded-lg",h&&"text-xs"),children:(0,s.jsx)("p",{className:"text-green-300",children:c.successMessage||"Thanks for subscribing!"})}):(0,s.jsx)("form",{onSubmit:e=>{e.preventDefault(),x&&p(!0)},className:"mt-4",children:(0,s.jsxs)("div",{className:(0,o.cn)("flex gap-2 max-w-md mx-auto",h&&"flex-col"),children:[(0,s.jsx)("input",{type:"email",value:x,onChange:e=>m(e.target.value),placeholder:c.placeholder||"Enter your email",className:(0,o.cn)("flex-1 rounded-lg text-gray-900 focus:outline-none focus:ring-2 focus:ring-blue-500",h?"px-3 py-2 text-xs":"px-4 py-2.5 text-sm"),required:!0}),(0,s.jsxs)("button",{type:"submit",className:(0,o.cn)("bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-lg transition-colors flex items-center justify-center gap-1.5",h?"px-4 py-2 text-xs":"px-5 py-2.5 text-sm"),children:[(0,s.jsx)("span",{children:c.buttonText||"Subscribe"}),(0,s.jsx)(n.Z,{className:h?"w-3 h-3":"w-4 h-4"})]})]})})]})})})}},99204:function(e,t,a){a.d(t,{C:function(){return o}});
1var s=a(57437),l=a(2265),r=a(93448),n=a(40875);function o(e){let{block:t,isPreview:a,deviceView:o="desktop"}=e,{content:i,style:c}=t,[d,x]=(0,l.useState)(0),m="mobile"===o,u="tablet"===o,p=i.faqs||[];return(0,s.jsx)("div",{style:{backgroundColor:c.backgroundColor||"#ffffff",color:c.textColor||"#1e293b"},children:(0,s.jsxs)("div",{className:(0,r.cn)("max-w-3xl mx-auto",m&&"px-4 py-6",u&&"px-6 py-10",!m&&!u&&"px-8 py-16"),children:[(0,s.jsxs)("div",{className:(0,r.cn)("text-center",m?"mb-6":"mb-12"),children:[(0,s.jsx)("h2",{className:(0,r.cn)("font-bold",m&&"text-xl",u&&"text-2xl",!m&&!u&&"text-4xl"),children:i.title||"Frequently Asked Questions"}),i.subtitle&&(0,s.jsx)("p",{className:(0,r.cn)("mt-2 opacity-80",m?"text-sm":"text-lg"),children:i.subtitle})]}),(0,s.jsx)("div",{className:(0,r.cn)(m?"space-y-2":"space-y-4"),children:p.map((e,t)=>(0,s.jsxs)("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg overflow-hidden",children:[(0,s.jsxs)("button",{className:(0,r.cn)("w-full flex items-center justify-between text-left","hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors",d===t&&"bg-gray-50 dark:bg-gray-800",m?"p-3":"p-5"),onClick:()=>x(d===t?null:t),children:[(0,s.jsx)("span",{className:(0,r.cn)("font-medium pr-4",m?"text-sm":"text-base"),children:e.question}),(0,s.jsx)(n.Z,{className:(0,r.cn)("shrink-0 transition-transform",m?"w-4 h-4":"w-5 h-5",d===t&&"rotate-180")})]}),(0,s.jsx)("div",{className:(0,r.cn)("overflow-hidden transition-all duration-300",d===t?"max-h-96":"max-h-0"),children:(0,s.jsx)("div",{className:(0,r.cn)("pt-0 text-gray-600",m?"p-3 text-sm":"p-5 text-base"),children:e.answer})})]},t))})]})})}},75203:function(e,t,a){a.d(t,{U:function(){return N}});var s=a(57437),l=a(93448),r=a(11239),n=a(88906),o=a(29202),i=a(91723),c=a(64935),d=a(70525),x=a(86595),m=a(88997),u=a(95805),p=a(98728),h=a(66337),f=a(6076),g=a(30401),b=a(33327),y=a(58896),v=a(82023);let j={zap:r.Z,shield:n.Z,globe:o.Z,clock:i.Z,code:c.Z,"trending-up":d.Z,star:x.Z,heart:m.Z,users:u.Z,settings:p.Z,lock:h.Z,rocket:f.Z,check:g.Z,award:b.Z,target:y.Z,sparkles:v.Z};function N(e){let{block:t,isPreview:a,deviceView:n="desktop"}=e,{content:o,style:i}=t,c=o.features||[],d=o.columns||3,x="mobile"===n,m="tablet"===n;return(0,s.jsx)("div",{className:"features-block",style:{backgroundColor:i.backgroundColor||"#f8fafc",color:i.textColor||"#1e293b",textAlign:i.textAlign||"center"},children:(0,s.jsx)("div",{className:(0,l.cn)(x&&"px-4 py-6",m&&"px-6 py-10",!x&&!m&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[(0,s.jsxs)("div",{className:(0,l.cn)(x&&"mb-6",m&&"mb-8",!x&&!m&&"mb-12"),children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",x&&"text-xl",m&&"text-2xl",!x&&!m&&"text-3xl"),children:o.title||"Amazing Features"}),o.subtitle&&(0,s.jsx)("p",{className:(0,l.cn)("whitespace-pre-line mt-2 opacity-80 max-w-2xl mx-auto",x&&"text-sm px-2",m&&"text-base px-4",!x&&!m&&"text-lg mt-4"),children:o.subtitle})]}),(0,s.jsx)("div",{className:(0,l.cn)("grid",x&&"gap-3",m&&"gap-4",!x&&!m&&"gap-6"),style:{gridTemplateColumns:"repeat(".concat("mobile"===n?1:"tablet"===n?Math.min(d,2):d,", minmax(0, 1fr))")},children:c.map((e,t)=>{let a=j[e.icon]||r.Z;return(0,s.jsxs)("div",{className:(0,l.cn)("rounded-xl transition-all bg-white shadow-sm hover:shadow-md",x&&"p-3",m&&"p-4",!x&&!m&&"p-6","list"===o.layout&&"flex items-start gap-3 text-left"),children:[(0,s.jsx)("div",{className:(0,l.cn)("inline-flex items-center justify-center rounded-lg bg-blue-100 text-blue-600",x&&"w-8 h-8",m&&"w-10 h-10",!x&&!m&&"w-12 h-12","list"===o.layout?"shrink-0":"mx-auto mb-3"),children:(0,s.jsx)(a,{className:(0,l.cn)(x&&"w-4 h-4",m&&"w-5 h-5",!x&&!m&&"w-6 h-6")})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:(0,l.cn)("font-semibold",x&&"text-sm",m&&"text-base",!x&&!m&&"text-lg"),children:e.title||"Feature Title"}),(0,s.jsx)("p",{className:(0,l.cn)("whitespace-pre-line mt-1 opacity-75",x&&"text-xs",m&&"text-sm",!x&&!m&&"text-sm mt-2"),children:e.description||"Feature description goes here"})]})]},t)})})]})})})}},75568:function(e,t,a){a.d(t,{r:function(){return o}});var s=a(57437),l=a(93448);let r=e=>{let{className:t}=e;
1return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})})},n={twitter:r,linkedin:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})},facebook:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})},instagram:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})},github:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})})},youtube:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}};function o(e){let{block:t,isPreview:a,deviceView:o="desktop"}=e,{content:i,style:c}=t,d="mobile"===o,x="tablet"===o,m=i.columns||[],u=i.socialLinks||[];return(0,s.jsx)("footer",{style:{backgroundColor:c.backgroundColor||"#1e293b",color:c.textColor||"#f1f5f9"},children:(0,s.jsxs)("div",{className:(0,l.cn)("max-w-[1400px] mx-auto",d&&"px-4 py-6",x&&"px-6 py-8",!d&&!x&&"px-8 py-12"),children:[(0,s.jsxs)("div",{className:(0,l.cn)("grid",d?"gap-6":"gap-8",d?"mb-6":"mb-8"),style:{gridTemplateColumns:"repeat(".concat(d?1:x?2:Math.min(m.length+1,4),", 1fr)")},children:[(0,s.jsxs)("div",{className:d||x?"":"col-span-1",children:[i.logo?(0,s.jsx)("img",{src:i.logo,alt:i.logoText,className:(0,l.cn)(d?"h-6 mb-3":"h-8 mb-4","w-auto")}):(0,s.jsx)("span",{className:(0,l.cn)("font-bold block",d?"text-base mb-3":"text-xl mb-4"),children:i.logoText||"Your Brand"}),(0,s.jsx)("p",{className:(0,l.cn)("opacity-75",d?"text-xs":"text-sm"),children:i.description||"A brief description of your company."}),u.length>0&&(0,s.jsx)("div",{className:(0,l.cn)("flex",d?"gap-2 mt-3":"gap-3 mt-4"),children:u.map((e,t)=>{let o=n[e.platform]||r;return(0,s.jsx)("a",{href:a?e.url:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("rounded-lg bg-white/10 hover:bg-white/20 transition-colors",d?"p-1.5":"p-2"),children:(0,s.jsx)(o,{className:d?"w-3 h-3":"w-4 h-4"})},t)})})]}),m.map((e,t)=>{var r;return(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:(0,l.cn)("font-semibold",d?"text-sm mb-2":"text-base mb-4"),children:e.title}),(0,s.jsx)("ul",{className:(0,l.cn)(d?"space-y-1":"space-y-2"),children:null===(r=e.links)||void 0===r?void 0:r.map((e,t)=>(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:a?e.url:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("opacity-75 hover:opacity-100 transition-opacity",d?"text-xs":"text-sm"),children:e.text})},t))})]},t)})]}),(0,s.jsx)("div",{className:(0,l.cn)("border-t border-white/10 text-center opacity-60",d?"pt-4 text-xs":"pt-8 text-sm"),children:i.copyright||"\xa9 2024 Your Company. All rights reserved."})]})})}},46112:function(e,t,a){a.d(t,{b:function(){return N}});
1var s=a(57437),l=a(2265),r=a(69064),n=a(93448),o=a(71837),i=a(86595),c=a(32489),d=a(17689),x=a(40875),m=a(30401);let u=[{code:"+91",country:"IN",flag:"\uD83C\uDDEE\uD83C\uDDF3"},{code:"+1",country:"US",flag:"\uD83C\uDDFA\uD83C\uDDF8"},{code:"+44",country:"UK",flag:"\uD83C\uDDEC\uD83C\uDDE7"},{code:"+971",country:"AE",flag:"\uD83C\uDDE6\uD83C\uDDEA"},{code:"+61",country:"AU",flag:"\uD83C\uDDE6\uD83C\uDDFA"},{code:"+49",country:"DE",flag:"\uD83C\uDDE9\uD83C\uDDEA"},{code:"+33",country:"FR",flag:"\uD83C\uDDEB\uD83C\uDDF7"},{code:"+81",country:"JP",flag:"\uD83C\uDDEF\uD83C\uDDF5"},{code:"+86",country:"CN",flag:"\uD83C\uDDE8\uD83C\uDDF3"},{code:"+65",country:"SG",flag:"\uD83C\uDDF8\uD83C\uDDEC"}],p=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),h=e=>/^\+?[\d\s-()]{8,}$/.test(e),f=e=>{try{return new URL(e),!0}catch(e){return!1}};function g(e){let{value:t,onChange:a,disabled:r,size:o="md"}=e,[c,d]=(0,l.useState)(0),x={sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8"};return(0,s.jsx)("div",{className:"flex gap-1",children:[1,2,3,4,5].map(e=>(0,s.jsx)("button",{type:"button",disabled:r,onClick:()=>!r&&a(e),onMouseEnter:()=>!r&&d(e),onMouseLeave:()=>d(0),className:(0,n.cn)("transition-colors",r?"cursor-not-allowed":"cursor-pointer"),children:(0,s.jsx)(i.Z,{className:(0,n.cn)(x[o],"transition-colors",(c||t)>=e?"fill-yellow-400 text-yellow-400":"fill-gray-200 text-gray-200")})},e))})}function b(e){let{field:t,value:a,onChange:o,disabled:i,isMobile:x}=e,m=(0,l.useRef)(null),[u,p]=(0,l.useState)(!1),h=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?p(!0):"dragleave"===e.type&&p(!1)},f=e=>{let a=1048576*(t.maxFileSize||10);if(e.size>a){r.default.error("File size must be less than ".concat(t.maxFileSize||10,"MB"));return}o(e)};return(0,s.jsxs)("div",{className:(0,n.cn)("relative border-2 border-dashed rounded-lg transition-colors",u?"border-blue-500 bg-blue-50":"border-gray-300",i&&"opacity-50 cursor-not-allowed"),onDragEnter:h,onDragLeave:h,onDragOver:h,onDrop:e=>{e.preventDefault(),e.stopPropagation(),p(!1),e.dataTransfer.files&&e.dataTransfer.files[0]&&f(e.dataTransfer.files[0])},children:[(0,s.jsx)("input",{ref:m,type:"file",accept:t.accept||"*/*",disabled:i,onChange:e=>{var t;return(null===(t=e.target.files)||void 0===t?void 0:t[0])&&f(e.target.files[0])},className:"hidden"}),a?(0,s.jsxs)("div",{className:(0,n.cn)("flex items-center gap-3",x?"p-3":"p-4"),children:[(0,s.jsxs)("div",{className:"flex-1 truncate",children:[(0,s.jsx)("p",{className:(0,n.cn)("font-medium truncate",x?"text-sm":"text-base"),children:a.name}),(0,s.jsxs)("p",{className:"text-xs text-gray-500",children:[(a.size/1024/1024).toFixed(2)," MB"]})]}),(0,s.jsx)("button",{type:"button",onClick:()=>o(null),disabled:i,className:"p-1 hover:bg-gray-100 rounded",children:(0,s.jsx)(c.Z,{className:"w-4 h-4 text-gray-500"})})]}):(0,s.jsxs)("button",{type:"button",onClick:()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.click()},disabled:i,className:(0,n.cn)("w-full text-center",x?"p-4":"p-6"),children:[(0,s.jsx)(d.Z,{className:(0,n.cn)("mx-auto text-gray-400 mb-2",x?"w-6 h-6":"w-8 h-8")}),(0,s.jsx)("p",{className:(0,n.cn)("text-gray-600",x?"text-xs":"text-sm"),children:"Click to upload or drag and drop"}),(0,s.jsxs)("p",{className:"text-xs text-gray-400 mt-1",children:[t.accept||"All files"," (max ",t.maxFileSize||10,"MB)"]})]})]})}function y(e){let{field:t,value:a,onChange:r,disabled:o,isMobile:i}=e,[c,d]=(0,l.useState)(!1),m=u.find(e=>e.code===a.countryCode)||u[0];return(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>!o&&d(!c),disabled:o,className:(0,n.cn)("flex items-center gap-1 rounded-lg border border-gray-300 bg-white","hover:bg-gray-50 disabled:bg-gray-100 disabled:cursor-not-allowed",i?"px-2 py-2 text-sm":"px-3 py-3 text-base"),children:[(0,s.jsx)("span",{children:m.flag}),(0,s.jsx)("span",{children:m.code}),(0,s.jsx)(x.Z,{className:"w-3 h-3 text-gray-400"})]}),c&&(0,s.jsx)("div",{className:"absolute z-10 mt-1 w-48 bg-white border rounded-lg shadow-lg max-h-48 overflow-auto",children:u.map(e=>(0,s.jsxs)("button",{type:"button",onClick:()=>{r({...a,countryCode:e.code}),d(!1)},className:(0,n.cn)("w-full flex items-center gap-2 px-3 py-2 hover:bg-gray-50 text-left",e.code===a.countryCode&&"bg-blue-50"),children:[(0,s.jsx)("span",{children:e.flag}),(0,s.jsx)("span",{children:e.country}),(0,s.jsx)("span",{className:"text-gray-500",children:e.code})]},e.code))})]}),(0,s.jsx)("input",{type:"tel",value:a.number,onChange:e=>r({...a,number:e.target.value}),placeholder:t.placeholder||"Phone number",disabled:o,className:(0,n.cn)("flex-1 rounded-lg border border-gray-300","focus:ring-2 focus:ring-blue-500 focus:border-blue-500","disabled:bg-gray-100 disabled:cursor-not-allowed",i?"px-3 py-2 text-sm":"px-4 py-3 text-base")})]})}function v(e){var t;
1let{field:a,value:l,onChange:r,disabled:o,isMobile:i}=e,c=e=>{l.includes(e)?r(l.filter(t=>t!==e)):r([...l,e])};return(0,s.jsx)("div",{className:(0,n.cn)("space-y-2",i&&"space-y-1.5"),children:null===(t=a.options)||void 0===t?void 0:t.map((e,t)=>(0,s.jsxs)("label",{className:(0,n.cn)("flex items-center gap-3 cursor-pointer",o&&"cursor-not-allowed opacity-60"),children:[(0,s.jsx)("div",{className:(0,n.cn)("w-5 h-5 rounded border-2 flex items-center justify-center transition-colors",l.includes(e)?"bg-blue-600 border-blue-600":"border-gray-300 bg-white"),onClick:()=>!o&&c(e),children:l.includes(e)&&(0,s.jsx)(m.Z,{className:"w-3 h-3 text-white"})}),(0,s.jsx)("span",{className:(0,n.cn)(i?"text-sm":"text-base"),children:e})]},t))})}function j(e){var t;let{field:a,value:l,onChange:r,disabled:o,isMobile:i}=e;return(0,s.jsx)("div",{className:(0,n.cn)("space-y-2",i&&"space-y-1.5"),children:null===(t=a.options)||void 0===t?void 0:t.map((e,t)=>(0,s.jsxs)("label",{className:(0,n.cn)("flex items-center gap-3 cursor-pointer",o&&"cursor-not-allowed opacity-60"),children:[(0,s.jsx)("div",{className:(0,n.cn)("w-5 h-5 rounded-full border-2 flex items-center justify-center transition-colors",l===e?"border-blue-600":"border-gray-300"),onClick:()=>!o&&r(e),children:l===e&&(0,s.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-blue-600"})}),(0,s.jsx)("span",{className:(0,n.cn)(i?"text-sm":"text-base"),children:e})]},t))})}function N(e){let{block:t,isPreview:a,deviceView:i="desktop",pageSlug:c}=e,{content:d,style:x}=t,m="mobile"===i,u="tablet"===i,[N,w]=(0,l.useState)(!1),[C,k]=(0,l.useState)(!1),[S,D]=(0,l.useState)(null),[A,Z]=(0,l.useState)({}),[M,B]=(0,l.useState)({}),[T,I]=(0,l.useState)({}),[P,z]=(0,l.useState)(0),F=d.fields||[],U=d.conditionalRules||[];(0,l.useEffect)(()=>{{let e=new URLSearchParams(window.location.search),t=e.get("campaign_id");t&&D(t);let a={};F.forEach(t=>{if("hidden"===t.type){let s=e.get(t.name);a[t.name]=s||t.defaultValue||""}else"checkbox"===t.type?a[t.name]=t.defaultValue||[]:"phone"===t.type?a[t.name]={countryCode:t.countryCode||"+91",number:""}:"rating"===t.type?a[t.name]=t.defaultValue||0:a[t.name]=t.defaultValue||""}),Z(a),z(Date.now())}},[]);let E=e=>{let t=U.filter(t=>t.targetField===e&&("show"===t.action||"hide"===t.action));if(0===t.length)return!0;for(let e of t){let t=A[e.field],a=!1;switch(e.operator){case"equals":a=t===e.value;break;case"not_equals":a=t!==e.value;break;case"contains":a=String(t).includes(e.value);break;case"greater_than":a=Number(t)>Number(e.value);break;case"less_than":a=Number(t)<Number(e.value);break;case"is_empty":a=!t||""===t||Array.isArray(t)&&0===t.length;break;case"is_not_empty":a=t&&""!==t&&(!Array.isArray(t)||t.length>0)}if("show"===e.action&&a)break;if("hide"===e.action&&a)return!1}return!0},L=e=>{if(e.required)return!0;for(let t of U.filter(t=>t.targetField===e.name&&"require"===t.action)){let e=A[t.field],a=!1;switch(t.operator){case"equals":a=e===t.value;break;case"not_equals":a=e!==t.value}if(a)return!0}return!1},q=(e,t)=>{let a=L(e),s=e.validation||{};if(a){if(null==t||""===t)return s.customMessage||"".concat(e.label," is required");if(Array.isArray(t)&&0===t.length)return s.customMessage||"Please select at least one option";if("phone"===e.type&&(!t.number||""===t.number.trim()))return s.customMessage||"".concat(e.label," is required");if("rating"===e.type&&0===t)return s.customMessage||"Please provide a rating"}if(!t||""===t||Array.isArray(t)&&0===t.length)return null;switch(e.type){case"email":if(!p(t))return"Please enter a valid email address";break;case"tel":case"phone":let l="phone"===e.type?t.number:t;if(l&&!h(l))return"Please enter a valid phone number";break;case"url":if(!f(t))return"Please enter a valid URL"}return s.minLength&&String(t).length<s.minLength?"Minimum ".concat(s.minLength," characters required"):s.maxLength&&String(t).length>s.maxLength?"Maximum ".concat(s.maxLength," characters allowed"):void 0!==s.min&&Number(t)<s.min?"Value must be at least ".concat(s.min):void 0!==s.max&&Number(t)>s.max?"Value must be at most ".concat(s.max):s.pattern&&!new RegExp(s.pattern).test(String(t))?s.customMessage||"Invalid format":null},_=()=>{let e={},t=!0;return F.forEach(a=>{if(!E(a.name))return;let s=q(a,A[a.name]);s&&(e[a.name]=s,t=!1)}),B(e),t},H=(e,t)=>{Z(a=>({...a,[e]:t})),M[e]&&B(t=>{let a={...t};return delete a[e],a})},V=e=>{I(t=>({...t,[e.name]:!0}));let t=q(e,A[e.name]);t&&B(a=>({...a,[e.name]:t}))},R=async e=>{if(e.preventDefault(),!a)return;if(Date.now()-P<3e3){console.log("Possible bot detected: form filled too quickly"),k(!0);return}let t=A._hp_field;if(t&&""!==t){console.log("Honeypot triggered"),k(!0);return}if(!_()){r.default.error("Please fix the errors in the form");return}w(!0);try{let e={};
1if(F.forEach(t=>{if("hidden"===t.type||!E(t.name))return;let a=A[t.name];"phone"===t.type?e[t.name]="".concat(a.countryCode," ").concat(a.number):"checkbox"===t.type?e[t.name]=a.join(", "):"file"===t.type&&a?e[t.name]=a.name:e[t.name]=String(a)}),F.filter(e=>"hidden"===e.type).forEach(t=>{e[t.name]=A[t.name]||""}),c){let t="/landing-pages/public/".concat(c,"/submit-form");S&&(t+="?campaign_id=".concat(S));let a=(await o.api.post(t,e)).data;a.success&&console.log("Lead created:",a.data.lead_id)}k(!0)}catch(e){console.error("Form submission error:",e),r.default.error("Failed to submit form. Please try again.")}finally{w(!1)}},G=(e,t)=>{var l,r,o,i,c,d,x,u,p;if(!E(e.name))return null;if("hidden"===e.type)return(0,s.jsx)("input",{type:"hidden",name:e.name,value:A[e.name]||""},t);let h=A[e.name],f=T[e.name]?M[e.name]:null,N=L(e),w=(0,n.cn)("w-full rounded-lg border",f?"border-red-500 focus:ring-red-500":"border-gray-300 focus:ring-blue-500","focus:ring-2 focus:border-transparent","disabled:bg-gray-100 disabled:cursor-not-allowed",m?"px-3 py-2 text-sm":"px-4 py-3 text-base");return(0,s.jsxs)("div",{children:[e.label&&(0,s.jsxs)("label",{className:(0,n.cn)("block font-medium mb-1",m?"text-xs":"text-sm"),children:[e.label,N&&(0,s.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),"textarea"===e.type?(0,s.jsx)("textarea",{name:e.name,placeholder:e.placeholder,value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,rows:m?3:4,className:w}):"select"===e.type?(0,s.jsxs)("select",{name:e.name,value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,className:w,children:[(0,s.jsx)("option",{value:"",children:e.placeholder||"Select an option"}),null===(l=e.options)||void 0===l?void 0:l.map((e,t)=>(0,s.jsx)("option",{value:e,children:e},t))]}):"checkbox"===e.type?(0,s.jsx)(v,{field:e,value:h||[],onChange:t=>H(e.name,t),disabled:!a,isMobile:m}):"radio"===e.type?(0,s.jsx)(j,{field:e,value:h||"",onChange:t=>H(e.name,t),disabled:!a,isMobile:m}):"rating"===e.type?(0,s.jsx)(g,{value:h||0,onChange:t=>H(e.name,t),disabled:!a,size:m?"sm":"md"}):"file"===e.type?(0,s.jsx)(b,{field:e,value:h,onChange:t=>H(e.name,t),disabled:!a,isMobile:m}):"phone"===e.type?(0,s.jsx)(y,{field:e,value:h||{countryCode:"+91",number:""},onChange:t=>H(e.name,t),disabled:!a,isMobile:m}):"date"===e.type?(0,s.jsx)("input",{type:"date",name:e.name,value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,className:w}):"time"===e.type?(0,s.jsx)("input",{type:"time",name:e.name,value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,className:w}):"datetime"===e.type?(0,s.jsx)("input",{type:"datetime-local",name:e.name,value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,className:w}):"number"===e.type?(0,s.jsx)("input",{type:"number",name:e.name,placeholder:e.placeholder,value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,min:null===(r=e.validation)||void 0===r?void 0:r.min,max:null===(o=e.validation)||void 0===o?void 0:o.max,step:e.step,className:w}):"range"===e.type?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("input",{type:"range",name:e.name,value:h||(null===(i=e.validation)||void 0===i?void 0:i.min)||0,onChange:t=>H(e.name,t.target.value),disabled:!a,min:(null===(c=e.validation)||void 0===c?void 0:c.min)||0,max:(null===(d=e.validation)||void 0===d?void 0:d.max)||100,step:e.step||1,className:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer"}),(0,s.jsxs)("div",{className:"flex justify-between text-xs text-gray-500",children:[(0,s.jsx)("span",{children:(null===(x=e.validation)||void 0===x?void 0:x.min)||0}),(0,s.jsx)("span",{className:"font-medium text-gray-700",children:h||(null===(u=e.validation)||void 0===u?void 0:u.min)||0}),(0,s.jsx)("span",{children:(null===(p=e.validation)||void 0===p?void 0:p.max)||100})]})]}):"url"===e.type?(0,s.jsx)("input",{type:"url",name:e.name,placeholder:e.placeholder||"https://example.com",value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,className:w}):(0,s.jsx)("input",{type:e.type||"text",name:e.name,placeholder:e.placeholder,value:h||"",onChange:t=>H(e.name,t.target.value),onBlur:()=>V(e),disabled:!a,className:w}),f&&(0,s.jsx)("p",{className:"mt-1 text-xs text-red-500",children:f})]},t)};return C?(0,s.jsx)("div",{style:{backgroundColor:x.backgroundColor||"#f8fafc",color:x.textColor||"#1e293b"},children:(0,s.jsxs)("div",{className:(0,n.cn)("max-w-xl mx-auto text-center",m&&"px-4 py-6",u&&"px-6 py-10",!m&&!u&&"px-8 py-16"),children:[(0,s.jsx)("div",{className:(0,n.cn)("rounded-full bg-green-100 w-16 h-16 flex items-center justify-center mx-auto mb-4",m&&"w-12 h-12"),children:(0,s.jsx)("svg",{className:(0,n.cn)("text-green-600",m?"w-6 h-6":"w-8 h-8"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),(0,s.jsx)("h3",{className:(0,n.cn)("font-bold text-green-800",m?"text-lg":"text-xl"),children:d.successTitle||"Thank You!"}),(0,s.jsx)("p",{className:(0,n.cn)("mt-2 text-green-700",m?"text-sm":"text-base"),children:d.successMessage||"Your submission has been received."})]})}):(0,s.jsx)("div",{style:{backgroundColor:x.backgroundColor||"#f8fafc",color:x.textColor||"#1e293b"},children:(0,s.jsxs)("div",{className:(0,n.cn)("max-w-xl mx-auto",m&&"px-4 py-6",u&&"px-6 py-10",!m&&!u&&"px-8 py-16"),children:[(0,s.jsxs)("div",{className:(0,n.cn)("text-center",m?"mb-5":"mb-8"),children:[(0,s.jsx)("h2",{className:(0,n.cn)("font-bold",m&&"text-xl",u&&"text-2xl",!m&&!u&&"text-3xl"),children:d.title||"Get in Touch"}),d.subtitle&&(0,s.jsx)("p",{className:(0,n.cn)("mt-2 opacity-80",m?"text-sm":"text-base"),children:d.subtitle})]}),(0,s.jsxs)("form",{onSubmit:R,className:(0,n.cn)(m?"space-y-3"
1:"space-y-4"),children:[(0,s.jsx)("div",{style:{position:"absolute",left:"-9999px",opacity:0,height:0},"aria-hidden":"true",children:(0,s.jsx)("input",{type:"text",name:"_hp_field",tabIndex:-1,autoComplete:"off",value:A._hp_field||"",onChange:e=>H("_hp_field",e.target.value)})}),F.map((e,t)=>G(e,t)),(0,s.jsx)("button",{type:"submit",disabled:!a||N,className:(0,n.cn)("w-full rounded-lg font-medium","bg-blue-600 text-white hover:bg-blue-700 transition-colors","disabled:opacity-50 disabled:cursor-not-allowed",m?"py-2.5 text-sm":"py-3 px-6 text-base"),children:N?(0,s.jsxs)("span",{className:"flex items-center justify-center gap-2",children:[(0,s.jsxs)("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",children:[(0,s.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),(0,s.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Submitting..."]}):d.submitText||"Submit"})]})]})})}},5590:function(e,t,a){a.d(t,{$:function(){return d}});var s=a(57437),l=a(2265),r=a(53113),n=a(32489),o=a(92451),i=a(10407),c=a(93448);function d(e){var t,a;let{block:d,isPreview:x,deviceView:m="desktop"}=e,{content:u,style:p}=d,[h,f]=(0,l.useState)(!1),[g,b]=(0,l.useState)(0),y="mobile"===m,v="tablet"===m,j=u.images||[],N=u.columns||3,w=u.gap||16,C=!1!==u.lightbox,k=()=>y?2:v?Math.min(N,3):N,S=e=>{C&&(b(e),f(!0))},D=()=>f(!1),A=()=>b(e=>0===e?j.length-1:e-1),Z=()=>b(e=>e===j.length-1?0:e+1);return 0===j.length?(0,s.jsx)("div",{style:{backgroundColor:p.backgroundColor||"transparent"},children:(0,s.jsxs)("div",{className:(0,c.cn)("max-w-[1400px] mx-auto",y?"px-4 py-6":"px-6 py-8"),children:[(0,s.jsx)("div",{className:"grid gap-3",style:{gridTemplateColumns:"repeat(".concat(k(),", 1fr)")},children:[1,2,3,4,5,6].slice(0,2*k()).map(e=>(0,s.jsx)("div",{className:(0,c.cn)("aspect-square bg-gray-100 rounded-lg flex flex-col items-center justify-center border-2 border-dashed border-gray-300"),children:(0,s.jsx)(r.Z,{className:(0,c.cn)("text-gray-400",y?"w-6 h-6":"w-8 h-8")})},e))}),(0,s.jsx)("p",{className:(0,c.cn)("text-center text-gray-500 mt-4",y?"text-xs":"text-sm"),children:"Add images in the properties panel"})]})}):(0,s.jsx)("div",{style:{backgroundColor:p.backgroundColor||"transparent"},children:(0,s.jsxs)("div",{className:(0,c.cn)("max-w-[1400px] mx-auto",y&&"px-4 py-6",v&&"px-6 py-8",!y&&!v&&"px-8 py-10"),children:[u.title&&(0,s.jsx)("h2",{className:(0,c.cn)("font-bold text-center",y?"text-lg mb-4":"text-2xl mb-6"),children:u.title}),(0,s.jsx)("div",{className:"grid",style:{gridTemplateColumns:"repeat(".concat(k(),", 1fr)"),gap:y?"8px":"".concat(w,"px")},children:j.map((e,t)=>(0,s.jsx)("div",{className:(0,c.cn)("aspect-square rounded-lg overflow-hidden bg-gray-100",C&&"cursor-pointer hover:opacity-90 transition-opacity"),onClick:()=>S(t),children:e.src?(0,s.jsx)("img",{src:e.src,alt:e.alt||"Gallery image ".concat(t+1),className:"w-full h-full object-cover"}):(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,s.jsx)(r.Z,{className:(0,c.cn)("text-gray-400",y?"w-6 h-6":"w-8 h-8")})})},t))}),h&&(0,s.jsxs)("div",{className:"fixed inset-0 z-50 bg-black/90 flex items-center justify-center",onClick:D,children:[(0,s.jsx)("button",{className:"absolute top-4 right-4 p-2 text-white hover:bg-white/20 rounded-full transition-colors",onClick:D,children:(0,s.jsx)(n.Z,{className:"w-6 h-6"})}),(0,s.jsx)("button",{className:"absolute left-4 p-2 text-white hover:bg-white/20 rounded-full transition-colors",onClick:e=>{e.stopPropagation(),A()},children:(0,s.jsx)(o.Z,{className:"w-8 h-8"})}),(0,s.jsx)("button",{className:"absolute right-4 p-2 text-white hover:bg-white/20 rounded-full transition-colors",onClick:e=>{e.stopPropagation(),Z()},children:(0,s.jsx)(i.Z,{className:"w-8 h-8"})}),(0,s.jsxs)("div",{className:"max-w-4xl max-h-[80vh] p-4",onClick:e=>e.stopPropagation(),children:[(null===(t=j[g])||void 0===t?void 0:t.src)&&(0,s.jsx)("img",{src:j[g].src,alt:j[g].alt||"Gallery image ".concat(g+1),className:"max-w-full max-h-[80vh] object-contain"}),(null===(a=j[g])||void 0===a?void 0:a.caption)&&(0,s.jsx)("p",{className:"text-white text-center mt-4",children:j[g].caption})]}),(0,s.jsxs)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 text-white text-sm",children:[g+1," / ",j.length]})]})]})})}},75577:function(e,t,a){a.d(t,{V:function(){return i}});
1var s=a(57437),l=a(2265),r=a(93448),n=a(32489),o=a(58293);function i(e){let{block:t,isPreview:a,deviceView:i="desktop"}=e,{content:c,style:d}=t,[x,m]=(0,l.useState)(!1),u="mobile"===i,p="tablet"===i,h=c.navLinks||[];return(0,s.jsxs)("header",{style:{backgroundColor:d.backgroundColor||"#ffffff",color:d.textColor||"#1e293b"},className:"border-b border-gray-100",children:[(0,s.jsxs)("div",{className:(0,r.cn)("max-w-[1400px] mx-auto flex items-center justify-between",u?"px-3 py-2":"px-6 py-4"),children:[(0,s.jsx)("div",{className:"relative flex items-center gap-2",style:{height:u?"32px":"40px"},children:c.logo?(0,s.jsx)("img",{src:c.logo,alt:c.logoText,className:"absolute left-0 top-1/2 -translate-y-1/2 max-w-[200px] object-contain",style:{height:u?"32px":"".concat(d.logoHeight||48,"px")}}):(0,s.jsx)("span",{className:(0,r.cn)("font-bold",u?"text-base":"text-xl"),children:c.logoText||"Your Brand"})}),!u&&(0,s.jsx)("nav",{className:(0,r.cn)("flex items-center",p?"gap-4":"gap-8"),children:h.map((e,t)=>(0,s.jsx)("a",{href:a?e.url:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,r.cn)("font-medium hover:text-blue-600 transition-colors",p?"text-xs":"text-sm"),children:e.text},t))}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[c.showCta&&!u&&(0,s.jsx)("a",{href:a?c.ctaUrl:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,r.cn)("inline-flex items-center rounded-lg font-medium","transition-colors hover:opacity-90",p?"px-3 py-1.5 text-xs":"px-4 py-2 text-sm"),style:{backgroundColor:d.buttonBackgroundColor||"#3b82f6",color:d.buttonTextColor||"#ffffff"},children:c.ctaText||"Get Started"}),u&&(0,s.jsx)("button",{className:"p-1.5 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800",onClick:()=>m(!x),children:x?(0,s.jsx)(n.Z,{className:"w-5 h-5"}):(0,s.jsx)(o.Z,{className:"w-5 h-5"})})]})]}),u&&x&&(0,s.jsx)("div",{className:"border-t border-gray-100 dark:border-gray-800 px-3 py-2 bg-white dark:bg-gray-900",children:(0,s.jsxs)("nav",{className:"flex flex-col gap-2",children:[h.map((e,t)=>(0,s.jsx)("a",{href:a?e.url:"#",onClick:a?void 0:e=>e.preventDefault(),className:"text-sm font-medium py-2 px-2 rounded hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",children:e.text},t)),c.showCta&&(0,s.jsx)("a",{href:a?c.ctaUrl:"#",onClick:a?void 0:e=>e.preventDefault(),className:"mt-2 text-center px-4 py-2 rounded-lg text-sm font-medium transition-colors hover:opacity-90",style:{backgroundColor:d.buttonBackgroundColor||"#3b82f6",color:d.buttonTextColor||"#ffffff"},children:c.ctaText||"Get Started"})]})})]})}},57685:function(e,t,a){a.d(t,{U:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}=e,{content:n,style:o}=t,i="mobile"===r,c="tablet"===r,d="left-image"===n.layout,x="right-image"===n.layout,m=(d||x)&&!i;return(0,s.jsxs)("div",{style:{backgroundColor:o.backgroundColor||"#f8fafc",color:o.textColor||"#1e293b",textAlign:o.textAlign||"center",backgroundImage:n.image&&!m?"url(".concat(n.image,")"):void 0,backgroundSize:"cover",backgroundPosition:"center"},className:"relative",children:[n.image&&!m&&(0,s.jsx)("div",{className:"absolute inset-0 bg-black/40"}),(0,s.jsx)("div",{className:(0,l.cn)(i&&"px-4 py-10",c&&"px-6 py-14",!i&&!c&&"px-8 py-20"),children:(0,s.jsxs)("div",{className:(0,l.cn)("relative z-10 mx-auto",i&&"max-w-full",c&&"max-w-4xl",!i&&!c&&"max-w-[1400px]",m&&"flex items-center gap-8",d&&"flex-row-reverse"),children:[m&&n.image&&(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("img",{src:n.image,alt:n.headline,className:"w-full h-auto rounded-lg shadow-xl"})}),(0,s.jsxs)("div",{className:(0,l.cn)("flex-1",!m&&"max-w-3xl mx-auto"),children:[(0,s.jsx)("h1",{className:(0,l.cn)("font-bold tracking-tight",n.image&&!m?"text-white":"",i&&"text-2xl",c&&"text-3xl",!i&&!c&&"text-5xl"),children:n.headline||"Your Amazing Headline Here"}),(0,s.jsx)("p",{className:(0,l.cn)("whitespace-pre-line",n.image&&!m?"text-white/90":"opacity-80",i&&"mt-3 text-sm",c&&"mt-4 text-base",!i&&!c&&"mt-6 text-xl",n.alignBullets&&"text-left inline-block"),children:n.subheadline||"Add a compelling subheadline that explains your value proposition"}),(0,s.jsxs)("div",{className:(0,l.cn)("flex gap-3",i&&"mt-6 flex-col",c&&"mt-8",!i&&!c&&"mt-10","center"===o.textAlign&&"justify-center","right"===o.textAlign&&"justify-end"),children:[(0,s.jsx)("a",{href:a?n.ctaUrl:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("inline-flex items-center justify-center rounded-lg font-semibold","transition-colors shadow-lg hover:shadow-xl hover:opacity-90",i&&"px-5 py-2.5 text-sm",c&&"px-6 py-3 text-base",!i&&!c&&"px-8 py-4 text-lg"),style:{backgroundColor:o.buttonBackgroun
1dColor||"#3b82f6",color:o.buttonTextColor||"#ffffff"},children:n.ctaText||"Get Started"}),n.showSecondaryButton&&(0,s.jsx)("a",{href:a?n.secondaryCtaUrl:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("inline-flex items-center justify-center rounded-lg font-semibold","border-2 transition-colors hover:opacity-90",i&&"px-5 py-2.5 text-sm",c&&"px-6 py-3 text-base",!i&&!c&&"px-8 py-4 text-lg"),style:{backgroundColor:o.secondaryButtonBackgroundColor||(n.image&&!m?"transparent":"#ffffff"),color:o.secondaryButtonTextColor||(n.image&&!m?"#ffffff":"#374151"),borderColor:o.secondaryButtonBorderColor||(n.image&&!m?"#ffffff":"#d1d5db")},children:n.secondaryCtaText||"Learn More"})]})]})]})})]})}},92677:function(e,t,a){a.d(t,{r:function(){return n}});var s=a(57437),l=a(93448),r=a(53113);function n(e){let{block:t,isPreview:a,deviceView:n="desktop"}=e,{content:o,style:i}=t,c="mobile"===n,d={borderRadius:i.borderRadius||"8px"},x={"16:9":"aspect-video","4:3":"aspect-[4/3]","1:1":"aspect-square",auto:""}[o.aspectRatio]||"";if(!o.src)return(0,s.jsx)("div",{style:{backgroundColor:i.backgroundColor||"transparent",textAlign:i.textAlign||"center"},className:(0,l.cn)(c?"px-4 py-4":"px-6 py-6"),children:(0,s.jsx)("div",{className:"max-w-[1400px] mx-auto",children:(0,s.jsxs)("div",{className:(0,l.cn)("flex flex-col items-center justify-center bg-gray-100 rounded-lg border-2 border-dashed border-gray-300",x||"min-h-[150px]",c?"p-6":"p-12"),children:[(0,s.jsx)(r.Z,{className:(0,l.cn)("text-gray-400 mb-2",c?"w-8 h-8":"w-12 h-12")}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-500",c?"text-xs":"text-sm"),children:"No image selected"}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-400 mt-1",c?"text-[10px]":"text-xs"),children:"Click to add an image"})]})})});let m=(0,s.jsx)("img",{src:o.src,alt:o.alt||"Image",style:d,className:(0,l.cn)("w-full h-auto object-cover",x)});return(0,s.jsx)("div",{style:{backgroundColor:i.backgroundColor||"transparent",textAlign:i.textAlign||"center"},className:(0,l.cn)(c?"px-4 py-4":"px-6 py-6"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[o.link&&a?(0,s.jsx)("a",{href:o.link,target:"_blank",rel:"noopener noreferrer",children:m}):m,o.caption&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 text-gray-500 text-center",c?"text-xs":"text-sm"),children:o.caption})]})})}},68009:function(e,t,a){a.d(t,{S:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}=e,{content:n,style:o}=t,i="mobile"===r,c="tablet"===r,d=n.logos||[];return(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"#f8fafc",color:o.textColor||"#64748b"},children:(0,s.jsx)("div",{className:(0,l.cn)(i&&"px-4 py-6",c&&"px-6 py-8",!i&&!c&&"px-8 py-12"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[n.title&&(0,s.jsx)("p",{className:(0,l.cn)("text-center font-medium mb-6",i&&"text-xs",c&&"text-sm",!i&&!c&&"text-sm"),children:n.title}),(0,s.jsx)("div",{className:(0,l.cn)("grid items-center justify-items-center",i?"gap-4":"gap-8"),style:{gridTemplateColumns:"repeat(".concat(i?2:c?3:Math.min(d.length,6),", 1fr)")},children:d.map((e,t)=>(0,s.jsx)("div",{className:(0,l.cn)("flex items-center justify-center grayscale opacity-60 hover:grayscale-0 hover:opacity-100 transition-all",i?"h-8":"h-12"),children:e.image?(0,s.jsx)("img",{src:e.image,alt:e.name||"Logo ".concat(t+1),className:(0,l.cn)("max-h-full w-auto object-contain",i?"max-w-[80px]":"max-w-[120px]")}):(0,s.jsx)("div",{className:(0,l.cn)("px-3 py-1.5 bg-gray-200 rounded font-semibold text-gray-500",i?"text-xs":"text-sm"),children:e.name||"Logo ".concat(t+1)})},t))})]})})})}},92624:function(e,t,a){a.d(t,{Q:function(){return c}});var s=a(57437),l=a(93448),r=a(83774),n=a(13041),o=a(89345),i=a(91723);function c(e){let{block:t,isPreview:a,deviceView:c="desktop"}=e,{content:d,style:x}=t,m="mobile"===c,u="tablet"===c,p=d.embedUrl||"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d387193.30596698663!2d-74.25986548248684!3d40.69714941932609!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c24fa5d33f083b%3A0xc80b8f06e177fe62!2sNew%20York%2C%20NY%2C%20USA!5e0!3m2!1sen!2s!4v1640000000000!5m2!1sen!2s";return(0,s.jsx)("div",{style:{backgroundColor:x.backgroundColor||"#ffffff",color:x.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)(m&&"px-4 py-6",u&&"px-6 py-10",!m&&!u&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[d.title&&(0,s.jsx)("div",{className:(0,l.cn)("text-center",m?"mb-6":"mb-10"),children:(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",m&&"text-xl",u&&"text-2xl",!m&&!u&&"text-3xl"),children:d.title})}),(0,s.jsxs)("div",{className:(0,l.cn)("grid",m?"gap-4":"gap-8",d.showContactInfo?m?"grid-cols-1":"grid-cols-1 lg:grid-cols-3":"grid-cols-1"),style:{gridTemplateColumns:d.showContactInfo?m?"1fr":u?"1fr":"2fr 1fr":"1fr"}
1,children:[(0,s.jsx)("div",{className:(0,l.cn)("rounded-xl overflow-hidden shadow-md",m?"h-48":"h-64"),children:(0,s.jsx)("iframe",{src:p,width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})}),d.showContactInfo&&(0,s.jsxs)("div",{className:(0,l.cn)("bg-gray-50 rounded-xl",m&&"p-4",u&&"p-5",!m&&!u&&"p-6"),children:[(0,s.jsx)("h3",{className:(0,l.cn)("font-semibold mb-4",m?"text-base":"text-lg"),children:d.contactTitle||"Contact Us"}),(0,s.jsxs)("div",{className:(0,l.cn)("space-y-3",m?"text-xs":"text-sm"),children:[d.address&&(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(r.Z,{className:(0,l.cn)("shrink-0 text-blue-600",m?"w-4 h-4":"w-5 h-5")}),(0,s.jsx)("span",{children:d.address})]}),d.phone&&(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(n.Z,{className:(0,l.cn)("shrink-0 text-blue-600",m?"w-4 h-4":"w-5 h-5")}),(0,s.jsx)("span",{children:d.phone})]}),d.email&&(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(o.Z,{className:(0,l.cn)("shrink-0 text-blue-600",m?"w-4 h-4":"w-5 h-5")}),(0,s.jsx)("span",{children:d.email})]}),d.hours&&(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(i.Z,{className:(0,l.cn)("shrink-0 text-blue-600",m?"w-4 h-4":"w-5 h-5")}),(0,s.jsx)("span",{children:d.hours})]})]})]})]})]})})})}},34110:function(e,t,a){a.d(t,{Y:function(){return n}});var s=a(57437),l=a(93448),r=a(30401);function n(e){let{block:t,isPreview:a,deviceView:n="desktop"}=e,{content:o,style:i}=t,c="mobile"===n,d="tablet"===n,x=o.plans||[];return(0,s.jsx)("div",{style:{backgroundColor:i.backgroundColor||"#ffffff",color:i.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)(c&&"px-3 py-6",d&&"px-6 py-10",!c&&!d&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[(0,s.jsxs)("div",{className:(0,l.cn)("text-center",c?"mb-6":"mb-12"),children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",c&&"text-lg",d&&"text-2xl",!c&&!d&&"text-3xl"),children:o.title||"Simple, Transparent Pricing"}),o.subtitle&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 opacity-80",c?"text-xs":"text-base"),children:o.subtitle})]}),(0,s.jsx)("div",{className:(0,l.cn)("grid",c?"gap-4":"gap-6"),style:{gridTemplateColumns:c?"1fr":d?"repeat(2, 1fr)":"repeat(".concat(Math.min(x.length,3),", 1fr)")},children:x.map((e,t)=>{var a;return(0,s.jsxs)("div",{className:(0,l.cn)("relative rounded-xl transition-all",c&&"p-4",d&&"p-5",!c&&!d&&"p-6",e.highlighted?"bg-blue-600 text-white shadow-lg border-2 border-blue-600":"bg-white border border-gray-200 shadow-sm"),children:[e.highlighted&&(0,s.jsx)("div",{className:(0,l.cn)("absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-0.5 bg-blue-500 text-white font-medium rounded-full",c?"text-[10px]":"text-xs"),children:"Most Popular"}),(0,s.jsxs)("div",{className:(0,l.cn)("text-center",c?"mb-3":"mb-5"),children:[(0,s.jsx)("h3",{className:(0,l.cn)("font-bold",c?"text-base":"text-lg"),children:e.name}),(0,s.jsx)("p",{className:(0,l.cn)(e.highlighted?"text-blue-100":"text-gray-500",c?"text-[10px] mt-0.5":"text-xs mt-1"),children:e.description})]}),(0,s.jsxs)("div",{className:(0,l.cn)("text-center",c?"mb-3":"mb-5"),children:[(0,s.jsx)("span",{className:(0,l.cn)("font-bold",c?"text-2xl":"text-3xl"),children:e.price}),(0,s.jsxs)("span",{className:(0,l.cn)(e.highlighted?"text-blue-100":"text-gray-500",c?"text-[10px]":"text-xs"),children:["/",e.period||"month"]})]}),(0,s.jsx)("ul",{className:(0,l.cn)("mb-4",c?"space-y-1.5":"space-y-2"),children:null===(a=e.features)||void 0===a?void 0:a.map((t,a)=>(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)(r.Z,{className:(0,l.cn)("shrink-0",c?"w-3 h-3":"w-4 h-4",e.highlighted?"text-blue-200":"text-green-500")}),(0,s.jsx)("span",{className:c?"text-[10px]":"text-xs",children:t})]},a))}),(0,s.jsx)("a",{href:"#",onClick:e=>e.preventDefault(),className:(0,l.cn)("block w-full rounded-lg text-center font-medium transition-colors",c&&"py-2 text-xs",d&&"py-2.5 text-sm",!c&&!d&&"py-3 text-sm",e.highlighted?"bg-white text-blue-600 hover:bg-blue-50":"bg-blue-600 text-white hover:bg-blue-700"),
1children:e.ctaText||"Get Started"})]},t)})})]})})})}},63292:function(e,t,a){a.d(t,{v:function(){return i}});var s=a(57437),l=a(93448),r=a(88997),n=a(16275),o=a(86595);function i(e){let{block:t,isPreview:a,deviceView:i="desktop"}=e,{content:c,style:d}=t,x="mobile"===i,m="tablet"===i,u=c.products||[];return(0,s.jsx)("div",{style:{backgroundColor:d.backgroundColor||"#ffffff",color:d.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)(x&&"px-4 py-6",m&&"px-6 py-10",!x&&!m&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[c.title&&(0,s.jsx)("div",{className:(0,l.cn)("text-center",x?"mb-6":"mb-12"),children:(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",x&&"text-xl",m&&"text-2xl",!x&&!m&&"text-3xl"),children:c.title})}),(0,s.jsx)("div",{className:(0,l.cn)("grid",x?"gap-4":"gap-6"),style:{gridTemplateColumns:"repeat(".concat(x?1:m?2:Math.min(u.length,4),", 1fr)")},children:u.map((e,t)=>(0,s.jsxs)("div",{className:(0,l.cn)("relative bg-white rounded-xl shadow-sm overflow-hidden border border-gray-100 group",x&&"p-3",m&&"p-4",!x&&!m&&"p-4"),children:[e.badge&&(0,s.jsx)("span",{className:(0,l.cn)("absolute top-2 left-2 px-2 py-0.5 bg-red-500 text-white font-medium rounded-full z-10",x?"text-[10px]":"text-xs"),children:e.badge}),(0,s.jsx)("button",{className:"absolute top-2 right-2 p-1.5 bg-white/80 rounded-full opacity-0 group-hover:opacity-100 transition-opacity z-10",onClick:e=>e.preventDefault(),children:(0,s.jsx)(r.Z,{className:(0,l.cn)("text-gray-400 hover:text-red-500",x?"w-3 h-3":"w-4 h-4")})}),(0,s.jsx)("div",{className:(0,l.cn)("relative bg-gray-100 rounded-lg overflow-hidden mb-3",x?"h-32":"h-48"),children:e.image?(0,s.jsx)("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover"}):(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center text-gray-400",children:(0,s.jsx)(n.Z,{className:"w-8 h-8"})})}),(0,s.jsx)("h3",{className:(0,l.cn)("font-semibold truncate",x?"text-sm":"text-base"),children:e.name}),e.rating&&(0,s.jsxs)("div",{className:"flex items-center gap-1 mt-1",children:[[void 0,void 0,void 0,void 0,void 0].map((t,a)=>(0,s.jsx)(o.Z,{className:(0,l.cn)(x?"w-3 h-3":"w-4 h-4",a<e.rating?"text-yellow-400 fill-yellow-400":"text-gray-200")},a)),e.reviews&&(0,s.jsxs)("span",{className:(0,l.cn)("text-gray-400 ml-1",x?"text-[10px]":"text-xs"),children:["(",e.reviews,")"]})]}),(0,s.jsxs)("div",{className:(0,l.cn)("flex items-center justify-between mt-2",x?"gap-2":"gap-3"),children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:(0,l.cn)("font-bold",x?"text-base":"text-lg"),children:e.price}),e.originalPrice&&(0,s.jsx)("span",{className:(0,l.cn)("ml-1 line-through text-gray-400",x?"text-xs":"text-sm"),children:e.originalPrice})]}),(0,s.jsxs)("a",{href:a&&e.url||"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("flex items-center gap-1 px-3 py-1.5 bg-blue-600 hover:bg-blue-700 text-white rounded-lg transition-colors",x?"text-xs":"text-sm"),children:[(0,s.jsx)(n.Z,{className:x?"w-3 h-3":"w-4 h-4"}),(0,s.jsx)("span",{children:"Add"})]})]})]},t))})]})})})}},41760:function(e,t,a){a.d(t,{z:function(){return i}});var s=a(57437),l=a(93448),r=a(86595),n=a(65302),o=a(31810);function i(e){let{block:t,isPreview:a,deviceView:i="desktop"}=e,{content:c,style:d}=t,x="mobile"===i,m="tablet"===i,u=c.reviews||[];return(0,s.jsx)("div",{style:{backgroundColor:d.backgroundColor||"#ffffff",color:d.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)(x&&"px-4 py-6",m&&"px-6 py-10",!x&&!m&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1200px] mx-auto",children:[c.title&&(0,s.jsxs)("div",{className:(0,l.cn)("text-center",x?"mb-6":"mb-10"),children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",x&&"text-xl",m&&"text-2xl",!x&&!m&&"text-3xl"),children:c.title}),c.showSummary&&(0,s.jsxs)("div",{className:(0,l.cn)("flex items-center justify-center mt-4",x?"gap-2":"gap-4"),children:[(0,s.jsx)("div",{className:"flex gap-0.5",children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsx)(r.Z,{className:(0,l.cn)(x?"w-4 h-4":"w-6 h-6",t<Math.round(c.averageRating||4.5)?"text-yellow-400 fill-yellow-400":"text-gray-200")},t))}),(0,s.jsxs)("span",{className:(0,l.cn)("font-semibold",x?"text-sm":"text-lg"),children:[c.averageRating||"4.5"," out of 5"]}),(0,s.jsxs)("span",{className:(0,l.cn)("text-gray-500",x?"text-xs":"text-sm"),children:["(",c.totalReviews||"100","+ reviews)"]})]})]}
1),(0,s.jsx)("div",{className:(0,l.cn)("space-y-4",x?"space-y-3":"space-y-5"),children:u.map((e,t)=>{var a;return(0,s.jsxs)("div",{className:(0,l.cn)("bg-gray-50 rounded-xl",x&&"p-4",m&&"p-5",!x&&!m&&"p-6"),children:[(0,s.jsx)("div",{className:"flex items-start justify-between",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[e.avatar?(0,s.jsx)("img",{src:e.avatar,alt:e.author,className:(0,l.cn)("rounded-full object-cover",x?"w-8 h-8":"w-10 h-10")}):(0,s.jsx)("div",{className:(0,l.cn)("rounded-full bg-blue-100 flex items-center justify-center",x?"w-8 h-8":"w-10 h-10"),children:(0,s.jsx)("span",{className:(0,l.cn)("text-blue-600 font-semibold",x?"text-sm":"text-base"),children:(null===(a=e.author)||void 0===a?void 0:a.charAt(0))||"R"})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:(0,l.cn)("font-semibold",x?"text-sm":"text-base"),children:e.author}),e.verified&&(0,s.jsx)(n.Z,{className:(0,l.cn)("text-green-500",x?"w-3 h-3":"w-4 h-4")})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"flex gap-0.5",children:[void 0,void 0,void 0,void 0,void 0].map((t,a)=>(0,s.jsx)(r.Z,{className:(0,l.cn)(x?"w-3 h-3":"w-4 h-4",a<e.rating?"text-yellow-400 fill-yellow-400":"text-gray-200")},a))}),e.date&&(0,s.jsx)("span",{className:(0,l.cn)("text-gray-400",x?"text-[10px]":"text-xs"),children:e.date})]})]})]})}),e.title&&(0,s.jsx)("h4",{className:(0,l.cn)("font-semibold mt-3",x?"text-sm":"text-base"),children:e.title}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-600 mt-2",x?"text-xs":"text-sm"),children:e.content}),void 0!==e.helpful&&(0,s.jsx)("div",{className:(0,l.cn)("flex items-center gap-2 mt-3",x?"text-xs":"text-sm"),children:(0,s.jsxs)("button",{className:"flex items-center gap-1 text-gray-400 dark:text-gray-500 hover:text-blue-600 dark:hover:text-blue-400 transition-colors",onClick:e=>e.preventDefault(),children:[(0,s.jsx)(o.Z,{className:x?"w-3 h-3":"w-4 h-4"}),(0,s.jsxs)("span",{children:["Helpful (",e.helpful,")"]})]})})]},t)})})]})})})}},66867:function(e,t,a){a.d(t,{A:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}=e,{content:n,style:o}=t,i="mobile"===r,c="tablet"===r;return(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"#ffffff",color:o.textColor||"#1e293b",textAlign:o.textAlign||"center"},children:(0,s.jsxs)("div",{className:(0,l.cn)("max-w-[1200px] mx-auto",i&&"px-4 py-6",c&&"px-6 py-10",!i&&!c&&"px-8 py-16"),children:[!1!==n.showTitle&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",i&&"text-xl",c&&"text-2xl",!i&&!c&&"text-3xl"),children:n.title||"Section Title"}),n.subtitle&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 opacity-80",i?"text-sm":"text-lg"),children:n.subtitle})]}),n.content&&(0,s.jsx)("div",{className:(0,l.cn)("mt-4 prose max-w-none",i&&"prose-sm",!i&&"prose-lg"),dangerouslySetInnerHTML:{__html:n.content}})]})})}},65282:function(e,t,a){a.d(t,{F:function(){return o}});var s=a(57437),l=a(93448);let r=e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})})},n={twitter:r,facebook:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})},instagram:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})},linkedin:e=>{let{className:t}=e;
1return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})},youtube:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})},github:e=>{let{className:t}=e;return(0,s.jsx)("svg",{className:t,viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})})}};function o(e){let{block:t,isPreview:a,deviceView:o="desktop"}=e,{content:i,style:c}=t,d="mobile"===o,x=i.links||[];return(0,s.jsx)("div",{style:{backgroundColor:c.backgroundColor||"transparent",textAlign:c.textAlign||"center"},children:(0,s.jsxs)("div",{className:(0,l.cn)(d?"px-4 py-4":"px-6 py-6"),children:[i.title&&(0,s.jsx)("h3",{className:(0,l.cn)("font-semibold mb-3",d?"text-sm":"text-base"),children:i.title}),(0,s.jsx)("div",{className:(0,l.cn)("flex justify-center flex-wrap",d?"gap-3":"gap-4"),children:x.map((e,t)=>{let o=n[e.platform]||r;return(0,s.jsx)("a",{href:a?e.url:"#",onClick:a?void 0:e=>e.preventDefault(),className:(0,l.cn)("flex items-center justify-center rounded-full bg-gray-100 hover:bg-gray-200 text-gray-600 transition-colors",d?"w-8 h-8":"w-10 h-10"),children:(0,s.jsx)(o,{className:d?"w-4 h-4":"w-5 h-5"})},t)})})]})})}},31675:function(e,t,a){a.d(t,{x:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}=e,{content:n,style:o}=t,i=n.stats||[],c="mobile"===r,d="tablet"===r;return(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"#3b82f6",color:o.textColor||"#ffffff",textAlign:o.textAlign||"center"},children:(0,s.jsx)("div",{className:(0,l.cn)(c&&"px-3 py-6",d&&"px-6 py-8",!c&&!d&&"px-8 py-12"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[n.title&&(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",c&&"text-lg mb-4",d&&"text-xl mb-6",!c&&!d&&"text-3xl mb-12"),children:n.title}),(0,s.jsx)("div",{className:(0,l.cn)("grid",c&&"gap-3",d&&"gap-4",!c&&!d&&"gap-8"),style:{gridTemplateColumns:"repeat(".concat(c||d?2:Math.min(i.length,4),", minmax(0, 1fr))")},children:i.map((e,t)=>(0,s.jsxs)("div",{className:(0,l.cn)("text-center",c&&"p-2",d&&"p-3",!c&&!d&&"p-4"),children:[(0,s.jsx)("div",{className:(0,l.cn)("font-bold",c&&"text-xl mb-0.5",d&&"text-2xl mb-1",!c&&!d&&"text-4xl mb-2"),children:e.value}),(0,s.jsx)("div",{className:(0,l.cn)("opacity-80",c&&"text-[10px]",d&&"text-xs",!c&&!d&&"text-base"),children:e.label})]},t))})]})})})}},41616:function(e,t,a){a.d(t,{p:function(){return i}});var s=a(57437),l=a(93448),r=a(50598),n=a(42351),o=a(89345);function i(e){let{block:t,isPreview:a,deviceView:i="desktop"}
1=e,{content:c,style:d}=t,x="mobile"===i,m="tablet"===i,u=c.members||[];return(0,s.jsx)("div",{style:{backgroundColor:d.backgroundColor||"#ffffff",color:d.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)(x&&"px-4 py-6",m&&"px-6 py-10",!x&&!m&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[c.title&&(0,s.jsxs)("div",{className:(0,l.cn)("text-center",x?"mb-6":"mb-12"),children:[(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",x&&"text-xl",m&&"text-2xl",!x&&!m&&"text-3xl"),children:c.title}),c.subtitle&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 opacity-80",x?"text-xs":"text-base"),children:c.subtitle})]}),(0,s.jsx)("div",{className:(0,l.cn)("grid",x?"gap-4":"gap-6"),style:{gridTemplateColumns:"repeat(".concat(x?1:m?2:Math.min(u.length,4),", 1fr)")},children:u.map((e,t)=>{var i;return(0,s.jsxs)("div",{className:(0,l.cn)("text-center bg-gray-50 rounded-xl",x&&"p-4",m&&"p-5",!x&&!m&&"p-6"),children:[e.avatar?(0,s.jsx)("img",{src:e.avatar,alt:e.name,className:(0,l.cn)("mx-auto rounded-full object-cover",x?"w-16 h-16":"w-24 h-24")}):(0,s.jsx)("div",{className:(0,l.cn)("mx-auto rounded-full bg-blue-100 flex items-center justify-center",x?"w-16 h-16":"w-24 h-24"),children:(0,s.jsx)("span",{className:(0,l.cn)("text-blue-600 font-bold",x?"text-xl":"text-2xl"),children:(null===(i=e.name)||void 0===i?void 0:i.charAt(0))||"T"})}),(0,s.jsx)("h3",{className:(0,l.cn)("font-semibold mt-3",x?"text-sm":"text-base"),children:e.name}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-500",x?"text-xs":"text-sm"),children:e.role}),e.bio&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 text-gray-600",x?"text-xs":"text-sm"),children:e.bio}),(0,s.jsxs)("div",{className:(0,l.cn)("flex justify-center mt-3",x?"gap-2":"gap-3"),children:[e.linkedin&&(0,s.jsx)("a",{href:a?e.linkedin:"#",onClick:a?void 0:e=>e.preventDefault(),className:"text-gray-400 dark:text-gray-500 hover:text-blue-600 dark:hover:text-blue-400 transition-colors",children:(0,s.jsx)(r.Z,{className:x?"w-4 h-4":"w-5 h-5"})}),e.twitter&&(0,s.jsx)("a",{href:a?e.twitter:"#",onClick:a?void 0:e=>e.preventDefault(),className:"text-gray-400 dark:text-gray-500 hover:text-blue-400 dark:hover:text-blue-300 transition-colors",children:(0,s.jsx)(n.Z,{className:x?"w-4 h-4":"w-5 h-5"})}),e.email&&(0,s.jsx)("a",{href:a?"mailto:".concat(e.email):"#",onClick:a?void 0:e=>e.preventDefault(),className:"text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 transition-colors",children:(0,s.jsx)(o.Z,{className:x?"w-4 h-4":"w-5 h-5"})})]})]},t)})})]})})})}},80156:function(e,t,a){a.d(t,{S:function(){return o}});var s=a(57437),l=a(93448),r=a(74656),n=a(86595);function o(e){let{block:t,isPreview:a,deviceView:o="desktop"}=e,{content:i,style:c}=t,d="mobile"===o,x="tablet"===o,m=i.testimonials||[];return(0,s.jsx)("div",{style:{backgroundColor:c.backgroundColor||"#f8fafc",color:c.textColor||"#1e293b"},children:(0,s.jsx)("div",{className:(0,l.cn)(d&&"px-4 py-6",x&&"px-6 py-10",!d&&!x&&"px-8 py-16"),children:(0,s.jsxs)("div",{className:"max-w-[1400px] mx-auto",children:[i.title&&(0,s.jsx)("div",{className:(0,l.cn)("text-center",d?"mb-6":"mb-12"),children:(0,s.jsx)("h2",{className:(0,l.cn)("font-bold",d&&"text-xl",x&&"text-2xl",!d&&!x&&"text-3xl"),children:i.title})}),(0,s.jsx)("div",{className:(0,l.cn)("grid",d?"gap-4":"gap-6"),style:{gridTemplateColumns:d?"1fr":x?"repeat(2, 1fr)":"repeat(".concat(Math.min(m.length,3),", 1fr)")},children:m.map((e,t)=>{var a;return(0,s.jsxs)("div",{className:(0,l.cn)("relative bg-white rounded-xl shadow-sm",d&&"p-4",x&&"p-5",!d&&!x&&"p-6"),children:[(0,s.jsx)(r.Z,{className:(0,l.cn)("absolute top-3 right-3 text-blue-100",d?"w-5 h-5":"w-8 h-8")}),e.rating&&(0,s.jsx)("div",{className:"flex gap-0.5 mb-3",children:[void 0,void 0,void 0,void 0,void 0].map((t,a)=>(0,s.jsx)(n.Z,{className:(0,l.cn)(d?"w-3 h-3":"w-4 h-4",a<e.rating?"text-yellow-400 fill-yellow-400":"text-gray-200")},a))}),(0,s.jsxs)("p",{className:(0,l.cn)("text-gray-600 italic",d?"text-xs mb-4":"text-sm mb-6"),children:['"',e.quote,'"']}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[e.avatar?(0,s.jsx)("img",{src:e.avatar,alt:e.author,className:(0,l.cn)("rounded-full object-cover",d?"w-8 h-8":"w-10 h-10")}):(0,s.jsx)("div",{className:(0,l.cn)("rounded-full bg-blue-100 flex items-center justify-center",d?"w-8 h-8":"w-10 h-10"),children:(0,s.jsx)("span",{className:(0,l.cn)("text-blue-600 font-semibold",d?"text-sm":"text-base"),children:(null===(a=e.author)||void 0===a?void 0:a.charAt(0))||"A"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:(0,l.cn)("font-semibold",d?"text-xs":"text-sm"),children:e.author}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-500",d?"text-[10px]":"text-xs"),children:e.role})]})]})]},t)})})]})})})}},8515:function(e,t,a){a.d(t,{a:function(){return r}});var s=a(57437),l=a(93448);function r(e){let{block:t,isPreview:a,deviceView:r="desktop"}
1=e,{content:n,style:o}=t,i="mobile"===r;return(0,s.jsx)("div",{style:{backgroundColor:o.backgroundColor||"transparent",color:o.textColor||"#1e293b",textAlign:o.textAlign||"left"},className:(0,l.cn)("max-w-[1400px] mx-auto",i?"px-4 py-4":"px-6 py-6"),children:(0,s.jsx)("div",{className:(0,l.cn)("prose prose-slate max-w-none",i&&"prose-sm"),style:{fontSize:i?"14px":o.fontSize||"16px"},dangerouslySetInnerHTML:{__html:n.content||"<p>Add your text content here.</p>"}})})}},73931:function(e,t,a){a.d(t,{n:function(){return o}});var s=a(57437),l=a(93448),r=a(29374),n=a(33276);function o(e){let{block:t,isPreview:a,deviceView:o="desktop"}=e,{content:i,style:c}=t,d="mobile"===o,x=e=>{if(!e)return!1;let t=e.toLowerCase();return[".mp4",".webm",".ogg",".mov"].some(e=>t.includes(e))||e.includes("fal.media")||e.includes("replicate.delivery")||e.includes("s3.")||e.includes("storage.")},m=i.videoUrl||i.url||"",u=x(m),p=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if(!e)return"";if(x(e))return e;let l=new URLSearchParams;if(a&&(l.append("autoplay","1"),l.append("mute","1")),"youtube"===t){let t=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);if(t){s||l.append("controls","0"),l.append("rel","0");let e=l.toString();return"https://www.youtube.com/embed/".concat(t[1]).concat(e?"?"+e:"")}}if("vimeo"===t){let t=e.match(/vimeo\.com\/(\d+)/);if(t){a&&l.append("background","1");let e=l.toString();return"https://player.vimeo.com/video/".concat(t[1]).concat(e?"?"+e:"")}}return e}(m,i.type||"youtube",i.autoplay||!1,!1!==i.controls);return m?(0,s.jsx)("div",{style:{backgroundColor:c.backgroundColor||"transparent"},className:(0,l.cn)(d?"px-4 py-4":"px-6 py-6"),children:(0,s.jsxs)("div",{className:"max-w-[1200px] mx-auto",children:[(0,s.jsx)("div",{className:(0,l.cn)("aspect-video rounded-lg overflow-hidden bg-black",d&&"rounded-md"),children:u?(0,s.jsx)("video",{src:m,className:"w-full h-full object-cover",autoPlay:i.autoplay||!1,muted:!1!==i.muted,loop:i.loop||!1,controls:!1!==i.controls,playsInline:!0,poster:i.poster||void 0,children:"Your browser does not support the video tag."}):p?(0,s.jsx)("iframe",{src:p,className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:i.title||"Embedded video"}):(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center bg-gray-900",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)(n.Z,{className:(0,l.cn)("text-white/50 mx-auto mb-2",d?"w-10 h-10":"w-16 h-16")}),(0,s.jsx)("p",{className:(0,l.cn)("text-white/70",d?"text-xs":"text-base"),children:"Video preview"})]})})}),i.caption&&(0,s.jsx)("p",{className:(0,l.cn)("mt-2 text-center text-gray-600",d?"text-xs":"text-sm"),children:i.caption})]})}):(0,s.jsx)("div",{style:{backgroundColor:c.backgroundColor||"transparent"},className:(0,l.cn)(d?"px-4 py-4":"px-6 py-6"),children:(0,s.jsx)("div",{className:"max-w-[1200px] mx-auto",children:(0,s.jsxs)("div",{className:(0,l.cn)("aspect-video bg-gray-100 rounded-lg flex flex-col items-center justify-center border-2 border-dashed border-gray-300"),children:[(0,s.jsx)(r.Z,{className:(0,l.cn)("text-gray-400 mb-2",d?"w-8 h-8":"w-12 h-12")}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-500",d?"text-xs":"text-sm"),children:"Add a video URL"}),(0,s.jsx)("p",{className:(0,l.cn)("text-gray-400 mt-1",d?"text-[10px]":"text-xs"),children:"Supports YouTube, Vimeo, or direct video files"})]})})})}},66042:function(e,t,a){a.d(t,{Fh:function(){return Z},OK:function(){return D},Od:function(){return B},Ys:function(){return M},gG:function(){return A}});var s=a(89291),l=a(75277),r=a(11239),n=a(86595),o=a(37533),i=a(95252),c=a(85954),d=a(58293),x=a(93807),m=a(53113),u=a(29374),p=a(41473),h=a(65302),f=a(74656),g=a(33327),b=a(46221),y=a(48736),v=a(28645),j=a(89345),N=a(16275),w=a(70112),C=a(49724),k=a(83774),S=a(68919);let D=[{id:"layout",name:"Layout",icon:s.Z},{id:"content",name:"Content",icon:l.Z},{id:"features",name:"Features",icon:r.Z},{id:"social",name:"Social Proof",icon:n.Z},{id:"conversion",name:"Conversion",icon:o.Z},{id:"commerce",name:"Commerce",icon:i.Z},{id:"special",name:"Special",icon:c.Z}],A={hero:{type:"hero",name:"Hero Section",description:"Large banner with headline and CTA",icon:s.Z,category:"layout",defaultContent:{headline:"Your Amazing Headline Here",subheadline:"Add a compelling subheadline that explains your value proposition",ctaText:"Get Started",ctaUrl:"#",secondaryCtaText:"Learn More",secondaryCtaUrl:"#",showSecondaryButton:!0,image:"",alignment:"center",layout:"centered",alignBullets:!1},defaultStyle:{backgroundColor:"#f8fafc",textColor:"#1e293b",buttonBackgroun
1dColor:"#3b82f6",buttonTextColor:"#ffffff",secondaryButtonBackgroundColor:"#ffffff",secondaryButtonTextColor:"#374151",secondaryButtonBorderColor:"#d1d5db",padding:{top:80,right:24,bottom:80,left:24,unit:"px"},textAlign:"center"}},header:{type:"header",name:"Header",description:"Navigation header with logo",icon:d.Z,category:"layout",defaultContent:{logo:"",logoText:"Your Brand",navLinks:[{text:"Home",url:"#"},{text:"Features",url:"#features"},{text:"Pricing",url:"#pricing"},{text:"Contact",url:"#contact"}],ctaText:"Get Started",ctaUrl:"#",showCta:!0},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",buttonBackgroundColor:"#3b82f6",buttonTextColor:"#ffffff",padding:{top:16,right:24,bottom:16,left:24,unit:"px"}}},footer:{type:"footer",name:"Footer",description:"Page footer with links",icon:s.Z,category:"layout",defaultContent:{logo:"",logoText:"Your Brand",description:"A brief description of your company or product.",columns:[{title:"Product",links:[{text:"Features",url:"#"},{text:"Pricing",url:"#"},{text:"FAQ",url:"#"}]},{title:"Company",links:[{text:"About",url:"#"},{text:"Blog",url:"#"},{text:"Careers",url:"#"}]},{title:"Legal",links:[{text:"Privacy",url:"#"},{text:"Terms",url:"#"}]}],copyright:"\xa9 2024 Your Company. All rights reserved.",socialLinks:[{platform:"twitter",url:"#"},{platform:"linkedin",url:"#"},{platform:"facebook",url:"#"}]},defaultStyle:{backgroundColor:"#1e293b",textColor:"#f1f5f9",padding:{top:48,right:24,bottom:24,left:24,unit:"px"}}},section:{type:"section",name:"Section",description:"Generic content section",icon:s.Z,category:"layout",defaultContent:{title:"Section Title",subtitle:"A brief description of this section",showTitle:!0},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"},textAlign:"center"}},columns:{type:"columns",name:"Columns",description:"Multi-column layout",icon:x.Z,category:"layout",defaultContent:{columns:3,gap:24,items:[{title:"Column 1",content:"Add your content here"},{title:"Column 2",content:"Add your content here"},{title:"Column 3",content:"Add your content here"}]},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:48,right:24,bottom:48,left:24,unit:"px"}}},text:{type:"text",name:"Text Block",description:"Rich text content",icon:l.Z,category:"content",defaultContent:{content:"<p>Add your text content here. You can format it with <strong>bold</strong>, <em>italic</em>, and more.</p>"},defaultStyle:{backgroundColor:"transparent",textColor:"#1e293b",padding:{top:24,right:24,bottom:24,left:24,unit:"px"},fontSize:"16px"}},image:{type:"image",name:"Image",description:"Single image block",icon:m.Z,
1category:"content",defaultContent:{src:"",alt:"Image description",caption:"",link:"",aspectRatio:"auto"},defaultStyle:{backgroundColor:"transparent",padding:{top:24,right:24,bottom:24,left:24,unit:"px"},borderRadius:"8px"}},video:{type:"video",name:"Video",description:"Embedded or AI-generated video",icon:u.Z,category:"content",defaultContent:{url:"",videoUrl:"",type:"youtube",autoplay:!1,muted:!0,loop:!1,controls:!0,poster:"",caption:"",title:""},defaultStyle:{backgroundColor:"transparent",padding:{top:24,right:24,bottom:24,left:24,unit:"px"},borderRadius:"8px"}},gallery:{type:"gallery",name:"Gallery",description:"Image gallery grid",icon:p.Z,category:"content",defaultContent:{images:[],columns:3,gap:16,lightbox:!0},defaultStyle:{backgroundColor:"transparent",padding:{top:24,right:24,bottom:24,left:24,unit:"px"}}},features:{type:"features",name:"Features",description:"Feature list with icons",icon:r.Z,category:"features",defaultContent:{title:"Amazing Features",subtitle:"Everything you need to succeed",layout:"grid",columns:3,features:[{icon:"zap",title:"Fast & Reliable",description:"Lightning fast performance you can count on"},{icon:"shield",title:"Secure",description:"Enterprise-grade security for your data"},{icon:"globe",title:"Global Scale",description:"Deploy anywhere in the world"},{icon:"clock",title:"24/7 Support",description:"Round the clock customer support"},{icon:"code",title:"Developer Friendly",description:"Easy to integrate with your stack"},{icon:"trending-up",title:"Analytics",description:"Detailed insights and reporting"}]},defaultStyle:{backgroundColor:"#f8fafc",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"},textAlign:"center"}},benefits:{type:"benefits",name:"Benefits",description:"Benefits list with checkmarks",icon:h.Z,category:"features",defaultContent:{title:"Why Choose Us",subtitle:"Benefits that make the difference",benefits:["Save time with automated workflows","Increase conversions by up to 50%","Get real-time analytics and insights","Easy integration with your tools","24/7 dedicated support team"]},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},comparison:{type:"comparison",name:"Comparison",description:"Feature comparison table",icon:p.Z,category:"features",defaultContent:{title:"Compare Plans",subtitle:"Choose the plan that fits your needs",featureLabel:"Features",showCTA:!0,plans:[{name:"Basic",price:"$9/mo",highlighted:!1,ctaText:"Get Started",ctaUrl:"#"},{name:"Pro",price:"$29/mo",highlighted:!0,ctaText:"Get Started",ctaUrl:"#"},{name:"Enterprise",price:"$99/mo",highlighted:!1,ctaText:"Contact Us",ctaUrl:"#"}],features:[{name:"Users",description:"Number of team members",values:["1","5","Unlimited"]},{name:"Storage",description:"Cloud storage space",values:["1GB","10GB","100GB"]},{name:"API Access",values:[!1,!0,!0]},{name:"Priority Support",values:[!1,!0,!0]},{name:"Custom Integrations",values:[!1,!1,!0]}]},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},testimonials:{type:"testimonials",name:"Testimonials",description:"Customer testimonials",icon:f.Z,category:"social",defaultContent:{title:"What Our Customers Say",layout:"carousel",testimonials:[{quote:"This product has transformed our business. Highly recommended!",author:"John Smith",role:"CEO, Acme Inc",avatar:"",rating:5},{quote:"The best tool we have ever used. Amazing support team!",author:"Sarah Johnson",role:"Marketing Director",avatar:"",rating:5},{quote:"Easy to use and incredibly powerful. Worth every penny.",author:"Mike Wilson",role:"Founder, StartupXYZ",avatar:"",rating:5}]},defaultStyle:{backgroundColor:"#f8fafc",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},logos:{type:"logos",name:"Logo Cloud",description:"Client/partner logos",icon:g.Z,category:"social",defaultContent:{title:"Trusted by Industry Leaders",logos:[{name:"Company 1",image:""},{name:"Company 2",image:""},{name:"Company 3",image:""},{name:"Company 4",image:""},{name:"Company 5",image:""},{name:"Company 6",image:""}],grayscale:!0},defaultStyle:{backgroundColor:"#f8fafc",textColor:"#64748b",padding:{top:48,right:24,bottom:48,left:24,unit:"px"},textAlign:"center"}},reviews:{type:"reviews",name:"Reviews",description:"Star rating reviews",icon:n.Z,category:"social",defaultContent:{title:"Customer Reviews",showSummary:!0,averageRating:4.8,totalReviews:500,reviews:[{author:"Alex Johnson",rating:5,title:"Amazing product!",content:"This product exceeded all my expectations. Highly recommend!",date:"Jan 15, 2024",verified:!0,helpful:24},{author:"Maria Garcia",rating:5,content:"Love it! Best purchase I have made this year.",date:"Jan 10, 2024",verified:!0,helpful:18},{author:"David Chen",rating:4,title:"Great value",content:"Good quality for the price. Would buy again.",date:"Jan 5, 2024",helpful:12}]},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:48,right:24,bottom:48,left:24,unit:"px"}}},stats:{type:"stats",name:"Statistics",description:"Key metrics display",icon:b.Z,category:"social",defaultContent:{title:"Our Impact",stats:[{value:"10K+",label:"Happy Customers"},{value:"99.9%",label:"Uptime"},{value:"50M+",label:"Requests Served"},{value:"24/7",label:"Support"}]},defaultStyle:{backgroundColor:"#3b82f6",textColor:"#ffffff",padding:{top:48,right:24,bottom:48,left:24,unit:"px"},textAlign:"center"}},cta:{type:"cta",name:"Call to Action",description:"CTA section with button",icon:o.Z,category:"conversion",defaultContent:{headline:"Ready to Get Started?",subheadline:"Join thousands of satisfied customers today.",ctaText:"Start Free Trial",ctaUrl:"#",secondaryText:"No credit card required"},defaultStyle:{backgroundColor:"#3b82f6",textColor:"#ffffff",buttonBackgroun
1dColor:"#ffffff",buttonTextColor:"#3b82f6",padding:{top:64,right:24,bottom:64,left:24,unit:"px"},textAlign:"center"}},form:{type:"form",name:"Contact Form",description:"Advanced lead capture form",icon:y.Z,category:"conversion",defaultContent:{title:"Get in Touch",subtitle:"Fill out the form and we will get back to you.",fields:[{type:"text",name:"name",label:"Name",placeholder:"Your name",required:!0},{type:"email",name:"email",label:"Email",placeholder:"[email protected]",required:!0},{type:"phone",name:"phone",label:"Phone Number",placeholder:"98765 43210",required:!1,countryCode:"+91"},{type:"textarea",name:"message",label:"Message",placeholder:"Your message",required:!1}],submitText:"Send Message",successTitle:"Thank You!",successMessage:"We will be in touch soon.",conditionalRules:[]},defaultStyle:{backgroundColor:"#f8fafc",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},"multi-step-form":{type:"multi-step-form",name:"Multi-Step Form",description:"Multi-step form wizard",icon:v.Z,category:"conversion",defaultContent:{title:"Complete Your Information",subtitle:"Fill out the form in easy steps",steps:[{id:"step-1",title:"Personal Info",description:"Tell us about yourself",fields:[{type:"text",name:"name",label:"Full Name",placeholder:"John Doe",required:!0},{type:"email",name:"email",label:"Email",placeholder:"[email protected]",required:!0}]},{id:"step-2",title:"Contact Details",description:"How can we reach you?",fields:[{type:"phone",name:"phone",label:"Phone Number",placeholder:"9876543210",countryCode:"+91"},{type:"text",name:"company",label:"Company",placeholder:"Company name"}]},{id:"step-3",title:"Additional Info",description:"Any other details",fields:[{type:"select",name:"interest",label:"Interest",placeholder:"Select your interest",options:["Sales","Support","Partnership","Other"]},{type:"textarea",name:"message",label:"Message",placeholder:"Tell us more..."}]}],submitText:"Submit",successTitle:"Thank You!",successMessage:"Your submission has been received.",conditionalRules:[]},defaultStyle:{backgroundColor:"#f8fafc",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},"email-capture":{type:"email-capture",name:"Email Capture",description:"Newsletter signup",icon:j.Z,category:"conversion",defaultContent:{title:"Stay Updated",subtitle:"Subscribe to our newsletter for the latest updates.",placeholder:"Enter your email",buttonText:"Subscribe",successMessage:"Thanks for subscribing!"},defaultStyle:{backgroundColor:"#1e293b",textColor:"#f1f5f9",padding:{top:48,right:24,bottom:48,left:24,unit:"px"},textAlign:"center"}},button:{type:"button",name:"Button",description:"Standalone button",icon:o.Z,category:"conversion",defaultContent:{text:"Click Me",url:"#",style:"primary",size:"large",fullWidth:!1},defaultStyle:{backgroundColor:"transparent",buttonBackgroundColor:"#3b82f6",buttonTextColor:"#ffffff",padding:{top:24,right:24,bottom:24,left:24,unit:"px"},textAlign:"center"}},pricing:{type:"pricing",name:"Pricing Table",description:"Pricing plans display",icon:i.Z,category:"commerce",defaultContent:{title:"Simple, Transparent Pricing",subtitle:"Choose the plan that works for you",plans:[{name:"Starter",price:"$9",period:"month",description:"Perfect for individuals",features:["1 User","10GB Storage","Email Support"],ctaText:"Get Started",highlighted:!1},{name:"Pro",price:"$29",period:"month",description:"Best for small teams",features:["5 Users","50GB Storage","Priority Support","Advanced Features"],ctaText:"Get Started",highlighted:!0},{name:"Enterprise",price:"$99",period:"month",description:"For large organizations",features:["Unlimited Users","500GB Storage","24/7 Support","Custom Integrations"],ctaText:"Contact Sales",highlighted:!1}]},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},product:{type:"product",name:"Product Cards",description:"Product showcase grid",icon:N.Z,category:"commerce",defaultContent:{title:"Featured Products",products:[{name:"Product 1",price:"$99",originalPrice:"$149",image:"",badge:"Sale",rating:5,reviews:120,url:"#"},{name:"Product 2",price:"$79",image:"",rating:4,reviews:85,url:"#"},{name:"Product 3",price:"$129",image:"",rating:5,reviews:200,url:"#"}]},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:24,right:24,bottom:24,left:24,unit:"px"}}},"buy-button":{type:"buy-button",name:"Buy Button",description:"Purchase button with price",icon:N.Z,category:"commerce",defaultContent:{text:"Buy Now",price:"$99",originalPrice
1:"$149",priceLabel:"Special Price",url:"#",variant:"primary",icon:"cart",showIcon:!0,fullWidth:!1,subtext:"Free shipping on orders over $50",badges:["30-day guarantee","Secure checkout"]},defaultStyle:{backgroundColor:"transparent",padding:{top:24,right:24,bottom:24,left:24,unit:"px"},textAlign:"center"}},countdown:{type:"countdown",name:"Countdown",description:"Countdown timer",icon:c.Z,category:"special",defaultContent:{title:"Limited Time Offer",subtitle:"Don't miss out!",endDate:new Date(Date.now()+6048e5).toISOString(),showLabels:!0},defaultStyle:{backgroundColor:"#ef4444",textColor:"#ffffff",padding:{top:48,right:24,bottom:48,left:24,unit:"px"},textAlign:"center"}},faq:{type:"faq",name:"FAQ",description:"Frequently asked questions",icon:w.Z,category:"special",defaultContent:{title:"Frequently Asked Questions",subtitle:"Find answers to common questions",faqs:[{question:"How do I get started?",answer:"Simply sign up for a free trial and follow our quick start guide."},{question:"What payment methods do you accept?",answer:"We accept all major credit cards, PayPal, and bank transfers."},{question:"Can I cancel anytime?",answer:"Yes, you can cancel your subscription at any time with no penalties."}]},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},team:{type:"team",name:"Team",description:"Team members grid",icon:C.Z,category:"special",defaultContent:{title:"Meet Our Team",subtitle:"The people behind our success",members:[{name:"John Doe",role:"CEO",image:"",bio:"Visionary leader with 10+ years experience."},{name:"Jane Smith",role:"CTO",image:"",bio:"Tech expert and innovation driver."},{name:"Mike Johnson",role:"Designer",image:"",bio:"Creative mind behind our designs."}]},defaultStyle:{backgroundColor:"#f8fafc",textColor:"#1e293b",padding:{top:64,right:24,bottom:64,left:24,unit:"px"}}},map:{type:"map",name:"Map",description:"Location map embed",icon:k.Z,category:"special",defaultContent:{title:"Find Us",embedUrl:"",showContactInfo:!0,contactTitle:"Contact Us",address:"123 Main Street, City, Country",phone:"+1 (555) 123-4567",email:"[email protected]",hours:"Mon-Fri: 9am-5pm"},defaultStyle:{backgroundColor:"#ffffff",textColor:"#1e293b",padding:{top:48,right:24,bottom:48,left:24,unit:"px"}}}
1,"social-links":{type:"social-links",name:"Social Links",description:"Social media links",icon:S.Z,category:"special",defaultContent:{title:"Follow Us",links:[{platform:"twitter",url:"#"},{platform:"facebook",url:"#"},{platform:"instagram",url:"#"},{platform:"linkedin",url:"#"}],style:"icons"},defaultStyle:{backgroundColor:"transparent",padding:{top:24,right:24,bottom:24,left:24,unit:"px"},textAlign:"center"}}},Z=e=>Object.values(A).filter(t=>t.category===e),M=e=>A[e],B=()=>Object.keys(A)},90743:function(e,t,a){a.d(t,{i:function(){return o}});var s=a(97094);function l(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}let r={fontFamily:"Inter",primaryColor:"#3b82f6",secondaryColor:"#1e293b",containerWidth:"1200px"},n={title:"",description:"",keywords:[]},o=(0,s.Ue)((e,t)=>({pageId:null,pageName:"Untitled Page",pageSlug:"",blocks:[],settings:r,seo:n,status:"draft",selectedBlockId:null,hoveredBlockId:null,isDragging:!1,isPreviewMode:!1,deviceView:"desktop",history:[[]],historyIndex:0,maxHistory:50,isSaving:!1,lastSaved:null,hasUnsavedChanges:!1,setPage:t=>{e({pageId:t.id,pageName:t.name,pageSlug:t.slug,blocks:t.blocks||[],settings:t.settings||r,seo:t.seo||n,status:t.status||"draft",history:[t.blocks||[]],historyIndex:0,hasUnsavedChanges:!1,selectedBlockId:null})},setPageName:t=>{e({pageName:t,hasUnsavedChanges:!0})},addBlock:(a,s,r,n)=>{let o;let i=t(),c={id:l(),type:a,content:s,style:r,order:void 0!==n?n:i.blocks.length};void 0!==n?((o=[...i.blocks]).splice(n,0,c),o=o.map((e,t)=>({...e,order:t}))):o=[...i.blocks,c];let d=i.history.slice(0,i.historyIndex+1);d.push(o),d.length>i.maxHistory&&d.shift(),e({blocks:o,history:d,historyIndex:d.length-1,hasUnsavedChanges:!0,selectedBlockId:c.id})},updateBlock:(a,s)=>{let l=t(),r=l.blocks.map(e=>e.id===a?{...e,content:void 0!==s.content?{...e.content,...s.content}:e.content,style:void 0!==s.style?{...e.style,...s.style}:e.style}:e),n=l.history.slice(0,l.historyIndex+1);n.push(r),n.length>l.maxHistory&&n.shift(),e({blocks:r,history:n,historyIndex:n.length-1,hasUnsavedChanges:!0})},removeBlock:a=>{let s=t(),l=s.blocks.filter(e=>e.id!==a).map((e,t)=>({...e,order:t})),r=s.history.slice(0,s.historyIndex+1);r.push(l),r.length>s.maxHistory&&r.shift(),e({blocks:l,history:r,historyIndex:r.length-1,hasUnsavedChanges:!0,selectedBlockId:s.selectedBlockId===a?null:s.selectedBlockId})},moveBlock:(a,s)=>{let l=t(),r=[...l.blocks],[n]=r.splice(a,1);r.splice(s,0,n);let o=r.map((e,t)=>({...e,order:t})),i=l.history.slice(0,l.historyIndex+1);i.push(o),i.length>l.maxHistory&&i.shift(),e({blocks:o,history:i,historyIndex:i.length-1,hasUnsavedChanges:!0})},duplicateBlock:a=>{let s=t(),r=s.blocks.findIndex(e=>e.id===a);if(-1===r)return;let n=s.blocks[r],o={...n,id:l(),content:{...n.content},style:{...n.style}},i=[...s.blocks];i.splice(r+1,0,o);let c=i.map((e,t)=>({...e,order:t})),d=s.history.slice(0,s.historyIndex+1);d.push(c),d.length>s.maxHistory&&d.shift(),e({blocks:c,history:d,historyIndex:d.length-1,hasUnsavedChanges:!0,selectedBlockId:o.id})},selectBlock:t=>{e({selectedBlockId:t})},setHoveredBlock:t=>{e({hoveredBlockId:t})},setIsDragging:t=>{e({isDragging:t})},setDeviceView:t=>{e({deviceView:t})},setPreviewMode:t=>{e({isPreviewMode:t,selectedBlockId:null})},updateSettings:t=>{e(e=>({settings:{...e.settings,...t},hasUnsavedChanges:!0}))},updateSeo:t=>{e(e=>({seo:{...e.seo,...t},hasUnsavedChanges:!0}))},undo:()=>{let a=t();if(a.historyIndex>0){let t=a.historyIndex-1;e({blocks:a.history[t],historyIndex:t,hasUnsavedChanges:!0,selectedBlockId:null})}},redo:()=>{let a=t();if(a.historyIndex<a.history.length-1){let t=a.historyIndex+1;e({blocks:a.history[t],historyIndex:t,hasUnsavedChanges:!0,selectedBlockId:null})}},canUndo:()=>t().historyIndex>0,canRedo:()=>{let e=t();return e.historyIndex<e.history.length-1},setIsSaving:t=>{e({isSaving:t})},setLastSaved:t=>{e({lastSaved:t})},markSaved:()=>{e({hasUnsavedChanges:!1,lastSaved:new Date})},reset:()=>{e({pageId:null,pageName:"Untitled Page",pageSlug:"",blocks:[],settings:r,seo:n,status:"draft",selectedBlockId:null,hoveredBlockId:null,isDragging:!1,isPreviewMode:!1,deviceView:"desktop",history:[[]],historyIndex:0,isSaving:!1,lastSaved:null,hasUnsavedChanges:!1})}}))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.