/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@bsi-cx/design-build@2.0.1/dist/browser.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
(()=>{"use strict";var e={d:(t,i)=>{for(var n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};e.r(t),e.d(t,{AbstractBuilder:()=>U,AbstractConstant:()=>p,BuilderObjectNormalizer:()=>z,ContentElement:()=>gi,ContentElementGroup:()=>ye,CssClass:()=>Ct,Design:()=>Ie,DesignJsonProperty:()=>u,DesignType:()=>i,DomManipulation:()=>At,Dropzone:()=>gt,EnterMode:()=>a,Feature:()=>l,FontSizeUnit:()=>h,Format:()=>_,HtmlEditorConfig:()=>Tt,Icon:()=>d,Include:()=>Ai,Locale:()=>r,NLS:()=>Li,ObjectCloner:()=>w,PageInclude:()=>Si,Part:()=>Ti,RawValue:()=>c,SchemaVersion:()=>o,Style:()=>mt,StyleOption:()=>St,TemplateElement:()=>yt,TemplatePart:()=>It,Translation:()=>Di,Version:()=>n,Website:()=>mi,WebsiteContentType:()=>s,bsiProperty:()=>bi,cx:()=>Ri});var i={};e.r(i),e.d(i,{ALL_TYPES:()=>m,DesignType:()=>E,EMAIL:()=>y,LANDINGPAGE:()=>I,LEGACY_TYPES:()=>T,TARGET:()=>C,WEBSITE:()=>g});var n={};e.r(n),e.d(n,{CX_1_3:()=>P,CX_22_0:()=>O,CX_23_1:()=>v,CX_23_2:()=>N,CX_24_1:()=>b,CX_24_2:()=>R,CX_25_1:()=>x,CX_25_2:()=>M,STUDIO_1_0:()=>A,STUDIO_1_1:()=>D,STUDIO_1_2:()=>L,TARGET:()=>F,Version:()=>S});var r={};e.r(r),e.d(r,{DE:()=>k,DE_CH:()=>Y,DE_DE:()=>j,EN:()=>B,EN_GB:()=>G,EN_US:()=>X,FR:()=>W,FR_CH:()=>K,IT:()=>Z,IT_CH:()=>J,Locale:()=>V,WILDCARD:()=>H});var s={};e.r(s),e.d(s,{BLOG:()=>Q,CUSTOMER_PARTNER:()=>re,EVENT:()=>ne,OPEN_POSITION:()=>ee,POP_UP:()=>$,PRESS_RELEASE:()=>te,USE_CASE:()=>ie,WebsiteContentType:()=>q});var o={};e.r(o),e.d(o,{SchemaVersion:()=>se,V_1_0:()=>oe,V_22_0:()=>le,V_25_1:()=>ae,V_26_1:()=>he});var l={};e.r(l),e.d(l,{ALIGN_CENTER:()=>be,ALIGN_JUSTIFY:()=>xe,ALIGN_LEFT:()=>Ne,ALIGN_RIGHT:()=>Re,BACKGROUND_COLOR:()=>ve,BOLD:()=>Te,CLEAR_FORMATTING:()=>ke,EMOTICONS:()=>Ge,FONT_SIZE:()=>Le,FORMAT_OL:()=>Me,FORMAT_UL:()=>Fe,FULLSCREEN:()=>We,Feature:()=>ge,HELP:()=>Je,HTML:()=>Ze,INDENT:()=>ze,INSERT_LINK:()=>Xe,ITALIC:()=>me,LINE_HEIGHT:()=>Pe,OUTDENT:()=>Ue,PARAGRAPH_FORMAT:()=>Ve,QUOTE:()=>He,REDO:()=>Ye,SELECT_ALL:()=>Ke,SPECIAL_CHARACTERS:()=>Be,STRIKE_THROUGH:()=>Se,STUDIO_LINK:()=>qe,SUBSCRIPT:()=>Ae,SUPERSCRIPT:()=>De,TEXT_COLOR:()=>Oe,UNDERLINE:()=>Ce,UNDO:()=>je});var a={};e.r(a),e.d(a,{BR:()=>et,DIV:()=>tt,EnterMode:()=>Qe,P:()=>$e});var h={};e.r(h),e.d(h,{CM:()=>lt,EM:()=>rt,FontSizeUnit:()=>it,MM:()=>at,PT:()=>ot,PX:()=>nt,REM:()=>st});var _={};e.r(_),e.d(_,{Format:()=>ht,H1:()=>dt,H2:()=>ut,H3:()=>ct,H4:()=>pt,H5:()=>wt,H6:()=>ft,P:()=>_t,PRE:()=>Et});var d={};e.r(d),e.d(d,{ASTERISK:()=>qt,CALENDAR_CLOCK:()=>yi,CHAIN:()=>si,CHECKBOX:()=>ui,COMMUNICATION:()=>Gt,COMPASS:()=>li,DIAGRAM_AREA:()=>hi,DIAGRAM_BAR:()=>_i,DIAGRAM_LINE:()=>ai,DIVIDER:()=>$t,DOCUMENT:()=>Ht,DROPDOWN:()=>wi,ENVELOPE:()=>Yt,FACEBOOK:()=>Wt,FORMFIELD:()=>pi,HANDSHAKE:()=>Xt,HEADING:()=>Lt,HEADSET:()=>ii,HEART:()=>kt,IMAGE:()=>vt,INFO:()=>jt,Icon:()=>Dt,LIST:()=>bt,MEGAPHONE:()=>xt,METADATA:()=>ni,ONE_COLUMN:()=>fi,PAPERCLIP:()=>Vt,PARAMETER:()=>ei,PERSON_FEMALE:()=>Jt,PERSON_MALE:()=>Zt,PHONE:()=>Bt,PILE:()=>ri,QRCODE:()=>zt,RADIOBUTTON:()=>di,SIGNPOST:()=>oi,SMILEY:()=>Qt,SNIPPET:()=>Ut,SOCIAL_FOLLOW:()=>Mt,SOCIAL_SHARE:()=>Ft,TABLE:()=>Nt,TEXT:()=>Pt,TEXTAREA:()=>ci,TEXT_WITH_IMAGE:()=>Ot,THREE_COLUMNS:()=>Ii,TWITTER:()=>ti,TWO_COLUMNS:()=>Ei,VIDEO:()=>Rt,YOUTUBE:()=>Kt});class u{static ID="id";static SCHEMA_VERSION="schemaVersion";static TITLE="title";static AUTHOR="author";static DATE="date";static PREVIEW_IMAGE="previewImage";static ALT_TEXT_MANDATORY="altTextMandatory";static SRC_SET_SIZES="srcSetSizes";static HIDE_ACCESSIBILITY_FIELDS="hideAccessibilityFields";static OPTIONS="options";static FIELD_HEIGHT="fieldHeight";static SECURITY="security";static CAPTION_ENABLED="captionEnabled";static STUDIO_LINK_ENABLED="studioLinkEnabled";static DEFAULT_LOCALE="defaultLocale";static LOCALES="locales";static CONTENT_ELEMENT_GROUPS="contentElementGroups";static GROUP_ID="groupId";static CONTENT_ELEMENTS="contentElements";static ELEMENT_ID="elementId";static FILE="file";static CONTEXT_FILE="contextFile";static ICON="icon";static TEMPLATE_PARTS="templateParts";static PARTS="parts";static PART_ID="partId";static PART_CONTEXT_ID="partContextId";static PART_CONFIG="config";static HTML_EDITOR_CONFIG="htmlEditorConfig";static LABEL="label";static DESCRIPTION="description";static HIDDEN="hidden";static ARCHIVED="archived";static COMPOSITE="composite";static STYLE_CONFIGS="styleConfigs";static CSS_CLASSES="cssClasses";static CSS_CLASS="cssClass";static STYLES="styles";static STYLE_ID="styleId";static DOM_MANIPULATIONS="domManipulations";static SELECTOR="selector";static ATTRIBUTE="attribute";static VALUE="value";static HTML_EDITOR_CONFIGS="htmlEditorConfigs";static FEATURES="features";static TEXT_COLORS="textColors";static BACKGROUND_COLORS="backgroundColors";static FORMATS="formats";static FONT_SIZES="fontSizes";static FONT_SIZE_UNIT="fontSizeUnit";static FONT_SIZE_DEFAULT="fontSizeDefault";static LINE_HEIGHTS="lineHeights";static ENTER_MODE="enter";static WEBSITE="website";static NLS="nls";static WEBSITE_CONTENT_TYPES="websiteContentTypes";static WEBSITE_CONTENT_TYPE="websiteContentType";static MAX_NAVIGATION_LEVEL="maxNavigationLevel";static PAGINATION="pagination";static NUM_DATA_RECORDS_PER_PAGE="numDataRecordsPerPage";static NUM_ADJACENT_PAGES="numAdjacentPages";static INCLUDES="includes";static EDITABLE="editable";static INCLUDE_TYPE="includeType";static NAME="name";static PAGE_INCLUDE="__page__"}class c{constructor(e){this._value=e}get value(){return this._value}}class p{_value=void 0;constructor(e){this._value=e}get value(){return this._value}getValue(){return this.value}toString(){return this.value}}class w{_clone(e,t,i){for(let[n,r]of Object.entries(e))t[n]=i?r:this._cloneValue(r);return t}_cloneValue(e){switch(!0){case void 0===e:case"string"==typeof e||e instanceof String:case"number"==typeof e||e instanceof Number:case"boolean"==typeof e||e instanceof Boolean:case"bigint"==typeof e||e instanceof BigInt:return e;case e instanceof U:return e.clone();case e instanceof p:return e;case"function"==typeof e.clone:return e.clone();case e instanceof Array||Array.isArray(e):return this._cloneArray(e);case e instanceof Object||"object"==typeof e:return this._cloneObject(e);default:throw new Error("unable to clone value")}}_cloneArray(e){return e.map((e=>this._cloneValue(e)))}_cloneObject(e){let t={};for(let[i,n]of Object.entries(e))t[i]=this._cloneValue(n);return t}static clone(e,t,i){let n=void 0===i||!!i;return(new w)._clone(e,t,n)}static cloneValue(e){return(new w)._cloneValue(e)}}class f{static BSI_CX_CSS_HREF="###BSI_CX_CSS_HREF###";static BSI_CX_CSS_INLINE="###BSI_CX_CSS_INLINE###";static BSI_CX_DESIGN_BASE_URL="{{designBaseUrl}}";static BSI_CX_MODULE_RUNTIME_PATH="shared/runtime";static BSI_CX_MODULE_RUNTIME_HREF="###BSI_CX_MODULE_RUNTIME_HREF###";static BSI_CX_MODULE_RUNTIME_INLINE="###BSI_CX_MODULE_RUNTIME_INLINE###";static BSI_CX_JS_MODULE_START="###BSI_CX_JS_MODULE_START###";static BSI_CX_JS_MODULE_END="###BSI_CX_JS_MODULE_END###";static BSI_CX_JS_PROPERTY_PLUGIN="###BSI_CX_JS_PROPERTY_PLUGIN###";static BSI_CX_TARGET_VERSION="###BSI_CX_TARGET_VERSION###";static BSI_CX_TARGET_TYPE="###BSI_CX_TARGET_TYPE###";static BSI_CX_DEFAULT_LOCALE="###BSI_CX_DEFAULT_LOCALE###"}class E extends p{valueOf(){return this.value}}const I=new E("landingpage"),y=new E("email"),g=new E("website"),T=[I,y],m=[I,y,g],C=e.g[f.BSI_CX_TARGET_TYPE];class S extends p{constructor(e,t,i,n){super(e.join(".")),this._version=e,this._allowedTypes=t,this._legacyFormat=i,this._schemaVersion=n}get version(){return[...this._version]}get allowedTypes(){return this._allowedTypes}get legacyFormat(){return this._legacyFormat}get schemaVersion(){return this._schemaVersion}compareTo(e){for(let t=0;t<this._version.length;t++){const i=this._version[t]-(e.version?.[t]??0);if(0!==i)return i}return 0}valueOf(){return this._version.reduce(((e,t,i,n)=>e+t*Math.pow(1e4,n.length-i)),0)}}const A=new S([1,0,0],T,!0),D=new S([1,1,0],T,!0),L=new S([1,2,0],T,!0),P=new S([1,3,0],m,!0,"1.0"),O=new S([22,0,0],m,!1,"22.0"),v=new S([23,1,0],m,!1,"23.1"),N=new S([23,2,0],m,!1,"23.2"),b=new S([24,1,0],m,!1,"24.1"),R=new S([24,2,0],m,!1,"24.2"),x=new S([25,1,0],m,!1,"25.1"),M=new S([25,2,0],m,!1,"25.2"),F=e.g[f.BSI_CX_TARGET_VERSION];class U{_minVersion=A;_maxVersion=void 0;_allowedTypes=m;get minVersion(){return this._minVersion}get maxVersion(){return this._maxVersion}get allowedTypes(){return[...this._allowedTypes]}withMinVersion(e){return this._minVersion=e,this}withMaxVersion(e){return this._maxVersion=e,this}withAllowedTypes(...e){return this._allowedTypes=e,this}build(){if(this.isCompatible())return this._buildInternal()}_buildInternal(){throw new Error("not implemented")}isCompatible(){return!(this.minVersion&&F<this.minVersion)&&(!(this.maxVersion&&F>this.maxVersion)&&(void 0===this.allowedTypes||-1!==this.allowedTypes.findIndex((e=>e.value===C.value))))}_applyPropertyIfDefined(t,i,n,r,s){if(void 0===this[t])return;let o,l=this[t],a=l instanceof c;switch(t===u.NLS&&void 0===l[0].nlsMarker&&(l=Object.values(l[0])),!0){case a:o=l.value;break;case l instanceof Array:o=l.filter((e=>this._checkCompatibility(e))).map((e=>n(e))).filter((e=>void 0!==e));break;default:o=this._checkCompatibility(l)?n(l):void 0}if(void 0!==l.nlsMarker&&(t===u.LABEL||t===u.DESCRIPTION||t===u.NAME))if(F.valueOf()>=N.valueOf())o="${nlsKey:"+o.identifier+"}";else for(let t of o.translations)t.locale!==e.g[f.BSI_CX_DEFAULT_LOCALE]&&"*"!==t.locale.value||(o=t.translation);r&&!a&&(o=this._applyArrayToObject(o)),s&&!a&&this._applyMetaPropertyFromValue(t,i,l),void 0!==o&&(i[t]=o)}_applyMetaPropertyFromValue(e,t,i){let n,r=`_${e}`;n=i instanceof Array?i.map((e=>e.build())).filter((e=>void 0!==e)):i.build(),void 0!==n&&(t[r]=n)}_applyArrayToObject(e){let t={};for(let i of e??[])t={...t,...i};return t}_checkCompatibility(e){return!(e instanceof U)||e.isCompatible()}_clone(e,t){return w.clone(this,e,t)}}class z{_normalize(e){switch(!0){case void 0===e:case"string"==typeof e||e instanceof String:case"number"==typeof e||e instanceof Number:case"boolean"==typeof e||e instanceof Boolean:case"bigint"==typeof e||e instanceof BigInt:return e;case"function"==typeof e.build:return e.build();case"function"==typeof e.getValue:return e.getValue();case e instanceof Array||Array.isArray(e):return this._normalizeArray(e);case e instanceof Object||"object"==typeof e:return this._normalizeObject(e);default:throw new Error("unable to normalize input")}}_normalizeArray(e){return e.map((e=>this._normalize(e)))}_normalizeObject(e){let t={};for(let[i,n]of Object.entries(e))t[i]=this._normalize(n);return t}static normalize(e){return(new z)._normalize(e)}}class V extends p{}const H=new V("*"),B=new V("en"),G=new V("en-GB"),X=new V("en-US"),k=new V("de"),j=new V("de-DE"),Y=new V("de-CH"),W=new V("fr"),K=new V("fr-CH"),Z=new V("it"),J=new V("it-CH");class q extends p{}const Q=new q("blog"),$=new q("pop-up"),ee=new q("open-position"),te=new q("press-release"),ie=new q("use-case"),ne=new q("event"),re=new q("customer-partner");class se extends p{}const oe=new se("1.0"),le=new se("22.0"),ae=new se("25.1"),he=new se("26.1");function _e(e){return e}function de(e){return e.value}function ue(e){return e.build()}function ce(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}class pe{static DROPZONES="dropzones";static DROPZONE="dropzone";static ALLOWED_ELEMENTS="allowedElements";static MAX_ALLOWED_ELEMENTS="maxAllowedElements";static REMOVE_ALLOWED="removeAllowed";static COPY_ALLOWED="copyAllowed";static MOVE_ALLOWED="moveAllowed"}class we extends U{_formFieldRules=void 0;get formFieldRules(){return this._formFieldRules}withFormFieldRules(e){return this._formFieldRules=e,this}_buildInternal(){let e={};return this._applyPropertyIfDefined("formFieldRules",e,_e),e}}class fe extends U{_htmlSanitization=void 0;get htmlSanitization(){return this._htmlSanitization}withHtmlSanitization(e){return this._htmlSanitization=e,this}_buildInternal(){let e={};return this._applyPropertyIfDefined("htmlSanitization",e,ue),e}}class Ee extends U{_allowEventAttributes=void 0;_allowInlineScripts=void 0;get allowEventAttributes(){return this._allowEventAttributes}get allowInlineScripts(){return this._allowInlineScripts}withAllowEventAttributes(e){return this._allowEventAttributes=e,this}withAllowInlineScripts(e){return this._allowInlineScripts=e,this}_buildInternal(){let e={};return this._applyPropertyIfDefined("allowEventAttributes",e,_e),this._applyPropertyIfDefined("allowInlineScripts",e,_e),e}}class Ie extends U{_schemaVersion=void 0;_title=void 0;_author=void 0;_date=void 0;_previewImage=void 0;_defaultLocale=void 0;_locales=void 0;_contentElementGroups=void 0;_dropzones=void 0;_styleConfigs=void 0;_htmlEditorConfigs=void 0;_website=void 0;_nls=void 0;_websiteContentTypes=void 0;_features=void 0;_security=void 0;_rawObjects={};get schemaVersion(){return this._schemaVersion}get title(){return this._title}get author(){return this._author}get date(){return this._date}get previewImage(){return this._previewImage}get defaultLocale(){return this._defaultLocale}get locales(){return this._locales}get contentElementGroups(){return this._contentElementGroups}get dropzones(){return this._dropzones}get styleConfigs(){return this._styleConfigs}get htmlEditorConfigs(){return this._htmlEditorConfigs}get website(){return this._website}get nls(){return this._nls}get websiteContentTypes(){return this._websiteContentTypes}get features(){return this._features}get security(){return this._security}get rawObjects(){return this._rawObjects}withSchemaVersion(e){return this._schemaVersion=e,this}withRawSchemaVersion(e){return this._schemaVersion=new c(e),this}withTitle(e){return this._title=e,this}withAuthor(e){return this._author=e,this}withDate(e){return this._date=e,this}withPreviewImage(e){return this._previewImage=e,this}withDefaultLocale(e){return this._defaultLocale=e,this}withRawDefaultLocale(e){return this._defaultLocale=new c(e),this}withLocales(...e){return this._locales=e,this}withRawLocales(...e){return this._locales=new c(e),this}withContentElementGroups(...e){return this._contentElementGroups=e,this}withRawContentElementGroups(...e){return this._contentElementGroups=new c(e),this}withDropzones(...e){return this._dropzones=e,this}withExtendedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));return i&&i.withAllowedElements(...i.allowedElements,...t),this}withReducedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));if(i){let e=t.map((e=>e.elementId)),n=i.allowedElements;n=n.filter((t=>!e.includes(t.elementId))),i.withAllowedElements(...n)}return this}withStyleConfigs(...e){return this._styleConfigs=e,this}withRawStyleConfigs(e){return this._styleConfigs=new c(e),this}withHtmlEditorConfigs(...e){return this._htmlEditorConfigs=e,this}withRawHtmlEditorConfigs(e){return this._htmlEditorConfigs=new c(e),this}withWebsite(e){return this._website=e,this}withRawWebsite(e){return this._website=new c(e),this}withNLS(...e){return this._nls=e,this}withRawNLS(e){return this._nls=new c(e),this}withWebsiteContentTypes(...e){return this._websiteContentTypes=e,this}withRawWebsiteContentTypes(...e){return this._websiteContentTypes=new c(e),this}withFeatures(e){return this._features=e,this}withRawFeatures(e){return this._features=new c(e),this}withFeatureFormFieldRules(e){return this._features=this._features||new we,this._features.withFormFieldRules(e),this}withSecurity(e){return this._security=e,this}withRawSecurity(e){return this._security=new c(e),this}withSecurityHtmlSanitization(e=!1,t=!1){this._security=this._security||new fe;let i=this._security.htmlSanitization||new Ee;return i.withAllowEventAttributes(e),i.withAllowInlineScripts(t),this._security.withHtmlSanitization(i),this}withRawObject(e,t){return this._rawObjects=this._rawObjects||{},this._rawObjects[e]=t,this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.SCHEMA_VERSION,e,de),this._applyPropertyIfDefined(u.TITLE,e,_e),this._applyPropertyIfDefined(u.AUTHOR,e,_e),this._applyPropertyIfDefined(u.DATE,e,_e),this._applyPropertyIfDefined(u.PREVIEW_IMAGE,e,_e),this._applyPropertyIfDefined(u.DEFAULT_LOCALE,e,de),this._applyPropertyIfDefined(u.LOCALES,e,de),this._applyPropertyIfDefined(u.CONTENT_ELEMENT_GROUPS,e,ue),this._applyPropertyIfDefined(pe.DROPZONES,e,ue),this._applyPropertyIfDefined(u.STYLE_CONFIGS,e,ue,!0),this._applyPropertyIfDefined(u.HTML_EDITOR_CONFIGS,e,ue,!0),this._applyPropertyIfDefined(u.WEBSITE,e,ue),this._applyPropertyIfDefined(u.NLS,e,ue,!0),this._applyPropertyIfDefined(u.WEBSITE_CONTENT_TYPES,e,de),this._applyPropertyIfDefined(u.FEATURES,e,ue),this._applyPropertyIfDefined(u.SECURITY,e,ue),e=Object.assign(e,this._rawObjects),e}clone(e){return this._clone(new Ie,e)}}class ye extends U{_groupId=ce();_label=void 0;_hidden=void 0;_contentElements=void 0;get groupId(){return this._groupId}get label(){return this._label}get hidden(){return this._hidden}get contentElements(){return this._contentElements}withGroupId(e){return this._groupId=e,this}withLabel(e){return this._label=e,this}withHidden(e){return this._hidden=e,this}withContentElements(...e){return this._contentElements=e,this}withRawContentElements(...e){return this._contentElements=new c(e),this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.GROUP_ID,e,_e),this._applyPropertyIfDefined(u.LABEL,e,_e),this._applyPropertyIfDefined(u.HIDDEN,e,_e),this._applyPropertyIfDefined(u.CONTENT_ELEMENTS,e,ue),e}clone(e){return this._clone(new ye,e)}}class ge extends p{}const Te=new ge("bold"),me=new ge("italic"),Ce=new ge("underline"),Se=new ge("strikeThrough"),Ae=new ge("subscript"),De=new ge("superscript"),Le=new ge("fontSize"),Pe=new ge("lineHeight"),Oe=new ge("textColor"),ve=new ge("backgroundColor"),Ne=new ge("alignLeft"),be=new ge("alignCenter"),Re=new ge("alignRight"),xe=new ge("alignJustify"),Me=new ge("formatOL"),Fe=new ge("formatUL"),Ue=new ge("outdent"),ze=new ge("indent"),Ve=new ge("paragraphFormat"),He=new ge("quote"),Be=new ge("specialCharacters"),Ge=new ge("emoticons"),Xe=new ge("insertLink"),ke=new ge("clearFormatting"),je=new ge("undo"),Ye=new ge("redo"),We=new ge("fullscreen"),Ke=new ge("selectAll"),Ze=new ge("html"),Je=new ge("help"),qe=new ge("studioLink");class Qe extends p{}const $e=new Qe("p"),et=new Qe("br"),tt=new Qe("div");class it extends p{}const nt=new it("px"),rt=new it("em"),st=new it("rem"),ot=new it("pt"),lt=new it("cm"),at=new it("mm");class ht extends p{}const _t=new ht("p"),dt=new ht("h1"),ut=new ht("h2"),ct=new ht("h3"),pt=new ht("h4"),wt=new ht("h5"),ft=new ht("h6"),Et=new ht("pre");class It extends U{_partContextId=void 0;_partId=void 0;_label=void 0;_config=void 0;constructor(e,t,i){super(),this._partId=e,this._label=t,this._partContextId=i}get partContextId(){return this._partContextId}get partId(){return this._partId}get label(){return this._label}get config(){return this._config}addConfigValueIfNotNull(e,t,i=!1){return null!==t&&(this._config=this.config||{},this._config[e]=i?!!t:t),this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.PART_CONTEXT_ID,e,_e),this._applyPropertyIfDefined(u.PART_ID,e,_e),this._applyPropertyIfDefined(u.LABEL,e,_e),this._applyPropertyIfDefined(u.PART_CONFIG,e,_e),e}}class yt extends U{_elementId=ce();_label=void 0;_description=void 0;_file=void 0;_contextFile=void 0;_icon=void 0;_hidden=void 0;_composite=void 0;_archived=void 0;_styleConfigs=void 0;_templateParts=void 0;_dropzones=void 0;get elementId(){return this._elementId}get label(){return this._label}get description(){return this._description}get file(){return this._file}get contextFile(){return this._contextFile}get icon(){return this._icon}get hidden(){return this._hidden}get archived(){return this._archived}get composite(){return this._composite}get styleConfigs(){return this._styleConfigs}get templateParts(){return this._templateParts}get dropzones(){return this._dropzones}withElementId(e){return this._elementId=e,this}withLabel(e){return this._label=e,this}withDescription(e){return this._description=e,this}withFile(e){return this._file=e,this}withContextFile(e){return this._contextFile=e,this}withIcon(e){return this._icon=e,this}withRawIcon(e){return this._icon=new c(e),this}withHidden(e){return this._hidden=e,this}withComposite(e){return this._composite=e,this}withArchived(e){return this._archived=e,this}withArchivedMinVersion(e){return TARGET_VERSION>=e&&(this._archived=!0),this}withStyleConfigs(...e){return this._styleConfigs=e,this}withRawStyleConfigs(...e){return this._styleConfigs=new c(e),this}withAddStyleConfigs(...e){return this._styleConfigs=(this.styleConfigs||[]).concat(e),this}withRemoveStyleConfigs(...e){var t=e.map((e=>e.identifier));return this._styleConfigs=(this.styleConfigs||[]).filter((e=>!t.includes(e.identifier))),this}withTemplateParts(...e){return this._templateParts=e,this}withRawTemplateParts(...e){return this._templateParts=new c(e),this}withDropzones(...e){return this._dropzones=e,this}withExtendedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));return i&&i.withAllowedElements(...i.allowedElements,...t),this}withReducedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));if(i){let e=t.map((e=>e.elementId)),n=i.allowedElements;n=n.filter((t=>!e.includes(t.elementId))),i.withAllowedElements(...n)}return this}isCompatible(){return super.isCompatible()&&!this._hasIncompatibleParts()}_buildInternal(){let e={type:"template-element"};return this._applyPropertyIfDefined(u.ELEMENT_ID,e,_e),this._applyPropertyIfDefined(u.LABEL,e,_e),this._applyPropertyIfDefined(u.DESCRIPTION,e,_e),this._applyPropertyIfDefined(u.ICON,e,de),this._applyPropertyIfDefined(u.HIDDEN,e,_e),this._applyPropertyIfDefined(u.ARCHIVED,e,_e),this._applyPropertyIfDefined(u.FILE,e,_e),this._applyPropertyIfDefined(u.CONTEXT_FILE,e,_e),this._applyPropertyIfDefined(u.TEMPLATE_PARTS,e,ue),this._applyPropertyIfDefined(u.STYLE_CONFIGS,e,(e=>e.identifier),!1,!0),this._applyPropertyIfDefined(pe.DROPZONES,e,ue),e}clone(e){return this._clone(new yt,e)}_hasIncompatibleParts(){return(this.templateParts??[]).some((e=>e instanceof U&&!e.isCompatible()))}}class gt extends U{_dropzone=void 0;_allowedElements=void 0;_maxAllowedElements=void 0;_removeAllowed=void 0;_copyAllowed=void 0;_moveAllowed=void 0;get dropzone(){return this._dropzone}get allowedElements(){return this._allowedElements}get maxAllowedElements(){return this._maxAllowedElements}get removeAllowed(){return this._removeAllowed}get copyAllowed(){return this._copyAllowed}get moveAllowed(){return this._moveAllowed}withDropzone(e){return this._dropzone=e,this}withAllowedElements(...e){return this._allowedElements=e,this}withRawAllowedElements(...e){return this._allowedElements=new c(e),this}withMaxAllowedElements(e){return this._maxAllowedElements=e,this}withRemoveAllowed(e){return this._removeAllowed=e,this}withCopyAllowed(e){return this._copyAllowed=e,this}withMoveAllowed(e){return this._moveAllowed=e,this}_buildInternal(){let e={};return this._applyPropertyIfDefined(pe.DROPZONE,e,_e),this._applyPropertyIfDefined(pe.ALLOWED_ELEMENTS,e,(e=>e.elementId)),this._applyPropertyIfDefined(pe.MAX_ALLOWED_ELEMENTS,e,_e),this._applyPropertyIfDefined(pe.REMOVE_ALLOWED,e,_e),this._applyPropertyIfDefined(pe.COPY_ALLOWED,e,_e),this._applyPropertyIfDefined(pe.MOVE_ALLOWED,e,_e),e}clone(e){return this._clone(new gt,e)}}class Tt extends U{_identifier=ce();_features=void 0;_textColors=void 0;_backgroundColors=void 0;_formats=void 0;_fontSizes=void 0;_fontSizeUnit=void 0;_fontSizeDefault=void 0;_lineHeights=void 0;_enterMode=void 0;get identifier(){return this._identifier}get features(){return this._features}get textColors(){return this._textColors}get backgroundColors(){return this._backgroundColors}get formats(){return this._formats}get fontSizes(){return this._fontSizes}get fontSizeUnit(){return this._fontSizeUnit}get fontSizeDefault(){return this._fontSizeDefault}get lineHeights(){return this._lineHeights}get enter(){return this._enterMode}withIdentifier(e){return this._identifier=e,this}withFeatures(...e){return this._features=e,this}withRawFeatures(...e){return this._features=new c(e),this}withTextColors(...e){return this._textColors=e,this}withBackgroundColors(...e){return this._backgroundColors=e,this}withFormats(...e){return this._formats=e,this}withRawFormats(...e){return this._formats=new c(e),this}withFontSizes(...e){return this._fontSizes=e,this}withFontSizeUnit(e){return this._fontSizeUnit=e,this}withRawFontSizeUnit(e){return this._fontSizeUnit=new c(e),this}withFontSizeDefault(e){return this._fontSizeDefault=e,this}withLineHeights(...e){return this._lineHeights=e,this}withEnterMode(e){return this._enterMode=e,this}withRawEnterMode(e){return this._enterMode=new c(e),this}_buildInternal(){let e={},t={};return e[this.identifier]=t,this._applyPropertyIfDefined(u.FEATURES,t,de),this._applyPropertyIfDefined(u.TEXT_COLORS,t,_e),this._applyPropertyIfDefined(u.BACKGROUND_COLORS,t,_e),this._applyPropertyIfDefined(u.FORMATS,t,de),this._applyPropertyIfDefined(u.FONT_SIZES,t,_e),this._applyPropertyIfDefined(u.FONT_SIZE_UNIT,t,de),this._applyPropertyIfDefined(u.FONT_SIZE_DEFAULT,t,_e),this._applyPropertyIfDefined(u.LINE_HEIGHTS,t,_e),this._applyPropertyIfDefined(u.ENTER_MODE,t,de),e}clone(e){return this._clone(new Tt,e)}}class mt extends U{_identifier=ce();_label=void 0;_cssClasses=void 0;_styles=void 0;get identifier(){return this._identifier}get label(){return this._label}get cssClasses(){return this._cssClasses}get styles(){return this._styles}withIdentifier(e){return this._identifier=e,this}withLabel(e){return this._label=e,this}withCssClasses(...e){return this._cssClasses=e,this}withRawCssClasses(...e){return this._cssClasses=new c(e),this}withStyleOptions(...e){return this._styles=e,this}withRawStyleOptions(...e){return this._styles=new c(e),this}_buildInternal(){let e={},t={};return this._applyPropertyIfDefined(u.LABEL,t,_e),this._applyPropertyIfDefined(u.CSS_CLASSES,t,ue),this._applyPropertyIfDefined(u.STYLES,t,ue),e[this.identifier]=t,e}clone(e){return this._clone(new mt,e)}}class Ct extends U{_cssClass=void 0;_label=void 0;get cssClass(){return this._cssClass}get label(){return this._label}withCssClass(e){return this._cssClass=e,this}withLabel(e){return this._label=e,this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.CSS_CLASS,e,_e),this._applyPropertyIfDefined(u.LABEL,e,_e),e}clone(e){return this._clone(new Ct,e)}static create(e,t){return(new Ct).withCssClass(e).withLabel(t)}}class St extends U{_styleId=void 0;_label=void 0;_cssClass=void 0;_domManipulations=void 0;get styleId(){return this._styleId}get label(){return this._label}get cssClass(){return this._cssClass}get domManipulations(){return this._domManipulations}withStyleId(e){return this._styleId=e,this}withLabel(e){return this._label=e,this}withCssClass(e){return this._cssClass=e,this}withDomManipulations(...e){return this._domManipulations=e,this}withRawDomManipulations(...e){return this._domManipulations=new c(e),this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.STYLE_ID,e,_e),this._applyPropertyIfDefined(u.LABEL,e,_e),this._applyPropertyIfDefined(u.CSS_CLASS,e,_e),this._applyPropertyIfDefined(u.DOM_MANIPULATIONS,e,ue),e}clone(e){return this._clone(new St,e)}}class At extends U{_selector=void 0;_attribute=void 0;_value=void 0;get selector(){return this._selector}get attribute(){return this._attribute}get value(){return this._value}withSelector(e){return this._selector=e,this}withAttribute(e){return this._attribute=e,this}withValue(e){return this._value=e,this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.SELECTOR,e,_e),this._applyPropertyIfDefined(u.ATTRIBUTE,e,_e),this._applyPropertyIfDefined(u.VALUE,e,_e),e}clone(e){return this._clone(new At,e)}static create(e,t,i){return(new At).withSelector(e).withAttribute(t).withValue(i)}}class Dt extends p{}const Lt=new Dt("heading"),Pt=new Dt("text"),Ot=new Dt("text-with-image"),vt=new Dt("image"),Nt=new Dt("table"),bt=new Dt("list"),Rt=new Dt("video"),xt=new Dt("megaphone"),Mt=new Dt("social-follow"),Ft=new Dt("social-share"),Ut=new Dt("snippet"),zt=new Dt("qrcode"),Vt=new Dt("paperclip"),Ht=new Dt("document"),Bt=new Dt("phone"),Gt=new Dt("communication"),Xt=new Dt("handshake"),kt=new Dt("heart"),jt=new Dt("info"),Yt=new Dt("envelope"),Wt=new Dt("facebook"),Kt=new Dt("youtube"),Zt=new Dt("person-male"),Jt=new Dt("person-female"),qt=new Dt("asterisk"),Qt=new Dt("smiley"),$t=new Dt("divider"),ei=new Dt("parameter"),ti=new Dt("twitter"),ii=new Dt("headset"),ni=new Dt("metadata"),ri=new Dt("pile"),si=new Dt("chain"),oi=new Dt("signpost"),li=new Dt("compass"),ai=new Dt("diagram-line"),hi=new Dt("diagram-area"),_i=new Dt("diagram-bar"),di=new Dt("radiobutton"),ui=new Dt("checkbox"),ci=new Dt("textarea"),pi=new Dt("formfield"),wi=new Dt("dropdown"),fi=new Dt("one-column"),Ei=new Dt("two-columns"),Ii=new Dt("three-columns"),yi=new Dt("calendar-clock");class gi extends U{_elementId=ce();_label=void 0;_description=void 0;_file=void 0;_icon=void 0;_hidden=void 0;_archived=void 0;_styleConfigs=void 0;_parts=void 0;_dropzones=void 0;get elementId(){return this._elementId}get label(){return this._label}get description(){return this._description}get file(){return this._file}get icon(){return this._icon}get hidden(){return this._hidden}get archived(){return this._archived}get styleConfigs(){return this._styleConfigs}get parts(){return this._parts}get dropzones(){return this._dropzones}withElementId(e){return this._elementId=e,this}withLabel(e){return this._label=e,this}withDescription(e){return this._description=e,this}withFile(e){return this._file=e,this}withIcon(e){return this._icon=e,this}withRawIcon(e){return this._icon=new c(e),this}withHidden(e){return this._hidden=e,this}withArchived(e){return this._archived=e,this}withArchivedMinVersion(e){return F>=e&&(this._archived=!0),this}withStyleConfigs(...e){return this._styleConfigs=e,this}withRawStyleConfigs(...e){return this._styleConfigs=new c(e),this}withAddStyleConfigs(...e){return this._styleConfigs=(this.styleConfigs||[]).concat(e),this}withRemoveStyleConfigs(...e){var t=e.map((e=>e.identifier));return this._styleConfigs=(this.styleConfigs||[]).filter((e=>!t.includes(e.identifier))),this}withParts(...e){return this._parts=e,this}withRawParts(...e){return this._parts=new c(e),this}withDropzones(...e){return this._dropzones=e,this}withExtendedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));return i&&i.withAllowedElements(...i.allowedElements,...t),this}withReducedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));if(i){let e=t.map((e=>e.elementId)),n=i.allowedElements;n=n.filter((t=>!e.includes(t.elementId))),i.withAllowedElements(...n)}return this}isCompatible(){return super.isCompatible()&&!this._hasIncompatibleParts()}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.ELEMENT_ID,e,_e),this._applyPropertyIfDefined(u.LABEL,e,_e),this._applyPropertyIfDefined(u.DESCRIPTION,e,_e),this._applyPropertyIfDefined(u.ICON,e,de),this._applyPropertyIfDefined(u.HIDDEN,e,_e),this._applyPropertyIfDefined(u.ARCHIVED,e,_e),this._applyPropertyIfDefined(u.FILE,e,_e),this._applyPropertyIfDefined(u.PARTS,e,ue),this._applyPropertyIfDefined(u.STYLE_CONFIGS,e,(e=>e.identifier),!1,!0),this._applyPropertyIfDefined(pe.DROPZONES,e,ue),e}clone(e){return this._clone(new gi,e)}_hasIncompatibleParts(){return-1!==(this.parts??[]).findIndex((e=>e instanceof U&&!e.isCompatible()))}}class Ti extends U{_id=void 0;_partId=void 0;_label=void 0;_config=void 0;_htmlEditorConfig=void 0;_altTextMandatory=void 0;_captionEnabled=void 0;_studioLinkEnabled=void 0;constructor(e,t,i){super(),this._partId=e,this._label=t,this._id=i}get id(){return this._id}get partId(){return this._partId}get label(){return this._label}get config(){return this._config}get htmlEditorConfig(){return this._htmlEditorConfig}get altTextMandatory(){return this._altTextMandatory}get captionEnabled(){return this._captionEnabled}get studioLinkEnabled(){return this._studioLinkEnabled}withId(e){return this._id=e,this}withLabel(e){return this._label=e,this}withRawConfig(e){return this._config=e,this}withConfig(e,t){return this._config=this.config||{},this._config[e]=t,this}withHtmlEditorConfig(e){return this._htmlEditorConfig=e,this.withConfig(u.HTML_EDITOR_CONFIG,e.identifier)}withAltTextMandatory(e){return this._altTextMandatory=e,this.withConfig(u.ALT_TEXT_MANDATORY,e)}withCaptionEnabled(e){return this._captionEnabled=e,this.withConfig(u.CAPTION_ENABLED,e)}withStudioLinkEnabled(e){return this._studioLinkEnabled=e,this.withConfig(u.STUDIO_LINK_ENABLED,e)}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.ID,e,_e),this._applyPropertyIfDefined(u.PART_ID,e,_e),this._applyPropertyIfDefined(u.LABEL,e,_e),this._applyPropertyIfDefined(u.PART_CONFIG,e,_e),this._applyPropertyIfDefined(u.HTML_EDITOR_CONFIG,e,(e=>e.identifier),!1,!0),this._applyPropertyIfDefined(u.ALT_TEXT_MANDATORY,e,_e),this._applyPropertyIfDefined(u.CAPTION_ENABLED,e,_e),this._applyPropertyIfDefined(u.STUDIO_LINK_ENABLED,e,_e),e}}class mi extends U{_maxNavigationLevel=void 0;_pagination=void 0;_includes=void 0;get maxNavigationLevel(){return this._maxNavigationLevel}get pagination(){return this._pagination}get includes(){return this._includes}get minVersion(){return P}get allowedTypes(){return[g]}withMaxNavigationLevel(e){return this._maxNavigationLevel=e,this}withPagination(e){return this._pagination=e,this}withRawPagination(e){return this._pagination=new c(e),this}withIncludes(...e){return this._includes=e,this}withRawIncludes(e){return this._includes=new c(e),this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.MAX_NAVIGATION_LEVEL,e,_e),this._applyPropertyIfDefined(u.PAGINATION,e,ue),this._applyPropertyIfDefined(u.INCLUDES,e,ue,!0),e}clone(e){return this._clone(new mi,e)}}class Ci extends U{_identifier=ce();_editable=void 0;_includeType=void 0;_websiteContentType=void 0;_file=void 0;_name=void 0;_dropzones=void 0;constructor(e){super(),this._identifier=e}get identifier(){return this._identifier}get editable(){return this._editable}get includeType(){return this._includeType}get websiteContentType(){return this._websiteContentType}get file(){return this._file}get name(){return this._name}get dropzones(){return this._dropzones}get minVersion(){return P}get allowedTypes(){return[g]}withEditable(e){return this._editable=e,this}withIncludeType(e){return this._includeType=e,this}withWebsiteContentType(e){return this._websiteContentType=e,this}withFile(e){return this._file=e,this}withName(e){return this._name=e,this}withDropzones(...e){return this._dropzones=e,this}withExtendedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));return i&&i.withAllowedElements(...i.allowedElements,...t),this}withReducedDropzone(e,...t){let i=this._dropzones?.find((t=>t.dropzone===e));if(i){let e=t.map((e=>e.elementId)),n=i.allowedElements;n=n.filter((t=>!e.includes(t.elementId))),i.withAllowedElements(...n)}return this}_buildInternal(){let e={},t={};return e[this.identifier]=t,this._applyPropertyIfDefined(u.EDITABLE,t,_e),this._applyPropertyIfDefined(u.INCLUDE_TYPE,t,_e),this._applyPropertyIfDefined(u.WEBSITE_CONTENT_TYPE,t,de),this._applyPropertyIfDefined(u.FILE,t,_e),this._applyPropertyIfDefined(u.NAME,t,_e),this._applyPropertyIfDefined(pe.DROPZONES,t,ue),e}}class Si extends Ci{constructor(){super(u.PAGE_INCLUDE)}clone(e){return this._clone(new Si,e)}}class Ai extends Ci{constructor(){super(void 0)}withIdentifier(e){return this._identifier=e,this}clone(e){return this._clone(new Ai,e)}}class Di extends U{_locale=void 0;_translation=void 0;get locale(){return this._locale}get translation(){return this._translation}withLocale(e){return this._locale=e,this}withRawLocale(e){return this._locale=new c(e),this}withTranslation(e){return this._translation=e,this}_buildInternal(){let e={};return e[this.locale?.value]=this.translation,e}clone(e){return this._clone(new Di,e)}static create(e,t){return(new Di).withLocale(e).withTranslation(t)}static wildcard(e){return(new Di).withLocale(H).withTranslation(e)}}class Li extends U{_identifier=void 0;_translations=void 0;_nlsMarker=ce();get identifier(){return this._identifier}get translations(){return this._translations}get nlsMarker(){return this._nlsMarker}withIdentifier(e){return this._identifier=e,this}withTranslations(...e){return this._translations=e,this}withRawTranslations(e){this._translations=[];for(let[t,i]of Object.entries(e)){let e=(new Di).withRawLocale(t).withTranslation(i);this._translations.push(e)}return this}_buildInternal(){let e={},t={};for(let e of this.translations??[])t={...t,...e.build()};return e[this.identifier]=t,e}static create(e,...t){return(new Li).withIdentifier(e).withTranslations(...t)}static fromMap(e,t){let i=[];for(let[e,n]of t.entries())i.push((new Di).withLocale(e).withTranslation(n));return(new Li).withIdentifier(e).withTranslations(...i)}clone(e){return this._clone(new Li,e)}}class Pi{get backgroundImage(){return this.BackgroundImage()}BackgroundImage(e,t){return new Ti("background-image",e,t)}get form(){return this.Form()}Form(e,t){return new Ti("form",e,t)}get formCheckbox(){return this.FormCheckbox()}FormCheckbox(e,t){return new Ti("form-checkbox",e,t)}get formField(){return this.FormField()}FormField(e,t){return new Ti("form-field",e,t)}get formRadio(){return this.FormRadio()}FormRadio(e,t){return new Ti("form-radio",e,t)}get formSelect(){return this.FormSelect()}FormSelect(e,t){return new Ti("form-select",e,t)}get formTextarea(){return this.FormTextarea()}FormTextarea(e,t){return new Ti("form-textarea",e,t)}get formattedText(){return this.FormattedText()}FormattedText(e,t,i){var n=new Ti("formatted-text",e,t);return i?n.withHtmlEditorConfig(i):n}get html(){return this.Html()}Html(e,t){return new Ti("html",e,t)}get image(){return this.Image()}Image(e,t,i){var n=new Ti("image",e,t);return null!=i?n.withAltTextMandatory(i):n}get iterator(){return this.Iterator()}Iterator(e,t){return new Ti("iterator",e,t)}get link(){return this.Link()}Link(e,t){return new Ti("link",e,t)}get newsSnippet(){return this.NewsSnippet()}NewsSnippet(e,t){return new Ti("news-snippets",e,t)}get plainText(){return this.PlainText()}PlainText(e,t,i){var n=new Ti("plain-text",e,t);return null!==i?n.withStudioLinkEnabled(i):n}get socialFollow(){return this.SocialFollow()}SocialFollow(e,t){return new Ti("social-follow",e,t)}get socialShare(){return this.SocialShare()}SocialShare(e,t){return new Ti("social-share",e,t)}get table(){return this.Table()}Table(e,t,i){var n=new Ti("table",e,t);return null!=i?n.withCaptionEnabled(i):n}get urlProvider(){return this.UrlProvider()}UrlProvider(e,t){return new Ti("url-provider",e,t)}get video(){return this.Video()}Video(e,t){return new Ti("video",e,t)}raw(e){return this.Raw(e)}Raw(e,t,i){return new Ti(e,t,i)}}class Oi{PlainText(e,t,i=!0){var n=new It("plain-text",e,t);return n=n.addConfigValueIfNotNull(u.STUDIO_LINK_ENABLED,i,!0)}MultilinePlainText(e,t,i,n=!0){var r=new It("multiline-plain-text",e,t);return r=(r=r.addConfigValueIfNotNull(u.FIELD_HEIGHT,i)).addConfigValueIfNotNull(u.STUDIO_LINK_ENABLED,n,!0)}FormattedText(e,t,i){var n=new It("formatted-text",e,t);return n=n.addConfigValueIfNotNull(u.HTML_EDITOR_CONFIG,i.identifier)}Link(e,t){return new It("link",e,t)}Image(e,t,i,n,r){var s=new It("image",e,t);return s=(s=(s=s.addConfigValueIfNotNull(u.ALT_TEXT_MANDATORY,i,!0)).addConfigValueIfNotNull(u.SRC_SET_SIZES,n)).addConfigValueIfNotNull(u.HIDE_ACCESSIBILITY_FIELDS,r)}Checkbox(e,t){return new It("checkbox",e,t)}Option(e,t,i){var n=new It("option",e,t);return i=Array.isArray(i)?i:Object.entries(i).map((([e,t])=>({value:e,text:t}))),n=n.addConfigValueIfNotNull(u.OPTIONS,i)}DynamicValueList(e,t){return new It("dynamic-value-list",e,t)}Raw(e,t,i){return new It(e,t,i)}}class vi extends U{_numDataRecordsPerPage=void 0;_numAdjacentPages=void 0;get numDataRecordsPerPage(){return this._numDataRecordsPerPage}get numAdjacentPages(){return this._numAdjacentPages}get minVersion(){return O}get allowedTypes(){return[g]}withNumDataRecordsPerPage(e){return this._numDataRecordsPerPage=e,this}withNumAdjacentPages(e){return this._numAdjacentPages=e,this}_buildInternal(){let e={};return this._applyPropertyIfDefined(u.NUM_DATA_RECORDS_PER_PAGE,e,_e),this._applyPropertyIfDefined(u.NUM_ADJACENT_PAGES,e,_e),e}}class Ni{_factory=void 0;constructor(e){this._factory=e}get _factory(){return this._factory}style(e,t,...i){return this._factory.style.withIdentifier(e).withLabel(t).withCssClasses(...i)}cssClass(e,t){return this._factory.cssClass.withCssClass(e).withLabel(t)}nls(e,...t){return this._factory.nls.withIdentifier(e).withTranslations(...t)}t(e,t){let i=void 0===t?H:e,n=t??e,r=this._factory.translation.withTranslation(n);return i instanceof V?r.withLocale(i):r.withRawLocale(i)}}function bi(t,i){const n=e.g[f.BSI_CX_JS_PROPERTY_PLUGIN];if(void 0===n)throw new Error("bsi property plugin not found");return n.getProperty(t,i)}const Ri=new class{get design(){return new Ie}get contentElementGroup(){return new ye}get contentElement(){return new gi}get templateElement(){return new yt}get website(){return new mi}get include(){return new Ai}get dropzone(){return new gt}get pageInclude(){return new Si}get pagination(){return new vi}get features(){return new we}get security(){return new fe}get htmlSanitization(){return new Ee}get htmlEditorConfig(){return new Tt}get style(){return new mt}get cssClass(){return new Ct}get styleOption(){return new St}get domManipulation(){return new At}get nls(){return new Li}get translation(){return new Di}get part(){return new Pi}get templatePart(){return new Oi}get h(){return new Ni(this)}};var xi=exports;for(var Mi in t)xi[Mi]=t[Mi];t.__esModule&&Object.defineProperty(xi,"__esModule",{value:!0})})();
//# sourceMappingURL=/sm/9a358c006cdeb1ebf09ca94f002d6758919acdcb9f1b224004652193e0f323bf.map