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