e.resolve(o);var i,u}function r(e,t,{internal:n=!1}={}){const r=window,o=n?r.$e?.internal:r.$e?.run;if(!o)throw new Error(`\`${n?"$e.internal":"$e.run"}()\` is not available`);return o(e,t)}function o(e){const t=window;if(!t.$e?.route)return Promise.reject("`$e.route()` is not available");try{return Promise.resolve(t.$e.route(e))}catch(e){return Promise.reject(e)}}function i(e){const t=window;if(!t.$e?.routes?.register)return Promise.reject("`$e.routes.register()` is not available");const n=e.split("/");if(n.length<2)return Promise.reject(`\`${e}\` is an invalid route`);const r=n.pop(),o=n.join("/");try{return Promise.resolve(t.$e.routes.register(o,r,()=>null))}catch(e){return Promise.reject(e)}}e.r(t),e.d(t,{__privateDispatchReadyEvent:function(){return w},__privateFlushListeners:function(){return g},__privateIsRouteActive:function(){return E},__privateListenTo:function(){return y},__privateOpenRoute:function(){return o},__privateRegisterRoute:function(){return i},__privateRunCommand:function(){return n},__privateRunCommandSync:function(){return r},__privateSetReady:function(){return m},__privateUseIsRouteActive:function(){return P},__privateUseListenTo:function(){return $},__privateUseRouteStatus:function(){return R},blockCommand:function(){return T},changeEditMode:function(){return C},commandEndEvent:function(){return a},commandStartEvent:function(){return u},isExperimentActive:function(){return _},registerDataHook:function(){return L},routeCloseEvent:function(){return s},routeOpenEvent:function(){return c},undoable:function(){return M},useEditMode:function(){return j},v1ReadyEvent:function(){return l},windowEvent:function(){return d}});const u=e=>({type:"command",name:e,state:"before"}),a=e=>({type:"command",name:e,state:"after"}),c=e=>({type:"route",name:e,state:"open"}),s=e=>({type:"route",name:e,state:"close"}),d=e=>({type:"window-event",name:e}),l=()=>d("elementor/initialized");let f=!1;function m(e){f=e}function w(){return function(){const e=window.__elementorEditorV1LoadingPromise;return e||Promise.reject("Elementor Editor V1 is not loaded")}().then(()=>{m(!0),window.dispatchEvent(new CustomEvent("elementor/initialized"))})}const p=new Map;let v=new AbortController;function y(e,t){Array.isArray(e)||(e=[e]);const n=e.map(e=>{const{type:n,name:r}=e;switch(n){case"command":return function(e,t,n){return h(`elementor/commands/run/${t}`,t=>{"command"===t.type&&t.command===e&&n(t)})}(r,e.state,t);case"route":return function(e,t,n){return h(`elementor/routes/${t}`,t=>{"route"===t.type&&t.route.startsWith(e)&&n(t)})}(r,e.state,t);case"window-event":return h(r,t)}});return()=>{n.forEach(e=>e())}}function g(){v.abort(),p.clear(),m(!1),v=new AbortController}function h(e,t){return!p.has(e)&&(p.set(e,[]),function(e){window.addEventListener(e,function(e){return t=>{if(!f)return;const n=function(e){return e instanceof CustomEvent&&e.detail?.command?{type:"command",command:e.detail.command,args:e.detail.args,originalEvent:e}:e instanceof CustomEvent&&e.detail?.route?{type:"route",route:e.detail.route,originalEvent:e}:{type:"window-event",event:e.type,originalEvent:e}}(t);p.get(e)?.forEach(e=>{e(n)})}}(e),{signal:v.signal})}(e)),p.get(e)?.push(t),()=>{const n=p.get(e);if(!n?.length)return;const r=n.filter(e=>e!==t);p.set(e,r)}}function E(e){const t=window;return!!t.$e?.routes?.isPartOf(e)}const _=e=>{const t=window;return!!t.elementorCommon?.config?.experimentalFeatures?.[e]};var b=window.React;function $(e,t,n=[]){const[r,o]=(0,b.useState)(()=>t());return(0,b.useEffect)(()=>{const n=()=>o(t());return n(),y(e,n)},n),r}function P(e){return $([c(e),s(e)],()=>E(e),[e])}function j(){return $(d("elementor/edit-mode/change"),O)}function O(){return window.elementor.channels.dataEditMode.request("activeMode")}function C(e){return window.elementor.changeEditMode(e)}function R(e,{blockOnKitRoutes:t=!0,allowedEditModes:n=["edit"]}={}){const r=P(e),o=P("panel/global"),i=j(),u=!n.includes(i);return{isActive:r&&!u,isBlocked:u||t&&o}}var A=window.elementorV2.utils;const S=(0,A.createError)({code:"history_manager_not_available",message:"Cannot access History manager."});function M(e,t){e.redo??=e.do;const n=t.debounce?(0,A.debounce)(k,t.debounce.wait):k;return r=>{const o=r,i=e;let u=i.do(o);return n({title:V(t.title)(o,u),subTitle:V(t.subtitle)(o,u),type:"",restore:(e,t)=>{t?u=i.redo(o,u):i.undo(o,u)}}),u}}function V(e){return"function"==typeof e?e:()=>e??""}function k(e){(function(){const e=window,t=e.elementor?.documents?.getCurrent?.()?.history;if(!t)throw new S;return t})().addItem(e)}let D=0;function L(e,t,n){const r=window,o=r.$e?.modules?.hookData,i={after:o?.After,dependency:o?.Dependency}[e];if(!i)throw new Error(`Data hook '${e}' is not available`);const u=++D,a=new class extends i{getCommand(){return t}getId(){return`${t}--data--${u}`}apply(e){return n(e)}};return a.register(),a}function T({command:e,condition:t}){return L("dependency",e,e=>!t(e))}(window.elementorV2=window.elementorV2||{}).editorV1Adapters=t}(),window.elementorV2.editorV1Adapters?.init?.();PK     <o]            <  js/packages/editor-v1-adapters/editor-v1-adapters.strings.jsnu [        PK     <o]NE  E  7  js/packages/editor-variables/editor-variables.asset.phpnu [        <?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
/**
 * This file is generated by Webpack, do not edit it directly.
 */
return [
	'handle' => 'elementor-v2-editor-variables',
	'deps' => [
		'elementor-v2-editor',
		'elementor-v2-editor-canvas',
		'elementor-v2-editor-controls',
		'elementor-v2-editor-current-user',
		'elementor-v2-editor-editing-panel',
		'elementor-v2-editor-props',
		'elementor-v2-editor-ui',
		'elementor-v2-editor-v1-adapters',
		'elementor-v2-http-client',
		'elementor-v2-icons',
		'elementor-v2-schema',
		'elementor-v2-ui',
		'react',
		'wp-i18n',
	],
];
PK     <o]u u 0  js/packages/editor-variables/editor-variables.jsnu [        /*! For license information please see editor-variables.js.LICENSE.txt */
!function(){"use strict";var e={"./packages/packages/core/editor-variables/src/api.ts":function(e,t,r){r.r(t),r.d(t,{apiClient:function(){return n}});var a=r("@elementor/http-client");const o="elementor/v1/variables",n={list:()=>(0,a.httpService)().get(o+"/list"),create:(e,t,r)=>(0,a.httpService)().post(o+"/create",{type:e,label:t,value:r}),update:(e,t,r)=>(0,a.httpService)().put(o+"/update",{id:e,label:t,value:r}),delete:e=>(0,a.httpService)().post(o+"/delete",{id:e}),restore:(e,t,r)=>{const n={id:e};return t&&(n.label=t),r&&(n.value=r),(0,a.httpService)().post(o+"/restore",n)}}},"./packages/packages/core/editor-variables/src/components/color-variable-creation.tsx":function(e,t,r){r.r(t),r.d(t,{ColorVariableCreation:function(){r