Changeset 3472264
- Timestamp:
- 03/01/2026 10:00:56 PM (5 weeks ago)
- Location:
- wow-carousel-for-divi-lite
- Files:
-
- 19 edited
- 1 copied
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
assets/icon.svg (modified) (1 diff)
-
tags/3.0.1 (copied) (copied from wow-carousel-for-divi-lite/trunk)
-
tags/3.0.1/config.php (modified) (1 diff)
-
tags/3.0.1/dist/admin/admin.asset.php (modified) (1 diff)
-
tags/3.0.1/dist/admin/admin.css (modified) (2 diffs)
-
tags/3.0.1/dist/admin/admin.js (modified) (1 diff)
-
tags/3.0.1/readme.txt (modified) (1 diff)
-
tags/3.0.1/uninstall.php (modified) (1 diff)
-
tags/3.0.1/wow-divi-carousel-lite.php (modified) (1 diff)
-
trunk/config.php (modified) (1 diff)
-
trunk/dist/admin/admin.asset.php (modified) (1 diff)
-
trunk/dist/admin/admin.css (modified) (2 diffs)
-
trunk/dist/admin/admin.js (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/uninstall.php (modified) (1 diff)
-
trunk/wow-divi-carousel-lite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wow-carousel-for-divi-lite/assets/icon.svg
r3405168 r3472264 1 1 <svg width="500" height="500" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg"> 2 <rect width="500" height="500" fill="white"/>3 <path d="M2 46.196 61.6504C248.616 60.5964 251.365 60.5954 253.784 61.6494L434.294 140.281C437.758 141.791 440 145.212 440 148.991V351.003C440 354.783 437.758 358.203 434.294 359.713L253.784 438.344C251.365 439.398 248.616 439.398 246.196 438.344L65.7061 359.713C62.241 358.203 60.0001 354.784 60 351.004V148.99C60.0001 145.211 62.241 141.791 65.7061 140.281L246.196 61.6504ZM160 180C156.442 180 153.513 181.151 151.211 183.453L93.4531 241.211C92.206 242.466 91.3184 243.826 90.791 245.291C90.2637 246.756 90 248.326 90 250C90.0084 251.674 90.272 253.244 90.791 254.709C91.31 256.174 92.1976 257.534 93.4531 258.789L151.211 316.547C153.513 318.849 156.442 320 160 320C163.558 320 166.487 318.849 168.789 316.547C171.091 314.245 172.242 311.315 172.242 307.758C172.242 304.2 171.091 301.271 168.789 298.969L119.82 250L168.789 201.031C171.091 198.729 172.242 195.8 172.242 192.242C172.242 188.685 171.091 185.755 168.789 183.453C166.487 181.151 163.558 180 160 180ZM340.206 180C336.659 180 333.738 181.151 331.442 183.453C329.147 185.755 328 188.685 328 192.242C328 195.8 329.147 198.729 331.442 201.031L380.268 250L331.442 298.969C329.147 301.271 328 304.2 328 307.758C328 311.315 329.147 314.245 331.442 316.547C333.738 318.849 336.659 320 340.206 320C343.753 320 346.675 318.849 348.97 316.547L406.558 258.789C407.809 257.534 408.693 256.174 409.211 254.709C409.728 253.244 409.992 251.674 410 250C410 248.326 409.737 246.756 409.211 245.291C408.685 243.826 407.801 242.466 406.558 241.211L348.97 183.453C346.675 181.151 343.753 180 340.206 180ZM176 240C170.477 240 166 244.477 166 250C166 255.523 170.477 260 176 260H206C211.523 260 216 255.523 216 250C216 244.477 211.523 240 206 240H176ZM248 240C242.477 240 238 244.477 238 250C238 255.523 242.477 260 248 260C253.523 260 258 255.523 258 250C258 244.477 253.523 240 248 240ZM288 240C282.477 240 278 244.477 278 250C278 255.523 282.477 260 288 260C293.523 260 298 255.523 298 250C298 244.477 293.523 240 288 240ZM328 240C322.477 240 318 244.477 318 250C318 255.523 322.477 260 328 260C333.523 260 338 255.523 338 250C338 244.477 333.523 240 328 240Z" fill="#192471"/>2 <rect width="500" height="500" rx="60" fill="white"/> 3 <path d="M253 47C363.457 47 453 136.543 453 247C453 357.457 363.457 447 253 447C142.543 447 53 357.457 53 247C53 136.543 142.543 47 253 47ZM160 180C156.442 180 153.513 181.151 151.211 183.453L93.4531 241.211C92.206 242.466 91.3184 243.826 90.791 245.291C90.2637 246.756 90 248.326 90 250C90.0084 251.674 90.272 253.244 90.791 254.709C91.31 256.174 92.1976 257.534 93.4531 258.789L151.211 316.547C153.513 318.849 156.442 320 160 320C163.558 320 166.487 318.849 168.789 316.547C171.091 314.245 172.242 311.315 172.242 307.758C172.242 304.2 171.091 301.271 168.789 298.969L119.82 250L168.789 201.031C171.091 198.729 172.242 195.8 172.242 192.242C172.242 188.685 171.091 185.755 168.789 183.453C166.487 181.151 163.558 180 160 180ZM340.206 180C336.659 180 333.738 181.151 331.442 183.453C329.147 185.755 328 188.685 328 192.242C328 195.8 329.147 198.729 331.442 201.031L380.268 250L331.442 298.969C329.147 301.271 328 304.2 328 307.758C328 311.315 329.147 314.245 331.442 316.547C333.738 318.849 336.659 320 340.206 320C343.753 320 346.675 318.849 348.97 316.547L406.558 258.789C407.809 257.534 408.693 256.174 409.211 254.709C409.728 253.244 409.992 251.674 410 250C410 248.326 409.737 246.756 409.211 245.291C408.685 243.826 407.801 242.466 406.558 241.211L348.97 183.453C346.675 181.151 343.753 180 340.206 180ZM176 240C170.477 240 166 244.477 166 250C166 255.523 170.477 260 176 260H206C211.523 260 216 255.523 216 250C216 244.477 211.523 240 206 240H176ZM248 240C242.477 240 238 244.477 238 250C238 255.523 242.477 260 248 260C253.523 260 258 255.523 258 250C258 244.477 253.523 240 248 240ZM288 240C282.477 240 278 244.477 278 250C278 255.523 282.477 260 288 260C293.523 260 298 255.523 298 250C298 244.477 293.523 240 288 240ZM328 240C322.477 240 318 244.477 318 250C318 255.523 322.477 260 328 260C333.523 260 338 255.523 338 250C338 244.477 333.523 240 328 240Z" fill="#5733FF"/> 4 4 </svg> -
wow-carousel-for-divi-lite/tags/3.0.1/config.php
r3472263 r3472264 10 10 11 11 // Plugin version. 12 define('DCF_PLUGIN_VERSION', '3.0. 0');12 define('DCF_PLUGIN_VERSION', '3.0.1'); 13 13 14 14 // Plugin paths. -
wow-carousel-for-divi-lite/tags/3.0.1/dist/admin/admin.asset.php
r3472263 r3472264 1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => ' 5e8905c2d8d11092ded9');1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => '1363270f95dd111a331e'); -
wow-carousel-for-divi-lite/tags/3.0.1/dist/admin/admin.css
r3472263 r3472264 845 845 846 846 .dcf-admin a { 847 color: inherit;848 847 text-decoration: none; 849 848 box-shadow: none; … … 932 931 } 933 932 933 .hover\:text-white:hover { 934 --tw-text-opacity: 1; 935 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 936 } 937 934 938 .hover\:underline:hover { 935 939 text-decoration-line: underline; -
wow-carousel-for-divi-lite/tags/3.0.1/dist/admin/admin.js
r3472263 r3472264 1 (()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.element,r=window.React;var a=e.n(r);const n=window.ReactDOM;function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},o.apply(this,arguments)}var l;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(l||(l={}));const i="popstate";function s(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,a){return void 0===r&&(r=null),o({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:r,key:t&&t.key||a||Math.random().toString(36).substr(2,8)})}function m(e){let{pathname:t="/",search:r="",hash:a=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),a&&"#"!==a&&(t+="#"===a.charAt(0)?a:"#"+a),t}function p(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}var h;function f(e,t,r){return void 0===r&&(r="/"),function(e,t,r,a){let n=M(("string"==typeof t?p(t):t).pathname||"/",r);if(null==n)return null;let o=v(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let l=null;for(let e=0;null==l&&e<o.length;++e){let t=S(n);l=N(o[e],t,a)}return l}(e,t,r,!1)}function v(e,t,r,a){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===a&&(a="");let n=(e,n,o)=>{let l={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};l.relativePath.startsWith("/")&&(s(l.relativePath.startsWith(a),'Absolute route path "'+l.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),l.relativePath=l.relativePath.slice(a.length));let i=O([a,l.relativePath]),c=r.concat(l);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),v(e.children,t,c,i)),(null!=e.path||e.index)&&t.push({path:i,score:_(i,e.index),routesMeta:c})};return e.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of g(e.path))n(e,t,r);else n(e,t)}),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[r,...a]=t,n=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===a.length)return n?[o,""]:[o];let l=g(a.join("/")),i=[];return i.push(...l.map(e=>""===e?o:[o,e].join("/"))),n&&i.push(...l),i.map(t=>e.startsWith("/")&&""===t?"/":t)}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const x=/^:[\w-]+$/,E=3,b=2,y=1,w=10,C=-2,k=e=>"*"===e;function _(e,t){let r=e.split("/"),a=r.length;return r.some(k)&&(a+=C),t&&(a+=b),r.filter(e=>!k(e)).reduce((e,t)=>e+(x.test(t)?E:""===t?y:w),a)}function N(e,t,r){void 0===r&&(r=!1);let{routesMeta:a}=e,n={},o="/",l=[];for(let e=0;e<a.length;++e){let i=a[e],s=e===a.length-1,c="/"===o?t:t.slice(o.length)||"/",u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},c),d=i.route;if(!u&&s&&r&&!a[a.length-1].route.index&&(u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},c)),!u)return null;Object.assign(n,u.params),l.push({params:n,pathname:O([o,u.pathname]),pathnameBase:U(O([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=O([o,u.pathnameBase]))}return l}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),c("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let a=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(a.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(a.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),a]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let o=n[0],l=o.replace(/(.)\/+$/,"$1"),i=n.slice(1);return{params:a.reduce((e,t,r)=>{let{paramName:a,isOptional:n}=t;if("*"===a){let e=i[r]||"";l=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const s=i[r];return e[a]=n&&!s?void 0:(s||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:l,pattern:e}}function S(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,a=e.charAt(r);return a&&"/"!==a?null:e.slice(r)||"/"}const j=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function P(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function R(e,t,r,a){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(a)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function B(e,t){let r=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function W(e,t,r,a){let n;void 0===a&&(a=!1),"string"==typeof e?n=p(e):(n=o({},e),s(!n.pathname||!n.pathname.includes("?"),R("?","pathname","search",n)),s(!n.pathname||!n.pathname.includes("#"),R("#","pathname","hash",n)),s(!n.search||!n.search.includes("#"),R("#","search","hash",n)));let l,i=""===e||""===n.pathname,u=i?"/":n.pathname;if(null==u)l=r;else{let e=t.length-1;if(!a&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}l=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let r,{pathname:a,search:n="",hash:o=""}="string"==typeof e?p(e):e;if(a)if(l=a,j.test(l))r=a;else{if(a.includes("//")){let e=a;a=a.replace(/\/\/+/g,"/"),c(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+a)}r=a.startsWith("/")?P(a.substring(1),"/"):P(a,t)}else r=t;var l;return{pathname:r,search:z(n),hash:A(o)}}(n,l),m=u&&"/"!==u&&u.endsWith("/"),h=(i||"."===u)&&r.endsWith("/");return d.pathname.endsWith("/")||!m&&!h||(d.pathname+="/"),d}const O=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const T=["post","put","patch","delete"],D=(new Set(T),["get",...T]);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},F.apply(this,arguments)}new Set(D),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const H=r.createContext(null),V=r.createContext(null),$=r.createContext(null),I=r.createContext(null),J=r.createContext({outlet:null,matches:[],isDataRoute:!1}),Z=r.createContext(null);function G(){return null!=r.useContext(I)}function K(){return G()||s(!1),r.useContext(I).location}function q(e){r.useContext($).static||r.useLayoutEffect(e)}function X(){let{isDataRoute:e}=r.useContext(J);return e?function(){let{router:e}=function(){let e=r.useContext(H);return e||s(!1),e}(ne.UseNavigateStable),t=le(oe.UseNavigateStable),a=r.useRef(!1);return q(()=>{a.current=!0}),r.useCallback(function(r,n){void 0===n&&(n={}),a.current&&("number"==typeof r?e.navigate(r):e.navigate(r,F({fromRouteId:t},n)))},[e,t])}():function(){G()||s(!1);let e=r.useContext(H),{basename:t,future:a,navigator:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,a.v7_relativeSplatPath)),c=r.useRef(!1);return q(()=>{c.current=!0}),r.useCallback(function(r,a){if(void 0===a&&(a={}),!c.current)return;if("number"==typeof r)return void n.go(r);let o=W(r,JSON.parse(i),l,"path"===a.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:O([t,o.pathname])),(a.replace?n.replace:n.push)(o,a.state,a)},[t,n,i,l,e])}()}function Q(e,t){let{relative:a}=void 0===t?{}:t,{future:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,n.v7_relativeSplatPath));return r.useMemo(()=>W(e,JSON.parse(i),l,"path"===a),[e,i,l,a])}function Y(e,t,a,n){G()||s(!1);let{navigator:o}=r.useContext($),{matches:i}=r.useContext(J),c=i[i.length-1],u=c?c.params:{},d=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let m,h=K();if(t){var v;let e="string"==typeof t?p(t):t;"/"===d||(null==(v=e.pathname)?void 0:v.startsWith(d))||s(!1),m=e}else m=h;let g=m.pathname||"/",x=g;if("/"!==d){let e=d.replace(/^\//,"").split("/");x="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=f(e,{pathname:x}),b=function(e,t,a,n){var o;if(void 0===t&&(t=[]),void 0===a&&(a=null),void 0===n&&(n=null),null==e){var l;if(!a)return null;if(a.errors)e=a.matches;else{if(!(null!=(l=n)&&l.v7_partialHydration&&0===t.length&&!a.initialized&&a.matches.length>0))return null;e=a.matches}}let i=e,c=null==(o=a)?void 0:o.errors;if(null!=c){let e=i.findIndex(e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id]));e>=0||s(!1),i=i.slice(0,Math.min(i.length,e+1))}let u=!1,d=-1;if(a&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=a,n=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||n){u=!0,i=d>=0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight((e,n,o)=>{let l,s=!1,m=null,p=null;var h;a&&(l=c&&n.route.id?c[n.route.id]:void 0,m=n.route.errorElement||te,u&&(d<0&&0===o?(ie[h="route-fallback"]||(ie[h]=!0),s=!0,p=null):d===o&&(s=!0,p=n.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,o+1)),v=()=>{let t;return t=l?m:s?p:n.route.Component?r.createElement(n.route.Component,null):n.route.element?n.route.element:e,r.createElement(ae,{match:n,routeContext:{outlet:e,matches:f,isDataRoute:null!=a},children:t})};return a&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?r.createElement(re,{location:a.location,revalidation:a.revalidation,component:m,error:l,children:v(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):v()},null)}(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:O([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:O([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,a,n);return t&&b?r.createElement(I.Provider,{value:{location:F({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:l.Pop}},b):b}function ee(){let e=function(){var e;let t=r.useContext(Z),a=function(){let e=r.useContext(V);return e||s(!1),e}(oe.UseRouteError),n=le(oe.UseRouteError);return void 0!==t?t:null==(e=a.errors)?void 0:e[n]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),a?r.createElement("pre",{style:n},a):null,null)}const te=r.createElement(ee,null);class re extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(J.Provider,{value:this.props.routeContext},r.createElement(Z.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ae(e){let{routeContext:t,match:a,children:n}=e,o=r.useContext(H);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),r.createElement(J.Provider,{value:t},n)}var ne=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ne||{}),oe=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(oe||{});function le(e){let t=function(){let e=r.useContext(J);return e||s(!1),e}(),a=t.matches[t.matches.length-1];return a.route.id||s(!1),a.route.id}const ie={};function se(e){let{to:t,replace:a,state:n,relative:o}=e;G()||s(!1);let{future:l,static:i}=r.useContext($),{matches:c}=r.useContext(J),{pathname:u}=K(),d=X(),m=W(t,B(c,l.v7_relativeSplatPath),u,"path"===o),p=JSON.stringify(m);return r.useEffect(()=>d(JSON.parse(p),{replace:a,state:n,relative:o}),[d,p,o,a,n]),null}function ce(e){s(!1)}function ue(e){let{basename:t="/",children:a=null,location:n,navigationType:o=l.Pop,navigator:i,static:c=!1,future:u}=e;G()&&s(!1);let d=t.replace(/^\/*/,"/"),m=r.useMemo(()=>({basename:d,navigator:i,static:c,future:F({v7_relativeSplatPath:!1},u)}),[d,u,i,c]);"string"==typeof n&&(n=p(n));let{pathname:h="/",search:f="",hash:v="",state:g=null,key:x="default"}=n,E=r.useMemo(()=>{let e=M(h,d);return null==e?null:{location:{pathname:e,search:f,hash:v,state:g,key:x},navigationType:o}},[d,h,f,v,g,x,o]);return null==E?null:r.createElement($.Provider,{value:m},r.createElement(I.Provider,{children:a,value:E}))}function de(e){let{children:t,location:r}=e;return Y(me(t),r)}function me(e,t){void 0===t&&(t=[]);let a=[];return r.Children.forEach(e,(e,n)=>{if(!r.isValidElement(e))return;let o=[...t,n];if(e.type===r.Fragment)return void a.push.apply(a,me(e.props.children,o));e.type!==ce&&s(!1),e.props.index&&e.props.children&&s(!1);let l={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=me(e.props.children,o)),a.push(l)}),a}function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},pe.apply(this,arguments)}function he(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}r.startTransition,new Promise(()=>{}),r.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const fe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ve=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const ge=r.createContext({isTransitioning:!1});new Map;const xe=r.startTransition;function Ee(e){let{basename:t,children:a,future:n,window:h}=e,f=r.useRef();var v;null==f.current&&(f.current=(void 0===(v={window:h,v5Compat:!0})&&(v={}),function(e,t,r,a){void 0===a&&(a={});let{window:n=document.defaultView,v5Compat:c=!1}=a,p=n.history,h=l.Pop,f=null,v=g();function g(){return(p.state||{idx:null}).idx}function x(){h=l.Pop;let e=g(),t=null==e?null:e-v;v=e,f&&f({action:h,location:b.location,delta:t})}function E(e){let t="null"!==n.location.origin?n.location.origin:n.location.href,r="string"==typeof e?e:m(e);return r=r.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==v&&(v=0,p.replaceState(o({},p.state,{idx:v}),""));let b={get action(){return h},get location(){return e(n,p)},listen(e){if(f)throw new Error("A history only accepts one active listener");return n.addEventListener(i,x),f=e,()=>{n.removeEventListener(i,x),f=null}},createHref:e=>t(n,e),createURL:E,encodeLocation(e){let t=E(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=l.Push;let a=d(b.location,e,t);r&&r(a,e),v=g()+1;let o=u(a,v),i=b.createHref(a);try{p.pushState(o,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;n.location.assign(i)}c&&f&&f({action:h,location:b.location,delta:1})},replace:function(e,t){h=l.Replace;let a=d(b.location,e,t);r&&r(a,e),v=g();let n=u(a,v),o=b.createHref(a);p.replaceState(n,"",o),c&&f&&f({action:h,location:b.location,delta:0})},go:e=>p.go(e)};return b}(function(e,t){let{pathname:r="/",search:a="",hash:n=""}=p(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),d("",{pathname:r,search:a,hash:n},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),a="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");a=-1===r?t:t.slice(0,r)}return a+"#"+("string"==typeof t?t:m(t))},function(e,t){c("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},v)));let g=f.current,[x,E]=r.useState({action:g.action,location:g.location}),{v7_startTransition:b}=n||{},y=r.useCallback(e=>{b&&xe?xe(()=>E(e)):E(e)},[E,b]);return r.useLayoutEffect(()=>g.listen(y),[g,y]),r.useEffect(()=>{return null==(e=n)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t},[n]),r.createElement(ue,{basename:t,children:a,location:x.location,navigationType:x.action,navigator:g,future:n})}n.flushSync,r.useId;const be="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,ye=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,we=r.forwardRef(function(e,t){let a,{onClick:n,relative:o,reloadDocument:l,replace:i,state:c,target:u,to:d,preventScrollReset:p,viewTransition:h}=e,f=he(e,fe),{basename:v}=r.useContext($),g=!1;if("string"==typeof d&&ye.test(d)&&(a=d,be))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),r=M(t.pathname,v);t.origin===e.origin&&null!=r?d=r+t.search+t.hash:g=!0}catch(e){}let x=function(e,t){let{relative:a}=void 0===t?{}:t;G()||s(!1);let{basename:n,navigator:o}=r.useContext($),{hash:l,pathname:i,search:c}=Q(e,{relative:a}),u=i;return"/"!==n&&(u="/"===i?n:O([n,i])),o.createHref({pathname:u,search:c,hash:l})}(d,{relative:o}),E=function(e,t){let{target:a,replace:n,state:o,preventScrollReset:l,relative:i,viewTransition:s}=void 0===t?{}:t,c=X(),u=K(),d=Q(e,{relative:i});return r.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,a)){t.preventDefault();let r=void 0!==n?n:m(u)===m(d);c(e,{replace:r,state:o,preventScrollReset:l,relative:i,viewTransition:s})}},[u,c,d,n,o,a,e,l,i,s])}(d,{replace:i,state:c,target:u,preventScrollReset:p,relative:o,viewTransition:h});return r.createElement("a",pe({},f,{href:a||x,onClick:g||l?n:function(e){n&&n(e),e.defaultPrevented||E(e)},ref:t,target:u}))}),Ce=r.forwardRef(function(e,t){let{"aria-current":a="page",caseSensitive:n=!1,className:o="",end:l=!1,style:i,to:c,viewTransition:u,children:d}=e,m=he(e,ve),p=Q(c,{relative:m.relative}),h=K(),f=r.useContext(V),{navigator:v,basename:g}=r.useContext($),x=null!=f&&function(e,t){void 0===t&&(t={});let a=r.useContext(ge);null==a&&s(!1);let{basename:n}=function(){let e=r.useContext(H);return e||s(!1),e}(ke.useViewTransitionState),o=Q(e,{relative:t.relative});if(!a.isTransitioning)return!1;let l=M(a.currentLocation.pathname,n)||a.currentLocation.pathname,i=M(a.nextLocation.pathname,n)||a.nextLocation.pathname;return null!=L(o.pathname,i)||null!=L(o.pathname,l)}(p)&&!0===u,E=v.encodeLocation?v.encodeLocation(p).pathname:p.pathname,b=h.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;n||(b=b.toLowerCase(),y=y?y.toLowerCase():null,E=E.toLowerCase()),y&&g&&(y=M(y,g)||y);const w="/"!==E&&E.endsWith("/")?E.length-1:E.length;let C,k=b===E||!l&&b.startsWith(E)&&"/"===b.charAt(w),_=null!=y&&(y===E||!l&&y.startsWith(E)&&"/"===y.charAt(E.length)),N={isActive:k,isPending:_,isTransitioning:x},S=k?a:void 0;C="function"==typeof o?o(N):[o,k?"active":null,_?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let j="function"==typeof i?i(N):i;return r.createElement(we,pe({},m,{"aria-current":S,className:C,ref:t,style:j,to:c,viewTransition:u}),"function"==typeof d?d(N):d)});var ke,_e;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ke||(ke={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(_e||(_e={}));const Ne=window.wp.i18n,Le=[{to:"/",label:"Overview"},{to:"/modules",label:"Modules"},{to:"/free-vs-pro",label:"Free vs Pro"}],Se=()=>(0,t.createElement)("header",{className:"border-b border-border bg-white sticky top-[32px] z-40"},(0,t.createElement)("div",{className:"flex h-14 items-center justify-between px-6"},(0,t.createElement)("div",{className:"flex items-center"},(0,t.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("g",{clipPath:"url(#clip0_header)"},(0,t.createElement)("path",{d:"M48 0C74.5097 0 96 21.4903 96 48C96 74.5097 74.5097 96 48 96C21.4903 96 0 74.5097 0 48C0 21.4903 21.4903 0 48 0ZM26.4 31.2C25.5461 31.2 24.8431 31.4762 24.2906 32.0287L10.4287 45.8906C10.1294 46.1918 9.91642 46.5182 9.78984 46.8698C9.66329 47.2214 9.6 47.5982 9.6 48C9.60202 48.4018 9.66528 48.7786 9.78984 49.1302C9.9144 49.4818 10.1274 49.8082 10.4287 50.1094L24.2906 63.9713C24.8431 64.5238 25.5461 64.8 26.4 64.8C27.2539 64.8 27.9569 64.5238 28.5094 63.9713C29.0618 63.4188 29.3381 62.7156 29.3381 61.8619C29.3381 61.008 29.0618 60.305 28.5094 59.7526L16.7569 48L28.5094 36.2474C29.0618 35.695 29.3381 34.992 29.3381 34.1381C29.3381 33.2844 29.0618 32.5812 28.5094 32.0287C27.9569 31.4762 27.2539 31.2 26.4 31.2ZM69.6494 31.2C68.7982 31.2 68.0971 31.4762 67.5461 32.0287C66.9953 32.5812 66.72 33.2844 66.72 34.1381C66.72 34.992 66.9953 35.695 67.5461 36.2474L79.2643 48L67.5461 59.7526C66.9953 60.305 66.72 61.008 66.72 61.8619C66.72 62.7156 66.9953 63.4188 67.5461 63.9713C68.0971 64.5238 68.7982 64.8 69.6494 64.8C70.5007 64.8 71.202 64.5238 71.7528 63.9713L85.5739 50.1094C85.8742 49.8082 86.0863 49.4818 86.2106 49.1302C86.3347 48.7786 86.3981 48.4018 86.4 48C86.4 47.5982 86.3369 47.2214 86.2106 46.8698C86.0844 46.5182 85.8722 46.1918 85.5739 45.8906L71.7528 32.0287C71.202 31.4762 70.5007 31.2 69.6494 31.2ZM30.24 45.6C28.9145 45.6 27.84 46.6745 27.84 48C27.84 49.3255 28.9145 50.4 30.24 50.4H37.44C38.7655 50.4 39.84 49.3255 39.84 48C39.84 46.6745 38.7655 45.6 37.44 45.6H30.24ZM47.52 45.6C46.1945 45.6 45.12 46.6745 45.12 48C45.12 49.3255 46.1945 50.4 47.52 50.4C48.8455 50.4 49.92 49.3255 49.92 48C49.92 46.6745 48.8455 45.6 47.52 45.6ZM57.12 45.6C55.7945 45.6 54.72 46.6745 54.72 48C54.72 49.3255 55.7945 50.4 57.12 50.4C58.4455 50.4 59.52 49.3255 59.52 48C59.52 46.6745 58.4455 45.6 57.12 45.6ZM66.72 45.6C65.3945 45.6 64.32 46.6745 64.32 48C64.32 49.3255 65.3945 50.4 66.72 50.4C68.0455 50.4 69.12 49.3255 69.12 48C69.12 46.6745 68.0455 45.6 66.72 45.6Z",fill:"#5733FF"})),(0,t.createElement)("defs",null,(0,t.createElement)("clipPath",{id:"clip0_header"},(0,t.createElement)("rect",{width:"96",height:"96",fill:"white"})))),(0,t.createElement)("nav",{className:"flex items-center gap-6 ml-8"},Le.map(({to:e,label:r})=>(0,t.createElement)(Ce,{key:e,to:e,end:"/"===e,className:({isActive:e})=>"text-[13px] font-medium transition-colors "+(e?"text-foreground":"text-muted-foreground hover:text-foreground")},(0,Ne.__)(r,"divi-carousel-free"))))),(0,t.createElement)("div",{className:"flex items-center gap-1"},(0,t.createElement)("a",{href:"https://divipeople.com/docs",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Documentation","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"}))),(0,t.createElement)("a",{href:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Support","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25z"}))),(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("What's New","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.455 2.456L21.75 6l-1.036.259a3.375 3.375 0 00-2.455 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z"}))))));function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Me.apply(null,arguments)}function je(...e){return e.filter(Boolean).join(" ")}const Pe={default:"bg-primary text-primary-foreground hover:bg-primary/90 hover:text-primary-foreground ",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 hover:text-secondary-foreground",ghost:"text-muted-foreground hover:text-foreground hover:bg-muted",link:"text-foreground underline-offset-4 hover:underline hover:text-foreground"},Re={sm:"h-8 px-3 text-xs",default:"h-9 px-4 text-sm",lg:"h-10 px-6 text-sm",icon:"h-9 w-9"},Be=({variant:e="default",size:r="default",className:a,children:n,...o})=>{const l=o.href?"a":"button";return(0,t.createElement)(l,Me({className:je("inline-flex items-center justify-center font-medium rounded-lg transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",Pe[e],Re[r],a)},o),n)},We=({className:e,children:r})=>(0,t.createElement)("div",{className:je("flex flex-wrap gap-3",e)},r),Oe=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),Ue=({label:e,title:r,description:a,actions:n=[],illustration:o})=>(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card px-8 py-10 sm:px-10 sm:py-12"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-8"},(0,t.createElement)("div",{className:"min-w-0"},e&&(0,t.createElement)("p",{className:"text-xs font-medium uppercase tracking-wider text-muted-foreground mb-3"},e),(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground sm:text-2xl"},r),a&&(0,t.createElement)("p",{className:"mt-2 max-w-xl text-sm text-muted-foreground leading-relaxed"},a),n.length>0&&(0,t.createElement)(We,{className:"mt-6"},n.map((e,r)=>(0,t.createElement)(Be,{key:r,variant:0===r?"default":"secondary",href:e.url,target:"_blank",rel:"noopener noreferrer"},e.label,e.arrow&&(0,t.createElement)(Oe,null))))),o&&(0,t.createElement)("div",{className:"hidden shrink-0 lg:block"},o))),ze=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("rounded-xl border border-border bg-card text-card-foreground",e)},a),r),Ae=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("p-6",e)},a),r),Te=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),De=({icon:e,title:r,description:a,linkText:n,linkUrl:o})=>(0,t.createElement)(ze,{className:"group hover:border-foreground/15 transition-colors"},(0,t.createElement)(Ae,{className:"p-5"},(0,t.createElement)("div",{className:"mb-3 flex h-9 w-9 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e),(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground mb-1"},r),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mb-3 leading-relaxed"},a),n&&o&&(0,t.createElement)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-[13px] font-medium text-foreground hover:text-primary hover:underline"},n,(0,t.createElement)(Te,null)))),Fe=({title:e,description:r,buttonText:a,buttonUrl:n,icon:o})=>(0,t.createElement)(ze,null,(0,t.createElement)(Ae,{className:"p-6"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-4"},(0,t.createElement)("div",{className:"flex items-center gap-3"},o||(0,t.createElement)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-amber-50"},(0,t.createElement)("svg",{className:"h-5 w-5 text-amber-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"}))),(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground"},r))),(0,t.createElement)(Be,{variant:"secondary",href:n,target:"_blank",rel:"noopener noreferrer"},a)))),He=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"})),Ve=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 01-.825-.242m9.345-8.334a2.126 2.126 0 00-.476-.095 48.64 48.64 0 00-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0011.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"})),$e=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z"})),Ie=()=>(0,t.createElement)("svg",{width:"180",height:"140",viewBox:"0 0 180 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},(0,t.createElement)("rect",{x:"8",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"116",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"text-primary/30"}),(0,t.createElement)("rect",{x:"52",y:"24",width:"76",height:"44",rx:"4",fill:"currentColor",className:"text-primary/20"}),(0,t.createElement)("path",{d:"M72 52l8-12 6 8 4-5 10 13H68l4-4z",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("circle",{cx:"78",cy:"38",r:"3",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("rect",{x:"52",y:"76",width:"48",height:"6",rx:"3",fill:"currentColor",className:"text-foreground/15"}),(0,t.createElement)("rect",{x:"52",y:"88",width:"32",height:"4",rx:"2",fill:"currentColor",className:"text-muted-foreground/15"}),(0,t.createElement)("circle",{cx:"82",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"90",cy:"120",r:"3.5",fill:"currentColor",className:"text-primary"}),(0,t.createElement)("circle",{cx:"98",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"16",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M18 55l-5 5 5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"}),(0,t.createElement)("circle",{cx:"164",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M162 55l5 5-5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"})),Je=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)(Ue,{label:(0,Ne.__)("Divi Carousel","divi-carousel-free"),title:(0,Ne.__)("Build Stunning Carousels for Divi","divi-carousel-free"),description:(0,Ne.__)("Create beautiful image and logo carousels with smooth animations, responsive layouts, and full Divi Builder integration — no code required.","divi-carousel-free"),actions:[{label:(0,Ne.__)("Get Carousel Pro","divi-carousel-free"),url:"https://divipeople.com/divi-carousel-pro",arrow:!0}],illustration:(0,t.createElement)(Ie,null)}),(0,t.createElement)("div",{className:"grid gap-4 sm:grid-cols-3"},(0,t.createElement)(De,{icon:(0,t.createElement)(He,null),title:(0,Ne.__)("Documentation","divi-carousel-free"),description:(0,Ne.__)("Step-by-step guides to help you set up and customize your carousels.","divi-carousel-free"),linkText:(0,Ne.__)("Read Docs","divi-carousel-free"),linkUrl:"https://divipeople.com/docs"}),(0,t.createElement)(De,{icon:(0,t.createElement)(Ve,null),title:(0,Ne.__)("Support","divi-carousel-free"),description:(0,Ne.__)("Have a question? Our support team is here to help on the forum.","divi-carousel-free"),linkText:(0,Ne.__)("Get Support","divi-carousel-free"),linkUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"}),(0,t.createElement)(De,{icon:(0,t.createElement)($e,null),title:(0,Ne.__)("Go Pro","divi-carousel-free"),description:(0,Ne.__)("Get post, testimonial, team, and WooCommerce carousel modules.","divi-carousel-free"),linkText:(0,Ne.__)("Learn More","divi-carousel-free"),linkUrl:"https://divipeople.com/divi-carousel-pro"})),(0,t.createElement)(Fe,{title:(0,Ne.__)("Need help getting started?","divi-carousel-free"),description:(0,Ne.__)("Our support team is ready to help you build amazing carousels.","divi-carousel-free"),buttonText:(0,Ne.__)("Contact Support","divi-carousel-free"),buttonUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"})),Ze=({checked:e=!1,onCheckedChange:r,disabled:a=!1,className:n})=>(0,t.createElement)("button",{type:"button",role:"switch","aria-checked":e,disabled:a,onClick:()=>!a&&r?.(!e),style:{backgroundColor:e?"hsl(251, 100%, 60%)":"#c4c4c8",padding:0,margin:0,lineHeight:0},className:je("relative inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",n)},(0,t.createElement)("span",{style:{backgroundColor:"#fff",width:"14px",height:"14px",borderRadius:"50%",display:"block",transform:e?"translateX(17px)":"translateX(3px)",transition:"transform 200ms ease",boxShadow:"0 1px 2px rgba(0,0,0,0.15)",border:"none",outline:"none",padding:0,margin:0}})),Ge={default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-emerald-50 text-emerald-700",warning:"bg-amber-50 text-amber-700",outline:"text-foreground border border-border",pro:"bg-primary/10 text-primary"},Ke=({className:e,variant:r="default",children:a,...n})=>(0,t.createElement)("span",Me({className:je("inline-flex items-center rounded-md px-2.5 py-0.5 text-xs font-medium transition-colors",Ge[r],e)},n),a),qe=({className:e,size:r="default"})=>(0,t.createElement)("div",{className:je("animate-spin rounded-full border-2 border-muted-foreground/20 border-t-primary",{sm:"h-4 w-4",default:"h-6 w-6",lg:"h-8 w-8"}[r],e)}),Xe=window.wp.apiFetch;var Qe=e.n(Xe);const Ye=[{id:"logo_carousel",name:"Logo Carousel",description:"Showcase client logos in an animated carousel with hover effects and custom links.",icon:"logo"},{id:"image_carousel",name:"Image Carousel",description:"Display images in a beautiful carousel layout with lightbox and navigation.",icon:"image"}],et=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25a2.25 2.25 0 00-2.25-2.25H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})),tt=()=>(0,t.createElement)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z"})),rt={image:(0,t.createElement)(et,null),logo:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"})),null)},at=[{id:"content_carousel",name:(0,Ne.__)("Content Carousel","divi-carousel-free"),description:(0,Ne.__)("Create carousels with custom content, icons, and call-to-action buttons.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"})),null)},{id:"post_carousel",name:(0,Ne.__)("Post Carousel","divi-carousel-free"),description:(0,Ne.__)("Display blog posts in a dynamic carousel with featured images.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})),null)},{id:"woo_carousel",name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase WooCommerce products in a carousel layout.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"})),null)},{id:"testimonial_carousel",name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),description:(0,Ne.__)("Display customer testimonials in an engaging carousel.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 01.865-.501 48.172 48.172 0 003.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})),null)},{id:"team_carousel",name:(0,Ne.__)("Team Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase team members with photos, roles, and social links.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z"})),null)}],nt=()=>{const{modules:e,loading:r,saving:a,toggleModule:n}=function(){const[e,r]=(0,t.useState)(Ye.map(e=>({...e,enabled:!0}))),[a,n]=(0,t.useState)(!0),[o,l]=(0,t.useState)(null),i=(0,t.useCallback)(async()=>{try{const e=await Qe()({path:"/divi-carousel-free/v1/modules"});e.success&&e.modules&&r(Ye.map(t=>({...t,enabled:!1!==e.modules[t.id]})))}catch(e){console.error("Failed to load modules:",e)}finally{n(!1)}},[]);(0,t.useEffect)(()=>{i()},[i]);const s=(0,t.useCallback)(async t=>{const a=e.find(e=>e.id===t);if(!a)return;const n=!a.enabled;r(e=>e.map(e=>e.id===t?{...e,enabled:n}:e)),l(t);try{await Qe()({path:"/divi-carousel-free/v1/modules/toggle",method:"POST",data:{module_id:t,enabled:n}})}catch(e){r(e=>e.map(e=>e.id===t?{...e,enabled:!n}:e)),console.error("Failed to toggle module:",e)}finally{l(null)}},[e]);return{modules:e,loading:a,saving:o,toggleModule:s}}();return r?(0,t.createElement)("div",{className:"flex h-80 items-center justify-center"},(0,t.createElement)(qe,null)):(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Carousel Modules","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Control which modules are available in the Divi Builder.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden divide-y divide-border"},e.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},rt[e.icon]||(0,t.createElement)(et,null)),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)(Ze,{checked:e.enabled,onCheckedChange:()=>n(e.id),disabled:a===e.id})))),at.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4 opacity-60"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e.icon),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("div",{className:"flex items-center gap-2"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)(Ke,{variant:"pro"},(0,Ne.__)("Pro","divi-carousel-free"))),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:"hsl(251, 100%, 60%)",color:"#fff"},className:"inline-flex items-center gap-1.5 rounded-md px-3 h-7 text-xs font-medium transition-opacity hover:opacity-90"},(0,t.createElement)(tt,null),(0,Ne.__)("Get Pro","divi-carousel-free")))))))},ot=({className:e="text-emerald-500"})=>(0,t.createElement)("svg",{className:`h-4 w-4 shrink-0 ${e}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})),lt=()=>(0,t.createElement)("span",{className:"block h-4 w-4 text-center leading-4 text-muted-foreground/30"},"—"),it=[{category:(0,Ne.__)("Carousel Modules","divi-carousel-free"),items:[{name:(0,Ne.__)("Image Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Logo Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Content Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Post Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Team Carousel","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Features & Controls","divi-carousel-free"),items:[{name:(0,Ne.__)("Autoplay Controls","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Responsive Breakpoints","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Loop & Rewind","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Advanced Navigation Styles","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Custom Pagination","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Coverflow & Creative Effects","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lazy Loading","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Support & Updates","divi-carousel-free"),items:[{name:(0,Ne.__)("Community Forum Support","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Priority Email Support","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lifetime Updates","divi-carousel-free"),free:!1,pro:!0}]}],st=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Free vs Pro","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Compare features and discover the full power of Divi Carousel.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden"},(0,t.createElement)("table",{className:"w-full",style:{borderCollapse:"separate",borderSpacing:0}},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)("th",{className:"px-5 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border"},(0,Ne.__)("Feature","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border w-16"},(0,Ne.__)("Free","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-primary border-b border-border w-16"},(0,Ne.__)("Pro","divi-carousel-free")))),(0,t.createElement)("tbody",null,it.map((e,r)=>(0,t.createElement)(a().Fragment,{key:e.category},(0,t.createElement)("tr",null,(0,t.createElement)("td",{colSpan:3,className:"px-5 py-2.5 text-xs font-semibold uppercase tracking-wider text-muted-foreground bg-muted/50 border-b border-border"},e.category)),e.items.map((a,n)=>(0,t.createElement)("tr",{key:a.name,className:n<e.items.length-1||r<it.length-1?"border-b border-border/50":""},(0,t.createElement)("td",{className:"px-5 py-3 text-[13px] text-foreground"},a.name),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.free?(0,t.createElement)(ot,null):(0,t.createElement)(lt,null))),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.pro?(0,t.createElement)(ot,{className:"text-primary"}):(0,t.createElement)(lt,null)))))))))),(0,t.createElement)("div",{className:"rounded-xl border border-primary/15 bg-primary/5 px-5 py-4 flex items-center justify-between gap-4"},(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-semibold text-foreground"},(0,Ne.__)("Ready to get all features?","divi-carousel-free")),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},(0,Ne.__)("Get all carousel modules and priority support.","divi-carousel-free"))),(0,t.createElement)(Be,{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",size:"sm",className:"shrink-0"},(0,Ne.__)("Upgrade to Pro","divi-carousel-free")," →"))),ct=()=>(0,t.createElement)(Ee,null,(0,t.createElement)("div",{className:"dcf-admin min-h-screen bg-muted/30"},(0,t.createElement)(Se,null),(0,t.createElement)("main",{className:"mx-auto max-w-5xl px-6 py-8"},(0,t.createElement)(de,null,(0,t.createElement)(ce,{path:"/",element:(0,t.createElement)(Je,null)}),(0,t.createElement)(ce,{path:"/modules",element:(0,t.createElement)(nt,null)}),(0,t.createElement)(ce,{path:"/free-vs-pro",element:(0,t.createElement)(st,null)}),(0,t.createElement)(ce,{path:"*",element:(0,t.createElement)(se,{to:"/",replace:!0})})))));document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("divi-carousel-free-admin-root");e&&(0,t.createRoot)(e).render((0,t.createElement)(ct,null))})})();1 (()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.element,r=window.React;var a=e.n(r);const n=window.ReactDOM;function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},o.apply(this,arguments)}var l;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(l||(l={}));const i="popstate";function s(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,a){return void 0===r&&(r=null),o({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:r,key:t&&t.key||a||Math.random().toString(36).substr(2,8)})}function m(e){let{pathname:t="/",search:r="",hash:a=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),a&&"#"!==a&&(t+="#"===a.charAt(0)?a:"#"+a),t}function p(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}var h;function f(e,t,r){return void 0===r&&(r="/"),function(e,t,r,a){let n=M(("string"==typeof t?p(t):t).pathname||"/",r);if(null==n)return null;let o=v(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let l=null;for(let e=0;null==l&&e<o.length;++e){let t=S(n);l=N(o[e],t,a)}return l}(e,t,r,!1)}function v(e,t,r,a){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===a&&(a="");let n=(e,n,o)=>{let l={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};l.relativePath.startsWith("/")&&(s(l.relativePath.startsWith(a),'Absolute route path "'+l.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),l.relativePath=l.relativePath.slice(a.length));let i=O([a,l.relativePath]),c=r.concat(l);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),v(e.children,t,c,i)),(null!=e.path||e.index)&&t.push({path:i,score:_(i,e.index),routesMeta:c})};return e.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of g(e.path))n(e,t,r);else n(e,t)}),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[r,...a]=t,n=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===a.length)return n?[o,""]:[o];let l=g(a.join("/")),i=[];return i.push(...l.map(e=>""===e?o:[o,e].join("/"))),n&&i.push(...l),i.map(t=>e.startsWith("/")&&""===t?"/":t)}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const x=/^:[\w-]+$/,E=3,b=2,y=1,w=10,C=-2,k=e=>"*"===e;function _(e,t){let r=e.split("/"),a=r.length;return r.some(k)&&(a+=C),t&&(a+=b),r.filter(e=>!k(e)).reduce((e,t)=>e+(x.test(t)?E:""===t?y:w),a)}function N(e,t,r){void 0===r&&(r=!1);let{routesMeta:a}=e,n={},o="/",l=[];for(let e=0;e<a.length;++e){let i=a[e],s=e===a.length-1,c="/"===o?t:t.slice(o.length)||"/",u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},c),d=i.route;if(!u&&s&&r&&!a[a.length-1].route.index&&(u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},c)),!u)return null;Object.assign(n,u.params),l.push({params:n,pathname:O([o,u.pathname]),pathnameBase:U(O([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=O([o,u.pathnameBase]))}return l}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),c("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let a=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(a.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(a.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),a]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let o=n[0],l=o.replace(/(.)\/+$/,"$1"),i=n.slice(1);return{params:a.reduce((e,t,r)=>{let{paramName:a,isOptional:n}=t;if("*"===a){let e=i[r]||"";l=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const s=i[r];return e[a]=n&&!s?void 0:(s||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:l,pattern:e}}function S(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,a=e.charAt(r);return a&&"/"!==a?null:e.slice(r)||"/"}const j=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function P(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function R(e,t,r,a){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(a)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function B(e,t){let r=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function W(e,t,r,a){let n;void 0===a&&(a=!1),"string"==typeof e?n=p(e):(n=o({},e),s(!n.pathname||!n.pathname.includes("?"),R("?","pathname","search",n)),s(!n.pathname||!n.pathname.includes("#"),R("#","pathname","hash",n)),s(!n.search||!n.search.includes("#"),R("#","search","hash",n)));let l,i=""===e||""===n.pathname,u=i?"/":n.pathname;if(null==u)l=r;else{let e=t.length-1;if(!a&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}l=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let r,{pathname:a,search:n="",hash:o=""}="string"==typeof e?p(e):e;if(a)if(l=a,j.test(l))r=a;else{if(a.includes("//")){let e=a;a=a.replace(/\/\/+/g,"/"),c(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+a)}r=a.startsWith("/")?P(a.substring(1),"/"):P(a,t)}else r=t;var l;return{pathname:r,search:z(n),hash:A(o)}}(n,l),m=u&&"/"!==u&&u.endsWith("/"),h=(i||"."===u)&&r.endsWith("/");return d.pathname.endsWith("/")||!m&&!h||(d.pathname+="/"),d}const O=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const T=["post","put","patch","delete"],D=(new Set(T),["get",...T]);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},F.apply(this,arguments)}new Set(D),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const H=r.createContext(null),V=r.createContext(null),$=r.createContext(null),I=r.createContext(null),J=r.createContext({outlet:null,matches:[],isDataRoute:!1}),Z=r.createContext(null);function G(){return null!=r.useContext(I)}function K(){return G()||s(!1),r.useContext(I).location}function q(e){r.useContext($).static||r.useLayoutEffect(e)}function X(){let{isDataRoute:e}=r.useContext(J);return e?function(){let{router:e}=function(){let e=r.useContext(H);return e||s(!1),e}(ne.UseNavigateStable),t=le(oe.UseNavigateStable),a=r.useRef(!1);return q(()=>{a.current=!0}),r.useCallback(function(r,n){void 0===n&&(n={}),a.current&&("number"==typeof r?e.navigate(r):e.navigate(r,F({fromRouteId:t},n)))},[e,t])}():function(){G()||s(!1);let e=r.useContext(H),{basename:t,future:a,navigator:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,a.v7_relativeSplatPath)),c=r.useRef(!1);return q(()=>{c.current=!0}),r.useCallback(function(r,a){if(void 0===a&&(a={}),!c.current)return;if("number"==typeof r)return void n.go(r);let o=W(r,JSON.parse(i),l,"path"===a.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:O([t,o.pathname])),(a.replace?n.replace:n.push)(o,a.state,a)},[t,n,i,l,e])}()}function Q(e,t){let{relative:a}=void 0===t?{}:t,{future:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,n.v7_relativeSplatPath));return r.useMemo(()=>W(e,JSON.parse(i),l,"path"===a),[e,i,l,a])}function Y(e,t,a,n){G()||s(!1);let{navigator:o}=r.useContext($),{matches:i}=r.useContext(J),c=i[i.length-1],u=c?c.params:{},d=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let m,h=K();if(t){var v;let e="string"==typeof t?p(t):t;"/"===d||(null==(v=e.pathname)?void 0:v.startsWith(d))||s(!1),m=e}else m=h;let g=m.pathname||"/",x=g;if("/"!==d){let e=d.replace(/^\//,"").split("/");x="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=f(e,{pathname:x}),b=function(e,t,a,n){var o;if(void 0===t&&(t=[]),void 0===a&&(a=null),void 0===n&&(n=null),null==e){var l;if(!a)return null;if(a.errors)e=a.matches;else{if(!(null!=(l=n)&&l.v7_partialHydration&&0===t.length&&!a.initialized&&a.matches.length>0))return null;e=a.matches}}let i=e,c=null==(o=a)?void 0:o.errors;if(null!=c){let e=i.findIndex(e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id]));e>=0||s(!1),i=i.slice(0,Math.min(i.length,e+1))}let u=!1,d=-1;if(a&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=a,n=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||n){u=!0,i=d>=0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight((e,n,o)=>{let l,s=!1,m=null,p=null;var h;a&&(l=c&&n.route.id?c[n.route.id]:void 0,m=n.route.errorElement||te,u&&(d<0&&0===o?(ie[h="route-fallback"]||(ie[h]=!0),s=!0,p=null):d===o&&(s=!0,p=n.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,o+1)),v=()=>{let t;return t=l?m:s?p:n.route.Component?r.createElement(n.route.Component,null):n.route.element?n.route.element:e,r.createElement(ae,{match:n,routeContext:{outlet:e,matches:f,isDataRoute:null!=a},children:t})};return a&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?r.createElement(re,{location:a.location,revalidation:a.revalidation,component:m,error:l,children:v(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):v()},null)}(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:O([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:O([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,a,n);return t&&b?r.createElement(I.Provider,{value:{location:F({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:l.Pop}},b):b}function ee(){let e=function(){var e;let t=r.useContext(Z),a=function(){let e=r.useContext(V);return e||s(!1),e}(oe.UseRouteError),n=le(oe.UseRouteError);return void 0!==t?t:null==(e=a.errors)?void 0:e[n]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),a?r.createElement("pre",{style:n},a):null,null)}const te=r.createElement(ee,null);class re extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(J.Provider,{value:this.props.routeContext},r.createElement(Z.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ae(e){let{routeContext:t,match:a,children:n}=e,o=r.useContext(H);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),r.createElement(J.Provider,{value:t},n)}var ne=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ne||{}),oe=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(oe||{});function le(e){let t=function(){let e=r.useContext(J);return e||s(!1),e}(),a=t.matches[t.matches.length-1];return a.route.id||s(!1),a.route.id}const ie={};function se(e){let{to:t,replace:a,state:n,relative:o}=e;G()||s(!1);let{future:l,static:i}=r.useContext($),{matches:c}=r.useContext(J),{pathname:u}=K(),d=X(),m=W(t,B(c,l.v7_relativeSplatPath),u,"path"===o),p=JSON.stringify(m);return r.useEffect(()=>d(JSON.parse(p),{replace:a,state:n,relative:o}),[d,p,o,a,n]),null}function ce(e){s(!1)}function ue(e){let{basename:t="/",children:a=null,location:n,navigationType:o=l.Pop,navigator:i,static:c=!1,future:u}=e;G()&&s(!1);let d=t.replace(/^\/*/,"/"),m=r.useMemo(()=>({basename:d,navigator:i,static:c,future:F({v7_relativeSplatPath:!1},u)}),[d,u,i,c]);"string"==typeof n&&(n=p(n));let{pathname:h="/",search:f="",hash:v="",state:g=null,key:x="default"}=n,E=r.useMemo(()=>{let e=M(h,d);return null==e?null:{location:{pathname:e,search:f,hash:v,state:g,key:x},navigationType:o}},[d,h,f,v,g,x,o]);return null==E?null:r.createElement($.Provider,{value:m},r.createElement(I.Provider,{children:a,value:E}))}function de(e){let{children:t,location:r}=e;return Y(me(t),r)}function me(e,t){void 0===t&&(t=[]);let a=[];return r.Children.forEach(e,(e,n)=>{if(!r.isValidElement(e))return;let o=[...t,n];if(e.type===r.Fragment)return void a.push.apply(a,me(e.props.children,o));e.type!==ce&&s(!1),e.props.index&&e.props.children&&s(!1);let l={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=me(e.props.children,o)),a.push(l)}),a}function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},pe.apply(this,arguments)}function he(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}r.startTransition,new Promise(()=>{}),r.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const fe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ve=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const ge=r.createContext({isTransitioning:!1});new Map;const xe=r.startTransition;function Ee(e){let{basename:t,children:a,future:n,window:h}=e,f=r.useRef();var v;null==f.current&&(f.current=(void 0===(v={window:h,v5Compat:!0})&&(v={}),function(e,t,r,a){void 0===a&&(a={});let{window:n=document.defaultView,v5Compat:c=!1}=a,p=n.history,h=l.Pop,f=null,v=g();function g(){return(p.state||{idx:null}).idx}function x(){h=l.Pop;let e=g(),t=null==e?null:e-v;v=e,f&&f({action:h,location:b.location,delta:t})}function E(e){let t="null"!==n.location.origin?n.location.origin:n.location.href,r="string"==typeof e?e:m(e);return r=r.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==v&&(v=0,p.replaceState(o({},p.state,{idx:v}),""));let b={get action(){return h},get location(){return e(n,p)},listen(e){if(f)throw new Error("A history only accepts one active listener");return n.addEventListener(i,x),f=e,()=>{n.removeEventListener(i,x),f=null}},createHref:e=>t(n,e),createURL:E,encodeLocation(e){let t=E(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=l.Push;let a=d(b.location,e,t);r&&r(a,e),v=g()+1;let o=u(a,v),i=b.createHref(a);try{p.pushState(o,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;n.location.assign(i)}c&&f&&f({action:h,location:b.location,delta:1})},replace:function(e,t){h=l.Replace;let a=d(b.location,e,t);r&&r(a,e),v=g();let n=u(a,v),o=b.createHref(a);p.replaceState(n,"",o),c&&f&&f({action:h,location:b.location,delta:0})},go:e=>p.go(e)};return b}(function(e,t){let{pathname:r="/",search:a="",hash:n=""}=p(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),d("",{pathname:r,search:a,hash:n},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),a="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");a=-1===r?t:t.slice(0,r)}return a+"#"+("string"==typeof t?t:m(t))},function(e,t){c("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},v)));let g=f.current,[x,E]=r.useState({action:g.action,location:g.location}),{v7_startTransition:b}=n||{},y=r.useCallback(e=>{b&&xe?xe(()=>E(e)):E(e)},[E,b]);return r.useLayoutEffect(()=>g.listen(y),[g,y]),r.useEffect(()=>{return null==(e=n)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t},[n]),r.createElement(ue,{basename:t,children:a,location:x.location,navigationType:x.action,navigator:g,future:n})}n.flushSync,r.useId;const be="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,ye=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,we=r.forwardRef(function(e,t){let a,{onClick:n,relative:o,reloadDocument:l,replace:i,state:c,target:u,to:d,preventScrollReset:p,viewTransition:h}=e,f=he(e,fe),{basename:v}=r.useContext($),g=!1;if("string"==typeof d&&ye.test(d)&&(a=d,be))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),r=M(t.pathname,v);t.origin===e.origin&&null!=r?d=r+t.search+t.hash:g=!0}catch(e){}let x=function(e,t){let{relative:a}=void 0===t?{}:t;G()||s(!1);let{basename:n,navigator:o}=r.useContext($),{hash:l,pathname:i,search:c}=Q(e,{relative:a}),u=i;return"/"!==n&&(u="/"===i?n:O([n,i])),o.createHref({pathname:u,search:c,hash:l})}(d,{relative:o}),E=function(e,t){let{target:a,replace:n,state:o,preventScrollReset:l,relative:i,viewTransition:s}=void 0===t?{}:t,c=X(),u=K(),d=Q(e,{relative:i});return r.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,a)){t.preventDefault();let r=void 0!==n?n:m(u)===m(d);c(e,{replace:r,state:o,preventScrollReset:l,relative:i,viewTransition:s})}},[u,c,d,n,o,a,e,l,i,s])}(d,{replace:i,state:c,target:u,preventScrollReset:p,relative:o,viewTransition:h});return r.createElement("a",pe({},f,{href:a||x,onClick:g||l?n:function(e){n&&n(e),e.defaultPrevented||E(e)},ref:t,target:u}))}),Ce=r.forwardRef(function(e,t){let{"aria-current":a="page",caseSensitive:n=!1,className:o="",end:l=!1,style:i,to:c,viewTransition:u,children:d}=e,m=he(e,ve),p=Q(c,{relative:m.relative}),h=K(),f=r.useContext(V),{navigator:v,basename:g}=r.useContext($),x=null!=f&&function(e,t){void 0===t&&(t={});let a=r.useContext(ge);null==a&&s(!1);let{basename:n}=function(){let e=r.useContext(H);return e||s(!1),e}(ke.useViewTransitionState),o=Q(e,{relative:t.relative});if(!a.isTransitioning)return!1;let l=M(a.currentLocation.pathname,n)||a.currentLocation.pathname,i=M(a.nextLocation.pathname,n)||a.nextLocation.pathname;return null!=L(o.pathname,i)||null!=L(o.pathname,l)}(p)&&!0===u,E=v.encodeLocation?v.encodeLocation(p).pathname:p.pathname,b=h.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;n||(b=b.toLowerCase(),y=y?y.toLowerCase():null,E=E.toLowerCase()),y&&g&&(y=M(y,g)||y);const w="/"!==E&&E.endsWith("/")?E.length-1:E.length;let C,k=b===E||!l&&b.startsWith(E)&&"/"===b.charAt(w),_=null!=y&&(y===E||!l&&y.startsWith(E)&&"/"===y.charAt(E.length)),N={isActive:k,isPending:_,isTransitioning:x},S=k?a:void 0;C="function"==typeof o?o(N):[o,k?"active":null,_?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let j="function"==typeof i?i(N):i;return r.createElement(we,pe({},m,{"aria-current":S,className:C,ref:t,style:j,to:c,viewTransition:u}),"function"==typeof d?d(N):d)});var ke,_e;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ke||(ke={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(_e||(_e={}));const Ne=window.wp.i18n,Le=[{to:"/",label:"Overview"},{to:"/modules",label:"Modules"},{to:"/free-vs-pro",label:"Free vs Pro"}],Se=()=>(0,t.createElement)("header",{className:"border-b border-border bg-white sticky top-[32px] z-40"},(0,t.createElement)("div",{className:"flex h-14 items-center justify-between px-6"},(0,t.createElement)("div",{className:"flex items-center"},(0,t.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("g",{clipPath:"url(#clip0_header)"},(0,t.createElement)("path",{d:"M48 0C74.5097 0 96 21.4903 96 48C96 74.5097 74.5097 96 48 96C21.4903 96 0 74.5097 0 48C0 21.4903 21.4903 0 48 0ZM26.4 31.2C25.5461 31.2 24.8431 31.4762 24.2906 32.0287L10.4287 45.8906C10.1294 46.1918 9.91642 46.5182 9.78984 46.8698C9.66329 47.2214 9.6 47.5982 9.6 48C9.60202 48.4018 9.66528 48.7786 9.78984 49.1302C9.9144 49.4818 10.1274 49.8082 10.4287 50.1094L24.2906 63.9713C24.8431 64.5238 25.5461 64.8 26.4 64.8C27.2539 64.8 27.9569 64.5238 28.5094 63.9713C29.0618 63.4188 29.3381 62.7156 29.3381 61.8619C29.3381 61.008 29.0618 60.305 28.5094 59.7526L16.7569 48L28.5094 36.2474C29.0618 35.695 29.3381 34.992 29.3381 34.1381C29.3381 33.2844 29.0618 32.5812 28.5094 32.0287C27.9569 31.4762 27.2539 31.2 26.4 31.2ZM69.6494 31.2C68.7982 31.2 68.0971 31.4762 67.5461 32.0287C66.9953 32.5812 66.72 33.2844 66.72 34.1381C66.72 34.992 66.9953 35.695 67.5461 36.2474L79.2643 48L67.5461 59.7526C66.9953 60.305 66.72 61.008 66.72 61.8619C66.72 62.7156 66.9953 63.4188 67.5461 63.9713C68.0971 64.5238 68.7982 64.8 69.6494 64.8C70.5007 64.8 71.202 64.5238 71.7528 63.9713L85.5739 50.1094C85.8742 49.8082 86.0863 49.4818 86.2106 49.1302C86.3347 48.7786 86.3981 48.4018 86.4 48C86.4 47.5982 86.3369 47.2214 86.2106 46.8698C86.0844 46.5182 85.8722 46.1918 85.5739 45.8906L71.7528 32.0287C71.202 31.4762 70.5007 31.2 69.6494 31.2ZM30.24 45.6C28.9145 45.6 27.84 46.6745 27.84 48C27.84 49.3255 28.9145 50.4 30.24 50.4H37.44C38.7655 50.4 39.84 49.3255 39.84 48C39.84 46.6745 38.7655 45.6 37.44 45.6H30.24ZM47.52 45.6C46.1945 45.6 45.12 46.6745 45.12 48C45.12 49.3255 46.1945 50.4 47.52 50.4C48.8455 50.4 49.92 49.3255 49.92 48C49.92 46.6745 48.8455 45.6 47.52 45.6ZM57.12 45.6C55.7945 45.6 54.72 46.6745 54.72 48C54.72 49.3255 55.7945 50.4 57.12 50.4C58.4455 50.4 59.52 49.3255 59.52 48C59.52 46.6745 58.4455 45.6 57.12 45.6ZM66.72 45.6C65.3945 45.6 64.32 46.6745 64.32 48C64.32 49.3255 65.3945 50.4 66.72 50.4C68.0455 50.4 69.12 49.3255 69.12 48C69.12 46.6745 68.0455 45.6 66.72 45.6Z",fill:"#5733FF"})),(0,t.createElement)("defs",null,(0,t.createElement)("clipPath",{id:"clip0_header"},(0,t.createElement)("rect",{width:"96",height:"96",fill:"white"})))),(0,t.createElement)("nav",{className:"flex items-center gap-6 ml-8"},Le.map(({to:e,label:r})=>(0,t.createElement)(Ce,{key:e,to:e,end:"/"===e,className:({isActive:e})=>"text-[13px] font-medium transition-colors "+(e?"text-foreground":"text-muted-foreground hover:text-foreground")},(0,Ne.__)(r,"divi-carousel-free"))))),(0,t.createElement)("div",{className:"flex items-center gap-1"},(0,t.createElement)("a",{href:"https://divipeople.com/docs",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Documentation","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"}))),(0,t.createElement)("a",{href:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Support","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25z"}))),(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("What's New","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.455 2.456L21.75 6l-1.036.259a3.375 3.375 0 00-2.455 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z"}))))));function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Me.apply(null,arguments)}function je(...e){return e.filter(Boolean).join(" ")}const Pe={default:"bg-primary text-primary-foreground hover:bg-primary/90 hover:text-primary-foreground text-white hover:text-white",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 hover:text-secondary-foreground ",ghost:"text-muted-foreground hover:text-foreground hover:bg-muted ",link:"text-foreground underline-offset-4 hover:underline hover:text-foreground"},Re={sm:"h-8 px-3 text-xs",default:"h-9 px-4 text-sm",lg:"h-10 px-6 text-sm",icon:"h-9 w-9"},Be=({variant:e="default",size:r="default",className:a,children:n,...o})=>{const l=o.href?"a":"button";return(0,t.createElement)(l,Me({className:je("inline-flex items-center justify-center font-medium rounded-lg transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",Pe[e],Re[r],a)},o),n)},We=({className:e,children:r})=>(0,t.createElement)("div",{className:je("flex flex-wrap gap-3",e)},r),Oe=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),Ue=({label:e,title:r,description:a,actions:n=[],illustration:o})=>(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card px-8 py-10 sm:px-10 sm:py-12"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-8"},(0,t.createElement)("div",{className:"min-w-0"},e&&(0,t.createElement)("p",{className:"text-xs font-medium uppercase tracking-wider text-muted-foreground mb-3"},e),(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground sm:text-2xl"},r),a&&(0,t.createElement)("p",{className:"mt-2 max-w-xl text-sm text-muted-foreground leading-relaxed"},a),n.length>0&&(0,t.createElement)(We,{className:"mt-6"},n.map((e,r)=>(0,t.createElement)(Be,{key:r,variant:0===r?"default":"secondary",href:e.url,target:"_blank",rel:"noopener noreferrer"},e.label,e.arrow&&(0,t.createElement)(Oe,null))))),o&&(0,t.createElement)("div",{className:"hidden shrink-0 lg:block"},o))),ze=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("rounded-xl border border-border bg-card text-card-foreground",e)},a),r),Ae=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("p-6",e)},a),r),Te=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),De=({icon:e,title:r,description:a,linkText:n,linkUrl:o})=>(0,t.createElement)(ze,{className:"group hover:border-foreground/15 transition-colors"},(0,t.createElement)(Ae,{className:"p-5"},(0,t.createElement)("div",{className:"mb-3 flex h-9 w-9 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e),(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground mb-1"},r),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mb-3 leading-relaxed"},a),n&&o&&(0,t.createElement)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-[13px] font-medium text-foreground hover:text-primary hover:underline"},n,(0,t.createElement)(Te,null)))),Fe=({title:e,description:r,buttonText:a,buttonUrl:n,icon:o})=>(0,t.createElement)(ze,null,(0,t.createElement)(Ae,{className:"p-6"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-4"},(0,t.createElement)("div",{className:"flex items-center gap-3"},o||(0,t.createElement)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-amber-50"},(0,t.createElement)("svg",{className:"h-5 w-5 text-amber-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"}))),(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground"},r))),(0,t.createElement)(Be,{variant:"secondary",href:n,target:"_blank",rel:"noopener noreferrer"},a)))),He=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"})),Ve=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 01-.825-.242m9.345-8.334a2.126 2.126 0 00-.476-.095 48.64 48.64 0 00-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0011.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"})),$e=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z"})),Ie=()=>(0,t.createElement)("svg",{width:"180",height:"140",viewBox:"0 0 180 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},(0,t.createElement)("rect",{x:"8",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"116",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"text-primary/30"}),(0,t.createElement)("rect",{x:"52",y:"24",width:"76",height:"44",rx:"4",fill:"currentColor",className:"text-primary/20"}),(0,t.createElement)("path",{d:"M72 52l8-12 6 8 4-5 10 13H68l4-4z",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("circle",{cx:"78",cy:"38",r:"3",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("rect",{x:"52",y:"76",width:"48",height:"6",rx:"3",fill:"currentColor",className:"text-foreground/15"}),(0,t.createElement)("rect",{x:"52",y:"88",width:"32",height:"4",rx:"2",fill:"currentColor",className:"text-muted-foreground/15"}),(0,t.createElement)("circle",{cx:"82",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"90",cy:"120",r:"3.5",fill:"currentColor",className:"text-primary"}),(0,t.createElement)("circle",{cx:"98",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"16",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M18 55l-5 5 5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"}),(0,t.createElement)("circle",{cx:"164",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M162 55l5 5-5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"})),Je=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)(Ue,{label:(0,Ne.__)("Divi Carousel","divi-carousel-free"),title:(0,Ne.__)("Build Stunning Carousels for Divi","divi-carousel-free"),description:(0,Ne.__)("Create beautiful image and logo carousels with smooth animations, responsive layouts, and full Divi Builder integration — no code required.","divi-carousel-free"),actions:[{label:(0,Ne.__)("Get Carousel Pro","divi-carousel-free"),url:"https://divipeople.com/divi-carousel-pro",arrow:!0}],illustration:(0,t.createElement)(Ie,null)}),(0,t.createElement)("div",{className:"grid gap-4 sm:grid-cols-3"},(0,t.createElement)(De,{icon:(0,t.createElement)(He,null),title:(0,Ne.__)("Documentation","divi-carousel-free"),description:(0,Ne.__)("Step-by-step guides to help you set up and customize your carousels.","divi-carousel-free"),linkText:(0,Ne.__)("Read Docs","divi-carousel-free"),linkUrl:"https://divipeople.com/docs"}),(0,t.createElement)(De,{icon:(0,t.createElement)(Ve,null),title:(0,Ne.__)("Support","divi-carousel-free"),description:(0,Ne.__)("Have a question? Our support team is here to help on the forum.","divi-carousel-free"),linkText:(0,Ne.__)("Get Support","divi-carousel-free"),linkUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"}),(0,t.createElement)(De,{icon:(0,t.createElement)($e,null),title:(0,Ne.__)("Go Pro","divi-carousel-free"),description:(0,Ne.__)("Get post, testimonial, team, and WooCommerce carousel modules.","divi-carousel-free"),linkText:(0,Ne.__)("Learn More","divi-carousel-free"),linkUrl:"https://divipeople.com/divi-carousel-pro"})),(0,t.createElement)(Fe,{title:(0,Ne.__)("Need help getting started?","divi-carousel-free"),description:(0,Ne.__)("Our support team is ready to help you build amazing carousels.","divi-carousel-free"),buttonText:(0,Ne.__)("Contact Support","divi-carousel-free"),buttonUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"})),Ze=({checked:e=!1,onCheckedChange:r,disabled:a=!1,className:n})=>(0,t.createElement)("button",{type:"button",role:"switch","aria-checked":e,disabled:a,onClick:()=>!a&&r?.(!e),style:{backgroundColor:e?"hsl(251, 100%, 60%)":"#c4c4c8",padding:0,margin:0,lineHeight:0},className:je("relative inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",n)},(0,t.createElement)("span",{style:{backgroundColor:"#fff",width:"14px",height:"14px",borderRadius:"50%",display:"block",transform:e?"translateX(17px)":"translateX(3px)",transition:"transform 200ms ease",boxShadow:"0 1px 2px rgba(0,0,0,0.15)",border:"none",outline:"none",padding:0,margin:0}})),Ge={default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-emerald-50 text-emerald-700",warning:"bg-amber-50 text-amber-700",outline:"text-foreground border border-border",pro:"bg-primary/10 text-primary"},Ke=({className:e,variant:r="default",children:a,...n})=>(0,t.createElement)("span",Me({className:je("inline-flex items-center rounded-md px-2.5 py-0.5 text-xs font-medium transition-colors",Ge[r],e)},n),a),qe=({className:e,size:r="default"})=>(0,t.createElement)("div",{className:je("animate-spin rounded-full border-2 border-muted-foreground/20 border-t-primary",{sm:"h-4 w-4",default:"h-6 w-6",lg:"h-8 w-8"}[r],e)}),Xe=window.wp.apiFetch;var Qe=e.n(Xe);const Ye=[{id:"logo_carousel",name:"Logo Carousel",description:"Showcase client logos in an animated carousel with hover effects and custom links.",icon:"logo"},{id:"image_carousel",name:"Image Carousel",description:"Display images in a beautiful carousel layout with lightbox and navigation.",icon:"image"}],et=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25a2.25 2.25 0 00-2.25-2.25H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})),tt=()=>(0,t.createElement)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z"})),rt={image:(0,t.createElement)(et,null),logo:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"})),null)},at=[{id:"content_carousel",name:(0,Ne.__)("Content Carousel","divi-carousel-free"),description:(0,Ne.__)("Create carousels with custom content, icons, and call-to-action buttons.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"})),null)},{id:"post_carousel",name:(0,Ne.__)("Post Carousel","divi-carousel-free"),description:(0,Ne.__)("Display blog posts in a dynamic carousel with featured images.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})),null)},{id:"woo_carousel",name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase WooCommerce products in a carousel layout.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"})),null)},{id:"testimonial_carousel",name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),description:(0,Ne.__)("Display customer testimonials in an engaging carousel.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 01.865-.501 48.172 48.172 0 003.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})),null)},{id:"team_carousel",name:(0,Ne.__)("Team Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase team members with photos, roles, and social links.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z"})),null)}],nt=()=>{const{modules:e,loading:r,saving:a,toggleModule:n}=function(){const[e,r]=(0,t.useState)(Ye.map(e=>({...e,enabled:!0}))),[a,n]=(0,t.useState)(!0),[o,l]=(0,t.useState)(null),i=(0,t.useCallback)(async()=>{try{const e=await Qe()({path:"/divi-carousel-free/v1/modules"});e.success&&e.modules&&r(Ye.map(t=>({...t,enabled:!1!==e.modules[t.id]})))}catch(e){console.error("Failed to load modules:",e)}finally{n(!1)}},[]);(0,t.useEffect)(()=>{i()},[i]);const s=(0,t.useCallback)(async t=>{const a=e.find(e=>e.id===t);if(!a)return;const n=!a.enabled;r(e=>e.map(e=>e.id===t?{...e,enabled:n}:e)),l(t);try{await Qe()({path:"/divi-carousel-free/v1/modules/toggle",method:"POST",data:{module_id:t,enabled:n}})}catch(e){r(e=>e.map(e=>e.id===t?{...e,enabled:!n}:e)),console.error("Failed to toggle module:",e)}finally{l(null)}},[e]);return{modules:e,loading:a,saving:o,toggleModule:s}}();return r?(0,t.createElement)("div",{className:"flex h-80 items-center justify-center"},(0,t.createElement)(qe,null)):(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Carousel Modules","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Control which modules are available in the Divi Builder.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden divide-y divide-border"},e.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},rt[e.icon]||(0,t.createElement)(et,null)),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)(Ze,{checked:e.enabled,onCheckedChange:()=>n(e.id),disabled:a===e.id})))),at.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4 opacity-60"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e.icon),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("div",{className:"flex items-center gap-2"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)(Ke,{variant:"pro"},(0,Ne.__)("Pro","divi-carousel-free"))),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:"hsl(251, 100%, 60%)",color:"#fff"},className:"inline-flex items-center gap-1.5 rounded-md px-3 h-7 text-xs font-medium transition-opacity hover:opacity-90"},(0,t.createElement)(tt,null),(0,Ne.__)("Get Pro","divi-carousel-free")))))))},ot=({className:e="text-emerald-500"})=>(0,t.createElement)("svg",{className:`h-4 w-4 shrink-0 ${e}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})),lt=()=>(0,t.createElement)("span",{className:"block h-4 w-4 text-center leading-4 text-muted-foreground/30"},"—"),it=[{category:(0,Ne.__)("Carousel Modules","divi-carousel-free"),items:[{name:(0,Ne.__)("Image Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Logo Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Content Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Post Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Team Carousel","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Features & Controls","divi-carousel-free"),items:[{name:(0,Ne.__)("Autoplay Controls","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Responsive Breakpoints","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Loop & Rewind","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Advanced Navigation Styles","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Custom Pagination","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Coverflow & Creative Effects","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lazy Loading","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Support & Updates","divi-carousel-free"),items:[{name:(0,Ne.__)("Community Forum Support","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Priority Email Support","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lifetime Updates","divi-carousel-free"),free:!1,pro:!0}]}],st=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Free vs Pro","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Compare features and discover the full power of Divi Carousel.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden"},(0,t.createElement)("table",{className:"w-full",style:{borderCollapse:"separate",borderSpacing:0}},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)("th",{className:"px-5 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border"},(0,Ne.__)("Feature","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border w-16"},(0,Ne.__)("Free","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-primary border-b border-border w-16"},(0,Ne.__)("Pro","divi-carousel-free")))),(0,t.createElement)("tbody",null,it.map((e,r)=>(0,t.createElement)(a().Fragment,{key:e.category},(0,t.createElement)("tr",null,(0,t.createElement)("td",{colSpan:3,className:"px-5 py-2.5 text-xs font-semibold uppercase tracking-wider text-muted-foreground bg-muted/50 border-b border-border"},e.category)),e.items.map((a,n)=>(0,t.createElement)("tr",{key:a.name,className:n<e.items.length-1||r<it.length-1?"border-b border-border/50":""},(0,t.createElement)("td",{className:"px-5 py-3 text-[13px] text-foreground"},a.name),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.free?(0,t.createElement)(ot,null):(0,t.createElement)(lt,null))),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.pro?(0,t.createElement)(ot,{className:"text-primary"}):(0,t.createElement)(lt,null)))))))))),(0,t.createElement)("div",{className:"rounded-xl border border-primary/15 bg-primary/5 px-5 py-4 flex items-center justify-between gap-4"},(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-semibold text-foreground"},(0,Ne.__)("Ready to get all features?","divi-carousel-free")),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},(0,Ne.__)("Get all carousel modules and priority support.","divi-carousel-free"))),(0,t.createElement)(Be,{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",size:"sm",className:"shrink-0"},(0,Ne.__)("Upgrade to Pro","divi-carousel-free")," →"))),ct=()=>(0,t.createElement)(Ee,null,(0,t.createElement)("div",{className:"dcf-admin min-h-screen bg-muted/30"},(0,t.createElement)(Se,null),(0,t.createElement)("main",{className:"mx-auto max-w-5xl px-6 py-8"},(0,t.createElement)(de,null,(0,t.createElement)(ce,{path:"/",element:(0,t.createElement)(Je,null)}),(0,t.createElement)(ce,{path:"/modules",element:(0,t.createElement)(nt,null)}),(0,t.createElement)(ce,{path:"/free-vs-pro",element:(0,t.createElement)(st,null)}),(0,t.createElement)(ce,{path:"*",element:(0,t.createElement)(se,{to:"/",replace:!0})})))));document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("divi-carousel-free-admin-root");e&&(0,t.createRoot)(e).render((0,t.createElement)(ct,null))})})(); -
wow-carousel-for-divi-lite/tags/3.0.1/readme.txt
r3472263 r3472264 5 5 Requires at least: 5.0 6 6 Tested up to: 6.9 7 Stable tag: 3.0. 07 Stable tag: 3.0.1 8 8 Requires PHP: 7.4 9 9 License: GPLv2 -
wow-carousel-for-divi-lite/tags/3.0.1/uninstall.php
r3405168 r3472264 1 <?php2 // Not like register_uninstall_hook(), you do NOT have to use a static function.3 dcf_fs()->add_action('after_uninstall', 'dcf_fs_uninstall_cleanup'); -
wow-carousel-for-divi-lite/tags/3.0.1/wow-divi-carousel-lite.php
r3472263 r3472264 5 5 * Plugin URI: https://DiviPeople.com 6 6 * Description: Divi Carousel plugin to create beautiful carousels with any modules. 7 * Version: 3.0. 07 * Version: 3.0.1 8 8 * Author: DiviPeople 9 9 * Author URI: https://DiviPeople.com -
wow-carousel-for-divi-lite/trunk/config.php
r3472263 r3472264 10 10 11 11 // Plugin version. 12 define('DCF_PLUGIN_VERSION', '3.0. 0');12 define('DCF_PLUGIN_VERSION', '3.0.1'); 13 13 14 14 // Plugin paths. -
wow-carousel-for-divi-lite/trunk/dist/admin/admin.asset.php
r3472263 r3472264 1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => ' 5e8905c2d8d11092ded9');1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => '1363270f95dd111a331e'); -
wow-carousel-for-divi-lite/trunk/dist/admin/admin.css
r3472263 r3472264 845 845 846 846 .dcf-admin a { 847 color: inherit;848 847 text-decoration: none; 849 848 box-shadow: none; … … 932 931 } 933 932 933 .hover\:text-white:hover { 934 --tw-text-opacity: 1; 935 color: rgb(255 255 255 / var(--tw-text-opacity, 1)); 936 } 937 934 938 .hover\:underline:hover { 935 939 text-decoration-line: underline; -
wow-carousel-for-divi-lite/trunk/dist/admin/admin.js
r3472263 r3472264 1 (()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.element,r=window.React;var a=e.n(r);const n=window.ReactDOM;function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},o.apply(this,arguments)}var l;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(l||(l={}));const i="popstate";function s(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,a){return void 0===r&&(r=null),o({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:r,key:t&&t.key||a||Math.random().toString(36).substr(2,8)})}function m(e){let{pathname:t="/",search:r="",hash:a=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),a&&"#"!==a&&(t+="#"===a.charAt(0)?a:"#"+a),t}function p(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}var h;function f(e,t,r){return void 0===r&&(r="/"),function(e,t,r,a){let n=M(("string"==typeof t?p(t):t).pathname||"/",r);if(null==n)return null;let o=v(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let l=null;for(let e=0;null==l&&e<o.length;++e){let t=S(n);l=N(o[e],t,a)}return l}(e,t,r,!1)}function v(e,t,r,a){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===a&&(a="");let n=(e,n,o)=>{let l={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};l.relativePath.startsWith("/")&&(s(l.relativePath.startsWith(a),'Absolute route path "'+l.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),l.relativePath=l.relativePath.slice(a.length));let i=O([a,l.relativePath]),c=r.concat(l);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),v(e.children,t,c,i)),(null!=e.path||e.index)&&t.push({path:i,score:_(i,e.index),routesMeta:c})};return e.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of g(e.path))n(e,t,r);else n(e,t)}),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[r,...a]=t,n=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===a.length)return n?[o,""]:[o];let l=g(a.join("/")),i=[];return i.push(...l.map(e=>""===e?o:[o,e].join("/"))),n&&i.push(...l),i.map(t=>e.startsWith("/")&&""===t?"/":t)}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const x=/^:[\w-]+$/,E=3,b=2,y=1,w=10,C=-2,k=e=>"*"===e;function _(e,t){let r=e.split("/"),a=r.length;return r.some(k)&&(a+=C),t&&(a+=b),r.filter(e=>!k(e)).reduce((e,t)=>e+(x.test(t)?E:""===t?y:w),a)}function N(e,t,r){void 0===r&&(r=!1);let{routesMeta:a}=e,n={},o="/",l=[];for(let e=0;e<a.length;++e){let i=a[e],s=e===a.length-1,c="/"===o?t:t.slice(o.length)||"/",u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},c),d=i.route;if(!u&&s&&r&&!a[a.length-1].route.index&&(u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},c)),!u)return null;Object.assign(n,u.params),l.push({params:n,pathname:O([o,u.pathname]),pathnameBase:U(O([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=O([o,u.pathnameBase]))}return l}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),c("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let a=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(a.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(a.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),a]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let o=n[0],l=o.replace(/(.)\/+$/,"$1"),i=n.slice(1);return{params:a.reduce((e,t,r)=>{let{paramName:a,isOptional:n}=t;if("*"===a){let e=i[r]||"";l=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const s=i[r];return e[a]=n&&!s?void 0:(s||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:l,pattern:e}}function S(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,a=e.charAt(r);return a&&"/"!==a?null:e.slice(r)||"/"}const j=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function P(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function R(e,t,r,a){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(a)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function B(e,t){let r=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function W(e,t,r,a){let n;void 0===a&&(a=!1),"string"==typeof e?n=p(e):(n=o({},e),s(!n.pathname||!n.pathname.includes("?"),R("?","pathname","search",n)),s(!n.pathname||!n.pathname.includes("#"),R("#","pathname","hash",n)),s(!n.search||!n.search.includes("#"),R("#","search","hash",n)));let l,i=""===e||""===n.pathname,u=i?"/":n.pathname;if(null==u)l=r;else{let e=t.length-1;if(!a&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}l=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let r,{pathname:a,search:n="",hash:o=""}="string"==typeof e?p(e):e;if(a)if(l=a,j.test(l))r=a;else{if(a.includes("//")){let e=a;a=a.replace(/\/\/+/g,"/"),c(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+a)}r=a.startsWith("/")?P(a.substring(1),"/"):P(a,t)}else r=t;var l;return{pathname:r,search:z(n),hash:A(o)}}(n,l),m=u&&"/"!==u&&u.endsWith("/"),h=(i||"."===u)&&r.endsWith("/");return d.pathname.endsWith("/")||!m&&!h||(d.pathname+="/"),d}const O=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const T=["post","put","patch","delete"],D=(new Set(T),["get",...T]);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},F.apply(this,arguments)}new Set(D),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const H=r.createContext(null),V=r.createContext(null),$=r.createContext(null),I=r.createContext(null),J=r.createContext({outlet:null,matches:[],isDataRoute:!1}),Z=r.createContext(null);function G(){return null!=r.useContext(I)}function K(){return G()||s(!1),r.useContext(I).location}function q(e){r.useContext($).static||r.useLayoutEffect(e)}function X(){let{isDataRoute:e}=r.useContext(J);return e?function(){let{router:e}=function(){let e=r.useContext(H);return e||s(!1),e}(ne.UseNavigateStable),t=le(oe.UseNavigateStable),a=r.useRef(!1);return q(()=>{a.current=!0}),r.useCallback(function(r,n){void 0===n&&(n={}),a.current&&("number"==typeof r?e.navigate(r):e.navigate(r,F({fromRouteId:t},n)))},[e,t])}():function(){G()||s(!1);let e=r.useContext(H),{basename:t,future:a,navigator:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,a.v7_relativeSplatPath)),c=r.useRef(!1);return q(()=>{c.current=!0}),r.useCallback(function(r,a){if(void 0===a&&(a={}),!c.current)return;if("number"==typeof r)return void n.go(r);let o=W(r,JSON.parse(i),l,"path"===a.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:O([t,o.pathname])),(a.replace?n.replace:n.push)(o,a.state,a)},[t,n,i,l,e])}()}function Q(e,t){let{relative:a}=void 0===t?{}:t,{future:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,n.v7_relativeSplatPath));return r.useMemo(()=>W(e,JSON.parse(i),l,"path"===a),[e,i,l,a])}function Y(e,t,a,n){G()||s(!1);let{navigator:o}=r.useContext($),{matches:i}=r.useContext(J),c=i[i.length-1],u=c?c.params:{},d=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let m,h=K();if(t){var v;let e="string"==typeof t?p(t):t;"/"===d||(null==(v=e.pathname)?void 0:v.startsWith(d))||s(!1),m=e}else m=h;let g=m.pathname||"/",x=g;if("/"!==d){let e=d.replace(/^\//,"").split("/");x="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=f(e,{pathname:x}),b=function(e,t,a,n){var o;if(void 0===t&&(t=[]),void 0===a&&(a=null),void 0===n&&(n=null),null==e){var l;if(!a)return null;if(a.errors)e=a.matches;else{if(!(null!=(l=n)&&l.v7_partialHydration&&0===t.length&&!a.initialized&&a.matches.length>0))return null;e=a.matches}}let i=e,c=null==(o=a)?void 0:o.errors;if(null!=c){let e=i.findIndex(e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id]));e>=0||s(!1),i=i.slice(0,Math.min(i.length,e+1))}let u=!1,d=-1;if(a&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=a,n=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||n){u=!0,i=d>=0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight((e,n,o)=>{let l,s=!1,m=null,p=null;var h;a&&(l=c&&n.route.id?c[n.route.id]:void 0,m=n.route.errorElement||te,u&&(d<0&&0===o?(ie[h="route-fallback"]||(ie[h]=!0),s=!0,p=null):d===o&&(s=!0,p=n.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,o+1)),v=()=>{let t;return t=l?m:s?p:n.route.Component?r.createElement(n.route.Component,null):n.route.element?n.route.element:e,r.createElement(ae,{match:n,routeContext:{outlet:e,matches:f,isDataRoute:null!=a},children:t})};return a&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?r.createElement(re,{location:a.location,revalidation:a.revalidation,component:m,error:l,children:v(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):v()},null)}(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:O([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:O([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,a,n);return t&&b?r.createElement(I.Provider,{value:{location:F({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:l.Pop}},b):b}function ee(){let e=function(){var e;let t=r.useContext(Z),a=function(){let e=r.useContext(V);return e||s(!1),e}(oe.UseRouteError),n=le(oe.UseRouteError);return void 0!==t?t:null==(e=a.errors)?void 0:e[n]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),a?r.createElement("pre",{style:n},a):null,null)}const te=r.createElement(ee,null);class re extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(J.Provider,{value:this.props.routeContext},r.createElement(Z.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ae(e){let{routeContext:t,match:a,children:n}=e,o=r.useContext(H);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),r.createElement(J.Provider,{value:t},n)}var ne=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ne||{}),oe=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(oe||{});function le(e){let t=function(){let e=r.useContext(J);return e||s(!1),e}(),a=t.matches[t.matches.length-1];return a.route.id||s(!1),a.route.id}const ie={};function se(e){let{to:t,replace:a,state:n,relative:o}=e;G()||s(!1);let{future:l,static:i}=r.useContext($),{matches:c}=r.useContext(J),{pathname:u}=K(),d=X(),m=W(t,B(c,l.v7_relativeSplatPath),u,"path"===o),p=JSON.stringify(m);return r.useEffect(()=>d(JSON.parse(p),{replace:a,state:n,relative:o}),[d,p,o,a,n]),null}function ce(e){s(!1)}function ue(e){let{basename:t="/",children:a=null,location:n,navigationType:o=l.Pop,navigator:i,static:c=!1,future:u}=e;G()&&s(!1);let d=t.replace(/^\/*/,"/"),m=r.useMemo(()=>({basename:d,navigator:i,static:c,future:F({v7_relativeSplatPath:!1},u)}),[d,u,i,c]);"string"==typeof n&&(n=p(n));let{pathname:h="/",search:f="",hash:v="",state:g=null,key:x="default"}=n,E=r.useMemo(()=>{let e=M(h,d);return null==e?null:{location:{pathname:e,search:f,hash:v,state:g,key:x},navigationType:o}},[d,h,f,v,g,x,o]);return null==E?null:r.createElement($.Provider,{value:m},r.createElement(I.Provider,{children:a,value:E}))}function de(e){let{children:t,location:r}=e;return Y(me(t),r)}function me(e,t){void 0===t&&(t=[]);let a=[];return r.Children.forEach(e,(e,n)=>{if(!r.isValidElement(e))return;let o=[...t,n];if(e.type===r.Fragment)return void a.push.apply(a,me(e.props.children,o));e.type!==ce&&s(!1),e.props.index&&e.props.children&&s(!1);let l={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=me(e.props.children,o)),a.push(l)}),a}function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},pe.apply(this,arguments)}function he(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}r.startTransition,new Promise(()=>{}),r.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const fe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ve=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const ge=r.createContext({isTransitioning:!1});new Map;const xe=r.startTransition;function Ee(e){let{basename:t,children:a,future:n,window:h}=e,f=r.useRef();var v;null==f.current&&(f.current=(void 0===(v={window:h,v5Compat:!0})&&(v={}),function(e,t,r,a){void 0===a&&(a={});let{window:n=document.defaultView,v5Compat:c=!1}=a,p=n.history,h=l.Pop,f=null,v=g();function g(){return(p.state||{idx:null}).idx}function x(){h=l.Pop;let e=g(),t=null==e?null:e-v;v=e,f&&f({action:h,location:b.location,delta:t})}function E(e){let t="null"!==n.location.origin?n.location.origin:n.location.href,r="string"==typeof e?e:m(e);return r=r.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==v&&(v=0,p.replaceState(o({},p.state,{idx:v}),""));let b={get action(){return h},get location(){return e(n,p)},listen(e){if(f)throw new Error("A history only accepts one active listener");return n.addEventListener(i,x),f=e,()=>{n.removeEventListener(i,x),f=null}},createHref:e=>t(n,e),createURL:E,encodeLocation(e){let t=E(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=l.Push;let a=d(b.location,e,t);r&&r(a,e),v=g()+1;let o=u(a,v),i=b.createHref(a);try{p.pushState(o,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;n.location.assign(i)}c&&f&&f({action:h,location:b.location,delta:1})},replace:function(e,t){h=l.Replace;let a=d(b.location,e,t);r&&r(a,e),v=g();let n=u(a,v),o=b.createHref(a);p.replaceState(n,"",o),c&&f&&f({action:h,location:b.location,delta:0})},go:e=>p.go(e)};return b}(function(e,t){let{pathname:r="/",search:a="",hash:n=""}=p(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),d("",{pathname:r,search:a,hash:n},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),a="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");a=-1===r?t:t.slice(0,r)}return a+"#"+("string"==typeof t?t:m(t))},function(e,t){c("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},v)));let g=f.current,[x,E]=r.useState({action:g.action,location:g.location}),{v7_startTransition:b}=n||{},y=r.useCallback(e=>{b&&xe?xe(()=>E(e)):E(e)},[E,b]);return r.useLayoutEffect(()=>g.listen(y),[g,y]),r.useEffect(()=>{return null==(e=n)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t},[n]),r.createElement(ue,{basename:t,children:a,location:x.location,navigationType:x.action,navigator:g,future:n})}n.flushSync,r.useId;const be="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,ye=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,we=r.forwardRef(function(e,t){let a,{onClick:n,relative:o,reloadDocument:l,replace:i,state:c,target:u,to:d,preventScrollReset:p,viewTransition:h}=e,f=he(e,fe),{basename:v}=r.useContext($),g=!1;if("string"==typeof d&&ye.test(d)&&(a=d,be))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),r=M(t.pathname,v);t.origin===e.origin&&null!=r?d=r+t.search+t.hash:g=!0}catch(e){}let x=function(e,t){let{relative:a}=void 0===t?{}:t;G()||s(!1);let{basename:n,navigator:o}=r.useContext($),{hash:l,pathname:i,search:c}=Q(e,{relative:a}),u=i;return"/"!==n&&(u="/"===i?n:O([n,i])),o.createHref({pathname:u,search:c,hash:l})}(d,{relative:o}),E=function(e,t){let{target:a,replace:n,state:o,preventScrollReset:l,relative:i,viewTransition:s}=void 0===t?{}:t,c=X(),u=K(),d=Q(e,{relative:i});return r.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,a)){t.preventDefault();let r=void 0!==n?n:m(u)===m(d);c(e,{replace:r,state:o,preventScrollReset:l,relative:i,viewTransition:s})}},[u,c,d,n,o,a,e,l,i,s])}(d,{replace:i,state:c,target:u,preventScrollReset:p,relative:o,viewTransition:h});return r.createElement("a",pe({},f,{href:a||x,onClick:g||l?n:function(e){n&&n(e),e.defaultPrevented||E(e)},ref:t,target:u}))}),Ce=r.forwardRef(function(e,t){let{"aria-current":a="page",caseSensitive:n=!1,className:o="",end:l=!1,style:i,to:c,viewTransition:u,children:d}=e,m=he(e,ve),p=Q(c,{relative:m.relative}),h=K(),f=r.useContext(V),{navigator:v,basename:g}=r.useContext($),x=null!=f&&function(e,t){void 0===t&&(t={});let a=r.useContext(ge);null==a&&s(!1);let{basename:n}=function(){let e=r.useContext(H);return e||s(!1),e}(ke.useViewTransitionState),o=Q(e,{relative:t.relative});if(!a.isTransitioning)return!1;let l=M(a.currentLocation.pathname,n)||a.currentLocation.pathname,i=M(a.nextLocation.pathname,n)||a.nextLocation.pathname;return null!=L(o.pathname,i)||null!=L(o.pathname,l)}(p)&&!0===u,E=v.encodeLocation?v.encodeLocation(p).pathname:p.pathname,b=h.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;n||(b=b.toLowerCase(),y=y?y.toLowerCase():null,E=E.toLowerCase()),y&&g&&(y=M(y,g)||y);const w="/"!==E&&E.endsWith("/")?E.length-1:E.length;let C,k=b===E||!l&&b.startsWith(E)&&"/"===b.charAt(w),_=null!=y&&(y===E||!l&&y.startsWith(E)&&"/"===y.charAt(E.length)),N={isActive:k,isPending:_,isTransitioning:x},S=k?a:void 0;C="function"==typeof o?o(N):[o,k?"active":null,_?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let j="function"==typeof i?i(N):i;return r.createElement(we,pe({},m,{"aria-current":S,className:C,ref:t,style:j,to:c,viewTransition:u}),"function"==typeof d?d(N):d)});var ke,_e;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ke||(ke={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(_e||(_e={}));const Ne=window.wp.i18n,Le=[{to:"/",label:"Overview"},{to:"/modules",label:"Modules"},{to:"/free-vs-pro",label:"Free vs Pro"}],Se=()=>(0,t.createElement)("header",{className:"border-b border-border bg-white sticky top-[32px] z-40"},(0,t.createElement)("div",{className:"flex h-14 items-center justify-between px-6"},(0,t.createElement)("div",{className:"flex items-center"},(0,t.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("g",{clipPath:"url(#clip0_header)"},(0,t.createElement)("path",{d:"M48 0C74.5097 0 96 21.4903 96 48C96 74.5097 74.5097 96 48 96C21.4903 96 0 74.5097 0 48C0 21.4903 21.4903 0 48 0ZM26.4 31.2C25.5461 31.2 24.8431 31.4762 24.2906 32.0287L10.4287 45.8906C10.1294 46.1918 9.91642 46.5182 9.78984 46.8698C9.66329 47.2214 9.6 47.5982 9.6 48C9.60202 48.4018 9.66528 48.7786 9.78984 49.1302C9.9144 49.4818 10.1274 49.8082 10.4287 50.1094L24.2906 63.9713C24.8431 64.5238 25.5461 64.8 26.4 64.8C27.2539 64.8 27.9569 64.5238 28.5094 63.9713C29.0618 63.4188 29.3381 62.7156 29.3381 61.8619C29.3381 61.008 29.0618 60.305 28.5094 59.7526L16.7569 48L28.5094 36.2474C29.0618 35.695 29.3381 34.992 29.3381 34.1381C29.3381 33.2844 29.0618 32.5812 28.5094 32.0287C27.9569 31.4762 27.2539 31.2 26.4 31.2ZM69.6494 31.2C68.7982 31.2 68.0971 31.4762 67.5461 32.0287C66.9953 32.5812 66.72 33.2844 66.72 34.1381C66.72 34.992 66.9953 35.695 67.5461 36.2474L79.2643 48L67.5461 59.7526C66.9953 60.305 66.72 61.008 66.72 61.8619C66.72 62.7156 66.9953 63.4188 67.5461 63.9713C68.0971 64.5238 68.7982 64.8 69.6494 64.8C70.5007 64.8 71.202 64.5238 71.7528 63.9713L85.5739 50.1094C85.8742 49.8082 86.0863 49.4818 86.2106 49.1302C86.3347 48.7786 86.3981 48.4018 86.4 48C86.4 47.5982 86.3369 47.2214 86.2106 46.8698C86.0844 46.5182 85.8722 46.1918 85.5739 45.8906L71.7528 32.0287C71.202 31.4762 70.5007 31.2 69.6494 31.2ZM30.24 45.6C28.9145 45.6 27.84 46.6745 27.84 48C27.84 49.3255 28.9145 50.4 30.24 50.4H37.44C38.7655 50.4 39.84 49.3255 39.84 48C39.84 46.6745 38.7655 45.6 37.44 45.6H30.24ZM47.52 45.6C46.1945 45.6 45.12 46.6745 45.12 48C45.12 49.3255 46.1945 50.4 47.52 50.4C48.8455 50.4 49.92 49.3255 49.92 48C49.92 46.6745 48.8455 45.6 47.52 45.6ZM57.12 45.6C55.7945 45.6 54.72 46.6745 54.72 48C54.72 49.3255 55.7945 50.4 57.12 50.4C58.4455 50.4 59.52 49.3255 59.52 48C59.52 46.6745 58.4455 45.6 57.12 45.6ZM66.72 45.6C65.3945 45.6 64.32 46.6745 64.32 48C64.32 49.3255 65.3945 50.4 66.72 50.4C68.0455 50.4 69.12 49.3255 69.12 48C69.12 46.6745 68.0455 45.6 66.72 45.6Z",fill:"#5733FF"})),(0,t.createElement)("defs",null,(0,t.createElement)("clipPath",{id:"clip0_header"},(0,t.createElement)("rect",{width:"96",height:"96",fill:"white"})))),(0,t.createElement)("nav",{className:"flex items-center gap-6 ml-8"},Le.map(({to:e,label:r})=>(0,t.createElement)(Ce,{key:e,to:e,end:"/"===e,className:({isActive:e})=>"text-[13px] font-medium transition-colors "+(e?"text-foreground":"text-muted-foreground hover:text-foreground")},(0,Ne.__)(r,"divi-carousel-free"))))),(0,t.createElement)("div",{className:"flex items-center gap-1"},(0,t.createElement)("a",{href:"https://divipeople.com/docs",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Documentation","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"}))),(0,t.createElement)("a",{href:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Support","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25z"}))),(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("What's New","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.455 2.456L21.75 6l-1.036.259a3.375 3.375 0 00-2.455 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z"}))))));function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Me.apply(null,arguments)}function je(...e){return e.filter(Boolean).join(" ")}const Pe={default:"bg-primary text-primary-foreground hover:bg-primary/90 hover:text-primary-foreground ",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 hover:text-secondary-foreground",ghost:"text-muted-foreground hover:text-foreground hover:bg-muted",link:"text-foreground underline-offset-4 hover:underline hover:text-foreground"},Re={sm:"h-8 px-3 text-xs",default:"h-9 px-4 text-sm",lg:"h-10 px-6 text-sm",icon:"h-9 w-9"},Be=({variant:e="default",size:r="default",className:a,children:n,...o})=>{const l=o.href?"a":"button";return(0,t.createElement)(l,Me({className:je("inline-flex items-center justify-center font-medium rounded-lg transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",Pe[e],Re[r],a)},o),n)},We=({className:e,children:r})=>(0,t.createElement)("div",{className:je("flex flex-wrap gap-3",e)},r),Oe=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),Ue=({label:e,title:r,description:a,actions:n=[],illustration:o})=>(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card px-8 py-10 sm:px-10 sm:py-12"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-8"},(0,t.createElement)("div",{className:"min-w-0"},e&&(0,t.createElement)("p",{className:"text-xs font-medium uppercase tracking-wider text-muted-foreground mb-3"},e),(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground sm:text-2xl"},r),a&&(0,t.createElement)("p",{className:"mt-2 max-w-xl text-sm text-muted-foreground leading-relaxed"},a),n.length>0&&(0,t.createElement)(We,{className:"mt-6"},n.map((e,r)=>(0,t.createElement)(Be,{key:r,variant:0===r?"default":"secondary",href:e.url,target:"_blank",rel:"noopener noreferrer"},e.label,e.arrow&&(0,t.createElement)(Oe,null))))),o&&(0,t.createElement)("div",{className:"hidden shrink-0 lg:block"},o))),ze=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("rounded-xl border border-border bg-card text-card-foreground",e)},a),r),Ae=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("p-6",e)},a),r),Te=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),De=({icon:e,title:r,description:a,linkText:n,linkUrl:o})=>(0,t.createElement)(ze,{className:"group hover:border-foreground/15 transition-colors"},(0,t.createElement)(Ae,{className:"p-5"},(0,t.createElement)("div",{className:"mb-3 flex h-9 w-9 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e),(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground mb-1"},r),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mb-3 leading-relaxed"},a),n&&o&&(0,t.createElement)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-[13px] font-medium text-foreground hover:text-primary hover:underline"},n,(0,t.createElement)(Te,null)))),Fe=({title:e,description:r,buttonText:a,buttonUrl:n,icon:o})=>(0,t.createElement)(ze,null,(0,t.createElement)(Ae,{className:"p-6"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-4"},(0,t.createElement)("div",{className:"flex items-center gap-3"},o||(0,t.createElement)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-amber-50"},(0,t.createElement)("svg",{className:"h-5 w-5 text-amber-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"}))),(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground"},r))),(0,t.createElement)(Be,{variant:"secondary",href:n,target:"_blank",rel:"noopener noreferrer"},a)))),He=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"})),Ve=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 01-.825-.242m9.345-8.334a2.126 2.126 0 00-.476-.095 48.64 48.64 0 00-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0011.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"})),$e=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z"})),Ie=()=>(0,t.createElement)("svg",{width:"180",height:"140",viewBox:"0 0 180 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},(0,t.createElement)("rect",{x:"8",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"116",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"text-primary/30"}),(0,t.createElement)("rect",{x:"52",y:"24",width:"76",height:"44",rx:"4",fill:"currentColor",className:"text-primary/20"}),(0,t.createElement)("path",{d:"M72 52l8-12 6 8 4-5 10 13H68l4-4z",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("circle",{cx:"78",cy:"38",r:"3",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("rect",{x:"52",y:"76",width:"48",height:"6",rx:"3",fill:"currentColor",className:"text-foreground/15"}),(0,t.createElement)("rect",{x:"52",y:"88",width:"32",height:"4",rx:"2",fill:"currentColor",className:"text-muted-foreground/15"}),(0,t.createElement)("circle",{cx:"82",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"90",cy:"120",r:"3.5",fill:"currentColor",className:"text-primary"}),(0,t.createElement)("circle",{cx:"98",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"16",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M18 55l-5 5 5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"}),(0,t.createElement)("circle",{cx:"164",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M162 55l5 5-5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"})),Je=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)(Ue,{label:(0,Ne.__)("Divi Carousel","divi-carousel-free"),title:(0,Ne.__)("Build Stunning Carousels for Divi","divi-carousel-free"),description:(0,Ne.__)("Create beautiful image and logo carousels with smooth animations, responsive layouts, and full Divi Builder integration — no code required.","divi-carousel-free"),actions:[{label:(0,Ne.__)("Get Carousel Pro","divi-carousel-free"),url:"https://divipeople.com/divi-carousel-pro",arrow:!0}],illustration:(0,t.createElement)(Ie,null)}),(0,t.createElement)("div",{className:"grid gap-4 sm:grid-cols-3"},(0,t.createElement)(De,{icon:(0,t.createElement)(He,null),title:(0,Ne.__)("Documentation","divi-carousel-free"),description:(0,Ne.__)("Step-by-step guides to help you set up and customize your carousels.","divi-carousel-free"),linkText:(0,Ne.__)("Read Docs","divi-carousel-free"),linkUrl:"https://divipeople.com/docs"}),(0,t.createElement)(De,{icon:(0,t.createElement)(Ve,null),title:(0,Ne.__)("Support","divi-carousel-free"),description:(0,Ne.__)("Have a question? Our support team is here to help on the forum.","divi-carousel-free"),linkText:(0,Ne.__)("Get Support","divi-carousel-free"),linkUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"}),(0,t.createElement)(De,{icon:(0,t.createElement)($e,null),title:(0,Ne.__)("Go Pro","divi-carousel-free"),description:(0,Ne.__)("Get post, testimonial, team, and WooCommerce carousel modules.","divi-carousel-free"),linkText:(0,Ne.__)("Learn More","divi-carousel-free"),linkUrl:"https://divipeople.com/divi-carousel-pro"})),(0,t.createElement)(Fe,{title:(0,Ne.__)("Need help getting started?","divi-carousel-free"),description:(0,Ne.__)("Our support team is ready to help you build amazing carousels.","divi-carousel-free"),buttonText:(0,Ne.__)("Contact Support","divi-carousel-free"),buttonUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"})),Ze=({checked:e=!1,onCheckedChange:r,disabled:a=!1,className:n})=>(0,t.createElement)("button",{type:"button",role:"switch","aria-checked":e,disabled:a,onClick:()=>!a&&r?.(!e),style:{backgroundColor:e?"hsl(251, 100%, 60%)":"#c4c4c8",padding:0,margin:0,lineHeight:0},className:je("relative inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",n)},(0,t.createElement)("span",{style:{backgroundColor:"#fff",width:"14px",height:"14px",borderRadius:"50%",display:"block",transform:e?"translateX(17px)":"translateX(3px)",transition:"transform 200ms ease",boxShadow:"0 1px 2px rgba(0,0,0,0.15)",border:"none",outline:"none",padding:0,margin:0}})),Ge={default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-emerald-50 text-emerald-700",warning:"bg-amber-50 text-amber-700",outline:"text-foreground border border-border",pro:"bg-primary/10 text-primary"},Ke=({className:e,variant:r="default",children:a,...n})=>(0,t.createElement)("span",Me({className:je("inline-flex items-center rounded-md px-2.5 py-0.5 text-xs font-medium transition-colors",Ge[r],e)},n),a),qe=({className:e,size:r="default"})=>(0,t.createElement)("div",{className:je("animate-spin rounded-full border-2 border-muted-foreground/20 border-t-primary",{sm:"h-4 w-4",default:"h-6 w-6",lg:"h-8 w-8"}[r],e)}),Xe=window.wp.apiFetch;var Qe=e.n(Xe);const Ye=[{id:"logo_carousel",name:"Logo Carousel",description:"Showcase client logos in an animated carousel with hover effects and custom links.",icon:"logo"},{id:"image_carousel",name:"Image Carousel",description:"Display images in a beautiful carousel layout with lightbox and navigation.",icon:"image"}],et=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25a2.25 2.25 0 00-2.25-2.25H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})),tt=()=>(0,t.createElement)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z"})),rt={image:(0,t.createElement)(et,null),logo:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"})),null)},at=[{id:"content_carousel",name:(0,Ne.__)("Content Carousel","divi-carousel-free"),description:(0,Ne.__)("Create carousels with custom content, icons, and call-to-action buttons.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"})),null)},{id:"post_carousel",name:(0,Ne.__)("Post Carousel","divi-carousel-free"),description:(0,Ne.__)("Display blog posts in a dynamic carousel with featured images.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})),null)},{id:"woo_carousel",name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase WooCommerce products in a carousel layout.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"})),null)},{id:"testimonial_carousel",name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),description:(0,Ne.__)("Display customer testimonials in an engaging carousel.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 01.865-.501 48.172 48.172 0 003.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})),null)},{id:"team_carousel",name:(0,Ne.__)("Team Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase team members with photos, roles, and social links.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z"})),null)}],nt=()=>{const{modules:e,loading:r,saving:a,toggleModule:n}=function(){const[e,r]=(0,t.useState)(Ye.map(e=>({...e,enabled:!0}))),[a,n]=(0,t.useState)(!0),[o,l]=(0,t.useState)(null),i=(0,t.useCallback)(async()=>{try{const e=await Qe()({path:"/divi-carousel-free/v1/modules"});e.success&&e.modules&&r(Ye.map(t=>({...t,enabled:!1!==e.modules[t.id]})))}catch(e){console.error("Failed to load modules:",e)}finally{n(!1)}},[]);(0,t.useEffect)(()=>{i()},[i]);const s=(0,t.useCallback)(async t=>{const a=e.find(e=>e.id===t);if(!a)return;const n=!a.enabled;r(e=>e.map(e=>e.id===t?{...e,enabled:n}:e)),l(t);try{await Qe()({path:"/divi-carousel-free/v1/modules/toggle",method:"POST",data:{module_id:t,enabled:n}})}catch(e){r(e=>e.map(e=>e.id===t?{...e,enabled:!n}:e)),console.error("Failed to toggle module:",e)}finally{l(null)}},[e]);return{modules:e,loading:a,saving:o,toggleModule:s}}();return r?(0,t.createElement)("div",{className:"flex h-80 items-center justify-center"},(0,t.createElement)(qe,null)):(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Carousel Modules","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Control which modules are available in the Divi Builder.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden divide-y divide-border"},e.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},rt[e.icon]||(0,t.createElement)(et,null)),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)(Ze,{checked:e.enabled,onCheckedChange:()=>n(e.id),disabled:a===e.id})))),at.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4 opacity-60"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e.icon),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("div",{className:"flex items-center gap-2"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)(Ke,{variant:"pro"},(0,Ne.__)("Pro","divi-carousel-free"))),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:"hsl(251, 100%, 60%)",color:"#fff"},className:"inline-flex items-center gap-1.5 rounded-md px-3 h-7 text-xs font-medium transition-opacity hover:opacity-90"},(0,t.createElement)(tt,null),(0,Ne.__)("Get Pro","divi-carousel-free")))))))},ot=({className:e="text-emerald-500"})=>(0,t.createElement)("svg",{className:`h-4 w-4 shrink-0 ${e}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})),lt=()=>(0,t.createElement)("span",{className:"block h-4 w-4 text-center leading-4 text-muted-foreground/30"},"—"),it=[{category:(0,Ne.__)("Carousel Modules","divi-carousel-free"),items:[{name:(0,Ne.__)("Image Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Logo Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Content Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Post Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Team Carousel","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Features & Controls","divi-carousel-free"),items:[{name:(0,Ne.__)("Autoplay Controls","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Responsive Breakpoints","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Loop & Rewind","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Advanced Navigation Styles","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Custom Pagination","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Coverflow & Creative Effects","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lazy Loading","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Support & Updates","divi-carousel-free"),items:[{name:(0,Ne.__)("Community Forum Support","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Priority Email Support","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lifetime Updates","divi-carousel-free"),free:!1,pro:!0}]}],st=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Free vs Pro","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Compare features and discover the full power of Divi Carousel.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden"},(0,t.createElement)("table",{className:"w-full",style:{borderCollapse:"separate",borderSpacing:0}},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)("th",{className:"px-5 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border"},(0,Ne.__)("Feature","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border w-16"},(0,Ne.__)("Free","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-primary border-b border-border w-16"},(0,Ne.__)("Pro","divi-carousel-free")))),(0,t.createElement)("tbody",null,it.map((e,r)=>(0,t.createElement)(a().Fragment,{key:e.category},(0,t.createElement)("tr",null,(0,t.createElement)("td",{colSpan:3,className:"px-5 py-2.5 text-xs font-semibold uppercase tracking-wider text-muted-foreground bg-muted/50 border-b border-border"},e.category)),e.items.map((a,n)=>(0,t.createElement)("tr",{key:a.name,className:n<e.items.length-1||r<it.length-1?"border-b border-border/50":""},(0,t.createElement)("td",{className:"px-5 py-3 text-[13px] text-foreground"},a.name),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.free?(0,t.createElement)(ot,null):(0,t.createElement)(lt,null))),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.pro?(0,t.createElement)(ot,{className:"text-primary"}):(0,t.createElement)(lt,null)))))))))),(0,t.createElement)("div",{className:"rounded-xl border border-primary/15 bg-primary/5 px-5 py-4 flex items-center justify-between gap-4"},(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-semibold text-foreground"},(0,Ne.__)("Ready to get all features?","divi-carousel-free")),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},(0,Ne.__)("Get all carousel modules and priority support.","divi-carousel-free"))),(0,t.createElement)(Be,{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",size:"sm",className:"shrink-0"},(0,Ne.__)("Upgrade to Pro","divi-carousel-free")," →"))),ct=()=>(0,t.createElement)(Ee,null,(0,t.createElement)("div",{className:"dcf-admin min-h-screen bg-muted/30"},(0,t.createElement)(Se,null),(0,t.createElement)("main",{className:"mx-auto max-w-5xl px-6 py-8"},(0,t.createElement)(de,null,(0,t.createElement)(ce,{path:"/",element:(0,t.createElement)(Je,null)}),(0,t.createElement)(ce,{path:"/modules",element:(0,t.createElement)(nt,null)}),(0,t.createElement)(ce,{path:"/free-vs-pro",element:(0,t.createElement)(st,null)}),(0,t.createElement)(ce,{path:"*",element:(0,t.createElement)(se,{to:"/",replace:!0})})))));document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("divi-carousel-free-admin-root");e&&(0,t.createRoot)(e).render((0,t.createElement)(ct,null))})})();1 (()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.element,r=window.React;var a=e.n(r);const n=window.ReactDOM;function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},o.apply(this,arguments)}var l;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(l||(l={}));const i="popstate";function s(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,a){return void 0===r&&(r=null),o({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:r,key:t&&t.key||a||Math.random().toString(36).substr(2,8)})}function m(e){let{pathname:t="/",search:r="",hash:a=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),a&&"#"!==a&&(t+="#"===a.charAt(0)?a:"#"+a),t}function p(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}var h;function f(e,t,r){return void 0===r&&(r="/"),function(e,t,r,a){let n=M(("string"==typeof t?p(t):t).pathname||"/",r);if(null==n)return null;let o=v(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let l=null;for(let e=0;null==l&&e<o.length;++e){let t=S(n);l=N(o[e],t,a)}return l}(e,t,r,!1)}function v(e,t,r,a){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===a&&(a="");let n=(e,n,o)=>{let l={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};l.relativePath.startsWith("/")&&(s(l.relativePath.startsWith(a),'Absolute route path "'+l.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),l.relativePath=l.relativePath.slice(a.length));let i=O([a,l.relativePath]),c=r.concat(l);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),v(e.children,t,c,i)),(null!=e.path||e.index)&&t.push({path:i,score:_(i,e.index),routesMeta:c})};return e.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of g(e.path))n(e,t,r);else n(e,t)}),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[r,...a]=t,n=r.endsWith("?"),o=r.replace(/\?$/,"");if(0===a.length)return n?[o,""]:[o];let l=g(a.join("/")),i=[];return i.push(...l.map(e=>""===e?o:[o,e].join("/"))),n&&i.push(...l),i.map(t=>e.startsWith("/")&&""===t?"/":t)}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const x=/^:[\w-]+$/,E=3,b=2,y=1,w=10,C=-2,k=e=>"*"===e;function _(e,t){let r=e.split("/"),a=r.length;return r.some(k)&&(a+=C),t&&(a+=b),r.filter(e=>!k(e)).reduce((e,t)=>e+(x.test(t)?E:""===t?y:w),a)}function N(e,t,r){void 0===r&&(r=!1);let{routesMeta:a}=e,n={},o="/",l=[];for(let e=0;e<a.length;++e){let i=a[e],s=e===a.length-1,c="/"===o?t:t.slice(o.length)||"/",u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},c),d=i.route;if(!u&&s&&r&&!a[a.length-1].route.index&&(u=L({path:i.relativePath,caseSensitive:i.caseSensitive,end:!1},c)),!u)return null;Object.assign(n,u.params),l.push({params:n,pathname:O([o,u.pathname]),pathnameBase:U(O([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=O([o,u.pathnameBase]))}return l}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),c("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let a=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(a.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(a.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),a]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let o=n[0],l=o.replace(/(.)\/+$/,"$1"),i=n.slice(1);return{params:a.reduce((e,t,r)=>{let{paramName:a,isOptional:n}=t;if("*"===a){let e=i[r]||"";l=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const s=i[r];return e[a]=n&&!s?void 0:(s||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:l,pattern:e}}function S(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,a=e.charAt(r);return a&&"/"!==a?null:e.slice(r)||"/"}const j=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function P(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function R(e,t,r,a){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(a)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function B(e,t){let r=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function W(e,t,r,a){let n;void 0===a&&(a=!1),"string"==typeof e?n=p(e):(n=o({},e),s(!n.pathname||!n.pathname.includes("?"),R("?","pathname","search",n)),s(!n.pathname||!n.pathname.includes("#"),R("#","pathname","hash",n)),s(!n.search||!n.search.includes("#"),R("#","search","hash",n)));let l,i=""===e||""===n.pathname,u=i?"/":n.pathname;if(null==u)l=r;else{let e=t.length-1;if(!a&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}l=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let r,{pathname:a,search:n="",hash:o=""}="string"==typeof e?p(e):e;if(a)if(l=a,j.test(l))r=a;else{if(a.includes("//")){let e=a;a=a.replace(/\/\/+/g,"/"),c(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+a)}r=a.startsWith("/")?P(a.substring(1),"/"):P(a,t)}else r=t;var l;return{pathname:r,search:z(n),hash:A(o)}}(n,l),m=u&&"/"!==u&&u.endsWith("/"),h=(i||"."===u)&&r.endsWith("/");return d.pathname.endsWith("/")||!m&&!h||(d.pathname+="/"),d}const O=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const T=["post","put","patch","delete"],D=(new Set(T),["get",...T]);function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},F.apply(this,arguments)}new Set(D),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const H=r.createContext(null),V=r.createContext(null),$=r.createContext(null),I=r.createContext(null),J=r.createContext({outlet:null,matches:[],isDataRoute:!1}),Z=r.createContext(null);function G(){return null!=r.useContext(I)}function K(){return G()||s(!1),r.useContext(I).location}function q(e){r.useContext($).static||r.useLayoutEffect(e)}function X(){let{isDataRoute:e}=r.useContext(J);return e?function(){let{router:e}=function(){let e=r.useContext(H);return e||s(!1),e}(ne.UseNavigateStable),t=le(oe.UseNavigateStable),a=r.useRef(!1);return q(()=>{a.current=!0}),r.useCallback(function(r,n){void 0===n&&(n={}),a.current&&("number"==typeof r?e.navigate(r):e.navigate(r,F({fromRouteId:t},n)))},[e,t])}():function(){G()||s(!1);let e=r.useContext(H),{basename:t,future:a,navigator:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,a.v7_relativeSplatPath)),c=r.useRef(!1);return q(()=>{c.current=!0}),r.useCallback(function(r,a){if(void 0===a&&(a={}),!c.current)return;if("number"==typeof r)return void n.go(r);let o=W(r,JSON.parse(i),l,"path"===a.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:O([t,o.pathname])),(a.replace?n.replace:n.push)(o,a.state,a)},[t,n,i,l,e])}()}function Q(e,t){let{relative:a}=void 0===t?{}:t,{future:n}=r.useContext($),{matches:o}=r.useContext(J),{pathname:l}=K(),i=JSON.stringify(B(o,n.v7_relativeSplatPath));return r.useMemo(()=>W(e,JSON.parse(i),l,"path"===a),[e,i,l,a])}function Y(e,t,a,n){G()||s(!1);let{navigator:o}=r.useContext($),{matches:i}=r.useContext(J),c=i[i.length-1],u=c?c.params:{},d=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let m,h=K();if(t){var v;let e="string"==typeof t?p(t):t;"/"===d||(null==(v=e.pathname)?void 0:v.startsWith(d))||s(!1),m=e}else m=h;let g=m.pathname||"/",x=g;if("/"!==d){let e=d.replace(/^\//,"").split("/");x="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let E=f(e,{pathname:x}),b=function(e,t,a,n){var o;if(void 0===t&&(t=[]),void 0===a&&(a=null),void 0===n&&(n=null),null==e){var l;if(!a)return null;if(a.errors)e=a.matches;else{if(!(null!=(l=n)&&l.v7_partialHydration&&0===t.length&&!a.initialized&&a.matches.length>0))return null;e=a.matches}}let i=e,c=null==(o=a)?void 0:o.errors;if(null!=c){let e=i.findIndex(e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id]));e>=0||s(!1),i=i.slice(0,Math.min(i.length,e+1))}let u=!1,d=-1;if(a&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=a,n=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||n){u=!0,i=d>=0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight((e,n,o)=>{let l,s=!1,m=null,p=null;var h;a&&(l=c&&n.route.id?c[n.route.id]:void 0,m=n.route.errorElement||te,u&&(d<0&&0===o?(ie[h="route-fallback"]||(ie[h]=!0),s=!0,p=null):d===o&&(s=!0,p=n.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,o+1)),v=()=>{let t;return t=l?m:s?p:n.route.Component?r.createElement(n.route.Component,null):n.route.element?n.route.element:e,r.createElement(ae,{match:n,routeContext:{outlet:e,matches:f,isDataRoute:null!=a},children:t})};return a&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?r.createElement(re,{location:a.location,revalidation:a.revalidation,component:m,error:l,children:v(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):v()},null)}(E&&E.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:O([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:O([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,a,n);return t&&b?r.createElement(I.Provider,{value:{location:F({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:l.Pop}},b):b}function ee(){let e=function(){var e;let t=r.useContext(Z),a=function(){let e=r.useContext(V);return e||s(!1),e}(oe.UseRouteError),n=le(oe.UseRouteError);return void 0!==t?t:null==(e=a.errors)?void 0:e[n]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),a?r.createElement("pre",{style:n},a):null,null)}const te=r.createElement(ee,null);class re extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(J.Provider,{value:this.props.routeContext},r.createElement(Z.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ae(e){let{routeContext:t,match:a,children:n}=e,o=r.useContext(H);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),r.createElement(J.Provider,{value:t},n)}var ne=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ne||{}),oe=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(oe||{});function le(e){let t=function(){let e=r.useContext(J);return e||s(!1),e}(),a=t.matches[t.matches.length-1];return a.route.id||s(!1),a.route.id}const ie={};function se(e){let{to:t,replace:a,state:n,relative:o}=e;G()||s(!1);let{future:l,static:i}=r.useContext($),{matches:c}=r.useContext(J),{pathname:u}=K(),d=X(),m=W(t,B(c,l.v7_relativeSplatPath),u,"path"===o),p=JSON.stringify(m);return r.useEffect(()=>d(JSON.parse(p),{replace:a,state:n,relative:o}),[d,p,o,a,n]),null}function ce(e){s(!1)}function ue(e){let{basename:t="/",children:a=null,location:n,navigationType:o=l.Pop,navigator:i,static:c=!1,future:u}=e;G()&&s(!1);let d=t.replace(/^\/*/,"/"),m=r.useMemo(()=>({basename:d,navigator:i,static:c,future:F({v7_relativeSplatPath:!1},u)}),[d,u,i,c]);"string"==typeof n&&(n=p(n));let{pathname:h="/",search:f="",hash:v="",state:g=null,key:x="default"}=n,E=r.useMemo(()=>{let e=M(h,d);return null==e?null:{location:{pathname:e,search:f,hash:v,state:g,key:x},navigationType:o}},[d,h,f,v,g,x,o]);return null==E?null:r.createElement($.Provider,{value:m},r.createElement(I.Provider,{children:a,value:E}))}function de(e){let{children:t,location:r}=e;return Y(me(t),r)}function me(e,t){void 0===t&&(t=[]);let a=[];return r.Children.forEach(e,(e,n)=>{if(!r.isValidElement(e))return;let o=[...t,n];if(e.type===r.Fragment)return void a.push.apply(a,me(e.props.children,o));e.type!==ce&&s(!1),e.props.index&&e.props.children&&s(!1);let l={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=me(e.props.children,o)),a.push(l)}),a}function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},pe.apply(this,arguments)}function he(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}r.startTransition,new Promise(()=>{}),r.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const fe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ve=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const ge=r.createContext({isTransitioning:!1});new Map;const xe=r.startTransition;function Ee(e){let{basename:t,children:a,future:n,window:h}=e,f=r.useRef();var v;null==f.current&&(f.current=(void 0===(v={window:h,v5Compat:!0})&&(v={}),function(e,t,r,a){void 0===a&&(a={});let{window:n=document.defaultView,v5Compat:c=!1}=a,p=n.history,h=l.Pop,f=null,v=g();function g(){return(p.state||{idx:null}).idx}function x(){h=l.Pop;let e=g(),t=null==e?null:e-v;v=e,f&&f({action:h,location:b.location,delta:t})}function E(e){let t="null"!==n.location.origin?n.location.origin:n.location.href,r="string"==typeof e?e:m(e);return r=r.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==v&&(v=0,p.replaceState(o({},p.state,{idx:v}),""));let b={get action(){return h},get location(){return e(n,p)},listen(e){if(f)throw new Error("A history only accepts one active listener");return n.addEventListener(i,x),f=e,()=>{n.removeEventListener(i,x),f=null}},createHref:e=>t(n,e),createURL:E,encodeLocation(e){let t=E(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=l.Push;let a=d(b.location,e,t);r&&r(a,e),v=g()+1;let o=u(a,v),i=b.createHref(a);try{p.pushState(o,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;n.location.assign(i)}c&&f&&f({action:h,location:b.location,delta:1})},replace:function(e,t){h=l.Replace;let a=d(b.location,e,t);r&&r(a,e),v=g();let n=u(a,v),o=b.createHref(a);p.replaceState(n,"",o),c&&f&&f({action:h,location:b.location,delta:0})},go:e=>p.go(e)};return b}(function(e,t){let{pathname:r="/",search:a="",hash:n=""}=p(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),d("",{pathname:r,search:a,hash:n},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),a="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");a=-1===r?t:t.slice(0,r)}return a+"#"+("string"==typeof t?t:m(t))},function(e,t){c("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},v)));let g=f.current,[x,E]=r.useState({action:g.action,location:g.location}),{v7_startTransition:b}=n||{},y=r.useCallback(e=>{b&&xe?xe(()=>E(e)):E(e)},[E,b]);return r.useLayoutEffect(()=>g.listen(y),[g,y]),r.useEffect(()=>{return null==(e=n)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t},[n]),r.createElement(ue,{basename:t,children:a,location:x.location,navigationType:x.action,navigator:g,future:n})}n.flushSync,r.useId;const be="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,ye=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,we=r.forwardRef(function(e,t){let a,{onClick:n,relative:o,reloadDocument:l,replace:i,state:c,target:u,to:d,preventScrollReset:p,viewTransition:h}=e,f=he(e,fe),{basename:v}=r.useContext($),g=!1;if("string"==typeof d&&ye.test(d)&&(a=d,be))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),r=M(t.pathname,v);t.origin===e.origin&&null!=r?d=r+t.search+t.hash:g=!0}catch(e){}let x=function(e,t){let{relative:a}=void 0===t?{}:t;G()||s(!1);let{basename:n,navigator:o}=r.useContext($),{hash:l,pathname:i,search:c}=Q(e,{relative:a}),u=i;return"/"!==n&&(u="/"===i?n:O([n,i])),o.createHref({pathname:u,search:c,hash:l})}(d,{relative:o}),E=function(e,t){let{target:a,replace:n,state:o,preventScrollReset:l,relative:i,viewTransition:s}=void 0===t?{}:t,c=X(),u=K(),d=Q(e,{relative:i});return r.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,a)){t.preventDefault();let r=void 0!==n?n:m(u)===m(d);c(e,{replace:r,state:o,preventScrollReset:l,relative:i,viewTransition:s})}},[u,c,d,n,o,a,e,l,i,s])}(d,{replace:i,state:c,target:u,preventScrollReset:p,relative:o,viewTransition:h});return r.createElement("a",pe({},f,{href:a||x,onClick:g||l?n:function(e){n&&n(e),e.defaultPrevented||E(e)},ref:t,target:u}))}),Ce=r.forwardRef(function(e,t){let{"aria-current":a="page",caseSensitive:n=!1,className:o="",end:l=!1,style:i,to:c,viewTransition:u,children:d}=e,m=he(e,ve),p=Q(c,{relative:m.relative}),h=K(),f=r.useContext(V),{navigator:v,basename:g}=r.useContext($),x=null!=f&&function(e,t){void 0===t&&(t={});let a=r.useContext(ge);null==a&&s(!1);let{basename:n}=function(){let e=r.useContext(H);return e||s(!1),e}(ke.useViewTransitionState),o=Q(e,{relative:t.relative});if(!a.isTransitioning)return!1;let l=M(a.currentLocation.pathname,n)||a.currentLocation.pathname,i=M(a.nextLocation.pathname,n)||a.nextLocation.pathname;return null!=L(o.pathname,i)||null!=L(o.pathname,l)}(p)&&!0===u,E=v.encodeLocation?v.encodeLocation(p).pathname:p.pathname,b=h.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;n||(b=b.toLowerCase(),y=y?y.toLowerCase():null,E=E.toLowerCase()),y&&g&&(y=M(y,g)||y);const w="/"!==E&&E.endsWith("/")?E.length-1:E.length;let C,k=b===E||!l&&b.startsWith(E)&&"/"===b.charAt(w),_=null!=y&&(y===E||!l&&y.startsWith(E)&&"/"===y.charAt(E.length)),N={isActive:k,isPending:_,isTransitioning:x},S=k?a:void 0;C="function"==typeof o?o(N):[o,k?"active":null,_?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let j="function"==typeof i?i(N):i;return r.createElement(we,pe({},m,{"aria-current":S,className:C,ref:t,style:j,to:c,viewTransition:u}),"function"==typeof d?d(N):d)});var ke,_e;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ke||(ke={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(_e||(_e={}));const Ne=window.wp.i18n,Le=[{to:"/",label:"Overview"},{to:"/modules",label:"Modules"},{to:"/free-vs-pro",label:"Free vs Pro"}],Se=()=>(0,t.createElement)("header",{className:"border-b border-border bg-white sticky top-[32px] z-40"},(0,t.createElement)("div",{className:"flex h-14 items-center justify-between px-6"},(0,t.createElement)("div",{className:"flex items-center"},(0,t.createElement)("svg",{width:"32",height:"32",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("g",{clipPath:"url(#clip0_header)"},(0,t.createElement)("path",{d:"M48 0C74.5097 0 96 21.4903 96 48C96 74.5097 74.5097 96 48 96C21.4903 96 0 74.5097 0 48C0 21.4903 21.4903 0 48 0ZM26.4 31.2C25.5461 31.2 24.8431 31.4762 24.2906 32.0287L10.4287 45.8906C10.1294 46.1918 9.91642 46.5182 9.78984 46.8698C9.66329 47.2214 9.6 47.5982 9.6 48C9.60202 48.4018 9.66528 48.7786 9.78984 49.1302C9.9144 49.4818 10.1274 49.8082 10.4287 50.1094L24.2906 63.9713C24.8431 64.5238 25.5461 64.8 26.4 64.8C27.2539 64.8 27.9569 64.5238 28.5094 63.9713C29.0618 63.4188 29.3381 62.7156 29.3381 61.8619C29.3381 61.008 29.0618 60.305 28.5094 59.7526L16.7569 48L28.5094 36.2474C29.0618 35.695 29.3381 34.992 29.3381 34.1381C29.3381 33.2844 29.0618 32.5812 28.5094 32.0287C27.9569 31.4762 27.2539 31.2 26.4 31.2ZM69.6494 31.2C68.7982 31.2 68.0971 31.4762 67.5461 32.0287C66.9953 32.5812 66.72 33.2844 66.72 34.1381C66.72 34.992 66.9953 35.695 67.5461 36.2474L79.2643 48L67.5461 59.7526C66.9953 60.305 66.72 61.008 66.72 61.8619C66.72 62.7156 66.9953 63.4188 67.5461 63.9713C68.0971 64.5238 68.7982 64.8 69.6494 64.8C70.5007 64.8 71.202 64.5238 71.7528 63.9713L85.5739 50.1094C85.8742 49.8082 86.0863 49.4818 86.2106 49.1302C86.3347 48.7786 86.3981 48.4018 86.4 48C86.4 47.5982 86.3369 47.2214 86.2106 46.8698C86.0844 46.5182 85.8722 46.1918 85.5739 45.8906L71.7528 32.0287C71.202 31.4762 70.5007 31.2 69.6494 31.2ZM30.24 45.6C28.9145 45.6 27.84 46.6745 27.84 48C27.84 49.3255 28.9145 50.4 30.24 50.4H37.44C38.7655 50.4 39.84 49.3255 39.84 48C39.84 46.6745 38.7655 45.6 37.44 45.6H30.24ZM47.52 45.6C46.1945 45.6 45.12 46.6745 45.12 48C45.12 49.3255 46.1945 50.4 47.52 50.4C48.8455 50.4 49.92 49.3255 49.92 48C49.92 46.6745 48.8455 45.6 47.52 45.6ZM57.12 45.6C55.7945 45.6 54.72 46.6745 54.72 48C54.72 49.3255 55.7945 50.4 57.12 50.4C58.4455 50.4 59.52 49.3255 59.52 48C59.52 46.6745 58.4455 45.6 57.12 45.6ZM66.72 45.6C65.3945 45.6 64.32 46.6745 64.32 48C64.32 49.3255 65.3945 50.4 66.72 50.4C68.0455 50.4 69.12 49.3255 69.12 48C69.12 46.6745 68.0455 45.6 66.72 45.6Z",fill:"#5733FF"})),(0,t.createElement)("defs",null,(0,t.createElement)("clipPath",{id:"clip0_header"},(0,t.createElement)("rect",{width:"96",height:"96",fill:"white"})))),(0,t.createElement)("nav",{className:"flex items-center gap-6 ml-8"},Le.map(({to:e,label:r})=>(0,t.createElement)(Ce,{key:e,to:e,end:"/"===e,className:({isActive:e})=>"text-[13px] font-medium transition-colors "+(e?"text-foreground":"text-muted-foreground hover:text-foreground")},(0,Ne.__)(r,"divi-carousel-free"))))),(0,t.createElement)("div",{className:"flex items-center gap-1"},(0,t.createElement)("a",{href:"https://divipeople.com/docs",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Documentation","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"}))),(0,t.createElement)("a",{href:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("Support","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25z"}))),(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 w-9 items-center justify-center rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:(0,Ne.__)("What's New","divi-carousel-free")},(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.455 2.456L21.75 6l-1.036.259a3.375 3.375 0 00-2.455 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z"}))))));function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Me.apply(null,arguments)}function je(...e){return e.filter(Boolean).join(" ")}const Pe={default:"bg-primary text-primary-foreground hover:bg-primary/90 hover:text-primary-foreground text-white hover:text-white",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 hover:text-secondary-foreground ",ghost:"text-muted-foreground hover:text-foreground hover:bg-muted ",link:"text-foreground underline-offset-4 hover:underline hover:text-foreground"},Re={sm:"h-8 px-3 text-xs",default:"h-9 px-4 text-sm",lg:"h-10 px-6 text-sm",icon:"h-9 w-9"},Be=({variant:e="default",size:r="default",className:a,children:n,...o})=>{const l=o.href?"a":"button";return(0,t.createElement)(l,Me({className:je("inline-flex items-center justify-center font-medium rounded-lg transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",Pe[e],Re[r],a)},o),n)},We=({className:e,children:r})=>(0,t.createElement)("div",{className:je("flex flex-wrap gap-3",e)},r),Oe=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),Ue=({label:e,title:r,description:a,actions:n=[],illustration:o})=>(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card px-8 py-10 sm:px-10 sm:py-12"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-8"},(0,t.createElement)("div",{className:"min-w-0"},e&&(0,t.createElement)("p",{className:"text-xs font-medium uppercase tracking-wider text-muted-foreground mb-3"},e),(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground sm:text-2xl"},r),a&&(0,t.createElement)("p",{className:"mt-2 max-w-xl text-sm text-muted-foreground leading-relaxed"},a),n.length>0&&(0,t.createElement)(We,{className:"mt-6"},n.map((e,r)=>(0,t.createElement)(Be,{key:r,variant:0===r?"default":"secondary",href:e.url,target:"_blank",rel:"noopener noreferrer"},e.label,e.arrow&&(0,t.createElement)(Oe,null))))),o&&(0,t.createElement)("div",{className:"hidden shrink-0 lg:block"},o))),ze=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("rounded-xl border border-border bg-card text-card-foreground",e)},a),r),Ae=({className:e,children:r,...a})=>(0,t.createElement)("div",Me({className:je("p-6",e)},a),r),Te=()=>(0,t.createElement)("svg",{className:"ml-1.5 h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})),De=({icon:e,title:r,description:a,linkText:n,linkUrl:o})=>(0,t.createElement)(ze,{className:"group hover:border-foreground/15 transition-colors"},(0,t.createElement)(Ae,{className:"p-5"},(0,t.createElement)("div",{className:"mb-3 flex h-9 w-9 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e),(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground mb-1"},r),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mb-3 leading-relaxed"},a),n&&o&&(0,t.createElement)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-[13px] font-medium text-foreground hover:text-primary hover:underline"},n,(0,t.createElement)(Te,null)))),Fe=({title:e,description:r,buttonText:a,buttonUrl:n,icon:o})=>(0,t.createElement)(ze,null,(0,t.createElement)(Ae,{className:"p-6"},(0,t.createElement)("div",{className:"flex items-center justify-between gap-4"},(0,t.createElement)("div",{className:"flex items-center gap-3"},o||(0,t.createElement)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-amber-50"},(0,t.createElement)("svg",{className:"h-5 w-5 text-amber-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"}))),(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground"},r))),(0,t.createElement)(Be,{variant:"secondary",href:n,target:"_blank",rel:"noopener noreferrer"},a)))),He=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"})),Ve=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 01-.825-.242m9.345-8.334a2.126 2.126 0 00-.476-.095 48.64 48.64 0 00-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0011.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"})),$e=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z"})),Ie=()=>(0,t.createElement)("svg",{width:"180",height:"140",viewBox:"0 0 180 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},(0,t.createElement)("rect",{x:"8",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"116",y:"24",width:"56",height:"72",rx:"6",fill:"currentColor",className:"text-muted-foreground/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("rect",{x:"40",y:"12",width:"100",height:"96",rx:"8",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"text-primary/30"}),(0,t.createElement)("rect",{x:"52",y:"24",width:"76",height:"44",rx:"4",fill:"currentColor",className:"text-primary/20"}),(0,t.createElement)("path",{d:"M72 52l8-12 6 8 4-5 10 13H68l4-4z",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("circle",{cx:"78",cy:"38",r:"3",fill:"currentColor",className:"text-primary/40"}),(0,t.createElement)("rect",{x:"52",y:"76",width:"48",height:"6",rx:"3",fill:"currentColor",className:"text-foreground/15"}),(0,t.createElement)("rect",{x:"52",y:"88",width:"32",height:"4",rx:"2",fill:"currentColor",className:"text-muted-foreground/15"}),(0,t.createElement)("circle",{cx:"82",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"90",cy:"120",r:"3.5",fill:"currentColor",className:"text-primary"}),(0,t.createElement)("circle",{cx:"98",cy:"120",r:"3",fill:"currentColor",className:"text-muted-foreground/20"}),(0,t.createElement)("circle",{cx:"16",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M18 55l-5 5 5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"}),(0,t.createElement)("circle",{cx:"164",cy:"60",r:"12",fill:"currentColor",className:"text-primary/10"}),(0,t.createElement)("path",{d:"M162 55l5 5-5 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-primary"})),Je=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)(Ue,{label:(0,Ne.__)("Divi Carousel","divi-carousel-free"),title:(0,Ne.__)("Build Stunning Carousels for Divi","divi-carousel-free"),description:(0,Ne.__)("Create beautiful image and logo carousels with smooth animations, responsive layouts, and full Divi Builder integration — no code required.","divi-carousel-free"),actions:[{label:(0,Ne.__)("Get Carousel Pro","divi-carousel-free"),url:"https://divipeople.com/divi-carousel-pro",arrow:!0}],illustration:(0,t.createElement)(Ie,null)}),(0,t.createElement)("div",{className:"grid gap-4 sm:grid-cols-3"},(0,t.createElement)(De,{icon:(0,t.createElement)(He,null),title:(0,Ne.__)("Documentation","divi-carousel-free"),description:(0,Ne.__)("Step-by-step guides to help you set up and customize your carousels.","divi-carousel-free"),linkText:(0,Ne.__)("Read Docs","divi-carousel-free"),linkUrl:"https://divipeople.com/docs"}),(0,t.createElement)(De,{icon:(0,t.createElement)(Ve,null),title:(0,Ne.__)("Support","divi-carousel-free"),description:(0,Ne.__)("Have a question? Our support team is here to help on the forum.","divi-carousel-free"),linkText:(0,Ne.__)("Get Support","divi-carousel-free"),linkUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"}),(0,t.createElement)(De,{icon:(0,t.createElement)($e,null),title:(0,Ne.__)("Go Pro","divi-carousel-free"),description:(0,Ne.__)("Get post, testimonial, team, and WooCommerce carousel modules.","divi-carousel-free"),linkText:(0,Ne.__)("Learn More","divi-carousel-free"),linkUrl:"https://divipeople.com/divi-carousel-pro"})),(0,t.createElement)(Fe,{title:(0,Ne.__)("Need help getting started?","divi-carousel-free"),description:(0,Ne.__)("Our support team is ready to help you build amazing carousels.","divi-carousel-free"),buttonText:(0,Ne.__)("Contact Support","divi-carousel-free"),buttonUrl:"https://wordpress.org/support/plugin/wow-carousel-for-divi-lite/"})),Ze=({checked:e=!1,onCheckedChange:r,disabled:a=!1,className:n})=>(0,t.createElement)("button",{type:"button",role:"switch","aria-checked":e,disabled:a,onClick:()=>!a&&r?.(!e),style:{backgroundColor:e?"hsl(251, 100%, 60%)":"#c4c4c8",padding:0,margin:0,lineHeight:0},className:je("relative inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",n)},(0,t.createElement)("span",{style:{backgroundColor:"#fff",width:"14px",height:"14px",borderRadius:"50%",display:"block",transform:e?"translateX(17px)":"translateX(3px)",transition:"transform 200ms ease",boxShadow:"0 1px 2px rgba(0,0,0,0.15)",border:"none",outline:"none",padding:0,margin:0}})),Ge={default:"bg-primary text-primary-foreground",secondary:"bg-secondary text-secondary-foreground",success:"bg-emerald-50 text-emerald-700",warning:"bg-amber-50 text-amber-700",outline:"text-foreground border border-border",pro:"bg-primary/10 text-primary"},Ke=({className:e,variant:r="default",children:a,...n})=>(0,t.createElement)("span",Me({className:je("inline-flex items-center rounded-md px-2.5 py-0.5 text-xs font-medium transition-colors",Ge[r],e)},n),a),qe=({className:e,size:r="default"})=>(0,t.createElement)("div",{className:je("animate-spin rounded-full border-2 border-muted-foreground/20 border-t-primary",{sm:"h-4 w-4",default:"h-6 w-6",lg:"h-8 w-8"}[r],e)}),Xe=window.wp.apiFetch;var Qe=e.n(Xe);const Ye=[{id:"logo_carousel",name:"Logo Carousel",description:"Showcase client logos in an animated carousel with hover effects and custom links.",icon:"logo"},{id:"image_carousel",name:"Image Carousel",description:"Display images in a beautiful carousel layout with lightbox and navigation.",icon:"image"}],et=()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25a2.25 2.25 0 00-2.25-2.25H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z"})),tt=()=>(0,t.createElement)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z"})),rt={image:(0,t.createElement)(et,null),logo:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"})),null)},at=[{id:"content_carousel",name:(0,Ne.__)("Content Carousel","divi-carousel-free"),description:(0,Ne.__)("Create carousels with custom content, icons, and call-to-action buttons.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"})),null)},{id:"post_carousel",name:(0,Ne.__)("Post Carousel","divi-carousel-free"),description:(0,Ne.__)("Display blog posts in a dynamic carousel with featured images.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})),null)},{id:"woo_carousel",name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase WooCommerce products in a carousel layout.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"})),null)},{id:"testimonial_carousel",name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),description:(0,Ne.__)("Display customer testimonials in an engaging carousel.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 01.865-.501 48.172 48.172 0 003.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"})),null)},{id:"team_carousel",name:(0,Ne.__)("Team Carousel","divi-carousel-free"),description:(0,Ne.__)("Showcase team members with photos, roles, and social links.","divi-carousel-free"),icon:(0,t.createElement)(()=>(0,t.createElement)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z"})),null)}],nt=()=>{const{modules:e,loading:r,saving:a,toggleModule:n}=function(){const[e,r]=(0,t.useState)(Ye.map(e=>({...e,enabled:!0}))),[a,n]=(0,t.useState)(!0),[o,l]=(0,t.useState)(null),i=(0,t.useCallback)(async()=>{try{const e=await Qe()({path:"/divi-carousel-free/v1/modules"});e.success&&e.modules&&r(Ye.map(t=>({...t,enabled:!1!==e.modules[t.id]})))}catch(e){console.error("Failed to load modules:",e)}finally{n(!1)}},[]);(0,t.useEffect)(()=>{i()},[i]);const s=(0,t.useCallback)(async t=>{const a=e.find(e=>e.id===t);if(!a)return;const n=!a.enabled;r(e=>e.map(e=>e.id===t?{...e,enabled:n}:e)),l(t);try{await Qe()({path:"/divi-carousel-free/v1/modules/toggle",method:"POST",data:{module_id:t,enabled:n}})}catch(e){r(e=>e.map(e=>e.id===t?{...e,enabled:!n}:e)),console.error("Failed to toggle module:",e)}finally{l(null)}},[e]);return{modules:e,loading:a,saving:o,toggleModule:s}}();return r?(0,t.createElement)("div",{className:"flex h-80 items-center justify-center"},(0,t.createElement)(qe,null)):(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Carousel Modules","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Control which modules are available in the Divi Builder.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden divide-y divide-border"},e.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},rt[e.icon]||(0,t.createElement)(et,null)),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)(Ze,{checked:e.enabled,onCheckedChange:()=>n(e.id),disabled:a===e.id})))),at.map(e=>(0,t.createElement)("div",{key:e.id,className:"flex items-center justify-between gap-4 px-5 py-4 opacity-60"},(0,t.createElement)("div",{className:"flex items-center gap-3.5"},(0,t.createElement)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground"},e.icon),(0,t.createElement)("div",{className:"min-w-0"},(0,t.createElement)("div",{className:"flex items-center gap-2"},(0,t.createElement)("h3",{className:"text-sm font-medium text-foreground"},e.name),(0,t.createElement)(Ke,{variant:"pro"},(0,Ne.__)("Pro","divi-carousel-free"))),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},e.description))),(0,t.createElement)("div",{className:"shrink-0"},(0,t.createElement)("a",{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",style:{backgroundColor:"hsl(251, 100%, 60%)",color:"#fff"},className:"inline-flex items-center gap-1.5 rounded-md px-3 h-7 text-xs font-medium transition-opacity hover:opacity-90"},(0,t.createElement)(tt,null),(0,Ne.__)("Get Pro","divi-carousel-free")))))))},ot=({className:e="text-emerald-500"})=>(0,t.createElement)("svg",{className:`h-4 w-4 shrink-0 ${e}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},(0,t.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})),lt=()=>(0,t.createElement)("span",{className:"block h-4 w-4 text-center leading-4 text-muted-foreground/30"},"—"),it=[{category:(0,Ne.__)("Carousel Modules","divi-carousel-free"),items:[{name:(0,Ne.__)("Image Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Logo Carousel","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Content Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Post Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("WooCommerce Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Testimonial Carousel","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Team Carousel","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Features & Controls","divi-carousel-free"),items:[{name:(0,Ne.__)("Autoplay Controls","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Responsive Breakpoints","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Loop & Rewind","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Advanced Navigation Styles","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Custom Pagination","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Coverflow & Creative Effects","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lazy Loading","divi-carousel-free"),free:!1,pro:!0}]},{category:(0,Ne.__)("Support & Updates","divi-carousel-free"),items:[{name:(0,Ne.__)("Community Forum Support","divi-carousel-free"),free:!0,pro:!0},{name:(0,Ne.__)("Priority Email Support","divi-carousel-free"),free:!1,pro:!0},{name:(0,Ne.__)("Lifetime Updates","divi-carousel-free"),free:!1,pro:!0}]}],st=()=>(0,t.createElement)("div",{className:"space-y-6"},(0,t.createElement)("div",null,(0,t.createElement)("h1",{className:"text-xl font-semibold text-foreground"},(0,Ne.__)("Free vs Pro","divi-carousel-free")),(0,t.createElement)("p",{className:"mt-1 text-sm text-muted-foreground"},(0,Ne.__)("Compare features and discover the full power of Divi Carousel.","divi-carousel-free"))),(0,t.createElement)("div",{className:"rounded-xl border border-border bg-card shadow-sm overflow-hidden"},(0,t.createElement)("table",{className:"w-full",style:{borderCollapse:"separate",borderSpacing:0}},(0,t.createElement)("thead",null,(0,t.createElement)("tr",null,(0,t.createElement)("th",{className:"px-5 py-3 text-left text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border"},(0,Ne.__)("Feature","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-muted-foreground border-b border-border w-16"},(0,Ne.__)("Free","divi-carousel-free")),(0,t.createElement)("th",{className:"px-4 py-3 text-center text-xs font-medium uppercase tracking-wider text-primary border-b border-border w-16"},(0,Ne.__)("Pro","divi-carousel-free")))),(0,t.createElement)("tbody",null,it.map((e,r)=>(0,t.createElement)(a().Fragment,{key:e.category},(0,t.createElement)("tr",null,(0,t.createElement)("td",{colSpan:3,className:"px-5 py-2.5 text-xs font-semibold uppercase tracking-wider text-muted-foreground bg-muted/50 border-b border-border"},e.category)),e.items.map((a,n)=>(0,t.createElement)("tr",{key:a.name,className:n<e.items.length-1||r<it.length-1?"border-b border-border/50":""},(0,t.createElement)("td",{className:"px-5 py-3 text-[13px] text-foreground"},a.name),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.free?(0,t.createElement)(ot,null):(0,t.createElement)(lt,null))),(0,t.createElement)("td",{className:"px-4 py-3"},(0,t.createElement)("div",{className:"flex justify-center"},a.pro?(0,t.createElement)(ot,{className:"text-primary"}):(0,t.createElement)(lt,null)))))))))),(0,t.createElement)("div",{className:"rounded-xl border border-primary/15 bg-primary/5 px-5 py-4 flex items-center justify-between gap-4"},(0,t.createElement)("div",null,(0,t.createElement)("h3",{className:"text-sm font-semibold text-foreground"},(0,Ne.__)("Ready to get all features?","divi-carousel-free")),(0,t.createElement)("p",{className:"text-[13px] text-muted-foreground mt-0.5"},(0,Ne.__)("Get all carousel modules and priority support.","divi-carousel-free"))),(0,t.createElement)(Be,{href:"https://divipeople.com/divi-carousel-pro",target:"_blank",rel:"noopener noreferrer",size:"sm",className:"shrink-0"},(0,Ne.__)("Upgrade to Pro","divi-carousel-free")," →"))),ct=()=>(0,t.createElement)(Ee,null,(0,t.createElement)("div",{className:"dcf-admin min-h-screen bg-muted/30"},(0,t.createElement)(Se,null),(0,t.createElement)("main",{className:"mx-auto max-w-5xl px-6 py-8"},(0,t.createElement)(de,null,(0,t.createElement)(ce,{path:"/",element:(0,t.createElement)(Je,null)}),(0,t.createElement)(ce,{path:"/modules",element:(0,t.createElement)(nt,null)}),(0,t.createElement)(ce,{path:"/free-vs-pro",element:(0,t.createElement)(st,null)}),(0,t.createElement)(ce,{path:"*",element:(0,t.createElement)(se,{to:"/",replace:!0})})))));document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("divi-carousel-free-admin-root");e&&(0,t.createRoot)(e).render((0,t.createElement)(ct,null))})})(); -
wow-carousel-for-divi-lite/trunk/readme.txt
r3472263 r3472264 5 5 Requires at least: 5.0 6 6 Tested up to: 6.9 7 Stable tag: 3.0. 07 Stable tag: 3.0.1 8 8 Requires PHP: 7.4 9 9 License: GPLv2 -
wow-carousel-for-divi-lite/trunk/uninstall.php
r3405168 r3472264 1 <?php2 // Not like register_uninstall_hook(), you do NOT have to use a static function.3 dcf_fs()->add_action('after_uninstall', 'dcf_fs_uninstall_cleanup'); -
wow-carousel-for-divi-lite/trunk/wow-divi-carousel-lite.php
r3472263 r3472264 5 5 * Plugin URI: https://DiviPeople.com 6 6 * Description: Divi Carousel plugin to create beautiful carousels with any modules. 7 * Version: 3.0. 07 * Version: 3.0.1 8 8 * Author: DiviPeople 9 9 * Author URI: https://DiviPeople.com
Note: See TracChangeset
for help on using the changeset viewer.