/*! For license information please see editor-props.js.LICENSE.txt */ !function(){"use strict";var e={"@elementor/schema":function(e){e.exports=window.elementorV2.schema}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){r.r(n),r.d(n,{backgroundImagePropTypeUtil:function(){return T},backgroundOverlayPropTypeUtil:function(){return i},borderRadiusPropTypeUtil:function(){return c},borderWidthPropTypeUtil:function(){return l},boxShadowPropTypeUtil:function(){return a},classesPropTypeUtil:function(){return s},colorGradientPropTypeUtil:function(){return v},colorPropTypeUtil:function(){return p},createPropUtils:function(){return t},gapPropTypeUtil:function(){return U},imageAttachmentIdPropType:function(){return d},imagePropTypeUtil:function(){return b},imageSrcPropTypeUtil:function(){return f},isTransformable:function(){return w},linkPropTypeUtil:function(){return O},linkedDimensionsPropTypeUtil:function(){return y},numberPropTypeUtil:function(){return z},shadowPropTypeUtil:function(){return u},sizePropTypeUtil:function(){return m},stringPropTypeUtil:function(){return g},strokePropTypeUtil:function(){return P},urlPropTypeUtil:function(){return h}});var e=r("@elementor/schema");function t(t,r){const n=e.z.strictObject({$$type:e.z.literal(t),value:r,disabled:e.z.boolean().optional()});function o(e){return n.safeParse(e).success}return{extract:function(e){return o(e)?e.value:null},isValid:o,create:function(e,r){const n="function"==typeof e?e:()=>e,{base:i,disabled:u}=r||{};if(!i)return{$$type:t,value:n(),...u&&{disabled:u}};if(!o(i))throw new Error(`Cannot create prop based on invalid value: ${JSON.stringify(i)}`);return{$$type:t,value:n(i.value),...u&&{disabled:u}}},schema:n}}var o=e.z.any().nullable(),i=t("background-overlay",e.z.strictObject({color:o})),u=t("shadow",e.z.strictObject({position:o,hOffset:o,vOffset:o,blur:o,spread:o,color:o})),a=t("box-shadow",e.z.array(u.schema)),c=t("border-radius",e.z.strictObject({"top-left":o,"top-right":o,"bottom-right":o,"bottom-left":o})),l=t("border-width",e.z.strictObject({top:o,right:o,bottom:o,left:o})),s=t("classes",e.z.array(e.z.string().regex(/^[a-z][a-z-_0-9]*$/i))),p=t("color",e.z.string()),b=t("image",e.z.strictObject({src:o,size:o})),d=t("image-attachment-id",e.z.number()),f=t("image-src",e.z.strictObject({id:o,url:e.z.null()}).or(e.z.strictObject({id:e.z.null(),url:o}))),y=t("linked-dimensions",e.z.strictObject({isLinked:o,top:o,right:o,bottom:o,left:o})),z=t("number",e.z.number()),m=t("size",e.z.strictObject({unit:e.z.enum(["px","em","rem","%","vw","vh"]),size:e.z.number()})),g=t("string",e.z.string().nullable()),P=t("stroke",e.z.strictObject({color:o,width:o})),h=t("url",e.z.string().url().nullable()),v=t("background-overlay",e.z.strictObject({color:o})),T=t("background-image",e.z.array(v.schema)),O=t("link",e.z.strictObject({enabled:e.z.boolean(),href:h.schema,isTargetBlank:e.z.boolean()})),U=t("gap",e.z.object({isLinked:e.z.boolean(),row:e.z.any(),column:e.z.any()})),j=e.z.object({$$type:e.z.string(),value:e.z.any(),disabled:e.z.boolean().optional()}),w=e=>j.safeParse(e).success}(),(window.elementorV2=window.elementorV2||{}).editorProps=n}();