var we=Object.defineProperty,Ae=Object.defineProperties;var Re=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var Z=(e,i,n)=>i in e?we(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n,f=(e,i)=>{for(var n in i||(i={}))ee.call(i,n)&&Z(e,n,i[n]);if(Q)for(var n of Q(i))te.call(i,n)&&Z(e,n,i[n]);return e},w=(e,i)=>Ae(e,Re(i));var W=(e,i)=>{var n={};for(var o in e)ee.call(e,o)&&i.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Q)for(var o of Q(e))i.indexOf(o)<0&&te.call(e,o)&&(n[o]=e[o]);return n};var b=(e,i,n)=>(Z(e,typeof i!="symbol"?i+"":i,n),n);import{s as styled,R as React,r as react,e as elementResizeDetector,i as isFunction_1,c as cloneDeep_1,v as v4,a as axios,y,U as Ue,b as camelCase_1,d as set_1,f as isObject_1,C as Ce,g as isEmpty_1,j as jsonLogic,h as isNull_1,u as unset_1,I as IconBase,k as anime,T as Transition,l as ReactDOM,m as innerHeight,n as get_1,p as platform,o as isEqual_1,q as noop_1,t as lodash,w as cjs,x as p,z as omit_1,A as uniq_1,B as isNil_1,M as MdRoom,D as MdMyLocation,E as MdAddCircleOutline,F as MdAddBox,G as MdAdd,H as MdKeyboardArrowUp,J as MdKeyboardArrowDown,K as throttle_1,L as debounce_1,_ as _isNaN,N as spring,O as TransitionMotion,P as MdCheckCircle,Q as MdWarning,S as pickBy_1,V as countUp_umd,W as isUndefined_1,X as omitBy_1,Y as isString_1,Z as of,$ as share,a0 as switchMap,a1 as interval,a2 as filter,a3 as tap,a4 as take,a5 as mergeMap,a6 as delay,a7 as merge,a8 as retryWhen,a9 as from,aa as $,ab as CSSTransition,ac as Scrollbar,ad as ReactPlayer,ae as MdVideocamOff,af as useResizeDetector,ag as _default,ah as lib}from"./vendor.eaf69857.js";var DevToolsTabEnum$1;(function(e){e.BECKY_ENTITIES="BECKY_ENTITIES",e.CONTENT_STORES="CONTENT_STORES",e.COLLECTIONS="COLLECTIONS",e.ACCOUNT="ACCOUNT"})(DevToolsTabEnum$1||(DevToolsTabEnum$1={}));const getKeys$1=e=>{const i=[];for(const n in e)i.push(n);return i},WIDTH$1="45vw",TOGGLE_BUTTON_SIZE$1=75;styled.div`
	width: ${e=>e.isOpen?WIDTH$1:0};
	height: 100vh;
	top: 0;
	right: 0;
	position: fixed;
	z-index: 999;
	font-family: monospace;
	box-sizing: border-box;
	cursor: default;
	transition: width 0.5s ease-out;
`;styled.div`
	position: absolute;
	background-color: rgb(39, 40, 34);
	width: 100%;
	height: 100vh;
	overflow-y: scroll;
	left: ${TOGGLE_BUTTON_SIZE$1};
	font-size: 1rem;
	padding-top: 3rem;
`;styled.div`
	text-align: right;
	& a {
		margin-right: 10px;
		color: white;
		border: 1px solid grey;
		cursor: pointer;
	}
	& a.active {
		border: 1px solid white;
	}
`;styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: ${TOGGLE_BUTTON_SIZE$1}px;
	height: ${TOGGLE_BUTTON_SIZE$1}px;
	top: 110px;
	left: -${TOGGLE_BUTTON_SIZE$1+10}px;
	cursor: pointer;
	transform: ${e=>e.isOpen?"rotate(-1170deg)":"none"};
	transition: transform 0.4s ease-out;
`;styled.div`
	color: rgb(249, 248, 245);
	letter-spacing: 0.5px;
	vertical-align: top;
	opacity: 0.85;
	padding: 3px 5px 3px 20px;
	border-left: 1px solid rgb(73, 72, 62);
	cursor: ${e=>e.isClickable?"pointer":"auto"};
`;styled.div`
	padding: 3px 5px 3px 20px;
`;styled.div`
	display: inline-block;
	width: 17px;
	color: ${e=>e.isOpen?"rgb(102, 217, 239)":"rgb(174, 129, 255)"};
`;styled.svg`
	vertical-align: top;
	height: 1em;
	width: 1em;
	padding-left: 2px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
`;React.createContext({activePath:"",activeTab:DevToolsTabEnum$1.BECKY_ENTITIES});React.createContext(void 0);class WithResizeListener$1 extends react.exports.Component{constructor(i){super(i);b(this,"_node");b(this,"_elementResizeDetector");this.state={containerHeight:null,containerWidth:null,containerLeft:null,containerTop:null},this._elementResizeDetector=null,this.saveRef=this.saveRef.bind(this),this.setCurrentDimensions=this.setCurrentDimensions.bind(this),this.handleWindowResize=this.handleWindowResize.bind(this),this.setupResizeListener=this.setupResizeListener.bind(this),this.setupDeferred=this.setupDeferred.bind(this)}componentDidMount(){this.setupResizeListener()}componentWillUnmount(){const i=this._elementResizeDetector;i!=null&&i.uninstall(this._node)}setupDeferred(i){this.saveRef(i),this.setupResizeListener()}setupResizeListener(){this._node!=null&&this._elementResizeDetector==null&&(this._elementResizeDetector=elementResizeDetector({strategy:"scroll",callOnAdd:!1}),this._elementResizeDetector.listenTo(this._node,this.setCurrentDimensions),this.setCurrentDimensions())}handleWindowResize(){this.setCurrentDimensions()}saveRef(i){this._node=i}setCurrentDimensions(){const i=this._node;if(i!=null){const{height:n,width:o,top:r,left:a}=i.getBoundingClientRect();this.setState({containerHeight:n,containerWidth:o,containerTop:r,containerLeft:a})}}render(){const{containerWidth:i,containerHeight:n,containerTop:o,containerLeft:r}=this.state;return this.props.children({resizeListenerRef:this.saveRef,containerWidth:i,containerHeight:n,containerTop:o,containerLeft:r,setupDeferred:this.setupDeferred})}}const makeCancelable$1=e=>{let i=!1;const n=new Promise((o,r)=>{e.then(a=>i?r({isCanceled:!0}):o(a),a=>r(i?{isCanceled:!0}:a))});return{promise:n,cancel(){return i=!0,n}}},Fetch$1=({url:e,collectionKey:i,children:n})=>{const[o,r]=react.exports.useState([]),[a,s]=react.exports.useState(!1),[l,u]=react.exports.useState(!1),c=react.exports.useRef(null),d=()=>{e!=null?(c.current=makeCancelable$1(fetch(e)),m()):u(!0)};react.exports.useEffect(()=>{d()},[]),react.exports.useEffect(()=>(c.current&&e!==e&&c.current.cancel().then(d),()=>{c.current!=null&&c.current.cancel()}),[e,i]);const m=()=>{s(!0),u(!1),c.current!=null&&!a&&c.current.promise.then(g=>{if(!g.ok)u(!0),s(!1);else if(g.ok)return g.json()}).then(g=>{i!=null&&g!=null&&g[i]!=null?(r(g[i]),s(!1)):(r(g),s(!1))})};return n({results:o,isFetching:a,fetchError:l})};class Ok$1{constructor(i){b(this,"value");this.value=i}isOk(){return!0}isErr(){return!this.isOk()}}class Err$1{constructor(i){b(this,"error");this.error=i}isOk(){return!1}isErr(){return!this.isOk()}}const ok$1=e=>new Ok$1(e),err$1=e=>new Err$1(e);var ErrorType$1;(function(e){e.PARENT_MISSING="PARENT_MISSING",e.WRONG_LENGTH="WRONG_LENGTH"})(ErrorType$1||(ErrorType$1={}));var HTTP_STATUS$1;(function(e){e[e.MAINTENANCE=503]="MAINTENANCE",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.NOT_ALLOWED=405]="NOT_ALLOWED",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.UNKNOWN=0]="UNKNOWN",e[e.SUCCESS=200]="SUCCESS"})(HTTP_STATUS$1||(HTTP_STATUS$1={}));const IsAnyObject$1=e=>{const i=Object.prototype.toString.call(e);return i==="[object Object]"||i==="[object Window]"};class CoreType$1{constructor(i,n,o){b(this,"_R");b(this,"_O");b(this,"name");b(this,"is");b(this,"validate");this.name=i,this.is=n,this.validate=o}val(i){return this.validate(i,{errors:[],value:{},type:this},[])}}function isAnyC$1(e){return e._tag==="AnyType"}class Type$1 extends CoreType$1{constructor(i,n,o,r){super(i,n,o);b(this,"props");b(this,"_tag","Type");this.props=r}}const getNameFromProps$1=e=>Object.keys(e).map(i=>`${i}: ${e[i].name}`).join(", "),getInterfaceTypeName$1=e=>`{ ${getNameFromProps$1(e)} }`;function isInValidKey$1(e,i,n){return e===void 0&&!Object.prototype.hasOwnProperty.call(n,i)}const type$1=e=>{const i=getInterfaceTypeName$1(e),n=Object.keys(e),o=n.map(a=>e[a]),r=n.length;return new Type$1(i,a=>{if(Object.keys(a||{}).length!==n.length)return!1;if(IsAnyObject$1(a)){for(let l=0;l<r;l++){const u=n[l],c=a[u],d=o[l];if(isInValidKey$1(c,u,a)||!d.is(c))return!1}return!0}return!1},(a,s,l)=>{const u=Object.keys(a||{}),c=[],d=m=>c.push(m);if(!IsAnyObject$1(a))return err$1([{path:l,expected:i,got:a}]);if(u.length!==n.length)return err$1([{path:l,expected:i,got:a}]);for(let m=0;m<r;m++){const g=n[m],E=a[g],h=o[m];if(isInValidKey$1(E,g,a))return err$1([{path:l,expected:i,got:a}]);const I=h.validate(E,s,[...l,g]);I.isErr()&&I.error.forEach(d)}return c.length?err$1(c):ok$1(a)},e)};class PartialType$1 extends CoreType$1{constructor(i,n,o,r){super(i,n,o);b(this,"props");b(this,"_tag","PartialType");this.props=r}}const getPartialTypeName$1=e=>`Partial<${e}>`,partial$1=e=>{const i=getPartialTypeName$1(getInterfaceTypeName$1(e)),o=Object.keys(e).length;return new PartialType$1(i,r=>{if(IsAnyObject$1(r)){const a=Object.keys(r),s=a.length;if(s>o)return!1;for(let l=0;l<s;l++){const u=a[l],c=e[u],d=r[u];if(c===void 0||isInValidKey$1(d,u,r)||!c.is(d))return!1}return!0}return!1},(r,a,s)=>{const l=[],u=m=>l.push(m);if(!IsAnyObject$1(r))return err$1([{path:s,expected:"type",got:r}]);const c=Object.keys(r),d=c.length;if(d>o)return err$1([{path:s,expected:i,got:r}]);for(let m=0;m<d;m++){const g=c[m],E=e[g];if(E===void 0)return err$1([{path:[...s,g],expected:i,got:`invalid key: "${g}"`}]);const h=E.validate(r[g],a,[...s,g]);h.isErr()&&h.error.forEach(u)}return l.length?err$1(l):ok$1(r)},e)};class RefinementType$1 extends CoreType$1{constructor(i,n,o,r,a){super(i,n,o);b(this,"type");b(this,"predicate");b(this,"_tag","RefinementType");this.type=r,this.predicate=a}}const refinement$1=(e,i,n)=>new RefinementType$1(n,o=>e.is(o)&&i(o),(o,r,a)=>{const s=e.validate(o,r,a);return s.isErr()||s.isOk()&&!i(s.value)?err$1([{expected:n,got:o,path:a}]):ok$1(o)},e,i),brand$1=(e,i,n)=>refinement$1(e,i,n);class ArrayType$1 extends CoreType$1{constructor(i,n,o,r){super(i,n,o);b(this,"props");b(this,"tag","ArrayType");this.props=r}}function isUnionC$1(e){return e._tag==="UnionType"}class UnionType$1 extends CoreType$1{constructor(i,n,o,r){super(i,n,o);b(this,"types");b(this,"_tag","UnionType");this.types=r}}const union$1=e=>new UnionType$1("union",i=>e.some(n=>n.is(i)),(i,n,o)=>{const r=[],a=u=>r.push(u),s=e.find(u=>u.is(i));if(s===void 0)return err$1([{path:o,expected:`${e.map(u=>u.name)}`,got:i}]);const l=s.validate(i,n,o);return l.isErr()&&l.error.forEach(a),l.isErr()?err$1(r):ok$1(i)},e),array$1=e=>new ArrayType$1("array",i=>Array.isArray(i)&&i.every(e.is),(i,n,o)=>{const r=[],a=s=>r.push(s);if(Array.isArray(i))for(let s=0;s<i.length;s++){const l=i[s],u=e.validate(l,n,[...o,s]);u.isErr()&&u.error.forEach(a)}else return err$1([{path:o,expected:"array",got:type$1}]);return r.length?err$1(r):ok$1(i)},e);class BooleanType$1 extends CoreType$1{constructor(){super("boolean",i=>typeof i=="boolean",(i,n,o)=>this.is(i)?ok$1(i):err$1([{path:o,expected:"boolean",got:i}]));b(this,"_tag","BooleanType")}}const boolean$1=new BooleanType$1,object$1=new CoreType$1("object",e=>typeof e=="object",(e,i,n)=>typeof e=="object"?ok$1(e):err$1([{path:n,got:e,expected:"object"}])),isValidJsonObject$1=e=>{if(!e||typeof e!="object")return!1;try{const i=JSON.stringify(e),n=JSON.parse(i);return typeof n=="object"&&!Array.isArray(n)}catch{return!1}},json$1=new CoreType$1("json",e=>isValidJsonObject$1(e),(e,i,n)=>isValidJsonObject$1(e)?ok$1(e):err$1([{path:n,got:e,expected:"json"}])),string$1=new CoreType$1("string",e=>typeof e=="string",(e,i,n)=>typeof e=="string"?ok$1(e):err$1([{path:n,got:e,expected:"string"}])),number$1=new CoreType$1("number",e=>typeof e=="number",(e,i,n)=>typeof e=="number"&&!isNaN(e)?ok$1(e):err$1([{path:n,got:e,expected:"number"}]));class AnyDictionaryType$1 extends CoreType$1{constructor(){super("UnknownMap",IsAnyObject$1,(i,n,o)=>IsAnyObject$1(i)?ok$1(i):err$1([{path:o,got:i,expected:"AnyObject"}]));b(this,"_tag","AnyDictionaryType")}}const UnknownRecord$1=new AnyDictionaryType$1;class DictionaryType$1 extends CoreType$1{constructor(i,n,o,r,a){super(i,n,o);b(this,"domain");b(this,"codomain");b(this,"_tag","DictionaryType");this.domain=r,this.codomain=a}}class UndefinedType$1 extends CoreType$1{constructor(){super("undefined",i=>i===void 0,(i,n,o)=>this.is(i)?ok$1(i):err$1([{path:o,expected:"undefined",got:i}]));b(this,"_tag","UndefinedType")}}const undefinedType$1=new UndefinedType$1;class NullType$1 extends CoreType$1{constructor(){super("null",i=>i===null,(i,n,o)=>this.is(i)?ok$1(i):err$1([{path:o,expected:"null",got:i}]));b(this,"_tag","NullType")}}const nullType$1=new NullType$1;function isKeyofC$1(e){return e._tag==="KeyofType"}function isLiteralC$1(e){return e._tag==="LiteralType"}class LiteralType$1 extends CoreType$1{constructor(i,n,o,r){super(i,n,o);b(this,"value");b(this,"_tag","LiteralType");this.value=r}}const literal$1=(e,i=JSON.stringify(e))=>{const n=o=>o===e;return new LiteralType$1(i,n,(o,r,a)=>n(o)?ok$1(o):err$1([{path:a,got:o,expected:i}]),e)};function getDomainKeys$1(e){if(isLiteralC$1(e)){const i=e.value;if(string$1.is(i))return{[i]:null}}else{if(isKeyofC$1(e))return e.keys;if(isUnionC$1(e)){const i=e.types.map(n=>getDomainKeys$1(n));return i.some(undefinedType$1.is)?void 0:Object.assign({},...i)}}}const nonEnumerableRecord$1=(e,i,n=`{ [K in ${e.name}]: ${i.name} }`)=>new DictionaryType$1(n,o=>UnknownRecord$1.is(o)?Object.keys(o).every(r=>e.is(r)&&i.is(o[r])):isAnyC$1(i)&&Array.isArray(o),(o,r,a)=>{const s=[],l=c=>s.push(c),u=c=>{const d=e.validate(c,r,[...a,c]);if(d.isErr())d.error.forEach(l);else{const m=i.validate(o[c],r,[...a,c]);m.isErr()&&m.error.forEach(l)}};return Object.keys(o).forEach(u),s.length?err$1(s):ok$1(o)},e,i),map$1=(e,i)=>{if(getDomainKeys$1(e))throw new Error("Enumerable map not implemented");return nonEnumerableRecord$1(e,i)},regex$1=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,UUID$1=brand$1(string$1,e=>regex$1.test(e),"UUID");var HalPropertiesEnum$1;(function(e){e.name="name",e.label="label",e.value="value",e.placeholder="placeholder",e.size="size",e.isDefault="is_default",e.isRequired="is_required"})(HalPropertiesEnum$1||(HalPropertiesEnum$1={}));var AccountEnum$1;(function(e){e.ACCOUNT="ACCOUNT",e.CURRENT_ACCOUNT="CURRENT_ACCOUNT"})(AccountEnum$1||(AccountEnum$1={}));var ActionEnum$1;(function(e){e.ACTION_URL="ACTION_URL",e.ACTION_PAGE="ACTION_PAGE",e.ACTION_OVERLAY="ACTION_OVERLAY",e.ACTION_VIRTUAL_OVERLAY="ACTION_VIRTUAL_OVERLAY",e.NO_ACTION="NO_ACTION"})(ActionEnum$1||(ActionEnum$1={}));var ArticleEnum$1;(function(e){e.CLIENT="ARTICLE",e.SERVER="PAGE"})(ArticleEnum$1||(ArticleEnum$1={}));var AssetsEnum$1;(function(e){e.MEDIA_ITEMS="MEDIA_ITEMS",e.USER_ITEMS="USER_ITEMS",e.STOCK_IMAGES="STOCK_IMAGES",e.BYNDER_ITEMS="BYNDER_ITEMS",e.UNSPLASH_ITEMS="UNSPLASH_ITEMS",e.FONT="FONT"})(AssetsEnum$1||(AssetsEnum$1={}));var EntityEnum$1;(function(e){e.ATTRIBUTES="ATTRIBUTES",e.ITEM_RANGE="ITEM_RANGE",e.PUBLICATION_GROUP="PUBLICATION_GROUP",e.PUBLICATION="PUBLICATION",e.COLLECTIONS="COLLECTIONS",e.PRESET_TAGS="PRESET_TAGS"})(EntityEnum$1||(EntityEnum$1={}));var FormEnum$1;(function(e){e.ITEM_FORM_INPUT_TEXT="ITEM_FORM_INPUT_TEXT",e.ITEM_FORM_INPUT_TEXT_AREA="ITEM_FORM_INPUT_TEXT_AREA",e.ITEM_FORM_INPUT_HIDDEN="ITEM_FORM_INPUT_HIDDEN",e.ITEM_FORM_INPUT_LIST_RADIO="ITEM_FORM_INPUT_LIST_RADIO",e.ITEM_FORM_INPUT_LIST_OPTION="ITEM_FORM_INPUT_LIST_OPTION",e.ITEM_FORM_INPUT_LIST_DROPDOWN="ITEM_FORM_INPUT_LIST_DROPDOWN",e.ITEM_FORM_INPUT_LIST_CHECKBOX="ITEM_FORM_INPUT_LIST_CHECKBOX",e.ITEM_FORM_VALIDATOR_EMAIL="ITEM_FORM_VALIDATOR_EMAIL",e.ITEM_FORM_FIRST_NAME="ITEM_FORM_FIRST_NAME",e.ITEM_FORM_LAST_NAME="ITEM_FORM_LAST_NAME",e.ITEM_FORM_PHONE="ITEM_FORM_PHONE",e.ITEM_FORM_COMMENT="ITEM_FORM_COMMENT",e.ITEM_FORM_GENDER="ITEM_FORM_GENDER"})(FormEnum$1||(FormEnum$1={}));var FormInputListOptions$1;(function(e){e.dropdown="form-input-list-option-dropdown",e.radio="form-input-list-option-radio",e.checkbox="form-input-list-option-checkbox"})(FormInputListOptions$1||(FormInputListOptions$1={}));var InfographicCounterEnum$1;(function(e){e.CIRCLE="circle",e.LINE="line",e.NUMBER="number"})(InfographicCounterEnum$1||(InfographicCounterEnum$1={}));var ItemEnum$1;(function(e){e.ITEM_ACTION_OVERLAY="ITEM_ACTION_OVERLAY",e.ITEM_ACTION_URL="ITEM_ACTION_URL",e.ITEM_ACTION_DOCUMENT="ITEM_ACTION_DOCUMENT",e.ITEM_ACTION_PAGE="ITEM_ACTION_PAGE",e.ITEM_ACTION_FILE="ITEM_ACTION_FILE",e.ITEM_ACTION_BLOCK="ITEM_ACTION_BLOCK",e.ITEM_SECTION_COLUMN="ITEM_SECTION_COLUMN",e.ITEM_SECTION="ITEM_SECTION",e.ITEM_TRIGGER="ITEM_TRIGGER",e.ITEM_FORM_PARDOT="ITEM_FORM_PARDOT",e.ITEM_FORM_HUBSPOT="ITEM_FORM_HUBSPOT",e.ITEM_FORM_ELOQUA="ITEM_FORM_ELOQUA",e.ITEM_FORM_MARKETO="ITEM_FORM_MARKETO",e.ITEM_WHITEPAPER="ITEM_WHITEPAPER",e.ITEM_FORM="ITEM_FORM",e.ITEM_INPUT_TEXT="ITEM_INPUT_TEXT",e.ITEM_INPUT_TEXTAREA="ITEM_INPUT_TEXTAREA",e.ITEM_INPUT_CHECKBOX="ITEM_INPUT_CHECKBOX",e.ITEM_INPUT_DROPDOWN="ITEM_INPUT_DROPDOWN",e.ITEM_INPUT_HIDDEN="ITEM_INPUT_HIDDEN",e.ITEM_INPUT_OPTION="ITEM_INPUT_OPTION",e.ITEM_INPUT_RADIO="ITEM_INPUT_RADIO",e.ITEM_INPUT_SELECTLIST="ITEM_INPUT_SELECTLIST",e.ITEM_INPUT_SUBMIT="ITEM_INPUT_SUBMIT",e.ITEM_IMAGE="ITEM_IMAGE",e.IMAGE="IMAGE",e.ITEM_VIDEO="ITEM_VIDEO",e.VIDEO="VIDEO",e.ITEM_BUTTON_SCROLL="ITEM_BUTTON_SCROLL",e.ITEM_BUTTON="ITEM_BUTTON",e.ITEM_DIVIDER="ITEM_DIVIDER",e.ITEM_SOCIAL="ITEM_SOCIAL",e.ITEM_ICON="ITEM_ICON",e.ITEM_EXTERNAL_VIDEO="ITEM_EXTERNAL_VIDEO",e.ITEM_EXTERNAL_IMAGE="ITEM_EXTERNAL_IMAGE",e.ITEM_EMBED="ITEM_EMBED",e.ITEM_FIGURE="ITEM_FIGURE",e.ITEM_BACKGROUND="ITEM_BACKGROUND",e.ITEM_HOTSPOT="ITEM_HOTSPOT",e.ITEM_QUOTE="ITEM_QUOTE",e.ITEM_LEAD_FACEBOOK="ITEM_LEAD_FACEBOOK",e.ITEM_LEAD_LINKEDIN="ITEM_LEAD_LINKEDIN",e.ITEM_UNORDERED_LIST="ITEM_UNORDERED_LIST",e.ITEM_ORDERED_LIST="ITEM_ORDERED_LIST",e.ITEM_CODE_BLOCK="ITEM_CODE_BLOCK",e.VIRTUAL_ACTION_OVERLAY="VIRTUAL_ACTION_OVERLAY",e.ITEM_PRESET="ITEM_PRESET",e.ITEM_BLOCK="ITEM_BLOCK",e.ITEM_INFOGRAPHIC_COUNTER="ITEM_INFOGRAPHIC_COUNTER"})(ItemEnum$1||(ItemEnum$1={}));var LegacyEnum$1;(function(e){e.ITEM_PARAGRAPH="ITEM_PARAGRAPH",e.ITEM_TITLE="ITEM_TITLE",e.ITEM_QUOTE="ITEM_QUOTE"})(LegacyEnum$1||(LegacyEnum$1={}));var MagazineEnum$1;(function(e){e.MAGAZINE_EDITION="MAGAZINE_EDITION",e.MAGAZINE_TITLE="MAGAZINE_TITLE",e.MAGAZINE_PAGE="MAGAZINE_PAGE",e.MAGAZINE_COMPOSITION="MAGAZINE_COMPOSITION"})(MagazineEnum$1||(MagazineEnum$1={}));var TextEnum$1;(function(e){e.PARAGRAPH="paragraph",e.TITLE="header-one",e.ORDERED_LIST_ITEM="ordered-list-item",e.UNORDERED_LIST_ITEM="unordered-list-item",e.CODE_BLOCK="code-block",e.BUTTON="button",e.BLOCKQUOTE="blockquote"})(TextEnum$1||(TextEnum$1={}));var VirtualFormEnum$1;(function(e){e.VIRTUAL_FORM_INPUT_LABEL="VIRTUAL_FORM_INPUT_LABEL",e.VIRTUAL_FORM_INPUT_PLACEHOLDER="VIRTUAL_FORM_INPUT_PLACEHOLDER",e.VIRTUAL_FORM_INPUT_TEXT="VIRTUAL_FORM_INPUT_TEXT",e.VIRTUAL_FORM_OPTION_LABEL="VIRTUAL_FORM_OPTION_LABEL",e.VIRTUAL_FORM_INPUT="VIRTUAL_FORM_INPUT"})(VirtualFormEnum$1||(VirtualFormEnum$1={}));var VirtualItemEnum$1;(function(e){e.ITEM_ACTION="ITEM_ACTION",e.ITEM_SECTION_ROW="ITEM_SECTION_ROW",e.ITEM_BACKGROUND_VIDEO="ITEM_BACKGROUND_VIDEO",e.ITEM_IMAGE_WITH_REVEAL="ITEM_IMAGE_WITH_REVEAL",e.ITEM_FORM_INPUT_LABEL="ITEM_FORM_INPUT_LABEL",e.ITEM_FORM_INPUT_LABEL_TEXT="ITEM_FORM_INPUT_LABEL_TEXT",e.ITEM_FORM_FIELD="ITEM_FORM_FIELD",e.ITEM_FORM_INPUT_TEXT_AREA="ITEM_FORM_INPUT_TEXT_AREA",e.ITEM_FORM_INPUT_LIST_OPTION_DROPDOWN="ITEM_FORM_INPUT_LIST_OPTION_DROPDOWN",e.ITEM_FORM_INPUT_LIST_OPTION_CHECKBOX="ITEM_FORM_INPUT_LIST_OPTION_CHECKBOX",e.ITEM_FORM_INPUT_LIST_OPTION_RADIO="ITEM_FORM_INPUT_LIST_OPTION_RADIO",e.ITEM_OR="ITEM_OR",e.ITEM_SECTION_COLUMN_SCROLL="ITEM_SECTION_COLUMN_SCROLL",e.ITEM_ACTION_OVERLAY_BACKGROUND="ITEM_ACTION_OVERLAY_BACKGROUND",e.ITEM_ACTION_OVERLAY_CLOSE_ICON="ITEM_ACTION_OVERLAY_CLOSE_ICON"})(VirtualItemEnum$1||(VirtualItemEnum$1={}));[...Object.values(AccountEnum$1),...Object.values(MagazineEnum$1),...Object.values(ArticleEnum$1),...Object.values(EntityEnum$1),...Object.values(AssetsEnum$1),...Object.values(VirtualItemEnum$1),...Object.values(VirtualFormEnum$1),...Object.values(ItemEnum$1),...Object.values(FormEnum$1),...Object.values(ActionEnum$1),...Object.values(FormEnum$1),...Object.values(LegacyEnum$1)];var AccountStates$1;(function(e){e.ACTIVE="active",e.INACTIVE="inactive",e.BLOCKED="blocked",e.UNVERIFIED="unverified"})(AccountStates$1||(AccountStates$1={}));var AccountSwitchFilter$1;(function(e){e[e.ALL=0]="ALL",e[e.ONLY_BLOCKED=1]="ONLY_BLOCKED",e[e.ONLY_ACTIVE=2]="ONLY_ACTIVE"})(AccountSwitchFilter$1||(AccountSwitchFilter$1={}));var EventLocation$1;(function(e){e.ACCOUNT="Account",e.EDITOR="Editor"})(EventLocation$1||(EventLocation$1={}));var Labels$1;(function(e){e.TEAM="team",e.SUBACCOUNT="subaccount",e.SHARED="shared"})(Labels$1||(Labels$1={}));var RawLicenseName$1;(function(e){e.BASIC="license-basic",e.ESSENTIALS="license-essentials",e.ESSENTIALS_ENTERPRISE="license-essentials-enterprise",e.EXPERT="licence-expert",e.ADVANCED="license-advanced",e.INTERNAL="license-internal",e.PARTNER_ADVANCED="license-partner-advanced",e.TRIAL="license-trial",e.PARTNER_ENTERPRISE="license-partner-enterprise",e.PARTNER_EXPERT="licene-partner-expert",e.PARTNER="license-partner",e.PARTNER_ESSENTIALS="license-partner-essentials",e.ENTERPRISE="license-enterprise",e.LITE_2014="license-lite-2014",e.PRO_2014="license-pro-2014",e.ENTERPRISE_2014="license-enterprise-2014",e.STARTER_2017="license-starter-2017",e.PROFESSIONAL_2017="license-professional-2017",e.ADVANCED_2017="license-advanced-2017",e.EXPERT_2017="license-expert-2017",e.FREE_PROFESSIONAL_2017="license-free-professional-2017",e.FREE_DESIGNER_2017="license-free-designer-2017",e.PARTNER_ADVANCED_2017="license-partner-advanced-2017",e.PARTNER_EXPERT_2017="license-partner-expert-2017"})(RawLicenseName$1||(RawLicenseName$1={}));var BillingCycle$1;(function(e){e.YEARLY="yearly",e.MONTHLY="monthly"})(BillingCycle$1||(BillingCycle$1={}));var PaymentResult$1;(function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILURE="failure"})(PaymentResult$1||(PaymentResult$1={}));var PresetGroup$1;(function(e){e.BLOCK="block",e.PAGE="page",e.WHITEPAPER="whitepaper",e.PUBLICATION="doc",e.OVERLAY="overlay",e.ALL="all"})(PresetGroup$1||(PresetGroup$1={}));var PresetStatus$1;(function(e){e.Available="available",e.Unavailable="unavailable",e.Draft="draft"})(PresetStatus$1||(PresetStatus$1={}));var PresetSource$1;(function(e){e.TEAM="team",e.SHARED="shared"})(PresetSource$1||(PresetSource$1={}));var GrantsEnum$1;(function(e){e.maxPresets="max_templates",e.maxPublishedTitles="max_published_titles",e.maxPublishedOneoffs="max_published_oneoffs",e.maxUsers="max_users",e.hasCobranding="has_cobranding",e.allowBynder="allow_bynder",e.allowCustomFont="allow_fontupload",e.allowFullscreenvideo="allow_fullscreenvideo",e.allowOffline="allow_offline",e.allowSSO="allow_SSO",e.allowPersonalization="allow_personalization",e.allowForms="allow_forms",e.allowSSL="allow_SSL",e.allowAdditionalTitles="allow_additional_titles",e.allowMultipleUsers="allow_multiple_users",e.allowCreditedTitles="allow_credited_titles",e.hasStarterLimitations="has_starter_limitations",e.allowWhitepapers="allow_whitepapers",e.allowWhitepaperAuth="allow_whitepaper_auth",e.allowPayments="allow_payments",e.allowTour="allow_tour",e.allowDownload="allow_download",e.allowSelfHostedMedia="allow_hostedvideo",e.allowIpWhitelist="allow_ip_whitelist",e.enforceSanitization="enforce_sanitization",e.maxAccounts="max_accounts",e.allowSupport="allow_support",e.isReseller="is_reseller",e.allowPassword="allow_password",e.allowPublish="allow_publish",e.allowTransitions="allow_transitions",e.allowT2="allow_T2",e.denyT1="deny_T1",e.allowUnlimitedColumns="allow_unlimited_columns",e.allowSvendlebars="allow_svendlebars",e.allowLayoutEditing="allow_layout_editing",e.allowCreatePreset="allow_preset_create",e.allowHostname="allow_hostname",e.allowOTP="allow_otp",e.allowItems="allow_items",e.allowScriptInjection="allow_script_injection",e.forceHostname="force_hostname",e.restrictTransactional="restrict_transactional",e.maxPublications="max_published_editions",e.scopes="scopes",e.allowMAPTracking="allow_MAP_tracking",e.enableSecurityProfiles="enable_security_profiles",e.maxTeams="max_teams",e.allowLeadGenCrm="allow_lead_gen_crm",e.allowPresetUpdate="allow_preset_update",e.allowSharedTemplates="allow_shared_templates",e.allowSharedMedia="allow_shared_media",e.allowFeatures="allow_features",e.allowComments="allow_comments",e.allowDocTemplates="allow_doc_templates",e.allowStudio="allow_studio",e.allowBuilder="allow_builder",e.allowSsoPlatformDocs="allow_sso_platform_docs",e.allowSwapElements="allow_swap_elements",e.allowStockAssets="allow_stock_assets",e.allowElementFillHeight="allow_element_fill_height",e.allow2023Features="allow_2023_features",e.maxBrandKits="max_brandkits"})(GrantsEnum$1||(GrantsEnum$1={}));var ScopesEnum$1;(function(e){e.accountCreateOrUpdate="accountCreateOrUpdate",e.accountDelete="accountDelete",e.accountRead="accountRead",e.apiKeyCreate="apiKeyCreate",e.apiKeyDelete="apiKeyDelete",e.apiKeyRead="apiKeyRead",e.attributeCreateOrUpdate="attributeCreateOrUpdate",e.attributeDelete="attributeDelete",e.chargebee="chargebee",e.compositionCreateOrUpdate="compositionCreateOrUpdate",e.compositionDelete="compositionDelete",e.compositionSwatchCreateOrUpdate="compositionSwatchCreateOrUpdate",e.compositionSwatchDelete="compositionSwatchDelete",e.design="design",e.editionCreateOrUpdate="editionCreateOrUpdate",e.editionDelete="editionDelete",e.editionDownload="editionDownload",e.editionOffline="editionOffline",e.editionPublish="editionPublish",e.editionRead="editionRead",e.fontCreateOrUpdate="fontCreateOrUpdate",e.fontDelete="fontDelete",e.itemBlockCreate="itemBlockCreate",e.itemBlockDelete="itemBlockDelete",e.itemBlockUpdate="itemBlockUpdate",e.itemCreateOrUpdate="itemCreateOrUpdate",e.itemDelete="itemDelete",e.mediaCreateOrUpdate="mediaCreateOrUpdate",e.mediaDelete="mediaDelete",e.mediaRead="mediaRead",e.mediaSharedCreateOrUpdate="mediaSharedCreateOrUpdate",e.mediaSharedDelete="mediaSharedDelete",e.mediaSharedRead="mediaSharedRead",e.pageCreateOrUpdate="pageCreateOrUpdate",e.pageDelete="pageDelete",e.pageRead="pageRead",e.personalizationPropertyCreateOrUpdate="personalizationPropertyCreateOrUpdate",e.personalizationPropertyDelete="personalizationPropertyDelete",e.personalizationTokenCreateOrUpdate="personalizationTokenCreateOrUpdate",e.personalizationTokenDelete="personalizationTokenDelete",e.presetApply="templateApply",e.presetCreateOrUpdate="templateCreateOrUpdate",e.presetDelete="templateDelete",e.presetStatusUpdate="templateStatusUpdate",e.roleAddToUser="roleAddToUser",e.roleCreateOrUpdate="roleCreateOrUpdate",e.roleDelete="roleDelete",e.roleRead="roleRead",e.selfUpdate="selfUpdate",e.share="share",e.titleCreateOrUpdate="titleCreateOrUpdate",e.titleDelete="titleDelete",e.titleRead="titleRead",e.userCreateOrUpdate="userCreateOrUpdate",e.userDelete="userDelete",e.userRead="userRead",e.accountDocSettings="accountDocSettings"})(ScopesEnum$1||(ScopesEnum$1={}));var Domain$1;(function(e){e.Custom="Custom",e.Foleon="Foleon",e.InstantMagazine="Instant Magazine"})(Domain$1||(Domain$1={}));var PublicationLevel$1;(function(e){e.T1="T1",e.T2="T2"})(PublicationLevel$1||(PublicationLevel$1={}));var PublicationStatus$1;(function(e){e.Deleted="deleted",e.Offline="offline",e.Published="published",e.Draft="draft",e.Copying="copying"})(PublicationStatus$1||(PublicationStatus$1={}));var OrderSteps2Step$1;(function(e){e[e.ORDER=1]="ORDER",e[e.SUMMARY=2]="SUMMARY"})(OrderSteps2Step$1||(OrderSteps2Step$1={}));var OrderSteps3Step$1;(function(e){e[e.ORDER=1]="ORDER",e[e.DETAILS=2]="DETAILS",e[e.SUMMARY=3]="SUMMARY",e[e.COMPLETED=4]="COMPLETED"})(OrderSteps3Step$1||(OrderSteps3Step$1={}));var StepNames$1;(function(e){e.ORDER="Order",e.DETAILS="Billing details",e.SUMMARY="Summary"})(StepNames$1||(StepNames$1={}));var CreateFlowOption$1;(function(e){e.SELECT_TEMPLATE="select-template",e.ABOUT_YOU="about-you",e.DONE="done"})(CreateFlowOption$1||(CreateFlowOption$1={}));var Location$1;(function(e){e.Dashboard="Dashboard",e.Project="Project",e.Editor="Editor",e.Account="Account"})(Location$1||(Location$1={}));var CreatePublicationStep$1;(function(e){e.Template="Template",e.Project="Project",e.PublicationInfo="Publication info"})(CreatePublicationStep$1||(CreatePublicationStep$1={}));var IconVariant$1;(function(e){e[e.SMALL=0]="SMALL",e[e.LARGE=1]="LARGE"})(IconVariant$1||(IconVariant$1={}));const t$1={array:array$1,boolean:boolean$1,brand:brand$1,json:json$1,literal:literal$1,map:map$1,null:nullType$1,number:number$1,object:object$1,partial:partial$1,refinement:refinement$1,string:string$1,type:type$1,undefined:undefinedType$1,union:union$1,UUID:UUID$1},isImageUrlValid$1=async e=>new Promise(i=>{const n=new Image;n.src=e,n.onload=()=>i(!0),n.onerror=()=>i(!1),n.remove()}),useFeaturedImage$1=e=>{const[i,n]=react.exports.useState(void 0),o=react.exports.useCallback(async()=>{e&&await isImageUrlValid$1(e)?n(e):n(void 0)},[e]);return react.exports.useEffect(()=>{o()},[o]),{featuredImageUrl:i,setFeaturedImageUrl:n}},useFeaturedImages$1=e=>{const[i,n]=react.exports.useState({}),o=react.exports.useRef({}),r=react.exports.useCallback(async()=>{for(let a=0;a<e.length;a++)e[a].options.featured_image_url&&await isImageUrlValid$1(e[a].options.featured_image_url||"")?o.current=w(f({},o.current),{[e[a].id]:e[a].options.featured_image_url}):o.current=w(f({},o.current),{[e[a].id]:void 0}),n(f({},o.current))},[e]);return react.exports.useEffect(()=>{r()},[r]),{featuredImageUrls:i,setFeaturedImageUrls:n}};var RipleyEnvironment$1;(function(e){e.personalize="personalize",e.preview="preview",e.publish="publish",e.zip="zip"})(RipleyEnvironment$1||(RipleyEnvironment$1={}));let globalElement$1=null;function assertNodeList$1(e,i){if(!e||!e.length)throw new Error(`react-modal: No elements were found for selector ${i}.`)}function setElement$1(e){let i=e;if(typeof i=="string"){const n=document.querySelectorAll(i);assertNodeList$1(n,i),i="length"in n?n[0]:n}return globalElement$1=i||globalElement$1,globalElement$1}function tryForceFallback$1(){return document&&document.body?(setElement$1(document.body),!0):!1}function validateElement$1(e){if(!e&&!globalElement$1&&!tryForceFallback$1())throw new Error("react-modal: Cannot fallback to `document.body`, because it's not ready or available. If you are doing server-side rendering, use this function to defined an element.`Modal.setAppElement(el)` to make this accessible")}function hide$1(e){validateElement$1(e),(e||globalElement$1).setAttribute("aria-hidden","true")}function show$1(e){validateElement$1(e),(e||globalElement$1).removeAttribute("aria-hidden")}const classListMap$1={};function get$1(){return classListMap$1}function add$3(e){return classListMap$1[e]||(classListMap$1[e]=0),classListMap$1[e]+=1,e}function remove$3(e){return classListMap$1[e]&&(classListMap$1[e]-=1),e}function add$2(e){e.split(" ").map(add$3).forEach(i=>document.body.classList.add(i))}function remove$2(e){const i=get$1();e.split(" ").map(remove$3).filter(n=>i[n]===0).forEach(n=>document.body.classList.remove(n))}const tabbableNode$1=/input|select|textarea|button|object/,hidden$1=e=>e.offsetWidth<=0&&e.offsetHeight<=0||e.style.display==="none",visible$1=e=>{let i=e;for(;i&&i!==document.body;){if(hidden$1(i))return!1;i=i.parentNode}return!0},focusable$1=(e,i)=>{const n=e.nodeName.toLowerCase();return(tabbableNode$1.test(n)&&!e.disabled||n==="a"&&e.href||i)&&visible$1(e)},tabbable$1=e=>{let i=e.getAttribute("tabindex");i===null&&(i=void 0);const n=isNaN(i);return(n||i>=0)&&focusable$1(e,!n)};function findTabbableDescendants$1(e){return[].slice.call(e.querySelectorAll("*"),0).filter(tabbable$1)}const focusLaterElements$1=[];let modalElement$1=null,needToFocus$1=!1;function handleBlur$1(){needToFocus$1=!0}function handleFocus$1(){if(needToFocus$1){if(needToFocus$1=!1,!modalElement$1)return;setTimeout(()=>{if(modalElement$1==null?void 0:modalElement$1.contains(document.activeElement))return;(findTabbableDescendants$1(modalElement$1)[0]||modalElement$1).focus()},0)}}function markForFocusLater$1(){focusLaterElements$1.push(document.activeElement)}function returnFocus$1(){let e=null;try{e=focusLaterElements$1.pop(),e&&e.focus();return}catch{console.warn(`You tried to return focus to ${e} but it is not in the DOM anymore`)}}function setupScopedFocus$1(e){modalElement$1=e,typeof window!="undefined"&&(window.addEventListener("blur",handleBlur$1,!1),document.addEventListener("focus",handleFocus$1,!0))}function teardownScopedFocus$1(){modalElement$1=null,typeof window!="undefined"&&(window.removeEventListener("blur",handleBlur$1),document.removeEventListener("focus",handleFocus$1))}function scopeTab$1(e,i){const n=findTabbableDescendants$1(e);if(!n.length){i.preventDefault();return}if(!(n[i.shiftKey?0:n.length-1]===document.activeElement||e===document.activeElement))return;i.preventDefault(),n[i.shiftKey?n.length-1:0].focus()}react.exports.createContext(void 0);const VALID_SECURE_URL$1=new RegExp(/^(?:(?:https):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i);var StatusColor$1;(function(e){e.Danger="#d80000",e.Default="#00ae00",e.Warning="#ff9b00"})(StatusColor$1||(StatusColor$1={}));const navigation$h={Pages:"Pages",Editions:"Editions","Next page":"Next page","Previous page":"Previous page",Close:"Close",Index:"Index","Follow us on {platform}":({platform:e})=>`Follow us on ${e}`,"Mute sound":"Mute sound","Unmute sound":"Unmute sound","Scroll up":"Scroll up","Scroll down":"Scroll down","Page {current} of {total}":({current:e,total:i})=>`Page ${e} of ${i}`,Page:"Page",Edition:"Edition"},forms$h={emailAddressInvalid:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidFormat:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidHostname:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidMxRecord:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidSegment:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressDotAtom:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressQuotedString:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidLocalPart:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressLengthExceeded:"The entered email address is invalid. Please use the format: example@yourdomain.com",stringLengthInvalid:"Your input is invalid.",stringLengthTooShort:"Your input is invalid.",stringLengthTooLong:"Your input is invalid.",notEmptyInvalid:"Your input is invalid.",isEmpty:"This field is required and cannot be left blank.",notBetween:"Your input is invalid.",notBetweenStrict:"Your input is invalid.",valueNotNumeric:"Your input is invalid.",valueNotString:"Your input is invalid.","The following errors occurred":"The following errors occurred"},editions$h={"Error fetching editions":"There are no other editions.","Loading...":"Loading...","No editions found":"There are no other editions."},other$h={"Share this page on {platform}":({platform:e})=>`Share this page on ${e}`},cookieConsent$j={privacyPolicyLinkText:"Read our privacy policy.",acceptButtonText:"Accept all",cookieRejectAllButtonText:"Reject all",cookieSettingsButtonText:"Cookie settings",cookieSettingsTitle:"Cookie settings",cookieSettingsDescription:"Manage your cookie preferences here. Functional cookies are required and cannot be disabled.",functionalCookiesTitle:"Functional cookies",functionalCookiesDescription:"Functional cookies are necessary to ensure this publication works as expected. We don't use these to collect data about you.",functionalCookiesEnabled:"Functional cookies are enabled",analyticsCookiesTitle:"Analytics cookies",analyticsCookiesDescription:"Analytics cookies allow us to collect anonymous data about the performance of our content.",analyticsCookiesEnabled:"Analytics cookies are enabled",targetingCookiesTitle:"Targeting cookies",targetingCookiesDescription:"Targeting cookies are used for advertising purposes. They help improve the relevance of the ads you see and allow us to show you ads when browsing other websites.",saveButtonText:"Save & Accept",modalConsentDisclaimer:'By clicking "ACCEPT ALL" you consent to all defined categories of cookies, including analytics and targeting cookies'},search$g={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$h="or";var English$1=w(f(f(f(f(f(f({},navigation$h),forms$h),editions$h),other$h),cookieConsent$j),search$g),{or:or$h});let TRANSLATIONS$1={};const translate$1=(e,i)=>{const n=TRANSLATIONS$1[e];return n?isFunction_1(n)?n(i):n:English$1[e]||e},Translate$1=({children:e})=>React.createElement(React.Fragment,null,translate$1(e)),translator$1={Component:Translate$1,translate:translate$1};var ScreensizesEnum$1;(function(e){e.xl="xl",e.lg="lg",e.md="md",e.sm="sm"})(ScreensizesEnum$1||(ScreensizesEnum$1={}));ScreensizesEnum$1.xl,ScreensizesEnum$1.lg,ScreensizesEnum$1.md,ScreensizesEnum$1.sm;const mapMediaQueries$1={[ScreensizesEnum$1.sm]:"@media only screen and (max-width: 749px)",[ScreensizesEnum$1.md]:"@media only screen and (max-width: 999px)",[ScreensizesEnum$1.lg]:"@media only screen and (max-width: 1199px)",[ScreensizesEnum$1.xl]:null},mapMaxWidth$1={[ScreensizesEnum$1.sm]:749,[ScreensizesEnum$1.md]:999,[ScreensizesEnum$1.lg]:1199,[ScreensizesEnum$1.xl]:null},Screensizes$1={[ScreensizesEnum$1.xl]:50,[ScreensizesEnum$1.lg]:40,[ScreensizesEnum$1.md]:30,[ScreensizesEnum$1.sm]:20},mapStyleSizeToMediaQueries$1={50:mapMediaQueries$1[ScreensizesEnum$1.xl],40:mapMediaQueries$1[ScreensizesEnum$1.lg],30:mapMediaQueries$1[ScreensizesEnum$1.md],20:mapMediaQueries$1[ScreensizesEnum$1.sm]};mapMaxWidth$1[ScreensizesEnum$1.xl],mapMaxWidth$1[ScreensizesEnum$1.lg],mapMaxWidth$1[ScreensizesEnum$1.md],mapMaxWidth$1[ScreensizesEnum$1.sm];mapStyleSizeToMediaQueries$1[Screensizes$1[ScreensizesEnum$1.xl]],mapStyleSizeToMediaQueries$1[Screensizes$1[ScreensizesEnum$1.lg]],mapStyleSizeToMediaQueries$1[Screensizes$1[ScreensizesEnum$1.md]],mapStyleSizeToMediaQueries$1[Screensizes$1[ScreensizesEnum$1.sm]];const createStyles$1=e=>t$1.type({50:e,40:e,30:e,20:e});class Entity$1 extends Type$1{constructor(i,n,o){super(i,r=>{if(IsAnyObject$1(r)){for(const a in n){const s=n[a],l=r[a];if(!s.is(l))return!1}return!0}return!1},(r,a,s)=>{const l=[],u=c=>l.push(c);if(!IsAnyObject$1(r))return err$1([{path:s,expected:"type",got:r}]);for(const c in n){const d=r[c],g=n[c].validate(d,a,[...s,c]);g.isErr()&&g.error.forEach(u)}return l.length?err$1(l):ok$1(r)},n);b(this,"name");b(this,"initialValue");b(this,"blueprint");b(this,"create",i=>{const n=cloneDeep_1(this.initialValue),o=cloneDeep_1(this.blueprint);return Object.keys(o).reduce((a,s)=>{if(o[s].name==="UUID"){if(s==="id"&&i&&i[s]){if(UUID$1.is(i[s]))return w(f({},a),{id:i[s]});throw new Error("Cannot use pre-defined id that is not a valid UUID/v4")}return w(f({},a),{[s]:v4()})}if(s==="styles")return w(f({},a),{[s]:{50:{},40:{},30:{},20:{}}});const l=i&&i[s]!==void 0?i[s]:n[s];return w(f({},a),{[s]:l})},{})});this.name=i,this.initialValue=o,this.blueprint=n}}const defaultRenderingConfig$1={isScreenshot:!1,isPrint:!1},getRenderingConfig$1=()=>typeof window=="undefined"?defaultRenderingConfig$1:window.RENDERING_CONFIG?window.RENDERING_CONFIG:defaultRenderingConfig$1;var ie,ne,oe,re,ae,se,le,ue,ce,de,pe,me;typeof window!="undefined"?localStorage.getItem("X-Api-Override")||((ie=window._env_)==null||ie.ENV_API_URL):{}.ENV_API_URL,typeof window!="undefined"?localStorage.getItem("X-Auth-Override")||((ne=window._env_)==null||ne.ENV_AUTH_URL):{}.ENV_AUTH_URL,typeof window!="undefined"?localStorage.getItem("X-Api-Override")||{}.ENV_KUBE_API_URL:{}.ENV_KUBE_API_URL,typeof window!="undefined"?localStorage.getItem("X-Auth-Override")||{}.ENV_KUBE_AUTH_URL:{}.ENV_KUBE_AUTH_URL,typeof window!="undefined"?(oe=window._env_)==null||oe.INSTANT_ANALYTICS_URL:{}.INSTANT_ANALYTICS_URL,typeof window!="undefined"?(re=window._env_)==null||re.PARDOT_TRACKING_SCRIPT_URL:{}.PARDOT_TRACKING_SCRIPT_URL,typeof window!="undefined"?(ae=window._env_)==null||ae.GA4_MEASUREMENT_ID:{}.GA4_MEASUREMENT_ID,typeof window!="undefined"?localStorage.getItem("X-Portal-Override")||((se=window._env_)==null||se.ENV_DASHBOARD_URL):{}.ENV_DASHBOARD_URL,typeof window!="undefined"?localStorage.getItem("X-T2-Override")||((le=window._env_)==null||le.ENV_T2_URL):{}.ENV_T2_URL,typeof window!="undefined"?localStorage.getItem("X-Beta-Override")||((ue=window._env_)==null||ue.ENV_BETA_URL):{}.ENV_BETA_URL,typeof window!="undefined"?(ce=window._env_)==null||ce.UNLEASH_PROXY_ENDPOINT:{}.UNLEASH_PROXY_ENDPOINT,typeof window!="undefined"?(de=window._env_)==null||de.UNLEASH_PROXY_CLIENT_KEY:{}.UNLEASH_PROXY_CLIENT_KEY,typeof window!="undefined"?(pe=window._env_)==null||pe.TABLE_ROW_MAX_LENGTH:{}.TABLE_ROW_MAX_LENGTH,typeof window!="undefined"?(me=window._env_)==null||me.TABLE_COLUMN_MAX_LENGTH:{}.TABLE_COLUMN_MAX_LENGTH;const identity$1r="button",identity$1q="hotspot",identity$1p="image",identity$1o="text",identity$1n="action";var ActionTypeKeys$1;(function(e){e.page="page",e.overlay="overlay",e["external-url"]="external-url",e.document="document",e["cookie-consent"]="cookie-consent",e.block="block",e["close-overlay"]="close-overlay"})(ActionTypeKeys$1||(ActionTypeKeys$1={}));const externalUrl$1=t$1.type({type:t$1.literal("external-url"),value:t$1.string,target:t$1.union([t$1.literal("_self"),t$1.literal("_blank")])}),page$1=t$1.partial({type:t$1.literal("page"),beckyId:t$1.number,blockId:t$1.union([t$1.string,t$1.null])}),overlay$1=t$1.partial({type:t$1.literal("overlay"),beckyId:t$1.number}),cookieConsent$i=t$1.type({type:t$1.literal("cookie-consent")}),closeOverlay$1=t$1.type({type:t$1.literal("close-overlay")}),EntityInferred$1n=new Entity$1(identity$1n,{id:t$1.UUID,identity:t$1.literal(identity$1n),reference:t$1.union([t$1.number,t$1.undefined]),options:t$1.union([externalUrl$1,page$1,overlay$1,cookieConsent$i,closeOverlay$1,t$1.null]),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1r)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1q)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1p)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1o)})])},{id:void 0,identity:identity$1n,reference:void 0,options:void 0,parent:void 0}),entity$1n=EntityInferred$1n,Action$1={entity:entity$1n,identity:identity$1n},actionTypes$1=t$1.union([t$1.literal("external-url"),t$1.literal("page"),t$1.literal("overlay")]);t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1n),type:actionTypes$1});const identity$1m="block",identity$1l="column",identity$1k="video",identity$1j="background",BackgroundInferred$1=t$1.partial({color:t$1.string,position:t$1.type({x:t$1.number,y:t$1.number}),scrollRate:t$1.union([t$1.literal("0"),t$1.literal("0.25"),t$1.literal("0.5"),t$1.literal("0.75"),t$1.literal("1")]),fill:t$1.union([t$1.literal("container"),t$1.literal("children")]),image:t$1.string}),background$1=BackgroundInferred$1,BoxInferred$1=t$1.partial({height:t$1.union([t$1.literal("vh"),t$1.string]),width:t$1.union([t$1.literal("vw"),t$1.string]),direction:t$1.union([t$1.literal("horizontal"),t$1.literal("vertical")]),alignment:t$1.partial({horizontal:t$1.union([t$1.literal("left"),t$1.literal("center"),t$1.literal("right"),t$1.literal("justify")]),vertical:t$1.union([t$1.literal("top"),t$1.literal("middle"),t$1.literal("bottom")])}),color:t$1.string,shadow:t$1.type({x:t$1.string,y:t$1.string,blur:t$1.string,color:t$1.union([t$1.string,t$1.undefined])}),corners:t$1.partial({bottomLeft:t$1.string,bottomRight:t$1.string,topLeft:t$1.string,topRight:t$1.string}),overflow:t$1.partial({x:t$1.union([t$1.literal("visible"),t$1.literal("auto"),t$1.literal("hidden"),t$1.literal("scroll")]),y:t$1.union([t$1.literal("visible"),t$1.literal("auto"),t$1.literal("hidden"),t$1.literal("scroll")])}),offset:t$1.type({value:t$1.string})}),box$1=BoxInferred$1,visibility$1=t$1.union([t$1.literal("always"),t$1.literal("visible"),t$1.literal("hidden"),t$1.literal("none")]),backgroundStyles$1=createStyles$1(t$1.partial({background:background$1,box:box$1,visibility:visibility$1})),backgroundBaseStyles$1={50:{background:{position:{x:50,y:50},scrollRate:"1"}},40:{},30:{},20:{}},EntityInferred$1m=new Entity$1(identity$1j,{id:t$1.UUID,identity:t$1.literal(identity$1j),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1m)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)})]),options:t$1.partial({video:t$1.partial({shouldLoopVideo:t$1.boolean}),image:t$1.partial({})}),type:t$1.union([t$1.literal("image"),t$1.literal("video")]),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1p)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1k)})])),styles:backgroundStyles$1},{id:void 0,identity:identity$1j,parent:void 0,type:void 0,options:{video:{shouldLoopVideo:!0}},refs:[]}),entity$1m=EntityInferred$1m,Background$1={entity:entity$1m,identity:identity$1j};axios.create();var AssetsCategories$1;(function(e){e.fonts="fonts",e.images="images",e.externalImages="externalImages",e.videos="videos"})(AssetsCategories$1||(AssetsCategories$1={}));y("@assets_store/swap",e=>({assets:e}))();y("@assets_store/combine_assets_store",e=>({assets:e}))();y("@assets_store/update_image_asset",(e,i,n)=>({image:i,type:n,urlOrAssetRef:e}))();y("@assets_store/update_video_asset",(e,i)=>({video:i,assetRef:e}))();y("@assets_store/update_font_asset",(e,i)=>({font:i,assetRef:e}))();react.exports.createContext(void 0);react.exports.createContext(void 0);const identity$1i="clipboard",identity$1h="form",identity$1g="lead-gen",identity$1f="property";var PropertyTypeKeys$1;(function(e){e.personalization="personalization"})(PropertyTypeKeys$1||(PropertyTypeKeys$1={}));const personalization$3=t$1.type({type:t$1.literal(PropertyTypeKeys$1.personalization),refId:t$1.number,identifier:t$1.string}),EntityInferred$1l=new Entity$1(identity$1f,{id:t$1.UUID,identity:t$1.literal(identity$1f),reference:t$1.union([t$1.number,t$1.undefined]),options:t$1.union([personalization$3,t$1.null]),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1r)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1o)})])},{id:void 0,identity:identity$1f,reference:void 0,options:void 0,parent:void 0}),entity$1l=EntityInferred$1l;t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1f)});const Property$1={entity:entity$1l,identity:identity$1f},identity$1e="text-item",AnimationInferred$1=t$1.partial({animationName:t$1.string,contentAnimation:t$1.string,delay:t$1.number,revealBarColor:t$1.string,duration:t$1.number}),animation$1=AnimationInferred$1,fadeIn$1={name:"fadeIn",animationDuration:"1400ms",settings:{"0%":{opacity:0},"100%":{opacity:1}}},zoomIn$1={name:"zoomIn",settings:{"0%":{transform:"scale(0.2)",opacity:0},"50%":{transform:"scale(1.05)"},"100%":{transform:"scale(1)",opacity:1}}},bounceIn$1={name:"bounceIn",settings:{"from, 20%, 40%, 60%, 80%, to":{animationTimingFunction:"cubic-bezier(0.215, 0.610, 0.355, 1.000)"},"0%":{opacity:0,transform:"scale3d(.3, .3, .3)"},"20%":{transform:"scale3d(1.1, 1.1, 1.1)"},"40%":{transform:"scale3d(.9, .9, .9)"},"60%":{opacity:1,transform:"scale3d(1.03, 1.03, 1.03)"},"80%":{transform:"scale3d(.97, .97, .97)"},to:{opacity:1,transform:"scale3d(1, 1, 1)"}}},blurIn$1={name:"blurIn",settings:{"0%":{opacity:0,transformOrigin:"50% 50%",transform:"scale(2, 2)",filter:"blur(90px)"},"100%":{opacity:1,transformOrigin:"50% 50%",transform:"scale(1, 1)",filter:"blur(0)"}}},stretchIn$1={name:"stretchIn",settings:{"0%":{transform:"scaleX(0.3)",opacity:0},"40%":{transform:"scaleX(1.02)",opacity:1},"60%":{transform:"scaleX(0.98)"},"80%":{transform:"scaleX(1.01)"},"100%":{transform:"scaleX(0.98)"}," 80%":{transform:"scaleX(1.01)"}," 100%":{transform:"scaleX(1)",opacity:1}}},flyIn$1={name:"flyIn",settings:{"0%":{opacity:0,transformOrigin:"50% 50%",transform:"scale(2,2)",filter:"blur(2px)"},"100%":{opacity:1,transformOrigin:"50% 50%",transform:"scale(1,1)",filter:"blur(0px)"}}},fadeInDown$1={name:"fadeInDown",settings:{"0%":{opacity:0,transform:"translateY(-20px)"},"100%":{opacity:1,transform:"translateY(0)"}}},fadeInUp$1={name:"fadeInUp",settings:{"0%":{opacity:0,transform:"translateY(20px)"},"100%":{opacity:1,transform:"translateY(0)"}}},fadeInLeft$1={name:"fadeInLeft",settings:{"0%":{opacity:0,transform:"translateX(-20px)"},"100%":{opacity:1,transform:"translateX(0)"}}},fadeInRight$1={name:"fadeInRight",settings:{"0%":{opacity:0,transform:"translateX(20px)"},"100%":{opacity:1,transform:"translateX(0)"}}},defaultAnimations$1={fadeIn:fadeIn$1,zoomIn:zoomIn$1,bounceIn:bounceIn$1,blurIn:blurIn$1,stretchIn:stretchIn$1,flyIn:flyIn$1,fadeInDown:fadeInDown$1,fadeInUp:fadeInUp$1,fadeInLeft:fadeInLeft$1,fadeInRight:fadeInRight$1},barAppearPercentage$1=50,barPresentDuration$1=20,percentageRevealMiddle1$1=barAppearPercentage$1-barPresentDuration$1/2+"%",percentageRevealMiddle2$1=barAppearPercentage$1+barPresentDuration$1/2+"%",imRevealLeftToRight$1={name:"imRevealLeftToRight",settings:{"0%":{transform:"scaleX(0)",transformOrigin:"center left 0px"},[percentageRevealMiddle1$1]:{transform:"scaleX(1)",transformOrigin:"center left 0px"},[percentageRevealMiddle2$1]:{transform:" scaleX(1)",transformOrigin:"center right 0px"},"100%":{transform:"scaleX(0)",transformOrigin:"center right 0px"}}},imRevealRightToLeft$1={name:"imRevealRightToLeft",settings:{"0%":{transform:"scaleX(0)",transformOrigin:"center right 0px"},[percentageRevealMiddle1$1]:{transform:"scaleX(1)",transformOrigin:"center right 0px "},[percentageRevealMiddle2$1]:{transform:"scaleX(1)",transformOrigin:"center left 0px"},"100%":{transform:"scaleX(0)",transformOrigin:"center left 0px "}}},percentageRevealContentMiddle1$1=barAppearPercentage$1-.001+"%",percentageRevealContentMiddle2$1=barAppearPercentage$1+"%",imRevealContent$1={name:"imRevealContent",settings:{"0%":{opacity:0},[percentageRevealContentMiddle1$1]:{opacity:0},[percentageRevealContentMiddle2$1]:{opacity:1},"100%":{opacity:1}}},revealAnimations$1={imRevealLeftToRight:imRevealLeftToRight$1,imRevealRightToLeft:imRevealRightToLeft$1,imRevealContent:imRevealContent$1},isRevealAnimation$1=e=>!!e&&!!revealAnimations$1[e],buildAnimationKeyframes$1=()=>[...Object.values(defaultAnimations$1),...Object.values(revealAnimations$1)].reduce((i,n)=>{const o=Ue(n.settings).rules;return i+`@keyframes ${n.name} { ${o} }`},""),ANIMATION_DELAY$1=150,GLOBAL_ANIMATION_CLASS$1="foleon-animation",BorderInferred$1=t$1.partial({top:t$1.partial({color:t$1.union([t$1.string,t$1.undefined]),width:t$1.string,style:t$1.literal("solid")}),right:t$1.partial({color:t$1.union([t$1.string,t$1.undefined]),width:t$1.string,style:t$1.literal("solid")}),bottom:t$1.partial({color:t$1.union([t$1.string,t$1.undefined]),width:t$1.string,style:t$1.literal("solid")}),left:t$1.partial({color:t$1.union([t$1.string,t$1.undefined]),width:t$1.string,style:t$1.literal("solid")})}),border$1=BorderInferred$1,createBorderToCSS$1=({cssSelector:e}={})=>(i,n,o=50)=>{var s;const r=i?Object.keys(i):[],a=(l,u)=>{e?set_1(n,[e,l],u):set_1(n,[l],u)};for(let l=0;l<r.length;l++){const u=r[l];if(!(i==null?void 0:i[u]))continue;o===50&&a(camelCase_1(`border-${u}-style`),"solid");const c=getKeys$1(i[u]);for(let d=0;d<c.length;d++){const m=String(c[d]),g=camelCase_1(`border-${u}-${m}`),E=(s=i==null?void 0:i[u])==null?void 0:s[c[d]];E&&(m==="color"||m==="style"?a(g,E):a(g,`${E}px`))}}},getTextAlign$1=e=>{switch(e){case"left":return"start";case"center":return"center";case"right":return"end";case"justify":return"justify";default:return"inherit"}},getJustifyContent$1=e=>{switch(e){case"top":case"left":return"flex-start";case"middle":case"center":return"center";case"bottom":case"right":return"flex-end";default:return"inherit"}},getAlignContent$1=e=>{switch(e){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return"inherit"}},getDefaultWidthHandler$1=e=>{const i=e;return i==="vw"?"100%":`${i}px`},createBoxToCSS$1=({overrides:e,cssSelector:i}={})=>(n,o)=>{var s,l,u,c;if(!n)return;const r=(d,m)=>{i?set_1(o,[i,d],m):set_1(o,[d],m)},a=getKeys$1(n);for(let d=0;d<a.length;d++){const m=a[d];if(e==null?void 0:e[m]){const g=e[m],E=n==null?void 0:n[m];g(o,E,r)}else switch(m){case"corners":{const g=n.corners;if(!isObject_1(g))return;for(const E of getKeys$1(g))r(camelCase_1(`border-${E}-radius`),`${g[E]}px`);break}case"width":{const g=getDefaultWidthHandler$1(n.width);r("width",g);break}case"alignment":{const g=n.alignment,E=getTextAlign$1(g.horizontal),h=getJustifyContent$1(g.vertical);r("textAlign",E||"inherit"),r("justifyContent",h||"inherit");break}case"height":{const g=n.height;g==="vh"&&(delete o.display,r("minHeight","100vh"),r("maxHeight","100vh")),g==="fill"?(r("display","flex"),r("flex",1)):g==="no-fill"?(delete o.display,delete o.flex):(delete o.display,delete o.flex,r("height",`${g}px`));break}case"shadow":{const g=n.shadow;r("boxShadow",`${g.x}px ${g.y}px ${g.blur}px ${(l=(s=g.color)!=null?s:n.color)!=null?l:""}`);break}case"overflow":{const g=(u=n.overflow)==null?void 0:u.x,E=(c=n.overflow)==null?void 0:c.y;g&&r("overflow-x",g),E&&r("overflow-y",E);break}}}},color$1=t$1.string,systemFonts$1={25:{name:"Arial",value:"Arial, Helvetica, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},28:{name:"Courier New",value:"Courier New, Courier New, monospace",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},29:{name:"Georgia",value:"Georgia, Georgia, serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},31:{name:"Lucida Console",value:"Lucida Console, Monaco, monospace",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},32:{name:"Lucida Sans Unicode",value:"Lucida Sans Unicode, Lucida Grande, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},33:{name:"Palatino Linotype",value:"Palatino Linotype, Book Antiqua, Palatino, serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},34:{name:"Tahoma",value:"Tahoma, Geneva, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},35:{name:"Times New Roman",value:"Times New Roman, Times New Roman, Times, serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},36:{name:"Trebuchet MS",value:"Trebuchet MS, Trebuchet MS, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},37:{name:"Verdana",value:"Verdana, Verdana, Geneva, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}}};new Set(Object.values(systemFonts$1).map(({value:e})=>e));const FontInferred$1=t$1.partial({assetRef:t$1.union([t$1.string,t$1.undefined]),family:t$1.string,size:t$1.union([t$1.string,t$1.type({value:t$1.string,unit:t$1.literal("rem")}),t$1.undefined]),style:t$1.union([t$1.literal("italic"),t$1.literal("normal"),t$1.undefined]),textDecoration:t$1.union([t$1.string,t$1.undefined]),alignment:t$1.union([t$1.literal("start"),t$1.literal("center"),t$1.literal("end"),t$1.literal("justify"),t$1.literal("left"),t$1.literal("right")]),weight:t$1.union([t$1.number,t$1.undefined]),lineHeight:t$1.union([t$1.type({value:t$1.string,unit:t$1.literal("em")}),t$1.undefined]),letterSpacing:t$1.union([t$1.type({value:t$1.string,unit:t$1.literal("em")}),t$1.undefined])}),font$1=FontInferred$1,createMarginToCSS$1=({cssSelector:e})=>(i,n)=>{const o=getKeys$1(i),r=(a,s)=>{e?set_1(n,[e,a],s):set_1(n,[a],s)};for(let a=0;a<o.length;a++){const s=o[a];if(!(i==null?void 0:i[s]))return;r(camelCase_1(`margin-${s}`),`${i[s].value}${i[s].unit||"px"}`)}},marginUnit$1=t$1.union([t$1.literal("px"),t$1.literal("vh"),t$1.literal("vw"),t$1.literal("em"),t$1.literal("rem"),t$1.literal("%")]),MarginInferred$1=t$1.partial({top:t$1.type({value:t$1.string,unit:marginUnit$1}),right:t$1.type({value:t$1.string,unit:marginUnit$1}),bottom:t$1.type({value:t$1.string,unit:marginUnit$1}),left:t$1.type({value:t$1.string,unit:marginUnit$1})}),margin$1=MarginInferred$1,paddingUnit$1=t$1.union([t$1.literal("px"),t$1.literal("vh"),t$1.literal("vw"),t$1.literal("em"),t$1.literal("rem")]),PaddingInferred$1=t$1.partial({top:t$1.type({value:t$1.string,unit:paddingUnit$1}),right:t$1.type({value:t$1.string,unit:paddingUnit$1}),bottom:t$1.type({value:t$1.string,unit:paddingUnit$1}),left:t$1.type({value:t$1.string,unit:paddingUnit$1})}),padding$1=PaddingInferred$1,getStates$1=e=>t$1.partial({active:t$1.partial(f({},e)),focus:t$1.partial(f({},e)),hover:t$1.partial(f({},e))});getStates$1({});const buttonStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,color:color$1,font:font$1,margin:margin$1,padding:padding$1,visibility:visibility$1,states:getStates$1({background:background$1,border:border$1,box:box$1,color:color$1,font:font$1})})),buttonBaseStyles$1={50:{background:{color:"rgba(64,64,64,1)"},border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"2",bottomRight:"2",topLeft:"2",topRight:"2"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},color:"rgba(255, 255, 255, 1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1",unit:"em"},letterSpacing:{value:"0.05",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}},padding:{top:{unit:"px",value:"12"},bottom:{unit:"px",value:"12"},left:{unit:"px",value:"20"},right:{unit:"px",value:"20"}},visibility:"visible",states:{hover:{}}},40:{},30:{visibility:"visible",states:{hover:{}}},20:{visibility:"visible",states:{hover:{}}}},secondaryButtonBaseStyles$1={50:{background:{color:"rgba(255,255,255,1)"},border:{bottom:{color:"rgba(167,174,187,1)",style:"solid",width:"1"},left:{color:"rgba(167,174,187,1)",style:"solid",width:"1"},right:{color:"rgba(167,174,187,1)",style:"solid",width:"1"},top:{color:"rgba(167,174,187,1)",style:"solid",width:"1"}},box:{corners:{bottomLeft:"50",bottomRight:"50",topLeft:"50",topRight:"50"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1",unit:"em"},letterSpacing:{value:"0.05",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}},padding:{top:{unit:"px",value:"12"},bottom:{unit:"px",value:"12"},left:{unit:"px",value:"20"},right:{unit:"px",value:"20"}},visibility:"visible",states:{hover:{}}},40:{},30:{visibility:"visible",states:{hover:{}}},20:{visibility:"visible",states:{hover:{}}}},EntityInferred$1k=new Entity$1(identity$1r,{id:t$1.UUID,identity:t$1.literal(identity$1r),parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1l),t$1.literal(identity$1h),t$1.literal(identity$1g),t$1.literal(identity$1i)])}),styleMap:t$1.union([t$1.map(t$1.string,t$1.map(t$1.string,t$1.string)),t$1.null]),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1n)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1f)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1e)})])),styles:buttonStyles$1,options:t$1.union([t$1.null,t$1.partial({type:t$1.union([t$1.literal("primary"),t$1.literal("secondary")])})])},{id:void 0,parent:void 0,identity:identity$1r,styleMap:null,refs:[],options:null}),entity$1k=EntityInferred$1k,Button$3={entity:entity$1k,identity:identity$1r,styles:buttonStyles$1},identity$1d="overlay",identity$1c="page",identity$1b="row",identity$1a="template",OrderInferred$1=t$1.partial({order:t$1.number}),order$1=OrderInferred$1,blockStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,order:order$1,padding:padding$1,visibility:visibility$1,states:getStates$1({border:border$1}),childStyles:t$1.partial({column:t$1.partial({padding:padding$1})})})),blockBaseStyles$1={50:{animation:{delay:300},border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},padding:{bottom:{unit:"px",value:"0"},left:{unit:"px",value:"0"},right:{unit:"px",value:"0"},top:{unit:"px",value:"0"}},visibility:"visible"},40:{},30:{},20:{}},EntityInferred$1j=new Entity$1("block",{id:t$1.UUID,identity:t$1.literal(identity$1m),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1c)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1d)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1a)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1i)})]),customIdentifier:t$1.union([t$1.string,t$1.null]),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1b)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1j)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1q)})])),triggerContentAnimationOnce:t$1.boolean,styles:blockStyles$1},{id:void 0,identity:identity$1m,customIdentifier:null,parent:null,refs:[],triggerContentAnimationOnce:!1}),entity$1j=EntityInferred$1j,Block$1={entity:entity$1j,identity:identity$1m,styles:blockStyles$1},identity$19="divider",identity$18="embed",identity$17="infographic-counter-circle",identity$16="infographic-counter-line",identity$15="infographic-counter-number",identity$14="social",identity$13="table";new Entity$1(identity$1i,{id:t$1.UUID,identity:t$1.literal(identity$1i),parent:t$1.null,refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1m)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1q)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$19)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1r)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1p)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1o)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1k)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$18)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$14)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$15)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$16)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$17)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$17)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$13)})]))},{id:void 0,identity:identity$1i,parent:null,refs:[]});const identity$12="page-scroll",EntityInferred$1i=new Entity$1("template",{id:t$1.UUID,identity:t$1.literal(identity$1a),parent:t$1.null,refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1m)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$12)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1d)})])),styles:t$1.union([t$1.undefined,createStyles$1(t$1.partial({background:background$1}))])},{id:void 0,identity:identity$1a,parent:null,refs:[]}),entity$1i=EntityInferred$1i,Template$1={entity:entity$1i,identity:identity$1a},identity$11="column-scroll",identity$10="map-form-eloqua",identity$$="map-form-hubspot",identity$_="map-form-marketo",identity$Z="map-form-sfp",GridInferred$1=t$1.partial({column:t$1.string,gutter:t$1.string}),grid$1=GridInferred$1,columnStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,grid:grid$1,order:order$1,padding:padding$1,visibility:visibility$1,states:getStates$1({border:border$1})})),columnBaseStyles$1={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{alignment:{horizontal:"left",vertical:"top"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},grid:{column:"1"},padding:{bottom:{unit:"px",value:"25"},left:{unit:"px",value:"25"},right:{unit:"px",value:"25"},top:{unit:"px",value:"25"}},visibility:"visible"},40:{},30:{padding:{bottom:{unit:"px",value:"50"},left:{unit:"vw",value:"6.5"},right:{unit:"vw",value:"6.5"},top:{unit:"px",value:"50"}}},20:{padding:{bottom:{unit:"px",value:"25"},left:{unit:"vw",value:"6.667"},right:{unit:"vw",value:"6.667"},top:{unit:"px",value:"25"}}}},EntityInferred$1h=new Entity$1("column",{id:t$1.UUID,identity:t$1.literal(identity$1l),value:t$1.string,parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1b),t$1.literal(identity$1i)])}),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1j)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$19)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1r)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1p)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$11)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1o)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1k)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$18)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$14)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1h)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1g)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$15)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$16)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$17)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$10)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$$)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$_)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$Z)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$13)})])),styles:columnStyles$1},{id:void 0,identity:identity$1l,value:"",parent:void 0,refs:[]}),entity$1h=EntityInferred$1h,Column$1={entity:entity$1h,identity:identity$1l},columnScrollStyles$1=createStyles$1(t$1.partial({background:background$1,box:box$1,color:color$1,visibility:visibility$1})),columnScrollBaseStyles$1={50:{background:{color:"rgba(125, 125, 125, 0.5)"},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"}},color:"rgba(255, 255, 255, 1)",visibility:"visible"},40:{},30:{},20:{}},EntityInferred$1g=new Entity$1(identity$11,{id:t$1.UUID,identity:t$1.literal(identity$11),value:t$1.string,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),styles:columnScrollStyles$1},{id:void 0,identity:identity$11,value:"",parent:void 0}),entity$1g=EntityInferred$1g,ColumnScroll$1={entity:entity$1g,identity:identity$11},rowStyles$1=createStyles$1(t$1.partial({grid:grid$1,order:order$1})),rowBaseStyles$1={50:{grid:{gutter:"24"}},40:{},30:{},20:{}},EntityInferred$1f=new Entity$1("row",{id:t$1.UUID,identity:t$1.literal(identity$1b),value:t$1.string,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1m)}),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)})),styles:rowStyles$1},{id:void 0,identity:identity$1b,value:"",parent:void 0,refs:[]}),entity$1f=EntityInferred$1f,Row$1={entity:entity$1f,identity:identity$1b},dividerStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,box:box$1,margin:margin$1,visibility:visibility$1})),dividerBaseStyles$1={50:{background:{color:"rgba(252,82,29,1)"},box:{height:"2",shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"},width:"vw"},margin:{bottom:{unit:"px",value:"16"},top:{unit:"px",value:"0"}}},40:{},30:{},20:{}},EntityInferred$1e=new Entity$1(identity$19,{id:t$1.UUID,parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1h)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1g)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1i)})]),identity:t$1.literal(identity$19),styles:dividerStyles$1},{id:void 0,identity:identity$19,parent:void 0}),entity$1e=EntityInferred$1e,Divider$1={entity:entity$1e,identity:identity$19},CoordinatesInferred$1=t$1.partial({x:t$1.number,y:t$1.number}),coordinates$1=CoordinatesInferred$1,IconInferred$1=t$1.partial({custom:t$1.boolean,identifier:t$1.string,size:t$1.string}),icon$2=IconInferred$1,hotspotStyles$1=createStyles$1(t$1.partial({background:background$1,border:border$1,box:box$1,color:color$1,coordinates:coordinates$1,icon:icon$2,states:getStates$1({background:background$1,border:border$1,box:box$1,color:color$1,icon:icon$2}),visibility:visibility$1})),hotspotBaseStyles$1={50:{background:{color:"rgba(252, 82, 29, 1)"},border:{bottom:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},left:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},right:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},top:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"25",bottomRight:"25",topLeft:"25",topRight:"25"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},color:"rgba(255, 255, 255, 1)",states:{hover:{}},visibility:"visible"},40:{},30:{states:{hover:{}}},20:{states:{hover:{}}}},EntityInferred$1d=new Entity$1(identity$1q,{id:t$1.UUID,identity:t$1.literal(identity$1q),parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1m),t$1.literal(identity$1i)])}),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1p)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1n)})])),value:t$1.string,options:t$1.union([t$1.null,t$1.partial({mouseover:t$1.partial({text:t$1.string,position:t$1.union([t$1.literal("top"),t$1.literal("right"),t$1.literal("bottom"),t$1.literal("left")])}),type:t$1.union([t$1.literal("default"),t$1.literal("target"),t$1.literal("marker"),t$1.literal("custom")])})]),styles:hotspotStyles$1},{id:void 0,parent:void 0,identity:identity$1q,refs:[],value:"",options:{mouseover:{text:"",position:"bottom"},type:"default"}}),entity$1d=EntityInferred$1d,Hotspot$1={entity:entity$1d,identity:identity$1q},imageStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,visibility:visibility$1})),imageBaseStyles$1={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{bottom:{unit:"px",value:"16"}},visibility:"visible"},40:{},30:{},20:{}},EntityInferred$1c=new Entity$1(identity$1p,{id:t$1.UUID,identity:t$1.literal(identity$1p),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1j)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1q)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$12)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1i)})]),provider:t$1.union([t$1.literal("foleon"),t$1.literal("unsplash"),t$1.literal("bynder"),t$1.null]),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1n)})),assetRef:t$1.union([t$1.string,t$1.null]),url:t$1.union([t$1.string,t$1.null]),alt:t$1.union([t$1.string,t$1.null]),thumbnail:t$1.union([t$1.string,t$1.null]),properties:t$1.union([t$1.partial({width:t$1.union([t$1.number,t$1.string,t$1.null]),height:t$1.union([t$1.number,t$1.string,t$1.null])}),t$1.null]),styles:imageStyles$1},{id:void 0,identity:identity$1p,refs:[],parent:void 0,assetRef:null,url:null,alt:null,thumbnail:null,provider:null,properties:null});t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1p),type:t$1.string});const entity$1c=EntityInferred$1c,Image$2={entity:entity$1c,identity:identity$1p},videoStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,padding:padding$1,visibility:visibility$1})),videoBaseStyles$1={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{bottom:{unit:"px",value:"16"}},padding:{bottom:{value:"0",unit:"px"}},visibility:"visible"},40:{},30:{},20:{}},EntityInferred$1b=new Entity$1(identity$1k,{id:t$1.UUID,identity:t$1.literal(identity$1k),provider:t$1.union([t$1.literal("custom"),t$1.literal("youtube"),t$1.literal("vimeo"),t$1.null]),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1j)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1i)}),t$1.null]),assetRef:t$1.union([t$1.string,t$1.null]),styles:videoStyles$1},{id:void 0,identity:identity$1k,provider:null,parent:null,assetRef:null}),entity$1b=EntityInferred$1b,Video$1={entity:entity$1b,identity:identity$1k},identity$Y="trigger",ContainerInferred$1=t$1.partial({backgroundColor:t$1.string,color:t$1.string}),container$1=ContainerInferred$1,overlayStyles$1=createStyles$1(t$1.partial({background:background$1,border:border$1,box:box$1,container:container$1,margin:margin$1,visibility:visibility$1})),overlayBaseStyles$1={50:{margin:{top:{value:"10",unit:"%"},right:{value:"10",unit:"%"},bottom:{value:"10",unit:"%"},left:{value:"10",unit:"%"}},background:{color:"rgba(255, 255, 255, 1)"},border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},container:{color:"rgba(255, 255, 255, 1)"}},40:{},30:{},20:{margin:{top:{value:"0",unit:"%"},right:{value:"0",unit:"%"},bottom:{value:"0",unit:"%"},left:{value:"0",unit:"%"}}}},EntityInferred$1a=new Entity$1(identity$1d,{id:t$1.UUID,parent:t$1.union([t$1.null,t$1.type({id:t$1.UUID,identity:t$1.literal(identity$Y)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1a)})]),identity:t$1.literal(identity$1d),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1m)})),styles:overlayStyles$1,options:t$1.union([t$1.null,t$1.partial({isLeadGen:t$1.boolean})])},{id:void 0,parent:null,identity:identity$1d,refs:[],options:null}),entity$1a=EntityInferred$1a,Overlay$3={entity:entity$1a,identity:identity$1d},MIN_RESOLUTION$1=400,MAX_RESOLUTION$1=4e3,DEFAULT_DPR$1=1,getFixedWidth$1=e=>e<mapMaxWidth$1[ScreensizesEnum$1.sm]?800:e<mapMaxWidth$1[ScreensizesEnum$1.md]?1100:e<mapMaxWidth$1[ScreensizesEnum$1.lg]?1300:MAX_RESOLUTION$1,checkWebPSupport$1=()=>{if(typeof document!="undefined"){const e=document==null?void 0:document.createElement("canvas");return(e==null?void 0:e.getContext)&&(e==null?void 0:e.getContext("2d"))?e.toDataURL("image/webp").indexOf("data:image/webp")==0:!1}},isWebPSupported$1=checkWebPSupport$1(),getOptimizedUrl$1=(e,i)=>{try{const n=new URL(e),o=new URLSearchParams(n.search);return n.hostname.includes("foleon")?(isWebPSupported$1&&o.set("ext","webp"),i&&o.set("width",`${i}`)):n.hostname.includes("unsplash")&&(isWebPSupported$1&&o.set("fm","webp"),i&&o.set("w",`${i}`)),n.search=`?${o.toString()}`,n.toString()}catch{return e}},optimizeImage$1=({dprControl:e=!1,imageUrl:i,imageWidth:n,maxWidth:o,resize:r=!0})=>{if(/\.(gif|svg)$/.test(i))return i;const a=typeof window!="undefined"?window.outerWidth:MIN_RESOLUTION$1;let s=n||(r?getFixedWidth$1(a):MAX_RESOLUTION$1);if(e){const c=typeof window!="undefined"?window.devicePixelRatio:DEFAULT_DPR$1;s=s*c}const l=Math.min(o?Math.min(s,o):s,MAX_RESOLUTION$1);return getOptimizedUrl$1(i,o&&o===l?void 0:l)},createBackgroundToCSS$1=({overrides:e,cssSelector:i})=>(n,o)=>{const r=getKeys$1(n),a=(s,l)=>{i?set_1(o,[i,s],l):set_1(o,[s],l)};for(let s=0;s<r.length;s++){const l=r[s];if(e==null?void 0:e[l]){const u=e[l],c=n==null?void 0:n[l];u==null||u(o,c,a,n)}else switch(l){case"color":{const u=n.color;a("background",u||"transparent");break}case"position":{const u=n.position;isObject_1(u)?a("backgroundPosition",`${(u==null?void 0:u.x)||0}% ${(u==null?void 0:u.y)||0}%`):a("backgroundPosition",u);break}case"image":{const u=n.image;u&&a("backgroundImage",u);break}}}},embedStyles$1=createStyles$1(t$1.partial({border:border$1,box:box$1,margin:margin$1,visibility:visibility$1})),embedBaseStyles$1={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{height:"550"},margin:{bottom:{unit:"px",value:"16"}}},40:{},30:{},20:{}},formLabelStyles$1=createStyles$1(t$1.partial({color:color$1,font:font$1,margin:margin$1})),formLabelBaseStyles$1={50:{margin:{top:{unit:"px",value:"0"},right:{unit:"px",value:"0"},bottom:{unit:"px",value:"0"},left:{unit:"px",value:"0"}}},40:{},30:{},20:{}},formListCheckboxStyles$1=createStyles$1(t$1.partial({margin:margin$1,color:color$1})),formListCheckboxBaseStyles$1={50:{margin:{bottom:{unit:"em",value:"1.25"}}},40:{},30:{},20:{}},formListDropdownStyles$1=createStyles$1(t$1.partial({background:background$1,border:border$1,box:box$1,color:color$1,margin:margin$1})),formListDropdownBaseStyles$1={50:{background:{color:"rgba(255, 255, 255, 1)"},border:{bottom:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"},left:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"},right:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"},top:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"}},color:"rgba(51, 51, 51, 1)",margin:{bottom:{unit:"em",value:"1.25"}}},40:{},30:{},20:{}},formListOptionStyles$1=createStyles$1(t$1.partial({background:background$1,border:border$1,color:color$1})),formListOptionBaseStyles$1={50:{background:{color:"rgba(64, 64, 64, 1)"},border:{top:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"}}},40:{},30:{},20:{}},formListRadioStyles$1=createStyles$1(t$1.partial({margin:margin$1,color:color$1,visibility:visibility$1})),formListRadioBaseStyles$1={50:{margin:{bottom:{unit:"em",value:"1.25"}},visibility:"visible"},40:{},30:{visibility:"visible"},20:{}},formPlaceholderStyles$1=createStyles$1(t$1.partial({color:color$1,font:font$1})),formPlaceholderBaseStyles$1={50:{},40:{},30:{},20:{}},formTextStyles$1=createStyles$1(t$1.partial({background:background$1,border:border$1,box:box$1,color:color$1,margin:margin$1,visibility:visibility$1,padding:padding$1,font:font$1})),formTextBaseStyles$1={50:{background:{color:"rgba(255, 255, 255, 1)"},border:{bottom:{color:"rgba(51,51,51,1)",style:"solid",width:"1"},left:{color:"rgba(51,51,51,1)",style:"solid",width:"1"},right:{color:"rgba(51,51,51,1)",style:"solid",width:"1"},top:{color:"rgba(51,51,51,1)",style:"solid",width:"1"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{bottom:{unit:"em",value:"1.25"}},visibility:"visible"},40:{},30:{},20:{}},formStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,padding:padding$1,visibility:visibility$1})),formBaseStyles$1={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{top:{value:"0",unit:"px"},right:{value:"0",unit:"px"},bottom:{value:"0",unit:"px"},left:{value:"0",unit:"px"}}},40:{},30:{},20:{}},infographicCounterDefaultCountingDuration$1=3e3,infographicCounterDefaultSize$1="3",infographicCounterDefaultWeight$1="10",infographicCounterDefaultMaxValueColor$1="rgba(154,155,156,1)",infographicCounterDefaultShownValueColor$1="rgba(0,0,0,1)",infographicCounterDefaultMaxSteps$1=12,infographicCounterLineDefaultWeight$1="3",infographicCounterLineDefaultMaxValueColor$1="rgba(154,155,156,1)",infographicCounterLineDefaultShownValueColor$1="rgba(0,0,0,1)",infographicCounterLineDefaultMaxSteps$1=12,infographicCounterCircleStyles$1=createStyles$1(t$1.partial({animation:animation$1,box:box$1,color:color$1,font:font$1,margin:margin$1,visibility:visibility$1,container:container$1})),infographicCounterCircleBaseStyles$1={50:{color:"rgba(0,0,0,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2.125",unit:"rem"},weight:600,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"px",value:"0"}},animation:{duration:infographicCounterDefaultCountingDuration$1},box:{width:infographicCounterDefaultWeight$1,height:infographicCounterDefaultSize$1},container:{backgroundColor:infographicCounterDefaultMaxValueColor$1,color:infographicCounterDefaultShownValueColor$1}},40:{},30:{},20:{}},infographicCounterLineStyles$1=createStyles$1(t$1.partial({animation:animation$1,box:box$1,color:color$1,font:font$1,margin:margin$1,visibility:visibility$1,container:container$1})),infographicCounterLineBaseStyles$1={50:{color:"rgba(0,0,0,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2.125",unit:"rem"},weight:600,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"px",value:"0"}},animation:{duration:infographicCounterDefaultCountingDuration$1},box:{width:infographicCounterLineDefaultWeight$1,alignment:{horizontal:"left"}},container:{backgroundColor:infographicCounterLineDefaultMaxValueColor$1,color:infographicCounterLineDefaultShownValueColor$1}},40:{},30:{},20:{}},infographicCounterNumberStyles$1=createStyles$1(t$1.partial({animation:animation$1,box:box$1,color:color$1,font:font$1,margin:margin$1,visibility:visibility$1})),infographicCounterNumberBaseStyles$1={50:{animation:{duration:infographicCounterDefaultCountingDuration$1},color:"rgba(0,0,0,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"3",unit:"rem"},weight:600,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"px",value:"0"}}},40:{},30:{},20:{}},leadGenStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1})),leadGenBaseStyles$1={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}}},40:{},30:{},20:{}},DEFAULT_ICON_IDENTIFIER$1="arrow-1",DEFAULT_ICON_SIZE$2=32,pageScrollStyles$1=createStyles$1(t$1.partial({background:background$1,border:border$1,box:box$1,color:color$1,icon:icon$2,padding:padding$1,visibility:visibility$1,states:getStates$1({background:background$1,border:border$1,box:box$1,color:color$1,icon:icon$2,padding:padding$1})})),pageScrollBaseStyles$1={50:{background:{color:"rgba(0, 0, 0, 0.2)"},border:{bottom:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},left:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},right:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},top:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"}},box:{alignment:{horizontal:"center",vertical:"bottom"},corners:{bottomLeft:"34",bottomRight:"34",topLeft:"34",topRight:"34"},offset:{value:"20"},shadow:{blur:"0",color:"rgba(0, 0, 0, 0.3)",x:"0",y:"0"}},color:"rgba(255, 255, 255, 1)",icon:{custom:!1,identifier:DEFAULT_ICON_IDENTIFIER$1,size:`${DEFAULT_ICON_SIZE$2}`},padding:{bottom:{unit:"px",value:"18"},left:{unit:"px",value:"18"},right:{unit:"px",value:"18"},top:{unit:"px",value:"18"}},visibility:"visible",states:{hover:{}}},40:{},30:{states:{hover:{}}},20:{states:{hover:{}}}},pageStyles$1=createStyles$1(t$1.partial({background:background$1})),pageBaseStyles$1={50:{background:{color:"rgba(255, 255, 255, 1)"}},40:{},30:{},20:{}},socialStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,visibility:visibility$1})),socialBaseStyles$1={50:{border:{bottom:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},left:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},right:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},top:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"}},box:{height:"24",width:"24"},margin:{bottom:{unit:"px",value:"0"}}},40:{},30:{visibility:"visible"},20:{visibility:"visible"}},borderSpacingUnit$1=t$1.union([t$1.literal("px"),t$1.literal("vh"),t$1.literal("vw"),t$1.literal("em"),t$1.literal("rem")]),BorderSpacingInferred$1=t$1.partial({value:t$1.string,unit:borderSpacingUnit$1}),borderSpacing$1=BorderSpacingInferred$1,tableStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,borderSpacing:borderSpacing$1,margin:margin$1,visibility:visibility$1})),tableBaseStyles$1={50:{borderSpacing:{value:"2",unit:"px"},visibility:"visible"},40:{},30:{visibility:"visible"},20:{visibility:"visible"}},headerStyles$1=createStyles$1(t$1.partial({background:background$1})),dataStyles$1=createStyles$1(t$1.partial({background:background$1})),headerBaseStyles$1={50:{background:{color:"rgba(204, 204, 204, 1)"}},40:{},30:{},20:{}},dataBaseStyles$1={50:{background:{color:"rgba(240, 240, 240, 1)"}},40:{},30:{},20:{}},alternateStyles$1=createStyles$1(t$1.partial({background:background$1})),alternateBaseStyles$1={50:{background:{color:"rgba(88, 89, 91, 1)"}},40:{},30:{},20:{}},textItemStyles$1=createStyles$1(t$1.partial({box:box$1,color:color$1,font:font$1,margin:margin$1,background:background$1,border:border$1,padding:padding$1,states:getStates$1({font:font$1,color:color$1})})),textItemStylesAll$1={blockquote:textItemStyles$1,"header-one":textItemStyles$1,"header-two":textItemStyles$1,"header-three":textItemStyles$1,"header-four":textItemStyles$1,"header-five":textItemStyles$1,"header-six":textItemStyles$1,"ordered-list-item":textItemStyles$1,"unordered-list-item":textItemStyles$1,paragraph:textItemStyles$1,"table-header":textItemStyles$1,"table-data":textItemStyles$1},textItemBaseStylesAll$1={blockquote:{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"3",unit:"rem"},weight:600,style:"italic",lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}},background:{color:"transparent"},border:{},padding:{}},40:{},30:{},20:{}},"header-one":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"3.5",unit:"rem"},weight:700,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"3",unit:"rem"}}},20:{font:{size:{value:"2.625",unit:"rem"}}}},"header-two":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2.5",unit:"rem"},weight:700,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"2.25",unit:"rem"}}},20:{font:{size:{value:"2.125",unit:"rem"}}}},"header-three":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2",unit:"rem"},weight:700,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.75",unit:"rem"}}},20:{font:{size:{value:"1.625",unit:"rem"}}}},"header-four":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1.5",unit:"rem"},weight:700,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.375",unit:"rem"}}},20:{}},"header-five":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1.5",unit:"rem"},weight:600,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.375",unit:"rem"}}},20:{}},"header-six":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1.5",unit:"rem"},weight:600,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.375",unit:"rem"}}},20:{}},"ordered-list-item":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0"}}},40:{},30:{},20:{}},"unordered-list-item":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0"}}},40:{},30:{},20:{}},paragraph:{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{},20:{}},"table-header":{50:{color:"rgba(0, 0, 0, 1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},weight:700,lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},box:{alignment:{horizontal:"center"}}},40:{},30:{},20:{}},"table-data":{50:{color:"rgba(0, 0, 0, 1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},box:{alignment:{horizontal:"center"}}},40:{},30:{},20:{}}},textLinkStyles$1=createStyles$1(t$1.partial({color:color$1,font:font$1})),textLinkBaseStyles$1={50:{color:"inherit",font:{textDecoration:"underline"}},40:{},30:{},20:{}},textStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,color:color$1,margin:margin$1,padding:padding$1,visibility:visibility$1})),textBaseStyles$1={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"},width:"vw"},color:"rgba(51,51,51,1)",margin:{bottom:{unit:"px",value:"0"}},padding:{bottom:{unit:"px",value:"0"},left:{unit:"px",value:"0"},right:{unit:"px",value:"0"},top:{unit:"px",value:"0"}},visibility:"visible"},40:{},30:{visibility:"visible"},20:{visibility:"visible"}},identity$X="theme",entityStyles$1=t$1.type(w(f({background:backgroundStyles$1,block:blockStyles$1,button:buttonStyles$1,"button-secondary":buttonStyles$1,"column-scroll":columnScrollStyles$1,column:columnStyles$1,divider:dividerStyles$1,embed:embedStyles$1,"form-label":formLabelStyles$1,"form-list-dropdown":formListDropdownStyles$1,"form-list-checkbox":formListCheckboxStyles$1,"form-list-option":formListOptionStyles$1,"form-list-radio":formListRadioStyles$1,"form-placeholder":formPlaceholderStyles$1,"form-text":formTextStyles$1,form:formStyles$1,hotspot:hotspotStyles$1,image:imageStyles$1,overlay:overlayStyles$1,"page-scroll":pageScrollStyles$1,page:pageStyles$1,"lead-gen":leadGenStyles$1,row:rowStyles$1,social:socialStyles$1,table:tableStyles$1},textItemStylesAll$1),{"text-link":textLinkStyles$1,text:textStyles$1,video:videoStyles$1,"infographic-counter-number":infographicCounterNumberStyles$1,"infographic-counter-line":infographicCounterLineStyles$1,"infographic-counter-circle":infographicCounterCircleStyles$1})),themeEntity$1=new Entity$1(identity$X,{id:t$1.UUID,identity:t$1.literal(identity$X),parent:t$1.null,colors:t$1.type({main:t$1.union([t$1.string,t$1.null]),light:t$1.union([t$1.string,t$1.null]),dark:t$1.union([t$1.string,t$1.null])}),swatches:t$1.array(t$1.string),navigation:t$1.type({position:t$1.union([t$1.literal("top"),t$1.literal("bottom")]),pageNames:t$1.boolean,activePageName:t$1.boolean,logo:t$1.type({assetRef:t$1.union([t$1.string,t$1.null])}),favicon:t$1.type({assetRef:t$1.union([t$1.string,t$1.null])}),bar:createStyles$1(t$1.partial({background:background$1,color:color$1,active:color$1,font:font$1})),prevNext:createStyles$1(t$1.partial({background:background$1,color:color$1,states:getStates$1({background:background$1,color:color$1})})),depthIndicator:createStyles$1(t$1.partial({background:background$1}))}),socialOptions:t$1.array(t$1.union([t$1.literal("facebook"),t$1.literal("twitter"),t$1.literal("linkedin"),t$1.literal("xing"),t$1.literal("whatsapp"),t$1.literal("mail"),t$1.literal("pinterest"),t$1.literal("line")])),activatedFonts:t$1.array(t$1.type({assetRef:t$1.string})),refs:t$1.null,entityStyles:entityStyles$1,additionalEntityStyles:t$1.type({table:t$1.type({headerStyles:headerStyles$1,dataStyles:dataStyles$1,alternateStyles:alternateStyles$1})})},{id:void 0,identity:identity$X,parent:null,colors:{main:"rgba(255,89,49,1)",light:"rgba(255,255,255,1)",dark:"rgba(31,32,35,1)"},swatches:["rgba(0,0,0,1)","rgba(255,255,255,1)","rgba(77,77,77,1)","rgba(128,128,128,1)","rgba(204,204,204,1)","rgba(240,240,240,1)","linear-gradient(0deg,rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%)","linear-gradient(45deg,rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%)","radial-gradient(circle farthest-side at center, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 100%)"],navigation:{position:"top",activePageName:!0,pageNames:!1,logo:{assetRef:null},favicon:{assetRef:null},bar:{50:{background:{color:"rgba(0,0,0,0.2)"},color:"rgba(255,255,255,1)",active:"rgba(0,0,0,0.2)",font:{size:{value:"1",unit:"rem"}}},40:{},30:{},20:{}},prevNext:{50:{background:{color:"rgba(0,0,0,0.2)"},states:{hover:{}},color:"rgba(255,255,255,1)"},40:{},30:{},20:{}},depthIndicator:{50:{background:{color:"rgba(252,82,29,1)"}},40:{},30:{},20:{}}},socialOptions:[],activatedFonts:[],refs:null,entityStyles:w(f({background:backgroundBaseStyles$1,block:blockBaseStyles$1,button:buttonBaseStyles$1,"button-secondary":secondaryButtonBaseStyles$1,"column-scroll":columnScrollBaseStyles$1,column:columnBaseStyles$1,divider:dividerBaseStyles$1,embed:embedBaseStyles$1,"form-label":formLabelBaseStyles$1,"form-list-dropdown":formListDropdownBaseStyles$1,"form-list-checkbox":formListCheckboxBaseStyles$1,"form-list-option":formListOptionBaseStyles$1,"form-list-radio":formListRadioBaseStyles$1,"form-placeholder":formPlaceholderBaseStyles$1,"form-text":formTextBaseStyles$1,form:formBaseStyles$1,hotspot:hotspotBaseStyles$1,image:imageBaseStyles$1,overlay:overlayBaseStyles$1,"page-scroll":pageScrollBaseStyles$1,page:pageBaseStyles$1,"lead-gen":leadGenBaseStyles$1,row:rowBaseStyles$1,social:socialBaseStyles$1,table:tableBaseStyles$1},textItemBaseStylesAll$1),{"text-link":textLinkBaseStyles$1,text:textBaseStyles$1,video:videoBaseStyles$1,"infographic-counter-number":infographicCounterNumberBaseStyles$1,"infographic-counter-line":infographicCounterLineBaseStyles$1,"infographic-counter-circle":infographicCounterCircleBaseStyles$1}),additionalEntityStyles:{table:{headerStyles:headerBaseStyles$1,dataStyles:dataBaseStyles$1,alternateStyles:alternateBaseStyles$1}}}),Theme$1={entity:themeEntity$1,identity:identity$X};react.exports.createContext({});t$1.type({name:t$1.string,typefaces:t$1.array(t$1.type({weight:t$1.number,isItalic:t$1.boolean,woff:t$1.string,extension:t$1.string})),url:t$1.string});styled.div`
	display: block;
	white-space: pre-wrap;
	padding: 12px 20px;
	transition: all 0.3s ease 0s;
	position: relative;
	width: fit-content;

	&& div.link-name-displayer {
		padding: 2px 4px;
		top: -5px;
		right: -10px;
	}

	/* .left/.right/.center/.justify are triggered by the RTE in the editor */
	.left {
		text-align: left;
	}
	.center {
		text-align: center;
	}
	.right {
		text-align: right;
	}
	.justify {
		text-align: justify;
	}

	${({shouldRenderAllStyles:e,styles:i})=>e&&i};

	&:hover {
		background-image: initial;
	}
`;styled.div`
	width: 100%;
	text-align: ${e=>e.textAlign};
	position: relative;
	pointer-events: auto;

	${({styles:e})=>e};
`;const identity$W="table-cell",EntityInferred$19=new Entity$1("text",{id:t$1.UUID,parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1g)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1h)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1i)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$W)})]),identity:t$1.literal(identity$1o),styleMap:t$1.union([t$1.map(t$1.string,t$1.map(t$1.string,t$1.string)),t$1.null]),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1n)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1f)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1e)})])),styles:textStyles$1},{id:void 0,identity:identity$1o,parent:void 0,styleMap:null,refs:[]}),entity$19=EntityInferred$19,Text$4={entity:entity$19,identity:identity$1o};styled.div`
	position: relative;
	${({styles:e})=>e}
`;styled.span`
	${({styles:e})=>e}
`;const textItemTypes$1=t$1.union([t$1.literal("header-one"),t$1.literal("header-two"),t$1.literal("header-three"),t$1.literal("header-four"),t$1.literal("header-five"),t$1.literal("header-six"),t$1.literal("paragraph"),t$1.literal("blockquote"),t$1.literal("ordered-list-item"),t$1.literal("unordered-list-item"),t$1.literal("button"),t$1.literal("table-header"),t$1.literal("table-data")]);t$1.literal("text-link");t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1e),type:textItemTypes$1});const InlineStyleRangeInferred$1=t$1.type({offset:t$1.number,length:t$1.number,style:t$1.string}),InlineEntityRangeInferred$1=t$1.type({offset:t$1.number,length:t$1.number,key:t$1.number}),InlinePersonalizationPropertyInferred$1=t$1.type({offset:t$1.number,length:t$1.number,key:t$1.number,refId:t$1.number,identifier:t$1.string}),EntityInferred$18=new Entity$1(identity$1e,{id:t$1.UUID,parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1o)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1r)})]),identity:t$1.literal(identity$1e),type:textItemTypes$1,text:t$1.string,depth:t$1.number,inlineStyleRanges:t$1.union([t$1.array(InlineStyleRangeInferred$1),t$1.undefined]),inlineHoverStyleRanges:t$1.union([t$1.array(InlineStyleRangeInferred$1),t$1.undefined]),entityRanges:t$1.union([t$1.array(InlineEntityRangeInferred$1),t$1.undefined]),personalizationProperties:t$1.union([t$1.array(InlinePersonalizationPropertyInferred$1),t$1.undefined]),styles:textItemStyles$1},{id:void 0,identity:identity$1e,parent:void 0,type:void 0,text:void 0,depth:0,inlineStyleRanges:void 0,inlineHoverStyleRanges:void 0,personalizationProperties:void 0,entityRanges:void 0}),entity$18=EntityInferred$18,TextItem$2={entity:entity$18,identity:identity$1e},animationDuration$1=840,getStartingPoint$1=e=>e==="imRevealLeftToRight"?"left: 0":e==="imRevealRightToLeft"?"right: 0":"";styled.div`
	position: relative;
	align-self: flex-start;
	display: flex;
	width: 100%;
	max-width: ${({styles:e})=>e&&e.width};

	.${GLOBAL_ANIMATION_CLASS$1} &&:before {
		content: '';
		background: ${({revealAnimation:e})=>e.revealBarColor||"rgba(25,178,210,1)"};
		position: absolute;
		width: 100%;
		height: 100%;
		top: -0.1em;
		z-index: 1;
		padding: 0.1em 0;
		box-sizing: content-box;
		animation-fill-mode: both;
		animation-delay: ${({revealAnimation:e})=>`${e.delay}ms`};
		animation-timing-function: cubic-bezier(0.5, 0.25, 0.5, 0.75);
		animation-duration: ${animationDuration$1}ms;
		${({revealAnimation:e})=>getStartingPoint$1(e.animationName)}
	}

	.${GLOBAL_ANIMATION_CLASS$1} .in-viewport &&:before {
		animation-name: ${({revealAnimation:e})=>e.animationName};
	}
`;styled.div`
	display: inline-block;
	width: 100%;
	animation-duration: ${animationDuration$1}ms;
	animation-delay: ${({revealAnimation:e})=>`${e.delay}ms`};
	animation-fill-mode: both;

	.${GLOBAL_ANIMATION_CLASS$1} .in-viewport && {
		animation-name: imRevealContent;
	}
`;styled.div`
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: manual;
	white-space: pre-wrap;
	padding: 0;
	margin: 0;
	cursor: text;
	position: relative;
	${({styles:e})=>e}
`;styled.span`
	box-decoration-break: clone;
`;var CSSIdentifiers$7;(function(e){e.Container="ripley__Image--container",e.FigureWrapper="ripley__Image--figure-wrapper",e.Image="ripley__Image--image"})(CSSIdentifiers$7||(CSSIdentifiers$7={}));styled.div`
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	justify-content: center;
	align-items: center;

	.${CSSIdentifiers$7.Container} {
		position: absolute;
		z-index: 98;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.${CSSIdentifiers$7.FigureWrapper} {
		height: 100%;
		margin-bottom: 0;
	}

	.${CSSIdentifiers$7.Image} {
		height: 100%;
		cursor: pointer;
	}
`;const defaultHotspotStyles$1=Ce`
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	pointer-events: none;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
`;styled.div`
	${defaultHotspotStyles$1}
`;var Position$1;(function(e){e.top="top",e.bottom="bottom",e.left="left",e.right="right"})(Position$1||(Position$1={}));styled.div`
	cursor: default;
	display: flex;
	position: absolute;
	width: 300px;
	${({styles:e})=>e}
`;styled.div`
	cursor: default;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.87);
	color: #fff;
	padding: 12px 10px;
	text-align: center;
	font-family: Verdana;
	border-radius: 2;
	font-size: 16;
	z-index: 101;
	letter-spacing: initial;
`;styled.div`
	display: flex;
	position: absolute;
	z-index: 2 !important;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	justify-content: center;
	align-items: center;

	a {
		z-index: 99;
		height: 100%;
		min-width: 100%;
    cursor: pointer;
	}

	&:hover {
		z-index: 100;
	}

	${({custom:e})=>e&&`
			background-color: transparent !important;
			overflow: hidden;
		`}

	${({styles:e})=>e}
`;styled.div.attrs(({styles:e})=>({style:e}))`
	position: absolute;
	// zIndex override for usage with the editor
	z-index: ${({styles:e})=>{var i;return(i=e.zIndex)!=null?i:2}};

	:hover {
		z-index: 3;
	}

	& div.link-name-displayer {
		padding: 5px 4px;
		top: -5px;
		right: -10px;
	}
`;var CSSIdentifiers$6;(function(e){e.BlockInnerWrapper="ripley__Block--wrapper-inner"})(CSSIdentifiers$6||(CSSIdentifiers$6={}));const VIEWER_BAR_HEIGHT$1="52px",getTopBasedOnViewerBarVisibility$1=()=>getTopCssValue$1(getHasTopBar$1()),getTopCssValue$1=e=>e?VIEWER_BAR_HEIGHT$1:"0px",isViewerHost$1=e=>/^(localhost:[0-9]{1,4})|(viewer\.foleon\.com)|(viewer\.staging\.foleon\.cloud)|([0-9]{1,4}\.viewer-staging\.pages\.dev)|([0-9]{1,4}-viewer\.qa\.staging\.foleon\.cloud)|(viewer\.acceptance\.foleon\.cloud)$/.test(e),PERSONALIZE$1=/^\/personalize\/[a-zA-Z0-9_-]+\//,PREVIEW$1=/^\/preview\/[a-zA-Z0-9_-]+\//,REVIEW_LEGACY$1=/^\/(?:review\/)?[0-9]+\//,REVIEW$1=/^\/comments\/[a-zA-Z0-9_-]+\//,isPersonalizingDoc$1=()=>{if(typeof window!="undefined"){const{pathname:e,host:i}=window.location;return isViewerHost$1(i)&&PERSONALIZE$1.test(e)}return!1},isPreviewingDoc$1=()=>{if(typeof window!="undefined"){const{pathname:e,host:i}=window.location;return isViewerHost$1(i)&&PREVIEW$1.test(e)}return!1},isReviewingDoc$1=()=>{if(typeof window!="undefined"){const{pathname:e,host:i}=window.location;return isViewerHost$1(i)&&(REVIEW$1.test(e)||REVIEW_LEGACY$1.test(e))}return!1},getHasTopBar$1=()=>isPreviewingDoc$1()||isReviewingDoc$1()||isPersonalizingDoc$1();var VisibilitiesEnum$1;(function(e){e.SCREEN_FULL="SCREEN_FULL",e.SCREEN_MIN="SCREEN_MIN",e.ANIMATION_IN="ANIMATION_IN",e.ANIMATION_OUT="ANIMATION_OUT"})(VisibilitiesEnum$1||(VisibilitiesEnum$1={}));var ScrollDirectionEnum$1;(function(e){e.UP="UP",e.DOWN="DOWN"})(ScrollDirectionEnum$1||(ScrollDirectionEnum$1={}));styled.div`
	display: flex;
	position: relative;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	min-height: 100%;
	border-radius: inherit;
	justify-content: center;
	overflow: visible;

	${({styles:e})=>e}
`;const getVisibility$1=(e,i,n)=>n?i:e;var Actions$1;(function(e){e.START="start",e.FREEZE="freeze",e.DEFER="defer"})(Actions$1||(Actions$1={}));var States$2;(function(e){e.IDLE="idle",e.DEFERRED="deferred",e.FROZEN="frozen",e.ACTIVE="active"})(States$2||(States$2={}));const machine$1={[States$2.DEFERRED]:{[Actions$1.START]:States$2.ACTIVE},[States$2.ACTIVE]:{[Actions$1.DEFER]:States$2.DEFERRED,[Actions$1.FREEZE]:States$2.FROZEN},[States$2.FROZEN]:{[Actions$1.START]:States$2.ACTIVE,[Actions$1.FREEZE]:States$2.FROZEN,[Actions$1.DEFER]:States$2.FROZEN},[States$2.IDLE]:{[Actions$1.START]:States$2.ACTIVE,[Actions$1.DEFER]:States$2.DEFERRED,[Actions$1.FREEZE]:States$2.FROZEN}},transition$1=(e,i)=>{const n=machine$1[e][i];return{newState:n,prevState:e,isChanged:n!==e}},shouldBlock$1=e=>e.hasBeenInViewport&&e.triggerContentAnimationOnce&&!e.isInEditor;class ViewportCSSNotifier$1 extends React.Component{constructor(i){super(i);b(this,"handleAnimationState");b(this,"machineState");b(this,"prevMachineState");b(this,"htmlNode");b(this,"_isVisible");this.handleCSSClass=this.handleCSSClass.bind(this),this.handleViewportUpdate=this.handleViewportUpdate.bind(this),this.setAnimationReadyState=this.setAnimationReadyState.bind(this),this._isVisible=!1,this.machineState=shouldBlock$1(i)?States$2.FROZEN:States$2.IDLE,this.htmlNode=i.htmlNode||null}componentDidMount(){this.props.isTransitioning?this.props.isTransitioning&&(this.setAnimationReadyState(Actions$1.DEFER),this.handleViewportUpdate(this.props)):(this.setAnimationReadyState(Actions$1.START),this.handleViewportUpdate(this.props))}componentDidUpdate(i){this.machineState===States$2.DEFERRED&&!this.props.isTransitioning&&(this.setAnimationReadyState(Actions$1.START),this.handleViewportUpdate(this.props)),this.machineState===States$2.ACTIVE&&!this.props.isTransitioning&&this.handleViewportUpdate(this.props),this.props.triggerContentAnimationOnce!==i.triggerContentAnimationOnce&&(this.props.triggerContentAnimationOnce?this.setAnimationReadyState(Actions$1.FREEZE):this.props.triggerContentAnimationOnce||this.setAnimationReadyState(Actions$1.START)),this.props.isInEditor?(this.setAnimationReadyState(Actions$1.DEFER),this.handleViewportUpdate(this.props)):this.props.styleSize!==i.styleSize&&this.handleViewportUpdate(this.props)}setAnimationReadyState(i){const{newState:n,prevState:o}=transition$1(this.machineState,i);this.machineState=n,this.prevMachineState=o}handleViewportUpdate(i){this.machineState===States$2.DEFERRED?this.handleCSSClass(i,!0,!1):this.machineState===States$2.ACTIVE?this.handleCSSClass(i,!1,!1):this.machineState===States$2.FROZEN&&this.handleCSSClass(i,!1,!0)}handleCSSClass(i,n=!1,o=!1){const{htmlNode:r}=this,{scrollDirection:a,outTrigger:s,inTrigger:l,triggerContentAnimationOnce:u}=i;if(r!=null){if(this.machineState===States$2.FROZEN){o&&r.classList.add("in-viewport-fired"),this.props.isInEditor&&(r.classList.remove("in-viewport-fired"),r.classList.add("in-viewport"));return}const c=a==="DOWN",d=getVisibility$1(l,s,this._isVisible);d?(r.classList.remove("in-viewport-pending"),r.classList.add("in-viewport"),this._isVisible=!0,u&&this.setAnimationReadyState(Actions$1.FREEZE)):(!d||n)&&(r.classList.add("in-viewport-pending"),r.classList.remove("in-viewport"),this._isVisible=!1),c?(r.classList.add("scrolling-down"),r.classList.remove("scrolling-up")):(r.classList.add("scrolling-up"),r.classList.remove("scrolling-down"))}}render(){return null}}b(ViewportCSSNotifier$1,"defaultProps",{isInEditor:!1});styled.section`
	display: flex;
	width: 100%;
	justify-content: center;
	min-height: 50px;
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	border-radius: inherit;

	${({stylesMergedWithCornerStyles:e})=>e}
`;styled.div`
	flex: 1 1 auto;
	display: flex;
	width: 100%;
	border-radius: inherit;
	max-width: 1024px;
`;styled.div`
	position: absolute;
	outline: rgb(146, 0, 220) solid 1px;
	pointer-events: none;
	z-index: 38;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
`;var BarPosition$1;(function(e){e.Bottom="bottom",e.BottomWithMenu="bottom-withMenuBar",e.Float="float",e.Left="left",e.Right="right",e.Top="top",e.TopWithMenu="top-withMenuBar"})(BarPosition$1||(BarPosition$1={}));const BAR_HEIGHT$1=57;var PageArrowsPlacement$1;(function(e){e.Center="Center",e.Bottom="Bottom"})(PageArrowsPlacement$1||(PageArrowsPlacement$1={}));var SneakPreviewType$1;(function(e){e.Card="Card",e.Tooltip="Tooltip"})(SneakPreviewType$1||(SneakPreviewType$1={}));var PageOverviewType$1;(function(e){e.Grid="Grid",e.Horizontal="Horizontal",e.NewGrid="NewGrid"})(PageOverviewType$1||(PageOverviewType$1={}));const PAGE_DESCRIPTION_LENGTH$1=144;var ScrollDirection$1;(function(e){e.Down="down",e.Up="up"})(ScrollDirection$1||(ScrollDirection$1={}));const getBarOffset$1=e=>({container:e===BarPosition$1.Left?{height:100,measure:"vh"}:{height:57,measure:"px"},inner:e===BarPosition$1.Left?{width:60,measure:"px"}:void 0}),SCROLL_BUTTON_ICON_SIZE$1=40;styled.div`
	display: block;
	position: absolute;
	z-index: 40;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	pointer-events: none;
`;styled.div`
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	pointer-events: none;
`;styled.div`
	${({styles:e})=>!isEmpty_1(e)&&Ce`
			${e}
		`}
`;styled.div`
	overflow: hidden;
	width: ${SCROLL_BUTTON_ICON_SIZE$1}px;
	background: rgba(125, 125, 125, 0.5);
	color: white;
	cursor: pointer;
	pointer-events: all;
	${({styles:e})=>!isEmpty_1(e)&&Ce`
			${e}
		`}
`;styled.div`
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	display: inherit;
	flex-direction: inherit;
	justify-content: inherit;
	align-items: inherit;
	width: 100%;

	${({styles:e})=>e}

	.item-section-column-children-container-inner {
		display: inherit;
		flex: inherit;
		flex-direction: inherit;
		justify-content: inherit;
		align-items: inherit;
		width: 100%;
	}
`;styled.div`
	display: flex;
	position: relative;
	flex-direction: column;
	flex: 1 auto;
	max-height: 100%;
	box-sizing: border-box;

	/** Editor specific override.
		When inheriting display and flex applying these values to the space-resizer(s) breaks the UI because it will
		"fight" with other column children for space. By using :not() we exclude just the space-resizer(s)
	*/
	&.im-column-inner > :not(.space-resizer__click-outside) > *,
	& .im-column-inner > :not(.space-resizer__click-outside) > * {
		display: flex;
		flex-direction: inherit;
		align-items: inherit;
	}

	.im-column-inner {
		display: flex;
		flex: 1 100%;
		border-radius: inherit;
	}

	${({styles:e})=>e}

	${({isScrollable:e})=>e&&`
			justify-content: flex-start;
		`}
`;styled.div`
	display: flex;
	position: relative;
	flex-direction: column;
	flex: 1 auto;
	max-height: 100%;
	box-sizing: border-box;

	/** Editor specific override.
	 When inheriting display and flex applying these values to the space-resizer(s) breaks the UI because it will
	 "fight" with other column children for space. By using :not() we exclude just the space-resizer(s) */
	&.im-column-inner > :not(.space-resizer__click-outside),
	& .im-column-inner > :not(.space-resizer__click-outside) {
		display: flex;
		flex-direction: inherit;
		align-items: inherit;
	}

	.im-column-inner {
		display: flex;
		flex: 1 1 auto;
		align-items: inherit;
		flex-direction: inherit;
		justify-content: inherit;
		border-radius: inherit;
	}

	${({styles:e})=>e}
	${({refresh:e})=>e&&"* {}"}
`;BarPosition$1.Top;const identity$V="condition";var ConditionTypeKeys$1;(function(e){e.personalization="personalization"})(ConditionTypeKeys$1||(ConditionTypeKeys$1={}));var ConditionActionKeys$1;(function(e){e.hide="hide",e.show="show"})(ConditionActionKeys$1||(ConditionActionKeys$1={}));const personalization$2=t$1.type({type:t$1.literal(ConditionTypeKeys$1.personalization),action:t$1.union([t$1.literal(ConditionActionKeys$1.hide),t$1.literal(ConditionActionKeys$1.show)])}),EntityInferred$17=new Entity$1(identity$V,{id:t$1.UUID,identity:t$1.literal(identity$V),options:t$1.union([personalization$2,t$1.null]),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1c)}),t$1.null]),rules:t$1.json},{id:void 0,identity:identity$V,options:void 0,parent:void 0,rules:void 0}),entity$17=EntityInferred$17;t$1.type({id:t$1.UUID,identity:t$1.literal(identity$V)});const Condition$1={entity:entity$17,identity:identity$V};var ConditionRuleType$1;(function(e){e.in="in",e.not_in="not_in"})(ConditionRuleType$1||(ConditionRuleType$1={}));var ConditionRuleGroupType$1;(function(e){e.and="and",e.or="or"})(ConditionRuleGroupType$1||(ConditionRuleGroupType$1={}));const not_in$1=(e,i)=>!i.includes(e);jsonLogic.add_operation("not_in",not_in$1);styled.div`
	display: flex;
	flex-direction: inherit;
	align-items: inherit;
	width: 100%;
`;styled.hr`
	${({styles:e})=>e}

	margin-inline-end: unset;
	margin-inline-start: unset;
	max-width: 100%;
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	border-top: 0;
	border-right: 0;
	border-left: 0;
`;const EntityInferred$16=new Entity$1(identity$18,{id:t$1.UUID,parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1l),t$1.literal(identity$1i)])}),options:t$1.union([t$1.type({type:t$1.literal("website"),url:t$1.union([t$1.string,t$1.null])}),t$1.type({type:t$1.literal("code"),value:t$1.string})]),hasDynamicHeight:t$1.boolean,identity:t$1.literal(identity$18),styles:embedStyles$1},{id:void 0,options:void 0,parent:void 0,hasDynamicHeight:!1,identity:identity$18}),entity$16=EntityInferred$16,Embed$2={entity:entity$16,identity:identity$18};var EmbedCSSIdentifiers$1;(function(e){e.FigureWrapper="ripley__Embed--figure-wrapper"})(EmbedCSSIdentifiers$1||(EmbedCSSIdentifiers$1={}));createBoxToCSS$1({overrides:{height:(e,i,n)=>{n==null||n("maxHeight",`${i}px`),n==null||n("height",`${i}px`)},width:(e,i,n)=>{n==null||n("maxWidth",`${i}px`)},alignment:(e,i,n)=>{(i==null?void 0:i.horizontal)&&(n==null||n("alignSelf",getAlignContent$1(i==null?void 0:i.horizontal)))},overflow:(e,i)=>{(i==null?void 0:i.y)&&(e.iframe={overflow:"hidden",position:"absolute",top:`${0}px`,left:`${0}px`,pointerEvents:"auto"})}},cssSelector:`.${EmbedCSSIdentifiers$1.FigureWrapper}`});createBorderToCSS$1({cssSelector:`.${EmbedCSSIdentifiers$1.FigureWrapper}`});const MainContainer$1=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	border: solid 1px #14284b;
	background-color: #e1e4e8;
`,Content$1=styled.div`
	display: flex;
`,Arrow$1=styled.div`
	width: 5px;
	height: 5px;
	border: 1px solid #ffffff;
	border-left: 0;
	border-top: 0;
`,ArrowLeft$1=styled(Arrow$1)`
	transform: rotate(135deg);
`,ArrowRight$1=styled(Arrow$1)`
	transform: rotate(315deg);
`,IconContainer$2=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	background-color: #14284b;
	margin-right: 3px;
`,UrlContainer$1=styled.div`
	display: flex;
	width: 148px;
	height: 24px;
	border-radius: 4px;
	background-color: #ffffff;
`,UrlText$1=styled.p`
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	height: 24px;
	font-size: 7px;
	font-weight: 500;
	font-style: normal;
	font-stretch: normal;
	letter-spacing: normal;
	text-overflow: ellipsis;
	line-height: 3.43;
	color: #8a94a6;
	padding: 0 1em;
`,EmbedPlaceholder$1=({url:e=""})=>React.createElement(MainContainer$1,null,React.createElement(Content$1,null,React.createElement(IconContainer$2,null,React.createElement(ArrowLeft$1,null),React.createElement(ArrowRight$1,null)),React.createElement(UrlContainer$1,null,React.createElement(UrlText$1,null,e)))),WHITELISTED_EMBED_DOMAINS$1=["https://datawrapper.dwcdn.net"],prepareUrl$1=e=>e.replace("https://www.","https://"),isWhitelistedEmbedDomain$1=e=>{if(!e||typeof e!="string")return!1;for(const i of WHITELISTED_EMBED_DOMAINS$1)if(prepareUrl$1(e).indexOf(i)===0)return!0;return!1};styled.div`
	${({styles:e})=>e}

	// Added "&&" specificity selector to allow style overrides to be added from the Editor.
	&& {
		${({iFrameStyles:e})=>e}
	}
`;styled.div`
	display: inherit;
	flex-direction: inherit;
	align-items: inherit;
	flex: 0 0 auto;
	line-height: 0;
	width: 100%;

	${({styles:e})=>Ce`
			${e}
		`}
`;styled.figure`
	display: inline-block;
	width: 100%;
	position: relative;
	box-sizing: border-box;
	margin: 0;

	${({hasDynamicHeight:e})=>e?`
				height: unset;
				max-height: unset;
			`:""}

	${({figureHeight:e})=>e?`
				height: ${e}px !important;
				max-height: ${e}px !important;
			`:""}

  ${({figureStyles:e})=>e}
`;const StyledIframe$1=styled.iframe`
	border: none;
	min-width: 100%;
	width: 100%;

	// Added "&&" specificity selector to allow style overrides to be added from the Editor.
	&& {
		${({iFrameStyles:e})=>e}
	}
`,overflowToScrollingAttribute$1={auto:"auto",hidden:"no",scroll:"yes"};React.memo(({iFrameStyles:e,isPrint:i,overflow:n,value:o})=>i&&!isWhitelistedEmbedDomain$1(o)?React.createElement(EmbedPlaceholder$1,{url:o}):typeof window!="undefined"&&window.DISABLE_EMBED&&!isWhitelistedEmbedDomain$1(o)||!VALID_SECURE_URL$1.test(o||"")?null:React.createElement(StyledIframe$1,{"data-testid":"@foleon/maggie-viewer_iframe-embed-component",height:"100%",iFrameStyles:e,scrolling:overflowToScrollingAttribute$1[n]||n||"auto",src:o,title:o,width:"100%"}));const identity$U="form-list-checkbox",identity$T="form-list-dropdown",identity$S="form-list-radio",identity$R="form-text",EntityInferred$15=new Entity$1(identity$1h,{id:t$1.UUID,parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1g)})]),name:t$1.union([t$1.string,t$1.null]),legacyFormId:t$1.union([t$1.number,t$1.undefined]),submitEndpoint:t$1.union([t$1.string,t$1.null,t$1.undefined]),successMessage:t$1.union([t$1.string,t$1.null]),successEmail:t$1.union([t$1.string,t$1.null]),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$U)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$T)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$S)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$R)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$19)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1o)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1r)})])),identity:t$1.literal(identity$1h),styles:formStyles$1},{id:void 0,identity:identity$1h,parent:void 0,name:void 0,legacyFormId:void 0,submitEndpoint:void 0,successMessage:void 0,successEmail:void 0,refs:[]}),entity$15=EntityInferred$15,Form$2={entity:entity$15,identity:identity$1h};styled.div`
	display: flex;
	flex-direction: column;
	text-align: left;

	${({styles:e})=>e}
`;var ANSWER;(function(e){e[e.DENY=0]="DENY",e[e.ALLOW=1]="ALLOW"})(ANSWER||(ANSWER={}));var STATUS;(function(e){e.ACCEPTED="accepted",e.NOT_ACCEPTED="not_accepted",e.CANCELED="canceled",e.REQUEST="request"})(STATUS||(STATUS={}));var CC_OPTIONS;(function(e){e.PREFERENCES="preferences",e.STATISTICS="statistics",e.MARKETING="marketing"})(CC_OPTIONS||(CC_OPTIONS={}));var COOKIE_NAME={DATE:"cc_date",SETTINGS:"cc_settings",STATUS:"cc_status"},COOKIE_CONSENT_EVENT;(function(e){e.CHANGE="cc_change",e.CHANGE_STATUS="cc_status"})(COOKIE_CONSENT_EVENT||(COOKIE_CONSENT_EVENT={}));var DATA_COOKIE_CONSENT="data-cookieconsent",updateGTM=function(e,i){var n;typeof window!="undefined"&&(!window.dataLayer||window.dataLayer.push((n={event:"set_cookieconsent_".concat(e)},n["allow_cookieconsent_".concat(e)]=i===ANSWER.ALLOW,n)))},ScriptLoader$1=function(){function ScriptLoader(){var e;this.scripts=(e={},e[CC_OPTIONS.MARKETING]=[],e[CC_OPTIONS.STATISTICS]=[],e[CC_OPTIONS.PREFERENCES]=[],e),this.allowScriptSet=this.allowScriptSet.bind(this),this.revokeScriptSet=this.revokeScriptSet.bind(this),this.replaceScript=this.replaceScript.bind(this),this.deleteScript=this.deleteScript.bind(this),this.addScript=this.addScript.bind(this),this.loadScript=this.loadScript.bind(this),this.init=this.init.bind(this)}return ScriptLoader.prototype.init=function(){var e=this;Array.from(document.querySelectorAll("[".concat(DATA_COOKIE_CONSENT,"]"))).map(function(i){var n=i.getAttribute(DATA_COOKIE_CONSENT);e.scripts[n]&&e.addScript(n,i)})},ScriptLoader.prototype.disableScript=function(e){e.type="text/plain",e.src&&(e.setAttribute("data-src",e.src),e.removeAttribute("src"))},ScriptLoader.prototype.replaceScript=function(e,i,n){var o=this.scripts[e].findIndex(function(r){return r===i});o&&(this.scripts[e][o]=n)},ScriptLoader.prototype.addScript=function(e,i){!this.scripts[e].includes(i)&&this.scripts[e].push(i)},ScriptLoader.prototype.deleteScript=function(e,i){this.scripts[e]=this.scripts[e].filter(function(n){return n.id!==i})},ScriptLoader.prototype.loadScript=function(script){var ccOption=script.getAttribute(DATA_COOKIE_CONSENT);if(this.scripts[ccOption]){this.addScript(ccOption,script);var src=script.getAttribute("data-src");if(script.type="text/javascript",src)script.src=src;else if(script.tagName.toLowerCase()==="script"&&script.innerText)try{eval(script.innerText)}catch(e){console.error("Couldn't exec",script.innerText)}}},ScriptLoader.prototype.allowScriptSet=function(e){var i=this;this.scripts[e].forEach(function(n){return i.loadScript(n)})},ScriptLoader.prototype.revokeScriptSet=function(e){var i=this;this.scripts[e].forEach(function(n){return i.disableScript(n)})},ScriptLoader}(),scriptLoader=new ScriptLoader$1;typeof window!="undefined"&&scriptLoader.init();var CookieAdapter={canUse:function(){return typeof document!="undefined"&&typeof document.cookie!="undefined"},getItem:function(e){var i=e.length+1;return document.cookie.split(";").map(function(n){return n.trim()}).filter(function(n){return n.substring(0,i)==="".concat(e,"=")}).map(function(n){return decodeURIComponent(n.substring(i))})[0]||null},setItem:function(e,i){var n=new Date;n.setTime(n.getTime()+365*24*60*60*1e3),document.cookie="".concat(e,"=").concat(i,"; expires=").concat(n.toUTCString(),"; path=/")}},LocalStorageAdapter={canUse:function(){try{return typeof localStorage!="undefined"}catch{return!1}},getItem:function(e){return localStorage.getItem(e)},removeItem:function(e){return localStorage.removeItem(e)},setItem:function(e,i){return localStorage.setItem(e,i)}},memory={},MemoryAdapter={canUse:function(){return!0},getItem:function(e){return memory[e]},setItem:function(e,i){memory[e]=i}},Adapter=function(e){return e.find(function(i){return i.canUse()})||e[0]}([LocalStorageAdapter,CookieAdapter,MemoryAdapter]),getItem=function(e){return Adapter.getItem(e)},removeItem=function(e){return Adapter.removeItem&&Adapter.removeItem(e)},setItem=function(e,i){return Adapter.setItem(e,i)},__assign=globalThis&&globalThis.__assign||function(){return __assign=Object.assign||function(e){for(var i,n=1,o=arguments.length;n<o;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},__assign.apply(this,arguments)},getDefaultSettings=function(){var e;return e={},e[CC_OPTIONS.PREFERENCES]=ANSWER.ALLOW,e[CC_OPTIONS.STATISTICS]=ANSWER.DENY,e[CC_OPTIONS.MARKETING]=ANSWER.DENY,e},listeners=typeof window!="undefined"?window.ccListeners||{}:{},ccConfig=typeof window!="undefined"?window.ccConfig||{}:{},dispatch=function(e,i){(listeners[e]||[]).forEach(function(n){n(i)})},defaultConfig={},getConfig$1=function(){return __assign(__assign({},defaultConfig),ccConfig)},getStoredSettings=function(){var e=getItem(COOKIE_NAME.SETTINGS);if(e){var i=getItem(COOKIE_NAME.DATE);i?isCookieExpired(i)&&(removeItem(COOKIE_NAME.DATE),removeItem(COOKIE_NAME.SETTINGS),removeItem(COOKIE_NAME.STATUS),e=getDefaultSettings()):setItem(COOKIE_NAME.DATE,new Date().getTime().toString())}else return getDefaultSettings();try{return __assign(__assign({},getDefaultSettings()),JSON.parse(e))}catch{return getDefaultSettings()}},oneDay=24*60*60*1e3,isCookieExpired=function(e){var i=new Date(parseInt(e)).getTime(),n=new Date().getTime(),o=Math.round(Math.abs((i-n)/oneDay));return o>364},SettingsService=function(){function e(){this.previous={},this.config={},this.current=getStoredSettings(),this.config=getConfig$1(),this.onUpdate=this.onUpdate.bind(this),this.isAllowed=this.isAllowed.bind(this),this.save=this.save.bind(this),this.get=this.get.bind(this),this.update=this.update.bind(this),this.isRevoked=this.isRevoked.bind(this),this.disable=this.disable.bind(this),this.isChanged=this.isChanged.bind(this),this.changedOptions=this.changedOptions.bind(this),this.onUpdate(this.changedOptions()),this.status=getItem(COOKIE_NAME.STATUS)||STATUS.NOT_ACCEPTED}return e.prototype.update=function(i){return this.current=__assign(__assign({},this.current),i),this},e.prototype.addScript=function(i){var n=i.getAttribute(DATA_COOKIE_CONSENT);scriptLoader.addScript(n,i)},e.prototype.deleteScript=function(i,n){scriptLoader.deleteScript(i,n)},e.prototype.disable=function(){this.disabled||(this.disabled=!0,this.update(Object.keys(this.current).reduce(function(i,n){var o;return __assign(__assign({},i),(o={},o[n]=ANSWER.ALLOW,o))},{})))},e.prototype.isChanged=function(){var i=this;return Object.keys(this.current).findIndex(function(n){return i.current[n]!==i.previous[n]})!==-1},e.prototype.changedOptions=function(){var i=this;return Object.keys(this.current).filter(function(n){return i.current[n]!==i.previous[n]})},e.prototype.isRevoked=function(){var i=this;return Object.keys(this.current).findIndex(function(n){return i.current[n]!==i.previous[n]&&i.current[n]===ANSWER.DENY})!==-1},e.prototype.save=function(){var i=this.changedOptions();setItem(COOKIE_NAME.SETTINGS,JSON.stringify(this.current)),setItem(COOKIE_NAME.DATE,new Date().getTime().toString()),setItem(COOKIE_NAME.STATUS,STATUS.ACCEPTED),this.onUpdate(i)},e.prototype.onUpdate=function(i){var n=this;dispatch(COOKIE_CONSENT_EVENT.CHANGE,this),i.forEach(function(o){updateGTM(o,n.current[o]),n.current[o]===ANSWER.ALLOW?scriptLoader.allowScriptSet(o):scriptLoader.revokeScriptSet(o)}),this.previous=__assign({},this.current)},e.prototype.isAllowed=function(i){var n=getItem(COOKIE_NAME.SETTINGS);if(n)try{return JSON.parse(n)[i]===ANSWER.ALLOW}catch(o){console.error("Invalid CC settings",o)}return this.current[i]===ANSWER.ALLOW},e.prototype.get=function(){return this.current},e}(),Settings$2=new SettingsService,hasCookieLaw=function(e){return!0},needCookieConsentMessage=function(){return!getBrowserAnswer()&&(typeof window=="undefined"||(navigator.language.split("-")[1]?hasCookieLaw(navigator.language.split("-")[1].toUpperCase()):!0))},getBrowserAnswer=function(){return typeof window=="undefined"?null:window.CookiesOK||window.navigator.CookiesOK?ANSWER.ALLOW:null},addEventListener=function(e,i){listeners[e]=listeners[e]||[],listeners[e].push(i)},removeEventListener=function(e,i){var n=(listeners[e]||[]).findIndex(function(o){return i===o});n!==-1&&listeners[e].splice(n,1)};typeof window!="undefined"&&(window.CookieConsentAPI={needCookieConsentMessage,getBrowserAnswer,hasCookieLaw,addEventListener,removeEventListener,isAllowed:Settings$2.isAllowed,update:Settings$2.update,save:Settings$2.save});var AnalyticsPlatform$1;(function(e){e.FOLEON_ANALYTICS="Foleon Analytics",e.GOOGLE="GOOGLE"})(AnalyticsPlatform$1||(AnalyticsPlatform$1={}));var TRACKING_CATEGORY$9;(function(e){e.EXTERNAL="External",e.GESTURE="Gesture",e.FORM="Form",e.INTERNAL="Internal",e.LEAD_FORM="Lead Form",e.NAVIGATION_BAR="Navigation bar",e.PAGE_INDEX="Page index",e.SCROLL="Scroll",e.SOCIAL_SHARE="Social share",e.SOCIAL_PAGE="Social page",e.VIDEOS="Videos",e.OVERLAY="Overlay",e.AUTOPLAY_ACCESSIBILITY="Autoplay accessibility"})(TRACKING_CATEGORY$9||(TRACKING_CATEGORY$9={}));const TRACKING_EVENT$9={ARROW_KEY:"Arrow key",BUTTON:"Button",CLICK:"Click",DOWN:"Down",IMAGE:"Image",LINK:"Link",HOTSPOT:"Hotspot",MENU_BAR:"Menu bar",SHARE:"Share",SHOW:"Show",SKIP:"Skip",SUBMIT_INVALID:"Submit invalid",SUBMIT_SUCCESS:"Submit success",SWIPE:"Swipe",OPENED:"Opened",CLOSED:"Closed",DISABLE:"Disable",ENABLE:"Enable",BUFFERING:"Buffering",ENDED:"Ended",PAUSED:"Paused",PLAYING:"Playing",UNSTARTED:"Unstarted",SCROLL:"Scroll"},trackers$3=[],send$1=(e,i,n,o,r)=>{if(typeof window!="undefined"&&typeof window.trackersArray!="undefined"&&(window.trackersArray.forEach(a=>{trackers$3.some(({name:s})=>a==s)||trackers$3.push({name:a.length>0?a:"",measurementId:a.length>0?a:"",platform:AnalyticsPlatform$1.GOOGLE,tracker:window.ga})}),typeof window!="undefined"&&window.ia&&(trackers$3.some(({platform:a})=>a===AnalyticsPlatform$1.FOLEON_ANALYTICS)||trackers$3.push({platform:AnalyticsPlatform$1.FOLEON_ANALYTICS,tracker:window.ia}))),!(!Settings$2.isAllowed(CC_OPTIONS.STATISTICS)||trackers$3.length===0)&&(trackers$3&&trackers$3.forEach(a=>{if(a.platform===AnalyticsPlatform$1.GOOGLE&&window.gtag&&o){const s=e.toLowerCase().replace(" ","_"),l=i.toLowerCase().replace(" ","_"),u=n.toLowerCase(),c=`${l}_${s}`;setTimeout(()=>{window.gtag("event",c,{send_to:a.measurementId,event_category:s,event_label:u,event_action:l,value:r})},100)}else a.platform===AnalyticsPlatform$1.GOOGLE&&window.ga?setTimeout(()=>{window.ga(`${a.name?`${a.name}.`:""}send`,"event",e,i,n,r)},100):a.platform===AnalyticsPlatform$1.FOLEON_ANALYTICS&&window.ia({type:"event",context:{eventCategory:e,eventAction:i,eventLabel:n,eventValue:r}})}),window.dataLayer))try{window.dataLayer.push({event:e,action:i,label:n})}catch(a){console.error(a)}},setAttributes$1=(e,i,n,o)=>{const r=typeof window!="undefined"&&window.localStorage&&isNull_1(localStorage.getItem(COOKIE_NAME.SETTINGS)),a=Settings$2.isAllowed(CC_OPTIONS.STATISTICS);i.id=o,(!e&&r||a)&&(i.src=n,i.type="text/javascript",i.dataset.cookieconsent=CC_OPTIONS.STATISTICS),a||(i.dataset.cookieconsent=CC_OPTIONS.STATISTICS,i.dataset.src=n,i.type="text/plain",Settings$2.addScript(i))},addScript$3=(e,i)=>{(function(n,o,r,a,s,l,u){n.InstantAnalyticsObject=s,n[s]=n[s]||function(){(n[s].q=n[s].q||[]).push(arguments)},n[s].l=1*new Date,l=o.createElement(r),u=o.getElementsByTagName(r)[0],l.async=1,setAttributes$1(e,l,a,"foleon-analytics"),u.parentNode.insertBefore(l,u)})(window,document,"script",i,"ia")},addScript$2=(e,i)=>{(function(n,o,r,a,s,l,u){n.GoogleAnalyticsObject=s,n[s]=n[s]||function(){(n[s].q=n[s].q||[]).push(arguments)},n[s].l=1*new Date,l=o.createElement(r),u=o.getElementsByTagName(r)[0],l.async=1,setAttributes$1(e,l,a,"google-analytics"),u.parentNode.insertBefore(l,u)})(window,document,"script",`https://www.google-analytics.com/analytics.js${i?"?aip=1":""}`,"ga")},trackers$2={googleAnalytics:{addScript:addScript$2},foleonAnalytics:{addScript:addScript$3},events:{send:send$1,TRACKING_CATEGORY:TRACKING_CATEGORY$9,TRACKING_EVENT:TRACKING_EVENT$9},setAttributes:setAttributes$1};styled.div`
	${({styles:e})=>e}
	${({transform:e})=>e&&`transform: ${e}`};
`;styled.div`
	align-items: inherit;
	width: 100%;
	position: relative;
	${({formHeight:e})=>e&&`
    height: ${e}px;
  `}

	${({styles:e})=>e}
`;styled.form`
	display: flex;
	flex-direction: column;
	align-items: inherit;
	height: 100%;
	width: 100%;
`;styled.div`
	align-items: inherit;
	width: 100%;
`;styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	padding: 0 2rem;
	position: absolute;

	${({paragraphStyles:e})=>e}
`;styled.div`
	display: flex;
	align-items: flex-start;
`;styled.div`
	display: inline;
	vertical-align: top;
	margin-right: 8px;
`;styled.div`
	display: inline;
	line-height: 1.5rem;
`;styled.label`
	margin: 0;

	${({styles:e})=>e}

	${({optionalStyles:e})=>e}

  &.has-validation-error:before {
		border-color: rgba(188, 39, 25, 1);
	}
`;styled.div`
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 1em;
`;styled.ul`
	list-style-type: none;
	background: #c83737;
	margin: 0;
	padding: 5px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
`;styled.li`
	color: white;
	font-size: 0.75em;
`;styled.i`
	padding-right: 0.75em;
`;styled.div`
	display: block;
	margin: 0;
	position: relative;

	&:after {
		content: '';
		position: absolute;
		top: 1em;
		right: 1em;
		z-index: 10;
		pointer-events: none;
		width: 10px;
		height: 10px;
		transform: rotate(45deg);
		border-right: 2px solid #333;
		border-bottom: 2px solid #333;
	}

	& .has-validation-error {
		border-color: rgba(188, 39, 25, 1);
		margin: 0px;
	}
`;styled.select`
	/* use this to have more consistent styling cross browser/platform */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	box-sizing: border-box;
	width: 100%;
	padding: 10px 40px 10px 10px;
	z-index: 10;
	white-space: pre-wrap;
	word-wrap: break-word;

	&::-ms-expand {
		display: none;
	}

	& > option {
		background-color: inherit;
		color: inherit;
		font-family: inherit;
		font-size: inherit;
		font-style: inherit;
		font-weight: inherit;
	}

	${({styles:e})=>e}

	${({placeholderStyles:e})=>e}
`;styled.div`
	z-index: 10;

	${({styles:e})=>e}

	&.has-validation-error {
		margin: 0px;
	}
`;styled.div`
	${({focusStyle:e})=>e}
`;styled.input`
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;

	&:checked + .im-radio-label::after {
		content: '';
	}

	&:checked + span {
		box-sizing: border-box;
		display: block;
		position: absolute;
		left: 0.25em;
		top: 0.45em;
		background-color: rgba(64, 64, 64, 1);
		border-radius: 50%;
		height: 0.5em;
		width: 0.5em;
	}
`;const checkboxCheckIcon$1="PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGc+PHBhdGggZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwxKSIgZD0ibTE1IDI3bDE3LjctMTcuNyAyLjMgMi4zLTIwIDIwLTkuMy05LjMgMi4zLTIuM3oiLz48L2c+PC9zdmc+",checkboxCheckedBackground$1=`rgba(64,64,64,1) url("data:image/svg+xml;base64,${checkboxCheckIcon$1}") 50% 50% no-repeat`;styled.div`
	${({focusStyle:e})=>e}
`;styled.input`
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;

	&:checked + .im-checkbox-label::after {
		content: '';
	}

	&:checked + span {
		box-sizing: border-box;
		display: block;
		position: absolute;
		left: 0;
		top: 0.2em;
		background: ${checkboxCheckedBackground$1};
		border-radius: 3px;
		height: 1em;
		width: 1em;
	}
`;styled.div`
	z-index: 10;

	${({styles:e})=>e}

	&.has-validation-error {
		margin: 0px;
	}
`;var TextAreaSizes$1;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"})(TextAreaSizes$1||(TextAreaSizes$1={}));styled.textarea`
	z-index: 10;

	box-sizing: border-box;
	padding: 10px;
	resize: none;

	&::-webkit-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&:-ms-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&::placeholder {
		color: rgba(51, 51, 51, 0.6);
		opacity: 1;
	}

	${({styles:e})=>e}

	${({additionalInputStyling:e})=>e}

  &.has-validation-error {
		border-color: rgba(188, 39, 25, 1);
		margin: 0px;
	}
`;styled.input`
	z-index: 10;

	box-sizing: border-box;
	padding: 10px;
	resize: none;

	&::-webkit-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&:-ms-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&::placeholder {
		color: rgba(51, 51, 51, 0.6);
		opacity: 1;
	}

	${({styles:e})=>e}

	${({additionalInputStyling:e})=>e}

  &.has-validation-error {
		border-color: rgba(188, 39, 25, 1);
		margin: 0px;
	}
`;const identity$Q="form-label",EntityInferred$14=new Entity$1(identity$Q,{id:t$1.UUID,parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$U)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$T)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$S)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$R)})]),identity:t$1.literal(identity$Q),value:t$1.union([t$1.string,t$1.null]),styles:formLabelStyles$1},{id:void 0,value:null,parent:void 0,identity:identity$Q}),entity$14=EntityInferred$14,FormLabel$1={entity:entity$14,identity:identity$Q},identity$P="form-list-option",identity$O="form-placeholder",EntityInferred$13=new Entity$1(identity$U,{id:t$1.UUID,identity:t$1.literal(identity$U),name:t$1.string,isRequired:t$1.boolean,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1h)}),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$O)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$Q)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$P)})])),styles:formListCheckboxStyles$1},{id:void 0,identity:identity$U,parent:void 0,name:void 0,isRequired:!1,refs:[]}),entity$13=EntityInferred$13,FormListCheckbox$1={entity:entity$13,identity:identity$U},EntityInferred$12=new Entity$1(identity$T,{id:t$1.UUID,identity:t$1.literal(identity$T),isRequired:t$1.boolean,name:t$1.string,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1h)}),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$Q)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$O)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$P)})])),styles:formListDropdownStyles$1},{id:void 0,identity:identity$T,isRequired:!1,name:void 0,parent:void 0,refs:[]}),entity$12=EntityInferred$12,FormListDropdown$1={entity:entity$12,identity:identity$T},EntityInferred$11=new Entity$1(identity$P,{id:t$1.UUID,identity:t$1.literal(identity$P),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$U)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$T)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$S)})]),value:t$1.string,isDefault:t$1.boolean,label:t$1.union([t$1.string,t$1.null]),styles:formListOptionStyles$1},{id:void 0,identity:identity$P,parent:void 0,isDefault:!1,label:null,value:void 0}),entity$11=EntityInferred$11,FormListOption$1={entity:entity$11,identity:identity$P},EntityInferred$10=new Entity$1(identity$S,{id:t$1.UUID,identity:t$1.literal(identity$S),name:t$1.string,isRequired:t$1.boolean,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1h)}),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$P)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$O)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$Q)})])),styles:formListRadioStyles$1},{refs:[],id:void 0,identity:identity$S,name:void 0,isRequired:!1,parent:void 0}),entity$10=EntityInferred$10,FormListRadio$1={entity:entity$10,identity:identity$S},EntityInferred$$=new Entity$1(identity$O,{id:t$1.UUID,parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$U)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$T)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$S)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$R)})]),identity:t$1.literal(identity$O),value:t$1.union([t$1.string,t$1.null]),styles:formPlaceholderStyles$1},{id:void 0,parent:void 0,value:null,identity:identity$O}),entity$$=EntityInferred$$,FormPlaceholder$1={entity:entity$$,identity:identity$O},EntityInferred$_=new Entity$1(identity$R,{id:t$1.UUID,identity:t$1.literal(identity$R),name:t$1.union([t$1.null,t$1.string]),isRequired:t$1.boolean,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1h)}),refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$O)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$Q)})])),size:t$1.union([t$1.literal("line"),t$1.literal("small"),t$1.literal("medium"),t$1.literal("large")]),validators:t$1.array(t$1.literal("email")),styles:formTextStyles$1},{id:void 0,name:void 0,isRequired:!1,identity:identity$R,size:void 0,parent:void 0,refs:[],validators:[]}),entity$_=EntityInferred$_,FormText$1={entity:entity$_,identity:identity$R};createBoxToCSS$1({overrides:{shadow:(e,i)=>{!i||set_1(e,[`.${CSSIdentifiers$7.FigureWrapper}`,"boxShadow"],`${i.x}px ${i.y}px ${i.blur}px ${i.color}`)},alignment:(e,i)=>{(i==null?void 0:i.horizontal)&&set_1(e,[`.${CSSIdentifiers$7.FigureWrapper}`,"alignSelf"],getAlignContent$1(i.horizontal))},height:(e,i)=>{i==="fill"?(set_1(e,"flex",1),unset_1(e,[`.${CSSIdentifiers$7.FigureWrapper}`,"flex"])):(unset_1(e,[`.${CSSIdentifiers$7.FigureWrapper}`,"flex"]),unset_1(e,"flex"))},corners:(e,i)=>{if(!(!i||!isObject_1(i)))for(const n of getKeys$1(i))set_1(e,[`.${CSSIdentifiers$7.FigureWrapper}`,camelCase_1(`border-${n}-radius`)],`${i[n]}px`)},width:(e,i,n)=>{i!=="vw"&&set_1(e,["alignItems"],"inherit !important"),n==null||n("width",getDefaultWidthHandler$1(i))}},cssSelector:`.${CSSIdentifiers$7.FigureWrapper}`});createBorderToCSS$1({cssSelector:`.${CSSIdentifiers$7.FigureWrapper}`});styled.img`
	width: 100%;
	height: auto;
	max-height: 100%;
	pointer-events: none;

	/* In print or screenshot mode when the image is a fallback image of video we need pointer-events */
	${({isFallbackImage:e})=>e&&Ce`
			pointer-events: auto;
		`}
	${({styles:e})=>e}
`;styled.figure`
	display: inline-block;
	max-width: 100%;
	width: 100%;
	min-width: 20px;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	margin: 0;
`;styled.div`
	display: flex;
	line-height: 0;
	max-width: 100%;
	width: 100%;
	// default behavior is stretching the content so an image will take the full size of the column. In this case alignment by parent isn't important because there
	// is no space to align.
	align-items: stretch !important;

	& div.link-name-displayer {
		padding: 10px 5px;
		top: -5px;
		right: -10px;
	}

	& > a {
		display: unset;
		font-size: 0;
		max-width: inherit;
		/** align-self property is normally set on the figure element but for the cases where there is
        an anchor element in between (image with a link), we need to pass this property manually.
    */
		${({imageLinkAlignment:e})=>e&&{"align-self":e}}

		&:focus {
			position: relative;
			z-index: 1;
		}
	}

	${({styles:e})=>e}
`;styled.div`
	${({styles:e})=>e}
`;const EntityInferred$Z=new Entity$1(identity$17,{id:t$1.UUID,parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1l),t$1.literal(identity$1i)])}),identity:t$1.literal(identity$17),appearance:t$1.literal("circle"),styles:infographicCounterCircleStyles$1,value:t$1.union([t$1.string,t$1.number]),max:t$1.union([t$1.string,t$1.number]),prefix:t$1.string,suffix:t$1.union([t$1.string,t$1.null]),maxWeight:t$1.number,maxSize:t$1.number,countingDuration:t$1.union([t$1.null,t$1.number]),weight:t$1.union([t$1.number,t$1.null]),size:t$1.union([t$1.number,t$1.null]),maxValueColor:t$1.union([t$1.string,t$1.null]),shownValueColor:t$1.union([t$1.string,t$1.null])},{id:void 0,identity:identity$17,parent:void 0,appearance:"circle",value:void 0,max:void 0,prefix:void 0,suffix:void 0,maxWeight:infographicCounterDefaultMaxSteps$1,maxSize:infographicCounterDefaultMaxSteps$1,countingDuration:null,weight:null,size:null,maxValueColor:null,shownValueColor:null}),entity$Z=EntityInferred$Z,InfographicCounterCircle$2={entity:entity$Z,identity:identity$17};VisibilitiesEnum$1.ANIMATION_IN;styled.div`
	position: relative;
	width: 100%;

	${({styles:e})=>e}
`;styled.div`
	display:flex;
`;const getCircleWrapWidth$1=e=>`calc(100% - 2 * ${e}%)`;styled.div`
	display: inline-block;
	width: ${({calculatedPadding:e})=>getCircleWrapWidth$1(e)};
	position: relative;
`;styled.div`
	width: 100%;
`;const EntityInferred$Y=new Entity$1(identity$16,{id:t$1.UUID,parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1l),t$1.literal(identity$1i)])}),identity:t$1.literal(identity$16),appearance:t$1.literal("line"),styles:infographicCounterLineStyles$1,value:t$1.union([t$1.string,t$1.number]),max:t$1.union([t$1.number,t$1.string]),prefix:t$1.union([t$1.string,t$1.null]),maxWeight:t$1.number,suffix:t$1.string,countingDuration:t$1.union([t$1.null,t$1.number]),weight:t$1.union([t$1.number,t$1.null]),maxValueColor:t$1.union([t$1.string,t$1.null]),shownValueColor:t$1.union([t$1.string,t$1.null])},{id:void 0,identity:identity$16,parent:void 0,appearance:"line",value:void 0,max:void 0,prefix:void 0,suffix:void 0,countingDuration:null,maxWeight:infographicCounterLineDefaultMaxSteps$1,weight:null,maxValueColor:null,shownValueColor:null}),entity$Y=EntityInferred$Y,InfographicCounterLine$2={entity:entity$Y,identity:identity$16},LINE_CONTAINER_HEIGHT$1=100,LINE_CONTAINER_WIDTH$1=100;styled.div`
	display: flex;
	flex-direction: column;
	width: 100%;
`;styled.div`
	word-break: break-all;
`;styled.div`
	display: flex;
	overflow: hidden;
	background-color: ${({maxValueColor:e})=>e};
	flex-basis: ${({weight:e})=>LINE_CONTAINER_HEIGHT$1/12*e}px;
	${({radiusStyles:e})=>e};
`;styled.div`
	width: ${({value:e,max:i})=>e*LINE_CONTAINER_WIDTH$1/i}%;
	transition: ${({hasAnimation:e,countingDuration:i})=>e?"width "+i/1e3+"s":"none"};
	background-color: ${({shownValueColor:e})=>e};
	${({radiusStyles:e})=>e};
`;styled.div`
	position: relative;
	width: 100%;

	${({styles:e})=>e};
`;const EntityInferred$X=new Entity$1(identity$15,{id:t$1.UUID,parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1l),t$1.literal(identity$1i)])}),identity:t$1.literal(identity$15),appearance:t$1.literal("number"),styles:infographicCounterNumberStyles$1,value:t$1.string,prefix:t$1.union([t$1.string,t$1.null]),suffix:t$1.union([t$1.string,t$1.null]),countingDuration:t$1.union([t$1.number,t$1.null])},{id:void 0,identity:identity$15,parent:void 0,appearance:"number",value:void 0,prefix:void 0,suffix:void 0,countingDuration:null}),entity$X=EntityInferred$X,InfographicCounterNumber$2={entity:entity$X,identity:identity$15};var InfographicCounterCSSIdentifiers$1;(function(e){e.AriaWrapper="ripley__Infographic-counter--aria-wrapper"})(InfographicCounterCSSIdentifiers$1||(InfographicCounterCSSIdentifiers$1={}));styled.div`
	word-break: break-all;
`;styled.div`
	position: relative;
	width: 100%;

	${({styles:e})=>e}
`;const identity$N="social-login",EntityInferred$W=new Entity$1(identity$1g,{authUrl:t$1.union([t$1.string,t$1.null]),id:t$1.UUID,identity:t$1.literal(identity$1g),isSkippable:t$1.boolean,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1m),t$1.literal(identity$1r),t$1.literal(identity$1h),t$1.literal(identity$N),t$1.literal(identity$1o),t$1.literal(identity$19)])})),status:t$1.union([t$1.null,t$1.boolean]),styles:leadGenStyles$1,value:t$1.union([t$1.string,t$1.null])},{authUrl:null,id:void 0,identity:identity$1g,isSkippable:!1,parent:void 0,refs:[],status:null,value:null}),entity$W=EntityInferred$W,LeadGen$1={entity:entity$W,identity:identity$1g};var GateNames$1;(function(e){e.FOLEON="Foleon",e.HUBSPOT="HubSpot",e.SFP="Salesforce Pardot",e.MARKETO="Marketo",e.ELOQUA="Eloqua"})(GateNames$1||(GateNames$1={}));const EntityInferred$V=new Entity$1(identity$N,{clientId:t$1.union([t$1.null,t$1.string]),clientSecret:t$1.union([t$1.null,t$1.string]),id:t$1.UUID,identity:t$1.literal(identity$N),parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1g)}),thirdPartyKey:t$1.union([t$1.literal("facebook"),t$1.literal("linkedin")]),value:t$1.string},{clientId:null,clientSecret:null,id:void 0,identity:identity$N,parent:void 0,thirdPartyKey:void 0,value:null}),entity$V=EntityInferred$V,SocialLogin$1={entity:entity$V,identity:identity$N},rotation$1=Ue`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
`;styled.div`
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
`;styled.div`
	display: inline-block;
	position: relative;
	${({size:e})=>`
		width: ${e}px;
		height: ${e}px;`}
`;styled.div`
	box-sizing: border-box;
	display: block;
	position: absolute;
	${({borderSize:e,size:i,borderColor:n})=>`
		margin: ${e}px;
		border: ${e}px solid #fff;
		width: ${i-e}px;
		height: ${i-e}px;
		border-color: ${n} transparent transparent transparent;
`};

	border-radius: 50%;
	animation: ${rotation$1} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;

	:nth-child(1) {
		animation-delay: -0.45s;
	}
	:nth-child(2) {
		animation-delay: -0.3s;
	}
	:nth-child(3) {
		animation-delay: -0.15s;
	}
`;styled.p`
	font-family: 'proxima-nova', 'ProximaNova', Arial, Helvetica, sans-serif;
	font-size: ${({size:e})=>e/3}px;
	line-height: 1.5;
	color: rgba(0, 43, 72, 1);
	margin-top: 5px;
`;styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 11;
	background-color: rgba(255, 255, 255, 0.75);
`;styled.div`
	position: relative;
	width: 100%;

	// if gate is set to some third party CRM, styles of the lead-gen should not be visible,
	// because there is no social login elements and an additional styled container is no longer needed
	${({leadGenGate:e,styles:i})=>e&&e==="Foleon"&&!isEmpty_1(i)&&Ce`
			${i}
		`}
`;const colors$3={facebook:{name:"Facebook",bgColor:"#3B5998"},twitter:{name:"X",fgColor:"#ffffff",bgColor:"#000000"},linkedin:{name:"LinkedIn",bgColor:"#0077B5"},whatsapp:{name:"WhatsApp",bgColor:"#25d366"},mail:{name:"mail",bgColor:"#333333"},xing:{name:"XING",bgColor:"#005a5f"},instagram:{name:"instagram",bgColor:"#D93175"},pinterest:{name:"pinterest",bgColor:"#BD081C"},snapchat:{name:"snapchat",bgColor:"#FFFC00"},tiktok:{name:"tiktok",bgColor:"#000000"},youtube:{name:"youtube",bgColor:"#FF0000"},vimeo:{name:"vimeo",bgColor:"#1ab7ea"},globe:{name:"globe",bgColor:"#6E6E6E"},line:{name:"line",bgColor:"#00c300"},wechat:{name:"wechat",bgColor:"#09B83E"}},offset$1=170,duration$3=1.4,colors$2=Ue`
  0% {
    stroke: #ffffff;
  }
  25% {
    stroke: #f5f5f5;
  }
  50% {
    stroke: #f0f8ff;
  }
  75% {
    stroke: #f5f5f5;
  }
  100% {
    stroke: #ffffff;
  }
`,dash$1=Ue`
  0% {
    stroke-dashoffset: ${offset$1};
  }
  50% {
    stroke-dashoffset: ${offset$1} / 4;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: ${offset$1};
    transform: rotate(450deg);
  }
`,rotate$1=Ue`
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(270deg);
  }
`,circle$1=Ce`
	stroke-dasharray: ${offset$1};
	stroke-dashoffset: 0;
	transform-origin: center;
	animation: ${colors$2} ${duration$3}s ease-in-out infinite, ${dash$1} ${duration$3}s ease-in-out infinite;
`,drawingDash$1=e=>Ue`
    0% {
      stroke-dashoffset: ${e};
      transform: rotate(270deg);
    }
    100% {
      stroke-dashoffset: 0;
      transform: rotate(270deg);
    }
  `,drawingCircle$1=(e,i)=>{const n=drawingDash$1(i);return Ce`
		stroke-dasharray: ${i};
		stroke-dashoffset: ${i};
		transform-origin: center;
		animation: ${colors$2} ${e}s ease-in-out infinite, ${n} ${e}s ease-in-out infinite;
	`},spinner$1=Ce`
	animation: ${rotate$1} ${duration$3}s linear infinite;
`;styled.svg`
	${({isEnding:e})=>!e&&spinner$1}
`;styled.circle`
	${({isEnding:e,timeUntilFinished:i,circleLength:n})=>e?drawingCircle$1(i,n):circle$1}
`;styled.div`
	display: flex;
	margin: 10px 0px;
	cursor: pointer;
	border: 1px solid darkgrey;
	background-color: ${({isFacebook:e})=>e?colors$3.facebook.bgColor:colors$3.linkedin.bgColor};
	border-radius: 2px;
`;styled.div`
	display: flex;
	padding: 0px 10px;
	flex-direction: column;
	justify-content: center;
	color: white;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: darkgrey;
`;styled.div`
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 14px;
	color: white;
	padding: 10px;
`;styled.div`
	display: flex;
	justify-content: center;

	${({styles:e})=>!isEmpty_1(e)&&Ce`
			${e}
		`}
`;styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 250px;
`;styled.div`
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	background: rgba(216, 216, 216, 0.2);
	height: ${({height:e})=>e};
	${({styles:e})=>e};
`;styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
`;styled.p`
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	line-height: 1.6;
	margin-top: 10px;
	color: rgb(120, 120, 120);
`;const crmFormWrapperStyles$1=`
  border-top-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  border-right-width: 0;
  width: 100%;
  position: relative;
`;styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 2rem;

	${({paragraphStyles:e})=>e}
`;styled.div`
	display: flex;
	align-items: flex-start;
`;styled.div`
	display: inline;
	line-height: 1.5rem;
`;styled.div`
	${()=>crmFormWrapperStyles$1}

	${({styles:e,isIframeLoading:i})=>i?Ce`
					display: none;
			  `:Ce`
					${e}
			  `}
`;styled.iframe`
	border: 0;
`;styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`;const mapFormEloquaStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,padding:padding$1,visibility:visibility$1})),EntityInferred$U=new Entity$1(identity$10,{id:t$1.UUID,identity:t$1.literal(identity$10),landingPageUrl:t$1.string,parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),styles:mapFormEloquaStyles$1,successMessage:t$1.union([t$1.string,t$1.null,t$1.undefined])},{id:void 0,identity:identity$10,landingPageUrl:void 0,parent:void 0,successMessage:void 0}),entity$U=EntityInferred$U,MapFormEloqua$1={entity:entity$U,identity:identity$10};styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`;styled.div`
	${()=>crmFormWrapperStyles$1}

	/* form styles are applied after form is loaded because animation needs to be displayed after the form is loaded */
	${({styles:e,isFormLoading:i})=>!i&&e}

	& iframe {
		width: 100% !important;
	}
`;const mapFormHubSpotStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,padding:padding$1,visibility:visibility$1})),EntityInferred$T=new Entity$1(identity$$,{formId:t$1.string,id:t$1.UUID,identity:t$1.literal(identity$$),parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),styles:mapFormHubSpotStyles$1,successMessage:t$1.union([t$1.string,t$1.null,t$1.undefined])},{formId:void 0,id:void 0,identity:identity$$,parent:void 0,successMessage:void 0}),entity$T=EntityInferred$T,MapFormHubSpot$1={entity:entity$T,identity:identity$$};styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`;styled.div`
	${()=>crmFormWrapperStyles$1}

	pointer-events: ${({isEditor:e})=>e?"none":"auto"};

	/* form styles are applied after form is loaded because animation needs to be displayed after the form is loaded */
	${({styles:e,isFormLoading:i})=>!i&&e}

	& form {
		width: 100% !important;

		input {
			border: 1px solid rgba(0, 0, 0, 0.5);
			border-radius: 2px;
		}
	}
`;const mapFormMarketoStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,padding:padding$1,visibility:visibility$1})),EntityInferred$S=new Entity$1(identity$_,{baseUrl:t$1.string,formId:t$1.string,id:t$1.UUID,identity:t$1.literal(identity$_),parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),styles:mapFormMarketoStyles$1,successMessage:t$1.union([t$1.string,t$1.null,t$1.undefined])},{baseUrl:void 0,formId:void 0,id:void 0,identity:identity$_,parent:void 0,successMessage:void 0}),entity$S=EntityInferred$S,MapFormMarketo$1={entity:entity$S,identity:identity$_};styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`;styled.div`
	${()=>crmFormWrapperStyles$1}

	/* form styles are applied after form is loaded because animation needs to be displayed after the form is loaded */
	${({styles:e,isFormLoading:i})=>i?Ce`
					display: none;
			  `:Ce`
					${e}
			  `}
`;const mapFormSFPStyles$1=createStyles$1(t$1.partial({animation:animation$1,background:background$1,border:border$1,box:box$1,margin:margin$1,padding:padding$1,visibility:visibility$1})),EntityInferred$R=new Entity$1(identity$Z,{formLink:t$1.string,id:t$1.UUID,identity:t$1.literal(identity$Z),parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1l)}),styles:mapFormSFPStyles$1,successMessage:t$1.union([t$1.string,t$1.null,t$1.undefined])},{formLink:void 0,id:void 0,identity:identity$Z,parent:void 0,successMessage:void 0}),entity$R=EntityInferred$R,MapFormSFP$1={entity:entity$R,identity:identity$Z},getLogoForMapFormProvider$1=e=>{const i="map-form-";return e.startsWith(i)?`https://cdn.foleon.com/assets/editor/${e.substring(i.length)}.png`:""};styled.div`
	${({styles:e})=>e};
	& > section {
		max-width: 100%;
	}

	& div.link-name-displayer {
		padding: 4px 4px;
		top: auto;
		right: auto;
		z-index: 1;
	}
`;const CloseIcon$1=e=>React.createElement(IconBase,f({"aria-hidden":!0,viewBox:"0 0 40 40"},e),React.createElement("defs",null,React.createElement("polygon",{id:"close-button-path",points:"32 10.4171429 29.5828571 8 20 17.5828571 10.4171429 8 8 10.4171429 17.5828571 20 8 29.5828571 10.4171429 32 20 22.4171429 29.5828571 32 32 29.5828571 22.4171429 20"}),React.createElement("filter",{x:"-11.5%",y:"-7.3%",width:"122.9%",height:"122.9%",filterUnits:"objectBoundingBox",id:"box-shadow-filter"},React.createElement("feMorphology",{radius:"0.25",operator:"dilate",in:"SourceAlpha",result:"shadowSpreadOuter1"}),React.createElement("feOffset",{dx:"0",dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),React.createElement("feGaussianBlur",{stdDeviation:"0.5",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0   0 0 0 0 0   0 0 0 0 0  0 0 0 0.15 0",type:"matrix",in:"shadowBlurOuter1"}))),React.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",dangerouslySetInnerHTML:{__html:`<g id="baseline-close-24px-(1)" transform="translate(-6.000000, -7.000000)" fill-rule="nonzero">
					<g id="Group-2">
							<g id="Shape">
									<use fill="black" fill-opacity="1" filter="url(#box-shadow-filter)" xlink:href="#close-button-path"></use>
									<use fill="currentColor" fill-rule="evenodd" xlink:href="#close-button-path"></use>
							</g>
					</g>
			</g>`}})),Button$2=styled.button`
	color: #fff;
	position: fixed;
	top: 20px;
	right: 20px;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 9999;
	${({styles:e})=>e}
`,CloseButton$1=({onClick:e,styles:i})=>React.createElement(Button$2,{className:"close-button",styles:i,"aria-label":translator$1.translate("Close"),onClick:e,tabIndex:0,"data-testid":"foleon-core-portal-close-icon"},React.createElement(CloseIcon$1,{"aria-hidden":!0,size:27})),{send:sendEvent$1,TRACKING_CATEGORY:TRACKING_CATEGORY$8,TRACKING_EVENT:TRACKING_EVENT$8}=trackers$2.events,DEFAULT_FORM_NAME$2="default form",TAB_KEY$1=9,ESC_KEY$1=27,duration$2=300,LEFT_KEY$1=37,RIGHT_KEY$1=39,UP_KEY$1=38,DOWN_KEY$1=40,Container$8=styled.div`
	display: flex;
	opacity: 0;
	justify-content: flex-end;
`,Overlay$2=styled.div`
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 100%;
	background-color: rgba(55, 58, 71, 0.9);
	overflow: auto;
	z-index: 1000;
	opacity: 1;
	${({styles:e})=>e};
`,ContentContainer$1=styled.div`
	display: block;
	height: 100%;
	position: relative;
	min-height: 10vh;
	outline: none;
	transform: scaleX(1) scaleY(1) scaleZ(1);
	width: 100%;
	overflow: ${({viewport:e})=>e==="sm"?"visible":"auto"};
	${({styles:e})=>e};
`;class ModalPortal$1 extends react.exports.Component{constructor(i){super(i);b(this,"content");b(this,"overlay");b(this,"focusAfterRender");b(this,"setFocusAfterRender",i=>{this.focusAfterRender=i});b(this,"setOverlayRef",i=>{this.overlay=i});b(this,"setContentRef",i=>{this.content=i});b(this,"afterClose",()=>{returnFocus$1(),teardownScopedFocus$1()});b(this,"open",()=>{this.beforeOpen(),setupScopedFocus$1(this.overlay),markForFocusLater$1(),this.setState({isOpen:!0})});b(this,"close",i=>{i.preventDefault(),i.stopPropagation(),this.willDisappear(),this.setState({isOpen:!1},this.afterClose),setTimeout(()=>{this.props.onRequestClose(i)},duration$2)});b(this,"focusContent",()=>this.overlay&&!this.contentHasFocus()&&this.overlay.focus());b(this,"handleKeyDown",i=>{var n,o,r;if(i.keyCode===TAB_KEY$1&&(scopeTab$1(this.overlay,i),this.overlay&&((n=document.getElementsByClassName("im-overlay")[0])==null||n.removeAttribute("tabindex"))),i.keyCode===LEFT_KEY$1||i.keyCode===RIGHT_KEY$1){if(this.props.whitePaperItem&&i.keyCode===LEFT_KEY$1)return;i.stopPropagation();return}if(i.keyCode===ESC_KEY$1){if(this.props.whitePaperItem&&!this.props.whitePaperItem.is_skippable)return;i.preventDefault(),this.requestClose(i)}if(i.keyCode===UP_KEY$1||i.keyCode===DOWN_KEY$1){const a=["input","textarea"],s=["textbox"];if(a.includes((o=i.target.nodeName)==null?void 0:o.toLowerCase())||s.includes((r=i.target.role)==null?void 0:r.toLowerCase()))return;if(this.overlay){const l=document.getElementsByClassName("im-overlay")[0];l.setAttribute("tabindex","0"),l.focus()}}});b(this,"willAppear",i=>{anime({targets:i,opacity:1,duration:duration$2,easing:"easeInSine"}),anime({targets:this.overlay,scaleX:[{value:1.1,duration:0},{value:1,duration:duration$2}],scaleY:[{value:1.1,duration:0},{value:1,duration:duration$2}],duration:duration$2,easing:"easeInSine"})});b(this,"willDisappear",()=>{anime({targets:this.overlay,opacity:0,duration:duration$2,easing:"easeInSine"}),anime({targets:this.content,scaleX:.9,scaleY:.9,duration:duration$2,easing:"easeInSine"})});b(this,"requestClose",i=>{if(this.props.overrideClose&&typeof this.props.onRequestClose=="function"){this.props.onRequestClose(i);return}!this.ownerHandlesClose()||(this.props.whitePaperItem&&this.props.whitePaperItem.is_skippable&&sendEvent$1(TRACKING_CATEGORY$8.LEAD_FORM,TRACKING_EVENT$8.SKIP,DEFAULT_FORM_NAME$2),this.close(i))});b(this,"ownerHandlesClose",()=>typeof this.props.onRequestClose!="undefined"&&this.props.onRequestClose!==null&&typeof this.props.onRequestClose=="function");b(this,"contentHasFocus",()=>{var i;return document.activeElement===this.overlay||((i=this.overlay)==null?void 0:i.contains(document.activeElement))});b(this,"ariaAttributes",i=>Object.keys(i).reduce((n,o)=>(n[`aria-${o}`]=i[o],n),{}));this.state={isOpen:!1},this.focusAfterRender=!1,this.content=null,this.overlay=null}componentDidMount(){this.props.isOpen&&(document.addEventListener("keydown",this.handleKeyDown,!0),this.open(),this.setFocusAfterRender(!0))}componentDidUpdate(){this.content&&this.content.scrollTo(0,0),this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1))}componentWillUnmount(){this.beforeClose(),document.removeEventListener("keydown",this.handleKeyDown,!0)}beforeOpen(){const{ariaHideApp:i,contentLabel:n}=this.props;if(add$2(`open-${n.replace(/[^a-z]/g,"")}`),add$2("open-modal"),i){const o=document.querySelectorAll("article > section");Array.from(o).forEach(r=>{hide$1(r)})}}beforeClose(){const{ariaHideApp:i,contentLabel:n}=this.props;if(remove$2(`open-${n.replace(/[^a-z]/g,"")}`),remove$2("open-modal"),i){const o=document.querySelectorAll("article > section");Array.from(o).forEach(r=>{show$1(r)})}}render(){const{styles:i,aria:n,contentLabel:o,itemStyle:r,overlayBackgroundStyle:a,overlayCloseIconStyle:s,showCurtain:l,curtainComponent:u,viewport:c,whitePaperItem:d,className:m}=this.props,g={closeIcon:d?{display:"none"}:{},portal:typeof d=="object"?{label:"modal-portal-overlay-whitepaper-override",backgroundColor:"rgba(0,0,0,0)"}:{}},E=f(f({},s),g.closeIcon);return React.createElement(Transition,{in:this.state.isOpen,onEntering:this.willAppear,onExiting:this.willDisappear,mountOnEnter:!0,unmountOnExit:!0,timeout:duration$2},()=>React.createElement(Container$8,{className:m},React.createElement(Overlay$2,{ref:this.setOverlayRef,styles:f(f({"&&":f({},a)},g.portal),i),tabIndex:-1,"aria-label":o},l&&u,React.createElement(ContentContainer$1,w(f({ref:this.setContentRef,viewport:c},this.ariaAttributes(n||{})),{styles:f({},r),"data-component":"f-comment-indicator-target-portal",className:"modal-content-container-scrollable"}),this.props.children),React.createElement(CloseButton$1,{onClick:this.requestClose,styles:E}))))}}b(ModalPortal$1,"defaultProps",{styles:{}});const getParentElement$1=e=>e();class Modal$1 extends React.Component{constructor(i){super(i);b(this,"node");b(this,"portal");b(this,"removePortal",()=>{const i=getParentElement$1(this.props.parentSelector);i&&i.removeChild(this.node),this.node=null});typeof document!="undefined"&&(this.node=document.createElement("div"))}static setAppElement(i){setElement$1(i)}componentDidMount(){const i=getParentElement$1(this.props.parentSelector);i&&i.appendChild(this.node)}componentWillUnmount(){this.removePortal()}render(){const o=this.props,{portalComponent:i}=o,n=W(o,["portalComponent"]);return this.node?ReactDOM.createPortal(React.createElement(i,w(f({},n),{className:"overlay-modal"})),this.node):null}}b(Modal$1,"defaultProps",{isOpen:!1,ariaHideApp:!0,closeTimeoutMS:0,portalComponent:ModalPortal$1,shouldCloseOnOverlayClick:!0,parentSelector(){return document.getElementsByTagName("article")[0]}});const EntityInferred$Q=new Entity$1(identity$1c,{id:t$1.UUID,identity:t$1.literal(identity$1c),options:t$1.union([t$1.null,t$1.partial({})]),parent:t$1.null,refs:t$1.array(t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1m)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$V)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$12)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$Y)})])),styles:pageStyles$1},{id:void 0,identity:identity$1c,options:null,parent:null,refs:[]}),entity$Q=EntityInferred$Q,Page$1={entity:entity$Q,identity:identity$1c};v4();v4();v4();v4();v4();v4();v4();v4();v4();v4();styled.article`
	display: flex;
	position: relative;
	top: 0;
	width: 100%;
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	flex-direction: column;

	${({styles:e})=>e}
`;const EntityInferred$P=new Entity$1(identity$12,{id:t$1.UUID,identity:t$1.literal(identity$12),parent:t$1.union([t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1c)}),t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1a)})]),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1p)})),styles:pageScrollStyles$1},{id:void 0,identity:identity$12,parent:void 0,refs:[]}),entity$P=EntityInferred$P,PageScroll$1={entity:entity$P,identity:identity$12};var PageScrollPosition$1;(function(e){e.MiddleLeft="middle-left",e.MiddleRight="middle-right",e.BottomLeft="bottom-left",e.BottomCenter="bottom-center",e.BottomRight="bottom-right"})(PageScrollPosition$1||(PageScrollPosition$1={}));BarPosition$1.Top;styled.div`
	position: fixed;
	z-index: 100;

	${({duration:e,offset:i})=>`
		transition: opacity ${e}ms ease-out, transform ${e}ms linear, margin ${e}ms linear;

		&.page-scroll-exit {
			opacity: 1;
			transform: translateY(0px);
		}
		&.page-scroll-exit-active {
			margin-top: -${i}px;
			opacity: 0;
			transform: translateY(${i}px);
		}
		&.page-scroll-enter {
			margin-top: -${i}px;
			opacity: 0;
			transform: translateY(${i}px);
		}
		&.page-scroll-enter-active {
			opacity: 1;
			transform: translateY(0px);
		}
	`}

	${({styles:e})=>e}
`;styled.button`
	position: absolute;
	left: 50%;
	top: 50%;
	cursor: pointer;

	&:focus {
		outline: -webkit-focus-ring-color auto 5px;
	}

	${({customIcon:e,hasCustomImage:i})=>e&&`
      background: ${i?"none !important":"unset"}; 
			overflow: hidden;

			.${CSSIdentifiers$7.Container} {
				position: absolute;
				left: 0;
				top: 0;
				width: 100%;
				height: 100%;
			}

			.${CSSIdentifiers$7.FigureWrapper} {
				margin-bottom: 0;
				height: 100%;
			}

			.${CSSIdentifiers$7.Image} {
				height: 100%;
				cursor: pointer;
				object-fit: cover;
			}
		`}

	${({styles:e})=>e}
`;styled.div`
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 auto;
	min-height: 50px;
	width: 100%;
	justify-content: space-between;
	border-radius: inherit;

	${({styles:e})=>e}
`;const identity$M="settings",EntityInferred$O=new Entity$1(identity$M,{id:t$1.UUID,identity:t$1.literal(identity$M),parent:t$1.null,leadGen:t$1.union([t$1.undefined,t$1.type({page:t$1.union([t$1.undefined,t$1.null,t$1.number]),overlay:t$1.union([t$1.undefined,t$1.null,t$1.number]),gateName:t$1.union([t$1.undefined,t$1.null,t$1.string]),gateData:t$1.union([t$1.type({eloquaLandingPageUrl:t$1.string}),t$1.type({hubspotHubId:t$1.string,hubspotFormId:t$1.string}),t$1.type({marketoMunchkinId:t$1.string,marketoBaseUrl:t$1.string,marketoFormId:t$1.string}),t$1.type({sfpFormLink:t$1.string}),t$1.type({})]),foleonTemplateId:t$1.union([t$1.undefined,t$1.null,t$1.number]),enabled:t$1.union([t$1.boolean,t$1.undefined])})])},{id:void 0,identity:identity$M,parent:null,leadGen:void 0}),entity$O=EntityInferred$O,Settings$1={entity:entity$O,identity:identity$M},EntityInferred$N=new Entity$1(identity$14,{id:t$1.UUID,parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1l),t$1.literal(identity$1i)])}),identity:t$1.literal(identity$14),url:t$1.union([t$1.null,t$1.string]),styles:socialStyles$1},{id:void 0,parent:void 0,url:null,identity:identity$14}),entity$N=EntityInferred$N,Social$1={entity:entity$N,identity:identity$14};var CSSIdentifiers$5;(function(e){e.IconsWrapper="ripley__Social--icons-wrapper",e.Icon="ripley__Social--icon",e.IconAnchor="ripley__Social--icon-anchor"})(CSSIdentifiers$5||(CSSIdentifiers$5={}));createBoxToCSS$1({overrides:{alignment:(e,i)=>{(i==null?void 0:i.horizontal)&&set_1(e,"alignSelf",getAlignContent$1(i.horizontal))},height:(e,i)=>{set_1(e,[`.${CSSIdentifiers$5.Icon}`,"height"],`${i}px`)},width:(e,i)=>{set_1(e,[`.${CSSIdentifiers$5.Icon}`,"width"],`${i}px`)},corners:(e,i)=>{if(!(!i||!isObject_1(i)))for(const n of getKeys$1(i))set_1(e,[`.${CSSIdentifiers$5.Icon}`,camelCase_1(`border-${n}-radius`)],`${i[n]}px !important`),set_1(e,[`.${CSSIdentifiers$5.IconAnchor}`,camelCase_1(`border-${n}-radius`)],`${i[n]}px !important`)}},cssSelector:`.${CSSIdentifiers$5.IconsWrapper}`});createBorderToCSS$1({cssSelector:`.${CSSIdentifiers$5.Icon}`});createBackgroundToCSS$1({cssSelector:`.${CSSIdentifiers$5.IconsWrapper}`});createMarginToCSS$1({cssSelector:`.${CSSIdentifiers$5.IconsWrapper}`});var SocialPlatformEnum$1;(function(e){e.Facebook="facebook",e.Globe="globe",e.Googleplus="googleplus",e.Instagram="instagram",e.Mail="mail",e.Linkedin="linkedin",e.Pinterest="pinterest",e.Snapchat="snapchat",e.Tiktok="tiktok",e.Twitter="twitter",e.Vimeo="vimeo",e.Whatsapp="whatsapp",e.Xing="xing",e.Youtube="youtube"})(SocialPlatformEnum$1||(SocialPlatformEnum$1={}));const getOrderedSocialPlatforms$1=e=>{if(!e)return{};const{facebook:i,linkedin:n,twitter:o,instagram:r,snapchat:a,tiktok:s,pinterest:l,xing:u,youtube:c,vimeo:d,whatsapp:m,mail:g,globe:E}=e;return{facebook:i,linkedin:n,twitter:o,instagram:r,snapchat:a,tiktok:s,pinterest:l,xing:u,youtube:c,vimeo:d,whatsapp:m,mail:g,globe:E}};styled.div`
	display: inline-block;
	border: none;
	padding: 0;
	background-color: transparent;
	font-size: 1em;
	margin: 0.5em;
`;styled.a`
	display: block;
	overflow: hidden;
`;styled.div`
	display: flex;
	position: relative;

	${({styles:e})=>e}
`;const identity$L="table-row",EntityInferred$M=new Entity$1(identity$13,{id:t$1.UUID,identity:t$1.literal(identity$13),parent:t$1.type({id:t$1.UUID,identity:t$1.union([t$1.literal(identity$1l),t$1.literal(identity$1i)])}),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$L)})),styles:tableStyles$1,options:t$1.type({header:t$1.type({position:t$1.union([t$1.literal("none"),t$1.literal("top"),t$1.literal("top-left"),t$1.literal("left"),t$1.literal("bottom")]),styles:headerStyles$1}),data:t$1.type({styles:dataStyles$1}),alternate:t$1.type({isOn:t$1.boolean,alternateBy:t$1.union([t$1.literal("columns"),t$1.literal("rows")]),styles:alternateStyles$1})})},{id:void 0,identity:identity$13,parent:void 0,refs:[],options:{header:{position:"top",styles:headerBaseStyles$1},data:{styles:dataBaseStyles$1},alternate:{isOn:!1,alternateBy:"rows",styles:alternateBaseStyles$1}}}),entity$M=EntityInferred$M,Table$2={entity:entity$M,identity:identity$13};var HeaderCellScope$1;(function(e){e.row="row",e.col="col"})(HeaderCellScope$1||(HeaderCellScope$1={}));var HeaderPosition$1;(function(e){e.top="top",e.topLeft="top-left",e.left="left",e.bottom="bottom",e.none="none"})(HeaderPosition$1||(HeaderPosition$1={}));styled.div`
	width: 100%;
	${({scrollbarHeight:e})=>`
	&::-webkit-scrollbar {
		height: ${e}px;
	}
	&::-webkit-scrollbar-track {
		box-shadow: inset 0 0 ${e}px rgba(0, 0, 0, 0.1);
		border-radius: ${e}px;
	}
	&::-webkit-scrollbar-thumb {
		box-shadow: inset 0 0 ${e}px rgba(0, 0, 0, 0.6);
		border-radius: ${e}px;
	}`}
	&::-webkit-scrollbar-button {
		display: none;
	}
`;styled.div`
	width: 100%;
	position: relative;
	${({styles:e})=>e}
`;styled.table`
	width: 100%;
	table-layout: fixed;
	white-space: nowrap;
	border-collapse: inherit;
	border-spacing: inherit;
	/* Set text alignment to left as it is by default centered in HTML for unordered and ordered lists only inside th */
	th ul,
	th ol {
		text-align: left;
	}
	/* Remove right border for th and td elements except last child */
	th:not(:last-child),
	td:not(:last-child) {
		border-right: none;
	}
	/* Add border and background-clip styles to th elements */
	${({borderSpacing:e,borderColor:i})=>`th {    
      border: solid ${e} ${i}; 
      background-clip: padding-box;      
   }`}
	/* Add border and background-clip styles to td elements, remove top border for rows except first */
	${({borderSpacing:e,borderColor:i,numberColumns:n,numberRows:o,position:r})=>`td {    
      border: solid ${e} ${i}; 
      background-clip: padding-box;   
     ${o!==1&&r===HeaderPosition$1.top&&"border-top: none;}"}    
     }
     /* Remove top border for rows except first */
     tr:not(:first-child) td, tr:not(:first-child) th {
      ${o!==1&&r!==HeaderPosition$1.top&&"border-top: none;}"} 
     }
     /* Add border styles to first row if number of columns is 1 */
     tr:first-child td, th { 
     ${n===1&&`border: solid ${e} ${i};
				background-clip: padding-box;}`}
	}`}

	${({isAlternatingEnabled:e,alternateBy:i,alternateColor:n})=>e&&i==="columns"&&`
		td:nth-of-type(even) {
			background-color: ${n};
     }
   `}

  ${({isAlternatingEnabled:e,alternateBy:i,alternateColor:n,alternateByRowValue:o})=>e&&i==="rows"&&`
		tr:nth-child(${o}) > td {
			background-color: ${n};
		}
		`}
`;const tableCellStyles$1=createStyles$1(t$1.partial({background:background$1})),EntityInferred$L=new Entity$1(identity$W,{id:t$1.UUID,identity:t$1.literal(identity$W),parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$L)}),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1o)})),styles:tableCellStyles$1},{id:void 0,identity:identity$W,parent:void 0,refs:[]}),entity$L=EntityInferred$L,TableCell$2={entity:entity$L,identity:identity$W};styled.td`
	width: 120px;
	padding: 10px 25px;
	word-break: break-word;
	background-color: ${e=>e.backgroundColor};
`;styled.th`
	width: 120px;
	padding: 10px 25px;
	word-break: break-word;
	background-color: ${e=>e.backgroundColor};
`;const EntityInferred$K=new Entity$1(identity$L,{id:t$1.UUID,identity:t$1.literal(identity$L),parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$13)}),refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$W)}))},{id:void 0,identity:identity$L,parent:void 0,refs:[]}),entity$K=EntityInferred$K,TableRow$1={entity:entity$K,identity:identity$L},EntityInferred$J=new Entity$1("trigger",{id:t$1.UUID,identity:t$1.literal(identity$Y),parent:t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1c)}),delay:t$1.number,isTriggeredOnce:t$1.boolean,refs:t$1.array(t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1d)}))},{id:void 0,identity:identity$Y,refs:[],parent:void 0,delay:0,isTriggeredOnce:!0}),entity$J=EntityInferred$J,Trigger$1={entity:entity$J,identity:identity$Y};var CSSIdentifiers$4;(function(e){e.VideoWrapper="ripley__Video--wrapper",e.FigureWrapper="ripley__Video--figure-wrapper"})(CSSIdentifiers$4||(CSSIdentifiers$4={}));createBoxToCSS$1({overrides:{shadow:(e,i)=>{!i||set_1(e,[`.${CSSIdentifiers$4.FigureWrapper}`,"boxShadow"],`${i.x}px ${i.y}px ${i.blur}px ${i.color}`)},width:(e,i)=>{!i||(set_1(e,[`.${CSSIdentifiers$4.FigureWrapper}`,"width"],`${i}px`),set_1(e,[`.${CSSIdentifiers$4.FigureWrapper}`,"maxWidth"],"100%"))},alignment:(e,i,n)=>{(i==null?void 0:i.horizontal)&&(n==null||n("alignSelf",getAlignContent$1(i==null?void 0:i.horizontal)))}},cssSelector:`.${CSSIdentifiers$4.FigureWrapper}`});createBorderToCSS$1({cssSelector:`.${CSSIdentifiers$4.FigureWrapper}`});createMarginToCSS$1({cssSelector:`.${CSSIdentifiers$4.FigureWrapper}`});styled.div`
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #f1f2f4;
	width: 100%;
	aspect-ratio: 4;
	padding: 4px;

	& > *:first-child {
		color: #8a94a6;
		margin-bottom: 26px;
	}

	& .video-text-not-found {
		font-size: 14px;
		color: #8a94a6;
		font-weight: 600;
		line-height: 24px;
	}
`;styled.div`
	width: 100%;
	display: block;

	${({style:e})=>e}

	iframe {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		${({iFrameOrVideoStyles:e})=>e}
	}

	video {
		position: relative;
		width: 100%;
		${({iFrameOrVideoStyles:e})=>e}
	}
`;styled.div`
	display: inherit;
	flex-direction: inherit;
	align-items: inherit;
	flex: 0 0 auto;
	width: 100%;
	line-height: 0;

	${({styles:e})=>e};
`;styled.figure`
	display: inline-block; // needs an inline-block because of screenshot video element as in old code base
	width: 100%;
	position: relative;
	box-sizing: border-box;
	margin: 0;
	height: unset !important;
`;var DraftContentType$1;(function(e){e.PAGE="PAGE",e.OVERLAY="OVERLAY",e.TEMPLATE="TEMPLATE",e.THEME="THEME",e.SETTINGS="SETTINGS",e.CLIPBOARD="CLIPBOARD"})(DraftContentType$1||(DraftContentType$1={}));const initialStore$1={[Page$1.identity]:{},[PageScroll$1.identity]:{},[Overlay$3.identity]:{},[LeadGen$1.identity]:{},[SocialLogin$1.identity]:{},[Block$1.identity]:{},[Row$1.identity]:{},[Column$1.identity]:{},[ColumnScroll$1.identity]:{},[Divider$1.identity]:{},[Text$4.identity]:{},[TextItem$2.identity]:{},[Background$1.identity]:{},[Image$2.identity]:{},[Video$1.identity]:{},[Action$1.identity]:{},[Button$3.identity]:{},[Hotspot$1.identity]:{},[Embed$2.identity]:{},[Social$1.identity]:{},[Theme$1.identity]:{},[Trigger$1.identity]:{},[Form$2.identity]:{},[FormText$1.identity]:{},[FormListRadio$1.identity]:{},[FormListDropdown$1.identity]:{},[FormListOption$1.identity]:{},[FormListCheckbox$1.identity]:{},[FormPlaceholder$1.identity]:{},[FormLabel$1.identity]:{},[InfographicCounterNumber$2.identity]:{},[InfographicCounterLine$2.identity]:{},[InfographicCounterCircle$2.identity]:{},[MapFormEloqua$1.identity]:{},[MapFormHubSpot$1.identity]:{},[MapFormMarketo$1.identity]:{},[MapFormSFP$1.identity]:{},[Template$1.identity]:{},[Settings$1.identity]:{},[Table$2.identity]:{},[TableRow$1.identity]:{},[TableCell$2.identity]:{},[Property$1.identity]:{},[Condition$1.identity]:{}};var BackgroundCSSIdentifiers$1;(function(e){e.BackgroundVideoContainer="ripley__BackgroundVideoContainer"})(BackgroundCSSIdentifiers$1||(BackgroundCSSIdentifiers$1={}));t$1.type({id:t$1.UUID,identity:t$1.literal(identity$1j)});const BackgroundContainerStyles$1=styled.div`
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	position: absolute;
	width: 100%;
	height: 100%;

	/* set overFlow to hidden so that hotspots disappear when there outside of the background. */
	overflow: hidden;

	/* this is necessary, so that background video iFrame wont hijack mouse-events */
	pointer-events: none;
	border-radius: inherit;

	/* overwrite so that our video is place correctly with padding-bottom trick */
	box-sizing: border-box;
	background-color: ${({disabled:e})=>e?"#666":"inherit"};

	/* Preferably only on iOS we want to disable backgroundAttachment because it's not supported on iOS devices.
	 * The next line will fix for all iPhones but disable it for Android, IE and Edge as well. */
	.os-ios &,
	.os-android &,
	.browser-ie &,
	.browser-edge &,
	.im-overlay {
		background-attachment: scroll !important;
	}

	${({mobileFallbackStyles:e})=>e}
	${({fallbackStyles:e})=>e}
	${({styles:e})=>e}
`,isEmptyObject$1=e=>Object.keys(e).length===0&&e.constructor===Object;function getScrollY$1(){return window.scrollY||window.pageYOffset||document.documentElement.scrollTop||0}function updateElementsPosition$1(e,i){e.forEach(n=>updateElementPosition$1(n,i))}function updateElementPosition$1(e,i){e.translateY=e.initialTranslateY+i*(1-e.scrollRate),setTransformValue$1(e)}function getVerticalCenterOffsetFromWindowVerticalCenter$1(e,i,n){return e+i/2-n/2}function getParallaxedHeight$1(e,i,n){return 5+n*.2+Math.ceil(e+(1-i)*(n-e))}function getParallaxedTop$1(e,i,n,o,r,a){const s=getVerticalCenterOffsetFromWindowVerticalCenter$1(o,e,a);return(n===!0||s!==null&&s<=0)&&r!==0?Math.ceil(o*(r-1)):Math.ceil((e-i)/2)}function getInitialTranslateY$1(e){const{descendantOfFirstSection:i,scrollRate:n,initialTop:o,initialHeight:r,viewportHeight:a}=e,s=getVerticalCenterOffsetFromWindowVerticalCenter$1(o,r,a);return(i||s!==null&&s<=0)&&n!==0||n===1||s===null?0:s*(n-1)}function setTransformValue$1(e){const{height:i,top:n,translateY:o,containerEl:r}=e;if(e.el==null)return;const a=`${i}px`,s=`${n}px`,l=e.el.style.height,u=e.el.style.top;if(l!==a&&e.el.style.setProperty("height",a),u!==s&&e.el.style.setProperty("top",s),r){const d=r.parentNode.getBoundingClientRect();r.style.setProperty("width",`${d.width}px`),r.style.setProperty("height",`${d.height}px`),r.style.setProperty("left",`${d.left}px`),r.style.setProperty("transform",`translate3d(0px, ${d.top}px, 0px)`)}e.el.style.setProperty("transform",`translate3d(0px, ${o}px, 0px)`)}function areCSSVariablesSupported$1(){return typeof window!="undefined"&&window.CSS!==void 0&&typeof window.CSS.supports=="function"&&window.CSS.supports("--fake-var","0")}function setParallaxItemValues$1(e,i){var r;e.cssVariablesSupported=areCSSVariablesSupported$1();const n=typeof innerHeight!="undefined"?innerHeight():0;i!=null&&(e.getParallaxItemOptions=i);const o=e.getParallaxItemOptions();e.el=o.ref==null?null:o.ref.current,e.containerEl=o.containerEl,!(e.el==null||e.containerEl==null)&&(e.scrollRate=o.scrollRate,e.initialHeight=e.containerEl.clientHeight,e.initialTop=e.containerEl.parentNode.getBoundingClientRect().top+getScrollY$1(),e.initialOffsetTop=((r=o.containerEl)==null?void 0:r.offsetTop)||0,e.descendantOfFirstSection=o.descendantOfFirstSection==null?!1:o.descendantOfFirstSection,e.initialTranslateY=getInitialTranslateY$1({initialTop:e.initialTop,initialHeight:e.initialHeight,scrollRate:e.scrollRate,descendantOfFirstSection:e.descendantOfFirstSection,viewportHeight:n}),e.translateY=e.initialTranslateY,e.height=getParallaxedHeight$1(e.initialHeight,e.scrollRate,n),e.top=getParallaxedTop$1(e.initialHeight,e.height,e.descendantOfFirstSection,e.initialTop,e.scrollRate,n))}class ParallaxItem$1{constructor(i){b(this,"el");b(this,"containerEl");b(this,"instanceId");b(this,"scrollRate");b(this,"initialTranslateY");b(this,"translateY");b(this,"initialHeight");b(this,"initialTop");b(this,"initialOffsetTop");b(this,"top");b(this,"height");b(this,"descendantOfFirstSection");b(this,"getParallaxItemOptions");b(this,"cssVariablesSupported");b(this,"id");b(this,"index");setParallaxItemValues$1(this,i)}update(){setParallaxItemValues$1(this,void 0)}}const defaultParallaxScrollRate$1=1;function handleRequestAnimationFrame$1(){this.updateWhenScrollHeightChanged(),this.scrollY=getScrollY$1(),updateElementsPosition$1(this._parallaxItems,this.scrollY),window.requestAnimationFrame(this.handleRequestAnimationFrame)}class ParallaxController$1{constructor(){b(this,"_parallaxItems");b(this,"scrollY");b(this,"ticking");b(this,"initiated");b(this,"lastIosInnerHeight");b(this,"handleRequestAnimationFrame");b(this,"scrollContainer");b(this,"prevScrollContainerScrollHeight");b(this,"_addParallaxItem",i=>{i.index=this._parallaxItems.length,this._parallaxItems.push(i),this.update()});b(this,"createParallaxItem",i=>{const n=i();let o=this._parallaxItems.find(r=>r.el===get_1(n,["ref","current"]));return o===void 0&&(o=new ParallaxItem$1(i),this._addParallaxItem(o)),o});b(this,"removeParallaxItem",i=>{const n=this._parallaxItems.findIndex(o=>o.el===i);n!==-1&&this._parallaxItems.splice(n,1)});b(this,"updateWhenScrollHeightChanged",()=>{if(!this.scrollContainer){const i=document.querySelector("#app");this.scrollContainer=i&&i.firstChild}(!this.prevScrollContainerScrollHeight||this.scrollContainer&&this.scrollContainer.scrollHeight!==this.prevScrollContainerScrollHeight)&&(this.update(),this.prevScrollContainerScrollHeight=this.scrollContainer&&this.scrollContainer.scrollHeight)});b(this,"update",()=>{!this._parallaxItems||this._parallaxItems.length===0||(this._parallaxItems.forEach(i=>{i.update()}),updateElementsPosition$1(this._parallaxItems,getScrollY$1()))});b(this,"handleResize",()=>{var o,r,a;const i=(a=(r=(o=platform)==null?void 0:o.os)==null?void 0:r.family)==null?void 0:a.toLowerCase();if(i==="ios"||i==="android"||i==="windows phone")return;const n=innerHeight&&innerHeight(0);window.innerHeight!==n?n!==this.lastIosInnerHeight&&(this.update(),this.lastIosInnerHeight=n):(this.lastIosInnerHeight=0,this.update())});b(this,"cleanup",()=>{window.removeEventListener("resize",this.handleResize,!1)});this._parallaxItems=[],this.scrollY=getScrollY$1(),this.ticking=!1,this.initiated=!1,this.handleRequestAnimationFrame=handleRequestAnimationFrame$1.bind(this),window.addEventListener("resize",this.handleResize,!1),this.handleRequestAnimationFrame()}}const ParallaxContext$1=React.createContext({}),{Provider:ContextProvider$1}=ParallaxContext$1;class ParallaxProvider$1 extends React.Component{constructor(i){super(i);b(this,"parallaxController");typeof window=="undefined"||(this.parallaxController=new ParallaxController$1)}componentDidUpdate(i){const{viewportSize:n,isSaving:o,isTransitioning:r}=this.props,{viewportSize:a,isSaving:s}=i;(s===!0&&o===!1||n!==a&&a!=null)&&setTimeout(this.parallaxController.update),r!==!0&&i.isTransitioning===!0&&this.parallaxController.update()}componentWillUnmount(){this.parallaxController.cleanup()}render(){const{children:i}=this.props;return React.createElement(ContextProvider$1,{value:{parallaxController:this.parallaxController}},i)}}const{Consumer:ContextConsumer$1}=ParallaxContext$1,Container$7=styled.div`
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
	will-change: transform;
`,ParallaxConsumerWrapper$1=styled.div`
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
`;class Parallax$1 extends React.Component{constructor(i){super(i);b(this,"containerEl");b(this,"item");b(this,"parallaxItemOptions");b(this,"ref");b(this,"parallaxTransform");b(this,"state");b(this,"getParallaxItemOptions",()=>this.parallaxItemOptions);b(this,"setParallaxItem",(i,n)=>{var d;if(this.parallaxController===null)return;const o=((d=this.parallaxController)==null?void 0:d.scrollY)||0,r=this.containerEl,a={ref:this.ref,containerEl:r,scrollRate:n.scrollRate,descendantOfFirstSection:n.descendantOfFirstSection},{scrollRate:s,descendantOfFirstSection:l}=i;if(this.ref===null||this.ref.current===null)return;const u=this.parallaxController instanceof ParallaxController$1;if(this.parallaxController===void 0||isEmptyObject$1(this.parallaxController)||!u)return;const c={ref:this.ref,containerEl:r,scrollRate:s,descendantOfFirstSection:l};if(this.item&&this.item!==null){if(isEqual_1(a,c))return;this.parallaxItemOptions=c,this.item.update(),setTimeout(()=>updateElementPosition$1(this.item,o));return}this.parallaxItemOptions=c,this.item=this.parallaxController.createParallaxItem(this.getParallaxItemOptions),setTimeout(()=>updateElementPosition$1(this.item,o))});b(this,"setRef",i=>{this.state.initialItemSet===!1&&this.setState({initialItemSet:!0}),this.ref.current=i});this.parallaxTransform="",this.ref=React.createRef(),this.state={initialItemSet:!1},this.setParallaxItem(i,{scrollRate:1,descendantOfFirstSection:!1})}componentDidUpdate(i){this.setParallaxItem(this.props,i)}componentWillUnmount(){var i,n;this.item!==null&&((n=this.parallaxController)==null||n.removeParallaxItem((i=this.item)==null?void 0:i.el))}get parallaxController(){return this.props.parallaxController}render(){const{children:i}=this.props;return React.createElement(ParallaxConsumerWrapper$1,null,React.createElement(Container$7,{className:"parallax-consumer",ref:n=>this.containerEl=n},React.cloneElement(React.Children.only(i),{setParallaxRef:this.setRef})))}}b(Parallax$1,"defaultProps");class ParallaxConsumer$1 extends React.Component{render(){return React.createElement(ContextConsumer$1,null,({parallaxController:i})=>React.createElement(Parallax$1,w(f({},this.props),{parallaxController:i}),this.props.children))}}function getParallaxScrollRate$1(e){const i=get_1(e,["parallaxScrollRate"]);return i?parseFloat(`${i}`):defaultParallaxScrollRate$1}const withParallaxConsumer$1=e=>{class i extends React.Component{constructor(o){super(o)}render(){const o=getParallaxScrollRate$1(this.props);if(o===defaultParallaxScrollRate$1)return React.createElement(e,f({},this.props));const r=get_1(this.props,["descendantOfFirstSection"]),a={scrollRate:o,descendantOfFirstSection:r==null?!1:r};return React.createElement(ParallaxConsumer$1,f({},a),React.createElement(e,f({},this.props)))}}return i},fallbackMobileShow$1={opacity:1,transition:"opacity 500ms linear 0ms"},BackgroundImage$1=({styles:e,setParallaxRef:i=noop_1})=>{const[n,o]=react.exports.useState({});return react.exports.useEffect(()=>{const r=setTimeout(()=>{o(e)},0);return()=>clearTimeout(r)},[e]),React.createElement(BackgroundContainerStyles$1,{ref:i,className:"viewer-background",fallbackStyles:fallbackMobileShow$1,styles:n,disabled:!1,show:!0})};withParallaxConsumer$1(BackgroundImage$1);const defaultState$2={movementsPaused:!1,handlePause:()=>{},toggleGifFreeze:()=>{}};react.exports.createContext(defaultState$2);VisibilitiesEnum$1.SCREEN_MIN,VisibilitiesEnum$1.SCREEN_FULL;styled.div`
	visibility: ${({visibility:e})=>e};
	opacity: ${({opacity:e})=>e};
	transition: opacity 0.4s, visibility 0.4s;
`;styled.div`
	flex: 1;
	width: 100%;
	display: ${({flex:e})=>e!==1?"none":"inline-block"} !important;
`;const ConfigURLs$2={apiURL:typeof window!="undefined"?localStorage.getItem("X-Api-Override")||{}.ENV_API_URL:{}.ENV_API_URL,authURL:typeof window!="undefined"?localStorage.getItem("X-Auth-Override")||{}.ENV_AUTH_URL:{}.ENV_AUTH_URL,dashboardURL:typeof window!="undefined"?localStorage.getItem("X-Portal-Override")||{}.ENV_DASHBOARD_URL:{}.ENV_DASHBOARD_URL,t2Url:typeof window!="undefined"?localStorage.getItem("X-T2-Override")||{}.ENV_T2_URL:{}.ENV_T2_URL,betaUrl:typeof window!="undefined"?localStorage.getItem("X-Beta-Override")||{}.ENV_BETA_URL:{}.ENV_BETA_URL};let token$1;const getAccessToken$1=()=>token$1||(typeof window!="undefined"&&window.localStorage?window.localStorage.getItem("X-EN-ACCESS-TOKEN"):void 0),setAccessToken$1=e=>{token$1=e},instance$1=axios.create({baseURL:`${ConfigURLs$2.apiURL}/`,headers:{Authorization:`Bearer ${getAccessToken$1()}`}});instance$1.interceptors.request.use(e=>{const n=`Bearer ${getAccessToken$1()}`;return e.headers.Authorization!==n&&(e.headers.Authorization=n),e});instance$1.interceptors.response.use(e=>e,async e=>{if(e.response&&e.response.status===401&&!e.config._retry)try{const i=await axios.get(`${ConfigURLs$2.authURL}/token/refresh`,{withCredentials:!0,headers:{"Content-Type":"application/json; charset=UTF-8",Accept:"application/json"}});return setAccessToken$1(i.data.access_token),axios(w(f({},e.config),{_retry:!0,headers:w(f({},e.config.headers||{}),{Authorization:`Bearer ${i.data.access_token}`})}))}catch{return e}return e});const collectExternalImageAssetsFromStore$1=e=>Object.values(e||{}).reduce((i,n)=>(n==null?void 0:n.provider)!=="foleon"&&(n==null?void 0:n.url)?[...i,n]:i,[]),defaultAssetData$1={images:{},videos:{},externalImages:{},fonts:{}};var DevToolsTabEnum;(function(e){e.BECKY_ENTITIES="BECKY_ENTITIES",e.CONTENT_STORES="CONTENT_STORES",e.COLLECTIONS="COLLECTIONS",e.ACCOUNT="ACCOUNT"})(DevToolsTabEnum||(DevToolsTabEnum={}));const getKeys=e=>{const i=[];for(const n in e)i.push(n);return i},WIDTH="45vw",TOGGLE_BUTTON_SIZE=75,Container$6=styled.div`
	width: ${e=>e.isOpen?WIDTH:0};
	height: 100vh;
	top: 0;
	right: 0;
	position: fixed;
	z-index: 999;
	font-family: monospace;
	box-sizing: border-box;
	cursor: default;
	transition: width 0.5s ease-out;
`,Inner$1=styled.div`
	position: absolute;
	background-color: rgb(39, 40, 34);
	width: 100%;
	height: 100vh;
	overflow-y: scroll;
	left: ${TOGGLE_BUTTON_SIZE};
	font-size: 1rem;
	padding-top: 3rem;
`,TabSelector=styled.div`
	text-align: right;
	& a {
		margin-right: 10px;
		color: white;
		border: 1px solid grey;
		cursor: pointer;
	}
	& a.active {
		border: 1px solid white;
	}
`,ToggleButton=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: ${TOGGLE_BUTTON_SIZE}px;
	height: ${TOGGLE_BUTTON_SIZE}px;
	top: 110px;
	left: -${TOGGLE_BUTTON_SIZE+10}px;
	cursor: pointer;
	transform: ${e=>e.isOpen?"rotate(-1170deg)":"none"};
	transition: transform 0.4s ease-out;
`,RowItem=styled.div`
	color: rgb(249, 248, 245);
	letter-spacing: 0.5px;
	vertical-align: top;
	opacity: 0.85;
	padding: 3px 5px 3px 20px;
	border-left: 1px solid rgb(73, 72, 62);
	cursor: ${e=>e.isClickable?"pointer":"auto"};
`,RowItemBody=styled.div`
	padding: 3px 5px 3px 20px;
`,IconContainer$1=styled.div`
	display: inline-block;
	width: 17px;
	color: ${e=>e.isOpen?"rgb(102, 217, 239)":"rgb(174, 129, 255)"};
`,Icon=styled.svg`
	vertical-align: top;
	height: 1em;
	width: 1em;
	padding-left: 2px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
`,DevToolStateContext=React.createContext({activePath:"",activeTab:DevToolsTabEnum.BECKY_ENTITIES}),DevToolDispatchContext=React.createContext(void 0),debugIsEnabled=e=>e&&window.localStorage&&window.localStorage.getItem("X-EDITOR-DEBUG")==="true",useIsInDebugMode=()=>{const e=typeof window=="object",[i,n]=React.useState(debugIsEnabled(e));return React.useEffect(()=>{n(debugIsEnabled(e))},[e]),i};function DevToolProvider({children:e}){const[i,n]=React.useState(""),[o,r]=React.useState(DevToolsTabEnum.BECKY_ENTITIES);return useIsInDebugMode()?React.createElement(DevToolStateContext.Provider,{value:{activePath:i,activeTab:o}},React.createElement(DevToolDispatchContext.Provider,{value:{setActivePath:n,setActiveTab:r}},e)):React.createElement(React.Fragment,null,e)}function useDevToolState(){const e=React.useContext(DevToolStateContext);if(e===void 0)throw new Error("useDevToolState must be used within a DevToolProvider");return e}function useDevToolDispatch(){const e=React.useContext(DevToolDispatchContext);if(e===void 0)throw new Error("useDevToolDispatch must be used within a DevToolProvider");return e}const ExpandableIcon=({isOpen:e})=>React.createElement(IconContainer$1,{isOpen:e},React.createElement("span",null,React.createElement(Icon,{viewBox:"0 0 15 15",fill:"currentColor"},e?React.createElement("path",{d:"M0 5l6 6 6-6z"}):React.createElement("path",{d:"M0 14l6-6-6-6z"})))),NodeExpandable=({children:e,title:i,path:n,activePath:o,onNodeClick:r,isHighlighted:a})=>{const s=[...n,i].join("."),l=lodash.exports.difference(s.split("."),o.split(".")).length===0,u=()=>{if(!l)r(s);else if(l&&o.endsWith(i)){const c=o.lastIndexOf("."),d=o.substring(0,c);r(d)}else r(s)};return React.createElement(React.Fragment,null,React.createElement(RowItem,{isClickable:!0,onClick:u},React.createElement(ExpandableIcon,{isOpen:l}),i,a&&" (active)"),l&&React.createElement(RowItemBody,null,e),React.Children.count(e)===0&&l&&null)},theme={default:"white",orange:"rgb(253, 151, 31)",green:"rgb(166, 226, 46)",purple:"rgb(174, 129, 255)"},NodeValue=({property:e})=>{const i=()=>typeof e=="number"?theme.green:typeof e=="string"?theme.orange:typeof e=="boolean"?theme.purple:theme.default;return React.createElement("span",{style:{color:i()}},(e==null?void 0:e.toString())||"null")},ConditionalWrapper=({condition:e,wrapper:i,children:n})=>e?i(n):n,RecursiveRenderer=({property:e,propertyName:i,onNodeClick:n,activePath:o,path:r,activeContentStoreId:a})=>e!==void 0?typeof e=="number"||typeof e=="string"||typeof e=="boolean"||e===null?React.createElement(RowItem,null,'"',i,'": ',React.createElement(NodeValue,{property:e}),";"):typeof e!="function"?React.createElement(ConditionalWrapper,{condition:!!i,wrapper:s=>i==="listeners"||i==="commitListeners"||i==="mutationQueueListeners"?React.createElement(RowItem,null,'"',i,'": ',React.createElement(NodeValue,{property:s.length}),";"):React.createElement(NodeExpandable,{title:i,onNodeClick:n,path:r,activePath:o,isHighlighted:i===String(a)},s)},Object.values(e).map((s,l)=>React.createElement(RecursiveRenderer,{key:l,property:s,propertyName:Object.getOwnPropertyNames(e)[l],onNodeClick:n,path:[...r,...i?[i]:[]],activePath:o,activeContentStoreId:a}))):null:null,Toggle=({onClick:e,isOpen:i,toggleImageSrc:n})=>React.createElement(ToggleButton,{onClick:e,isOpen:i},React.createElement("img",{style:{width:"100%"},alt:"toggle",src:n})),DevToolContainer=({subscribeEntitiesState:e,subscribeCollectionsState:i,activeContentStoreId:n,toggleImageSrc:o,showTabs:r})=>useIsInDebugMode()?React.createElement(DevTool,{subscribeEntitiesState:e,subscribeCollectionsState:i,activeContentStoreId:n,toggleImageSrc:o,showTabs:r}):null,DevTool=({subscribeEntitiesState:e,subscribeCollectionsState:i,activeContentStoreId:n,toggleImageSrc:o,showTabs:r=!1})=>{const{activePath:a,activeTab:s}=useDevToolState(),{setActivePath:l,setActiveTab:u}=useDevToolDispatch(),S=e(T=>T),{contentStores:c}=S,d=W(S,["contentStores"]),m=i&&i(T=>T),[g,E]=React.useState(!1),h=w(f({[DevToolsTabEnum.BECKY_ENTITIES]:{label:"becky entities",state:d},[DevToolsTabEnum.CONTENT_STORES]:{label:"content stores",state:c}},m?{[DevToolsTabEnum.COLLECTIONS]:{label:"collections",state:f({},m)}}:{[DevToolsTabEnum.COLLECTIONS]:{label:"collections",state:{}}}),{[DevToolsTabEnum.ACCOUNT]:{label:"account",state:{}}});React.useEffect(()=>{a&&!g&&E(!0)},[a]);const I=T=>React.createElement("a",{onClick:()=>{const x=Object.keys(h).find(C=>h[C].label===T.label);x&&u(x)},className:h[s].label===T.label?"active":""},T.label),v=()=>{const T=getKeys(h[s].state).sort().reduce((x,C)=>w(f({},x),{[C]:h[s].state[C]}),{});return React.createElement(RecursiveRenderer,{property:T,activePath:a,path:[],onNodeClick:l,activeContentStoreId:n})};return React.createElement(Container$6,{isOpen:g},React.createElement(Toggle,{onClick:()=>E(!g),isOpen:g,toggleImageSrc:o}),React.createElement(Inner$1,null,g&&React.createElement(React.Fragment,null,r&&React.createElement(TabSelector,null,I(h.BECKY_ENTITIES),I(h.CONTENT_STORES),I(h.COLLECTIONS),I(h.ACCOUNT)),v())))};class WithResizeListener extends react.exports.Component{constructor(i){super(i);b(this,"_node");b(this,"_elementResizeDetector");this.state={containerHeight:null,containerWidth:null,containerLeft:null,containerTop:null},this._elementResizeDetector=null,this.saveRef=this.saveRef.bind(this),this.setCurrentDimensions=this.setCurrentDimensions.bind(this),this.handleWindowResize=this.handleWindowResize.bind(this),this.setupResizeListener=this.setupResizeListener.bind(this),this.setupDeferred=this.setupDeferred.bind(this)}componentDidMount(){this.setupResizeListener()}componentWillUnmount(){const i=this._elementResizeDetector;i!=null&&i.uninstall(this._node)}setupDeferred(i){this.saveRef(i),this.setupResizeListener()}setupResizeListener(){this._node!=null&&this._elementResizeDetector==null&&(this._elementResizeDetector=elementResizeDetector({strategy:"scroll",callOnAdd:!1}),this._elementResizeDetector.listenTo(this._node,this.setCurrentDimensions),this.setCurrentDimensions())}handleWindowResize(){this.setCurrentDimensions()}saveRef(i){this._node=i}setCurrentDimensions(){const i=this._node;if(i!=null){const{height:n,width:o,top:r,left:a}=i.getBoundingClientRect();this.setState({containerHeight:n,containerWidth:o,containerTop:r,containerLeft:a})}}render(){const{containerWidth:i,containerHeight:n,containerTop:o,containerLeft:r}=this.state;return this.props.children({resizeListenerRef:this.saveRef,containerWidth:i,containerHeight:n,containerTop:o,containerLeft:r,setupDeferred:this.setupDeferred})}}const makeCancelable=e=>{let i=!1;const n=new Promise((o,r)=>{e.then(a=>i?r({isCanceled:!0}):o(a),a=>r(i?{isCanceled:!0}:a))});return{promise:n,cancel(){return i=!0,n}}},Fetch=({url:e,collectionKey:i,children:n})=>{const[o,r]=react.exports.useState([]),[a,s]=react.exports.useState(!1),[l,u]=react.exports.useState(!1),c=react.exports.useRef(null),d=()=>{e!=null?(c.current=makeCancelable(fetch(e)),m()):u(!0)};react.exports.useEffect(()=>{d()},[]),react.exports.useEffect(()=>(c.current&&e!==e&&c.current.cancel().then(d),()=>{c.current!=null&&c.current.cancel()}),[e,i]);const m=()=>{s(!0),u(!1),c.current!=null&&!a&&c.current.promise.then(g=>{if(!g.ok)u(!0),s(!1);else if(g.ok)return g.json()}).then(g=>{i!=null&&g!=null&&g[i]!=null?(r(g[i]),s(!1)):(r(g),s(!1))})};return n({results:o,isFetching:a,fetchError:l})};class Ok{constructor(i){this.value=i}isOk(){return!0}isErr(){return!this.isOk()}}class Err{constructor(i){this.error=i}isOk(){return!1}isErr(){return!this.isOk()}}const ok=e=>new Ok(e),err=e=>new Err(e);var ErrorType;(function(e){e.PARENT_MISSING="PARENT_MISSING",e.WRONG_LENGTH="WRONG_LENGTH"})(ErrorType||(ErrorType={}));var HTTP_STATUS;(function(e){e[e.MAINTENANCE=503]="MAINTENANCE",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.NOT_ALLOWED=405]="NOT_ALLOWED",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.UNKNOWN=0]="UNKNOWN",e[e.SUCCESS=200]="SUCCESS"})(HTTP_STATUS||(HTTP_STATUS={}));const IsAnyObject=e=>{const i=Object.prototype.toString.call(e);return i==="[object Object]"||i==="[object Window]"};class CoreType{constructor(i,n,o){b(this,"_R");b(this,"_O");b(this,"name");b(this,"is");b(this,"validate");this.name=i,this.is=n,this.validate=o}val(i){return this.validate(i,{errors:[],value:{},type:this},[])}}function isAnyC(e){return e._tag==="AnyType"}class Type extends CoreType{constructor(i,n,o,r){super(i,n,o);b(this,"_tag","Type");this.props=r}}const getNameFromProps=e=>Object.keys(e).map(i=>`${i}: ${e[i].name}`).join(", "),getInterfaceTypeName=e=>`{ ${getNameFromProps(e)} }`;function isInValidKey(e,i,n){return e===void 0&&!Object.prototype.hasOwnProperty.call(n,i)}const type=e=>{const i=getInterfaceTypeName(e),n=Object.keys(e),o=n.map(a=>e[a]),r=n.length;return new Type(i,a=>{if(Object.keys(a||{}).length!==n.length)return!1;if(IsAnyObject(a)){for(let l=0;l<r;l++){const u=n[l],c=a[u],d=o[l];if(isInValidKey(c,u,a)||!d.is(c))return!1}return!0}return!1},(a,s,l)=>{const u=Object.keys(a||{}),c=[],d=m=>c.push(m);if(!IsAnyObject(a))return err([{path:l,expected:i,got:a}]);if(u.length!==n.length)return err([{path:l,expected:i,got:a}]);for(let m=0;m<r;m++){const g=n[m],E=a[g],h=o[m];if(isInValidKey(E,g,a))return err([{path:l,expected:i,got:a}]);const I=h.validate(E,s,[...l,g]);I.isErr()&&I.error.forEach(d)}return c.length?err(c):ok(a)},e)};class PartialType extends CoreType{constructor(i,n,o,r){super(i,n,o);b(this,"_tag","PartialType");this.props=r}}const getPartialTypeName=e=>`Partial<${e}>`,partial=e=>{const i=getPartialTypeName(getInterfaceTypeName(e)),o=Object.keys(e).length;return new PartialType(i,r=>{if(IsAnyObject(r)){const a=Object.keys(r),s=a.length;if(s>o)return!1;for(let l=0;l<s;l++){const u=a[l],c=e[u],d=r[u];if(c===void 0||isInValidKey(d,u,r)||!c.is(d))return!1}return!0}return!1},(r,a,s)=>{const l=[],u=m=>l.push(m);if(!IsAnyObject(r))return err([{path:s,expected:"type",got:r}]);const c=Object.keys(r),d=c.length;if(d>o)return err([{path:s,expected:i,got:r}]);for(let m=0;m<d;m++){const g=c[m],E=e[g];if(E===void 0)return err([{path:[...s,g],expected:i,got:`invalid key: "${g}"`}]);const h=E.validate(r[g],a,[...s,g]);h.isErr()&&h.error.forEach(u)}return l.length?err(l):ok(r)},e)};class RefinementType extends CoreType{constructor(i,n,o,r,a){super(i,n,o);b(this,"_tag","RefinementType");this.type=r,this.predicate=a}}const refinement=(e,i,n)=>new RefinementType(n,o=>e.is(o)&&i(o),(o,r,a)=>{const s=e.validate(o,r,a);return s.isErr()||s.isOk()&&!i(s.value)?err([{expected:n,got:o,path:a}]):ok(o)},e,i),brand=(e,i,n)=>refinement(e,i,n);class ArrayType extends CoreType{constructor(i,n,o,r){super(i,n,o);b(this,"tag","ArrayType");this.props=r}}function isUnionC(e){return e._tag==="UnionType"}class UnionType extends CoreType{constructor(i,n,o,r){super(i,n,o);b(this,"_tag","UnionType");this.types=r}}const union=e=>new UnionType("union",i=>e.some(n=>n.is(i)),(i,n,o)=>{const r=[],a=u=>r.push(u),s=e.find(u=>u.is(i));if(s===void 0)return err([{path:o,expected:`${e.map(u=>u.name)}`,got:i}]);const l=s.validate(i,n,o);return l.isErr()&&l.error.forEach(a),l.isErr()?err(r):ok(i)},e),array=e=>new ArrayType("array",i=>Array.isArray(i)&&i.every(e.is),(i,n,o)=>{const r=[],a=s=>r.push(s);if(Array.isArray(i))for(let s=0;s<i.length;s++){const l=i[s],u=e.validate(l,n,[...o,s]);u.isErr()&&u.error.forEach(a)}else return err([{path:o,expected:"array",got:type}]);return r.length?err(r):ok(i)},e);class BooleanType extends CoreType{constructor(){super("boolean",i=>typeof i=="boolean",(i,n,o)=>this.is(i)?ok(i):err([{path:o,expected:"boolean",got:i}]));b(this,"_tag","BooleanType")}}const boolean=new BooleanType,object=new CoreType("object",e=>typeof e=="object",(e,i,n)=>typeof e=="object"?ok(e):err([{path:n,got:e,expected:"object"}])),isValidJsonObject=e=>{if(!e||typeof e!="object")return!1;try{const i=JSON.stringify(e),n=JSON.parse(i);return typeof n=="object"&&!Array.isArray(n)}catch{return!1}},json=new CoreType("json",e=>isValidJsonObject(e),(e,i,n)=>isValidJsonObject(e)?ok(e):err([{path:n,got:e,expected:"json"}])),string=new CoreType("string",e=>typeof e=="string",(e,i,n)=>typeof e=="string"?ok(e):err([{path:n,got:e,expected:"string"}])),number=new CoreType("number",e=>typeof e=="number",(e,i,n)=>typeof e=="number"&&!isNaN(e)?ok(e):err([{path:n,got:e,expected:"number"}]));class AnyDictionaryType extends CoreType{constructor(){super("UnknownMap",IsAnyObject,(i,n,o)=>IsAnyObject(i)?ok(i):err([{path:o,got:i,expected:"AnyObject"}]));b(this,"_tag","AnyDictionaryType")}}const UnknownRecord=new AnyDictionaryType;class DictionaryType extends CoreType{constructor(i,n,o,r,a){super(i,n,o);b(this,"_tag","DictionaryType");this.domain=r,this.codomain=a}}class UndefinedType extends CoreType{constructor(){super("undefined",i=>i===void 0,(i,n,o)=>this.is(i)?ok(i):err([{path:o,expected:"undefined",got:i}]));b(this,"_tag","UndefinedType")}}const undefinedType=new UndefinedType;class NullType extends CoreType{constructor(){super("null",i=>i===null,(i,n,o)=>this.is(i)?ok(i):err([{path:o,expected:"null",got:i}]));b(this,"_tag","NullType")}}const nullType=new NullType;function isKeyofC(e){return e._tag==="KeyofType"}function isLiteralC(e){return e._tag==="LiteralType"}class LiteralType extends CoreType{constructor(i,n,o,r){super(i,n,o);b(this,"_tag","LiteralType");this.value=r}}const literal=(e,i=JSON.stringify(e))=>{const n=o=>o===e;return new LiteralType(i,n,(o,r,a)=>n(o)?ok(o):err([{path:a,got:o,expected:i}]),e)};function getDomainKeys(e){if(isLiteralC(e)){const i=e.value;if(string.is(i))return{[i]:null}}else{if(isKeyofC(e))return e.keys;if(isUnionC(e)){const i=e.types.map(n=>getDomainKeys(n));return i.some(undefinedType.is)?void 0:Object.assign({},...i)}}}const nonEnumerableRecord=(e,i,n=`{ [K in ${e.name}]: ${i.name} }`)=>new DictionaryType(n,o=>UnknownRecord.is(o)?Object.keys(o).every(r=>e.is(r)&&i.is(o[r])):isAnyC(i)&&Array.isArray(o),(o,r,a)=>{const s=[],l=c=>s.push(c),u=c=>{const d=e.validate(c,r,[...a,c]);if(d.isErr())d.error.forEach(l);else{const m=i.validate(o[c],r,[...a,c]);m.isErr()&&m.error.forEach(l)}};return Object.keys(o).forEach(u),s.length?err(s):ok(o)},e,i),map=(e,i)=>{if(getDomainKeys(e))throw new Error("Enumerable map not implemented");return nonEnumerableRecord(e,i)},regex=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,UUID=brand(string,e=>regex.test(e),"UUID");var HalPropertiesEnum;(function(e){e.name="name",e.label="label",e.value="value",e.placeholder="placeholder",e.size="size",e.isDefault="is_default",e.isRequired="is_required"})(HalPropertiesEnum||(HalPropertiesEnum={}));var AccountEnum;(function(e){e.ACCOUNT="ACCOUNT",e.CURRENT_ACCOUNT="CURRENT_ACCOUNT"})(AccountEnum||(AccountEnum={}));var ActionEnum;(function(e){e.ACTION_URL="ACTION_URL",e.ACTION_PAGE="ACTION_PAGE",e.ACTION_OVERLAY="ACTION_OVERLAY",e.ACTION_VIRTUAL_OVERLAY="ACTION_VIRTUAL_OVERLAY",e.NO_ACTION="NO_ACTION"})(ActionEnum||(ActionEnum={}));var ArticleEnum;(function(e){e.CLIENT="ARTICLE",e.SERVER="PAGE"})(ArticleEnum||(ArticleEnum={}));var AssetsEnum;(function(e){e.MEDIA_ITEMS="MEDIA_ITEMS",e.USER_ITEMS="USER_ITEMS",e.STOCK_IMAGES="STOCK_IMAGES",e.BYNDER_ITEMS="BYNDER_ITEMS",e.UNSPLASH_ITEMS="UNSPLASH_ITEMS",e.FONT="FONT"})(AssetsEnum||(AssetsEnum={}));var EntityEnum;(function(e){e.ATTRIBUTES="ATTRIBUTES",e.ITEM_RANGE="ITEM_RANGE",e.PUBLICATION_GROUP="PUBLICATION_GROUP",e.PUBLICATION="PUBLICATION",e.COLLECTIONS="COLLECTIONS",e.PRESET_TAGS="PRESET_TAGS"})(EntityEnum||(EntityEnum={}));var FormEnum;(function(e){e.ITEM_FORM_INPUT_TEXT="ITEM_FORM_INPUT_TEXT",e.ITEM_FORM_INPUT_TEXT_AREA="ITEM_FORM_INPUT_TEXT_AREA",e.ITEM_FORM_INPUT_HIDDEN="ITEM_FORM_INPUT_HIDDEN",e.ITEM_FORM_INPUT_LIST_RADIO="ITEM_FORM_INPUT_LIST_RADIO",e.ITEM_FORM_INPUT_LIST_OPTION="ITEM_FORM_INPUT_LIST_OPTION",e.ITEM_FORM_INPUT_LIST_DROPDOWN="ITEM_FORM_INPUT_LIST_DROPDOWN",e.ITEM_FORM_INPUT_LIST_CHECKBOX="ITEM_FORM_INPUT_LIST_CHECKBOX",e.ITEM_FORM_VALIDATOR_EMAIL="ITEM_FORM_VALIDATOR_EMAIL",e.ITEM_FORM_FIRST_NAME="ITEM_FORM_FIRST_NAME",e.ITEM_FORM_LAST_NAME="ITEM_FORM_LAST_NAME",e.ITEM_FORM_PHONE="ITEM_FORM_PHONE",e.ITEM_FORM_COMMENT="ITEM_FORM_COMMENT",e.ITEM_FORM_GENDER="ITEM_FORM_GENDER"})(FormEnum||(FormEnum={}));var FormInputListOptions;(function(e){e.dropdown="form-input-list-option-dropdown",e.radio="form-input-list-option-radio",e.checkbox="form-input-list-option-checkbox"})(FormInputListOptions||(FormInputListOptions={}));var InfographicCounterEnum;(function(e){e.CIRCLE="circle",e.LINE="line",e.NUMBER="number"})(InfographicCounterEnum||(InfographicCounterEnum={}));var ItemEnum;(function(e){e.ITEM_ACTION_OVERLAY="ITEM_ACTION_OVERLAY",e.ITEM_ACTION_URL="ITEM_ACTION_URL",e.ITEM_ACTION_DOCUMENT="ITEM_ACTION_DOCUMENT",e.ITEM_ACTION_PAGE="ITEM_ACTION_PAGE",e.ITEM_ACTION_FILE="ITEM_ACTION_FILE",e.ITEM_ACTION_BLOCK="ITEM_ACTION_BLOCK",e.ITEM_SECTION_COLUMN="ITEM_SECTION_COLUMN",e.ITEM_SECTION="ITEM_SECTION",e.ITEM_TRIGGER="ITEM_TRIGGER",e.ITEM_FORM_PARDOT="ITEM_FORM_PARDOT",e.ITEM_FORM_HUBSPOT="ITEM_FORM_HUBSPOT",e.ITEM_FORM_ELOQUA="ITEM_FORM_ELOQUA",e.ITEM_FORM_MARKETO="ITEM_FORM_MARKETO",e.ITEM_WHITEPAPER="ITEM_WHITEPAPER",e.ITEM_FORM="ITEM_FORM",e.ITEM_INPUT_TEXT="ITEM_INPUT_TEXT",e.ITEM_INPUT_TEXTAREA="ITEM_INPUT_TEXTAREA",e.ITEM_INPUT_CHECKBOX="ITEM_INPUT_CHECKBOX",e.ITEM_INPUT_DROPDOWN="ITEM_INPUT_DROPDOWN",e.ITEM_INPUT_HIDDEN="ITEM_INPUT_HIDDEN",e.ITEM_INPUT_OPTION="ITEM_INPUT_OPTION",e.ITEM_INPUT_RADIO="ITEM_INPUT_RADIO",e.ITEM_INPUT_SELECTLIST="ITEM_INPUT_SELECTLIST",e.ITEM_INPUT_SUBMIT="ITEM_INPUT_SUBMIT",e.ITEM_IMAGE="ITEM_IMAGE",e.IMAGE="IMAGE",e.ITEM_VIDEO="ITEM_VIDEO",e.VIDEO="VIDEO",e.ITEM_BUTTON_SCROLL="ITEM_BUTTON_SCROLL",e.ITEM_BUTTON="ITEM_BUTTON",e.ITEM_DIVIDER="ITEM_DIVIDER",e.ITEM_SOCIAL="ITEM_SOCIAL",e.ITEM_ICON="ITEM_ICON",e.ITEM_EXTERNAL_VIDEO="ITEM_EXTERNAL_VIDEO",e.ITEM_EXTERNAL_IMAGE="ITEM_EXTERNAL_IMAGE",e.ITEM_EMBED="ITEM_EMBED",e.ITEM_FIGURE="ITEM_FIGURE",e.ITEM_BACKGROUND="ITEM_BACKGROUND",e.ITEM_HOTSPOT="ITEM_HOTSPOT",e.ITEM_QUOTE="ITEM_QUOTE",e.ITEM_LEAD_FACEBOOK="ITEM_LEAD_FACEBOOK",e.ITEM_LEAD_LINKEDIN="ITEM_LEAD_LINKEDIN",e.ITEM_UNORDERED_LIST="ITEM_UNORDERED_LIST",e.ITEM_ORDERED_LIST="ITEM_ORDERED_LIST",e.ITEM_CODE_BLOCK="ITEM_CODE_BLOCK",e.VIRTUAL_ACTION_OVERLAY="VIRTUAL_ACTION_OVERLAY",e.ITEM_PRESET="ITEM_PRESET",e.ITEM_BLOCK="ITEM_BLOCK",e.ITEM_INFOGRAPHIC_COUNTER="ITEM_INFOGRAPHIC_COUNTER"})(ItemEnum||(ItemEnum={}));var LegacyEnum;(function(e){e.ITEM_PARAGRAPH="ITEM_PARAGRAPH",e.ITEM_TITLE="ITEM_TITLE",e.ITEM_QUOTE="ITEM_QUOTE"})(LegacyEnum||(LegacyEnum={}));var MagazineEnum;(function(e){e.MAGAZINE_EDITION="MAGAZINE_EDITION",e.MAGAZINE_TITLE="MAGAZINE_TITLE",e.MAGAZINE_PAGE="MAGAZINE_PAGE",e.MAGAZINE_COMPOSITION="MAGAZINE_COMPOSITION"})(MagazineEnum||(MagazineEnum={}));var TextEnum;(function(e){e.PARAGRAPH="paragraph",e.TITLE="header-one",e.ORDERED_LIST_ITEM="ordered-list-item",e.UNORDERED_LIST_ITEM="unordered-list-item",e.CODE_BLOCK="code-block",e.BUTTON="button",e.BLOCKQUOTE="blockquote"})(TextEnum||(TextEnum={}));var VirtualFormEnum;(function(e){e.VIRTUAL_FORM_INPUT_LABEL="VIRTUAL_FORM_INPUT_LABEL",e.VIRTUAL_FORM_INPUT_PLACEHOLDER="VIRTUAL_FORM_INPUT_PLACEHOLDER",e.VIRTUAL_FORM_INPUT_TEXT="VIRTUAL_FORM_INPUT_TEXT",e.VIRTUAL_FORM_OPTION_LABEL="VIRTUAL_FORM_OPTION_LABEL",e.VIRTUAL_FORM_INPUT="VIRTUAL_FORM_INPUT"})(VirtualFormEnum||(VirtualFormEnum={}));var VirtualItemEnum;(function(e){e.ITEM_ACTION="ITEM_ACTION",e.ITEM_SECTION_ROW="ITEM_SECTION_ROW",e.ITEM_BACKGROUND_VIDEO="ITEM_BACKGROUND_VIDEO",e.ITEM_IMAGE_WITH_REVEAL="ITEM_IMAGE_WITH_REVEAL",e.ITEM_FORM_INPUT_LABEL="ITEM_FORM_INPUT_LABEL",e.ITEM_FORM_INPUT_LABEL_TEXT="ITEM_FORM_INPUT_LABEL_TEXT",e.ITEM_FORM_FIELD="ITEM_FORM_FIELD",e.ITEM_FORM_INPUT_TEXT_AREA="ITEM_FORM_INPUT_TEXT_AREA",e.ITEM_FORM_INPUT_LIST_OPTION_DROPDOWN="ITEM_FORM_INPUT_LIST_OPTION_DROPDOWN",e.ITEM_FORM_INPUT_LIST_OPTION_CHECKBOX="ITEM_FORM_INPUT_LIST_OPTION_CHECKBOX",e.ITEM_FORM_INPUT_LIST_OPTION_RADIO="ITEM_FORM_INPUT_LIST_OPTION_RADIO",e.ITEM_OR="ITEM_OR",e.ITEM_SECTION_COLUMN_SCROLL="ITEM_SECTION_COLUMN_SCROLL",e.ITEM_ACTION_OVERLAY_BACKGROUND="ITEM_ACTION_OVERLAY_BACKGROUND",e.ITEM_ACTION_OVERLAY_CLOSE_ICON="ITEM_ACTION_OVERLAY_CLOSE_ICON"})(VirtualItemEnum||(VirtualItemEnum={}));const allEntityIdentifiers=[...Object.values(AccountEnum),...Object.values(MagazineEnum),...Object.values(ArticleEnum),...Object.values(EntityEnum),...Object.values(AssetsEnum),...Object.values(VirtualItemEnum),...Object.values(VirtualFormEnum),...Object.values(ItemEnum),...Object.values(FormEnum),...Object.values(ActionEnum),...Object.values(FormEnum),...Object.values(LegacyEnum)],defaultIdentifier=(e,i)=>isIdentityFromHalNode(e,i),getIdentityForNode=e=>{const i=o=>getIdentity(e,o),n=allEntityIdentifiers.find(i);if(get_1(e,["_links","self","href"],"").includes("magazine/item/external/image"))return ItemEnum.ITEM_EXTERNAL_IMAGE;if(get_1(e,["_links","self","href"],"").includes("template"))return ItemEnum.ITEM_PRESET;if(n!==void 0)return n;throw new Error(`Cannot find identity for node ${JSON.stringify(e,null,2)}`)},getIdentity=(e,i)=>{switch(i){case AccountEnum.ACCOUNT:case ItemEnum.ITEM_ACTION_OVERLAY:case ItemEnum.ITEM_ACTION_PAGE:case ItemEnum.ITEM_ACTION_URL:case ItemEnum.ITEM_DIVIDER:case ItemEnum.ITEM_EXTERNAL_IMAGE:case ItemEnum.ITEM_HOTSPOT:case ItemEnum.ITEM_FIGURE:case ItemEnum.ITEM_LEAD_FACEBOOK:case ItemEnum.ITEM_LEAD_LINKEDIN:case ItemEnum.ITEM_IMAGE:case ItemEnum.IMAGE:case ItemEnum.ITEM_SOCIAL:case ItemEnum.ITEM_INPUT_TEXT:case ItemEnum.ITEM_INPUT_TEXTAREA:case ItemEnum.ITEM_TRIGGER:case ItemEnum.ITEM_VIDEO:case ItemEnum.VIDEO:case ItemEnum.ITEM_WHITEPAPER:case ItemEnum.ITEM_PRESET:case ItemEnum.ITEM_EMBED:case ItemEnum.ITEM_INFOGRAPHIC_COUNTER:case FormEnum.ITEM_FORM_INPUT_LIST_CHECKBOX:case FormEnum.ITEM_FORM_INPUT_LIST_DROPDOWN:case FormEnum.ITEM_FORM_INPUT_LIST_RADIO:case FormEnum.ITEM_FORM_INPUT_LIST_OPTION:case VirtualItemEnum.ITEM_OR:case VirtualItemEnum.ITEM_SECTION_ROW:case VirtualItemEnum.ITEM_FORM_FIELD:case VirtualItemEnum.ITEM_FORM_INPUT_LABEL:case VirtualItemEnum.ITEM_SECTION_COLUMN_SCROLL:case VirtualItemEnum.ITEM_ACTION_OVERLAY_BACKGROUND:case VirtualItemEnum.ITEM_ACTION_OVERLAY_CLOSE_ICON:case VirtualFormEnum.VIRTUAL_FORM_INPUT:case VirtualFormEnum.VIRTUAL_FORM_INPUT_LABEL:case VirtualFormEnum.VIRTUAL_FORM_INPUT_PLACEHOLDER:case VirtualFormEnum.VIRTUAL_FORM_INPUT_TEXT:case VirtualFormEnum.VIRTUAL_FORM_OPTION_LABEL:case MagazineEnum.MAGAZINE_COMPOSITION:case MagazineEnum.MAGAZINE_PAGE:case MagazineEnum.MAGAZINE_TITLE:case MagazineEnum.MAGAZINE_EDITION:case LegacyEnum.ITEM_PARAGRAPH:case LegacyEnum.ITEM_QUOTE:case LegacyEnum.ITEM_TITLE:return defaultIdentifier(e,i);case ItemEnum.ITEM_SECTION_COLUMN:return defaultIdentifier(e,ItemEnum.ITEM_SECTION)&&e.name==="column";case ItemEnum.ITEM_SECTION:return defaultIdentifier(e,i)&&e.name==="section";case ItemEnum.ITEM_BUTTON:return get_1(e,["value","blocks",0,"type"])==="button"||defaultIdentifier(e,i);case ItemEnum.ITEM_BLOCK:return defaultIdentifier(e,i);case VirtualItemEnum.ITEM_IMAGE_WITH_REVEAL:return e._type==="imageWithReveal";case VirtualItemEnum.ITEM_FORM_INPUT_TEXT_AREA:return defaultIdentifier(e,FormEnum.ITEM_FORM_INPUT_TEXT)&&typeof e.size=="string"&&e.size!=="line";case FormEnum.ITEM_FORM_INPUT_TEXT:return defaultIdentifier(e,i)&&typeof e.size=="string"&&e.size==="line";case VirtualItemEnum.ITEM_FORM_INPUT_LIST_OPTION_DROPDOWN:return defaultIdentifier(e,FormEnum.ITEM_FORM_INPUT_LIST_OPTION)&&e._type===FormInputListOptions.dropdown;case VirtualItemEnum.ITEM_FORM_INPUT_LIST_OPTION_CHECKBOX:return defaultIdentifier(e,FormEnum.ITEM_FORM_INPUT_LIST_OPTION)&&e._type===FormInputListOptions.checkbox;case VirtualItemEnum.ITEM_FORM_INPUT_LIST_OPTION_RADIO:return defaultIdentifier(e,FormEnum.ITEM_FORM_INPUT_LIST_OPTION)&&e._type===FormInputListOptions.radio;case ItemEnum.ITEM_FORM_ELOQUA:return get_1(e,["_links","self","href"],"").includes("magazine/item/form/eloqua")?defaultIdentifier(e,ItemEnum.ITEM_FORM_ELOQUA):!1;case ItemEnum.ITEM_FORM_PARDOT:return get_1(e,["_links","self","href"],"").includes("magazine/item/form/pardot")?defaultIdentifier(e,ItemEnum.ITEM_FORM_PARDOT):!1;case ItemEnum.ITEM_FORM_HUBSPOT:return get_1(e,["_links","self","href"],"").includes("magazine/item/form/hubspot")?defaultIdentifier(e,ItemEnum.ITEM_FORM_HUBSPOT):!1;case ItemEnum.ITEM_FORM_MARKETO:return get_1(e,["_links","self","href"],"").includes("magazine/item/form/marketo")?defaultIdentifier(e,ItemEnum.ITEM_FORM_MARKETO):!1;case ItemEnum.ITEM_FORM:{const n=o=>o._links.self.href.search(/\/field\/|\/option\/|\/checkbox\/|\/dropdown\/|\/radio\/|\/text\//)!==-1;return defaultIdentifier(e,i)&&n(e)===!1}case ItemEnum.ITEM_BACKGROUND:return defaultIdentifier(e,i)&&e.value!=="VIDEO";case VirtualItemEnum.ITEM_BACKGROUND_VIDEO:return defaultIdentifier(e,ItemEnum.ITEM_BACKGROUND)&&e.value==="VIDEO";case VirtualItemEnum.ITEM_ACTION:return defaultIdentifier(e,i)&&!isIdentityFromHalNode(e,ItemEnum.ITEM_ACTION_OVERLAY)&&!isIdentityFromHalNode(e,ItemEnum.ITEM_ACTION_PAGE)&&!isIdentityFromHalNode(e,ItemEnum.ITEM_ACTION_URL);case ItemEnum.ITEM_BUTTON_SCROLL:return e._type==="button-scroll"&&defaultIdentifier(e,ItemEnum.ITEM_BUTTON_SCROLL);case ItemEnum.VIRTUAL_ACTION_OVERLAY:return!!get_1(e,["_links","self","href"],"").includes("doc/overlay");default:return!1}},isIdentityFromHalNode=(e,i)=>{const n=`/${i.toString().toLowerCase().replace(/_/g,"/")}/`,o=get_1(e,["_links","self","href"]);return o?o.indexOf(n)!==-1:!1};var AccountStates;(function(e){e.ACTIVE="active",e.INACTIVE="inactive",e.BLOCKED="blocked",e.UNVERIFIED="unverified"})(AccountStates||(AccountStates={}));var AccountSwitchFilter;(function(e){e[e.ALL=0]="ALL",e[e.ONLY_BLOCKED=1]="ONLY_BLOCKED",e[e.ONLY_ACTIVE=2]="ONLY_ACTIVE"})(AccountSwitchFilter||(AccountSwitchFilter={}));var EventLocation;(function(e){e.ACCOUNT="Account",e.EDITOR="Editor"})(EventLocation||(EventLocation={}));var Labels;(function(e){e.TEAM="team",e.SUBACCOUNT="subaccount",e.SHARED="shared"})(Labels||(Labels={}));var account=Object.freeze(Object.defineProperty({__proto__:null,get AccountStates(){return AccountStates},get AccountSwitchFilter(){return AccountSwitchFilter}},Symbol.toStringTag,{value:"Module"})),address=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),RawLicenseName;(function(e){e.BASIC="license-basic",e.ESSENTIALS="license-essentials",e.ESSENTIALS_ENTERPRISE="license-essentials-enterprise",e.EXPERT="licence-expert",e.ADVANCED="license-advanced",e.INTERNAL="license-internal",e.PARTNER_ADVANCED="license-partner-advanced",e.TRIAL="license-trial",e.PARTNER_ENTERPRISE="license-partner-enterprise",e.PARTNER_EXPERT="licene-partner-expert",e.PARTNER="license-partner",e.PARTNER_ESSENTIALS="license-partner-essentials",e.ENTERPRISE="license-enterprise",e.LITE_2014="license-lite-2014",e.PRO_2014="license-pro-2014",e.ENTERPRISE_2014="license-enterprise-2014",e.STARTER_2017="license-starter-2017",e.PROFESSIONAL_2017="license-professional-2017",e.ADVANCED_2017="license-advanced-2017",e.EXPERT_2017="license-expert-2017",e.FREE_PROFESSIONAL_2017="license-free-professional-2017",e.FREE_DESIGNER_2017="license-free-designer-2017",e.PARTNER_ADVANCED_2017="license-partner-advanced-2017",e.PARTNER_EXPERT_2017="license-partner-expert-2017"})(RawLicenseName||(RawLicenseName={}));var license=Object.freeze(Object.defineProperty({__proto__:null,get RawLicenseName(){return RawLicenseName}},Symbol.toStringTag,{value:"Module"})),BillingCycle;(function(e){e.YEARLY="yearly",e.MONTHLY="monthly"})(BillingCycle||(BillingCycle={}));var PaymentResult;(function(e){e.PENDING="pending",e.SUCCESS="success",e.FAILURE="failure"})(PaymentResult||(PaymentResult={}));var payment=Object.freeze(Object.defineProperty({__proto__:null,get BillingCycle(){return BillingCycle},get PaymentResult(){return PaymentResult}},Symbol.toStringTag,{value:"Module"})),PresetGroup;(function(e){e.BLOCK="block",e.PAGE="page",e.WHITEPAPER="whitepaper",e.PUBLICATION="doc",e.OVERLAY="overlay",e.ALL="all"})(PresetGroup||(PresetGroup={}));var PresetStatus;(function(e){e.Available="available",e.Unavailable="unavailable",e.Draft="draft"})(PresetStatus||(PresetStatus={}));var PresetSource;(function(e){e.TEAM="team",e.SHARED="shared"})(PresetSource||(PresetSource={}));var preset=Object.freeze(Object.defineProperty({__proto__:null,get PresetGroup(){return PresetGroup},get PresetStatus(){return PresetStatus},get PresetSource(){return PresetSource}},Symbol.toStringTag,{value:"Module"})),GrantsEnum;(function(e){e.maxPresets="max_templates",e.maxPublishedTitles="max_published_titles",e.maxPublishedOneoffs="max_published_oneoffs",e.maxUsers="max_users",e.hasCobranding="has_cobranding",e.allowBynder="allow_bynder",e.allowCustomFont="allow_fontupload",e.allowFullscreenvideo="allow_fullscreenvideo",e.allowOffline="allow_offline",e.allowSSO="allow_SSO",e.allowPersonalization="allow_personalization",e.allowForms="allow_forms",e.allowSSL="allow_SSL",e.allowAdditionalTitles="allow_additional_titles",e.allowMultipleUsers="allow_multiple_users",e.allowCreditedTitles="allow_credited_titles",e.hasStarterLimitations="has_starter_limitations",e.allowWhitepapers="allow_whitepapers",e.allowWhitepaperAuth="allow_whitepaper_auth",e.allowPayments="allow_payments",e.allowTour="allow_tour",e.allowDownload="allow_download",e.allowSelfHostedMedia="allow_hostedvideo",e.allowIpWhitelist="allow_ip_whitelist",e.enforceSanitization="enforce_sanitization",e.maxAccounts="max_accounts",e.allowSupport="allow_support",e.isReseller="is_reseller",e.allowPassword="allow_password",e.allowPublish="allow_publish",e.allowTransitions="allow_transitions",e.allowT2="allow_T2",e.denyT1="deny_T1",e.allowUnlimitedColumns="allow_unlimited_columns",e.allowSvendlebars="allow_svendlebars",e.allowLayoutEditing="allow_layout_editing",e.allowCreatePreset="allow_preset_create",e.allowHostname="allow_hostname",e.allowOTP="allow_otp",e.allowItems="allow_items",e.allowScriptInjection="allow_script_injection",e.forceHostname="force_hostname",e.restrictTransactional="restrict_transactional",e.maxPublications="max_published_editions",e.scopes="scopes",e.allowMAPTracking="allow_MAP_tracking",e.enableSecurityProfiles="enable_security_profiles",e.maxTeams="max_teams",e.allowLeadGenCrm="allow_lead_gen_crm",e.allowPresetUpdate="allow_preset_update",e.allowSharedTemplates="allow_shared_templates",e.allowSharedMedia="allow_shared_media",e.allowFeatures="allow_features",e.allowComments="allow_comments",e.allowDocTemplates="allow_doc_templates",e.allowStudio="allow_studio",e.allowBuilder="allow_builder",e.allowSsoPlatformDocs="allow_sso_platform_docs",e.allowSwapElements="allow_swap_elements",e.allowStockAssets="allow_stock_assets",e.allowElementFillHeight="allow_element_fill_height",e.allow2023Features="allow_2023_features",e.maxBrandKits="max_brandkits"})(GrantsEnum||(GrantsEnum={}));var ScopesEnum;(function(e){e.accountCreateOrUpdate="accountCreateOrUpdate",e.accountDelete="accountDelete",e.accountRead="accountRead",e.apiKeyCreate="apiKeyCreate",e.apiKeyDelete="apiKeyDelete",e.apiKeyRead="apiKeyRead",e.attributeCreateOrUpdate="attributeCreateOrUpdate",e.attributeDelete="attributeDelete",e.chargebee="chargebee",e.compositionCreateOrUpdate="compositionCreateOrUpdate",e.compositionDelete="compositionDelete",e.compositionSwatchCreateOrUpdate="compositionSwatchCreateOrUpdate",e.compositionSwatchDelete="compositionSwatchDelete",e.design="design",e.editionCreateOrUpdate="editionCreateOrUpdate",e.editionDelete="editionDelete",e.editionDownload="editionDownload",e.editionOffline="editionOffline",e.editionPublish="editionPublish",e.editionRead="editionRead",e.fontCreateOrUpdate="fontCreateOrUpdate",e.fontDelete="fontDelete",e.itemBlockCreate="itemBlockCreate",e.itemBlockDelete="itemBlockDelete",e.itemBlockUpdate="itemBlockUpdate",e.itemCreateOrUpdate="itemCreateOrUpdate",e.itemDelete="itemDelete",e.mediaCreateOrUpdate="mediaCreateOrUpdate",e.mediaDelete="mediaDelete",e.mediaRead="mediaRead",e.mediaSharedCreateOrUpdate="mediaSharedCreateOrUpdate",e.mediaSharedDelete="mediaSharedDelete",e.mediaSharedRead="mediaSharedRead",e.pageCreateOrUpdate="pageCreateOrUpdate",e.pageDelete="pageDelete",e.pageRead="pageRead",e.personalizationPropertyCreateOrUpdate="personalizationPropertyCreateOrUpdate",e.personalizationPropertyDelete="personalizationPropertyDelete",e.personalizationTokenCreateOrUpdate="personalizationTokenCreateOrUpdate",e.personalizationTokenDelete="personalizationTokenDelete",e.presetApply="templateApply",e.presetCreateOrUpdate="templateCreateOrUpdate",e.presetDelete="templateDelete",e.presetStatusUpdate="templateStatusUpdate",e.roleAddToUser="roleAddToUser",e.roleCreateOrUpdate="roleCreateOrUpdate",e.roleDelete="roleDelete",e.roleRead="roleRead",e.selfUpdate="selfUpdate",e.share="share",e.titleCreateOrUpdate="titleCreateOrUpdate",e.titleDelete="titleDelete",e.titleRead="titleRead",e.userCreateOrUpdate="userCreateOrUpdate",e.userDelete="userDelete",e.userRead="userRead",e.accountDocSettings="accountDocSettings"})(ScopesEnum||(ScopesEnum={}));var privilege=Object.freeze(Object.defineProperty({__proto__:null,get GrantsEnum(){return GrantsEnum},get ScopesEnum(){return ScopesEnum}},Symbol.toStringTag,{value:"Module"})),Domain;(function(e){e.Custom="Custom",e.Foleon="Foleon",e.InstantMagazine="Instant Magazine"})(Domain||(Domain={}));var project=Object.freeze(Object.defineProperty({__proto__:null,get Domain(){return Domain}},Symbol.toStringTag,{value:"Module"})),PublicationLevel;(function(e){e.T1="T1",e.T2="T2"})(PublicationLevel||(PublicationLevel={}));var PublicationStatus;(function(e){e.Deleted="deleted",e.Offline="offline",e.Published="published",e.Draft="draft",e.Copying="copying"})(PublicationStatus||(PublicationStatus={}));var publication=Object.freeze(Object.defineProperty({__proto__:null,get PublicationLevel(){return PublicationLevel},get PublicationStatus(){return PublicationStatus}},Symbol.toStringTag,{value:"Module"})),OrderSteps2Step;(function(e){e[e.ORDER=1]="ORDER",e[e.SUMMARY=2]="SUMMARY"})(OrderSteps2Step||(OrderSteps2Step={}));var OrderSteps3Step;(function(e){e[e.ORDER=1]="ORDER",e[e.DETAILS=2]="DETAILS",e[e.SUMMARY=3]="SUMMARY",e[e.COMPLETED=4]="COMPLETED"})(OrderSteps3Step||(OrderSteps3Step={}));var StepNames;(function(e){e.ORDER="Order",e.DETAILS="Billing details",e.SUMMARY="Summary"})(StepNames||(StepNames={}));var store$1=Object.freeze(Object.defineProperty({__proto__:null,get OrderSteps2Step(){return OrderSteps2Step},get OrderSteps3Step(){return OrderSteps3Step},get StepNames(){return StepNames}},Symbol.toStringTag,{value:"Module"})),CreateFlowOption;(function(e){e.SELECT_TEMPLATE="select-template",e.ABOUT_YOU="about-you",e.DONE="done"})(CreateFlowOption||(CreateFlowOption={}));const userRoles=[{id:2,name:"admin",description:"Has complete access to the platform, all created content and control over account-related settings."},{id:10,name:"publisher",description:"Has full access to projects and publications, but can\u2019t manage account-related settings."},{id:11,name:"editor",description:"Can create projects and publications, but can\u2019t publish, delete or take them offline."},{id:32,name:"Author",description:"Can only work on existing publications and can\u2019t make any design-related changes. Only allowed to change texts."},{id:30,name:"test new role",description:"Placeholder description for a placeholder role."}];var user=Object.freeze(Object.defineProperty({__proto__:null,userRoles},Symbol.toStringTag,{value:"Module"})),Location;(function(e){e.Dashboard="Dashboard",e.Project="Project",e.Editor="Editor",e.Account="Account"})(Location||(Location={}));var CreatePublicationStep;(function(e){e.Template="Template",e.Project="Project",e.PublicationInfo="Publication info"})(CreatePublicationStep||(CreatePublicationStep={}));var gtm=Object.freeze(Object.defineProperty({__proto__:null,get Location(){return Location},get CreatePublicationStep(){return CreatePublicationStep}},Symbol.toStringTag,{value:"Module"})),IconVariant;(function(e){e[e.SMALL=0]="SMALL",e[e.LARGE=1]="LARGE"})(IconVariant||(IconVariant={}));var icon$1=Object.freeze(Object.defineProperty({__proto__:null,get IconVariant(){return IconVariant}},Symbol.toStringTag,{value:"Module"})),tether=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));const t={array,boolean,brand,json,literal,map,null:nullType,number,object,partial,refinement,string,type,undefined:undefinedType,union,UUID},countDecimals=e=>Math.floor(e)===e?0:e.toString().split(".")[1].length||0,formatDisplayPrice=({int:e,currency:i},n)=>{const o=navigator.languages&&navigator.languages[0]||navigator.language,r=e/100,a=n&&n===BillingCycle.YEARLY?r/12:r,s=countDecimals(a)===1?2:0;return new Intl.NumberFormat(o,{style:"currency",currency:i,currencyDisplay:"symbol",minimumFractionDigits:s}).format(a)},getPublicationTimestamp=e=>{const i=e.getFullYear(),n=e.getMonth()+1,o=e.getDate(),r=e.getHours(),a=e.getMinutes(),s=e.getSeconds(),l=`${i}-${`0${n}`.slice(-2)}-${`0${o}`.slice(-2)}`,u=`${`0${r}`.slice(-2)}:${`0${a}`.slice(-2)}:${`0${s}`.slice(-2)}`;return`${l} ${u}`},getWhereQuery=(e,i=!1)=>{const n={},o=i?"filter":"query";return e&&e.forEach((r,a)=>{Object.keys(r).forEach(s=>{typeof r[s]=="object"&&r[s].length?Object.keys(r[s]).forEach(l=>{typeof r[s][l]=="object"?Object.keys(r[s][l]).forEach(u=>{n[`${o}[${a}][${s}][${l}][${u}]`]=r[s][l][u]}):n[`${o}[${a}][${s}][${l}]`]=r[s][l]}):n[`${o}[${a}][${s}]`]=r[s]})}),n},getOrderQuery=e=>e?Object.keys(e).reduce((i,n,o)=>(i[`order-by[${o}][type]`]="field",i[`order-by[${o}][field]`]=n,i[`order-by[${o}][direction]`]=e[n]||"ASC",i),{}):{},getQuery=(e,i,n,o)=>f(f(f({},e),getWhereQuery(i||[],o)),getOrderQuery(n)),getQueryString=(e,i,n,o)=>{const r=getQuery(e,i,n,o),a=Object.keys(r);return a.length>0?`?${a.reduce((s,l)=>(s.push(`${encodeURIComponent(l)}=${encodeURIComponent((r[l]||"").toString())}`),s),[]).join("&")}`:""},validateParams=(e={})=>Object.keys(e).reduce((i,n)=>n&&typeof e[n]!="undefined"?w(f({},i),{[n]:e[n]}):i,{}),getUrl=(e,i,n,o,r)=>`${e+getQueryString(validateParams(i||{}),n,o,r)}`,BASE_FONT_SIZE=16,SIDE_ENUM={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},SIDES_DISPLAY_ORDER=[SIDE_ENUM.TOP,SIDE_ENUM.BOTTOM,SIDE_ENUM.LEFT,SIDE_ENUM.RIGHT],ERROR_ENUM={NUMBER:"Not a valid number",UNIT:"Not a valid unit should only be em, px, rem or '0', vh, ww value",CSS_SPACING_ALL_LENGTH:"Spacing has not defined all four values"},getCssSizeValueErrorMessage=e=>e?`Css size value is not a ${e} value`:"Css size value is not a css size value, css size value should only be em, px, rem or '0', vh, ww value",isNum=e=>/^(\d|\-\d)+$/.test(e.toString()),isFloat=e=>!isNaN(e)&&e.toString().indexOf(".")!=-1,isNumOrFloat=e=>isFloat(e)||isNum(e),remToPxNum=(e,i=BASE_FONT_SIZE)=>(throwErrorOnInvalidRemVal(e),cssSizeValToNumWithUnit(e,"rem")*i),pxNumToRemVal=(e,i=BASE_FONT_SIZE)=>(throwErrorOnInvalidPxNum(e),pxNumToFontSizeVal(e,i,"rem")),emToPxNum=(e,i=BASE_FONT_SIZE)=>(throwErrorOnInvalidEmVal(e),cssSizeValToNumWithUnit(e,"em")*i),pxNumToEmVal=(e,i=BASE_FONT_SIZE)=>(throwErrorOnInvalidPxNum(e),pxNumToFontSizeVal(e,i,"em")),pxToNum=e=>(throwErrorOnInvalidPxVal(e),parseInt(e)),numToPxVal$1=e=>(throwErrorOnInvalidPxNum(e),`${e}px`),vwValToPxNum=(e,i)=>(throwErrorOnInvalidVwVal(e),cssSizeValToNumWithUnit(e,"vw")*i/100),pxNumToVwVal=(e,i)=>(throwErrorOnInvalidPxNum(e),`${pxNumToVwNum(e,i)}vw`),vhValToPxNum=(e,i)=>(throwErrorOnInvalidVhVal(e),cssSizeValToNumWithUnit(e,"vh")*i/100),pxNumToVhVal=(e,i)=>(throwErrorOnInvalidPxNum(e),`${pxNumToVhNum(e,i)}vh`),vwNumToPxNum=(e,i)=>i*(e/100),pxNumToVwNum=(e,i)=>e/i*100,vhNumToPxNum=(e,i)=>i*(e/100),pxNumToVhNum=(e,i)=>e/i*100,pxNumToFontSizeVal=(e,i,n)=>parseFloat((parseInt(e)/i).toFixed(10))+n,cssSizeValToNumWithUnit=(e,i)=>parseFloat(e.toString().replace(i,"")),anyCssSizeValToPxNum=(e,i=BASE_FONT_SIZE,n)=>{if(isNaNValue(e))return i;if(isValidPxVal(e))return pxToNum(e.toString());if(isValidEmVal(e))return emToPxNum(e.toString(),i);if(isValidRemVal(e))return remToPxNum(e.toString(),i);if(isValidVwVal(e)&&n)return vwValToPxNum(e.toString(),n.width);if(isValidVhVal(e)&&n)return vhValToPxNum(e.toString(),n.height);if(e==="0")return 0;throw Error(getCssSizeValueErrorMessage())},anyFontSizeValToPxNum=(e,i=BASE_FONT_SIZE)=>{if(isNaNValue(e))return i;if(isValidPxVal(e))return pxToNum(e.toString());if(isValidEmVal(e))return emToPxNum(e.toString(),i);if(isValidRemVal(e))return remToPxNum(e.toString(),i);if(e==="0")return 0;throw Error(getCssSizeValueErrorMessage())},getCheckedCssSizeValue=e=>(throwErrorOnInvalidCssSizeVal(e),e),pxNumToCssSizeValWithUnit=(e,i,n,o)=>{switch(i){case"px":return numToPxVal$1(e);case"em":return pxNumToEmVal(e,n);case"rem":return pxNumToRemVal(e,n);case"vh":return pxNumToVhVal(e,o.height);case"vw":return pxNumToVwVal(e,o.width);default:throw Error(ERROR_ENUM.UNIT)}},isValidRemVal=e=>/em{1}/.test(e)&&isValidCssSizeValOnSplit(e,"rem"),isValidEmVal=e=>/em{1}/.test(e)&&isValidCssSizeValOnSplit(e,"em"),isValidPxVal=e=>/px{1}/.test(e)&&isValidCssSizeValOnSplit(e,"px"),isValidVwVal=e=>/vw{1}/.test(e)&&isValidCssSizeValOnSplit(e,"vw"),isValidVhVal=e=>/vh{1}/.test(e)&&isValidCssSizeValOnSplit(e,"vh"),isValidCssSizeValOnSplit=(e,i)=>{const n=e.split(i);return n.length===2&&isNumOrFloat(n[0])},isNaNValue=e=>e.indexOf("NaN")===0,isValidCssSizeVal=e=>isValidEmVal(e)||isValidRemVal(e)||isValidPxVal(e)||isValidVwVal(e)||isValidVhVal(e)||e==="0",throwErrorOnInvalidCssSizeVal=e=>{if(!isValidCssSizeVal(e))throw Error(getCssSizeValueErrorMessage())},throwErrorOnInvalidEmVal=e=>{if(!isValidEmVal(e))throw Error(getCssSizeValueErrorMessage("em"))},throwErrorOnInvalidRemVal=e=>{if(!isValidRemVal(e))throw Error(getCssSizeValueErrorMessage("rem"))},throwErrorOnInvalidPxVal=e=>{if(!isValidPxVal(e))throw Error(getCssSizeValueErrorMessage("px"))},throwErrorOnInvalidVwVal=e=>{if(!isValidVwVal(e))throw Error(getCssSizeValueErrorMessage("vw"))},throwErrorOnInvalidVhVal=e=>{if(!isValidVhVal(e))throw Error(getCssSizeValueErrorMessage("vh"))},throwErrorOnInvalidPxNum=e=>{if(isNaN(e))throw Error(ERROR_ENUM.NUMBER)},hasSameUnit=(e,i)=>getUnitType(e)===i,getUnitType=e=>{if(isValidEmVal(e))return"em";if(isValidRemVal(e))return"rem";if(isValidPxVal(e))return"px";if(isValidVhVal(e))return"vh";if(isValidVwVal(e))return"vw";if(e==="0")return"px";throw Error(getCssSizeValueErrorMessage())},isImageUrlValid=async e=>new Promise(i=>{const n=new Image;n.src=e,n.onload=()=>i(!0),n.onerror=()=>i(!1),n.remove()}),useFeaturedImage=e=>{const[i,n]=react.exports.useState(void 0),o=react.exports.useCallback(async()=>{e&&await isImageUrlValid(e)?n(e):n(void 0)},[e]);return react.exports.useEffect(()=>{o()},[o]),{featuredImageUrl:i,setFeaturedImageUrl:n}},useFeaturedImages=e=>{const[i,n]=react.exports.useState({}),o=react.exports.useRef({}),r=react.exports.useCallback(async()=>{for(let a=0;a<e.length;a++)e[a].options.featured_image_url&&await isImageUrlValid(e[a].options.featured_image_url||"")?o.current=w(f({},o.current),{[e[a].id]:e[a].options.featured_image_url}):o.current=w(f({},o.current),{[e[a].id]:void 0}),n(f({},o.current))},[e]);return react.exports.useEffect(()=>{r()},[r]),{featuredImageUrls:i,setFeaturedImageUrls:n}},validateImageSSR=async e=>new Promise(i=>{axios.create().get(e,{method:"HEAD"}).then(o=>{i(o.status===200)}).catch(()=>{i(!1)})});function getFormsFromDraft(e){const i=[],n=e.content;if(n){const o=n.form;for(const r in o){const a=o[r];i.push({id:a.id,name:a.name})}}return i}const useEffectWithoutInitial=(e,i)=>{const n=react.exports.useRef(!0);react.exports.useEffect(()=>{n.current?n.current=!1:e()},i)};var RipleyEnvironment;(function(e){e.personalize="personalize",e.preview="preview",e.publish="publish",e.zip="zip"})(RipleyEnvironment||(RipleyEnvironment={}));const isDev=()=>!1,isProd=()=>{},userHasSupportedBrowser=()=>!["MSIE ","Trident/","Edge/"].some(i=>window.navigator.userAgent.indexOf(i)!==-1);let globalElement=null;function assertNodeList(e,i){if(!e||!e.length)throw new Error(`react-modal: No elements were found for selector ${i}.`)}function setElement(e){let i=e;if(typeof i=="string"){const n=document.querySelectorAll(i);assertNodeList(n,i),i="length"in n?n[0]:n}return globalElement=i||globalElement,globalElement}function tryForceFallback(){return document&&document.body?(setElement(document.body),!0):!1}function validateElement(e){if(!e&&!globalElement&&!tryForceFallback())throw new Error("react-modal: Cannot fallback to `document.body`, because it's not ready or available. If you are doing server-side rendering, use this function to defined an element.`Modal.setAppElement(el)` to make this accessible")}function hide(e){validateElement(e),(e||globalElement).setAttribute("aria-hidden","true")}function show(e){validateElement(e),(e||globalElement).removeAttribute("aria-hidden")}const classListMap={};function get(){return classListMap}function add$1(e){return classListMap[e]||(classListMap[e]=0),classListMap[e]+=1,e}function remove$1(e){return classListMap[e]&&(classListMap[e]-=1),e}function add(e){e.split(" ").map(add$1).forEach(i=>document.body.classList.add(i))}function remove(e){const i=get();e.split(" ").map(remove$1).filter(n=>i[n]===0).forEach(n=>document.body.classList.remove(n))}const tabbableNode=/input|select|textarea|button|object/,hidden=e=>e.offsetWidth<=0&&e.offsetHeight<=0||e.style.display==="none",visible=e=>{let i=e;for(;i&&i!==document.body;){if(hidden(i))return!1;i=i.parentNode}return!0},focusable=(e,i)=>{const n=e.nodeName.toLowerCase();return(tabbableNode.test(n)&&!e.disabled||n==="a"&&e.href||i)&&visible(e)},tabbable=e=>{let i=e.getAttribute("tabindex");i===null&&(i=void 0);const n=isNaN(i);return(n||i>=0)&&focusable(e,!n)};function findTabbableDescendants(e){return[].slice.call(e.querySelectorAll("*"),0).filter(tabbable)}const focusLaterElements=[];let modalElement=null,needToFocus=!1;function handleBlur(){needToFocus=!0}function handleFocus(){if(needToFocus){if(needToFocus=!1,!modalElement)return;setTimeout(()=>{if(modalElement==null?void 0:modalElement.contains(document.activeElement))return;(findTabbableDescendants(modalElement)[0]||modalElement).focus()},0)}}function markForFocusLater(){focusLaterElements.push(document.activeElement)}function returnFocus(){let e=null;try{e=focusLaterElements.pop(),e&&e.focus();return}catch{console.warn(`You tried to return focus to ${e} but it is not in the DOM anymore`)}}function setupScopedFocus(e){modalElement=e,typeof window!="undefined"&&(window.addEventListener("blur",handleBlur,!1),document.addEventListener("focus",handleFocus,!0))}function teardownScopedFocus(){modalElement=null,typeof window!="undefined"&&(window.removeEventListener("blur",handleBlur),document.removeEventListener("focus",handleFocus))}const extractHeaderCode=e=>e!=null?["style","script","meta","link"].reduce((n,o)=>{const r=getTagData(o,e);return r!=null&&(n[o]=r),n},{link:[],meta:[],style:[],script:[]}):{link:[],meta:[],style:[],script:[]},parseAttributes=e=>{if(!e)return null;if(e.trim()==="async")return{async:"async"};const i=e.match(/\s[a-zA-Z-]+=(?:".+?"|'.+?')/g);return!i||!Array.isArray(i)?null:i.map(n=>n.split("=")).reduce((n,o)=>o[0].length===0||o[0]==="/"?n:w(f({},n),{[o.shift().replace(/\s/g,"")]:o[0]?o.join("=").slice(1,-1):!0}),{})},getTagData=(e,i)=>{const n=e==="meta"?new RegExp(`<${e}((?:
|.)*?)>((?:
|.)*?)</${e}>|<${e}((?:
|.)*?)>`,"gi"):new RegExp(`<${e}((?:
|.)*?)>((?:
|.)*?)</${e}>|<${e}((?:
|.)*?)/>`,"gi"),o=[];let r;for(;(r=n.exec(i||""))!==null;)o.push({attributes:parseAttributes(r[1]||r[3]),children:r[2]||null});return o.length>0?o:null},range=(e,i)=>{const n=i-e;return Array.from({length:n},(o,r)=>r+e)};function scopeTab(e,i){const n=findTabbableDescendants(e);if(!n.length){i.preventDefault();return}if(!(n[i.shiftKey?0:n.length-1]===document.activeElement||e===document.activeElement))return;i.preventDefault(),n[i.shiftKey?n.length-1:0].focus()}function doesStringContainHtmlTags(e){const i=new DOMParser().parseFromString(e,"text/html");return Array.from(i.body.childNodes).some(n=>n.nodeType===1)}const BeckyDataProviderStateContext=react.exports.createContext(void 0),BeckyDataProvider=({children:e,doc:i,pages:n,project:o})=>React.createElement(BeckyDataProviderStateContext.Provider,{value:{doc:i,pages:n,project:o}},e),useBeckyData=()=>react.exports.useContext(BeckyDataProviderStateContext),emailReg=/[\w-]+@([\w-]+\.)+[\w-]+/g,isAnchorUrl=e=>e?e.trim().toLowerCase().startsWith("#"):!1,isContactUrl=e=>{if(!e)return!1;const i=e.trim().toLowerCase();return i.startsWith("mailto:")||i.startsWith("tel:")||i.startsWith("https://wa.me/")},isExternalUrl=e=>e?e.trim().toLowerCase().startsWith("http"):!1,isRelativeUrl=e=>{if(!e)return!1;const i=e.trim().toLowerCase();return i.startsWith("/")||i.startsWith("./")||i.startsWith("../")},VALID_SECURE_URL=new RegExp(/^(?:(?:https):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i),linkRegExpValidator=e=>{const i=new RegExp(/(tel:\w+).+/g),n=new RegExp(emailReg),o=new RegExp(/(\w+:\/\/\w+).+/g),r=new RegExp(/(#).+/g),a=new RegExp(/(\.\/|\.\.\/).+/g),s=new RegExp(/(\/).+/g);return VALID_SECURE_URL.test(e)||n.test(e)||i.test(e)||o.test(e)||r.test(e)||a.test(e)||s.test(e)};function buildExternalLink({url:e,utmCode:i}){if(e!=null&&e.indexOf("utm_source")===-1&&i){const[o,...r]=e.split("#"),a=o.split("?"),s=r.reduce((l,u)=>(l+=`#${u}`,l),"");return isContactUrl(a[0])?`${a.shift()}`:`${a.shift()}?${a.length>0?`${a.shift()}&`:""}${i.replace("?","")}${s}`}return e}function buildUTMExternalLink(e){const{doc:i}=useBeckyData(),n=react.exports.useRef(i);return buildExternalLink({url:e,utmCode:get_1(n.current.options,"utm_code")})}function clearInternalLinks(e){var n,o,r;const i=new Array;for(const a in e){const s=e[a];for(const l in s){const u=(n=e[a])==null?void 0:n[l];(u==null?void 0:u.identity)==="action"&&(((o=u.options)==null?void 0:o.type)==="page"||((r=u.options)==null?void 0:r.type)==="overlay")&&(i.push({actionId:u.id,parentId:u.parent.id}),delete s[l])}}return i.forEach(a=>{var s,l;for(const u in e){const c=e[u];for(const d in c){const m=(s=e[u])==null?void 0:s[d];(m==null?void 0:m.id)===a.parentId&&(m.identity==="button"||m.identity==="text"||m.identity==="image"||m.identity==="hotspot")&&((l=m.refs)==null||l.forEach(g=>{var E;g.id===a.actionId&&((E=m.refs)==null||E.splice(m.refs.indexOf(g),1))}))}}}),JSON.stringify(e)}const getEncodedSpaces=e=>e.replace(/\s+/g,"%20").toLowerCase(),lineBreaksRegex=RegExp(`\r
|
|\v|\f|\r|\x85|\u2028|\u2029`,"g"),blacklistedLineBreaks=RegExp("[\v\f\u2028\u2029]","g"),blacklistedWhitespacesRegex=RegExp("\u2000|\u2001|\u2002|\u2003|\u2004|\u2005|\u2006|\u2007|\u2008|\u2009|\u200A|\u200B|\u202F|\u205F|\u3000|\uFEFF","g"),whitelistedSpacesRegex=RegExp(" |\xA0");var StatusColor;(function(e){e.Danger="#d80000",e.Default="#00ae00",e.Warning="#ff9b00"})(StatusColor||(StatusColor={}));const getLimitStatusColor=(e,i)=>{const n=Math.min(100,100*e/i);return n>=80&&n<100?StatusColor.Warning:n>=100?StatusColor.Danger:StatusColor.Default},navigation$g={Pages:"Pages",Editions:"Editions","Next page":"Next page","Previous page":"Previous page",Close:"Close",Index:"Index","Follow us on {platform}":({platform:e})=>`Follow us on ${e}`,"Mute sound":"Mute sound","Unmute sound":"Unmute sound","Scroll up":"Scroll up","Scroll down":"Scroll down","Page {current} of {total}":({current:e,total:i})=>`Page ${e} of ${i}`,Page:"Page",Edition:"Edition"},forms$g={emailAddressInvalid:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidFormat:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidHostname:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidMxRecord:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidSegment:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressDotAtom:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressQuotedString:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressInvalidLocalPart:"The entered email address is invalid. Please use the format: example@yourdomain.com",emailAddressLengthExceeded:"The entered email address is invalid. Please use the format: example@yourdomain.com",stringLengthInvalid:"Your input is invalid.",stringLengthTooShort:"Your input is invalid.",stringLengthTooLong:"Your input is invalid.",notEmptyInvalid:"Your input is invalid.",isEmpty:"This field is required and cannot be left blank.",notBetween:"Your input is invalid.",notBetweenStrict:"Your input is invalid.",valueNotNumeric:"Your input is invalid.",valueNotString:"Your input is invalid.","The following errors occurred":"The following errors occurred"},editions$g={"Error fetching editions":"There are no other editions.","Loading...":"Loading...","No editions found":"There are no other editions."},other$g={"Share this page on {platform}":({platform:e})=>`Share this page on ${e}`},cookieConsent$h={privacyPolicyLinkText:"Read our privacy policy.",acceptButtonText:"Accept all",cookieRejectAllButtonText:"Reject all",cookieSettingsButtonText:"Cookie settings",cookieSettingsTitle:"Cookie settings",cookieSettingsDescription:"Manage your cookie preferences here. Functional cookies are required and cannot be disabled.",functionalCookiesTitle:"Functional cookies",functionalCookiesDescription:"Functional cookies are necessary to ensure this publication works as expected. We don't use these to collect data about you.",functionalCookiesEnabled:"Functional cookies are enabled",analyticsCookiesTitle:"Analytics cookies",analyticsCookiesDescription:"Analytics cookies allow us to collect anonymous data about the performance of our content.",analyticsCookiesEnabled:"Analytics cookies are enabled",targetingCookiesTitle:"Targeting cookies",targetingCookiesDescription:"Targeting cookies are used for advertising purposes. They help improve the relevance of the ads you see and allow us to show you ads when browsing other websites.",saveButtonText:"Save & Accept",modalConsentDisclaimer:'By clicking "ACCEPT ALL" you consent to all defined categories of cookies, including analytics and targeting cookies'},search$f={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$g="or";var English=w(f(f(f(f(f(f({},navigation$g),forms$g),editions$g),other$g),cookieConsent$h),search$f),{or:or$g});let TRANSLATIONS={};const setLanguageData=e=>{TRANSLATIONS=e},translate=(e,i)=>{const n=TRANSLATIONS[e];return n?isFunction_1(n)?n(i):n:English[e]||e},Translate=({children:e})=>React.createElement(React.Fragment,null,translate(e)),navigation$f={Pages:"\u0627\u0644\u0635\u0641\u062D\u0627\u062A",Editions:"\u0627\u0644\u0625\u0635\u062F\u0627\u0631\u0627\u062A","Next page":"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629","Previous page":"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",Close:"\u0625\u063A\u0644\u0627\u0642",Index:"\u0627\u0644\u0641\u0647\u0631\u0633","Follow us on {platform}":({platform:e})=>`\u0627\u062A\u0628\u0639\u0646\u0627 \u0639\u0644\u0649 ${e}`,"Mute sound":"\u0643\u062A\u0645 \u0627\u0644\u0635\u0648\u062A","Unmute sound":"\u0625\u0644\u063A\u0627\u0621 \u0643\u062A\u0645 \u0627\u0644\u0635\u0648\u062A","Scroll up":"\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0639\u0644\u0649","Scroll down":"\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644","Page {current} of {total}":({current:e,total:i})=>`\u0635\u0641\u062D\u0629 ${e} \u0645\u0646 ${i}`,Page:"\u0635\u0641\u062D\u0629",Edition:"\u0627\u0644\u0625\u0635\u062F\u0627\u0631"},forms$f={emailAddressInvalid:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressInvalidFormat:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressInvalidHostname:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressInvalidMxRecord:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressInvalidSegment:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressDotAtom:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressQuotedString:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressInvalidLocalPart:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",emailAddressLengthExceeded:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0630\u064A \u062A\u0645 \u0625\u062F\u062E\u0627\u0644\u0647 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. ",stringLengthInvalid:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.",stringLengthTooShort:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.",stringLengthTooLong:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.",notEmptyInvalid:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.",isEmpty:"\u0647\u0630\u0647 \u0627\u0644\u062E\u0627\u0646\u0629 \u0645\u0637\u0644\u0648\u0628\u0647 \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u062A\u0631\u0643\u0647\u0627 \u0641\u0627\u0631\u063A\u0629",notBetween:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.",notBetweenStrict:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.",valueNotNumeric:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.",valueNotString:"\u0625\u062F\u062E\u0627\u0644\u0643 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D.","The following errors occurred":"\u062D\u062F\u062B\u062A \u0627\u0644\u0623\u062E\u0637\u0627\u0621 \u0627\u0644\u062A\u0627\u0644\u064A\u0629"},editions$f={"Error fetching editions":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0625\u0635\u062F\u0627\u0631\u0627\u062A \u0623\u062E\u0631\u0649.","Loading...":"\u062A\u062D\u0645\u064A\u0644...","No editions found":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0625\u0635\u062F\u0627\u0631\u0627\u062A \u0623\u062E\u0631\u0649."},other$f={"Share this page on {platform}":({platform:e})=>`\u0645\u0634\u0627\u0631\u0643\u0629 \u0647\u0630\u0647 \u0627\u0644\u0635\u0641\u062D\u0629 \u0639\u0644\u0649 ${e}.`},cookieConsent$g={privacyPolicyLinkText:"\u0627\u0642\u0631\u0623 \u0633\u064A\u0627\u0633\u0629 \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0646\u0627.",acceptButtonText:"\u0645\u0648\u0627\u0641\u0642\u0629 \u0639\u0644\u0649 \u0627\u0644\u0643\u0644",cookieSettingsButtonText:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637",cookieSettingsTitle:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637",cookieSettingsDescription:"\u0642\u0645 \u0628\u0625\u062F\u0627\u0631\u0629 \u062A\u0641\u0636\u064A\u0644\u0627\u062A \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0645\u0646 \u0647\u0646\u0627. \u062A\u0639\u062A\u0628\u0631 \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u0648\u0638\u064A\u0641\u064A\u0629 \u0648\u0627\u0644\u062A\u062D\u0644\u064A\u0644\u064A\u0629 \u0645\u0646 \u0627\u0644\u0623\u0645\u0648\u0631 \u0627\u0644\u0636\u0631\u0648\u0631\u064A\u0629 \u0648\u0627\u0644\u062A\u064A \u0644\u0627 \u064A\u0645\u0643\u0646 \u062A\u0639\u0637\u064A\u0644\u0647\u0627.",functionalCookiesTitle:"\u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u0648\u0638\u064A\u0641\u064A\u0629",functionalCookiesDescription:"\u062A\u0639\u062A\u0628\u0631 \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u0648\u0638\u064A\u0641\u064A\u0629 \u0645\u0646 \u0627\u0644\u0623\u0645\u0648\u0631 \u0627\u0644\u0636\u0631\u0648\u0631\u064A\u0629 \u0648\u0630\u0644\u0643 \u0644\u0636\u0645\u0627\u0646 \u0639\u0645\u0644 \u0647\u0630\u0627 \u0627\u0644\u0645\u0646\u0634\u0648\u0631 \u0643\u0645\u0627 \u0647\u0648 \u0645\u062A\u0648\u0642\u0639. \u0646\u062D\u0646 \u0644\u0627 \u0646\u0633\u062A\u062E\u062F\u0645 \u0647\u0630\u0647 \u0627\u0644\u0645\u064A\u0632\u0629 \u0644\u062C\u0645\u0639 \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u062D\u0648\u0644\u0643.",analyticsCookiesTitle:"\u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u062A\u062D\u0644\u064A\u0644\u064A\u0629",analyticsCookiesDescription:"\u062A\u062A\u064A\u062D \u0644\u0646\u0627 \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u062A\u062D\u0644\u064A\u0644\u064A\u0629 \u062C\u0645\u0639 \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0645\u062C\u0647\u0648\u0644\u0629 \u0627\u0644\u0647\u0648\u064A\u0629 \u062D\u0648\u0644 \u0623\u062F\u0627\u0621 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u062E\u0627\u0635 \u0628\u0646\u0627.",targetingCookiesTitle:"\u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u0645\u0633\u062A\u0647\u062F\u0641\u0629",targetingCookiesDescription:"\u064A\u062A\u0645 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u0645\u0633\u062A\u0647\u062F\u0641\u0629 \u0644\u0623\u063A\u0631\u0627\u0636 \u062A\u0631\u0648\u064A\u062C\u064A\u0629. \u0641\u0647\u064A \u062A\u0639\u0645\u0644 \u0639\u0644\u0649 \u062A\u062D\u0633\u064A\u0646 \u0645\u0644\u0627\u0621\u0645\u0629 \u0627\u0644\u0625\u0639\u0644\u0627\u0646\u0627\u062A \u0627\u0644\u062A\u064A \u062A\u0638\u0647\u0631 \u0644\u0643 \u0648\u062A\u062A\u064A\u062D \u0644\u0646\u0627 \u0639\u0631\u0636 \u0625\u0639\u0644\u0627\u0646\u0627\u062A \u0644\u0643 \u0623\u062B\u0646\u0627\u0621 \u062A\u0635\u0641\u062D\u0643 \u0644\u0645\u0648\u0627\u0642\u0639 \u0648\u064A\u0628 \u0623\u062E\u0631\u0649.",saveButtonText:"\u062D\u0641\u0638"},or$f="\u0623\u0648";var Arabic=w(f(f(f(f(f({},navigation$f),forms$f),editions$f),other$f),cookieConsent$g),{or:or$f});const navigation$e={Pages:"Sider",Editions:"Udgaver","Next page":"N\xE6ste side","Previous page":"Forrige side",Close:"Luk",Index:"Indeks","Follow us on {platform}":({platform:e})=>`F\xF8lg os p\xE5 ${e}`,"Mute sound":"Sl\xE5 lyd fra","Unmute sound":"Sl\xE5 lyd til","Scroll up":"Rul op","Scroll down":"Rul ned","Page {current} of {total}":({current:e,total:i})=>`Side ${e} af ${i}`,Page:"Side",Edition:"Edition"},forms$e={emailAddressInvalid:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressInvalidFormat:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressInvalidHostname:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressInvalidMxRecord:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressInvalidSegment:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressDotAtom:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressQuotedString:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressInvalidLocalPart:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",emailAddressLengthExceeded:"Den indtastede e-mail-adresse er ugyldig. Brug venligst formatet: eksempel@dom\xE6net.dk",stringLengthInvalid:"Din indtastning er ugyldig.",stringLengthTooShort:"Din indtastning er ugyldig.",stringLengthTooLong:"Din indtastning er ugyldig.",notEmptyInvalid:"Din indtastning er ugyldig.",isEmpty:"Dette felt er p\xE5kr\xE6vet og kan ikke efterlades tomt.",notBetween:"Din indtastning er ugyldig.",notBetweenStrict:"Din indtastning er ugyldig.",valueNotNumeric:"Din indtastning er ugyldig.",valueNotString:"Din indtastning er ugyldig.","The following errors occurred":"F\xF8lgende fejl er opst\xE5et"},editions$e={"Error fetching editions":"Der er ingen andre udgaver.","Loading...":"Indl\xE6ser...","No editions found":"Der er ingen andre udgaver."},other$e={"Share this page on {platform}":({platform:e})=>`Del denne side p\xE5 ${e}`},cookieConsent$f={privacyPolicyLinkText:"L\xE6s vores privatlivspolitik.",acceptButtonText:"Accepter alle",cookieSettingsButtonText:"Cookie-indstillinger",cookieSettingsTitle:"Cookie-indstillinger",cookieSettingsDescription:"Administr\xE9r dine pr\xE6ferencer for cookies her. B\xE5de funktionelle cookies og cookies til statistik og analyse er n\xF8dvendige og kan ikke deaktiveres.",functionalCookiesTitle:"Funktionelle cookies",functionalCookiesDescription:"Funktionelle cookies er n\xF8dvendige for at sikre, at denne publikation fungerer, som den skal. Vi bruger ikke disse cookies til at indsamle oplysninger om dig.",analyticsCookiesTitle:"Cookies til statistik og analyse",analyticsCookiesDescription:"Cookies til statistik og analyse s\xE6tter os i stand til at indsamle anonymiserede data om effektiviteten af vores indhold.",targetingCookiesTitle:"Annonceringscookies",targetingCookiesDescription:"Annonceringscookies bruges til annonceringsform\xE5l. De er med til at \xF8ge relevansen af de annoncer, du ser, og giver os muligheden for at vise dig annoncer, n\xE5r du gennemser andre websites.",saveButtonText:"Gemme og acceptere"},search$e={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$e="eller";var Danish=w(f(f(f(f(f(f({},navigation$e),forms$e),editions$e),other$e),cookieConsent$f),search$e),{or:or$e});const navigation$d={Pages:"Seiten",Editions:"Editionen","Next page":"N\xE4chste Seite","Previous page":"Vorherige Seite",Close:"Schlie\xDFen",Index:"Index","Follow us on {platform}":({platform:e})=>`Folgen Sie uns auf ${e}`,"Mute sound":"Stummschalten","Unmute sound":"Stummschaltung aufheben","Scroll up":"Nach oben scrollen","Scroll down":"Nach unten scrollen","Page {current} of {total}":({current:e,total:i})=>`Seite ${e} von ${i}`,Page:"Seite",Edition:"Auflage"},forms$d={emailAddressInvalid:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressInvalidFormat:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressInvalidHostname:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressInvalidMxRecord:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressInvalidSegment:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressDotAtom:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressQuotedString:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressInvalidLocalPart:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",emailAddressLengthExceeded:"Die eingegebene E-Mail-Adresse ist ung\xFCltig. Bitte verwenden Sie dieses Format: beispiel@ihredomain.de",stringLengthInvalid:"Ihre Eingabe ist ung\xFCltig.",stringLengthTooShort:"Ihre Eingabe ist ung\xFCltig.",stringLengthTooLong:"Ihre Eingabe ist ung\xFCltig.",notEmptyInvalid:"Ihre Eingabe ist ung\xFCltig.",isEmpty:"Dies ist ein Pflichtfeld und muss ausgef\xFCllt werden.",notBetween:"Ihre Eingabe ist ung\xFCltig.",notBetweenStrict:"Ihre Eingabe ist ung\xFCltig.",valueNotNumeric:"Ihre Eingabe ist ung\xFCltig.",valueNotString:"Ihre Eingabe ist ung\xFCltig.","The following errors occurred":"Folgende Fehler sind aufgetreten"},editions$d={"Error fetching editions":"Es gibt keine anderen Editionen.","Loading...":"Wird geladen...","No editions found":"Es gibt keine anderen Editionen."},other$d={"Share this page on {platform}":({platform:e})=>`Teilen Sie diese Seite auf ${e}`},cookieConsent$e={privacyPolicyLinkText:"Lesen Sie unsere Datenschutzerkl\xE4rung.",acceptButtonText:"Alle akzeptieren",cookieRejectAllButtonText:"Alle ablehnen",cookieSettingsButtonText:"Cookie-Einstellungen",cookieSettingsTitle:"Cookie-Einstellungen",cookieSettingsDescription:"Verwalten Sie hier Ihre Cookie-Pr\xE4ferenzen. Funktionale Cookies sind erforderlich und k\xF6nnen nicht deaktiviert werden.",functionalCookiesTitle:"Funktionale Cookies",functionalCookiesDescription:"Funktionale Cookies sind notwendig, um sicherzustellen, dass diese Ver\xF6ffentlichung wie erwartet funktioniert. Wir verwenden sie nicht, um Daten \xFCber Sie zu erfassen.",analyticsCookiesTitle:"Analyse-Cookies",analyticsCookiesDescription:"Mit Analyse-Cookies k\xF6nnen wir anonyme Daten \xFCber die Leistung unserer Inhalte sammeln.",targetingCookiesTitle:"Targeting-Cookies",targetingCookiesDescription:"Targeting-Cookies dienen zu Werbezwecken. Sie tragen dazu bei, die Relevanz der Ihnen angezeigten Werbeanzeigen zu verbessern und erm\xF6glichen es uns, Ihnen beim Durchsuchen anderer Websites Werbung zu zeigen.",saveButtonText:"Speichern und akzeptieren"},search$d={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$d="oder";var German=w(f(f(f(f(f(f({},navigation$d),forms$d),editions$d),other$d),cookieConsent$e),search$d),{or:or$d});const navigation$c={Pages:"P\xE1ginas",Editions:"Ediciones","Next page":"P\xE1gina siguiente","Previous page":"P\xE1gina anterior",Close:"Cerrar",Index:"\xCDndice","Follow us on {platform}":({platform:e})=>`S\xEDganos en ${e}`,"Mute sound":"Desactivar sonido","Unmute sound":"Activar sonido","Scroll up":"Desplazar hacia arriba","Scroll down":"Desplazar hacia abajo","Page {current} of {total}":({current:e,total:i})=>`P\xE1gina ${e} de ${i}`,Page:"P\xE1gina",Edition:"Edici\xF3n"},forms$c={emailAddressInvalid:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressInvalidFormat:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressInvalidHostname:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressInvalidMxRecord:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressInvalidSegment:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressDotAtom:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressQuotedString:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressInvalidLocalPart:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",emailAddressLengthExceeded:"El correo electr\xF3nico ingresado no es v\xE1lido. Por favor, utilice el siguiente formato: ejemplo@dominio.com",stringLengthInvalid:"Su informaci\xF3n no es v\xE1lida.",stringLengthTooShort:"Su informaci\xF3n no es v\xE1lida.",stringLengthTooLong:"Su informaci\xF3n no es v\xE1lida.",notEmptyInvalid:"Su informaci\xF3n no es v\xE1lida.",isEmpty:"Este campo es obligatorio y no puede dejarse en blanco.",notBetween:"Su informaci\xF3n no es v\xE1lida.",notBetweenStrict:"Su informaci\xF3n no es v\xE1lida.",valueNotNumeric:"Su informaci\xF3n no es v\xE1lida.",valueNotString:"Su informaci\xF3n no es v\xE1lida.","The following errors occurred":"Se ha producido el siguiente errores"},editions$c={"Error fetching editions":"No hay ninguna otra edici\xF3n.","Loading...":"Cargando...","No editions found":"No hay ninguna otra edici\xF3n."},other$c={"Share this page on {platform}":({platform:e})=>`Comparta esta p\xE1gina en ${e}`},cookieConsent$d={privacyPolicyLinkText:"Lee nuestra pol\xEDtica de privacidad.",acceptButtonText:"Aceptar todas",cookieSettingsButtonText:"Configuraci\xF3n de cookies",cookieSettingsTitle:"Configuraci\xF3n de cookies",cookieSettingsDescription:"Gestiona aqu\xED tus preferencias de cookies. Se requieren las cookies funcionales y no se pueden desactivar.",functionalCookiesTitle:"Cookies funcionales",functionalCookiesDescription:"Las cookies funcionales son necesarias para asegurar que esta publicaci\xF3n funciona de la manera esperada. No las utilizamos para recopilar datos sobre ti.",analyticsCookiesTitle:"Cookies anal\xEDticas",analyticsCookiesDescription:"Las cookies anal\xEDticas nos permiten recopilar datos an\xF3nimos acerca del rendimiento de nuestro contenido.",targetingCookiesTitle:"Cookies de segmentaci\xF3n por comportamiento",targetingCookiesDescription:"Las cookies de segmentaci\xF3n por comportamiento se usan para fines publicitarios. Ayudan a mejorar la relevancia de los anuncios que ves y nos permite mostrarte anuncios cuando navegas en nuestros sitios web.",saveButtonText:"Guardar y aceptar"},search$c={searchPlaceholder:"Escribe para empezar la b\xFAsqueda",missing:"No encontrado",otherAndOrPartialMatches:"Tambi\xE9n encontrado",resultsFoundFor:"p\xE1ginas encontradas sobre",initialisingSearch:"Inicializando b\xFAsqueda ..."},or$c="o";var Spanish=w(f(f(f(f(f(f({},navigation$c),forms$c),editions$c),other$c),cookieConsent$d),search$c),{or:or$c});const navigation$b={Pages:"Sivut",Editions:"Julkaisut","Next page":"Seuraava sivu","Previous page":"Edellinen sivu",Close:"Sulje",Index:"Hakemisto ","Follow us on {platform}":({platform:e})=>`Seuraa meit\xE4 palvelussa ${e}`,"Mute sound":"Vaimenna \xE4\xE4ni","Unmute sound":"Ota \xE4\xE4ni k\xE4ytt\xF6\xF6n","Scroll up":"Vierit\xE4 yl\xF6s","Scroll down":"Vierit\xE4 alas","Page {current} of {total}":({current:e,total:i})=>`Sivu ${e}/${i}`,Page:"Sivu",Edition:"Painos"},forms$b={emailAddressInvalid:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressInvalidFormat:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressInvalidHostname:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressInvalidMxRecord:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressInvalidSegment:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressDotAtom:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressQuotedString:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressInvalidLocalPart:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",emailAddressLengthExceeded:"Sy\xF6tetty s\xE4hk\xF6posti on virheellinen. Olkaa hyv\xE4 ja k\xE4ytt\xE4\xE4 seuraavaa formaattia: esimerkki@yourdomain.com",stringLengthInvalid:"Annettu tieto on virheellinen.",stringLengthTooShort:"Annettu tieto on virheellinen.",stringLengthTooLong:"Annettu tieto on virheellinen.",notEmptyInvalid:"Annettu tieto on virheellinen.",isEmpty:"T\xE4m\xE4 kentt\xE4 on pakollinen, eik\xE4 sit\xE4 voi j\xE4tt\xE4\xE4 tyhj\xE4ksi.",notBetween:"Annettu tieto on virheellinen.",notBetweenStrict:"Annettu tieto on virheellinen.",valueNotNumeric:"Annettu tieto on virheellinen.",valueNotString:"Annettu tieto on virheellinen.","The following errors occurred":"Seuraavat virheet tapahtuivat"},editions$b={"Error fetching editions":"Ei muita julkaisuja.","Loading...":"Ladataan...","No editions found":"Ei muita julkaisuja."},other$b={"Share this page on {platform}":({platform:e})=>`Jaa t\xE4m\xE4 sivu palvelussa ${e}`},cookieConsent$c={privacyPolicyLinkText:"Lue tietosuojaselosteemme.",acceptButtonText:"Hyv\xE4ksy kaikki",cookieSettingsButtonText:"Ev\xE4steasetukset",cookieSettingsTitle:"Ev\xE4steasetukset",cookieSettingsDescription:"T\xE4st\xE4 voit hallita ev\xE4steasetuksiasi. Toiminto- ja analytiikkaev\xE4steet ovat pakollisia, eik\xE4 niit\xE4 ole mahdollista est\xE4\xE4.",functionalCookiesTitle:"Toimintaev\xE4steet",functionalCookiesDescription:"Toimintaev\xE4steet ovat v\xE4ltt\xE4m\xE4tt\xF6mi\xE4, jotta t\xE4m\xE4 julkaisu toimisi toivotulla tavalla. Emme ker\xE4\xE4 sinusta tietoja niiden avulla.",analyticsCookiesTitle:"Analytiikkaev\xE4steet",analyticsCookiesDescription:"Analytiikkaev\xE4steiden avulla voimme ker\xE4t\xE4 nimet\xF6nt\xE4 tietoa sis\xE4lt\xF6jemme toiminnasta.",targetingCookiesTitle:"Kohdentamisev\xE4steet",targetingCookiesDescription:"Kohdentamisev\xE4steit\xE4 k\xE4ytet\xE4\xE4n mainontatarkoituksiin. Ne auttavat parantamaan n\xE4kemiesi mainosten relevanssia, ja niiden avulla voimme n\xE4ytt\xE4\xE4 sinulle mainoksia, kun vierailet muilla verkkosivustoilla.",saveButtonText:"Tallentaa ja hyv\xE4ksy\xE4"},search$b={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$b="tai";var Finnish=w(f(f(f(f(f(f({},navigation$b),forms$b),editions$b),other$b),cookieConsent$c),search$b),{or:or$b});const navigation$a={Pages:"Pages",Editions:"\xC9ditions","Next page":"Page suivante","Previous page":"Page pr\xE9c\xE9dente",Close:"Fermer",Index:"Index","Follow us on {platform}":({platform:e})=>`Suivez-nous sur ${e}`,"Mute sound":"D\xE9sactiver le son","Unmute sound":"Activer le son","Scroll up":"Vers le haut","Scroll down":"Vers le bas","Page {current} of {total}":({current:e,total:i})=>`Page ${e} sur ${i}`,Page:"Page",Edition:"\xC9dition"},forms$a={emailAddressInvalid:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressInvalidFormat:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressInvalidHostname:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressInvalidMxRecord:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressInvalidSegment:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressDotAtom:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressQuotedString:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressInvalidLocalPart:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",emailAddressLengthExceeded:"L'adresse email utilis\xE9e est incorrecte. Veuillez utiliser le format suivant: example@votredomaine.com",stringLengthInvalid:"Les donn\xE9es que vous avez saisies ne sont pas valides.",stringLengthTooShort:"Les donn\xE9es que vous avez saisies ne sont pas valides.",stringLengthTooLong:"Les donn\xE9es que vous avez saisies ne sont pas valides.",notEmptyInvalid:"Les donn\xE9es que vous avez saisies ne sont pas valides.",isEmpty:"Ce champ est obligatoire et ne peut pas rester vide.",notBetween:"Les donn\xE9es que vous avez saisies ne sont pas valides.",notBetweenStrict:"Les donn\xE9es que vous avez saisies ne sont pas valides.",valueNotNumeric:"Les donn\xE9es que vous avez saisies ne sont pas valides.",valueNotString:"Les donn\xE9es que vous avez saisies ne sont pas valides.","The following errors occurred":"Les erreurs suivantes se sont produites"},editions$a={"Error fetching editions":"Il n\u2019y a pas d\u2019autres \xE9ditions.","Loading...":"Chargement en cours...","No editions found":"Il n\u2019y a pas d\u2019autres \xE9ditions."},other$a={"Share this page on {platform}":({platform:e})=>`Partager cette page sur ${e}`},cookieConsent$b={privacyPolicyLinkText:"Lire notre politique de protection de la vie priv\xE9e.",acceptButtonText:"Tout accepter",cookieSettingsButtonText:"Param\xE8tres des cookies",cookieSettingsTitle:"Param\xE8tres des cookies",cookieSettingsDescription:"G\xE9rez vos pr\xE9f\xE9rences en termes de cookies ici. Les cookies fonctionnels sont indispensables et ne peuvent pas \xEAtre d\xE9sactiv\xE9s.",functionalCookiesTitle:"Cookies fonctionnels",functionalCookiesDescription:"Les cookies fonctionnels sont n\xE9cessaires au bon fonctionnement de cette publication. Nous ne les utilisons pas pour collecter des donn\xE9es sur vous.",analyticsCookiesTitle:"Cookies analytiques",analyticsCookiesDescription:"Les cookies analytiques nous permettent de collecter des donn\xE9es anonymes sur la performance de notre contenu.",targetingCookiesTitle:"Cookies de ciblage",targetingCookiesDescription:"Les cookies de ciblage sont utilis\xE9s \xE0 des fins publicitaires. Ils permettent d'am\xE9liorer la pertinence des publicit\xE9s que vous voyez et ils nous permettent de diffuser des publicit\xE9s lorsque vous naviguez sur d'autres sites Internet.",saveButtonText:"Enregistrer et accepter"},search$a={searchPlaceholder:"Entrez la recherche ici ",missing:"Non trouv\xE9",otherAndOrPartialMatches:"Trouv\xE9",resultsFoundFor:"pages trouv\xE9es pour",initialisingSearch:"Initialisation de la recherche ..."},or$a="ou";var France=w(f(f(f(f(f(f({},navigation$a),forms$a),editions$a),other$a),cookieConsent$b),search$a),{or:or$a});const navigation$9={Pages:"Pagine",Editions:"Edizioni","Next page":"Pagina successiva","Previous page":"Pagina precedente",Close:"Chiudi",Index:"Indice","Follow us on {platform}":({platform:e})=>`Seguici su ${e}`,"Mute sound":"Disattiva audio","Unmute sound":"Ripristina audio","Scroll up":"Scorri verso l\u2019alto","Scroll down":"Scorri verso il basso","Page {current} of {total}":({current:e,total:i})=>`Pagina ${e} di ${i}`,Page:"Pagina",Edition:"Edizione"},forms$9={emailAddressInvalid:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressInvalidFormat:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressInvalidHostname:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressInvalidMxRecord:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressInvalidSegment:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressDotAtom:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressQuotedString:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressInvalidLocalPart:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",emailAddressLengthExceeded:"L'indirizzo e-mail non \xE8 valido. SI prega impiegare il formato: esempio@dominio.com",stringLengthInvalid:"I dati inseriti non sono validi.",stringLengthTooShort:"I dati inseriti non sono validi.",stringLengthTooLong:"I dati inseriti non sono validi.",notEmptyInvalid:"I dati inseriti non sono validi.",isEmpty:"Questo campo \xE8 obbligatorio e non pu\xF2 rimanere vuoto.",notBetween:"I dati inseriti non sono validi.",notBetweenStrict:"I dati inseriti non sono validi.",valueNotNumeric:"I dati inseriti non sono validi.",valueNotString:"I dati inseriti non sono validi.","The following errors occurred":"Si sono verificati i seguenti errori"},editions$9={"Error fetching editions":"Non ci sono altre edizioni.","Loading...":"Caricamento in corso...","No editions found":"Non ci sono altre edizioni."},other$9={"Share this page on {platform}":({platform:e})=>`Condividi questa pagina su ${e}`},cookieConsent$a={privacyPolicyLinkText:"Leggi la nostra informativa sulla privacy.",acceptButtonText:"Accetta tutto",cookieRejectAllButtonText:"Rifiuta",cookieSettingsButtonText:"Impostazioni cookie",cookieSettingsTitle:"Impostazioni cookie",cookieSettingsDescription:"Gestisci le tue preferenze cookie qui. I cookie funzionali sono necessari e non possono essere disattivati.",functionalCookiesTitle:"Cookie funzionali",functionalCookiesDescription:"I cookie funzionali sono indispensabili per garantire il funzionamento previsto della presente pubblicazione. Non li utilizziamo per raccogliere i dati che ti riguardano.",analyticsCookiesTitle:"Cookie analitici",analyticsCookiesDescription:"I cookie analitici ci consentono di raccogliere dati anonimi relativi alla prestazione dei nostri contenuti.",targetingCookiesTitle:"Cookie di targeting",targetingCookiesDescription:"I cookie di targeting sono utilizzati a scopi pubblicitari. Servono a migliorare l\u2019attinenza della pubblicit\xE0 che vedi e ci consentono di mostrarti la pubblicit\xE0 mentre navighi altri siti web.",saveButtonText:"Salva e accetta"},search$9={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$9="o";var Italian=w(f(f(f(f(f(f({},navigation$9),forms$9),editions$9),other$9),cookieConsent$a),search$9),{or:or$9});const navigation$8={Pages:"\u30DA\u30FC\u30B8",Editions:"\u30A8\u30C7\u30A3\u30B7\u30E7\u30F3","Next page":"\u6B21\u306E\u30DA\u30FC\u30B8","Previous page":"\u524D\u306E\u30DA\u30FC\u30B8",Close:"\u9589\u3058\u308B",Index:"\u7D22\u5F15","Follow us on {platform}":({platform:e})=>`\u30D5\u30A9\u30ED\u30FC\u3059\u308B${e}`,"Mute sound":"\u97F3\u58F0\u3092\u30DF\u30E5\u30FC\u30C8","Unmute sound":"\u97F3\u58F0\u306E\u30DF\u30E5\u30FC\u30C8\u3092\u89E3\u9664","Scroll up":"\u4E0A\u306B\u30B9\u30AF\u30ED\u30FC\u30EB","Scroll down":"\u4E0B\u306B\u30B9\u30AF\u30ED\u30FC\u30EB","Page {current} of {total}":({current:e,total:i})=>`\u30DA\u30FC\u30B8${e}/${i}`,Page:"\u30DA\u30FC\u30B8",Edition:"\u7248"},forms$8={emailAddressInvalid:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressInvalidFormat:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressInvalidHostname:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressInvalidMxRecord:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressInvalidSegment:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressDotAtom:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressQuotedString:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressInvalidLocalPart:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",emailAddressLengthExceeded:"\u6709\u52B9\u306A\u30E1\u30FC\u30EB \u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u300Cexample@yourdomain.com\u300D\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u3092\u4F7F\u3063\u3066\u304F\u3060\u3055\u3044\u3002",stringLengthInvalid:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002",stringLengthTooShort:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002",stringLengthTooLong:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002",notEmptyInvalid:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002",isEmpty:"\u3053\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u3067\u3059",notBetween:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002",notBetweenStrict:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002",valueNotNumeric:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002",valueNotString:"\u5165\u529B\u5185\u5BB9\u304C\u6B63\u306B\u3042\u308A\u307E\u305B\u3093\u3002","The following errors occurred":"\u6B21\u306E\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F"},editions$8={"Error fetching editions":"\u4ED6\u306E\u30A8\u30C7\u30A3\u30B7\u30E7\u30F3\u306F\u3042\u308A\u307E\u305B\u3093\u3002","Loading...":"\u8AAD\u307F\u8FBC\u307F\u4E2D...","No editions found":"\u4ED6\u306E\u30A8\u30C7\u30A3\u30B7\u30E7\u30F3\u306F\u3042\u308A\u307E\u305B\u3093\u3002"},other$8={"Share this page on {platform}":({platform:e})=>`\u3053\u306E\u30DA\u30FC\u30B8\u3092\u5171\u6709\u3059\u308B${e}`},cookieConsent$9={privacyPolicyLinkText:"\u5F53\u793E\u306E\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u3092\u8AAD\u3080\u3002",acceptButtonText:"\u5168\u3066\u540C\u610F\u3059\u308B",cookieSettingsButtonText:"Cookie\u306E\u8A2D\u5B9A",cookieSettingsTitle:"Cookie\u306E\u8A2D\u5B9A",cookieSettingsDescription:"\u3053\u3053\u3067Cookie\u306E\u8A2D\u5B9A\u3092\u7BA1\u7406\u3067\u304D\u307E\u3059\u3002\u6A5F\u80FD\u6027Cookie\u3068\u5206\u6790Cookie\u306F\u3069\u3061\u3089\u3082\u5FC5\u9808\u3067\u3059\u3002\u7121\u52B9\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",functionalCookiesTitle:"\u6A5F\u80FD\u6027Cookie",functionalCookiesDescription:"\u6A5F\u80FD\u6027Cookie\u306F\u3001\u3053\u306E\u51FA\u7248\u7269\u304C\u60F3\u5B9A\u3057\u305F\u3068\u304A\u308A\u306B\u52D5\u4F5C\u3059\u308B\u305F\u3081\u306B\u5FC5\u8981\u3067\u3059\u3002\u304A\u5BA2\u69D8\u306B\u3064\u3044\u3066\u306E\u30C7\u30FC\u30BF\u306E\u53CE\u96C6\u306B\u306F\u4F7F\u7528\u3055\u308C\u307E\u305B\u3093\u3002",analyticsCookiesTitle:"\u5206\u6790Cookie",analyticsCookiesDescription:"\u5206\u6790Cookie\u306F\u3001\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u306B\u3064\u3044\u3066\u306E\u533F\u540D\u30C7\u30FC\u30BF\u3092\u53CE\u96C6\u3057\u307E\u3059\u3002",targetingCookiesTitle:"\u30BF\u30FC\u30B2\u30C6\u30A3\u30F3\u30B0Cookie",targetingCookiesDescription:"\u30BF\u30FC\u30B2\u30C6\u30A3\u30F3\u30B0Cookie\u306F\u3001\u5E83\u544A\u306E\u76EE\u7684\u3067\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\u304A\u5BA2\u69D8\u304C\u3054\u89A7\u306B\u306A\u308B\u5E83\u544A\u306E\u9069\u5408\u6027\u3092\u5411\u4E0A\u3055\u305B\u307E\u3059\u3002\u307E\u305F\u3001\u4ED6\u306E\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8\u306E\u95B2\u89A7\u4E2D\u306B\u5E83\u544A\u3092\u8868\u793A\u3067\u304D\u307E\u3059\u3002",saveButtonText:"\u4FDD\u5B58\u3057\u3066\u53D7\u3051\u5165\u308C\u308B"},search$8={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$8="\u307E\u305F\u306F";var Japanese=w(f(f(f(f(f(f({},navigation$8),forms$8),editions$8),other$8),cookieConsent$9),search$8),{or:or$8});const navigation$7={Pages:"Pagina's",Editions:"Edities","Next page":"Volgende pagina","Previous page":"Vorige pagina",Close:"Sluiten",Index:"Inhoudsopgave","Follow us on {platform}":({platform:e})=>`Volg ons op ${e}`,"Mute sound":"Geluid aan","Unmute sound":"Geluid uit","Scroll up":"Scrol omhoog","Scroll down":"Scrol omlaag","Page {current} of {total}":({current:e,total:i})=>`Pagina ${e} van ${i}`,Page:"Pagina",Edition:"Editie"},forms$7={emailAddressInvalid:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressInvalidFormat:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressInvalidHostname:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressInvalidMxRecord:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressInvalidSegment:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressDotAtom:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressQuotedString:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressInvalidLocalPart:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",emailAddressLengthExceeded:"Het ingevoerde e-mailadres is ongeldig. Gebruik het format: voorbeeld@jouwdomein.nl",stringLengthInvalid:"De invoer is ongeldig.",stringLengthTooShort:"De invoer is ongeldig.",stringLengthTooLong:"De invoer is ongeldig.",notEmptyInvalid:"De invoer is ongeldig.",isEmpty:"Dit veld is verplicht en kan niet leeg gelaten worden.",notBetween:"De invoer is ongeldig.",notBetweenStrict:"De invoer is ongeldig.",valueNotNumeric:"De invoer is ongeldig.",valueNotString:"De invoer is ongeldig.","The following errors occurred":"De volgende fouten zijn geconstateerd"},editions$7={"Error fetching editions":"Er zijn geen andere edities.","Loading...":"Laden...","No editions found":"Er zijn geen andere edities."},other$7={"Share this page on {platform}":({platform:e})=>`Deel deze pagina op ${e}`},cookieConsent$8={privacyPolicyLinkText:"Lees ons Privacybeleid.",acceptButtonText:"Alles accepteren",cookieRejectAllButtonText:"Alles afwijzen",cookieSettingsButtonText:"Cookie-instellingen aanpassen",cookieSettingsTitle:"Cookie-instellingen",cookieSettingsDescription:"Stel hieronder je cookievoorkeuren in. De functionele cookies zijn vereist voor een optimale gebruikerservaring en kunnen niet worden uitgeschakeld.",functionalCookiesTitle:"Functionele cookies",functionalCookiesDescription:"Functionele cookies zijn noodzakelijk om deze publicatie naar verwachting te laten functioneren. We gebruiken ze niet om gegevens over je te verzamelen.",analyticsCookiesTitle:"Analytische cookies",analyticsCookiesDescription:"Analytische cookies helpen ons anonieme gegevens te verzamelen over hoe onze content presteert.",targetingCookiesTitle:"Advertentiecookies",targetingCookiesDescription:"Advertentiecookies worden gebruikt om de relevantie van de aan jou getoonde advertenties te verbeteren en stellen ons in staat om je advertenties te tonen op andere websites.",saveButtonText:"Opslaan en accepteren"},search$7={searchPlaceholder:"Type hier om te zoeken",missing:"ontbrekend",otherAndOrPartialMatches:"ook gevonden",resultsFoundFor:"pagina's gevonden voor",initialisingSearch:"Zoeken initialiseren ..."},or$7="of";var Dutch=w(f(f(f(f(f(f({},navigation$7),forms$7),editions$7),other$7),cookieConsent$8),search$7),{or:or$7});const navigation$6={Pages:"Sider",Editions:"Utgaver","Next page":"Neste side","Previous page":"Forrige side",Close:"Lukk",Index:"Indeks","Follow us on {platform}":({platform:e})=>`F\xF8lg oss p\xE5 ${e}`,"Mute sound":"Sl\xE5 av lyd","Unmute sound":"Sl\xE5 p\xE5 lyd","Scroll up":"Bla opp","Scroll down":"Bla ned","Page {current} of {total}":({current:e,total:i})=>`Side ${e} av ${i}`,Page:"Side",Edition:"Edition"},forms$6={emailAddressInvalid:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressInvalidFormat:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressInvalidHostname:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressInvalidMxRecord:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressInvalidSegment:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressDotAtom:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressQuotedString:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressInvalidLocalPart:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",emailAddressLengthExceeded:"Den valgte e-postadressen er ugyldig. Bruk f\xF8lgende format: eksempel@yourdomain.se",stringLengthInvalid:"Ugyldig inntasting.",stringLengthTooShort:"Ugyldig inntasting.",stringLengthTooLong:"Ugyldig inntasting.",notEmptyInvalid:"Ugyldig inntasting.",isEmpty:"Dette feltet er obligatorisk og kan ikke st\xE5 tomt.",notBetween:"Ugyldig inntasting.",notBetweenStrict:"Ugyldig inntasting.",valueNotNumeric:"Ugyldig inntasting.",valueNotString:"Ugyldig inntasting.","The following errors occurred":"F\xF8lgende feil oppstod"},editions$6={"Error fetching editions":"Det er ingen andre utgaver.","Loading...":"Laster \u2026","No editions found":"Det er ingen andre utgaver."},other$6={"Share this page on {platform}":({platform:e})=>`Del denne siden p\xE5 ${e}`},cookieConsent$7={privacyPolicyLinkText:"Les v\xE5r personvernpolicy",acceptButtonText:"Aksepter alt",cookieSettingsButtonText:"Cookie-innstillinger",cookieSettingsTitle:"Cookie-innstillinger",cookieSettingsDescription:"Administrer dine cookie-innstillinger her. B\xE5de funksjonelle og analytiske cookies (informasjonskapsler) er n\xF8dvendige og kan ikke deaktiveres.",functionalCookiesTitle:"Funksjonelle cookies",functionalCookiesDescription:"Funksjonelle cookies er n\xF8dvendige for at denne publikasjonen skal fungere som forventet. Vi bruker ikke disse for \xE5 innhente opplysninger om deg.",analyticsCookiesTitle:"Analytiske cookies",analyticsCookiesDescription:"Analytiske cookies lar oss innhente anonyme opplysninger om prestasjonen til v\xE5rt innhold.",targetingCookiesTitle:"M\xE5lrettede cookies",targetingCookiesDescription:"M\xE5lrettede cookies brukes til reklameform\xE5l. De bidrar til \xE5 forbedre relevansen av annonsene du ser, og gj\xF8r det mulig for oss \xE5 vise annonser n\xE5r du surfer p\xE5 andre nettsteder.",saveButtonText:"Lagre og godta"},search$6={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$6="eller";var Norwegian=w(f(f(f(f(f(f({},navigation$6),forms$6),editions$6),other$6),cookieConsent$7),search$6),{or:or$6});const navigation$5={Pages:"Strony",Editions:"Edycje","Next page":"Nast\u0119pna strona","Previous page":"Poprzednia strona",Close:"Zamknij",Index:"Indeks","Follow us on {platform}":({platform:e})=>`\u015Aled\u017A nas na ${e}`,"Mute sound":"Wycisz","Unmute sound":"Wy\u0142\u0105cz wyciszenie","Scroll up":"Przewi\u0144 do g\xF3ry","Scroll down":"Przewi\u0144 do do\u0142u","Page {current} of {total}":({current:e,total:i})=>`Strona ${e} z ${i}`,Page:"Strona",Edition:"Wydanie"},forms$5={emailAddressInvalid:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressInvalidFormat:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressInvalidHostname:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressInvalidMxRecord:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressInvalidSegment:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressDotAtom:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressQuotedString:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressInvalidLocalPart:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",emailAddressLengthExceeded:"Podany adres e-mail jest nieprawid\u0142owy. U\u017Cyj formatu: przyk\u0142ad@twojadomena.com",stringLengthInvalid:"Wprowadzone dane s\u0105 nieprawid\u0142owe.",stringLengthTooShort:"Wprowadzone dane s\u0105 nieprawid\u0142owe.",stringLengthTooLong:"Wprowadzone dane s\u0105 nieprawid\u0142owe.",notEmptyInvalid:"Wprowadzone dane s\u0105 nieprawid\u0142owe.",isEmpty:"To pole jest wymagane i nie mo\u017Ce by\u0107 pozostawione puste.",notBetween:"Wprowadzone dane s\u0105 nieprawid\u0142owe.",notBetweenStrict:"Wprowadzone dane s\u0105 nieprawid\u0142owe.",valueNotNumeric:"Wprowadzone dane s\u0105 nieprawid\u0142owe.",valueNotString:"Wprowadzone dane s\u0105 nieprawid\u0142owe.","The following errors occurred":"Wyst\u0105pi\u0142 nast\u0119puj\u0105cy b\u0142\u0119dy"},editions$5={"Error fetching editions":"Nie ma innych edycji.","Loading...":"\u0141adowanie\u2026","No editions found":"Nie ma innych edycji."},other$5={"Share this page on {platform}":({platform:e})=>`Podziel si\u0119 stron\u0105 na ${e}`},cookieConsent$6={privacyPolicyLinkText:"Przeczytaj nasz\u0105 polityk\u0119 prywatno\u015Bci.",acceptButtonText:"Akceptuj wszystkie",cookieSettingsButtonText:"Ustawienia plik\xF3w cookie",cookieSettingsTitle:"Ustawienia plik\xF3w cookie",cookieSettingsDescription:"Tutaj mo\u017Cesz zarz\u0105dza\u0107 swoimi preferencjami dotycz\u0105cymi plik\xF3w cookie. Funkcjonalne i analityczne pliki cookie s\u0105 wymagane i nie mo\u017Cna ich zablokowa\u0107.",functionalCookiesTitle:"Funkcjonalne pliki cookie",functionalCookiesDescription:"Dzi\u0119ki funkcjonalnym plikom cookie ta publikacja dzia\u0142a zgodnie z oczekiwaniami. Nie wykorzystujemy ich do gromadzenia danych o u\u017Cytkownikach.",analyticsCookiesTitle:"Analityczne pliki cookie",analyticsCookiesDescription:"Dzi\u0119ki analitycznym plikom cookie mo\u017Cemy gromadzi\u0107 dane na temat wydajno\u015Bci naszych tre\u015Bci.",targetingCookiesTitle:"Targetuj\u0105ce pliki cookie",targetingCookiesDescription:"Targetuj\u0105ce pliki cookie s\u0105 wykorzystywane na potrzeby reklam. Poprawiaj\u0105 one trafno\u015B\u0107 wy\u015Bwietlanych reklam i pozwalaj\u0105 nam prezentowa\u0107 u\u017Cytkownikowi reklamy, kiedy odwiedza inn\u0105 witryn\u0119 internetow\u0105.",saveButtonText:"Zapisz i zaakceptuj"},search$5={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$5="lub";var Polish=w(f(f(f(f(f(f({},navigation$5),forms$5),editions$5),other$5),cookieConsent$6),search$5),{or:or$5});const navigation$4={Pages:"P\xE1ginas",Editions:"Edi\xE7\xF5es","Next page":"P\xE1gina seguinte","Previous page":"P\xE1gina anterior",Close:"Fechar",Index:"\xCDndice","Follow us on {platform}":({platform:e})=>`Siga-nos no ${e}`,"Mute sound":"Desligar som","Unmute sound":"Ligar som","Scroll up":"Deslizar para cima","Scroll down":"Deslizar para baixo","Page {current} of {total}":({current:e,total:i})=>`P\xE1gina ${e} de ${i}`,Page:"P\xE1gina",Edition:"Edi\xE7\xE3o"},forms$4={emailAddressInvalid:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressInvalidFormat:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressInvalidHostname:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressInvalidMxRecord:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressInvalidSegment:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressDotAtom:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressQuotedString:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressInvalidLocalPart:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",emailAddressLengthExceeded:"O endere\xE7o de e-mail indicado n\xE3o \xE9 v\xE1lido. Por favor utilize o formato: exemplo@oseudom\xEDnio.com",stringLengthInvalid:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.",stringLengthTooShort:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.",stringLengthTooLong:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.",notEmptyInvalid:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.",isEmpty:"Este campo \xE9 obrigat\xF3rio e n\xE3o pode ficar em branco.",notBetween:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.",notBetweenStrict:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.",valueNotNumeric:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.",valueNotString:"A informa\xE7\xE3o que inseriu n\xE3o \xE9 v\xE1lida.","The following errors occurred":"Os erros seguintes ocorreram"},editions$4={"Error fetching editions":"N\xE3o existem outras edi\xE7\xF5es.","Loading...":"A carregar...","No editions found":"N\xE3o existem outras edi\xE7\xF5es."},other$4={"Share this page on {platform}":({platform:e})=>`Partilhe esta p\xE1gina em ${e}`},cookieConsent$5={privacyPolicyLinkText:"Leia a nossa pol\xEDtica de privacidade.",acceptButtonText:"Aceitar todos",cookieSettingsButtonText:"Configura\xE7\xF5es de cookies",cookieSettingsTitle:"Configura\xE7\xF5es de cookies",cookieSettingsDescription:"Gire aqui as suas prefer\xEAncias de cookies. Os cookies funcionais s\xE3o necess\xE1rios e n\xE3o podem ser desativados.",functionalCookiesTitle:"Cookies funcionais",functionalCookiesDescription:"Os cookies funcionais s\xE3o necess\xE1rios para assegurar que esta publica\xE7\xE3o funciona conforme devido. Estes cookies n\xE3o colecionam dados sobre si.",analyticsCookiesTitle:"Cookies anal\xEDticos",analyticsCookiesDescription:"Os cookies anal\xEDticos permitem-nos recolher dados an\xF3nimos sobre o desempenho do nosso conte\xFAdo.",targetingCookiesTitle:"Cookies de segmenta\xE7\xE3o",targetingCookiesDescription:"Os cookies de segmenta\xE7\xE3o s\xE3o utilizados para efeitos de publicidade. Eles ajudam a melhorar a relev\xE2ncia das publicidades que lhe s\xE3o mostradas, permitindo-nos mostrar-lhe publicidades ao navegar em outros sites.",saveButtonText:"Salve e aceite"},search$4={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$4="ou";var Portuguese=w(f(f(f(f(f(f({},navigation$4),forms$4),editions$4),other$4),cookieConsent$5),search$4),{or:or$4});const navigation$3={Pages:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u044B",Editions:"\u0418\u0437\u0434\u0430\u043D\u0438\u044F","Next page":"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430","Previous page":"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",Close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",Index:"\u0418\u043D\u0434\u0435\u043A\u0441","Follow us on {platform}":({platform:e})=>`\u0421\u043B\u0435\u0434\u0438\u0442\u0435 \u0437\u0430 \u043D\u0430\u043C\u0438 \u043D\u0430 ${e}`,"Mute sound":"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A","Unmute sound":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A","Scroll up":"\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u0432\u0432\u0435\u0440\u0445","Scroll down":"\u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u044C \u0432\u043D\u0438\u0437","Page {current} of {total}":({current:e,total:i})=>`C\u0442\u0440\u0430\u043D\u0438\u0446\u0430 ${e} \u0438\u0437 ${i}`,Page:"C\u0442\u0440\u0430\u043D\u0438\u0446\u0430",Edition:"\u0418\u0437\u0434\u0430\u043D\u0438\u0435"},forms$3={emailAddressInvalid:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressInvalidFormat:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressInvalidHostname:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressInvalidMxRecord:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressInvalidSegment:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressDotAtom:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressQuotedString:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressInvalidLocalPart:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,emailAddressLengthExceeded:`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442:
example@yourdomain.com`,stringLengthInvalid:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.",stringLengthTooShort:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.",stringLengthTooLong:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.",notEmptyInvalid:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.",isEmpty:`\u042D\u0442\u043E \u043F\u043E\u043B\u0435 \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F, \u0432\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435
\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0435\u0433\u043E \u043F\u0443\u0441\u0442\u044B\u043C.`,notBetween:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.",notBetweenStrict:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.",valueNotNumeric:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.",valueNotString:"\u0412\u043D\u0435\u0441\u0435\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0432\u0435\u0440\u043D\u044B.","The following errors occurred":"\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0438"},editions$3={"Error fetching editions":"\u0414\u0440\u0443\u0433\u0438\u0445 \u0438\u0437\u0434\u0430\u043D\u0438\u0439 \u043D\u0435\u0442.","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430\u2026","No editions found":"\u0414\u0440\u0443\u0433\u0438\u0445 \u0438\u0437\u0434\u0430\u043D\u0438\u0439 \u043D\u0435\u0442."},other$3={"Share this page on {platform}":({platform:e})=>`\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435\u0439 \u043D\u0430 ${e}`},cookieConsent$4={privacyPolicyLinkText:"\u041E\u0437\u043D\u0430\u043A\u043E\u043C\u044C\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u0448\u0435\u0439 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u043E\u0439 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438.",acceptButtonText:"\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0432\u0441\u0435",cookieRejectAllButtonText:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C \u0432\u0441\u0435",cookieSettingsButtonText:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0444\u0430\u0439\u043B\u043E\u0432 cookie",cookieSettingsTitle:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0444\u0430\u0439\u043B\u043E\u0432 cookie",cookieSettingsDescription:"\u0417\u0434\u0435\u0441\u044C \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0444\u0430\u0439\u043B\u043E\u0432 cookie. \u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B \u043A\u0430\u043A \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0435, \u0442\u0430\u043A \u0438 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0444\u0430\u0439\u043B\u044B cookie; \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u0445 \u043D\u0435\u043B\u044C\u0437\u044F.",functionalCookiesTitle:"\u0424\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B cookie",functionalCookiesDescription:"\u0424\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B cookie \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B \u0434\u043B\u044F \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0435\u043D\u0438\u044F \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u0439 \u0440\u0430\u0431\u043E\u0442\u044B \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0439. \u041C\u044B \u043D\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C \u0438\u0445 \u0434\u043B\u044F \u0441\u0431\u043E\u0440\u0430 \u0434\u0430\u043D\u043D\u044B\u0445 \u043E \u0432\u0430\u0441.",analyticsCookiesTitle:"\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0444\u0430\u0439\u043B\u044B cookie",analyticsCookiesDescription:"\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0444\u0430\u0439\u043B\u044B cookie \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u043D\u0430\u043C \u0432\u0435\u0441\u0442\u0438 \u0441\u0431\u043E\u0440 \u0430\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 \u043E \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043D\u0430\u0448\u0438\u0445 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u043E\u0432.",targetingCookiesTitle:"\u0424\u0430\u0439\u043B\u044B cookie, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435 \u0434\u043B\u044F \u0442\u0430\u0440\u0433\u0435\u0442\u0438\u043D\u0433\u0430 (\u0440\u0435\u043A\u043B\u0430\u043C\u044B)",targetingCookiesDescription:"\u0422\u0430\u043A\u0438\u0435 \u0444\u0430\u0439\u043B\u044B cookie \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u0432 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445 \u0446\u0435\u043B\u044F\u0445. \u041E\u043D\u0438 \u043F\u043E\u0432\u044B\u0448\u0430\u044E\u0442 \u0440\u0435\u043B\u0435\u0432\u0430\u043D\u0442\u043D\u043E\u0441\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u044B, \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u0432\u0438\u0434\u0438\u0442\u0435, \u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u043D\u0430\u043C \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u043C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u043F\u0440\u0438 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0430\u0439\u0442\u043E\u0432.",saveButtonText:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u044C"},search$3={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$3="\u0438\u043B\u0438";var Russian=w(f(f(f(f(f(f({},navigation$3),forms$3),editions$3),other$3),cookieConsent$4),search$3),{or:or$3});const navigation$2={Pages:"Strany",Editions:"Vydania","Next page":"Nasleduj\xFAca strana","Previous page":"Predch\xE1dzaj\xFAca strana",Close:"Zavrie\u0165",Index:"Obsah","Follow us on {platform}":({platform:e})=>`Sledujte n\xE1s na ${e}`,"Mute sound":"Vypn\xFA\u0165 zvuk","Unmute sound":"Zapn\xFA\u0165 zvuk","Scroll up":"Rolova\u0165 nahor","Scroll down":"Rolova\u0165 nadol","Page {current} of {total}":({current:e,total:i})=>`Strana ${e} z ${i}`,Page:"Strana",Edition:"Vydanie"},forms$2={emailAddressInvalid:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressInvalidFormat:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressInvalidHostname:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressInvalidMxRecord:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressInvalidSegment:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressDotAtom:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressQuotedString:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressInvalidLocalPart:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",emailAddressLengthExceeded:"Pou\u017Eit\xE1 emailov\xE1 adresa je nespr\xE1vna. Pros\xEDm, pou\u017Eite form\xE1t example@yourdomain.com",stringLengthInvalid:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.",stringLengthTooShort:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.",stringLengthTooLong:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.",notEmptyInvalid:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.",isEmpty:"Toto pole je povinn\xE9 a nesmie osta\u0165 pr\xE1zdne.",notBetween:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.",notBetweenStrict:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.",valueNotNumeric:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.",valueNotString:"Vami zadan\xE9 \xFAdaje s\xFA neplatn\xE9.","The following errors occurred":"Do\u0161lo k nasleduj\xFAcej nasleduj\xFAcim chyb\xE1m"},editions$2={"Error fetching editions":"Neexistuj\xFA \u017Eiadne in\xE9 vydania.","Loading...":"Nahr\xE1va...","No editions found":"Neexistuj\xFA \u017Eiadne in\xE9 vydania."},other$2={"Share this page on {platform}":({platform:e})=>`Zdie\u013Eajte t\xFAto str\xE1nku na ${e}`},cookieConsent$3={privacyPolicyLinkText:"Pre\u010D\xEDtajte si na\u0161u politiku ochrany osobn\xFDch \xFAdajov.",acceptButtonText:"Prija\u0165 v\u0161etko",cookieSettingsButtonText:"Nastavenia cookies",cookieSettingsTitle:"Nastavenia cookies",cookieSettingsDescription:"Spravujte predvo\u013Eby s\xFAborov cookies tu. Funk\u010Dn\xE9 a analytick\xE9 cookies s\xFA vy\u017Eadovan\xE9 a nem\xF4\u017Eu by\u0165 zak\xE1zan\xE9.",functionalCookiesTitle:"Funk\u010Dn\xE9 cookies",functionalCookiesDescription:"Funk\u010Dn\xE9 cookies s\xFA nevyhnutn\xE9, aby sa zabezpe\u010Dilo, \u017Ee t\xE1to publik\xE1cia bude fungova\u0165 pod\u013Ea o\u010Dak\xE1van\xED. Nepou\u017E\xEDvame ich na zhroma\u017E\u010Fovanie \xFAdajov o v\xE1s.",analyticsCookiesTitle:"Analytick\xE9 cookies",analyticsCookiesDescription:"Analytick\xE9 cookies n\xE1m umo\u017E\u0148uj\xFA zhroma\u017E\u010Fova\u0165 anonymn\xE9 \xFAdaje o v\xFDkonnosti n\xE1\u0161ho obsahu.",targetingCookiesTitle:"Cielen\xE9 cookies",targetingCookiesDescription:"Cielen\xE9 cookies s\xFA vyu\u017E\xEDvan\xE9 na reklamn\xE9 \xFA\u010Dely. Pom\xE1haj\xFA zlep\u0161ova\u0165 relevanciu rekl\xE1m, ktor\xE9 vid\xEDte, a umo\u017E\u0148uj\xFA n\xE1m zobrazova\u0165 v\xE1m reklamy pri prehliadan\xED in\xFDch webov\xFDch str\xE1nok.",saveButtonText:"Ulo\u017Ei\u0165 & Prija\u0165"},search$2={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$2="alebo";var Slovak=w(f(f(f(f(f(f({},navigation$2),forms$2),editions$2),other$2),cookieConsent$3),search$2),{or:or$2});const navigation$1={Pages:"Sidor",Editions:"Utg\xE5vor","Next page":"N\xE4sta sida","Previous page":"N\xE4sta sida",Close:"St\xE4ng",Index:"Inneh\xE5ll","Follow us on {platform}":({platform:e})=>`F\xF6lj oss p\xE5 ${e}`,"Mute sound":"St\xE4ng av ljudet","Unmute sound":"S\xE4tt p\xE5 ljudet","Scroll up":"Skrolla upp","Scroll down":"Skrolla ned","Page {current} of {total}":({current:e,total:i})=>`Sida ${e} av ${i}`,Page:"Sida",Edition:"Utg\xE5va"},forms$1={emailAddressInvalid:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressInvalidFormat:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressInvalidHostname:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressInvalidMxRecord:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressInvalidSegment:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressDotAtom:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressQuotedString:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressInvalidLocalPart:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",emailAddressLengthExceeded:"Den valda e-postadressen \xE4r ogiltig. V\xE4nligen anv\xE4nd f\xF6ljande format: exempel@yourdomain.se",stringLengthInvalid:"Dina uppgifter \xE4r ogiltiga.",stringLengthTooShort:"Dina uppgifter \xE4r ogiltiga.",stringLengthTooLong:"Dina uppgifter \xE4r ogiltiga.",notEmptyInvalid:"Dina uppgifter \xE4r ogiltiga.",isEmpty:"Detta f\xE4lt \xE4r obligatoriskt och kan inte l\xE4mnas blank.",notBetween:"Dina uppgifter \xE4r ogiltiga.",notBetweenStrict:"Dina uppgifter \xE4r ogiltiga.",valueNotNumeric:"Dina uppgifter \xE4r ogiltiga.",valueNotString:"Dina uppgifter \xE4r ogiltiga.","The following errors occurred":"F\xF6ljande fel uppstod"},editions$1={"Error fetching editions":"Det finns inga andra utg\xE5vor.","Loading...":"Laddar...","No editions found":"Det finns inga andra utg\xE5vor."},other$1={"Share this page on {platform}":({platform:e})=>`Dela den h\xE4r sidan p\xE5 ${e}`},cookieConsent$2={privacyPolicyLinkText:"L\xE4s v\xE5r Integritetspolicy.",acceptButtonText:"Acceptera cookies",cookieSettingsButtonText:"Cookie-inst\xE4llningar",cookieSettingsTitle:"Cookie-inst\xE4llningar",cookieSettingsDescription:"Hantera dina Cookie-inst\xE4llningar h\xE4r. Funktionella och analytiska cookies \xE4r n\xF6dv\xE4ndiga och kan inte st\xE4ngas av.",functionalCookiesTitle:"Funktionella cookies",functionalCookiesDescription:"Funktionella cookies \xE4r n\xF6dv\xE4ndiga f\xF6r att den h\xE4r publikationen ska fungera optimalt. Vi anv\xE4nder dem inte f\xF6r att samla in uppgifter om dig.",analyticsCookiesTitle:"Analytiska cookies",analyticsCookiesDescription:"Analytiska cookies g\xF6r det m\xF6jligt f\xF6r oss att samla in anonyma uppgifter om hur v\xE5rt inneh\xE5ll anv\xE4nds.",targetingCookiesTitle:"M\xE5l-cookies",targetingCookiesDescription:"M\xE5l-cookies anv\xE4nds f\xF6r reklam\xE4ndam\xE5l. De bidrar till att f\xF6rb\xE4ttra relevansen f\xF6r de annonser du ser och till\xE5ter oss att visa annonser n\xE4r du surfar p\xE5 andra webbplatser.",saveButtonText:"Spara & Godk\xE4nn"},search$1={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or$1="eller";var Swedish=w(f(f(f(f(f(f({},navigation$1),forms$1),editions$1),other$1),cookieConsent$2),search$1),{or:or$1});const navigation={Pages:"\u9875",Editions:"\u7248\u672C","Next page":"\u4E0B\u4E00\u9875","Previous page":"\u4E0A\u4E00\u9875",Close:"\u5173\u95ED",Index:"\u7D22\u5F15","Follow us on {platform}":({platform:e})=>`\u5173\u6CE8\u6211\u4EEC${e}`,"Mute sound":"\u9759\u97F3","Unmute sound":"\u53D6\u6D88\u9759\u97F3","Scroll up":"\u5411\u4E0A\u6EDA\u52A8","Scroll down":"\u5411\u4E0B\u6EDA\u52A8","Page {current} of {total}":({current:e,total:i})=>`\u7B2C${e}\u9875\u7684${i}`,Page:"\u9875",Edition:"\u7248"},forms={emailAddressInvalid:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressInvalidFormat:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressInvalidHostname:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressInvalidMxRecord:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressInvalidSegment:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressDotAtom:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressQuotedString:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressInvalidLocalPart:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",emailAddressLengthExceeded:"\u8F93\u5165\u7684\u7535\u5B50\u90AE\u4EF6\u5730\u5740\u65E0\u6548\u3002\u8BF7\u4F7F\u7528\u4EE5\u4E0B\u683C\u5F0F\uFF1Aexample@yourdomain.com\u3002",stringLengthInvalid:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002",stringLengthTooShort:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002",stringLengthTooLong:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002",notEmptyInvalid:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002",isEmpty:"\u8FD9\u5B57\u6BB5\u662F\u5FC5\u9700\u7684\uFF0C\u4E0D\u80FD\u7559\u7A7A\u3002",notBetween:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002",notBetweenStrict:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002",valueNotNumeric:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002",valueNotString:"\u60A8\u7684\u8F93\u5165\u65E0\u6548\u3002","The following errors occurred":"\u53D1\u751F\u4EE5\u4E0B\u9519\u8BEF"},editions={"Error fetching editions":"\u6CA1\u6709\u5176\u4ED6\u7248\u672C\u3002","Loading...":"\u6B63\u5728\u52A0\u8F7D...","No editions found":"\u6CA1\u6709\u5176\u4ED6\u7248\u672C\u3002"},other={"Share this page on {platform}":({platform:e})=>`\u5206\u4EAB\u6B64\u9875${e}`},cookieConsent$1={privacyPolicyLinkText:"\u67E5\u770B\u6211\u4EEC\u7684\u9690\u79C1\u653F\u7B56\u3002",acceptButtonText:"\u5168\u90FD\u63A5\u53D7",cookieSettingsButtonText:"Cookie \u8BBE\u7F6E",cookieSettingsTitle:"Cookie \u8BBE\u7F6E",cookieSettingsDescription:"\u5728\u6B64\u5904\u7BA1\u7406\u60A8\u7684 cookie \u504F\u597D\u8BBE\u7F6E\u3002\u529F\u80FD\u6027 cookie \u548C\u5206\u6790\u6027 cookie \u90FD\u662F\u5FC5\u9700\u7684\uFF0C\u4E0D\u80FD\u7981\u7528\u3002",functionalCookiesTitle:"\u529F\u80FD\u6027 cookie",functionalCookiesDescription:"\u529F\u80FD\u6027 cookie \u662F\u786E\u4FDD\u672C\u53D1\u884C\u4F5C\u54C1\u6309\u9884\u671F\u663E\u793A\u6240\u5FC5\u9700\u7684\u8981\u7D20\u3002\u6211\u4EEC\u5E76\u4E0D\u4F1A\u4F7F\u7528\u5B83\u4EEC\u6765\u6536\u96C6\u6709\u5173\u60A8\u7684\u6570\u636E\u3002",analyticsCookiesTitle:"\u5206\u6790\u6027 cookie",analyticsCookiesDescription:"\u6211\u4EEC\u53EF\u4EE5\u901A\u8FC7\u5206\u6790\u6027 cookie \u6536\u96C6\u6709\u5173\u5185\u5BB9\u8868\u73B0\u7684\u533F\u540D\u6570\u636E\u3002",targetingCookiesTitle:"\u76EE\u6807\u6027 cookie",targetingCookiesDescription:"\u76EE\u6807\u6027 cookie \u7528\u4E8E\u5E7F\u544A\u76EE\u7684\u3002\u5B83\u4EEC\u6709\u52A9\u4E8E\u63D0\u9AD8\u60A8\u770B\u5230\u7684\u5E7F\u544A\u4E4B\u95F4\u7684\u5173\u8054\u6027\uFF0C\u4E5F\u80FD\u8BA9\u6211\u4EEC\u5728\u60A8\u6D4F\u89C8\u5176\u4ED6\u7F51\u7AD9\u65F6\u4E3A\u60A8\u5C55\u793A\u5E7F\u544A\u3002",saveButtonText:"\u4FDD\u5B58\u5E76\u63A5\u53D7"},search={searchPlaceholder:"Type here to search",missing:"Missing",otherAndOrPartialMatches:"Also found",resultsFoundFor:"pages found for",initialisingSearch:"Initialising search ..."},or="\u8981\u4E48";var Chinese=w(f(f(f(f(f(f({},navigation),forms),editions),other),cookieConsent$1),search),{or}),setLanguage=e=>{setLanguageData({ar_eg:Arabic,da_dk:Danish,de_de:German,en_gb:English,fi_fi:Finnish,es_es:Spanish,nl_nl:Dutch,it_it:Italian,no_no:Norwegian,pl_pl:Polish,sv_se:Swedish,fr_fr:France,sk_sk:Slovak,ru_ru:Russian,ja_ja:Japanese,pt_pt:Portuguese,zh_cn:Chinese}[e]||English)};const translator={Component:Translate,translate};var ScreensizesEnum;(function(e){e.xl="xl",e.lg="lg",e.md="md",e.sm="sm"})(ScreensizesEnum||(ScreensizesEnum={}));const screensizesSortedDesc=[ScreensizesEnum.xl,ScreensizesEnum.lg,ScreensizesEnum.md,ScreensizesEnum.sm],mapMediaQueries={[ScreensizesEnum.sm]:"@media only screen and (max-width: 749px)",[ScreensizesEnum.md]:"@media only screen and (max-width: 999px)",[ScreensizesEnum.lg]:"@media only screen and (max-width: 1199px)",[ScreensizesEnum.xl]:null},mapMaxWidth={[ScreensizesEnum.sm]:749,[ScreensizesEnum.md]:999,[ScreensizesEnum.lg]:1199,[ScreensizesEnum.xl]:null},orderedStyleSizes=[50,40,30,20],highestStyleSize=orderedStyleSizes[0],Screensizes={[ScreensizesEnum.xl]:50,[ScreensizesEnum.lg]:40,[ScreensizesEnum.md]:30,[ScreensizesEnum.sm]:20},mapStyleSizeToMediaQueries={50:mapMediaQueries[ScreensizesEnum.xl],40:mapMediaQueries[ScreensizesEnum.lg],30:mapMediaQueries[ScreensizesEnum.md],20:mapMediaQueries[ScreensizesEnum.sm]},mapStyleSizeToMaxWidth={50:mapMaxWidth[ScreensizesEnum.xl],40:mapMaxWidth[ScreensizesEnum.lg],30:mapMaxWidth[ScreensizesEnum.md],20:mapMaxWidth[ScreensizesEnum.sm]},orderedMediaQueries=[mapStyleSizeToMediaQueries[Screensizes[ScreensizesEnum.xl]],mapStyleSizeToMediaQueries[Screensizes[ScreensizesEnum.lg]],mapStyleSizeToMediaQueries[Screensizes[ScreensizesEnum.md]],mapStyleSizeToMediaQueries[Screensizes[ScreensizesEnum.sm]]],createStyles=e=>t.type({50:e,40:e,30:e,20:e}),getComputedStyles$1=e=>{const i={50:{},40:{},30:{},20:{}};if(!e)return i;for(let n=0;n<orderedStyleSizes.length;n++){const o=orderedStyleSizes[n],a=n===0?null:orderedStyleSizes[n-1],s=e[o]||{};n===0&&s?i[o]=s:a&&i[a]&&(i[o]=cjs(i[a],s),s.font&&(s.font.assetRef?delete i[o].font.family:s.font.family&&delete i[o].font.assetRef))}return i};function getStyleValueFromPath(e,i){const[n,...o]=i;return o.length&&typeof e[n]=="object"?getStyleValueFromPath(e[n],o):e[n]}function getInheritStyleValueFromPath(e,i,n){const o=[...orderedStyleSizes].reverse(),r=o.findIndex(s=>s===i),a=[];return o.slice(r).some(s=>{const l=getStyleValueFromPath(e.styles,[`${s}`,...n]);return l!==void 0?(a.push(l),!0):!1}),a[0]}class Entity extends Type{constructor(i,n,o){super(i,r=>{if(IsAnyObject(r)){for(const a in n){const s=n[a],l=r[a];if(!s.is(l))return!1}return!0}return!1},(r,a,s)=>{const l=[],u=c=>l.push(c);if(!IsAnyObject(r))return err([{path:s,expected:"type",got:r}]);for(const c in n){const d=r[c],g=n[c].validate(d,a,[...s,c]);g.isErr()&&g.error.forEach(u)}return l.length?err(l):ok(r)},n);b(this,"initialValue");b(this,"blueprint");b(this,"create",i=>{const n=cloneDeep_1(this.initialValue),o=cloneDeep_1(this.blueprint);return Object.keys(o).reduce((a,s)=>{if(o[s].name==="UUID"){if(s==="id"&&i&&i[s]){if(UUID.is(i[s]))return w(f({},a),{id:i[s]});throw new Error("Cannot use pre-defined id that is not a valid UUID/v4")}return w(f({},a),{[s]:v4()})}if(s==="styles")return w(f({},a),{[s]:{50:{},40:{},30:{},20:{}}});const l=i&&i[s]!==void 0?i[s]:n[s];return w(f({},a),{[s]:l})},{})});this.name=i,this.initialValue=o,this.blueprint=n}}const defaultRenderingConfig={isScreenshot:!1,isPrint:!1},setRenderingConfig=()=>{if(typeof window=="undefined")return;const e=new URLSearchParams(window.location.search),i=e.has("pageId")?Number(e.get("pageId")):null,n=e.has("_screenshot_")&&Boolean(Number(e.get("_screenshot_"))),o=e.has("_print_")&&Boolean(Number(e.get("_print_"))),r=e.has("screenheight")?e.get("screenheight"):null;window.RENDERING_CONFIG={pageId:i,isScreenshot:n,screenHeight:r,isPrint:o}},getRenderingConfig=()=>typeof window=="undefined"?defaultRenderingConfig:window.RENDERING_CONFIG?window.RENDERING_CONFIG:defaultRenderingConfig;var ge,ye,fe,he,$e,Ee,Se,be,Ie,ve,Te,xe;const ConfigURLs$1={apiURL:typeof window!="undefined"?localStorage.getItem("X-Api-Override")||((ge=window._env_)==null?void 0:ge.ENV_API_URL):{}.ENV_API_URL,authURL:typeof window!="undefined"?localStorage.getItem("X-Auth-Override")||((ye=window._env_)==null?void 0:ye.ENV_AUTH_URL):{}.ENV_AUTH_URL,apiKubeURL:typeof window!="undefined"?localStorage.getItem("X-Api-Override")||{}.ENV_KUBE_API_URL:{}.ENV_KUBE_API_URL,authKubeURL:typeof window!="undefined"?localStorage.getItem("X-Auth-Override")||{}.ENV_KUBE_AUTH_URL:{}.ENV_KUBE_AUTH_URL,foleonAnalyticsURL:typeof window!="undefined"?(fe=window._env_)==null?void 0:fe.INSTANT_ANALYTICS_URL:{}.INSTANT_ANALYTICS_URL,pardotTrackingScriptURL:typeof window!="undefined"?(he=window._env_)==null?void 0:he.PARDOT_TRACKING_SCRIPT_URL:{}.PARDOT_TRACKING_SCRIPT_URL,foleonMeasurementId:typeof window!="undefined"?($e=window._env_)==null?void 0:$e.GA4_MEASUREMENT_ID:{}.GA4_MEASUREMENT_ID,dashboardURL:typeof window!="undefined"?localStorage.getItem("X-Portal-Override")||((Ee=window._env_)==null?void 0:Ee.ENV_DASHBOARD_URL):{}.ENV_DASHBOARD_URL,t2Url:typeof window!="undefined"?localStorage.getItem("X-T2-Override")||((Se=window._env_)==null?void 0:Se.ENV_T2_URL):{}.ENV_T2_URL,betaUrl:typeof window!="undefined"?localStorage.getItem("X-Beta-Override")||((be=window._env_)==null?void 0:be.ENV_BETA_URL):{}.ENV_BETA_URL,unleashProxyEndpoint:typeof window!="undefined"?(Ie=window._env_)==null?void 0:Ie.UNLEASH_PROXY_ENDPOINT:{}.UNLEASH_PROXY_ENDPOINT,unleashProxyClientKey:typeof window!="undefined"?(ve=window._env_)==null?void 0:ve.UNLEASH_PROXY_CLIENT_KEY:{}.UNLEASH_PROXY_CLIENT_KEY,tableRowMaxLength:typeof window!="undefined"?(Te=window._env_)==null?void 0:Te.TABLE_ROW_MAX_LENGTH:{}.TABLE_ROW_MAX_LENGTH,tableColumnMaxLength:typeof window!="undefined"?(xe=window._env_)==null?void 0:xe.TABLE_COLUMN_MAX_LENGTH:{}.TABLE_COLUMN_MAX_LENGTH},getBiggerViewports=e=>orderedStyleSizes.slice(0,orderedStyleSizes.findIndex(i=>i===e)),getSmallerViewports=e=>orderedStyleSizes.slice(orderedStyleSizes.findIndex(i=>i===e),orderedStyleSizes.length-1),getMediaQueriesDescForVP=e=>[e,...getSmallerViewports(e)].reduce((i,n)=>n?[...i,orderedMediaQueries[n]]:i,[]),getMediaQueriesAscForVP=e=>getBiggerViewports(e).reduce((i,n)=>n?[...i,orderedMediaQueries[n]]:i,[]),identity$K="button",identity$J="hotspot",identity$I="image",identity$H="text",identity$G="action";var ActionTypeKeys;(function(e){e.page="page",e.overlay="overlay",e["external-url"]="external-url",e.document="document",e["cookie-consent"]="cookie-consent",e.block="block",e["close-overlay"]="close-overlay"})(ActionTypeKeys||(ActionTypeKeys={}));const externalUrl=t.type({type:t.literal("external-url"),value:t.string,target:t.union([t.literal("_self"),t.literal("_blank")])}),page=t.partial({type:t.literal("page"),beckyId:t.number,blockId:t.union([t.string,t.null])}),overlay=t.partial({type:t.literal("overlay"),beckyId:t.number}),cookieConsent=t.type({type:t.literal("cookie-consent")}),closeOverlay=t.type({type:t.literal("close-overlay")}),EntityInferred$I=new Entity(identity$G,{id:t.UUID,identity:t.literal(identity$G),reference:t.union([t.number,t.undefined]),options:t.union([externalUrl,page,overlay,cookieConsent,closeOverlay,t.null]),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$K)}),t.type({id:t.UUID,identity:t.literal(identity$J)}),t.type({id:t.UUID,identity:t.literal(identity$I)}),t.type({id:t.UUID,identity:t.literal(identity$H)})])},{id:void 0,identity:identity$G,reference:void 0,options:void 0,parent:void 0}),entity$I=EntityInferred$I,Action={entity:entity$I,identity:identity$G},IsExternalUrlOptions=e=>(e==null?void 0:e.type)==="external-url",IsPageOptions=e=>(e==null?void 0:e.type)==="page"&&Boolean(e.blockId)===!1,IsBlockOptions=e=>(e==null?void 0:e.type)==="page"&&Boolean(e.blockId),IsOverlayOptions=e=>(e==null?void 0:e.type)==="overlay",IsCookieOptions=e=>(e==null?void 0:e.type)==="cookie-consent",IsCloseOverlayOptions=e=>(e==null?void 0:e.type)==="close-overlay",actionTypes=t.union([t.literal("external-url"),t.literal("page"),t.literal("overlay")]),actionRef=t.type({id:t.UUID,identity:t.literal(identity$G),type:actionTypes}),onlyActionRefs=e=>(e==null?void 0:e.identity)===identity$G,getActionProps=(e,i,n,o)=>{const{options:r}=e;if(IsExternalUrlOptions(r)){const a=buildUTMExternalLink(r.value);return{actionId:e.id,url:a,target:r.target,linkType:"EXTERNAL"}}if(IsBlockOptions(r)){const a=Object.values(n).find(l=>l.beckyId===(r==null?void 0:r.beckyId));let s=a?a==null?void 0:a.identifier:"";return s=(r==null?void 0:r.blockId)?`${s}#${r.blockId}`:s,{url:s,target:"_self",linkType:"INTERNAL",actionId:e.id}}if(IsPageOptions(r)){const a=Object.values(n).find(l=>l.beckyId===(r==null?void 0:r.beckyId));return{url:[...a?[a.identifier]:[]].join("/"),actionId:e.id,target:"_self",linkType:"INTERNAL"}}if(IsCookieOptions(r))return{url:"",actionId:e.id,target:"_self",linkType:"INTERNAL"};if(IsOverlayOptions(r)){const a=Object.values(i).find(s=>s.beckyId===r.beckyId);return w(f({url:o},(a==null?void 0:a.identifier)?{search:{overlay:a.identifier}}:{}),{actionId:e.id,target:"_self",linkType:"INTERNAL"})}return IsCloseOverlayOptions(r)?{url:"",actionId:e.id,target:"_self",linkType:"INTERNAL"}:{url:"",actionId:e.id,target:"_self",linkType:"INTERNAL"}};function createBuildUtilsRouteMap({actions:e,overlayRoutes:i,pageRoutes:n,currentUrl:o}){const r={};return e.forEach(a=>{typeof a.reference!="undefined"&&(r[a.reference]=getActionProps(a,i,n,o))}),r}const useActions=(e,i)=>{var n;return i(o=>!e||!e.refs?[]:e.refs.filter(onlyActionRefs).map(a=>{var s;return(s=o[a.identity])==null?void 0:s[a.id]}).filter(Boolean),[(n=e==null?void 0:e.refs)==null?void 0:n.length])},identity$F="block",identity$E="column",identity$D="video",identity$C="background",BackgroundInferred=t.partial({color:t.string,position:t.type({x:t.number,y:t.number}),scrollRate:t.union([t.literal("0"),t.literal("0.25"),t.literal("0.5"),t.literal("0.75"),t.literal("1")]),fill:t.union([t.literal("container"),t.literal("children")]),image:t.string}),background=BackgroundInferred,BoxInferred=t.partial({height:t.union([t.literal("vh"),t.string]),width:t.union([t.literal("vw"),t.string]),direction:t.union([t.literal("horizontal"),t.literal("vertical")]),alignment:t.partial({horizontal:t.union([t.literal("left"),t.literal("center"),t.literal("right"),t.literal("justify")]),vertical:t.union([t.literal("top"),t.literal("middle"),t.literal("bottom")])}),color:t.string,shadow:t.type({x:t.string,y:t.string,blur:t.string,color:t.union([t.string,t.undefined])}),corners:t.partial({bottomLeft:t.string,bottomRight:t.string,topLeft:t.string,topRight:t.string}),overflow:t.partial({x:t.union([t.literal("visible"),t.literal("auto"),t.literal("hidden"),t.literal("scroll")]),y:t.union([t.literal("visible"),t.literal("auto"),t.literal("hidden"),t.literal("scroll")])}),offset:t.type({value:t.string})}),box=BoxInferred,visibility=t.union([t.literal("always"),t.literal("visible"),t.literal("hidden"),t.literal("none")]),backgroundStyles=createStyles(t.partial({background,box,visibility})),backgroundBaseStyles={50:{background:{position:{x:50,y:50},scrollRate:"1"}},40:{},30:{},20:{}},EntityInferred$H=new Entity(identity$C,{id:t.UUID,identity:t.literal(identity$C),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$F)}),t.type({id:t.UUID,identity:t.literal(identity$E)})]),options:t.partial({video:t.partial({shouldLoopVideo:t.boolean}),image:t.partial({})}),type:t.union([t.literal("image"),t.literal("video")]),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$I)}),t.type({id:t.UUID,identity:t.literal(identity$D)})])),styles:backgroundStyles},{id:void 0,identity:identity$C,parent:void 0,type:void 0,options:{video:{shouldLoopVideo:!0}},refs:[]}),entity$H=EntityInferred$H,Background={entity:entity$H,identity:identity$C},MATCH_YOUTUBE_URL=/\/\/(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})/,MATCH_VIMEO_URL=/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/,isYoutubeVideoUrl=e=>e?e.match(MATCH_YOUTUBE_URL)!==null:!1,isVimeoVideoUrl=e=>e?e.match(MATCH_VIMEO_URL)!==null:!1,getVimeoId=e=>{const i=e&&e.match(MATCH_VIMEO_URL);return i&&i[3]},FORMAT_YOUTUBE_VIDEO_STILL_URL=(e,i="")=>`https://img.youtube.com/vi/${e}/${i}default.jpg`,getDefaultVideoStillUrl=(e,i="mq")=>{if(!e)return;const n=e.match(MATCH_YOUTUBE_URL);if(!n||n.length<1||n[1].length!==11)return;const o=n[1];return FORMAT_YOUTUBE_VIDEO_STILL_URL(o,i)},formatVideoIdToHttp=e=>e?e.includes("http")||e.length!==11?e:`https://youtu.be/${e}`:null,hasImageMinWidth=(e,i)=>new Promise((n,o)=>{const r=new Image;r.onload=a=>{const s=a.currentTarget;s||n(!1),s.naturalWidth>i&&n(!0),s.naturalWidth<=i&&n(!1)},r.onerror=a=>{console.info("[Assets > Video > hasImageMinWidth] Error fetching image "+a+" "),o(!1)},r.src=e}),getVideoTitleWithProvider=(e,i)=>isYoutubeVideoUrl(e)?`YouTube video - ${i}`:isVimeoVideoUrl(e)?`Vimeo video - ${i}`:`Custom video - ${i}`,mapHalImage=e=>({alt:e.alt,created_on:e.created_on,name:e.name,filetype:e.filetype,filesize:e.filesize,properties:f({},e.properties),url:e._links.image.href,thumbnail:e._links.thumbnail}),mapExternalImage=e=>({properties:f({},e.properties),url:e.url}),axiosInstanceWithoutBearerToken=axios.create(),checkIfYouTubeImageExists=async e=>{if(typeof window!="undefined")return hasImageMinWidth(e,120);try{return(await axiosInstanceWithoutBearerToken.get(e,{method:"HEAD"})).status===200}catch{return!1}},mapVideo=async({data:e})=>{let i;try{if(isVimeoVideoUrl(e.url)){const n=await axiosInstanceWithoutBearerToken.get(`https://vimeo.com/api/v2/video/${getVimeoId(e.url)}.json`);i=get_1(n,"data.0.thumbnail_large")}else if(isYoutubeVideoUrl(e.url)){e.url=e.url.match(MATCH_YOUTUBE_URL)[0];const n=getDefaultVideoStillUrl(formatVideoIdToHttp(e.url),"maxres");n&&(i=await checkIfYouTubeImageExists(n)?n:getDefaultVideoStillUrl(formatVideoIdToHttp(e.url),"hq"))}}catch{console.debug("[fetchAssetDataForEntities] Error fetching video asset default fallback image")}return w(f({},e),{defaultFallbackImage:i})},mapCustomFont=e=>({name:e.name,typefaces:e._embedded.typefaces.map(i=>({isItalic:i.is_italic||!1,weight:i.weight,woff:i._links.typeface.href,extension:i._links.typeface.href.split(".").pop()})),url:e._links.self.href});var AssetsCategories;(function(e){e.fonts="fonts",e.images="images",e.externalImages="externalImages",e.videos="videos"})(AssetsCategories||(AssetsCategories={}));const isImageAsset=e=>e.properties!==void 0,isVideoAsset=e=>e._computed!==void 0,swap=y("@assets_store/swap",e=>({assets:e}))(),combineAssetsStore=y("@assets_store/combine_assets_store",e=>({assets:e}))(),updateImageAsset=y("@assets_store/update_image_asset",(e,i,n)=>({image:i,type:n,urlOrAssetRef:e}))(),updateVideoAsset=y("@assets_store/update_video_asset",(e,i)=>({video:i,assetRef:e}))(),updateFontAsset=y("@assets_store/update_font_asset",(e,i)=>({font:i,assetRef:e}))(),assetsReducer=(e,i)=>{switch(i.type){case p(combineAssetsStore):return{images:f(f({},e[AssetsCategories.images]),i.payload.assets.images),externalImages:f(f({},e[AssetsCategories.externalImages]),i.payload.assets.externalImages),videos:f(f({},e[AssetsCategories.videos]),i.payload.assets.videos),fonts:f(f({},e[AssetsCategories.fonts]),i.payload.assets.fonts)};case p(swap):return{images:f({},i.payload.assets.images),externalImages:f({},i.payload.assets.externalImages),videos:f({},i.payload.assets.videos),fonts:f({},i.payload.assets.fonts)};case p(updateImageAsset):{const{type:n,urlOrAssetRef:o,image:r}=i.payload;return f(f({},e),n===AssetsCategories.images?{images:w(f({},e.images),{[o]:r})}:{externalImages:w(f({},e.externalImages),{[o]:r})})}case p(updateVideoAsset):{const{assetRef:n,video:o}=i.payload;return w(f({},e),{videos:w(f({},e.videos),{[n]:o})})}case p(updateFontAsset):{const{assetRef:n,font:o}=i.payload;return o?w(f({},e),{[AssetsCategories.fonts]:w(f({},e[AssetsCategories.fonts]),{[n]:o})}):e}default:return e}},AssetsStoreStateContext=react.exports.createContext(void 0),AssetsStoreDispatchContext=react.exports.createContext(void 0),AssetsStoreProvider=({children:e,images:i={},videos:n={},externalImages:o={},fonts:r={}})=>{const[a,s]=react.exports.useReducer(assetsReducer,{fonts:r,images:i,videos:n,externalImages:o});return React.createElement(AssetsStoreStateContext.Provider,{value:a},React.createElement(AssetsStoreDispatchContext.Provider,{value:s},e))},useAssetsStoreState=()=>{const e=react.exports.useContext(AssetsStoreStateContext);if(e===void 0)throw new Error("useAssetsStore must be used in a AssetsStoreProvider");return e},useAssetsStoreDispatch=()=>{const e=react.exports.useContext(AssetsStoreDispatchContext);if(e===void 0)throw new Error("useAssetsStoreDispatch must be used in a AssetsStoreProvider");return e},useAssetsStoreActions=()=>{const e=useAssetsStoreDispatch(),i=react.exports.useCallback(u=>{e(combineAssetsStore(u))},[e]),n=react.exports.useCallback(u=>{e(swap(u))},[e]),o=react.exports.useCallback(async(u,c,d,m)=>{if(d===AssetsCategories.images&&c===null){const g=await m.get(u);e(updateImageAsset(u,mapHalImage(g.data),d))}else c&&e(updateImageAsset(u,mapExternalImage(c),d))},[e]),r=react.exports.useCallback(async(u,c)=>{const d=await c.get(u),m=await mapVideo(d);e(updateVideoAsset(u,m))},[e]),a=react.exports.useCallback((u,c)=>{if(u)return u.image&&Object.keys(u.image).forEach(m=>{const g=u.image[m].assetRef;g&&o(g,null,AssetsCategories.images,c)}),u.video&&Object.keys(u.video).forEach(m=>{const g=u.video[m].assetRef;g&&r(g,c)}),u},[e]),s=u=>{const c=u.split("/"),d=c.pop();return`${c.join("/")}?filter[0][field]=id&filter[0][type]=eq&filter[0][value]=${d}`},l=react.exports.useCallback(async(u,c)=>{const d=s(u),m=await c.get(d),g=mapCustomFont(m.data._embedded.font[0]);e(updateFontAsset(u,g))},[e]);return{mergeAssetsStore:i,updateAssetsStore:n,addImageAssetToStore:o,addVideoAssetToStore:r,addFontAssetToStore:l,addAssetsToStore:a}},useAssetsStoreQueries=()=>{const e=useAssetsStoreState(),i=react.exports.useCallback(u=>u.provider==="foleon"?n(u.assetRef):o(u.url),[e[AssetsCategories.images],e[AssetsCategories.externalImages]]),n=react.exports.useCallback(u=>{var c;return u&&((c=e==null?void 0:e[AssetsCategories.images])==null?void 0:c[u])||null},[e[AssetsCategories.images]]),o=react.exports.useCallback(u=>{var c;return u&&((c=e==null?void 0:e[AssetsCategories.externalImages])==null?void 0:c[u])||null},[e[AssetsCategories.externalImages]]),r=react.exports.useCallback(u=>{var c;return u&&((c=e==null?void 0:e[AssetsCategories.videos])==null?void 0:c[u])||null},[e[AssetsCategories.videos]]),a=react.exports.useCallback(u=>{var d;if(!u)return;const c=(d=e==null?void 0:e[AssetsCategories.fonts])==null?void 0:d[u];if(c)return{fontFamily:`'${c.name}'`};if(u.includes("google"))return{fontFamily:`${u.split("?family=")[1].replace(/\+/g," ")}`}},[e[AssetsCategories.fonts]]),s=react.exports.useCallback(u=>{var d;if(!u)return;const c=(d=e==null?void 0:e[AssetsCategories.fonts])==null?void 0:d[u];return Array.isArray(c==null?void 0:c.typefaces)?c==null?void 0:c.typefaces.map(m=>({fontFamily:`'${c.name}'`,weight:m.weight||400,style:m.isItalic?"italic":"normal"})):c?[{fontFamily:`'${c.name}'`,weight:400,style:"normal"}]:u.includes("google")?[{fontFamily:`${u.split("?family=")[1].replace(/\+/g," ")}`}]:[]},[e[AssetsCategories.fonts]]),l=react.exports.useCallback(u=>u.map(c=>{var d;return(d=e==null?void 0:e[AssetsCategories.fonts])==null?void 0:d[c]}).filter(c=>c),[e[AssetsCategories.fonts]]);return{getImageAsset:i,getVideoAsset:r,getFontTypeFacesByRef:s,getFontByRef:a,getFoleonImageAsset:n,getFontsByRefWithTypes:l}},identity$B="clipboard",identity$A="form",identity$z="lead-gen",identity$y="property";var PropertyTypeKeys;(function(e){e.personalization="personalization"})(PropertyTypeKeys||(PropertyTypeKeys={}));const personalization$1=t.type({type:t.literal(PropertyTypeKeys.personalization),refId:t.number,identifier:t.string}),EntityInferred$G=new Entity(identity$y,{id:t.UUID,identity:t.literal(identity$y),reference:t.union([t.number,t.undefined]),options:t.union([personalization$1,t.null]),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$K)}),t.type({id:t.UUID,identity:t.literal(identity$H)})])},{id:void 0,identity:identity$y,reference:void 0,options:void 0,parent:void 0}),entity$G=EntityInferred$G,propertyRef=t.type({id:t.UUID,identity:t.literal(identity$y)}),Property={entity:entity$G,identity:identity$y},IsPropertyP13NOptions=e=>(e==null?void 0:e.type)===PropertyTypeKeys.personalization,onlyPropertyRefs=e=>(e==null?void 0:e.identity)===identity$y,useProperties=(e,i)=>i(n=>!e||!e.refs?[]:e.refs.filter(onlyPropertyRefs).map(r=>{var a;return(a=n[r.identity])==null?void 0:a[r.id]}).filter(Boolean),[e.refs.length]),identity$x="text-item",AnimationInferred=t.partial({animationName:t.string,contentAnimation:t.string,delay:t.number,revealBarColor:t.string,duration:t.number}),animation=AnimationInferred,setAnimationValue=(e,i,n)=>{e.animation?set_1(e.animation,i,n):(e.animation={},set_1(e.animation,i,n))},animated={animationDuration:"700ms",transitionTimingFunction:"ease-in-out",animationFillMode:"backwards"},fadeIn={name:"fadeIn",animationDuration:"1400ms",settings:{"0%":{opacity:0},"100%":{opacity:1}}},zoomIn={name:"zoomIn",settings:{"0%":{transform:"scale(0.2)",opacity:0},"50%":{transform:"scale(1.05)"},"100%":{transform:"scale(1)",opacity:1}}},bounceIn={name:"bounceIn",settings:{"from, 20%, 40%, 60%, 80%, to":{animationTimingFunction:"cubic-bezier(0.215, 0.610, 0.355, 1.000)"},"0%":{opacity:0,transform:"scale3d(.3, .3, .3)"},"20%":{transform:"scale3d(1.1, 1.1, 1.1)"},"40%":{transform:"scale3d(.9, .9, .9)"},"60%":{opacity:1,transform:"scale3d(1.03, 1.03, 1.03)"},"80%":{transform:"scale3d(.97, .97, .97)"},to:{opacity:1,transform:"scale3d(1, 1, 1)"}}},blurIn={name:"blurIn",settings:{"0%":{opacity:0,transformOrigin:"50% 50%",transform:"scale(2, 2)",filter:"blur(90px)"},"100%":{opacity:1,transformOrigin:"50% 50%",transform:"scale(1, 1)",filter:"blur(0)"}}},stretchIn={name:"stretchIn",settings:{"0%":{transform:"scaleX(0.3)",opacity:0},"40%":{transform:"scaleX(1.02)",opacity:1},"60%":{transform:"scaleX(0.98)"},"80%":{transform:"scaleX(1.01)"},"100%":{transform:"scaleX(0.98)"}," 80%":{transform:"scaleX(1.01)"}," 100%":{transform:"scaleX(1)",opacity:1}}},flyIn={name:"flyIn",settings:{"0%":{opacity:0,transformOrigin:"50% 50%",transform:"scale(2,2)",filter:"blur(2px)"},"100%":{opacity:1,transformOrigin:"50% 50%",transform:"scale(1,1)",filter:"blur(0px)"}}},fadeInDown={name:"fadeInDown",settings:{"0%":{opacity:0,transform:"translateY(-20px)"},"100%":{opacity:1,transform:"translateY(0)"}}},fadeInUp={name:"fadeInUp",settings:{"0%":{opacity:0,transform:"translateY(20px)"},"100%":{opacity:1,transform:"translateY(0)"}}},fadeInLeft={name:"fadeInLeft",settings:{"0%":{opacity:0,transform:"translateX(-20px)"},"100%":{opacity:1,transform:"translateX(0)"}}},fadeInRight={name:"fadeInRight",settings:{"0%":{opacity:0,transform:"translateX(20px)"},"100%":{opacity:1,transform:"translateX(0)"}}},sharedAnimationsCSS=animated,defaultAnimations={fadeIn,zoomIn,bounceIn,blurIn,stretchIn,flyIn,fadeInDown,fadeInUp,fadeInLeft,fadeInRight},barAppearPercentage=50,barPresentDuration=20,percentageRevealMiddle1=barAppearPercentage-barPresentDuration/2+"%",percentageRevealMiddle2=barAppearPercentage+barPresentDuration/2+"%",imRevealLeftToRight={name:"imRevealLeftToRight",settings:{"0%":{transform:"scaleX(0)",transformOrigin:"center left 0px"},[percentageRevealMiddle1]:{transform:"scaleX(1)",transformOrigin:"center left 0px"},[percentageRevealMiddle2]:{transform:" scaleX(1)",transformOrigin:"center right 0px"},"100%":{transform:"scaleX(0)",transformOrigin:"center right 0px"}}},imRevealRightToLeft={name:"imRevealRightToLeft",settings:{"0%":{transform:"scaleX(0)",transformOrigin:"center right 0px"},[percentageRevealMiddle1]:{transform:"scaleX(1)",transformOrigin:"center right 0px "},[percentageRevealMiddle2]:{transform:"scaleX(1)",transformOrigin:"center left 0px"},"100%":{transform:"scaleX(0)",transformOrigin:"center left 0px "}}},percentageRevealContentMiddle1=barAppearPercentage-.001+"%",percentageRevealContentMiddle2=barAppearPercentage+"%",imRevealContent={name:"imRevealContent",settings:{"0%":{opacity:0},[percentageRevealContentMiddle1]:{opacity:0},[percentageRevealContentMiddle2]:{opacity:1},"100%":{opacity:1}}},revealAnimations={imRevealLeftToRight,imRevealRightToLeft,imRevealContent},isRevealAnimation=e=>!!e&&!!revealAnimations[e],buildAnimationKeyframes=()=>[...Object.values(defaultAnimations),...Object.values(revealAnimations)].reduce((i,n)=>{const o=Ue(n.settings).rules;return i+`@keyframes ${n.name} { ${o} }`},""),ANIMATION_DELAY=150,GLOBAL_ANIMATION_CLASS="foleon-animation",createAnimationToCSS=({overrides:e},i)=>(n,o)=>{if(!n)return;const r=(s,l)=>{set_1(o,[s],l)},a=getKeys(n);for(let s=0;s<a.length;s++){const l=a[s];if(e==null?void 0:e[l]){const u=e[l],c=n==null?void 0:n[l];u(o,c,r)}l==="animationName"&&toCSS(n,o,i)}},toCSS=(e,i,n)=>{if(!e||!e.animationName)return;const o=defaultAnimations[e.animationName],r=revealAnimations[e.animationName];if(!o&&!r)return;const a=n?`.${GLOBAL_ANIMATION_CLASS} &&.in-viewport`:`.${GLOBAL_ANIMATION_CLASS} .in-viewport &&`,s=n?`.${GLOBAL_ANIMATION_CLASS} &&.in-viewport-pending`:`.${GLOBAL_ANIMATION_CLASS} .in-viewport-pending &&`,l=n?`.${GLOBAL_ANIMATION_CLASS} &&.in-viewport-fired`:`.${GLOBAL_ANIMATION_CLASS} .in-viewport-fired &&`;let u={};o&&(u=w(f(f({},sharedAnimationsCSS),omit_1(o,["name","settings"])),{animationName:e.animationName}),e.delay&&(u.animationDelay=`${e.delay}ms`)),i[`.${GLOBAL_ANIMATION_CLASS} &&`]={opacity:0},u.opacity=1,i[a]=u,i[s]={opacity:0},i[l]={opacity:1}},animationToCSS=(e,i)=>{createAnimationToCSS({})(e,i)},blockAnimationToCSS=(e,i)=>{createAnimationToCSS({},!0)(e,i)},hasGroupedBorderValues=e=>{if(!e)return!0;const i=Object.entries(e);if(i.length===0)return!0;if(i.length<4)return!1;const n=i.reduce((o,[,r])=>{if(!r)return o;const{color:a,width:s,style:l}=r;return{color:a?[...o.color,a]:o.color,width:s?[...o.width,s]:o.width,style:l?[...o.style,l]:o.style}},{color:[],width:[],style:[]});return Boolean((!n.color.length||[0,4].find(o=>o===n.color.length))&&uniq_1(n.color).length<=1&&(!n.width.length||[0,4].find(o=>o===n.width.length))&&uniq_1(n.width).length<=1&&(!n.style.length||[0,4].find(o=>o===n.style.length))&&uniq_1(n.style).length<=1)},BorderInferred=t.partial({top:t.partial({color:t.union([t.string,t.undefined]),width:t.string,style:t.literal("solid")}),right:t.partial({color:t.union([t.string,t.undefined]),width:t.string,style:t.literal("solid")}),bottom:t.partial({color:t.union([t.string,t.undefined]),width:t.string,style:t.literal("solid")}),left:t.partial({color:t.union([t.string,t.undefined]),width:t.string,style:t.literal("solid")})}),border=BorderInferred,setBorderValue=(e,i,n)=>{e.border?set_1(e.border,i,n):(e.border={},set_1(e.border,i,n))},createBorderToCSS=({cssSelector:e}={})=>(i,n,o=50)=>{var s;const r=i?Object.keys(i):[],a=(l,u)=>{e?set_1(n,[e,l],u):set_1(n,[l],u)};for(let l=0;l<r.length;l++){const u=r[l];if(!(i==null?void 0:i[u]))continue;o===50&&a(camelCase_1(`border-${u}-style`),"solid");const c=getKeys(i[u]);for(let d=0;d<c.length;d++){const m=String(c[d]),g=camelCase_1(`border-${u}-${m}`),E=(s=i==null?void 0:i[u])==null?void 0:s[c[d]];E&&(m==="color"||m==="style"?a(g,E):a(g,`${E}px`))}}},borderToCSS$1=createBorderToCSS(),getTextAlign=e=>{switch(e){case"left":return"start";case"center":return"center";case"right":return"end";case"justify":return"justify";default:return"inherit"}},getJustifyContent=e=>{switch(e){case"top":case"left":return"flex-start";case"middle":case"center":return"center";case"bottom":case"right":return"flex-end";default:return"inherit"}},getAlignContent=e=>{switch(e){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return"inherit"}},getDefaultWidthHandler=e=>{const i=e;return i==="vw"?"100%":`${i}px`},createBoxToCSS=({overrides:e,cssSelector:i}={})=>(n,o)=>{var s,l,u,c;if(!n)return;const r=(d,m)=>{i?set_1(o,[i,d],m):set_1(o,[d],m)},a=getKeys(n);for(let d=0;d<a.length;d++){const m=a[d];if(e==null?void 0:e[m]){const g=e[m],E=n==null?void 0:n[m];g(o,E,r)}else switch(m){case"corners":{const g=n.corners;if(!isObject_1(g))return;for(const E of getKeys(g))r(camelCase_1(`border-${E}-radius`),`${g[E]}px`);break}case"width":{const g=getDefaultWidthHandler(n.width);r("width",g);break}case"alignment":{const g=n.alignment,E=getTextAlign(g.horizontal),h=getJustifyContent(g.vertical);r("textAlign",E||"inherit"),r("justifyContent",h||"inherit");break}case"height":{const g=n.height;g==="vh"&&(delete o.display,r("minHeight","100vh"),r("maxHeight","100vh")),g==="fill"?(r("display","flex"),r("flex",1)):g==="no-fill"?(delete o.display,delete o.flex):(delete o.display,delete o.flex,r("height",`${g}px`));break}case"shadow":{const g=n.shadow;r("boxShadow",`${g.x}px ${g.y}px ${g.blur}px ${(l=(s=g.color)!=null?s:n.color)!=null?l:""}`);break}case"overflow":{const g=(u=n.overflow)==null?void 0:u.x,E=(c=n.overflow)==null?void 0:c.y;g&&r("overflow-x",g),E&&r("overflow-y",E);break}}}},boxToCSS$1=createBoxToCSS(),setBoxValue=(e,i,n)=>{e.box?set_1(e.box,i,n):(e.box={},set_1(e.box,i,n))},getIsFullHeight=({box:e})=>Boolean((e==null?void 0:e.height)&&e.height==="vh"),getIsFullWidth=({box:e})=>Boolean((e==null?void 0:e.width)&&e.width==="vw"),colorToCSS=(e,i)=>{!e||(i.color=e)},setColorValue=(e,i)=>set_1(e,"color",i),setColorHoveValue=(e,i)=>{e.color=i},color=t.string,systemFonts={25:{name:"Arial",value:"Arial, Helvetica, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},28:{name:"Courier New",value:"Courier New, Courier New, monospace",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},29:{name:"Georgia",value:"Georgia, Georgia, serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},31:{name:"Lucida Console",value:"Lucida Console, Monaco, monospace",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},32:{name:"Lucida Sans Unicode",value:"Lucida Sans Unicode, Lucida Grande, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},33:{name:"Palatino Linotype",value:"Palatino Linotype, Book Antiqua, Palatino, serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},34:{name:"Tahoma",value:"Tahoma, Geneva, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},35:{name:"Times New Roman",value:"Times New Roman, Times New Roman, Times, serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},36:{name:"Trebuchet MS",value:"Trebuchet MS, Trebuchet MS, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}},37:{name:"Verdana",value:"Verdana, Verdana, Geneva, sans-serif",weights:{400:{},600:{}},styles:{regular:{400:{name:"Regular"},600:{name:"Bold"}}}}},googleFonts={1:{name:"Open Sans",value:"Open Sans",weights:{300:{},400:{},600:{},700:{},800:{}},styles:{regular:{300:{name:"Light"},400:{name:"Normal"},600:{name:"Semi-Bold"},700:{name:"Bold"},800:{name:"Extra Bold"}},italic:{300:{name:"Light Italic"},400:{name:"Normal Italic"},600:{name:"Semi-Bold Italic"},700:{name:"Bold Italic"},800:{name:"Extra Bold Italic"}}}},2:{name:"Lato",value:"Lato",weights:{100:{},300:{},400:{},700:{},900:{}},styles:{regular:{100:{name:"Thin"},300:{name:"Light"},400:{name:"Normal"},700:{name:"Bold"},900:{name:"Black"}},italic:{100:{name:"Thin Italic"},300:{name:"Light Italic"},400:{name:"Normal Italic"},700:{name:"Bold Italic"},900:{name:"Black Italic"}}}},3:{name:"Josefin Slab",value:"Josefin Slab",weights:{100:{},300:{},400:{},600:{},700:{}},styles:{regular:{100:{name:"Thin"},300:{name:"Light"},400:{name:"Normal"},600:{name:"Semi-Bold"},700:{name:"Bold"}},italic:{100:{name:"Thin Italic"},300:{name:"Light Italic"},400:{name:"Normal Italic"},600:{name:"Semi-Bold Italic"},700:{name:"Bold Italic"}}}},4:{name:"Vollkorn",value:"Vollkorn",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"},700:{name:"Bold Italic"}}}},5:{name:"Abril Fatface",value:"Abril Fatface",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},6:{name:"Ubuntu",value:"Ubuntu",weights:{300:{},400:{},500:{},700:{}},styles:{regular:{300:{name:"Light"},400:{name:"Normal"},500:{name:"Medium"},700:{name:"Bold"}},italic:{300:{name:"Light Italic"},400:{name:"Normal Italic"},500:{name:"Medium Italic"},700:{name:"Bold Italic"}}}},7:{name:"Old Standard TT",value:"Old Standard TT",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"}}}},8:{name:"Droid Serif",value:"Droid Serif",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"},700:{name:"Bold Italic"}}}},9:{name:"Lobster",value:"Lobster",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},10:{name:"Exo",value:"Exo",weights:{100:{},200:{},300:{},400:{},500:{},600:{},700:{},800:{},900:{}},styles:{regular:{100:{name:"Thin"},200:{name:"Extra Light"},300:{name:"Light"},400:{name:"Normal"},500:{name:"Medium"},600:{name:"Semi-Bold"},700:{name:"Bold"},800:{name:"Extra Bold"},900:{name:"Black"}},italic:{100:{name:"Thin Italic"},200:{name:"Extra Light Italic"},300:{name:"Light Italic"},400:{name:"Normal Italic"},500:{name:"Medium Italic"},600:{name:"Semi-Bold Italic"},700:{name:"Bold Italic"},800:{name:"Extra Bold Italic"},900:{name:"Black Italic"}}}},11:{name:"Anton",value:"Anton",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},12:{name:"The Girl Next Door",value:"The Girl Next Door",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},13:{name:"Dosis",value:"Dosis",weights:{200:{},300:{},400:{},500:{},600:{},700:{},800:{}},styles:{regular:{200:{name:"Extra Light"},300:{name:"Light"},400:{name:"Normal"},500:{name:"Medium"},600:{name:"Semi-Bold"},700:{name:"Bold"},800:{name:"Extra Bold"}},italic:{}}},14:{name:"Crafty Girls",value:"Crafty Girls",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},15:{name:"Coming Soon",value:"Coming Soon",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},16:{name:"Dancing Script",value:"Dancing Script",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{}}},17:{name:"Questrial",value:"Questrial",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},19:{name:"Rock Salt",value:"Rock Salt",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},20:{name:"Amatic SC",value:"Amatic SC",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{}}},21:{name:"Nova Square",value:"Nova Square",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},22:{name:"Bevan",value:"Bevan",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},23:{name:"Fontdiner Swanky",value:"Fontdiner Swanky",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},24:{name:"Allerta Stencil",value:"Allerta Stencil",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},43:{name:"Raleway",value:"Raleway",weights:{100:{},200:{},300:{},400:{},500:{},600:{},700:{},800:{},900:{}},styles:{regular:{100:{name:"Thin"},200:{name:"Extra Light"},300:{name:"Light"},400:{name:"Normal"},500:{name:"Medium"},600:{name:"Semi-Bold"},700:{name:"Bold"},800:{name:"Extra Bold"},900:{name:"Black"}},italic:{100:{name:"Thin Italic"},200:{name:"Extra Light Italic"},300:{name:"Light Italic"},400:{name:"Normal Italic"},500:{name:"Medium Italic"},600:{name:"Semi-Bold Italic"},700:{name:"Bold Italic"},800:{name:"Extra Bold Italic"},900:{name:"Black Italic"}}}},44:{name:"Montserrat",value:"Montserrat",weights:{100:{},200:{},300:{},400:{},500:{},600:{},700:{},800:{},900:{}},styles:{regular:{100:{name:"Thin"},200:{name:"Extra Light"},300:{name:"Light"},400:{name:"Normal"},500:{name:"Medium"},600:{name:"Semi-Bold"},700:{name:"Bold"},800:{name:"Extra Bold"},900:{name:"Black"}},italic:{100:{name:"Thin Italic"},200:{name:"Extra Light Italic"},300:{name:"Light Italic"},400:{name:"Normal Italic"},500:{name:"Medium Italic"},600:{name:"Semi-Bold Italic"},700:{name:"Bold Italic"},800:{name:"Extra Bold Italic"},900:{name:"Black Italic"}}}},46:{name:"Varela Round",value:"Varela Round",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},47:{name:"EB Garamond",value:"EB Garamond",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},48:{name:"Yellowtail",value:"Yellowtail",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},49:{name:"Nixie One",value:"Nixie One",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},51:{name:"Roboto",value:"Roboto",weights:{100:{},300:{},400:{},500:{},700:{},900:{}},styles:{regular:{100:{name:"Thin"},300:{name:"Light"},400:{name:"Normal"},500:{name:"Medium"},700:{name:"Bold"},900:{name:"Black"}},italic:{100:{name:"Thin Italic"},300:{name:"Light Italic"},400:{name:"Normal Italic"},500:{name:"Medium Italic"},700:{name:"Bold Italic"},900:{name:"Black Italic"}}}},53:{name:"Averia Sans Libre",value:"Averia Sans Libre",weights:{300:{},400:{},700:{}},styles:{regular:{300:{name:"Light"},400:{name:"Normal"},700:{name:"Bold"}},italic:{300:{name:"Light Italic"},400:{name:"Normal Italic"},700:{name:"Bold Italic"}}}},54:{name:"Ruda",value:"Ruda",weights:{400:{},700:{},900:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"},900:{name:"Black"}},italic:{}}},55:{name:"Sintony",value:"Sintony",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{}}},56:{name:"Domine",value:"Domine",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{}}},57:{name:"Lora",value:"Lora",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"},700:{name:"Bold Italic"}}}},60:{name:"Indie Flower",value:"Indie Flower",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},62:{name:"Permanent Marker",value:"Permanent Marker",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},63:{name:"Gloria Hallelujah",value:"Gloria Hallelujah",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},65:{name:"Merriweather",value:"Merriweather",weights:{300:{},400:{},700:{},900:{}},styles:{regular:{300:{name:"Light"},400:{name:"Normal"},700:{name:"Bold"},900:{name:"Black"}},italic:{300:{name:"Light Italic"},400:{name:"Normal Italic"},700:{name:"Bold Italic"},900:{name:"Black Italic"}}}},66:{name:"Merriweather Sans",value:"Merriweather Sans",weights:{300:{},400:{},700:{},800:{}},styles:{regular:{300:{name:"Light"},400:{name:"Normal"},700:{name:"Bold"},800:{name:"Extra Bold"}},italic:{300:{name:"Light Italic"},400:{name:"Normal Italic"},700:{name:"Bold Italic"},800:{name:"Extra Bold Italic"}}}},161:{name:"Open Sans Condensed",value:"Open Sans Condensed",weights:{300:{},700:{}},styles:{regular:{300:{name:"Light"},700:{name:"Bold"}},italic:{300:{name:"Light Italic"}}}},601:{name:"Ropa Sans",value:"Ropa Sans",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{400:{name:"Normal Italic"}}}},698:{name:"Source Sans Pro",value:"Source Sans Pro",weights:{200:{},300:{},400:{},600:{},700:{},900:{}},styles:{regular:{200:{name:"Extra Light"},300:{name:"Light"},400:{name:"Normal"},600:{name:"Semi-Bold"},700:{name:"Bold"},900:{name:"Black"}},italic:{200:{name:"Extra Light Italic"},300:{name:"Light Italic"},400:{name:"Normal Italic"},600:{name:"Semi-Bold Italic"},700:{name:"Bold Italic"},900:{name:"Black Italic"}}}},827:{name:"Oswald",value:"Oswald",weights:{200:{},300:{},400:{},500:{},600:{},700:{}},styles:{regular:{200:{name:"Extra Light"},300:{name:"Light"},400:{name:"Normal"},500:{name:"Medium"},600:{name:"Semi-Bold"},700:{name:"Bold"}},italic:{}}},857:{name:"Signika",value:"Signika",weights:{300:{},400:{},600:{},700:{}},styles:{regular:{300:{name:"Light"},400:{name:"Normal"},600:{name:"Semi-Bold"},700:{name:"Bold"}},italic:{}}},1878:{name:"Gudea",value:"Gudea",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"}}}},2494:{name:"Seaweed Script",value:"Seaweed Script",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},2773:{name:"Patua One",value:"Patua One",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},3227:{name:"Noto Sans",value:"Noto Sans",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"},700:{name:"Bold Italic"}}}},3951:{name:"Roboto Slab",value:"Roboto Slab",weights:{100:{},300:{},400:{},700:{}},styles:{regular:{100:{name:"Thin"},300:{name:"Light"},400:{name:"Normal"},700:{name:"Bold"}},italic:{}}},3952:{name:"PT Serif",value:"PT Serif",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"},700:{name:"Bold Italic"}}}},3953:{name:"Playfair Display",value:"Playfair Display",weights:{400:{},700:{},900:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"},900:{name:"Black"}},italic:{400:{name:"Normal Italic"},700:{name:"Bold Italic"},900:{name:"Black Italic"}}}},3954:{name:"Bitter",value:"Bitter",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"}}}},3955:{name:"Libre Baskerville",value:"Libre Baskerville",weights:{400:{},700:{}},styles:{regular:{400:{name:"Normal"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"}}}},3956:{name:"Crimson Text",value:"Crimson Text",weights:{400:{},600:{},700:{}},styles:{regular:{400:{name:"Normal"},600:{name:"Semi-Bold"},700:{name:"Bold"}},italic:{400:{name:"Normal Italic"},600:{name:"Semi-Bold Italic"},700:{name:"Bold Italic"}}}},3957:{name:"Source Serif Pro",value:"Source Serif Pro",weights:{400:{},600:{},700:{}},styles:{regular:{400:{name:"Normal"},600:{name:"Semi-Bold"},700:{name:"Bold"}},italic:{}}},3958:{name:"Bree Serif",value:"Bree Serif",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{}}},3959:{name:"Sorts Mill Goudy",value:"Sorts Mill Goudy",weights:{400:{}},styles:{regular:{400:{name:"Normal"}},italic:{400:{name:"Normal Italic"}}}}},systemFontsByNames=new Set(Object.values(systemFonts).map(({value:e})=>e)),removeExtraQuotes=e=>(e.charAt(0)==="'"&&e.charAt(e.length-1)==="'"&&(e=e.slice(1,-1)),e),temporaryAddWoffExtensionToSavedFontFamilyInContent=(e,i)=>{e.family&&!systemFontsByNames.has(e.family)&&!e.family.includes(".woff")?i.fontFamily=`'${removeExtraQuotes(e.family)}.woff'`:e.family&&systemFontsByNames.has(e.family)&&(i.fontFamily=e.family)},fontToCSS=(e,i,n=!1)=>(o,r)=>{if(!!o){if(temporaryAddWoffExtensionToSavedFontFamilyInContent(o,r),o.assetRef&&o.assetRef.includes("foleon")&&e&&e[AssetsCategories.fonts][o.assetRef]&&(r.fontFamily=`'${e[AssetsCategories.fonts][o.assetRef].name}'`,i&&i({assetRef:o.assetRef,weight:o.weight,style:o.style})),o.assetRef&&o.assetRef.includes("google")&&(r.fontFamily=`'${o.assetRef.split("?family=")[1].replace(/\+/g," ")}'`,i&&i({assetRef:o.assetRef,weight:o.weight,style:o.style})),o.size)if(typeof o.size=="object"){const{value:a,unit:s}=o.size;r.fontSize=`${a}${s}`}else r.fontSize=o.size;isNil_1(o.weight)||(r.fontWeight=String(o.weight)),isNil_1(o.style)||(r.fontStyle=o.style),isNil_1(o.textDecoration)||(r.textDecoration=o.textDecoration),isNil_1(o.weight)||(r.fontWeight=String(o.weight)),o.lineHeight&&(r.lineHeight=`${o.lineHeight.value}${o.lineHeight.unit}`),o.letterSpacing&&(r.letterSpacing=`${o.letterSpacing.value}${o.letterSpacing.unit}`),n&&o.assetRef&&(r.assetRef=o.assetRef),o.alignment&&(r.textAlign=getTextAlign(o.alignment))}},setFontValue=e=>(i,n)=>{if(typeof n=="undefined"){unset_1(i,["font",e]);return}set_1(i,["font",e],n)},FontInferred=t.partial({assetRef:t.union([t.string,t.undefined]),family:t.string,size:t.union([t.string,t.type({value:t.string,unit:t.literal("rem")}),t.undefined]),style:t.union([t.literal("italic"),t.literal("normal"),t.undefined]),textDecoration:t.union([t.string,t.undefined]),alignment:t.union([t.literal("start"),t.literal("center"),t.literal("end"),t.literal("justify"),t.literal("left"),t.literal("right")]),weight:t.union([t.number,t.undefined]),lineHeight:t.union([t.type({value:t.string,unit:t.literal("em")}),t.undefined]),letterSpacing:t.union([t.type({value:t.string,unit:t.literal("em")}),t.undefined])}),font=FontInferred,createMarginToCSS=({cssSelector:e})=>(i,n)=>{const o=getKeys(i),r=(a,s)=>{e?set_1(n,[e,a],s):set_1(n,[a],s)};for(let a=0;a<o.length;a++){const s=o[a];if(!(i==null?void 0:i[s]))return;r(camelCase_1(`margin-${s}`),`${i[s].value}${i[s].unit||"px"}`)}},marginToCSS$1=createMarginToCSS({}),setMarginValue=(e,i,n)=>{e.margin?set_1(e.margin,i,n):(e.margin={},set_1(e.margin,i,n))},marginUnit=t.union([t.literal("px"),t.literal("vh"),t.literal("vw"),t.literal("em"),t.literal("rem"),t.literal("%")]),MarginInferred=t.partial({top:t.type({value:t.string,unit:marginUnit}),right:t.type({value:t.string,unit:marginUnit}),bottom:t.type({value:t.string,unit:marginUnit}),left:t.type({value:t.string,unit:marginUnit})}),margin=MarginInferred,marginSides=["top","right","bottom","left"],hasGroupedMarginValues=e=>{if(!e)return!0;const i=Object.values(e);return i.length<4?!1:uniq_1(i).length<=1},createPaddingToCSS=({cssSelector:e})=>(i,n)=>{const o=getKeys(i),r=(a,s)=>{e?set_1(n,[e,a],s):set_1(n,[a],s)};for(let a=0;a<o.length;a++){const s=o[a];if(!(i==null?void 0:i[s]))return;r(camelCase_1(`padding-${s}`),`${i[s].value}${i[s].unit||"px"}`)}},paddingToCSS=createPaddingToCSS({}),setPaddingValue=(e,i,n)=>{e.padding?set_1(e.padding,i,n):(e.padding={},set_1(e.padding,i,n))},paddingUnit=t.union([t.literal("px"),t.literal("vh"),t.literal("vw"),t.literal("em"),t.literal("rem")]),PaddingInferred=t.partial({top:t.type({value:t.string,unit:paddingUnit}),right:t.type({value:t.string,unit:paddingUnit}),bottom:t.type({value:t.string,unit:paddingUnit}),left:t.type({value:t.string,unit:paddingUnit})}),padding=PaddingInferred,paddingSides=["top","right","bottom","left"],hasGroupedPaddingValues=e=>{if(!e)return!0;const i=Object.keys(e);if(i.length===0)return!0;const n=i.map(o=>{var r;return(r=e[o])==null?void 0:r.value});return n.length<4?!1:uniq_1(n).length<=1},identity$w="states",getStates=e=>t.partial({active:t.partial(f({},e)),focus:t.partial(f({},e)),hover:t.partial(f({},e))}),StatesInferred=getStates({}),states=StatesInferred,States$1={identity:identity$w,type:states};function setStateStyleValue(e,i,n){e.states||(e.states={}),set_1(e,["states",...i],n)}const visibilityToCSS=(e,i)=>{switch(e){case"visible":i.visibility=e;break;case"hidden":i.visibility=e;break;case"none":i.display=`${e} !important`;break;case null:break;default:console.info(`unhandled attribute value ${e} for CSS transformer visibilityToCSS`)}},visibilityToCSSByEntity=(e,i,n,o)=>{switch(e){case"visible":if((o==null?void 0:o.identity)==="button"){visibilityToCSS(e,i),i.display="inline-block !important";break}if((o==null?void 0:o.identity)==="text"){visibilityToCSS(e,i),i.display="block !important";break}if((o==null?void 0:o.identity)==="divider"){visibilityToCSS(e,i),i.display="flex !important";break}n<Screensizes.xl&&(visibilityToCSS(e,i),i.display="inherit !important");break;case"hidden":if((o==null?void 0:o.identity)==="block"){visibilityToCSS(e,i),i.display="none !important";break}break;default:visibilityToCSS(e,i);break}},setVisibilityValue=(e,i)=>set_1(e,"visibility",i),isNotDisplayed=({visibility:e})=>e==="hidden"||e==="none",isExplicitlyDisplayed=({visibility:e})=>e==="visible",isDisplayed=({visibility:e})=>!e||e==="visible",buttonStyles=createStyles(t.partial({animation,background,border,box,color,font,margin,padding,visibility,states:getStates({background,border,box,color,font})})),buttonBaseStyles={50:{background:{color:"rgba(64,64,64,1)"},border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"2",bottomRight:"2",topLeft:"2",topRight:"2"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},color:"rgba(255, 255, 255, 1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1",unit:"em"},letterSpacing:{value:"0.05",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}},padding:{top:{unit:"px",value:"12"},bottom:{unit:"px",value:"12"},left:{unit:"px",value:"20"},right:{unit:"px",value:"20"}},visibility:"visible",states:{hover:{}}},40:{},30:{visibility:"visible",states:{hover:{}}},20:{visibility:"visible",states:{hover:{}}}},secondaryButtonBaseStyles={50:{background:{color:"rgba(255,255,255,1)"},border:{bottom:{color:"rgba(167,174,187,1)",style:"solid",width:"1"},left:{color:"rgba(167,174,187,1)",style:"solid",width:"1"},right:{color:"rgba(167,174,187,1)",style:"solid",width:"1"},top:{color:"rgba(167,174,187,1)",style:"solid",width:"1"}},box:{corners:{bottomLeft:"50",bottomRight:"50",topLeft:"50",topRight:"50"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1",unit:"em"},letterSpacing:{value:"0.05",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}},padding:{top:{unit:"px",value:"12"},bottom:{unit:"px",value:"12"},left:{unit:"px",value:"20"},right:{unit:"px",value:"20"}},visibility:"visible",states:{hover:{}}},40:{},30:{visibility:"visible",states:{hover:{}}},20:{visibility:"visible",states:{hover:{}}}},EntityInferred$F=new Entity(identity$K,{id:t.UUID,identity:t.literal(identity$K),parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$E),t.literal(identity$A),t.literal(identity$z),t.literal(identity$B)])}),styleMap:t.union([t.map(t.string,t.map(t.string,t.string)),t.null]),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$G)}),t.type({id:t.UUID,identity:t.literal(identity$y)}),t.type({id:t.UUID,identity:t.literal(identity$x)})])),styles:buttonStyles,options:t.union([t.null,t.partial({type:t.union([t.literal("primary"),t.literal("secondary")])})])},{id:void 0,parent:void 0,identity:identity$K,styleMap:null,refs:[],options:null}),entity$F=EntityInferred$F,Button$1={entity:entity$F,identity:identity$K,styles:buttonStyles},identity$v="overlay",identity$u="page",identity$t="row",identity$s="template",OrderInferred=t.partial({order:t.number}),order=OrderInferred,blockStyles=createStyles(t.partial({animation,background,border,box,order,padding,visibility,states:getStates({border}),childStyles:t.partial({column:t.partial({padding})})})),blockBaseStyles={50:{animation:{delay:300},border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},padding:{bottom:{unit:"px",value:"0"},left:{unit:"px",value:"0"},right:{unit:"px",value:"0"},top:{unit:"px",value:"0"}},visibility:"visible"},40:{},30:{},20:{}},EntityInferred$E=new Entity("block",{id:t.UUID,identity:t.literal(identity$F),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$u)}),t.type({id:t.UUID,identity:t.literal(identity$v)}),t.type({id:t.UUID,identity:t.literal(identity$s)}),t.type({id:t.UUID,identity:t.literal(identity$B)})]),customIdentifier:t.union([t.string,t.null]),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$t)}),t.type({id:t.UUID,identity:t.literal(identity$C)}),t.type({id:t.UUID,identity:t.literal(identity$J)})])),triggerContentAnimationOnce:t.boolean,styles:blockStyles},{id:void 0,identity:identity$F,customIdentifier:null,parent:null,refs:[],triggerContentAnimationOnce:!1}),entity$E=EntityInferred$E,Block={entity:entity$E,identity:identity$F,styles:blockStyles},identity$r="divider",identity$q="embed",identity$p="infographic-counter-circle",identity$o="infographic-counter-line",identity$n="infographic-counter-number",identity$m="social",identity$l="table",EntityInferred$D=new Entity(identity$B,{id:t.UUID,identity:t.literal(identity$B),parent:t.null,refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$F)}),t.type({id:t.UUID,identity:t.literal(identity$J)}),t.type({id:t.UUID,identity:t.literal(identity$E)}),t.type({id:t.UUID,identity:t.literal(identity$r)}),t.type({id:t.UUID,identity:t.literal(identity$K)}),t.type({id:t.UUID,identity:t.literal(identity$I)}),t.type({id:t.UUID,identity:t.literal(identity$H)}),t.type({id:t.UUID,identity:t.literal(identity$D)}),t.type({id:t.UUID,identity:t.literal(identity$q)}),t.type({id:t.UUID,identity:t.literal(identity$m)}),t.type({id:t.UUID,identity:t.literal(identity$n)}),t.type({id:t.UUID,identity:t.literal(identity$o)}),t.type({id:t.UUID,identity:t.literal(identity$p)}),t.type({id:t.UUID,identity:t.literal(identity$p)}),t.type({id:t.UUID,identity:t.literal(identity$l)})]))},{id:void 0,identity:identity$B,parent:null,refs:[]}),entity$D=EntityInferred$D,Clipboard={entity:entity$D,identity:identity$B},identity$k="page-scroll",EntityInferred$C=new Entity("template",{id:t.UUID,identity:t.literal(identity$s),parent:t.null,refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$F)}),t.type({id:t.UUID,identity:t.literal(identity$k)}),t.type({id:t.UUID,identity:t.literal(identity$v)})])),styles:t.union([t.undefined,createStyles(t.partial({background}))])},{id:void 0,identity:identity$s,parent:null,refs:[]}),entity$C=EntityInferred$C,Template={entity:entity$C,identity:identity$s},identity$j="column-scroll",identity$i="map-form-eloqua",identity$h="map-form-hubspot",identity$g="map-form-marketo",identity$f="map-form-sfp",setGridValue=(e,i,n)=>{e.grid?set_1(e.grid,i,n):(e.grid={},set_1(e.grid,i,n))},GridInferred=t.partial({column:t.string,gutter:t.string}),grid=GridInferred,setOrderValue=(e,i)=>set_1(e,"order",i),columnStyles=createStyles(t.partial({animation,background,border,box,grid,order,padding,visibility,states:getStates({border})})),columnBaseStyles={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{alignment:{horizontal:"left",vertical:"top"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},grid:{column:"1"},padding:{bottom:{unit:"px",value:"25"},left:{unit:"px",value:"25"},right:{unit:"px",value:"25"},top:{unit:"px",value:"25"}},visibility:"visible"},40:{},30:{padding:{bottom:{unit:"px",value:"50"},left:{unit:"vw",value:"6.5"},right:{unit:"vw",value:"6.5"},top:{unit:"px",value:"50"}}},20:{padding:{bottom:{unit:"px",value:"25"},left:{unit:"vw",value:"6.667"},right:{unit:"vw",value:"6.667"},top:{unit:"px",value:"25"}}}},EntityInferred$B=new Entity("column",{id:t.UUID,identity:t.literal(identity$E),value:t.string,parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$t),t.literal(identity$B)])}),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$C)}),t.type({id:t.UUID,identity:t.literal(identity$r)}),t.type({id:t.UUID,identity:t.literal(identity$K)}),t.type({id:t.UUID,identity:t.literal(identity$I)}),t.type({id:t.UUID,identity:t.literal(identity$j)}),t.type({id:t.UUID,identity:t.literal(identity$H)}),t.type({id:t.UUID,identity:t.literal(identity$D)}),t.type({id:t.UUID,identity:t.literal(identity$q)}),t.type({id:t.UUID,identity:t.literal(identity$m)}),t.type({id:t.UUID,identity:t.literal(identity$A)}),t.type({id:t.UUID,identity:t.literal(identity$z)}),t.type({id:t.UUID,identity:t.literal(identity$n)}),t.type({id:t.UUID,identity:t.literal(identity$o)}),t.type({id:t.UUID,identity:t.literal(identity$p)}),t.type({id:t.UUID,identity:t.literal(identity$i)}),t.type({id:t.UUID,identity:t.literal(identity$h)}),t.type({id:t.UUID,identity:t.literal(identity$g)}),t.type({id:t.UUID,identity:t.literal(identity$f)}),t.type({id:t.UUID,identity:t.literal(identity$l)})])),styles:columnStyles},{id:void 0,identity:identity$E,value:"",parent:void 0,refs:[]}),entity$B=EntityInferred$B,Column={entity:entity$B,identity:identity$E},columnScrollStyles=createStyles(t.partial({background,box,color,visibility})),columnScrollBaseStyles={50:{background:{color:"rgba(125, 125, 125, 0.5)"},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"}},color:"rgba(255, 255, 255, 1)",visibility:"visible"},40:{},30:{},20:{}},EntityInferred$A=new Entity(identity$j,{id:t.UUID,identity:t.literal(identity$j),value:t.string,parent:t.type({id:t.UUID,identity:t.literal(identity$E)}),styles:columnScrollStyles},{id:void 0,identity:identity$j,value:"",parent:void 0}),entity$A=EntityInferred$A,ColumnScroll={entity:entity$A,identity:identity$j},rowStyles=createStyles(t.partial({grid,order})),rowBaseStyles={50:{grid:{gutter:"24"}},40:{},30:{},20:{}},EntityInferred$z=new Entity("row",{id:t.UUID,identity:t.literal(identity$t),value:t.string,parent:t.type({id:t.UUID,identity:t.literal(identity$F)}),refs:t.array(t.type({id:t.UUID,identity:t.literal(identity$E)})),styles:rowStyles},{id:void 0,identity:identity$t,value:"",parent:void 0,refs:[]}),entity$z=EntityInferred$z,Row={entity:entity$z,identity:identity$t},dividerStyles=createStyles(t.partial({animation,background,box,margin,visibility})),dividerBaseStyles={50:{background:{color:"rgba(252,82,29,1)"},box:{height:"2",shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"},width:"vw"},margin:{bottom:{unit:"px",value:"16"},top:{unit:"px",value:"0"}}},40:{},30:{},20:{}},EntityInferred$y=new Entity(identity$r,{id:t.UUID,parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$E)}),t.type({id:t.UUID,identity:t.literal(identity$A)}),t.type({id:t.UUID,identity:t.literal(identity$z)}),t.type({id:t.UUID,identity:t.literal(identity$B)})]),identity:t.literal(identity$r),styles:dividerStyles},{id:void 0,identity:identity$r,parent:void 0}),entity$y=EntityInferred$y,Divider={entity:entity$y,identity:identity$r},CoordinatesInferred=t.partial({x:t.number,y:t.number}),coordinates=CoordinatesInferred,setCoordinatesValue=(e,i,n)=>{e.coordinates?set_1(e.coordinates,i,n):(e.coordinates={},set_1(e.coordinates,i,n))},setIconValue=(e,i,n)=>{e.icon?set_1(e.icon,i,n):(e.icon={},set_1(e.icon,i,n))},IconInferred=t.partial({custom:t.boolean,identifier:t.string,size:t.string}),icon=IconInferred,hotspotStyles=createStyles(t.partial({background,border,box,color,coordinates,icon,states:getStates({background,border,box,color,icon}),visibility})),hotspotBaseStyles={50:{background:{color:"rgba(252, 82, 29, 1)"},border:{bottom:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},left:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},right:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},top:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"25",bottomRight:"25",topLeft:"25",topRight:"25"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},color:"rgba(255, 255, 255, 1)",states:{hover:{}},visibility:"visible"},40:{},30:{states:{hover:{}}},20:{states:{hover:{}}}},EntityInferred$x=new Entity(identity$J,{id:t.UUID,identity:t.literal(identity$J),parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$F),t.literal(identity$B)])}),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$I)}),t.type({id:t.UUID,identity:t.literal(identity$G)})])),value:t.string,options:t.union([t.null,t.partial({mouseover:t.partial({text:t.string,position:t.union([t.literal("top"),t.literal("right"),t.literal("bottom"),t.literal("left")])}),type:t.union([t.literal("default"),t.literal("target"),t.literal("marker"),t.literal("custom")])})]),styles:hotspotStyles},{id:void 0,parent:void 0,identity:identity$J,refs:[],value:"",options:{mouseover:{text:"",position:"bottom"},type:"default"}}),entity$x=EntityInferred$x,Hotspot={entity:entity$x,identity:identity$J},imageStyles=createStyles(t.partial({animation,background,border,box,margin,visibility})),imageBaseStyles={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{bottom:{unit:"px",value:"16"}},visibility:"visible"},40:{},30:{},20:{}},EntityInferred$w=new Entity(identity$I,{id:t.UUID,identity:t.literal(identity$I),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$C)}),t.type({id:t.UUID,identity:t.literal(identity$E)}),t.type({id:t.UUID,identity:t.literal(identity$J)}),t.type({id:t.UUID,identity:t.literal(identity$k)}),t.type({id:t.UUID,identity:t.literal(identity$B)})]),provider:t.union([t.literal("foleon"),t.literal("unsplash"),t.literal("bynder"),t.null]),refs:t.array(t.type({id:t.UUID,identity:t.literal(identity$G)})),assetRef:t.union([t.string,t.null]),url:t.union([t.string,t.null]),alt:t.union([t.string,t.null]),thumbnail:t.union([t.string,t.null]),properties:t.union([t.partial({width:t.union([t.number,t.string,t.null]),height:t.union([t.number,t.string,t.null])}),t.null]),styles:imageStyles},{id:void 0,identity:identity$I,refs:[],parent:void 0,assetRef:null,url:null,alt:null,thumbnail:null,provider:null,properties:null});t.type({id:t.UUID,identity:t.literal(identity$I),type:t.string});const entity$w=EntityInferred$w,Image$1={entity:entity$w,identity:identity$I},videoStyles=createStyles(t.partial({animation,background,border,box,margin,padding,visibility})),videoBaseStyles={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{bottom:{unit:"px",value:"16"}},padding:{bottom:{value:"0",unit:"px"}},visibility:"visible"},40:{},30:{},20:{}},EntityInferred$v=new Entity(identity$D,{id:t.UUID,identity:t.literal(identity$D),provider:t.union([t.literal("custom"),t.literal("youtube"),t.literal("vimeo"),t.null]),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$C)}),t.type({id:t.UUID,identity:t.literal(identity$E)}),t.type({id:t.UUID,identity:t.literal(identity$B)}),t.null]),assetRef:t.union([t.string,t.null]),styles:videoStyles},{id:void 0,identity:identity$D,provider:null,parent:null,assetRef:null}),entity$v=EntityInferred$v,Video={entity:entity$v,identity:identity$D},identity$e="trigger",identity$d="container",ContainerInferred=t.partial({backgroundColor:t.string,color:t.string}),container=ContainerInferred,Container$5={identity:identity$d,type:container},overlayStyles=createStyles(t.partial({background,border,box,container,margin,visibility})),overlayBaseStyles={50:{margin:{top:{value:"10",unit:"%"},right:{value:"10",unit:"%"},bottom:{value:"10",unit:"%"},left:{value:"10",unit:"%"}},background:{color:"rgba(255, 255, 255, 1)"},border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},container:{color:"rgba(255, 255, 255, 1)"}},40:{},30:{},20:{margin:{top:{value:"0",unit:"%"},right:{value:"0",unit:"%"},bottom:{value:"0",unit:"%"},left:{value:"0",unit:"%"}}}},EntityInferred$u=new Entity(identity$v,{id:t.UUID,parent:t.union([t.null,t.type({id:t.UUID,identity:t.literal(identity$e)}),t.type({id:t.UUID,identity:t.literal(identity$s)})]),identity:t.literal(identity$v),refs:t.array(t.type({id:t.UUID,identity:t.literal(identity$F)})),styles:overlayStyles,options:t.union([t.null,t.partial({isLeadGen:t.boolean})])},{id:void 0,parent:null,identity:identity$v,refs:[],options:null}),entity$u=EntityInferred$u,Overlay$1={entity:entity$u,identity:identity$v},isCSSGradient=e=>typeof e=="string"?e.includes("gradient"):!1,MIN_RESOLUTION=400,MAX_RESOLUTION=4e3,DEFAULT_DPR=1,getFixedWidth=e=>e<mapMaxWidth[ScreensizesEnum.sm]?800:e<mapMaxWidth[ScreensizesEnum.md]?1100:e<mapMaxWidth[ScreensizesEnum.lg]?1300:MAX_RESOLUTION,checkWebPSupport=()=>{if(typeof document!="undefined"){const e=document==null?void 0:document.createElement("canvas");return(e==null?void 0:e.getContext)&&(e==null?void 0:e.getContext("2d"))?e.toDataURL("image/webp").indexOf("data:image/webp")==0:!1}},isWebPSupported=checkWebPSupport(),getOptimizedUrl=(e,i)=>{try{const n=new URL(e),o=new URLSearchParams(n.search);return n.hostname.includes("foleon")?(isWebPSupported&&o.set("ext","webp"),i&&o.set("width",`${i}`)):n.hostname.includes("unsplash")&&(isWebPSupported&&o.set("fm","webp"),i&&o.set("w",`${i}`)),n.search=`?${o.toString()}`,n.toString()}catch{return e}},optimizeImage=({dprControl:e=!1,imageUrl:i,imageWidth:n,maxWidth:o,resize:r=!0})=>{if(/\.(gif|svg)$/.test(i))return i;const a=typeof window!="undefined"?window.outerWidth:MIN_RESOLUTION;let s=n||(r?getFixedWidth(a):MAX_RESOLUTION);if(e){const c=typeof window!="undefined"?window.devicePixelRatio:DEFAULT_DPR;s=s*c}const l=Math.min(o?Math.min(s,o):s,MAX_RESOLUTION);return getOptimizedUrl(i,o&&o===l?void 0:l)},getBackgroundImageCSSValue=(e,i)=>isCSSGradient(e)?`${e}, url(${i})`:`linear-gradient(${e}, ${e}), url(${i})`,getCSSPropPath=(e,i)=>e===Screensizes.xl?[i]:[mapStyleSizeToMediaQueries[e],i],backgroundPositionToCSS=(e,i,n)=>{if(!e)return;const o=getCSSPropPath(i,"backgroundPosition");isObject_1(e)?set_1(n,o,`${e.x||0}% ${e.y||0}%`):set_1(n,o,e)},backgroundVisibilityToCSS=(e,i,n,o)=>{set_1(o,getCSSPropPath(n,"backgroundRepeat"),"no-repeat"),set_1(o,getCSSPropPath(n,"backgroundSize"),"cover"),i?set_1(o,getCSSPropPath(n,"backgroundImage"),getBackgroundImageCSSValue(i,e)):set_1(o,getCSSPropPath(n,"backgroundImage"),`url(${e})`)},createBackgroundToInlineCSS=(e,i)=>{const n={};return e.forEach(({imageEntity:o},r)=>{var a,s,l;if(o){const u=i(o);e[r].imageAssetUrl=optimizeImage({dprControl:!0,imageUrl:(a=u==null?void 0:u.url)!=null?a:"",maxWidth:Number(((s=o==null?void 0:o.properties)==null?void 0:s.width)||((l=u==null?void 0:u.properties)==null?void 0:l.width))})}}),orderedStyleSizes.forEach(o=>{const r=mapStyleSizeToMediaQueries[o];r&&(n[r]={})}),e.forEach(({imageAssetUrl:o,imageEntity:r,mergedThemeStyles:a})=>{orderedStyleSizes.forEach(s=>{var d,m,g;const l=a[s];if(!l||l.visibility==="hidden"||l.visibility==="none")return;s===Screensizes.xl&&l.visibility===void 0&&(l.visibility="visible");const u=getKeys(l),c=(g=(m=(d=r==null?void 0:r.styles[s])==null?void 0:d.background)==null?void 0:m.color)!=null?g:"";u.forEach(E=>{var h;E==="background"&&((h=l.background)==null?void 0:h.position)?backgroundPositionToCSS(l.background.position,s,n):E==="visibility"&&o&&backgroundVisibilityToCSS(o,c,s,n)})})}),n},createBackgroundToCSS=({overrides:e,cssSelector:i})=>(n,o)=>{const r=getKeys(n),a=(s,l)=>{i?set_1(o,[i,s],l):set_1(o,[s],l)};for(let s=0;s<r.length;s++){const l=r[s];if(e==null?void 0:e[l]){const u=e[l],c=n==null?void 0:n[l];u==null||u(o,c,a,n)}else switch(l){case"color":{const u=n.color;a("background",u||"transparent");break}case"position":{const u=n.position;isObject_1(u)?a("backgroundPosition",`${(u==null?void 0:u.x)||0}% ${(u==null?void 0:u.y)||0}%`):a("backgroundPosition",u);break}case"image":{const u=n.image;u&&a("backgroundImage",u);break}}}},backgroundToCSS$1=createBackgroundToCSS({}),createBorderSpacingToCSS=({cssSelector:e})=>(i,n)=>{((r,a)=>{e?set_1(n,[e,r],a):set_1(n,[r],a)})("borderSpacing",`${i.value}${i.unit||"px"}`)},borderSpacingToCSS=createBorderSpacingToCSS({}),defaultStyleToCSSTransformers={animation:animationToCSS,background:backgroundToCSS$1,border:borderToCSS$1,borderSpacing:borderSpacingToCSS,box:boxToCSS$1,color:colorToCSS,font:fontToCSS(),margin:marginToCSS$1,padding:paddingToCSS,visibility:visibilityToCSS},stylesToCSSTransformer=(e,i)=>{const{isPrint:n}=getRenderingConfig();let o;n?o=[highestStyleSize]:o=getKeys(e).map(a=>Number(a)).sort((a,s)=>s-a);function r(a,s){var g;const l=e[s],u=Object.keys(l),c=mapStyleSizeToMediaQueries[s];if(!u.length)return a;const d=u.reduce((E,h)=>{if(i&&h&&i[h]!=null){const v=i[h];return v==null||v(l[h],E,s),E}const I=defaultStyleToCSSTransformers[h];return I==null||I(l[h],E),E},{}),m=Object.keys(((g=l.states)==null?void 0:g.hover)||{}).reduce((E,h)=>{var v,S;if(i&&h&&i[h]!=null){const T=i[h];return T==null||T((v=l.states)==null?void 0:v.hover[h],E),E}const I=defaultStyleToCSSTransformers[h];return I==null||I((S=l.states)==null?void 0:S.hover[h],E),E},{});return c===null?f(f(f({},a),d),isEmpty_1(m)?{}:{"&:hover":m}):w(f({},a),{[c]:f(f(f({},a[c]),d),isEmpty_1(m)?{}:{"&:hover":m})})}return o.reduce(r,{})},embedStyles=createStyles(t.partial({border,box,margin,visibility})),embedBaseStyles={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{height:"550"},margin:{bottom:{unit:"px",value:"16"}}},40:{},30:{},20:{}},formLabelStyles=createStyles(t.partial({color,font,margin})),formLabelBaseStyles={50:{margin:{top:{unit:"px",value:"0"},right:{unit:"px",value:"0"},bottom:{unit:"px",value:"0"},left:{unit:"px",value:"0"}}},40:{},30:{},20:{}},formListCheckboxStyles=createStyles(t.partial({margin,color})),formListCheckboxBaseStyles={50:{margin:{bottom:{unit:"em",value:"1.25"}}},40:{},30:{},20:{}},formListDropdownStyles=createStyles(t.partial({background,border,box,color,margin})),formListDropdownBaseStyles={50:{background:{color:"rgba(255, 255, 255, 1)"},border:{bottom:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"},left:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"},right:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"},top:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"}},color:"rgba(51, 51, 51, 1)",margin:{bottom:{unit:"em",value:"1.25"}}},40:{},30:{},20:{}},formListOptionStyles=createStyles(t.partial({background,border,color})),formListOptionBaseStyles={50:{background:{color:"rgba(64, 64, 64, 1)"},border:{top:{color:"rgba(51, 51, 51, 1)",style:"solid",width:"1"}}},40:{},30:{},20:{}},formListRadioStyles=createStyles(t.partial({margin,color,visibility})),formListRadioBaseStyles={50:{margin:{bottom:{unit:"em",value:"1.25"}},visibility:"visible"},40:{},30:{visibility:"visible"},20:{}},formPlaceholderStyles=createStyles(t.partial({color,font})),formPlaceholderBaseStyles={50:{},40:{},30:{},20:{}},formTextStyles=createStyles(t.partial({background,border,box,color,margin,visibility,padding,font})),formTextBaseStyles={50:{background:{color:"rgba(255, 255, 255, 1)"},border:{bottom:{color:"rgba(51,51,51,1)",style:"solid",width:"1"},left:{color:"rgba(51,51,51,1)",style:"solid",width:"1"},right:{color:"rgba(51,51,51,1)",style:"solid",width:"1"},top:{color:"rgba(51,51,51,1)",style:"solid",width:"1"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{bottom:{unit:"em",value:"1.25"}},visibility:"visible"},40:{},30:{},20:{}},formStyles=createStyles(t.partial({animation,background,border,box,margin,padding,visibility})),formBaseStyles={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}},margin:{top:{value:"0",unit:"px"},right:{value:"0",unit:"px"},bottom:{value:"0",unit:"px"},left:{value:"0",unit:"px"}}},40:{},30:{},20:{}},infographicCounterDefaultCountingDuration=3e3,infographicCounterDefaultSize="3",infographicCounterDefaultWeight="10",infographicCounterDefaultMaxValueColor="rgba(154,155,156,1)",infographicCounterDefaultShownValueColor="rgba(0,0,0,1)",infographicCounterDefaultMaxSteps=12,infographicCounterLineDefaultWeight="3",infographicCounterLineDefaultMaxValueColor="rgba(154,155,156,1)",infographicCounterLineDefaultShownValueColor="rgba(0,0,0,1)",infographicCounterLineDefaultMaxSteps=12,infographicCounterCircleStyles=createStyles(t.partial({animation,box,color,font,margin,visibility,container})),infographicCounterCircleBaseStyles={50:{color:"rgba(0,0,0,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2.125",unit:"rem"},weight:600,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"px",value:"0"}},animation:{duration:infographicCounterDefaultCountingDuration},box:{width:infographicCounterDefaultWeight,height:infographicCounterDefaultSize},container:{backgroundColor:infographicCounterDefaultMaxValueColor,color:infographicCounterDefaultShownValueColor}},40:{},30:{},20:{}},infographicCounterLineStyles=createStyles(t.partial({animation,box,color,font,margin,visibility,container})),infographicCounterLineBaseStyles={50:{color:"rgba(0,0,0,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2.125",unit:"rem"},weight:600,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"px",value:"0"}},animation:{duration:infographicCounterDefaultCountingDuration},box:{width:infographicCounterLineDefaultWeight,alignment:{horizontal:"left"}},container:{backgroundColor:infographicCounterLineDefaultMaxValueColor,color:infographicCounterLineDefaultShownValueColor}},40:{},30:{},20:{}},infographicCounterNumberStyles=createStyles(t.partial({animation,box,color,font,margin,visibility})),infographicCounterNumberBaseStyles={50:{animation:{duration:infographicCounterDefaultCountingDuration},color:"rgba(0,0,0,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"3",unit:"rem"},weight:600,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"px",value:"0"}}},40:{},30:{},20:{}},leadGenStyles=createStyles(t.partial({animation,background,border,box})),leadGenBaseStyles={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"}}},40:{},30:{},20:{}},DEFAULT_ICON_IDENTIFIER="arrow-1",DEFAULT_ICON_SIZE$1=32,DURATION=400,BOTTOM_DISAPPEAR_OFFSET=50,pageScrollStyles=createStyles(t.partial({background,border,box,color,icon,padding,visibility,states:getStates({background,border,box,color,icon,padding})})),pageScrollBaseStyles={50:{background:{color:"rgba(0, 0, 0, 0.2)"},border:{bottom:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},left:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},right:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},top:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"}},box:{alignment:{horizontal:"center",vertical:"bottom"},corners:{bottomLeft:"34",bottomRight:"34",topLeft:"34",topRight:"34"},offset:{value:"20"},shadow:{blur:"0",color:"rgba(0, 0, 0, 0.3)",x:"0",y:"0"}},color:"rgba(255, 255, 255, 1)",icon:{custom:!1,identifier:DEFAULT_ICON_IDENTIFIER,size:`${DEFAULT_ICON_SIZE$1}`},padding:{bottom:{unit:"px",value:"18"},left:{unit:"px",value:"18"},right:{unit:"px",value:"18"},top:{unit:"px",value:"18"}},visibility:"visible",states:{hover:{}}},40:{},30:{states:{hover:{}}},20:{states:{hover:{}}}},pageStyles=createStyles(t.partial({background})),pageBaseStyles={50:{background:{color:"rgba(255, 255, 255, 1)"}},40:{},30:{},20:{}},socialStyles=createStyles(t.partial({animation,background,border,box,margin,visibility})),socialBaseStyles={50:{border:{bottom:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},left:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},right:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"},top:{color:"rgba(0, 0, 0, 1)",style:"solid",width:"0"}},box:{height:"24",width:"24"},margin:{bottom:{unit:"px",value:"0"}}},40:{},30:{visibility:"visible"},20:{visibility:"visible"}},setBorderSpacingValue=(e,i)=>{e.borderSpacing?set_1(e,"borderSpacing",i):(e.borderSpacing={},set_1(e,"borderSpacing",i))},borderSpacingUnit=t.union([t.literal("px"),t.literal("vh"),t.literal("vw"),t.literal("em"),t.literal("rem")]),BorderSpacingInferred=t.partial({value:t.string,unit:borderSpacingUnit}),borderSpacing=BorderSpacingInferred,tableStyles=createStyles(t.partial({animation,background,border,borderSpacing,margin,visibility})),tableBaseStyles={50:{borderSpacing:{value:"2",unit:"px"},visibility:"visible"},40:{},30:{visibility:"visible"},20:{visibility:"visible"}},headerStyles=createStyles(t.partial({background})),dataStyles=createStyles(t.partial({background})),headerBaseStyles={50:{background:{color:"rgba(204, 204, 204, 1)"}},40:{},30:{},20:{}},dataBaseStyles={50:{background:{color:"rgba(240, 240, 240, 1)"}},40:{},30:{},20:{}},alternateStyles=createStyles(t.partial({background})),alternateBaseStyles={50:{background:{color:"rgba(88, 89, 91, 1)"}},40:{},30:{},20:{}},textItemStyles=createStyles(t.partial({box,color,font,margin,background,border,padding,states:getStates({font,color})})),textItemStylesAll={blockquote:textItemStyles,"header-one":textItemStyles,"header-two":textItemStyles,"header-three":textItemStyles,"header-four":textItemStyles,"header-five":textItemStyles,"header-six":textItemStyles,"ordered-list-item":textItemStyles,"unordered-list-item":textItemStyles,paragraph:textItemStyles,"table-header":textItemStyles,"table-data":textItemStyles},textItemBaseStylesAll={blockquote:{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"3",unit:"rem"},weight:600,style:"italic",lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}},background:{color:"transparent"},border:{},padding:{}},40:{},30:{},20:{}},"header-one":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"3.5",unit:"rem"},weight:700,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"3",unit:"rem"}}},20:{font:{size:{value:"2.625",unit:"rem"}}}},"header-two":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2.5",unit:"rem"},weight:700,lineHeight:{value:"1.05",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"2.25",unit:"rem"}}},20:{font:{size:{value:"2.125",unit:"rem"}}}},"header-three":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"2",unit:"rem"},weight:700,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.75",unit:"rem"}}},20:{font:{size:{value:"1.625",unit:"rem"}}}},"header-four":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1.5",unit:"rem"},weight:700,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.375",unit:"rem"}}},20:{}},"header-five":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1.5",unit:"rem"},weight:600,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.375",unit:"rem"}}},20:{}},"header-six":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1.5",unit:"rem"},weight:600,lineHeight:{value:"1.3",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{font:{size:{value:"1.375",unit:"rem"}}},20:{}},"ordered-list-item":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0"}}},40:{},30:{},20:{}},"unordered-list-item":{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0"}}},40:{},30:{},20:{}},paragraph:{50:{color:"rgba(51,51,51,1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},margin:{bottom:{unit:"em",value:"0.55"}}},40:{},30:{},20:{}},"table-header":{50:{color:"rgba(0, 0, 0, 1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},weight:700,lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},box:{alignment:{horizontal:"center"}}},40:{},30:{},20:{}},"table-data":{50:{color:"rgba(0, 0, 0, 1)",font:{family:"Arial, Helvetica, sans-serif",size:{value:"1",unit:"rem"},lineHeight:{value:"1.5",unit:"em"},letterSpacing:{value:"0",unit:"em"}},box:{alignment:{horizontal:"center"}}},40:{},30:{},20:{}}},textLinkStyles=createStyles(t.partial({color,font})),textLinkBaseStyles={50:{color:"inherit",font:{textDecoration:"underline"}},40:{},30:{},20:{}},textStyles=createStyles(t.partial({animation,background,border,box,color,margin,padding,visibility})),textBaseStyles={50:{border:{bottom:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},left:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},right:{color:"rgba(0,0,0,1)",style:"solid",width:"0"},top:{color:"rgba(0,0,0,1)",style:"solid",width:"0"}},box:{corners:{bottomLeft:"0",bottomRight:"0",topLeft:"0",topRight:"0"},shadow:{blur:"0",color:"rgba(0,0,0,0.3)",x:"0",y:"0"},width:"vw"},color:"rgba(51,51,51,1)",margin:{bottom:{unit:"px",value:"0"}},padding:{bottom:{unit:"px",value:"0"},left:{unit:"px",value:"0"},right:{unit:"px",value:"0"},top:{unit:"px",value:"0"}},visibility:"visible"},40:{},30:{visibility:"visible"},20:{visibility:"visible"}},identity$c="theme",entityStyles=t.type(w(f({background:backgroundStyles,block:blockStyles,button:buttonStyles,"button-secondary":buttonStyles,"column-scroll":columnScrollStyles,column:columnStyles,divider:dividerStyles,embed:embedStyles,"form-label":formLabelStyles,"form-list-dropdown":formListDropdownStyles,"form-list-checkbox":formListCheckboxStyles,"form-list-option":formListOptionStyles,"form-list-radio":formListRadioStyles,"form-placeholder":formPlaceholderStyles,"form-text":formTextStyles,form:formStyles,hotspot:hotspotStyles,image:imageStyles,overlay:overlayStyles,"page-scroll":pageScrollStyles,page:pageStyles,"lead-gen":leadGenStyles,row:rowStyles,social:socialStyles,table:tableStyles},textItemStylesAll),{"text-link":textLinkStyles,text:textStyles,video:videoStyles,"infographic-counter-number":infographicCounterNumberStyles,"infographic-counter-line":infographicCounterLineStyles,"infographic-counter-circle":infographicCounterCircleStyles})),themeEntity=new Entity(identity$c,{id:t.UUID,identity:t.literal(identity$c),parent:t.null,colors:t.type({main:t.union([t.string,t.null]),light:t.union([t.string,t.null]),dark:t.union([t.string,t.null])}),swatches:t.array(t.string),navigation:t.type({position:t.union([t.literal("top"),t.literal("bottom")]),pageNames:t.boolean,activePageName:t.boolean,logo:t.type({assetRef:t.union([t.string,t.null])}),favicon:t.type({assetRef:t.union([t.string,t.null])}),bar:createStyles(t.partial({background,color,active:color,font})),prevNext:createStyles(t.partial({background,color,states:getStates({background,color})})),depthIndicator:createStyles(t.partial({background}))}),socialOptions:t.array(t.union([t.literal("facebook"),t.literal("twitter"),t.literal("linkedin"),t.literal("xing"),t.literal("whatsapp"),t.literal("mail"),t.literal("pinterest"),t.literal("line")])),activatedFonts:t.array(t.type({assetRef:t.string})),refs:t.null,entityStyles,additionalEntityStyles:t.type({table:t.type({headerStyles,dataStyles,alternateStyles})})},{id:void 0,identity:identity$c,parent:null,colors:{main:"rgba(255,89,49,1)",light:"rgba(255,255,255,1)",dark:"rgba(31,32,35,1)"},swatches:["rgba(0,0,0,1)","rgba(255,255,255,1)","rgba(77,77,77,1)","rgba(128,128,128,1)","rgba(204,204,204,1)","rgba(240,240,240,1)","linear-gradient(0deg,rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%)","linear-gradient(45deg,rgba(0,0,0,1) 0%,rgba(255,255,255,1) 100%)","radial-gradient(circle farthest-side at center, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 100%)"],navigation:{position:"top",activePageName:!0,pageNames:!1,logo:{assetRef:null},favicon:{assetRef:null},bar:{50:{background:{color:"rgba(0,0,0,0.2)"},color:"rgba(255,255,255,1)",active:"rgba(0,0,0,0.2)",font:{size:{value:"1",unit:"rem"}}},40:{},30:{},20:{}},prevNext:{50:{background:{color:"rgba(0,0,0,0.2)"},states:{hover:{}},color:"rgba(255,255,255,1)"},40:{},30:{},20:{}},depthIndicator:{50:{background:{color:"rgba(252,82,29,1)"}},40:{},30:{},20:{}}},socialOptions:[],activatedFonts:[],refs:null,entityStyles:w(f({background:backgroundBaseStyles,block:blockBaseStyles,button:buttonBaseStyles,"button-secondary":secondaryButtonBaseStyles,"column-scroll":columnScrollBaseStyles,column:columnBaseStyles,divider:dividerBaseStyles,embed:embedBaseStyles,"form-label":formLabelBaseStyles,"form-list-dropdown":formListDropdownBaseStyles,"form-list-checkbox":formListCheckboxBaseStyles,"form-list-option":formListOptionBaseStyles,"form-list-radio":formListRadioBaseStyles,"form-placeholder":formPlaceholderBaseStyles,"form-text":formTextBaseStyles,form:formBaseStyles,hotspot:hotspotBaseStyles,image:imageBaseStyles,overlay:overlayBaseStyles,"page-scroll":pageScrollBaseStyles,page:pageBaseStyles,"lead-gen":leadGenBaseStyles,row:rowBaseStyles,social:socialBaseStyles,table:tableBaseStyles},textItemBaseStylesAll),{"text-link":textLinkBaseStyles,text:textBaseStyles,video:videoBaseStyles,"infographic-counter-number":infographicCounterNumberBaseStyles,"infographic-counter-line":infographicCounterLineBaseStyles,"infographic-counter-circle":infographicCounterCircleBaseStyles}),additionalEntityStyles:{table:{headerStyles:headerBaseStyles,dataStyles:dataBaseStyles,alternateStyles:alternateBaseStyles}}}),Theme={entity:themeEntity,identity:identity$c};function hasStates(e){return!!e.states}const createFontFaceString=(e,i,n,o,r="woff")=>`
	@font-face {
		font-family: '${e.trim().replace(/'/g,"")}';
		font-style: ${o};
		font-weight: ${i};
		src: url('${n}') format('${r!=="woff"?"truetype":r}');
	}`,createFontFaceStylesheetForCustomFonts=(e,i)=>{const n={};if(i.length>0)return i.reduce((r,{assetRef:a,weight:s,style:l})=>{if(!e[a])return r;const{name:u,typefaces:c}=e[a];return c.forEach(({weight:d,isItalic:m,woff:g,extension:E})=>{n[g]===void 0&&s===d&&m===(l==="italic")&&(r+=createFontFaceString(u,s,g,m?"italic":"normal",E),n[g]=!0)}),r},"")},generateCombinedGoogleCDNUrl=e=>{const i=e.reduce((n,{assetRef:o,weight:r,style:a})=>(o.split("?family=")[1]&&(n[o]||(n[o]=[]),n[o].push({weight:r,style:a})),n),{});return Object.entries(i).length?"https://fonts.googleapis.com/css2?"+Object.entries(i).reduce((n,[o,r])=>{const a=o.split("?family=")[1],s=[],l=r.sort((c,d)=>{if(c.style&&d.style){if(c.style!==d.style)return d.style.localeCompare(c.style);if(d.style==="italic"&&c.style!=="italic")return-1}return c.weight&&d.weight?c.weight-d.weight:0}),u=":ital,wght@"+l.map(({weight:c,style:d})=>{const m=`${d==="italic"?"1":"0"},${c}`;if(!s.includes(m))return s.push(m),m}).filter(c=>c).join(";");return[...n,`family=${a}${u}`]},[]).join("&"):null},FontLoader=react.exports.createContext({}),FontLoaderProvider=({children:e,helmet:i})=>{const n=useAssetsStoreState(),[o,r]=react.exports.useState([]),[a,s]=react.exports.useState([]),[l,u]=react.exports.useState([]),c=react.exports.useCallback(g=>{const E=Array.isArray(g)?g:[g],{custom:h,google:I,cache:v}=E.reduce((S,{assetRef:T,weight:x=400,style:C="normal"})=>{const A=`${T}|${x}|${C}`;return o.includes(A)||(S.cache.push(A),T.includes("foleon")&&S.custom.push({assetRef:T,weight:x,style:C}),T.includes("google")&&S.google.push({assetRef:T,weight:x,style:C})),S},{google:[],custom:[],cache:[]});h.length>0&&u([...l,...h]),I.length>0&&s([...a,...I]),v.length>0&&r([...o,...v])},[l,a,u,s,r,o]),d=react.exports.useMemo(()=>a.length>0&&generateCombinedGoogleCDNUrl(a),[a]),m=react.exports.useMemo(()=>createFontFaceStylesheetForCustomFonts(n==null?void 0:n[AssetsCategories.fonts],l),[l]);return React.createElement(FontLoader.Provider,{value:{loadFonts:c}},React.createElement(i,null,d&&React.createElement("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),d&&React.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),d&&React.createElement("link",{rel:"stylesheet",href:d}),m&&React.createElement("style",null,m)),e)},useFontLoader=()=>react.exports.useContext(FontLoader),EntityInferred$t=t.type({name:t.string,typefaces:t.array(t.type({weight:t.number,isItalic:t.boolean,woff:t.string,extension:t.string})),url:t.string}),entity$t=EntityInferred$t,Font={entity:entity$t},setBackgroundValue=(e,i,n)=>{e.background?set_1(e.background,i,n):(e.background={},set_1(e.background,i,n))},buttonBoxToCSS=createBoxToCSS({overrides:{alignment:(e,i,n)=>{(i==null?void 0:i.horizontal)&&(n==null||n("align-self",getAlignContent(i.horizontal)))}}}),buttonBackgroundToCSS=createBackgroundToCSS({overrides:{image:(e,i,n)=>{isCSSGradient(get_1(e,"backgroundImage",""))||n==null||n("backgroundImage",`${i} !important`)},color:(e,i,n)=>{(i==null?void 0:i.includes("gradient"))?n==null||n("backgroundImage",`${i} !important`):n==null||n("background",`${i} !important`)}}}),splitMarginAlignmentStyles=(e,i)=>{var r,a;if(!i)return{alignmentAndMarginStyles:{},remainingStyles:e};const n={},o={};for(const s of orderedStyleSizes){const l=e[s],u=(r=l.box)==null?void 0:r.alignment,c=l.margin;n[s]={},isEmpty_1(u)||set_1(n,[s,"box","alignment"],u),isEmpty_1(c)||set_1(n,[s,"margin"],c);const d=cloneDeep_1(l);(a=d.box)==null||delete a.alignment,delete d.margin,isEmpty_1(d.box)&&delete d.box,o[s]=d}return{alignmentAndMarginStyles:n,remainingStyles:o}};function useButton(e,i,n,o,r){var h;const{loadFonts:a}=useFontLoader(),s=useAssetsStoreState(),{entity:l,mergedThemeStyles:u}=n(I=>{const v=getEntityFromRef(I,e);return v?{entity:v,mergedThemeStyles:getMergedThemeStyles(I,v,o)}:{}},[o==null?void 0:o.entityStyles.button,o==null?void 0:o.entityStyles["button-secondary"]]),{styles:c,computed:d}=react.exports.useMemo(()=>l?{computed:getComputedStyles$1(u)[i],styles:l.styles[i]}:{computed:{},styles:{}},[l==null?void 0:l.styles,(h=l==null?void 0:l.options)==null?void 0:h.type,i,u]),{css:m,fonts:g,buttonContainerCSS:E}=react.exports.useMemo(()=>{const I=[],v=r&&l.parent.identity==="column",{alignmentAndMarginStyles:S,remainingStyles:T}=splitMarginAlignmentStyles(u,Boolean(v));return{css:isEmpty_1(T)?{}:stylesToCSSTransformer(T,{visibility:(x,C,A=Screensizes.xl)=>{visibilityToCSSByEntity(x,C,A,l)},box:buttonBoxToCSS,background:buttonBackgroundToCSS,font:fontToCSS(s,x=>I.push(...Array.isArray(x)?x:[x]))}),buttonContainerCSS:v&&!isEmpty_1(S)?stylesToCSSTransformer(S,{margin:marginToCSS$1,box:buttonBoxToCSS,background:buttonBackgroundToCSS}):{},fonts:I}},[u,l,s,r]);return react.exports.useEffect(()=>{a(g)},[a,g]),l==null?{entity:{},styles:c,computed:d,css:m}:{entity:l,styles:c,computed:d,css:m,buttonContainerCSS:E}}const ButtonStyledContainer=styled.div`
	display: block;
	white-space: pre-wrap;
	padding: 12px 20px;
	transition: all 0.3s ease 0s;
	position: relative;
	width: fit-content;

	&& div.link-name-displayer {
		padding: 2px 4px;
		top: -5px;
		right: -10px;
	}

	/* .left/.right/.center/.justify are triggered by the RTE in the editor */
	.left {
		text-align: left;
	}
	.center {
		text-align: center;
	}
	.right {
		text-align: right;
	}
	.justify {
		text-align: justify;
	}

	${({shouldRenderAllStyles:e,styles:i})=>e&&i};

	&:hover {
		background-image: initial;
	}
`,ButtonAlignmentContainer=styled.div`
	width: 100%;
	text-align: ${e=>e.textAlign};
	position: relative;
	pointer-events: auto;

	${({styles:e})=>e};
`,ButtonViewerContainer=l=>{var u=l,{styles:e,renderAllStyles:i,children:n,className:o,handleClick:r,dataFoleonId:a}=u,s=W(u,["styles","renderAllStyles","children","className","handleClick","dataFoleonId"]);return React.createElement(ButtonStyledContainer,f({styles:e,shouldRenderAllStyles:i,className:o,"data-testid":"ripley-core__button__component",onClick:r,"data-foleon-id":a},s),n)};ButtonViewerContainer.defaultProps={className:"",styles:{},handleClick:null,waitingForPageTransition:!0};function useTemplate(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{if(!e)return{};const d=getEntityFromRef(c,e);if(!d)return{};const m=getMergedThemeStyles(c,d,o);return{entity:d,mergedThemeStyles:m}}),{styles:s,computed:l,css:u}=react.exports.useMemo(()=>{var c,d;return r?{computed:(c=getComputedStyles$1(a))==null?void 0:c[i],styles:(d=r.styles)==null?void 0:d[i],css:a&&stylesToCSSTransformer(a,{background:createBackgroundToCSS({overrides:{color:(m,g,E)=>{E==null||E((g==null?void 0:g.includes("gradient"))?"backgroundImage":"background",g)}}})})}:{computed:{},styles:{}}},[r,a,i]);return{entity:r,computed:l,css:u,styles:s}}const identity$b="table-cell",EntityInferred$s=new Entity("text",{id:t.UUID,parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$E)}),t.type({id:t.UUID,identity:t.literal(identity$z)}),t.type({id:t.UUID,identity:t.literal(identity$A)}),t.type({id:t.UUID,identity:t.literal(identity$B)}),t.type({id:t.UUID,identity:t.literal(identity$b)})]),identity:t.literal(identity$H),styleMap:t.union([t.map(t.string,t.map(t.string,t.string)),t.null]),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$G)}),t.type({id:t.UUID,identity:t.literal(identity$y)}),t.type({id:t.UUID,identity:t.literal(identity$x)})])),styles:textStyles},{id:void 0,identity:identity$H,parent:void 0,styleMap:null,refs:[]}),entity$s=EntityInferred$s,Text$3={entity:entity$s,identity:identity$H},FILL_CHILDREN_SELECTOR="& [data-foleon-id] > *",isListType=e=>e==="ordered-list-item"||e==="unordered-list-item",isTableType=e=>e==="table-header"||e==="table-data",overrideTextShadow=(e,i)=>{i&&(e.textShadow=`${i.x}px ${i.y}px ${i.blur}px ${i.color}`)},overrideTextBackgroundFill=(e,i,n,o)=>{const r=i,a=o==null?void 0:o.color;r==="children"?set_1(e,[FILL_CHILDREN_SELECTOR,"backgroundColor"],a||"transparent"):n&&n("backgroundColor",a||"transparent")},overrideTextBackgroundColor=(e,i,n,o)=>{const r=i;(o==null?void 0:o.fill)||n&&n("backgroundColor",r||"transparent")},isSameLevel=(e,i)=>i===(isListType(e.type)?(e.depth||0)+1:0),isLevelUp=(e,i)=>i<(isListType(e.type)?(e.depth||0)+1:0),isLevelDown=(e,i)=>i>(isListType(e.type)?(e.depth||0)+1:0),groupListItemsIntoAnArray=(e,i=0,n=1e3)=>{const o=[];let r;for(;e.length!==0;){n=n-1;const a=e[0];if(n<0)throw new Error(`Max call-size ${a.id}`);if(isSameLevel(a,i)){if(isListType(a.type)&&r&&isListType(r.type)&&r.type!==a.type)break;o.push(e.shift()),r=a;continue}if(isLevelUp(a,i)){o.push(groupListItemsIntoAnArray(e,i+1,n)),r=a;continue}if(isLevelDown(a,i)){r=a;break}}return o},textBoxToCSS=createBoxToCSS({overrides:{shadow:overrideTextShadow}}),textBackgroundToCSS=createBackgroundToCSS({overrides:{color:overrideTextBackgroundColor,fill:overrideTextBackgroundFill}}),textBoxShadowPaddingToCSS=(e,i,n)=>{var m,g,E,h,I,v,S,T,x,C;const o=(A,R)=>{set_1(i,[A],R)},r=mapStyleSizeToMediaQueries[n],a=(m=e[Screensizes.xl])==null?void 0:m.padding,s=(g=e[Screensizes.xl])==null?void 0:g.background,l=`${((E=a==null?void 0:a.top)==null?void 0:E.value)||0}${((h=a==null?void 0:a.top)==null?void 0:h.unit)||"px"}`,u=`${((I=a==null?void 0:a.bottom)==null?void 0:I.value)||0}${((v=a==null?void 0:a.bottom)==null?void 0:v.unit)||"px"}`,c=`${((S=a==null?void 0:a.left)==null?void 0:S.value)||0}${((T=a==null?void 0:a.left)==null?void 0:T.unit)||"px"}`,d=`${((x=a==null?void 0:a.right)==null?void 0:x.value)||0}${((C=a==null?void 0:a.right)==null?void 0:C.unit)||"px"}`;if((s==null?void 0:s.fill)==="children"){const A=(s==null?void 0:s.color)||"transparent";n===Screensizes.xl?o("& > * > span",w(f({},i["& > * > span"]),{display:"inline",padding:`${l} 0px ${u} 0px`,boxShadow:`${d} 0 0 ${A}, -${c} 0 0 ${A}`})):r&&o("& > * > span",{[r]:w(f({},i["& > * > span"]),{display:"inline",padding:`${l} 0px ${u} 0px`,boxShadow:`${d} 0 0 ${A}, -${c} 0 0 ${A}`})})}};function useText(e,i,n,o){const{entity:r,refs:a,mergedThemeStyles:s}=n(d=>{const m=getEntityFromRef(d,e);return m?{entity:m,refs:m.refs.map(g=>{var E;return(E=d==null?void 0:d[g.identity])==null?void 0:E[g.id]}).filter(g=>g),mergedThemeStyles:getMergedThemeStyles(d,m,o)}:{}},[e==null?void 0:e.id]),{computed:l,styles:u}=react.exports.useMemo(()=>({computed:getComputedStyles$1(s)[i],styles:r==null?void 0:r.styles[i]}),[r,r==null?void 0:r.styles,i,s]),c=react.exports.useMemo(()=>{if(!s)return{};const d=stylesToCSSTransformer(s,{box:textBoxToCSS,background:textBackgroundToCSS,visibility:(m,g,E=Screensizes.xl)=>{visibilityToCSSByEntity(m,g,E,r)}});return textBoxShadowPaddingToCSS(s,d,i),d},[s,r]);return{entity:r,computed:l,styles:u,css:c,refs:a}}const useTextComputedProps=()=>({}),Text$2=styled.div`
	position: relative;
	${({styles:e})=>e}
`,TextViewerContainer=({children:e,styles:i,setRef:n=()=>({})})=>{const o=w(f({},i),{flex:"unset"});return React.createElement(Text$2,{styles:o,ref:n},e)},StyledSpan=styled.span`
	${({styles:e})=>e}
`,CustomInlineComponent=({style:e,className:i,children:n})=>React.createElement(StyledSpan,{className:i,styles:e},n),textItemTypes=t.union([t.literal("header-one"),t.literal("header-two"),t.literal("header-three"),t.literal("header-four"),t.literal("header-five"),t.literal("header-six"),t.literal("paragraph"),t.literal("blockquote"),t.literal("ordered-list-item"),t.literal("unordered-list-item"),t.literal("button"),t.literal("table-header"),t.literal("table-data")]),textItemSubType=t.literal("text-link"),textItemRef=t.type({id:t.UUID,identity:t.literal(identity$x),type:textItemTypes}),onlyTextItemRefs=e=>e.identity===identity$x,InlineStyleRangeInferred=t.type({offset:t.number,length:t.number,style:t.string}),InlineEntityRangeInferred=t.type({offset:t.number,length:t.number,key:t.number}),InlinePersonalizationPropertyInferred=t.type({offset:t.number,length:t.number,key:t.number,refId:t.number,identifier:t.string}),EntityInferred$r=new Entity(identity$x,{id:t.UUID,parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$H)}),t.type({id:t.UUID,identity:t.literal(identity$K)})]),identity:t.literal(identity$x),type:textItemTypes,text:t.string,depth:t.number,inlineStyleRanges:t.union([t.array(InlineStyleRangeInferred),t.undefined]),inlineHoverStyleRanges:t.union([t.array(InlineStyleRangeInferred),t.undefined]),entityRanges:t.union([t.array(InlineEntityRangeInferred),t.undefined]),personalizationProperties:t.union([t.array(InlinePersonalizationPropertyInferred),t.undefined]),styles:textItemStyles},{id:void 0,identity:identity$x,parent:void 0,type:void 0,text:void 0,depth:0,inlineStyleRanges:void 0,inlineHoverStyleRanges:void 0,personalizationProperties:void 0,entityRanges:void 0}),entity$r=EntityInferred$r,TextItem$1={entity:entity$r,identity:identity$x},textItemBoxToCSS=createBoxToCSS({overrides:{shadow:overrideTextShadow,alignment:(e,i)=>{(i==null?void 0:i.horizontal)&&set_1(e,"text-align",getTextAlign(i.horizontal))}}}),staticDefaultCSSForButton={wordWrap:"break-word",overflowWrap:"break-word",hyphens:"manual",whiteSpace:"pre-wrap",cursor:"pointer !important",boxSizing:"border-box"};function useTextItem(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l,revealAnimation:u}=n(E=>{var S,T;const h=getEntityFromRef(E,e);if(!h)return{};const I=getMergedThemeStyles(E,h,o),v=(S=E[h.parent.identity])==null?void 0:S[h.parent.id];if(v){const x=(T=v.styles)==null?void 0:T[Screensizes.xl].animation;if(x&&isRevealAnimation(x.animationName))return{entity:h,mergedThemeStyles:I,revealAnimation:x}}return{entity:h,mergedThemeStyles:I}},[o==null?void 0:o.entityStyles]),{computed:c,styles:d}=react.exports.useMemo(()=>{var E;return{computed:getComputedStyles$1(l)[i],styles:((E=s==null?void 0:s.styles)==null?void 0:E[i])||{}}},[s==null?void 0:s.styles,l,i]),{css:m,usedFonts:g}=react.exports.useMemo(()=>{const E=[];return s.type!=="button"?{css:l?stylesToCSSTransformer(l,{box:textItemBoxToCSS,font:fontToCSS(r,h=>E.push(...Array.isArray(h)?h:[h]))}):{},usedFonts:E}:{css:f(f({},staticDefaultCSSForButton),stylesToCSSTransformer(s.styles,{font:fontToCSS(r,h=>E.push(...Array.isArray(h)?h:[h]))})),usedFonts:E}},[s==null?void 0:s.styles,l,r]);return react.exports.useEffect(()=>{a(g)},[g,a]),{entity:s,computed:c,styles:d,css:m,revealAnimation:u}}const SURROGATE_HIGH_START=55296,SURROGATE_LOW_END=57343,SURROGATE_UNITS_REGEX=/[\uD800-\uDFFF]/;function isCodeUnitInSurrogateRange(e){return SURROGATE_HIGH_START<=e&&e<=SURROGATE_LOW_END}function hasSurrogateUnit(e){return SURROGATE_UNITS_REGEX.test(e)}function getUTF16Length(e,i){return 1+(isCodeUnitInSurrogateRange(e.charCodeAt(i))?1:0)}function substr(e,i,n){if(i=i||0,n=n===void 0?1/0:n||0,!hasSurrogateUnit(e))return e.substr(i,n);const o=e.length;if(o<=0||i>o||n<=0)return"";let r=0;if(i>0){for(;i>0&&r<o;i--)r+=getUTF16Length(e,r);if(r>=o)return""}else if(i<0){for(r=o;i<0&&0<r;i++)r-=getUTF16Length(e,r-1);r<0&&(r=0)}let a=o;if(n<o)for(a=r;n>0&&a<o;n--)a+=getUTF16Length(e,a);return e.substring(r,a)}const hasNewRanges=(e,i)=>e===null&&i!==null||e!==null&&i===null||e!==null&&i!==null&&Object.keys(e).join("")!==Object.keys(i).join(""),isEmptyArray=e=>!e||e.length===0,makeConverter=(e,i)=>{const n=[],o=(a,s)=>{Object.keys(a).length>0&&n.push(f(f({},i.theme?i.theme[s]||{}:{}),a))},r={};return{getInlineStyles:()=>n,getChildrenHoverStyleMap:()=>r,convert:a=>{var m;let s=a.text;if(a.text.charCodeAt(a.text.length-1)===10&&(s=s+`
`),isEmptyArray(a.inlineStyleRanges)&&isEmptyArray(a.entityRanges)&&isEmptyArray(a.inlineHoverStyleRanges))return validateValue(s,i.personalizationComponent);const l=[...a.entityRanges||[],...a.inlineStyleRanges||[],...((m=a.inlineHoverStyleRanges)==null?void 0:m.map(g=>w(f({},g),{hover:!0})))||[]],u=decodeInlineRanges(s,l);return u.reduce((g,E,h)=>{const I=substr(s,h,1);let v=g[g.length-1];return hasNewRanges(E,u[h-1]||null)&&(g.push({value:"",metadata:E}),v=g[g.length-1]),v.value+=I,g},[{value:"",metadata:null}]).reduce((g,E,h)=>{var I,v,S;if(E.value==="")return g;if(E.metadata){const T=[...Object.values(E.metadata||{})];let x,C=!1,A=!1,R;const _=T.reduce((N,D)=>{if(isStyleRange(D)){if(D.style==="superscript")return{fontSize:"0.6em",verticalAlign:"super"};if(e[D.style]){let O=e[D.style];return D.style.indexOf("assetRef:")===0&&i.getFontByRef&&e&&e[D.style]&&(O=f(f({},i.getFontByRef(e[D.style].assetRef)||{}),O)),D.hover?(A=!0,Object.keys(O).reduce((B,L)=>L==="assetRef"&&i.getFontByRef?w(f({},B),{":hover":f(f({},B[":hover"]||{}),i.getFontByRef(e[D.style].assetRef)||{})}):w(f({},B),{":hover":w(f({},B[":hover"]||{}),{[L]:O[L]})}),N)):Object.keys(O).reduce((B,L)=>w(f({},B),{[L]:O[L]}),N)}return N}return C=i.actionEntities.some(O=>O&&O.reference===D.key),R=i.propertyEntities.find(O=>O&&O.reference===D.key),x=`${D.key}`,N},{});return _[":hover"]&&(r[` .range-${h}`]=f({},_[":hover"])),o(_,a.type),i.loadFonts&&(_.assetRef||((I=i.computedFont)==null?void 0:I.assetRef))&&i.loadFonts({assetRef:_.assetRef||((v=i.computedFont)==null?void 0:v.assetRef),weight:Number(_.fontWeight||0)||Number(((S=i.computedFont)==null?void 0:S.weight)||0)||void 0,style:_.fontStyle==="italic"?"italic":"normal"}),[...g,buildInlineComponent({entityReference:x,hasAction:C,hasHover:A,hasProperty:!!R,key:`range-${h}`,linkComponent:i.linkComponent,propertyEntity:R,propertyComponent:i.propertyComponent,range:E,routeMap:i.routeMap,style:_})]}return[...g,...validateValue(E.value,i.personalizationComponent)]},[])}}},buildInlineComponent=({entityReference:e,hasAction:i,hasHover:n,hasProperty:o,key:r,linkComponent:a,propertyEntity:s,propertyComponent:l,range:u,routeMap:c,style:d})=>{var g,E;const m=validateValue(u.value);if(i){const h=c&&e?c[e]:void 0;return{component:a||"a",props:{actionid:h==null?void 0:h.actionId,ariaLabel:m,className:n?r:void 0,href:h==null?void 0:h.url,key:r,search:h==null?void 0:h.search,style:f({},d),target:h==null?void 0:h.target},children:m}}return o?{component:l||"span",props:{propertyId:(g=s==null?void 0:s.options)==null?void 0:g.refId,propertyIdentifier:((E=s==null?void 0:s.options)==null?void 0:E.identifier)||"",className:n?r:void 0,key:r,style:f({},d)},children:m}:{component:n?CustomInlineComponent:"span",props:{style:f({},d),key:r,className:n?r:void 0},children:m}},mapToReact=e=>typeof e=="string"?e===""?" ":e:React.createElement(e.component,e.props,Array.isArray(e.children)?e.children.map(mapToReact):e.children||null),validateValue=(e,i)=>e===""?[" "]:/{{[a-zA-Z0-9_\-\/\#\^]+}}/.test(e)&&i?[{component:i,props:{},children:[e]}]:[e],countCharacter=e=>Array.from(e).length,isStyleRange=e=>typeof e.style=="string",decodeInlineRanges=(e,i)=>{const n=countCharacter(e),o=new Array(n).fill(null);return i&&i.forEach(r=>{const a=isStyleRange(r)?r.style:r.key;let s=countCharacter(substr(e,0,r.offset||0));const l=s+countCharacter(substr(e,r.offset||0,r.length));for(;s<l;)o[s]=o[s]||{},o[s][a]=r,s++}),o},convertToJsonTreeWithInlineStyles=({actionEntities:e,computedFont:i,getFontByRef:n,linkComponent:o,personalizationComponent:r,propertyComponent:a,propertyEntities:s,routeMap:l,textEntity:u,textItemEntity:c})=>{const d=[],m=I=>{d.push(I)},{convert:g,getInlineStyles:E,getChildrenHoverStyleMap:h}=makeConverter(u.styleMap||{},{actionEntities:e,computedFont:i,getFontByRef:n,linkComponent:o,loadFonts:m,personalizationComponent:r,propertyComponent:a,propertyEntities:s,routeMap:l});return{children:g(c),inlineStyles:E(),childrenHoverStyleMap:h(),fonts:d}},convertToReactTreeWithInlineStyles=({actionEntities:e,computedFont:i,getFontByRef:n,linkComponent:o,personalizationComponent:r,propertyComponent:a,routeMap:s,textEntity:l,textItemEntity:u,propertyEntities:c})=>{const{children:d,childrenHoverStyleMap:m,fonts:g}=convertToJsonTreeWithInlineStyles({actionEntities:e,computedFont:i,getFontByRef:n,linkComponent:o,personalizationComponent:r,propertyComponent:a,propertyEntities:c,routeMap:s,textEntity:l,textItemEntity:u});return{childrenHoverStyleMap:m,children:d.map(E=>mapToReact(E)),fonts:g}},animationDuration=840,getStartingPoint=e=>e==="imRevealLeftToRight"?"left: 0":e==="imRevealRightToLeft"?"right: 0":"",StyledRevealOuter=styled.div`
	position: relative;
	align-self: flex-start;
	display: flex;
	width: 100%;
	max-width: ${({styles:e})=>e&&e.width};

	.${GLOBAL_ANIMATION_CLASS} &&:before {
		content: '';
		background: ${({revealAnimation:e})=>e.revealBarColor||"rgba(25,178,210,1)"};
		position: absolute;
		width: 100%;
		height: 100%;
		top: -0.1em;
		z-index: 1;
		padding: 0.1em 0;
		box-sizing: content-box;
		animation-fill-mode: both;
		animation-delay: ${({revealAnimation:e})=>`${e.delay}ms`};
		animation-timing-function: cubic-bezier(0.5, 0.25, 0.5, 0.75);
		animation-duration: ${animationDuration}ms;
		${({revealAnimation:e})=>getStartingPoint(e.animationName)}
	}

	.${GLOBAL_ANIMATION_CLASS} .in-viewport &&:before {
		animation-name: ${({revealAnimation:e})=>e.animationName};
	}
`,StyledRevealInner=styled.div`
	display: inline-block;
	width: 100%;
	animation-duration: ${animationDuration}ms;
	animation-delay: ${({revealAnimation:e})=>`${e.delay}ms`};
	animation-fill-mode: both;

	.${GLOBAL_ANIMATION_CLASS} .in-viewport && {
		animation-name: imRevealContent;
	}
`,RevealAnimationWrapper=({children:e,styles:i,revealAnimation:n})=>React.createElement(StyledRevealOuter,{revealAnimation:n,styles:i},React.createElement(StyledRevealInner,{revealAnimation:n},e)),TextItem=styled.div`
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: manual;
	white-space: pre-wrap;
	padding: 0;
	margin: 0;
	cursor: text;
	position: relative;
	${({styles:e})=>e}
`,TextItemInner=styled.span`
	box-decoration-break: clone;
`;function getHtmlElementFromTextItemType(e){switch(e){case"header-one":return"h1";case"header-two":return"h2";case"header-three":return"h3";case"header-four":return"h4";case"header-five":return"h5";case"header-six":return"h6";case"paragraph":return"p";case"blockquote":return"blockquote";case"ordered-list-item":case"unordered-list-item":return"li";default:return}}const TextItemViewerContainer=s=>{var l=s,{children:e,styles:i,dataFoleonId:n,type:o,revealAnimation:r}=l,a=W(l,["children","styles","dataFoleonId","type","revealAnimation"]);return React.createElement(TextItem,f({as:getHtmlElementFromTextItemType(o),"data-testid":`ripley-core__text-item__${o}__component`,"data-foleon-id":n,styles:i},a),React.createElement(TextItemInner,null,r?React.createElement(RevealAnimationWrapper,{styles:i,revealAnimation:r},e):e))};function getThemeFromEntitiesState(e){const i=(e==null?void 0:e.theme)||{};return Object.values(i)[0]||Theme.entity.create()}function useTheme(e,i,n,o){const r=e(m=>{var E;if(!i||typeof i!="string"||!m.theme)return null;const g=m.theme[(E=Object.keys(m.theme))==null?void 0:E[0]];return g||null},[o]),a=r&&n&&r.entityStyles[n.key],s=useAssetsStoreState(),{loadFonts:l}=useFontLoader(),{styles:u,computed:c}=react.exports.useMemo(()=>!n||!a?{computed:{},styles:{}}:{computed:getComputedStyles$1(a)[n.size],styles:a[n.size]},[a]),d=react.exports.useMemo(()=>{const m=(n==null?void 0:n.size)&&mapStyleSizeToMediaQueries[n.size];if(a){const g=stylesToCSSTransformer(getComputedStyles$1(a),{font:fontToCSS(s,l)});return m?g[m]:g}return{}},[a,n==null?void 0:n.size]);return{entity:r,computed:c,styles:u,css:d}}function useThemeForEntity(e){return e(i=>getThemeFromEntitiesState(i))}function getThemeStyles(e,i){var n;if(isEmpty_1(e)||isEmpty_1(e.entityStyles))return{};switch(i.identity){case Template.identity:return e.entityStyles.page;case TextItem$1.identity:return i.type==="button",e.entityStyles[i.type];case Button$1.identity:if(i.parent.identity==="lead-gen")return{50:{font:f({},buttonBaseStyles["50"].font),box:f({},buttonBaseStyles["50"].box),border:f({},buttonBaseStyles["50"].border)},40:{},30:{},20:{}};if(((n=i.options)==null?void 0:n.type)==="secondary")return e.entityStyles[`${i.identity}-secondary`]}return e.entityStyles[i.identity]}function areObjects(e){return e.every(i=>typeof i=="object")}const firstStyleSize=orderedStyleSizes[0],lowerStyleSizes=orderedStyleSizes.slice(1);function mergeEntityStyleValue(e,i,n,o){var a,s;if(e==="column"&&n==="padding")return(a=i==null?void 0:i[o])==null?void 0:a.padding;let r=(s=i==null?void 0:i[firstStyleSize])==null?void 0:s[n];return o<firstStyleSize&&lowerStyleSizes.forEach(l=>{var u,c,d,m,g;if(l>=o){const E=(u=i==null?void 0:i[l])==null?void 0:u[n];if(isNil_1(E))return;areObjects([r,E])?(r=cjs(r,E),n==="font"&&(((d=(c=i==null?void 0:i[o])==null?void 0:c[n])==null?void 0:d.assetRef)?delete r.family:((g=(m=i==null?void 0:i[o])==null?void 0:m[n])==null?void 0:g.family)&&delete r.assetRef)):r=E}}),r}function mergeStyles(e,i,n){return orderedStyleSizes.reduce((o,r)=>{if(!(i==null?void 0:i[r]))return w(f({},o),{[r]:(n==null?void 0:n[r])||{}});const a=uniq_1([...Object.keys((n==null?void 0:n[r])||{}),...Object.keys(i[r])]);return w(f({},o),{[r]:a.reduce((s,l)=>{const u=mergeEntityStyleValue(e,n,l,r),c=i[r][l];if(u&&c){if(l==="font"){const d=u.assetRef?w(f({},c),{family:void 0}):u.family?w(f({},c),{assetRef:void 0}):c;return w(f({},s),{[l]:cjs(d,u)})}return w(f({},s),{[l]:areObjects([u,c])?cjs(c,u):u})}else return u?w(f({},s),{[l]:u}):c?w(f({},s),{[l]:c}):s},{})})},{})}function getMergedThemeStyles(e,i,n){return getMergedThemeStylesFromThemeEntity(i,n||getThemeFromEntitiesState(e))}function getMergedThemeStylesFromThemeEntity(e,i){const n=i&&getThemeStyles(i,e);return n?mergeStyles(e.identity,n,e.styles):e.styles}function getThemeStylesByIdentity(e,i){return e==null?void 0:e.entityStyles[i]}function getMergedThemeStylesByEntityType(e,i,n,o){const r=o||getThemeFromEntitiesState(e),a=getThemeStyles(r,i),s=r&&getThemeStylesByIdentity(r,n);return!a&&!s?i.styles:!a&&s?mergeStyles(i.identity,s,i.styles):mergeStyles(i.identity,cjs(s,a),i.styles)}const getNavigatorComputedStyles=e=>{const i={50:{},40:{},30:{},20:{}};if(!e)return i;for(let n=0;n<orderedStyleSizes.length;n++){const o=orderedStyleSizes[n],a=n===0?null:orderedStyleSizes[n-1],s=e[o]||{};n===0&&s?i[o]=s:a&&i[a]&&(i[o]=cjs(i[a],s))}return i};function useNavigator(e,i=50){const{loadFonts:n}=useFontLoader(),o=useAssetsStoreState(),r=e.navigation,a=e.entityStyles.paragraph,s=e.entityStyles["header-four"],l=react.exports.useMemo(()=>{const S=(T,x)=>{var A,R;const C=w(f({},omit_1(f({},T),["margin","border","padding","color"])),{font:omit_1(f({},T.font),["lineHeight","size"])});return((A=x==null?void 0:x.font)==null?void 0:A.assetRef)||((R=x==null?void 0:x.font)==null?void 0:R.family)?w(f({},C),{font:omit_1(f({},C.font),["assetRef","family"])}):C};return Object.keys(a).reduce((T,x)=>w(f({},T),{[x]:cjs(S(a[x],r.bar[x]),r.bar[x])}),{50:{},40:{},30:{},20:{}})},[a,r,i]),u=react.exports.useMemo(()=>Object.entries(l).reduce((S,[T,x])=>{var C,A;return w(f({},S),{[T]:{font:f({},((C=x.font)==null?void 0:C.family)?{family:x.font.family}:{assetRef:(A=x.font)==null?void 0:A.assetRef})}})},{50:{},40:{},30:{},20:{}}),[l]),{computedBarStyles:c}=react.exports.useMemo(()=>({computedBarStyles:getNavigatorComputedStyles(l)}),[l,i]),{cssText:d,fonts:m,cssFontFamily:g,cssPageIndicator:E}=react.exports.useMemo(()=>{const S=[];return{cssFontFamily:u?stylesToCSSTransformer(u,{font:fontToCSS(o,T=>S.push(...Array.isArray(T)?T:[T]))}):{},cssPageIndicator:l?stylesToCSSTransformer(l,{font:()=>{},active:(T,x)=>{!T||(x["& a:hover:after"]={backgroundColor:T},x["& a:active:after"]={backgroundColor:T},x["& a.active:after"]={backgroundColor:T})},background:()=>{}}):{},cssText:l?stylesToCSSTransformer(c,{font:fontToCSS(o,T=>S.push(...Array.isArray(T)?T:[T])),active:()=>{},background:()=>{}}):{},fonts:S}},[l,i]),h=react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{font:fontToCSS(o,S=>m.push(...Array.isArray(S)?S:[S]))}):{},[a,i]),I=react.exports.useMemo(()=>s?stylesToCSSTransformer(s,{font:fontToCSS(o,S=>m.push(...Array.isArray(S)?S:[S]))}):{},[s,i]),v=react.exports.useMemo(()=>r.prevNext?stylesToCSSTransformer(r.prevNext):{},[r.prevNext]);return react.exports.useEffect(()=>{n(m)},[n,m]),r==null?{navigator:{},cssText:d,nextPrevCss:v}:{navigator:r,cssText:d,computedBarStyles:c[i],nextPrevCss:v,cssFontFamily:g,cssPageIndicator:E,fontFamily:u,themeParagraphStyles:h,themeHeadingFourStyles:I}}const hotspotBoxToCSS=createBoxToCSS({overrides:{corners:(e,i)=>{if(!(!i||!isObject_1(i)))for(const n of getKeys(i))set_1(e,[camelCase_1(`border-${n}-radius`)],`${i[n]}px`),set_1(e,["& > a",camelCase_1(`border-${n}-radius`)],`${i[n]}px`)}}});function useHotspot(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}},[o==null?void 0:o.entityStyles.hotspot]),{styles:s,computed:l}=react.exports.useMemo(()=>({computed:getComputedStyles$1(a)[i],styles:r.styles[i]}),[r==null?void 0:r.styles,i,a]),u=react.exports.useMemo(()=>a?f({boxSizing:"border-box"},stylesToCSSTransformer(a,{box:hotspotBoxToCSS,visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}})):{},[a]);return{entity:r,styles:s,computed:l,css:u}}const getHoverImageIdentifier=(e,i)=>{var o,r,a,s,l,u,c,d;if(!e.styles)return null;let n=(s=(a=(r=(o=e.styles[i])==null?void 0:o.states)==null?void 0:r.hover)==null?void 0:a.icon)==null?void 0:s.identifier;if(!n&&i<Screensizes.xl){for(const m of getBiggerViewports(i).reverse())if(n=(d=(c=(u=(l=e.styles[m])==null?void 0:l.states)==null?void 0:u.hover)==null?void 0:c.icon)==null?void 0:d.identifier,n)break}return n||null},shouldUpdate=(e,i)=>e?e.height!==i.height||e.width!==i.width:!0,useHotspotQueries=(e,i,n,o,r)=>{const[a,s]=react.exports.useState(null),{entity:l,computed:u}=useHotspot(e,o,r),{imageEntity:c,videoEntity:d,computed:m}=useBackground(i,o,r);react.exports.useEffect(()=>{let v;const S=T=>{if(!Array.isArray(T)||!T.length)return;const x=T[0];if(shouldUpdate(a,x.contentRect)){let C,A;x.borderBoxSize&&x.borderBoxSize.length>0?{blockSize:C,inlineSize:A}=x.borderBoxSize[0]:{height:C,width:A}=x.contentRect,s({height:C,width:A})}};return n&&(v=new ResizeObserver(S),v.observe(n)),()=>{if(n&&v)return v.unobserve(n)}},[n]);const{getImageAsset:g,getVideoAsset:E}=useAssetsStoreQueries(),h=c&&g(c),I=d&&E(d.assetRef);return react.exports.useMemo(()=>{var v,S,T,x,C,A,R,_,F,N,D,O,B;return{backgroundPosition:(v=m.background)==null?void 0:v.position,backgroundX:(S=u.coordinates)==null?void 0:S.x,backgroundY:(T=u.coordinates)==null?void 0:T.y,containerHeight:a==null?void 0:a.height,containerWidth:a==null?void 0:a.width,data:(C=(x=l.options)==null?void 0:x.mouseover)==null?void 0:C.text,hotspotHeight:(A=u.box)==null?void 0:A.height,hotspotMouseoverPosition:(_=(R=l.options)==null?void 0:R.mouseover)==null?void 0:_.position,hotspotWidth:(F=u.box)==null?void 0:F.width,hotspotType:(N=l.options)==null?void 0:N.type,hoverImageId:getHoverImageIdentifier(l,o),imageHeight:h?(D=h.properties)==null?void 0:D.height:I==null?void 0:I.height,imageWidth:h?(O=h.properties)==null?void 0:O.width:I==null?void 0:I.width,isCustom:((B=l.options)==null?void 0:B.type)==="custom"}},[m,a,l,u,h,I,o])},calculateHotspotPosition=(e,i,n,o,r,a,s,l)=>{const u=e/n,c=i/o,d=u>c;let m=1,g=0,E=0;d?(m=u,E=(i-o*m)*(l/100)):(m=c,g=(e-n*m)*(s/100));const h=Math.round(a*m+E)||0,I=Math.round(r*m+g)||0;return{top:h,left:I}};var CSSIdentifiers$3;(function(e){e.Container="ripley__Image--container",e.FigureWrapper="ripley__Image--figure-wrapper",e.Image="ripley__Image--image"})(CSSIdentifiers$3||(CSSIdentifiers$3={}));const CustomHotspotStyledContainer=styled.div`
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	justify-content: center;
	align-items: center;

	.${CSSIdentifiers$3.Container} {
		position: absolute;
		z-index: 98;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	.${CSSIdentifiers$3.FigureWrapper} {
		height: 100%;
		margin-bottom: 0;
	}

	.${CSSIdentifiers$3.Image} {
		height: 100%;
		cursor: pointer;
	}
`,CustomHotspot=({children:e})=>React.createElement(CustomHotspotStyledContainer,null,e),defaultHotspotStyles=Ce`
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	pointer-events: none;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
`,DefaultHotspotStyledContainer=styled.div`
	${defaultHotspotStyles}
`,hotspotIconProps={size:25,"aria-hidden":!0},hotspotIcon=e=>{switch(e){case"default":return React.createElement(MdAdd,f({},hotspotIconProps));case"square":return React.createElement(MdAddBox,f({},hotspotIconProps));case"outline":return React.createElement(MdAddCircleOutline,f({},hotspotIconProps));case"target":return React.createElement(MdMyLocation,f({},hotspotIconProps));case"marker":return React.createElement(MdRoom,f({},hotspotIconProps))}},DefaultHotspot=({hotspotType:e="default",width:i=50,height:n=50,styles:o})=>React.createElement(DefaultHotspotStyledContainer,{style:f({height:n*.5,width:i*.5},o)},hotspotIcon(e));var Position;(function(e){e.top="top",e.bottom="bottom",e.left="left",e.right="right"})(Position||(Position={}));const TooltipStyledContainer=styled.div`
	cursor: default;
	display: flex;
	position: absolute;
	width: 300px;
	${({styles:e})=>e}
`,TooltipStyled=styled.div`
	cursor: default;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.87);
	color: #fff;
	padding: 12px 10px;
	text-align: center;
	font-family: Verdana;
	border-radius: 2;
	font-size: 16;
	z-index: 101;
	letter-spacing: initial;
`,Tooltip=({text:e,toggleShowTooltip:i,hotspotWidth:n,hotspotHeight:o,position:r})=>{const a=()=>i(!0),s=()=>i(!1),l=react.exports.useRef("2px"),u=react.exports.useCallback((m,g,E)=>{switch(m){case Position.top:return{marginBottom:l.current,bottom:`${E}px`};case Position.right:return{marginLeft:l.current,left:`${g}px`};case Position.left:return{marginRight:l.current,right:`${g}px`};case Position.bottom:default:return{marginTop:l.current,top:`${E}px`}}},[r,n,o]),c=react.exports.useCallback((m,g,E)=>f({justifyContent:m===Position.left?"flex-end":"flex-start",alignItems:m===Position.bottom?"flex-start":m===Position.top?"flex-end":"center"},u(m,g,E)),[r,n,o]),d=react.exports.useMemo(()=>Position[r]?Position[r]:Position.bottom,[]);return React.createElement(TooltipStyledContainer,{styles:f({},c(d,n,o)),onMouseEnter:a,onMouseLeave:s},e&&React.createElement(TooltipStyled,{"data-testid":"@foleon/maggie-viewer_hotspot-tooltip"},e))},HotspotStyledItem=styled.div`
	display: flex;
	position: absolute;
	z-index: 2 !important;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	justify-content: center;
	align-items: center;

	a {
		z-index: 99;
		height: 100%;
		min-width: 100%;
    cursor: pointer;
	}

	&:hover {
		z-index: 100;
	}

	${({custom:e})=>e&&`
			background-color: transparent !important;
			overflow: hidden;
		`}

	${({styles:e})=>e}
`,HotspotViewer=({children:e,data:i,hotspotHeight:n=50,hotspotMouseoverPosition:o="bottom",hotspotType:r,hotspotWidth:a=50,hoverImageId:s,isCustom:l=!1,renderWithEditorOptions:u=!1,styles:c,testId:d})=>{const[m,g]=react.exports.useState(!1),[E,h]=react.exports.useState(!1),I=react.exports.useMemo(()=>i!==null&&i!==""&&(m||E),[i,m,E]),v=()=>{g(!1)},S=()=>{g(!0)},T=C=>{(C.key==="Esc"||C.key==="Escape")&&(g(!1),h(!1))},x=()=>{const C=R=>React.isValidElement(R)&&i?Object.assign({},R,{props:w(f({},R.props),{tooltipText:i})}):R;if(!l){const R=_=>{if(React.isValidElement(_)&&u)return C(_);if(React.isValidElement(_)&&_.props.identity!=="image")return C(_)};return React.createElement(React.Fragment,null,e&&React.Children.map(e,R),React.createElement(DefaultHotspot,{hotspotType:r!=null?r:"",width:parseInt(a),height:parseInt(n)}))}const A=Array.isArray(e)&&s?e.filter(R=>{if(React.isValidElement(R)){const _=R.props.identity==="image",F=_&&R.props.id===s;return!_||(m?F:!F)}return!1}):e;return React.createElement(CustomHotspot,{"aria-hidden":!0},React.Children.map(A,C))};return React.createElement(React.Fragment,null,I&&React.createElement(Tooltip,{toggleShowTooltip:h,text:i,position:Position[o],hotspotWidth:a,hotspotHeight:n}),React.createElement(HotspotStyledItem,{custom:l,"data-testid":d,onMouseEnter:S,onMouseLeave:v,onFocus:S,onBlur:v,onKeyDown:T,className:"im-hotspot",styles:c,tabIndex:-1},x()))},getHotspotContainerStyles=({width:e,height:i,top:n,left:o})=>({marginLeft:-parseFloat(e)/2,marginTop:-parseFloat(i)/2,top:`${n}px`,left:`${o}px`,width:`${e}px`,height:`${i}px`}),HotspotStyledContainer$1=styled.div.attrs(({styles:e})=>({style:e}))`
	position: absolute;
	// zIndex override for usage with the editor
	z-index: ${({styles:e})=>{var i;return(i=e.zIndex)!=null?i:2}};

	:hover {
		z-index: 3;
	}

	& div.link-name-displayer {
		padding: 5px 4px;
		top: -5px;
		right: -10px;
	}
`,HotspotViewerContainer=({backgroundPosition:e={x:50,y:50},backgroundX:i,backgroundY:n,children:o,containerHeight:r,containerWidth:a,hotspotHeight:s=50,hotspotWidth:l=50,imageHeight:u=9,imageWidth:c=16,onSetRef:d=noop_1,styles:m,dataFoleonId:g})=>{const[E,h]=react.exports.useState({top:0,left:0}),I=getHotspotContainerStyles({width:l,height:s,top:E.top,left:E.left});return react.exports.useEffect(()=>{const v=calculateHotspotPosition(a,r,c,u,i!=null?i:0,n!=null?n:0,e.x,e.y);h(v)},[a,r,i,n,e.x,e.y,u,c]),E.top===0&&E.left===0?null:React.createElement(HotspotStyledContainer$1,{ref:d,className:"im-hotspot-container","data-foleon-id":g,styles:f(f({},I),m)},o)};var CSSIdentifiers$2;(function(e){e.BlockInnerWrapper="ripley__Block--wrapper-inner"})(CSSIdentifiers$2||(CSSIdentifiers$2={}));const defaultBlockCSS=()=>({boxSizing:"border-box",borderWidth:"0"}),numToPxVal=e=>isNaN(e)?e:e+"px",blockBackgroundToCSS=(e,i,n,o)=>{i?set_1(n,"backgroundColor","transparent"):isCSSGradient(e.color)?(set_1(n,"backgroundImage",`${o.backgroundImage?`${o.backgroundImage}, ${e.color}`:e.color}}`),set_1(n,"backgroundColor","transparent")):set_1(n,"backgroundColor",e.color)},orderedStyleSizesWithoutLG$1=orderedStyleSizes.filter(e=>e!==40),orderStylesToCSSTransformer$1=(e,i)=>{if(!e)return;const{isPrint:n}=getRenderingConfig();(n?[highestStyleSize]:orderedStyleSizesWithoutLG$1).forEach(o=>{var s,l;const r=mapStyleSizeToMediaQueries[o],a=(l=(s=e[o])==null?void 0:s.order)==null?void 0:l.order;a&&(o===Screensizes.xl?set_1(i,["order"],a):r&&set_1(i,[r,"order"],a))})},blockBoxToCSS=(e,i)=>{const n=getKeys(e);for(let o=0;o<n.length;o++){const r=n[o];if(r==="height"){const a=e==null?void 0:e[r];a==="vh"?(i.height="100vh",set_1(i,[mapMediaQueries.md,"minHeight"],"100vh"),set_1(i,[mapMediaQueries.md,"height"],"auto"),set_1(i,["@media only print","minHeight"],"100vh"),set_1(i,["@media only print","height"],"auto")):a&&parseInt(a,10)?(i.minHeight=`${a}px`,i.maxHeight="none"):i.height="auto"}else if(r==="width"){const a=e==null?void 0:e[r];a==="vw"?(i.maxWidth="none",i[`.${CSSIdentifiers$2.BlockInnerWrapper}`]={maxWidth:"none"}):(i[`.${CSSIdentifiers$2.BlockInnerWrapper}`]={maxWidth:"1024px"},a?i.width=`${a}px`:i.width="auto")}}},blockBoxScreenHeight=(e,i,n,o)=>{if(!n||!n.isScreenshot&&!n.isPrint||o<Screensizes.lg)return;const r=getKeys(e);for(let a=0;a<r.length;a++){const s=r[a];if(s==="height"){((e==null?void 0:e[s])==="vh"||i.height==="100vh")&&(n.screenHeight&&(i.height=numToPxVal(n.screenHeight),i.maxHeight=numToPxVal(n.screenHeight),i.minHeight=numToPxVal(n.screenHeight),n.isPrint&&set_1(i,["@media only print","minHeight"],numToPxVal(n.screenHeight))),(!n.screenHeight||n.screenHeight==="100vh")&&(i["page-break-before"]="always"));break}}},blockPaddingToCss=(e,i)=>{const n=getKeys(e),o=.6,r=.3;for(let a=0;a<n.length;a++){const s=n[a];if(!(e==null?void 0:e[s]))return;const l=e[s].value?parseInt(e[s].value,10):0,u=e[s].unit||"px",c=camelCase_1(`padding-${s}`);l>0&&(set_1(i,[c],`${l}${u}`),set_1(i,[mapMediaQueries.md,c],`${l*o}${u}`),set_1(i,[mapMediaQueries.sm,c],`${l*r}${u}`))}},blockNoTopSpacingOverrideCSSVar="--column-spacing-override-top-padding-top",blockNoBottomSpacingOverrideCSSVar="--column-spacing-override-bottom-bottom-display",blockChildStylesToCSS=(e,i)=>{if(!!e)for(const[n,o]of Object.entries(e))switch(n){case"column":Object.entries(o).forEach(([r,{top:a,bottom:s}])=>{r==="padding"&&((a==null?void 0:a.value)==="0"&&!i[blockNoTopSpacingOverrideCSSVar]?i[blockNoTopSpacingOverrideCSSVar]="0px":!(a==null?void 0:a.value)&&i[blockNoTopSpacingOverrideCSSVar]&&delete i[blockNoTopSpacingOverrideCSSVar],(s==null?void 0:s.value)==="0"&&!i[blockNoBottomSpacingOverrideCSSVar]?i[blockNoBottomSpacingOverrideCSSVar]="none":!(s==null?void 0:s.value)&&i[blockNoBottomSpacingOverrideCSSVar]&&delete i[blockNoBottomSpacingOverrideCSSVar])});break;default:return}};function useBlock(e,i,n,o,r){const{getImageAsset:a}=useAssetsStoreQueries(),s=useAssetsStoreState(),{entity:l,mergedThemeStyles:u,backgroundColorReset:c,backgroundStyles:d,backgroundsToSkip:m}=n(v=>{var _,F;const S=getEntityFromRef(v,e);if(!S)return{};const T=(_=S.refs)==null?void 0:_.filter(N=>N.identity===Hotspot.identity),x=[],C=[],A=(F=S.refs)==null?void 0:F.filter(N=>N.identity===Background.identity),R=!1;return A.forEach(N=>{var B,L;const D=getBackgroundEntityWithImageVideoAndTheme(v,N);if(D.entity.type!=="image")return;const O=getComputedStyles$1(D.mergedThemeStyles)[i];((B=O==null?void 0:O.background)==null?void 0:B.scrollRate)&&((L=O==null?void 0:O.background)==null?void 0:L.scrollRate)!=="1"||T.length||(x.push(D),C.push(N.id))}),{entity:S,mergedThemeStyles:getMergedThemeStyles(v,S,o),backgroundColorReset:R,backgroundStyles:x,backgroundsToSkip:C}}),g=react.exports.useMemo(()=>d.length?createBackgroundToInlineCSS(d,a):{},[d,s[AssetsCategories.images],s[AssetsCategories.externalImages]]),{styles:E,computed:h}=react.exports.useMemo(()=>l?{computed:getComputedStyles$1(u)[i],styles:l.styles[i]}:{styles:{},computed:{}},[l==null?void 0:l.styles,i]),I=react.exports.useMemo(()=>{if(!u)return{};const v=f(f({},defaultBlockCSS()),stylesToCSSTransformer(u,{animation:blockAnimationToCSS,box:(S,T)=>{blockBoxToCSS(S,T),blockBoxScreenHeight(S,T,r,i)},visibility:(S,T,x=Screensizes.xl)=>{visibilityToCSSByEntity(S,T,x,l)},padding:blockPaddingToCss,background:(S,T)=>{blockBackgroundToCSS(S,c,T,g)},childStyles:blockChildStylesToCSS}));return orderStylesToCSSTransformer$1(u,v),cjs(g,v)},[u,c,g]);return l?{entity:l,css:I,styles:E,computed:h,backgroundsToSkip:m}:{entity:{},styles:E,computed:h,css:{},backgroundsToSkip:[]}}function useBlockQueries(e,i){return i(n=>{var r,a,s;const o=(r=e.refs)==null?void 0:r.find(l=>l.identity==="background");return o?{backgroundType:(s=(a=n.background)==null?void 0:a[o.id])==null?void 0:s.type}:{backgroundType:null}})}function onlyBlockRefs(e){return e.identity===identity$F}const setTriggerContentAnimationOnce=(e,i)=>{set_1(e,"triggerContentAnimationOnce",i)},VIEWER_BAR_HEIGHT="52px",getTopBasedOnViewerBarVisibility=()=>getTopCssValue(getHasTopBar()),getTopCssValue=e=>e?VIEWER_BAR_HEIGHT:"0px",isViewerHost=e=>/^(localhost:[0-9]{1,4})|(viewer\.foleon\.com)|(viewer\.staging\.foleon\.cloud)|([0-9]{1,4}\.viewer-staging\.pages\.dev)|([0-9]{1,4}-viewer\.qa\.staging\.foleon\.cloud)|(viewer\.acceptance\.foleon\.cloud)$/.test(e),PERSONALIZE=/^\/personalize\/[a-zA-Z0-9_-]+\//,PREVIEW=/^\/preview\/[a-zA-Z0-9_-]+\//,REVIEW_LEGACY=/^\/(?:review\/)?[0-9]+\//,REVIEW=/^\/comments\/[a-zA-Z0-9_-]+\//,isPersonalizingDoc=()=>{if(typeof window!="undefined"){const{pathname:e,host:i}=window.location;return isViewerHost(i)&&PERSONALIZE.test(e)}return!1},isPreviewingDoc=()=>{if(typeof window!="undefined"){const{pathname:e,host:i}=window.location;return isViewerHost(i)&&PREVIEW.test(e)}return!1},isReviewingDoc=()=>{if(typeof window!="undefined"){const{pathname:e,host:i}=window.location;return isViewerHost(i)&&(REVIEW.test(e)||REVIEW_LEGACY.test(e))}return!1},getHasTopBar=()=>isPreviewingDoc()||isReviewingDoc()||isPersonalizingDoc();var VisibilitiesEnum;(function(e){e.SCREEN_FULL="SCREEN_FULL",e.SCREEN_MIN="SCREEN_MIN",e.ANIMATION_IN="ANIMATION_IN",e.ANIMATION_OUT="ANIMATION_OUT"})(VisibilitiesEnum||(VisibilitiesEnum={}));var ScrollDirectionEnum;(function(e){e.UP="UP",e.DOWN="DOWN"})(ScrollDirectionEnum||(ScrollDirectionEnum={}));class IntersectionObserverStore{constructor(){b(this,"observers",new Map)}deleteObserver(i){return this.observers.delete(i)}setObserver(i,n){return this.observers.set(i,n)}getObserver(i){return this.observers.get(i)}hasObserver(i){return this.observers.has(i)}}const store=new IntersectionObserverStore;function observe(e,i,n,o){let r=createIntersectionObserver(n,o);const a=n.reduce((u,{name:c})=>(u[c]={isVisible:!1,hasBeenInViewport:null},u),{}),[s,l]=getScrollDirection(e);return store.setObserver(e,{callback:i,inViewData:a,scrollDirection:s,lastScrollTop:l}),r.observe(e),()=>{store.deleteObserver(e),r.unobserve(e),r.disconnect(),r=null}}function createIntersectionObserver(e,i){const n=e.map(({factor:o})=>o).sort();return new IntersectionObserver(o=>updateObserverStoreAndEmitChanges(o,e,i),{root:null,rootMargin:"0px 0px 0px 0px",threshold:n})}function getScrollDirection(e,i){const n=e.getBoundingClientRect().top;return[(i?n<=i:!0)?ScrollDirectionEnum.DOWN:ScrollDirectionEnum.UP,n]}function updateObserverStoreAndEmitChanges(e,i,n){e.forEach(o=>{const{isIntersecting:r,target:a,intersectionRatio:s}=o,l=store.getObserver(a),[u,c]=getScrollDirection(a,l==null?void 0:l.lastScrollTop);if(!l)return;const d=i.reduce((g,{name:E,factor:h})=>{var v;const I=r&&s>=h;return w(f({},g),{[E]:{isVisible:I,hasBeenInViewport:((v=l.inViewData[E])==null?void 0:v.hasBeenInViewport)?!0:I}})},{});store.setObserver(a,w(f({},l),{inViewData:d,scrollDirection:u,lastScrollTop:c}));const m=store.getObserver(a);m&&emitUpdate(l,m,n)})}function shouldEmitUpdate(e,i,n){return e.inViewData&&i.inViewData&&!isEqual_1(e.inViewData,i.inViewData)?e.scrollDirection!==i.scrollDirection?n:!0:!1}function emitUpdate(e,i,n){shouldEmitUpdate(e,i,n)&&e.callback(i.inViewData,i.scrollDirection)}function useViewportObserver({factors:e=[],isTransitioning:i=!1,shouldUpdateWhenScrollDirectionChanges:n=!1}){const[o,r]=react.exports.useState(null),[a,s]=react.exports.useState({inView:{},isTriggered:!1,scrollDirection:ScrollDirectionEnum.DOWN}),l=react.exports.useCallback((c,d)=>{s({inView:c,isTriggered:!0,scrollDirection:d})},[]),u=react.exports.useCallback(c=>{c&&!o&&r(c)},[o]);return react.exports.useEffect(()=>{if(!o||!(e==null?void 0:e.length)||i)return;let c=1;const d=Math.max(document.documentElement.clientHeight,window.innerHeight||0);o.clientHeight>=d&&(c=o.clientHeight/d);const m=e.map(({name:E,factor:h})=>({name:E,factor:parseFloat((h/c).toFixed(3))})),g=observe(o,l,m,n);return()=>{g()}},[o,i]),w(f({},a),{viewportObserverRef:u,htmlNode:o})}function isVisible(e,i){var n;return Boolean((n=i[e])==null?void 0:n.isVisible)}const HotspotStyledContainer=styled.div`
	display: flex;
	position: relative;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	min-height: 100%;
	border-radius: inherit;
	justify-content: center;
	overflow: visible;

	${({styles:e})=>e}
`,HotspotWrap=({children:e,dropRef:i=null,shouldNotRender:n=!1,styles:o})=>n?React.createElement(React.Fragment,null,e):React.createElement(HotspotStyledContainer,{styles:o,ref:i},e),getVisibility=(e,i,n)=>n?i:e;var Actions;(function(e){e.START="start",e.FREEZE="freeze",e.DEFER="defer"})(Actions||(Actions={}));var States;(function(e){e.IDLE="idle",e.DEFERRED="deferred",e.FROZEN="frozen",e.ACTIVE="active"})(States||(States={}));const machine={[States.DEFERRED]:{[Actions.START]:States.ACTIVE},[States.ACTIVE]:{[Actions.DEFER]:States.DEFERRED,[Actions.FREEZE]:States.FROZEN},[States.FROZEN]:{[Actions.START]:States.ACTIVE,[Actions.FREEZE]:States.FROZEN,[Actions.DEFER]:States.FROZEN},[States.IDLE]:{[Actions.START]:States.ACTIVE,[Actions.DEFER]:States.DEFERRED,[Actions.FREEZE]:States.FROZEN}},transition=(e,i)=>{const n=machine[e][i];return{newState:n,prevState:e,isChanged:n!==e}},shouldBlock=e=>e.hasBeenInViewport&&e.triggerContentAnimationOnce&&!e.isInEditor;class ViewportCSSNotifier extends React.Component{constructor(i){super(i);b(this,"handleAnimationState");b(this,"machineState");b(this,"prevMachineState");b(this,"htmlNode");b(this,"_isVisible");this.handleCSSClass=this.handleCSSClass.bind(this),this.handleViewportUpdate=this.handleViewportUpdate.bind(this),this.setAnimationReadyState=this.setAnimationReadyState.bind(this),this._isVisible=!1,this.machineState=shouldBlock(i)?States.FROZEN:States.IDLE,this.htmlNode=i.htmlNode||null}componentDidMount(){this.props.isTransitioning?this.props.isTransitioning&&(this.setAnimationReadyState(Actions.DEFER),this.handleViewportUpdate(this.props)):(this.setAnimationReadyState(Actions.START),this.handleViewportUpdate(this.props))}componentDidUpdate(i){this.machineState===States.DEFERRED&&!this.props.isTransitioning&&(this.setAnimationReadyState(Actions.START),this.handleViewportUpdate(this.props)),this.machineState===States.ACTIVE&&!this.props.isTransitioning&&this.handleViewportUpdate(this.props),this.props.triggerContentAnimationOnce!==i.triggerContentAnimationOnce&&(this.props.triggerContentAnimationOnce?this.setAnimationReadyState(Actions.FREEZE):this.props.triggerContentAnimationOnce||this.setAnimationReadyState(Actions.START)),this.props.isInEditor?(this.setAnimationReadyState(Actions.DEFER),this.handleViewportUpdate(this.props)):this.props.styleSize!==i.styleSize&&this.handleViewportUpdate(this.props)}setAnimationReadyState(i){const{newState:n,prevState:o}=transition(this.machineState,i);this.machineState=n,this.prevMachineState=o}handleViewportUpdate(i){this.machineState===States.DEFERRED?this.handleCSSClass(i,!0,!1):this.machineState===States.ACTIVE?this.handleCSSClass(i,!1,!1):this.machineState===States.FROZEN&&this.handleCSSClass(i,!1,!0)}handleCSSClass(i,n=!1,o=!1){const{htmlNode:r}=this,{scrollDirection:a,outTrigger:s,inTrigger:l,triggerContentAnimationOnce:u}=i;if(r!=null){if(this.machineState===States.FROZEN){o&&r.classList.add("in-viewport-fired"),this.props.isInEditor&&(r.classList.remove("in-viewport-fired"),r.classList.add("in-viewport"));return}const c=a==="DOWN",d=getVisibility(l,s,this._isVisible);d?(r.classList.remove("in-viewport-pending"),r.classList.add("in-viewport"),this._isVisible=!0,u&&this.setAnimationReadyState(Actions.FREEZE)):(!d||n)&&(r.classList.add("in-viewport-pending"),r.classList.remove("in-viewport"),this._isVisible=!1),c?(r.classList.add("scrolling-down"),r.classList.remove("scrolling-up")):(r.classList.add("scrolling-up"),r.classList.remove("scrolling-down"))}}render(){return null}}b(ViewportCSSNotifier,"defaultProps",{isInEditor:!1});const BlockStyledContainer=styled.section`
	display: flex;
	width: 100%;
	justify-content: center;
	min-height: 50px;
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	border-radius: inherit;

	${({stylesMergedWithCornerStyles:e})=>e}
`,BlockInnerStyledContainer=styled.div`
	flex: 1 1 auto;
	display: flex;
	width: 100%;
	border-radius: inherit;
	max-width: 1024px;
`,BlockActiveIndicator=styled.div`
	position: absolute;
	outline: rgb(146, 0, 220) solid 1px;
	pointer-events: none;
	z-index: 38;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
`,setRefs=(e,i=[],n=[])=>{[...i,...n].forEach(o=>o(e))},Inner=({htmlNode:e,inView:i,refSetters:n,children:o,scrollDirection:r,stylesMergedWithCornerStyles:a,triggerContentAnimationOnce:s,isTransitioning:l,shouldRenderWithHotspotWrapper:u,refs:c,blockId:d,shouldDisplayActiveIndicator:m,onMouseEnter:g,onMouseLeave:E,isInEditor:h,styleSize:I,style:v})=>{var S;return React.createElement(BlockStyledContainer,{id:d,stylesMergedWithCornerStyles:a,"data-testid":"@foleon/maggie-viewer_section-component",ref:T=>setRefs(T,c,n),onMouseEnter:g,onMouseLeave:E,style:v,"data-foleon-id":d,role:"presentation",tabIndex:0},m&&React.createElement(BlockActiveIndicator,null),React.createElement(HotspotWrap,{shouldNotRender:!u},React.createElement(BlockInnerStyledContainer,{className:CSSIdentifiers$2.BlockInnerWrapper},o)),e!=null&&!isEmpty_1(i)&&React.createElement(ViewportCSSNotifier,{hasBeenInViewport:Boolean((S=i[VisibilitiesEnum.ANIMATION_IN])==null?void 0:S.hasBeenInViewport),htmlNode:e,isInEditor:h,isTransitioning:l,inTrigger:isVisible(VisibilitiesEnum.ANIMATION_IN,i),outTrigger:isVisible(VisibilitiesEnum.ANIMATION_OUT,i),scrollDirection:r,styleSize:I,triggerContentAnimationOnce:s}))},createEditorAdditionalStyles=(e=!1,i=!1,n)=>f(f(f({},n),e?{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}:{}),i?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:{}),BlockViewerContainer=({shouldRenderWithHotspotWrapper:e=!1,sectionScrollNavigation:i=!1,shouldRenderWithResizeListener:n,isTopSection:o,isBottomSection:r,styleSize:a,styles:s,triggerContentAnimationOnce:l=!0,children:u,isTransitioning:c=!1,refSetters:d,visibilityTriggerAnimateIn:m={name:"ANIMATION_IN",factor:.05},visibilityTriggerAnimateOut:g={name:"ANIMATION_OUT",factor:.1},shouldDisplayActiveIndicator:E,blockId:h,isInEditor:I})=>{const v=createEditorAdditionalStyles(o,r,s);v.height==="100vh"&&(v.height=`calc(100vh - ${getTopBasedOnViewerBarVisibility()})`);const{inView:S,viewportObserverRef:T,htmlNode:x,scrollDirection:C,isTriggered:A}=useViewportObserver({factors:[m,g],isTransitioning:c,shouldUpdateWhenScrollDirectionChanges:!0});return n?React.createElement(WithResizeListener,null,({containerWidth:R,containerHeight:_,containerTop:F,containerLeft:N,resizeListenerRef:D})=>React.createElement(Inner,{stylesMergedWithCornerStyles:v,inView:S,refSetters:d,refs:[T,D],htmlNode:x,isInEditor:I,scrollDirection:C,styleSize:a,isTriggered:A,triggerContentAnimationOnce:l,isTransitioning:c,shouldDisplayActiveIndicator:E,shouldRenderWithHotspotWrapper:e,blockId:h},React.Children.map(u,O=>O!=null&&React.cloneElement(O,{containerHeight:_,containerWidth:R,containerTop:F,containerLeft:N,sectionScrollNavigation:i,shouldRenderWithHotspotWrapper:e})))):React.createElement(Inner,{stylesMergedWithCornerStyles:v,inView:S,refs:[T],refSetters:d,htmlNode:x,scrollDirection:C,isTriggered:A,triggerContentAnimationOnce:l,isTransitioning:c,isInEditor:I,shouldDisplayActiveIndicator:E,shouldRenderWithHotspotWrapper:e,styleSize:a,blockId:h},u)},MAX_COLS=24,getGridStyle=(e=2,i=MAX_COLS,n=30,o=!0)=>{const r=`calc(${e/i*100}% - ${(1-e/i)*n}px) ${o?"!important":""}`;return{flexBasis:r,maxWidth:r}},orderedStyleSizesWithoutLG=orderedStyleSizes.filter(e=>e!==40),gridStylesToCSSTransformer=(e,i,n)=>{if(!e||!i)return;const{isPrint:o}=getRenderingConfig();(o?[highestStyleSize]:orderedStyleSizesWithoutLG).forEach(r=>{var c,d;const a=mapStyleSizeToMediaQueries[r],s=r<Screensizes.xl?MAX_COLS:Number(((d=(c=e.styles[r])==null?void 0:c.grid)==null?void 0:d.column)||2),l=getInheritStyleValueFromPath(i,r,["grid","gutter"]),u=getGridStyle(s,MAX_COLS,Number(l||30));r===Screensizes.xl?(set_1(n,["flexBasis"],u.flexBasis),set_1(n,["maxWidth"],u.maxWidth)):a&&(set_1(n,[a,"flexBasis"],u.flexBasis),set_1(n,[a,"maxWidth"],u.maxWidth),set_1(n,[a,"flex"],"0 0 auto"))})},columnBackgroundToCSS=(e,i,n)=>{isCSSGradient(e.color)?(set_1(i,"backgroundImage",`${n.backgroundImage?`${n.backgroundImage}, ${e.color}`:e.color}}`),set_1(i,"backgroundColor","transparent")):set_1(i,"backgroundColor",e.color)},columnInnerClass=".im-column-inner",columnCssSelector=`&${columnInnerClass}, & ${columnInnerClass}`,columnPaddingBottomSelector=`&${columnInnerClass}::after, & ${columnInnerClass}::after`,handleResponsiveSpacingsOverride=(e,i,{isFirstColumn:n,isLastColumn:o,numberOfColumns:r},a)=>{const s=(u,c)=>{const d=get_1(c,[...u?[u]:[],columnCssSelector,"paddingTop"]);set_1(c,[...u?[u]:[],columnCssSelector,"paddingTop"],`var(${blockNoTopSpacingOverrideCSSVar}, ${d})`)},l=(u,c)=>{set_1(c,[...u?[u]:[],columnPaddingBottomSelector,"display"],`var(${blockNoBottomSpacingOverrideCSSVar}, block) !important`)};i===null?(s(i,e),l(i,e)):a===1||n?s(i,e):(a===r||o)&&l(i,e)},orderStylesToCSSTransformer=(e,i,n)=>{if(!e)return;const{isPrint:o}=getRenderingConfig();(o?[highestStyleSize]:orderedStyleSizesWithoutLG).forEach(r=>{var l,u;const a=mapStyleSizeToMediaQueries[r],s=(u=(l=e.styles[r])==null?void 0:l.order)==null?void 0:u.order;s&&(r===Screensizes.xl&&set_1(i,["order"],s),a&&set_1(i,[a,"order"],s)),handleResponsiveSpacingsOverride(i,a,n,s)})},borderRadiusStylesToCSSTransformer=(e,i,n)=>{const o=f(f({},e?{borderTopLeftRadius:"inherit"}:{}),i?{borderBottomRightRadius:"inherit"}:{});return n===Screensizes.xl||n===Screensizes.lg?(e&&(o.borderBottomLeftRadius="inherit"),i&&(o.borderTopRightRadius="inherit")):(i&&(o.borderBottomLeftRadius="inherit"),e&&(o.borderTopRightRadius="inherit")),o},columnPaddingToCSS=(e,i,n)=>{const o=getRenderingConfig(),r=getKeys(e),a=(l,u)=>{set_1(i,[columnCssSelector,l],u)},s=()=>{set_1(i,[columnPaddingBottomSelector],{content:'" "',display:"block",minHeight:`${e.bottom.value}${e.bottom.unit||"px"}`})};for(let l=0;l<r.length;l++){const u=r[l];if(!(e==null?void 0:e[u]))return;if(u==="bottom")s();else{let c=`${e[u].value}${e[u].unit||"px"}`;if(n&&n>=Screensizes.lg&&o&&o.isScreenshot&&o.screenHeight&&(e[u].unit==="vh"||e[u].unit==="vw")){const d=Number.parseInt(e[u].value,10),m=Number.parseInt(o.screenHeight,10);m&&d&&(c=`${m*(d/100)}px`)}a(camelCase_1(`padding-${u}`),c)}}},columnBoxToCSS=createBoxToCSS({overrides:{alignment:(e,i,n)=>{const o=getTextAlign(i==null?void 0:i.horizontal),r=getJustifyContent(i==null?void 0:i.vertical);(i==null?void 0:i.horizontal)&&set_1(e,[".im-column-inner","align-items"],getAlignContent(i==null?void 0:i.horizontal)),n==null||n("text-align",o),n==null||n("justify-content",r)}}}),getGridColumn=(e,i)=>{var o,r;if(!e.styles)return 0;let n=(o=e.styles[i].grid)==null?void 0:o.column;if(!n&&i<Screensizes.xl){for(const a of getBiggerViewports(i).reverse())if(n=(r=e.styles[a].grid)==null?void 0:r.column,n)break}return Number(n)||0},isFullHeight=(e,i)=>{let n=getIsFullHeight(e[i]);if(!n&&i<Screensizes.xl){for(const o of getBiggerViewports(i).reverse())if(n=getIsFullHeight(e[o]),n)break}return n},isFullWidth=(e,i)=>{let n=getIsFullWidth(e[i]);if(!n&&i<Screensizes.xl){for(const o of getBiggerViewports(i).reverse())if(n=getIsFullWidth(e[o]),n)break}return n},isFirstColumn=(e,i)=>{const[n]=i;return n&&e.id===n.id||!1},isLastColumn=(e,i)=>{const n=i[i.length-1];return n&&e.id===n.id||!1};function sumArray(e){return e.reduce((i,n)=>i+n,0)}function getDifferenceBetweenTwoArrays(e,i){if(e.length!==i.length)throw new Error("To get the difference between each of the values in the two arrays, they need to have the same length");return e.map((n,o)=>n-i[o])}function hasGoalBeenReached(e,i){return sumArray(e)===i}function getPercentages(e){const i=sumArray(e);return e.map(n=>n/i)}function getRightmostIndexOfMaxValue(e){return e.reduceRight((n,o,r,a)=>o>a[n]?r:n,e.length-1)}function getMinValue(e){return e.reduceRight((i,n)=>n<i?n:i,1/0)}function getIndicesThatWouldNotReturnZeroAfterLowering(e){return e.reduce((i,n,o)=>{const r=i.slice();return n-1>=1&&r.push(o),r},[])}function getRightmostIndexOfMinValueButSkipIndexesThatWouldLeadToZeroWidths(e,i){let n=e.reduceRight((o,r,a,s)=>r<s[o]&&i[a]-1>=1?a:o,0);if(i[n]-1<1){const o=getIndicesThatWouldNotReturnZeroAfterLowering(i);n=e.reduceRight((r,a,s,l)=>a<l[r]&&o.includes[s]?s:r,getMinValue(o))}return n}const gridSize=24;function balance(e,i){e.forEach(d=>{if(d<0)throw new Error("Columns can never be less than one grid column wide and should be zero if their width is undefined.")});const n=e.reduce((d,m)=>{const g=d.sum+m,E=d.count+(m===0?1:0),h=Math.max(Math.floor((i-g<1?1:i-g)/E),1);return{sum:g,count:E,zeroReplaceValue:h}},{sum:0,count:0,zeroReplaceValue:1}),o=e.map(d=>d===0?n.zeroReplaceValue:d),r=getPercentages(o),l=r.map(d=>i*d).map(d=>Math.max(Math.floor(d),1)).slice(),u=(d=!0)=>{if(hasGoalBeenReached(l,i))return;const m=getPercentages(l),g=getDifferenceBetweenTwoArrays(r,m);d?l[getRightmostIndexOfMaxValue(g)]+=1:l[getRightmostIndexOfMinValueButSkipIndexesThatWouldLeadToZeroWidths(g,l)]-=1},c=i-sumArray(l)>0;for(;!hasGoalBeenReached(l,i);)u(c);return l}const balanceColumnGrid=e=>balance(e,gridSize);function useColumn(e,i,n,o){const{getImageAsset:r}=useAssetsStoreQueries(),a=useAssetsStoreState(),{entity:s,columnWithMergedThemeStyles:l,rowWithMergedThemeStyles:u,mergedThemeStyles:c,backgroundStyles:d}=n(T=>{var R;const x=getEntityFromRef(T,e);if(!x)return{};const A=((R=x.refs)==null?void 0:R.filter(_=>_.identity==="background")).map(_=>getBackgroundEntityWithImageVideoAndTheme(T,_));return{entity:x,columnWithMergedThemeStyles:getAncestorEntityWithMergedThemeStyles(x,"column",T,o),rowWithMergedThemeStyles:getAncestorEntityWithMergedThemeStyles(x,"row",T,o),blockWithMergedThemeStyles:getAncestorEntityWithMergedThemeStyles(x,"block",T,o),mergedThemeStyles:getMergedThemeStyles(T,x,o),backgroundStyles:A}}),m=react.exports.useMemo(()=>(d==null?void 0:d.length)?createBackgroundToInlineCSS(d,r):{},[d,a[AssetsCategories.images],a[AssetsCategories.externalImages]]),S=m,{backgroundImage:g}=S,E=W(S,["backgroundImage"]),{styles:h,computed:I}=react.exports.useMemo(()=>s===null?{computed:null,styles:null}:{computed:getComputedStyles$1(c)[i],styles:s==null?void 0:s.styles[i]},[s==null?void 0:s.styles,i]),v=react.exports.useMemo(()=>{let T={};const x=(u==null?void 0:u.refs.filter(R=>R.identity==="column"))||[],C=isFirstColumn(s,x),A=isLastColumn(s,x);return c&&l&&(T=f(f({},stylesToCSSTransformer(c,{padding:columnPaddingToCSS,box:columnBoxToCSS,visibility:(R,_,F=Screensizes.xl)=>{visibilityToCSSByEntity(R,_,F,s)},background:(R,_)=>{columnBackgroundToCSS(R,_,m)}})),borderRadiusStylesToCSSTransformer(C,A,i)),gridStylesToCSSTransformer(l,u,T),orderStylesToCSSTransformer(l,T,{isFirstColumn:C,isLastColumn:A,numberOfColumns:x.length})),cjs(T,isCSSGradient(T.backgroundImage)?E:m)},[c,l==null?void 0:l.styles,u==null?void 0:u.styles,u==null?void 0:u.refs,i,m]);return s===null?{entity:{},css:v,styles:h,computed:I}:{entity:s,css:v,styles:h,computed:I}}function useColumnQueries(e,i,n){const{blockStyles:o,columns:r}=i(d=>{const m=getAncestorEntityWithMergedThemeStyles(e,"block",d),g=getAncestorEntity(e,"row",d);return{blockStyles:m&&m.styles?m.styles:{},columns:(g==null?void 0:g.refs.filter(E=>E.identity==="column"))||[]}}),{fullWidth:a,fullHeight:s,gridColumn:l,firstColumn:u,lastColumn:c}=react.exports.useMemo(()=>({fullWidth:isFullWidth(o,n),fullHeight:isFullHeight(o,n),gridColumn:getGridColumn(e,n),firstColumn:isFirstColumn(e,r),lastColumn:isLastColumn(e,r)}),[o,e,n,r]);return{fullWidth:a,fullHeight:s,gridColumn:l,firstColumn:u,lastColumn:c}}var BarPosition;(function(e){e.Bottom="bottom",e.BottomWithMenu="bottom-withMenuBar",e.Float="float",e.Left="left",e.Right="right",e.Top="top",e.TopWithMenu="top-withMenuBar"})(BarPosition||(BarPosition={}));const BAR_HEIGHT=57;var PageArrowsPlacement;(function(e){e.Center="Center",e.Bottom="Bottom"})(PageArrowsPlacement||(PageArrowsPlacement={}));var SneakPreviewType;(function(e){e.Card="Card",e.Tooltip="Tooltip"})(SneakPreviewType||(SneakPreviewType={}));var PageOverviewType;(function(e){e.Grid="Grid",e.Horizontal="Horizontal",e.NewGrid="NewGrid"})(PageOverviewType||(PageOverviewType={}));const PAGE_DESCRIPTION_LENGTH=144;function useColumnScroll(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}},[e==null?void 0:e.id]),{styles:s,computed:l}=react.exports.useMemo(()=>r===null?{computed:{},styles:{}}:{computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]},[r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a):{},[a]);return r===null?{entity:{},css:u,styles:s,computed:l}:{entity:r,css:u,styles:s,computed:l}}var ScrollDirection;(function(e){e.Down="down",e.Up="up"})(ScrollDirection||(ScrollDirection={}));const getBarOffset=e=>({container:e===BarPosition.Left?{height:100,measure:"vh"}:{height:57,measure:"px"},inner:e===BarPosition.Left?{width:60,measure:"px"}:void 0}),buttonsWrapperStylesToCSS=e=>{const i=getBarOffset(e);return{position:"absolute",bottom:`${(e===BarPosition.Bottom?i.container.height:0)+20}px`,left:`${(i.inner&&e===BarPosition.Left?i.inner.width:0)+20}px`}},innerPaddingLeftToCSS=e=>{const i=getBarOffset(e).inner;return i&&e===BarPosition.Left?{paddingLeft:i.width+i.measure}:{}},BOTTOM_REACHED_SCROLL_MEASURE_COMPENSATION=1,SCROLL_BUTTON_ICON_SIZE=40,SCROLL_DISTANCE_PER_CLICK=200,SCROLL_DURATION_ON_CLICK=600,SCROLL_DEBOUNCE_TIME_IN_MS=400,SCROLL_THROTTLE_TIME_IN_MS=50,animationStyles={fadeIn:{opacity:1,transition:"opacity 0.3s",visibility:"visible"},fadeOut:{opacity:0,transition:"opacity 0.3s, visibility 0s 0.3s",visibility:"hidden"}},ColumnScrollButtonsStyledContainer=styled.div`
	display: block;
	position: absolute;
	z-index: 40;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	pointer-events: none;
`,ColumnScrollButtonsCanvas=styled.div`
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	pointer-events: none;
`,ColumnScrollButtonsWrapper=styled.div`
	${({styles:e})=>!isEmpty_1(e)&&Ce`
			${e}
		`}
`,ColumnScrollButton=styled.div`
	overflow: hidden;
	width: ${SCROLL_BUTTON_ICON_SIZE}px;
	background: rgba(125, 125, 125, 0.5);
	color: white;
	cursor: pointer;
	pointer-events: all;
	${({styles:e})=>!isEmpty_1(e)&&Ce`
			${e}
		`}
`,ColumnScrollButtons=({barPosition:e,buttonStyles:i,hideButtons:n,isBottomReached:o=!1,isTopReached:r=!0,onScrollDownMouseDown:a,onScrollDownMouseUp:s,onScrollUpMouseDown:l,onScrollUpMouseUp:u,show:c})=>{const d=buttonsWrapperStylesToCSS(e),m=f(f({},n?animationStyles.fadeOut:animationStyles.fadeIn),i),g=f(f({},m),o&&{pointerEvents:"none",visibility:"hidden"}),E=f(f({marginBottom:"6px"},m),r&&{pointerEvents:"none",visibility:"hidden"});return c?React.createElement(ColumnScrollButtonsStyledContainer,null,React.createElement(ColumnScrollButtonsCanvas,null,React.createElement(ColumnScrollButtonsWrapper,{"data-scroll":"buttons",styles:d},React.createElement(ColumnScrollButton,{onMouseDown:l,onMouseUp:u,"aria-label":"hidden",styles:E,tabIndex:1,onKeyDown:h=>{(h.key==="Enter"||h.keyCode===13)&&(h.stopPropagation(),l())},"data-testid":"@foleon/maggie-viewer_column-scroll-up-button"},React.createElement(MdKeyboardArrowUp,{size:SCROLL_BUTTON_ICON_SIZE})),React.createElement(ColumnScrollButton,{onMouseDown:a,onMouseUp:s,"aria-label":"hidden",styles:g,tabIndex:1,onKeyDown:h=>{(h.key==="Enter"||h.keyCode===13)&&(h.stopPropagation(),a())},"data-testid":"@foleon/maggie-viewer_column-scroll-down-button"},React.createElement(MdKeyboardArrowDown,{size:SCROLL_BUTTON_ICON_SIZE}))))):null},constants={linear:"@scroll/easing/linear",easeInQuad:"@scroll/easing/easeInQuad",easeOutQuad:"@scroll/easing/easeOutQuad",easeInOutQuad:"@scroll/easing/easeInOutQuad",easeInCubic:"@scroll/easing/easeInCubic",easeOutCubic:"@scroll/easing/easeOutCubic",easeInOutCubic:"@scroll/easing/easeInOutCubic",easeInQuart:"@scroll/easing/easeInQuart",easeOutQuart:"@scroll/easing/easeOutQuart",easeInOutQuart:"@scroll/easing/easeInOutQuart",easeInQuint:"@scroll/easing/easeInQuint",easeOutQuint:"@scroll/easing/easeOutQuint",easeInOutQuint:"@scroll/easing/easeInOutQuint"},easing={};easing[constants.linear]=e=>e;easing[constants.easeInQuad]=e=>e*e;easing[constants.easeOutQuad]=e=>e*(2-e);easing[constants.easeInOutQuad]=e=>e<.5?2*e*e:-1+(4-2*e)*e;easing[constants.easeInCubic]=e=>e*e*e;easing[constants.easeOutCubic]=e=>--e*e*e+1;easing[constants.easeInOutCubic]=e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1;easing[constants.easeInQuart]=e=>e*e*e*e;easing[constants.easeOutQuart]=e=>1- --e*e*e*e;easing[constants.easeInOutQuart]=e=>8*e*e*e*e;easing[constants.linear]=e=>e*e*e*e*e;easing[constants.linear]=e=>1+--e*e*e*e*e;easing[constants.linear]=e=>16*e*e*e*e*e;const ColumnScrollInnerStyledContainer=styled.div`
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	display: inherit;
	flex-direction: inherit;
	justify-content: inherit;
	align-items: inherit;
	width: 100%;

	${({styles:e})=>e}

	.item-section-column-children-container-inner {
		display: inherit;
		flex: inherit;
		flex-direction: inherit;
		justify-content: inherit;
		align-items: inherit;
		width: 100%;
	}
`,ColumnScrollInner=({barPosition:e,children:i,handleScroll:n,innerClassName:o,innerRef:r,scrollable:a})=>{const s=f({},innerPaddingLeftToCSS(e));return React.createElement(ColumnScrollInnerStyledContainer,{className:o,"data-testid":"@foleon/maggie-viewer_column-component",onScroll:n,ref:r,scrollable:a,styles:s},React.createElement("div",{className:"item-section-column-children-container-inner"},i))},defaultState$1={innerHeight:0,isHijacked:!1,isScrolling:!1,outerHeight:0},ColumnScrollStyledContainer=styled.div`
	display: flex;
	position: relative;
	flex-direction: column;
	flex: 1 auto;
	max-height: 100%;
	box-sizing: border-box;

	/** Editor specific override.
		When inheriting display and flex applying these values to the space-resizer(s) breaks the UI because it will
		"fight" with other column children for space. By using :not() we exclude just the space-resizer(s)
	*/
	&.im-column-inner > :not(.space-resizer__click-outside) > *,
	& .im-column-inner > :not(.space-resizer__click-outside) > * {
		display: flex;
		flex-direction: inherit;
		align-items: inherit;
	}

	.im-column-inner {
		display: flex;
		flex: 1 100%;
		border-radius: inherit;
	}

	${({styles:e})=>e}

	${({isScrollable:e})=>e&&`
			justify-content: flex-start;
		`}
`,manualScrollEasingTypeDefault=constants.easeInOutCubic,ColumnScrollViewerContainer=({barPosition:e,buttonStyles:i,children:n,className:o,innerClassName:r,manualScrollDurationInMs:a=SCROLL_DURATION_ON_CLICK,manualScrollEasingType:s=manualScrollEasingTypeDefault,manualScrollStep:l=SCROLL_DISTANCE_PER_CLICK,onEnd:u,refSetters:c,sectionScrollNavigation:d,styles:m,onMouseEnter:g,onMouseLeave:E,dataFoleonId:h})=>{const I=react.exports.useRef(null),v=react.exports.useRef(),[S,T]=react.exports.useState(defaultState$1),[x,C]=react.exports.useState(!0),A=()=>{const k={},M=I.current;if(M){const P=M.scrollTop,V=M.scrollHeight,G=M.clientHeight;k.isBottomReached=P+G>=V-BOTTOM_REACHED_SCROLL_MEASURE_COMPENSATION,k.isTopReached=P===0}return k},R=throttle_1(()=>{S.isHijacked||(S.isScrolling||T(w(f({},S),{isScrolling:!0})),clearTimeout(v.current),v.current=window.setTimeout(()=>{T(w(f({},S),{isScrolling:!1}))},SCROLL_THROTTLE_TIME_IN_MS*2))},SCROLL_THROTTLE_TIME_IN_MS),_=(k,M,P)=>{const V=I.current;if(!V||!P)return;if(!("requestAnimationFrame"in window)){V.scrollTop=V.scrollTop+=k;return}const G=V.scrollTop,U="now"in window.performance?performance.now():new Date().getTime(),z=Math.ceil(G+k);T(w(f({},S),{isHijacked:!0}));const H=()=>{const j="now"in window.performance?performance.now():new Date().getTime(),K=Math.min(1,(j-U)/M),X=easing[s](K);V.scrollTop=Math.ceil(X*(z-G)+G);const{isBottomReached:Y,isTopReached:q}=A();if(V.scrollTop===z||P===ScrollDirection.Up&&q||P===ScrollDirection.Down&&Y){T(w(f({},S),{isHijacked:!1})),u&&(Y||q)&&u(Boolean(Y),Boolean(q));return}requestAnimationFrame(H)};H()},F=()=>{const{isBottomReached:k}=A();k||_(l,a,ScrollDirection.Down)},N=()=>{const{isTopReached:k}=A();k||_(-l,a,ScrollDirection.Up)},D=()=>{},O=debounce_1(()=>{const k={},M=I.current;if(!M)return;const P=M.getElementsByClassName("item-section-column-children-container-inner")[0];if(!P)return;const V=P.clientHeight+parseInt(window.getComputedStyle(M,null).paddingTop,10)+parseInt(window.getComputedStyle(M,":after").height,10);!_isNaN(V)&&S.innerHeight!==V&&(k.innerHeight=V),S.outerHeight!==M.clientHeight&&(k.outerHeight=M.clientHeight),isEmpty_1(k)||T(f(f({},S),k))},SCROLL_DEBOUNCE_TIME_IN_MS,{leading:!0});react.exports.useEffect(()=>(O(),window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O),clearTimeout(v.current),R.cancel(),O.cancel()}),[R,O]),react.exports.useEffect(()=>{!S.innerHeight||!S.outerHeight||window.setTimeout(()=>{C(S.innerHeight>S.outerHeight)},0)},[S.innerHeight,S.outerHeight]);const{isBottomReached:B,isTopReached:L}=A();return React.createElement(ColumnScrollStyledContainer,{isScrollable:x,className:`${o} ${x?"scrollable":""}`,ref:k=>{c.forEach(M=>M(k))},styles:m,onMouseEnter:g,onMouseLeave:E,"data-foleon-id":h,"data-testid":"@foleon/maggie-viewer_column-scroll"},React.createElement(ColumnScrollButtons,{barPosition:e,buttonStyles:i,isBottomReached:B,isTopReached:L,onScrollDownMouseDown:F,onScrollDownMouseUp:D,onScrollUpMouseDown:N,onScrollUpMouseUp:D,show:x&&!d}),React.createElement(ColumnScrollInner,{barPosition:e,handleScroll:R,innerClassName:r,innerRef:I,scrollable:x},n))},ColumnStyledContainer=styled.div`
	display: flex;
	position: relative;
	flex-direction: column;
	flex: 1 auto;
	max-height: 100%;
	box-sizing: border-box;

	/** Editor specific override.
	 When inheriting display and flex applying these values to the space-resizer(s) breaks the UI because it will
	 "fight" with other column children for space. By using :not() we exclude just the space-resizer(s) */
	&.im-column-inner > :not(.space-resizer__click-outside),
	& .im-column-inner > :not(.space-resizer__click-outside) {
		display: flex;
		flex-direction: inherit;
		align-items: inherit;
	}

	.im-column-inner {
		display: flex;
		flex: 1 1 auto;
		align-items: inherit;
		flex-direction: inherit;
		justify-content: inherit;
		border-radius: inherit;
	}

	${({styles:e})=>e}
	${({refresh:e})=>e&&"* {}"}
`,defaultBarPosition$1=BarPosition.Top,ColumnViewerContainer=({barPosition:e,children:i,isFullHeight:n,onMouseEnter:o,onMouseLeave:r,onSetRef:a,refSetters:s=[],scrollIndicatorStyles:l,sectionScrollNavigation:u,styles:c,viewport:d,dataFoleonId:m})=>{const[g,E]=react.exports.useState(null),[h,I]=react.exports.useState(!1),[v,S]=react.exports.useState(!1),T=react.exports.useMemo(()=>a?[...s,a]:s,[s,a]);return react.exports.useEffect(()=>{S(!0)},[c.backgroundImage]),react.exports.useEffect(()=>{I(n&&d>Screensizes.md)},[n,d]),react.exports.useEffect(()=>{g!==null&&!h&&(s.forEach(x=>x(g)),a&&a(g))},[g,h]),h?React.createElement(ColumnScrollViewerContainer,{barPosition:e,buttonStyles:l,className:"im-column",innerClassName:"im-column-inner",refSetters:T,sectionScrollNavigation:u,styles:c,onMouseEnter:o,onMouseLeave:r,dataFoleonId:m},i):React.createElement(ColumnStyledContainer,{className:"im-column","data-testid":"@foleon/maggie-viewer_column-component","data-foleon-id":m,onMouseEnter:o,onMouseLeave:r,ref:E,refresh:v,styles:c},React.createElement("div",{className:"im-column-inner"},i))};ColumnViewerContainer.defaultProps={barPosition:defaultBarPosition$1,isFirstColumn:!1,isLastColumn:!1,onSetRef:e=>e,refSetters:[],onMouseEnter:noop_1,onMouseLeave:noop_1,styles:{}};const identity$a="condition";var ConditionTypeKeys;(function(e){e.personalization="personalization"})(ConditionTypeKeys||(ConditionTypeKeys={}));var ConditionActionKeys;(function(e){e.hide="hide",e.show="show"})(ConditionActionKeys||(ConditionActionKeys={}));const personalization=t.type({type:t.literal(ConditionTypeKeys.personalization),action:t.union([t.literal(ConditionActionKeys.hide),t.literal(ConditionActionKeys.show)])}),EntityInferred$q=new Entity(identity$a,{id:t.UUID,identity:t.literal(identity$a),options:t.union([personalization,t.null]),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$u)}),t.null]),rules:t.json},{id:void 0,identity:identity$a,options:void 0,parent:void 0,rules:void 0}),entity$q=EntityInferred$q,conditionRef=t.type({id:t.UUID,identity:t.literal(identity$a)}),Condition={entity:entity$q,identity:identity$a};var ConditionRuleType;(function(e){e.in="in",e.not_in="not_in"})(ConditionRuleType||(ConditionRuleType={}));var ConditionRuleGroupType;(function(e){e.and="and",e.or="or"})(ConditionRuleGroupType||(ConditionRuleGroupType={}));const IsConditionP13NOptions=e=>(e==null?void 0:e.type)===ConditionTypeKeys.personalization,onlyConditionRefs=e=>(e==null?void 0:e.identity)===identity$a,createRule=({type:e,value:i,variable:n})=>{switch(e){case ConditionRuleType.in:return{in:[{var:n},[...typeof i=="string"?[i]:i]]};case ConditionRuleType.not_in:return{not_in:[{var:n},[...typeof i=="string"?[i]:i]]};default:return}},createRuleGroup=({rules:e,type:i})=>{switch(i){case ConditionRuleGroupType.and:return{and:e};case ConditionRuleGroupType.or:return{or:e};default:return}},parseRule=e=>{if(!isRule(e))return;const i=Object.keys(e)[0],n=e[i];return{type:i,value:n[1],variable:n[0].var}},parseRuleGroup=e=>{if(!isRuleGroup(e))return;const i=Object.keys(e)[0];return{rules:e[i],type:i}},isRule=e=>{if(!isValidJsonObject(e))return!1;const i=Object.keys(e)[0];return Object.values(ConditionRuleType).includes(i)},isRuleGroup=e=>{if(!isValidJsonObject(e))return!1;const i=Object.keys(e)[0];return Object.values(ConditionRuleGroupType).includes(i)},not_in=(e,i)=>!i.includes(e);jsonLogic.add_operation("not_in",not_in);const getPropertyIDs=e=>{function i(o,r){return Object.entries(o).reduce((a,[s,l])=>s===r?a.concat(l):typeof l=="object"&&l?a.concat(i(l,r)):a,[])}const n=new Set(i(e.rules,"var"));return Array.from(n).map(o=>Number(o))},isConditionMet=(e,i)=>{const n=e.rules;return isRule(n)||isRuleGroup(n)?jsonLogic.apply(n,i):!1},useConditions=(e,i)=>i(n=>!e||!e.refs?[]:e.refs.filter(onlyConditionRefs).map(r=>{var a;return(a=n[r.identity])==null?void 0:a[r.id]}).filter(Boolean),[e.refs.length]),getComputedStyles=(e,i)=>{var r,a,s,l,u,c,d,m,g;const n={50:{},40:{},30:{},20:{}};if(!e||!i)return n;const o=cloneDeep_1(e);for(let E=0;E<orderedStyleSizes.length;E++){const h=orderedStyleSizes[E],v=E===0?null:orderedStyleSizes[E-1],S=o[h]||{};E===0&&S?n[h]=S:v&&n[v]&&(n[h]=cjs(n[v],S)),v?((s=(a=(r=n[h])==null?void 0:r.box)==null?void 0:a.alignment)==null?void 0:s.horizontal)||((c=(u=(l=n[v])==null?void 0:l.box)==null?void 0:u.alignment)==null||c.horizontal):(g=(m=(d=n[h])==null?void 0:d.box)==null?void 0:m.alignment)==null||g.horizontal}return n},boxDividerToCSS=()=>(e,i)=>{var o;const n=getKeys(e);for(let r=0;r<n.length;r++){const a=n[r];switch(a){case"width":{const s=e[a],l=s==="vw"?"100%":`${s}px`;i.width=l;break}case"alignment":{const s=(o=e[a])==null?void 0:o.horizontal,l=getAlignContent(s);i.alignSelf=l;break}case"height":{i.borderBottomStyle="solid",i.borderBottomWidth=`${e[a]}px`;break}case"shadow":{const s=e[a];if(!s||typeof s=="string")break;const l=s.x?`${s.x}px`:"0px",u=s.y?`${s.y}px`:"0px",c=s.blur?` ${s.blur}px`:"",d=s.color?` ${s.color}`:"";i.boxShadow=`${l} ${u}${c}${d}`;break}}}},backgroundDividerToCSS=()=>(e,i)=>{const n=getKeys(e);for(let o=0;o<n.length;o++){const r=n[o];switch(r){case"color":{i.borderBottomColor=e[r]||"";break}}}};function useDivider(e,i,n,o){const{entity:r,parent:a,mergedThemeStyles:s}=n(d=>{var g;const m=getEntityFromRef(d,e);return m?{entity:m,parent:(g=d[m.parent.identity])==null?void 0:g[m.parent.id],mergedThemeStyles:getMergedThemeStyles(d,m,o)}:{}},[e==null?void 0:e.id,o==null?void 0:o.entityStyles.divider]),{computed:l,styles:u}=react.exports.useMemo(()=>({computed:getComputedStyles(s,a)[i],styles:r==null?void 0:r.styles[i]}),[r,r==null?void 0:r.styles,a==null?void 0:a.styles,i,s]),c=react.exports.useMemo(()=>s?stylesToCSSTransformer(s,{background:backgroundDividerToCSS(),box:boxDividerToCSS(),visibility:(d,m,g=Screensizes.xl)=>{visibilityToCSSByEntity(d,m,g,r)}}):{},[s]);return{entity:r,computed:l,styles:u,css:c}}const StyledDivider=styled.div`
	display: flex;
	flex-direction: inherit;
	align-items: inherit;
	width: 100%;
`,StyledHr=styled.hr`
	${({styles:e})=>e}

	margin-inline-end: unset;
	margin-inline-start: unset;
	max-width: 100%;
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	border-top: 0;
	border-right: 0;
	border-left: 0;
`,DividerViewer=({testId:e="",styles:i={},handleClick:n,setRef:o,dataFoleonId:r})=>React.createElement(StyledDivider,{role:"presentation",onClick:n,styles:i,"data-foleon-id":r},React.createElement(StyledHr,{ref:o,styles:i,"data-testid":e})),EntityInferred$p=new Entity(identity$q,{id:t.UUID,parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$E),t.literal(identity$B)])}),options:t.union([t.type({type:t.literal("website"),url:t.union([t.string,t.null])}),t.type({type:t.literal("code"),value:t.string})]),hasDynamicHeight:t.boolean,identity:t.literal(identity$q),styles:embedStyles},{id:void 0,options:void 0,parent:void 0,hasDynamicHeight:!1,identity:identity$q}),entity$p=EntityInferred$p,Embed$1={entity:entity$p,identity:identity$q};var EmbedCSSIdentifiers;(function(e){e.FigureWrapper="ripley__Embed--figure-wrapper"})(EmbedCSSIdentifiers||(EmbedCSSIdentifiers={}));const embedBoxToCSS=createBoxToCSS({overrides:{height:(e,i,n)=>{n==null||n("maxHeight",`${i}px`),n==null||n("height",`${i}px`)},width:(e,i,n)=>{n==null||n("maxWidth",`${i}px`)},alignment:(e,i,n)=>{(i==null?void 0:i.horizontal)&&(n==null||n("alignSelf",getAlignContent(i==null?void 0:i.horizontal)))},overflow:(e,i)=>{(i==null?void 0:i.y)&&(e.iframe={overflow:"hidden",position:"absolute",top:`${0}px`,left:`${0}px`,pointerEvents:"auto"})}},cssSelector:`.${EmbedCSSIdentifiers.FigureWrapper}`}),embedBorderToCSS=createBorderToCSS({cssSelector:`.${EmbedCSSIdentifiers.FigureWrapper}`});function useEmbed(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{computed:s,styles:l}=react.exports.useMemo(()=>({computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]}),[r,r==null?void 0:r.styles,i]);return{css:react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{box:embedBoxToCSS,border:embedBorderToCSS,visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}}):{},[a]),entity:r,computed:s,styles:l}}const appendToHead=e=>{typeof window!="undefined"&&document.getElementsByTagName("head")[0].appendChild(e)},createDOM=(e,i,n)=>{if(typeof window=="undefined")return null;const o=document.createElement(e);return n&&(o.innerHTML=n),i&&Object.keys(i).forEach(r=>{o.setAttribute(r,i[r])}),o},ScriptLoader=({unsafeScript:e})=>(react.exports.useEffect(()=>{const{script:i,meta:n,style:o,link:r}=extractHeaderCode(e.__html),a=[...i.map(({attributes:s,children:l})=>createDOM("script",s,l)),...n.map(({attributes:s,children:l})=>createDOM("attributes",s,l)),...o.map(({attributes:s,children:l})=>createDOM("style",s,l)),...r.map(({attributes:s,children:l})=>createDOM("link",s,l))];return a.forEach(s=>appendToHead(s)),()=>{a.forEach(s=>{s.parentNode&&(s.parentNode.removeChild?s.parentNode.removeChild(s):s.parentNode.remove&&s.parentNode.remove(s))})}},[]),null),MainContainer=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 2px;
	border: solid 1px #14284b;
	background-color: #e1e4e8;
`,Content=styled.div`
	display: flex;
`,Arrow=styled.div`
	width: 5px;
	height: 5px;
	border: 1px solid #ffffff;
	border-left: 0;
	border-top: 0;
`,ArrowLeft=styled(Arrow)`
	transform: rotate(135deg);
`,ArrowRight=styled(Arrow)`
	transform: rotate(315deg);
`,IconContainer=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	background-color: #14284b;
	margin-right: 3px;
`,UrlContainer=styled.div`
	display: flex;
	width: 148px;
	height: 24px;
	border-radius: 4px;
	background-color: #ffffff;
`,UrlText=styled.p`
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	height: 24px;
	font-size: 7px;
	font-weight: 500;
	font-style: normal;
	font-stretch: normal;
	letter-spacing: normal;
	text-overflow: ellipsis;
	line-height: 3.43;
	color: #8a94a6;
	padding: 0 1em;
`,EmbedPlaceholder=({url:e=""})=>React.createElement(MainContainer,null,React.createElement(Content,null,React.createElement(IconContainer,null,React.createElement(ArrowLeft,null),React.createElement(ArrowRight,null)),React.createElement(UrlContainer,null,React.createElement(UrlText,null,e)))),WHITELISTED_EMBED_DOMAINS=["https://datawrapper.dwcdn.net"],prepareUrl=e=>e.replace("https://www.","https://"),isWhitelistedEmbedDomain=e=>{if(!e||typeof e!="string")return!1;for(const i of WHITELISTED_EMBED_DOMAINS)if(prepareUrl(e).indexOf(i)===0)return!0;return!1},StyledCodeEmbed=styled.div`
	${({styles:e})=>e}

	// Added "&&" specificity selector to allow style overrides to be added from the Editor.
	&& {
		${({iFrameStyles:e})=>e}
	}
`,StyledCodeEmbedWrapper=({iFrameStyles:e,styles:i,unsafeHtml:n})=>React.createElement(StyledCodeEmbed,w(f({},n?{dangerouslySetInnerHTML:{__html:n}}:{}),{"data-testid":"@foleon/maggie-viewer_code-embed-component",iFrameStyles:e,key:"html",styles:i})),CodeEmbed=({iFrameStyles:e,isPrint:i,shouldExecute:n=!0,styles:o,value:r})=>n?i&&!isWhitelistedEmbedDomain(r)?React.createElement(EmbedPlaceholder,{url:r}):React.createElement(React.Fragment,null,React.createElement(StyledCodeEmbedWrapper,{iFrameStyles:e,styles:o,unsafeHtml:r}),React.createElement(ScriptLoader,{key:"scripts",unsafeScript:{__html:r}})):React.createElement(StyledCodeEmbedWrapper,{iFrameStyles:e,styles:o}),StyledFigureWrapper$1=styled.div`
	display: inherit;
	flex-direction: inherit;
	align-items: inherit;
	flex: 0 0 auto;
	line-height: 0;
	width: 100%;

	${({styles:e})=>Ce`
			${e}
		`}
`,StyledFigureContainer$1=styled.figure`
	display: inline-block;
	width: 100%;
	position: relative;
	box-sizing: border-box;
	margin: 0;

	${({hasDynamicHeight:e})=>e?`
				height: unset;
				max-height: unset;
			`:""}

	${({figureHeight:e})=>e?`
				height: ${e}px !important;
				max-height: ${e}px !important;
			`:""}

  ${({figureStyles:e})=>e}
`,EmbedFigureContainer=({children:e,styles:i,figureStyles:n,hasDynamicHeight:o,overrideHeight:r,setOverrideHeight:a,setRef:s=()=>({}),dataFoleonId:l})=>{const u=react.exports.useRef(),[c,d]=react.exports.useState(r),m=react.exports.useCallback(g=>{if(!u.current)return;let E;try{typeof g.data=="object"?E=g.data:E=JSON.parse(g.data)}catch{return}if(!E||!E.height||!E.context||E.context!=="iframe.resize")return;const h=u.current.getElementsByTagName("iframe"),I=h[0]&&h[0].src;!I||I!==E.src||(a&&a(E.height),o&&d(E.height))},[u.current,o]);return react.exports.useEffect(()=>(window.addEventListener("message",m),()=>{window.removeEventListener("message",m)}),[m]),React.createElement(StyledFigureWrapper$1,{"data-testid":"@foleon/maggie-viewer_figure-container",styles:i,ref:s,"data-foleon-id":l},React.createElement(StyledFigureContainer$1,{ref:u,"data-testid":"@foleon/maggie-viewer_figure",className:EmbedCSSIdentifiers.FigureWrapper,hasDynamicHeight:Boolean(o),figureHeight:r||c,figureStyles:n},e))},StyledIframe=styled.iframe`
	border: none;
	min-width: 100%;
	width: 100%;

	// Added "&&" specificity selector to allow style overrides to be added from the Editor.
	&& {
		${({iFrameStyles:e})=>e}
	}
`,overflowToScrollingAttribute={auto:"auto",hidden:"no",scroll:"yes"},Embed=React.memo(({iFrameStyles:e,isPrint:i,overflow:n,value:o})=>i&&!isWhitelistedEmbedDomain(o)?React.createElement(EmbedPlaceholder,{url:o}):typeof window!="undefined"&&window.DISABLE_EMBED&&!isWhitelistedEmbedDomain(o)||!VALID_SECURE_URL.test(o||"")?null:React.createElement(StyledIframe,{"data-testid":"@foleon/maggie-viewer_iframe-embed-component",height:"100%",iFrameStyles:e,scrolling:overflowToScrollingAttribute[n]||n||"auto",src:o,title:o,width:"100%"})),identity$9="form-list-checkbox",identity$8="form-list-dropdown",identity$7="form-list-radio",identity$6="form-text",EntityInferred$o=new Entity(identity$A,{id:t.UUID,parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$E)}),t.type({id:t.UUID,identity:t.literal(identity$z)})]),name:t.union([t.string,t.null]),legacyFormId:t.union([t.number,t.undefined]),submitEndpoint:t.union([t.string,t.null,t.undefined]),successMessage:t.union([t.string,t.null]),successEmail:t.union([t.string,t.null]),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$9)}),t.type({id:t.UUID,identity:t.literal(identity$8)}),t.type({id:t.UUID,identity:t.literal(identity$7)}),t.type({id:t.UUID,identity:t.literal(identity$6)}),t.type({id:t.UUID,identity:t.literal(identity$r)}),t.type({id:t.UUID,identity:t.literal(identity$H)}),t.type({id:t.UUID,identity:t.literal(identity$K)})])),identity:t.literal(identity$A),styles:formStyles},{id:void 0,identity:identity$A,parent:void 0,name:void 0,legacyFormId:void 0,submitEndpoint:void 0,successMessage:void 0,successEmail:void 0,refs:[]}),entity$o=EntityInferred$o,Form$1={entity:entity$o,identity:identity$A};function useForm(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}},[o,e]),{computed:s,styles:l}=react.exports.useMemo(()=>({computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]}),[r,i,a]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}}):{},[a,r]);return{entity:r,css:u,computed:s,styles:l}}const StyledDiv$9=styled.div`
	display: flex;
	flex-direction: column;
	text-align: left;

	${({styles:e})=>e}
`,FormField=({children:e,styles:i,validationMessages:n})=>React.createElement(StyledDiv$9,{styles:i},React.Children.map(e,o=>React.cloneElement(o,{validationMessages:n})));var AnalyticsPlatform;(function(e){e.FOLEON_ANALYTICS="Foleon Analytics",e.GOOGLE="GOOGLE"})(AnalyticsPlatform||(AnalyticsPlatform={}));var TRACKING_CATEGORY$7;(function(e){e.EXTERNAL="External",e.GESTURE="Gesture",e.FORM="Form",e.INTERNAL="Internal",e.LEAD_FORM="Lead Form",e.NAVIGATION_BAR="Navigation bar",e.PAGE_INDEX="Page index",e.SCROLL="Scroll",e.SOCIAL_SHARE="Social share",e.SOCIAL_PAGE="Social page",e.VIDEOS="Videos",e.OVERLAY="Overlay",e.AUTOPLAY_ACCESSIBILITY="Autoplay accessibility"})(TRACKING_CATEGORY$7||(TRACKING_CATEGORY$7={}));const TRACKING_EVENT$7={ARROW_KEY:"Arrow key",BUTTON:"Button",CLICK:"Click",DOWN:"Down",IMAGE:"Image",LINK:"Link",HOTSPOT:"Hotspot",MENU_BAR:"Menu bar",SHARE:"Share",SHOW:"Show",SKIP:"Skip",SUBMIT_INVALID:"Submit invalid",SUBMIT_SUCCESS:"Submit success",SWIPE:"Swipe",OPENED:"Opened",CLOSED:"Closed",DISABLE:"Disable",ENABLE:"Enable",BUFFERING:"Buffering",ENDED:"Ended",PAUSED:"Paused",PLAYING:"Playing",UNSTARTED:"Unstarted",SCROLL:"Scroll"},trackers$1=[],send=(e,i,n,o,r)=>{if(typeof window!="undefined"&&typeof window.trackersArray!="undefined"&&(window.trackersArray.forEach(a=>{trackers$1.some(({name:s})=>a==s)||trackers$1.push({name:a.length>0?a:"",measurementId:a.length>0?a:"",platform:AnalyticsPlatform.GOOGLE,tracker:window.ga})}),typeof window!="undefined"&&window.ia&&(trackers$1.some(({platform:a})=>a===AnalyticsPlatform.FOLEON_ANALYTICS)||trackers$1.push({platform:AnalyticsPlatform.FOLEON_ANALYTICS,tracker:window.ia}))),!(!Settings$2.isAllowed(CC_OPTIONS.STATISTICS)||trackers$1.length===0)&&(trackers$1&&trackers$1.forEach(a=>{if(a.platform===AnalyticsPlatform.GOOGLE&&window.gtag&&o){const s=e.toLowerCase().replace(" ","_"),l=i.toLowerCase().replace(" ","_"),u=n.toLowerCase(),c=`${l}_${s}`;setTimeout(()=>{window.gtag("event",c,{send_to:a.measurementId,event_category:s,event_label:u,event_action:l,value:r})},100)}else a.platform===AnalyticsPlatform.GOOGLE&&window.ga?setTimeout(()=>{window.ga(`${a.name?`${a.name}.`:""}send`,"event",e,i,n,r)},100):a.platform===AnalyticsPlatform.FOLEON_ANALYTICS&&window.ia({type:"event",context:{eventCategory:e,eventAction:i,eventLabel:n,eventValue:r}})}),window.dataLayer))try{window.dataLayer.push({event:e,action:i,label:n})}catch(a){console.error(a)}},setAttributes=(e,i,n,o)=>{const r=typeof window!="undefined"&&window.localStorage&&isNull_1(localStorage.getItem(COOKIE_NAME.SETTINGS)),a=Settings$2.isAllowed(CC_OPTIONS.STATISTICS);i.id=o,(!e&&r||a)&&(i.src=n,i.type="text/javascript",i.dataset.cookieconsent=CC_OPTIONS.STATISTICS),a||(i.dataset.cookieconsent=CC_OPTIONS.STATISTICS,i.dataset.src=n,i.type="text/plain",Settings$2.addScript(i))},addScript$1=(e,i)=>{(function(n,o,r,a,s,l,u){n.InstantAnalyticsObject=s,n[s]=n[s]||function(){(n[s].q=n[s].q||[]).push(arguments)},n[s].l=1*new Date,l=o.createElement(r),u=o.getElementsByTagName(r)[0],l.async=1,setAttributes(e,l,a,"foleon-analytics"),u.parentNode.insertBefore(l,u)})(window,document,"script",i,"ia")},addScript=(e,i)=>{(function(n,o,r,a,s,l,u){n.GoogleAnalyticsObject=s,n[s]=n[s]||function(){(n[s].q=n[s].q||[]).push(arguments)},n[s].l=1*new Date,l=o.createElement(r),u=o.getElementsByTagName(r)[0],l.async=1,setAttributes(e,l,a,"google-analytics"),u.parentNode.insertBefore(l,u)})(window,document,"script",`https://www.google-analytics.com/analytics.js${i?"?aip=1":""}`,"ga")},trackers={googleAnalytics:{addScript},foleonAnalytics:{addScript:addScript$1},events:{send,TRACKING_CATEGORY:TRACKING_CATEGORY$7,TRACKING_EVENT:TRACKING_EVENT$7},setAttributes},mapToReactMotionWithSpring=(e,i)=>Object.keys(e).reduce((n,o)=>{const r={},a=e[o];return r[o]=a.spring&&a.spring.stiffness&&a.spring.damping?spring(a.value,{stiffness:a.spring.stiffness,damping:a.spring.damping}):spring(a.value),w(f({},n),{style:f(f({},n.style),r)})},{key:i,style:{}}),mapToReactMotion=(e,i)=>Object.keys(e).reduce((n,o)=>{const r={};return r[o]=e[o].value,w(f({},n),{style:f(f({},n.style),r)})},{key:i,style:{}}),TransitionContainer=styled.div`
	${({styles:e})=>e}
	${({transform:e})=>e&&`transform: ${e}`};
`,TransitionWithMotions=({motionStyles:e,shouldStart:i,uniqueKey:n,onEnter:o,onLeave:r,defaultStyles:a,wrapperClass:s,children:l})=>{const[u,c]=react.exports.useState([]);react.exports.useEffect(()=>{const g=mapToReactMotionWithSpring(e,n);c(i?[g]:[])},[e,i,n]);const d=()=>mapToReactMotion(o,n).style,m=()=>mapToReactMotionWithSpring(r,n).style;return React.createElement(TransitionMotion,{defaultStyles:[mapToReactMotion(a,n)],styles:u,willEnter:d,willLeave:m},g=>g.length===0?React.createElement(React.Fragment,null):React.createElement("div",{className:`transition-wrapper ${s||""}`},g.map(({key:E,style:h})=>{const I=h.x&&h.y?`translate(${h.x}px, ${h.y}px) `:h.x?`translateX(${h.x}px) `:h.y?`translateY(${h.y}px) `:void 0;return React.createElement(TransitionContainer,{key:E,styles:h,transform:I},l)})))},StyledDiv$8=styled.div`
	align-items: inherit;
	width: 100%;
	position: relative;
	${({formHeight:e})=>e&&`
    height: ${e}px;
  `}

	${({styles:e})=>e}
`,StyledForm=styled.form`
	display: flex;
	flex-direction: column;
	align-items: inherit;
	height: 100%;
	width: 100%;
`,StyledFormWrapper=styled.div`
	align-items: inherit;
	width: 100%;
`,SuccessMessageParagraph$1=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	padding: 0 2rem;
	position: absolute;

	${({paragraphStyles:e})=>e}
`,SuccessMessageWrapper$1=styled.div`
	display: flex;
	align-items: flex-start;
`,SuccessMessageIcon=styled.div`
	display: inline;
	vertical-align: top;
	margin-right: 8px;
`,SuccessMessageText$1=styled.div`
	display: inline;
	line-height: 1.5rem;
`,DEFAULT_FORM_NAME$1="default form",validationErrorClassName="has-validation-error",ANIMATION_SETTINGS={OPACITY:{FROM:0,TO:1}},Form=({dataTestId:e,name:i,successMessage:n,isPartOfLeadGen:o,submitEndpoint:r,headers:a,children:s,styles:l,paragraphStyles:u,grantDocAccess:c,dataFoleonId:d,hasEventsEnabled:m})=>{const{send:g,TRACKING_CATEGORY:E,TRACKING_EVENT:h}=trackers.events,I=React.useRef(null),v=React.useRef(null),[S,T]=react.exports.useState(!1),[x,C]=react.exports.useState(!1),[A,R]=react.exports.useState(),[_,F]=react.exports.useState(),N=React.Children.map(s,U=>React.cloneElement(U,{validationMessages:A,key:i}));react.exports.useEffect(()=>{o&&setTimeout(()=>{g(E.LEAD_FORM,h.SHOW,i||DEFAULT_FORM_NAME$1,m)},0)},[o]);const D=U=>U?E.LEAD_FORM:E.FORM,O=U=>new FormData(U),B=U=>{C(!0),F(U),R(void 0)},L=U=>{C(!1),R(U)},k=U=>{const z=/^(?=\d{3}$)(2)\d+/,H=U.status.toString(),j=z.test(H);return U&&j?(o&&U.json().then(K=>{typeof window!="undefined"&&window.dataLayer&&window.dataLayer.push(f({event:"formData"},K))}),Promise.resolve({formSubmitSuccessful:!0})):U.status===422&&U.json?Promise.resolve(U.json()):Promise.reject({message:"Error while submitting the form",status:U.status})},M=()=>{F(void 0),R(void 0),P()},P=U=>{if(!v||!v.current)return;const z=v.current.querySelectorAll("input, textarea, select");let H=!1;U||(H=!0);const j=H?"remove":"add";Array.from(z).forEach(K=>{var X,Y,q,J;j==="add"&&(U==null?void 0:U.indexOf(K.name))===-1||(K.classList[j](validationErrorClassName),(K.type==="checkbox"||K.type==="radio")&&((X=K.parentElement)==null||X.classList[j](validationErrorClassName),(J=(q=(Y=K.parentElement)==null?void 0:Y.parentElement)==null?void 0:q.parentElement)==null||J.classList[j](validationErrorClassName)))})},V=()=>{if(!v||!v.current)return;const U=v.current.querySelectorAll("input.has-validation-error,textarea.has-validation-error, select.has-validation-error");U[0].tabIndex=0,setTimeout(()=>{U[0].focus()},0)},G=U=>{if(U.preventDefault(),!v||!v.current||S)return;T(!0),M();const z=O(v.current);fetch(r,f({method:"POST",body:z},a?{headers:a}:{})).then(k).then(H=>{if(H.formSubmitSuccessful){if(o)return g(D(o),h.SUBMIT_SUCCESS,i,m),T(!1),c();const j=I&&I.current?I.current.offsetHeight:void 0;B(j),g(D(o),h.SUBMIT_SUCCESS,i,m),T(!1)}else{if(!H.validation_messages)throw Error("Error: the form is unprocessable, but no validation_messages were found");const j=H.validation_messages;P(Object.keys(j)),g(D(o),h.SUBMIT_INVALID,i,m),L(j),T(!1),V()}},H=>{throw T(!1),Error(`${H.message}, status:${H.status}`)}).catch(H=>{throw T(!1),Error(H)})};return React.createElement(StyledDiv$8,{"data-testid":e,"data-foleon-id":d,styles:l,formHeight:_,ref:I},React.createElement(StyledForm,{onSubmit:G,name:i,autoComplete:"on",ref:v},React.createElement(StyledFormWrapper,null,x?null:N),React.createElement(TransitionWithMotions,{shouldStart:x,uniqueKey:"form-message",defaultStyles:{opacity:{value:ANIMATION_SETTINGS.OPACITY.FROM}},motionStyles:{opacity:{value:ANIMATION_SETTINGS.OPACITY.TO}},onEnter:{opacity:{value:ANIMATION_SETTINGS.OPACITY.FROM}},onLeave:{opacity:{value:ANIMATION_SETTINGS.OPACITY.FROM}}},React.createElement(SuccessMessageParagraph$1,{paragraphStyles:u},React.createElement(SuccessMessageWrapper$1,null,React.createElement(SuccessMessageIcon,{"data-testid":"form-success-message-icon"},React.createElement(MdCheckCircle,{size:"1.5rem",color:"#008a00"})),React.createElement(SuccessMessageText$1,{"data-testid":"form-success-message-text"},n))))))},Label$1=styled.label`
	margin: 0;

	${({styles:e})=>e}

	${({optionalStyles:e})=>e}

  &.has-validation-error:before {
		border-color: rgba(188, 39, 25, 1);
	}
`,FormLabelViewer=({testId:e="",htmlFor:i="",styles:n={},children:o,setRef:r,id:a,optionalStyles:s={}})=>React.createElement(Label$1,w(f({htmlFor:i},a?{id:a}:{}),{ref:r,"data-testid":e,styles:n,optionalStyles:s}),o),OptionItem=({label:e="",value:i,disabled:n=!1})=>React.createElement("option",{value:i,disabled:n},e),ValidationWrapper=styled.div`
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 1em;
`,WarningBox=styled.ul`
	list-style-type: none;
	background: #c83737;
	margin: 0;
	padding: 5px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
`,ValidationMessage=styled.li`
	color: white;
	font-size: 0.75em;
`,IconWrapper$1=styled.i`
	padding-right: 0.75em;
`,ValidationMessages=({id:e,name:i,validationMessages:n,warningIcon:o})=>{const r=n&&n[i]?n[i]:{},a=Object.keys(r).map(s=>React.createElement(ValidationMessage,{id:`alert-${e}`,key:s,tabIndex:0,ref:l=>{const u=n&&Object.keys(n);return l&&u.indexOf(i)===0&&l.focus()}},React.createElement(IconWrapper$1,null,React.createElement(o,{size:15,"aria-hidden":!0})),React.createElement(Translate,null,s)));return React.createElement(ValidationWrapper,null,React.createElement(WarningBox,null,React.Children.toArray(a)))},animationSettings={marginTop:{from:-40,to:0,stiffness:100,damping:30},opacity:{from:0,to:1}},defaultStyles={marginTop:{value:animationSettings.marginTop.from},opacity:{value:animationSettings.opacity.from}},motionStyles={marginTop:{value:animationSettings.marginTop.to,spring:{stiffness:animationSettings.marginTop.stiffness,damping:animationSettings.marginTop.damping}},opacity:{value:animationSettings.opacity.to}},onEnterStyles={marginTop:{value:animationSettings.marginTop.from},opacity:{value:animationSettings.opacity.from}},onLeaveStyles={marginTop:{value:animationSettings.marginTop.from,spring:{stiffness:animationSettings.marginTop.stiffness,damping:animationSettings.marginTop.damping}},opacity:{value:animationSettings.opacity.from}};function withValidationMessages(e,i){return o=>{const{id:r,name:a,validationMessages:s}=o,l=s&&typeof s[a]=="object";return React.createElement(React.Fragment,null,React.createElement(e,f({},o)),React.createElement(TransitionWithMotions,{wrapperClass:"validation-message",uniqueKey:`${a}-form-field-error-message`,shouldStart:l,defaultStyles,motionStyles,onEnter:onEnterStyles,onLeave:onLeaveStyles},React.createElement(ValidationMessages,{id:r,name:a,validationMessages:s,warningIcon:i})))}}const PlaceholderOption=({placeholder:e,value:i})=>React.createElement("option",{value:i,disabled:!0},e),Wrapper$b=styled.div`
	display: block;
	margin: 0;
	position: relative;

	&:after {
		content: '';
		position: absolute;
		top: 1em;
		right: 1em;
		z-index: 10;
		pointer-events: none;
		width: 10px;
		height: 10px;
		transform: rotate(45deg);
		border-right: 2px solid #333;
		border-bottom: 2px solid #333;
	}

	& .has-validation-error {
		border-color: rgba(188, 39, 25, 1);
		margin: 0px;
	}
`,StyledSelect=styled.select`
	/* use this to have more consistent styling cross browser/platform */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	box-sizing: border-box;
	width: 100%;
	padding: 10px 40px 10px 10px;
	z-index: 10;
	white-space: pre-wrap;
	word-wrap: break-word;

	&::-ms-expand {
		display: none;
	}

	& > option {
		background-color: inherit;
		color: inherit;
		font-family: inherit;
		font-size: inherit;
		font-style: inherit;
		font-weight: inherit;
	}

	${({styles:e})=>e}

	${({placeholderStyles:e})=>e}
`,Select=c=>{var d=c,{children:e,styles:i,name:n,value:o,multiple:r,placeholder:a,additionalStyles:s,htmlIdentifier:l}=d,u=W(d,["children","styles","name","value","multiple","placeholder","additionalStyles","htmlIdentifier"]);const m=omit_1(s,["marginBottom"]);return React.createElement(Wrapper$b,null,React.createElement(StyledSelect,f({id:l,name:n,multiple:r,styles:i,placeholderStyles:m,defaultValue:o},u),React.createElement(PlaceholderOption,{placeholder:a,value:o||""}),e))};var Select$1=withValidationMessages(Select,MdWarning);const Wrapper$a=styled.div`
	z-index: 10;

	${({styles:e})=>e}

	&.has-validation-error {
		margin: 0px;
	}
`,RadioGroup=({id:e,styles:i={},label:n=null,children:o,additionalLabelStyles:r})=>{const a=`im-radio-group-header-${e}`,s={"aria-labelledby":n?a:""};return React.createElement(Wrapper$a,w(f({role:"radiogroup"},s),{styles:i}),n?React.createElement(FormLabelViewer,{id:a,styles:r},n):null,o)};var RadioGroup$1=withValidationMessages(RadioGroup,MdWarning);const Wrapper$9=styled.div`
	${({focusStyle:e})=>e}
`,StyledInput$2=styled.input`
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;

	&:checked + .im-radio-label::after {
		content: '';
	}

	&:checked + span {
		box-sizing: border-box;
		display: block;
		position: absolute;
		left: 0.25em;
		top: 0.45em;
		background-color: rgba(64, 64, 64, 1);
		border-radius: 50%;
		height: 0.5em;
		width: 0.5em;
	}
`,baseLabelStyles$1=`
  display: inline-block;
  margin-bottom: 0 !important;
  padding-left: 1.5em;
  position: relative;

  &::after {
    content: '';
  }

  &::before {
    content: '';
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: 0;
    top: 0.2em;
    border: 1px solid rgba(51, 51, 51, 1);
    border-radius: 50%;
    height: 1em;
    width: 1em;
  }
`,customInputFocusStyling$1={outlineWidth:"2px",outlineStyle:"solid",outlineColor:"Highlight","@media (-webkit-min-device-pixel-ratio:0)":{outlineColor:"-webkit-focus-ring-color",outlineStyle:"auto"}},RadioItem=({styles:e={},name:i,label:n,value:o,checked:r,initialChecked:a,readOnly:s=!1,alertID:l,isEditor:u=!1,id:c})=>{const d=["color","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","lineHeight","letterSpacing"],m=pickBy_1(e,(A,R)=>{if(R&&typeof R=="string")return d.includes(R)||R.includes("@media")}),{borderColor:g,borderTopColor:E,background:h}=e;(g||E)&&(m["&::before"]={borderColor:g||E});const[I,v]=React.useState(!1),S=I&&!u?customInputFocusStyling$1:{},T=React.useRef(null),x=A=>T.current===document.activeElement&&A.stopPropagation();React.useEffect(()=>(document.addEventListener("keydown",x,!0),()=>document.removeEventListener("keydown",x)),[]);const C=`im-radio-${c}`;return React.createElement(Wrapper$9,{focusStyle:S},React.createElement(FormLabelViewer,{htmlFor:C,styles:baseLabelStyles$1,optionalStyles:m},n,React.createElement(StyledInput$2,{ref:T,name:i.toString(),type:"radio",value:o,id:C,defaultChecked:a,checked:r,readOnly:s,disabled:s,onFocus:()=>v(!0),onBlur:()=>v(!1),"aria-describedby":l||""}),React.createElement("span",{style:h?{backgroundColor:`${h}`}:{}})))},checkboxCheckIcon="PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PGc+PHBhdGggZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwxKSIgZD0ibTE1IDI3bDE3LjctMTcuNyAyLjMgMi4zLTIwIDIwLTkuMy05LjMgMi4zLTIuM3oiLz48L2c+PC9zdmc+",checkboxCheckedBackground=`rgba(64,64,64,1) url("data:image/svg+xml;base64,${checkboxCheckIcon}") 50% 50% no-repeat`,Wrapper$8=styled.div`
	${({focusStyle:e})=>e}
`,StyledInput$1=styled.input`
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;

	&:checked + .im-checkbox-label::after {
		content: '';
	}

	&:checked + span {
		box-sizing: border-box;
		display: block;
		position: absolute;
		left: 0;
		top: 0.2em;
		background: ${checkboxCheckedBackground};
		border-radius: 3px;
		height: 1em;
		width: 1em;
	}
`,baseLabelStyles=`
  display: inline-block;
  margin-bottom: 0 !important;
  padding-left: 1.5em;
  position: relative;

  &:after {
    content: '';
  }

  &:before {
    content: '';
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: 0;
    top: 0.2em;
    border: 1px solid rgba(51, 51, 51, 1);
    border-radius: 3px;
    height: 1em;
    width: 1em;
    z-index: 1;
  }
`,customInputFocusStyling={outlineWidth:"2px",outlineStyle:"solid",outlineColor:"Highlight","@media (-webkit-min-device-pixel-ratio:0)":{outlineColor:"-webkit-focus-ring-color",outlineStyle:"auto"}},CheckboxItem=({styles:e={},name:i,label:n,value:o,checked:r,initialChecked:a,readOnly:s=!1,alertID:l,isEditor:u=!1,id:c})=>{const d=["color","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","lineHeight","letterSpacing"],m=pickBy_1(e,(x,C)=>{if(C&&typeof C=="string")return d.includes(C)||C.includes("@media")}),{borderColor:g,borderTopColor:E,background:h}=e;(g||E)&&(m["&::before"]={borderColor:g||E});const[I,v]=React.useState(!1),S=I&&!u?customInputFocusStyling:{},T=`im-checkbox-${c}`;return React.createElement(Wrapper$8,{focusStyle:S},React.createElement(FormLabelViewer,{htmlFor:T,styles:baseLabelStyles,optionalStyles:m},n,React.createElement(StyledInput$1,{name:i.toString(),type:"checkbox",value:o,id:T,defaultChecked:a,checked:r,readOnly:s,disabled:s,onFocus:()=>v(!0),onBlur:()=>v(!1),"aria-describedby":l||""}),React.createElement("span",{style:h?{backgroundColor:`${h}`}:{}})))},Wrapper$7=styled.div`
	z-index: 10;

	${({styles:e})=>e}

	&.has-validation-error {
		margin: 0px;
	}
`,CheckboxGroup=({styles:e={},label:i=null,children:n,additionalLabelStyles:o,id:r})=>{const a=`im-checkbox-group-header-${r}`,s={"aria-labelledby":i?a:""};return React.createElement(Wrapper$7,w(f({role:"group"},s),{styles:e}),i?React.createElement(FormLabelViewer,{id:a,styles:o},i):null,n)};var CheckboxGroup$1=withValidationMessages(CheckboxGroup,MdWarning),TextAreaSizes;(function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"})(TextAreaSizes||(TextAreaSizes={}));const textareaRowSizes={small:4,medium:6,large:8},StyledTextArea=styled.textarea`
	z-index: 10;

	box-sizing: border-box;
	padding: 10px;
	resize: none;

	&::-webkit-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&:-ms-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&::placeholder {
		color: rgba(51, 51, 51, 0.6);
		opacity: 1;
	}

	${({styles:e})=>e}

	${({additionalInputStyling:e})=>e}

  &.has-validation-error {
		border-color: rgba(188, 39, 25, 1);
		margin: 0px;
	}
`,TextArea=a=>{var s=a,{styles:e={},name:i,size:n=TextAreaSizes.SMALL,additionalStyles:o}=s,r=W(s,["styles","name","size","additionalStyles"]);const{color:l,fontFamily:u,fontSize:c,fontWeight:d,fontStyle:m,textDecoration:g,lineHeight:E,letterSpacing:h}=o,I={fontFamily:u,fontSize:c,fontWeight:d,fontStyle:m,textDecoration:g,lineHeight:E,letterSpacing:h};return l&&["::-webkit-input-placeholder",":-ms-input-placeholder","::placeholder"].forEach(v=>{I[`&${v}`]={color:l}}),React.createElement(StyledTextArea,f({styles:e,additionalInputStyling:I,name:i,rows:textareaRowSizes[n],onKeyDown:v=>{(v.key==="ArrowLeft"||v.key==="ArrowRight")&&(v.stopPropagation(),v.nativeEvent.stopImmediatePropagation())}},r))};var TextArea$1=withValidationMessages(TextArea,MdWarning);const getAutocomplete=e=>{if(e.includes("first-name"))return"given-name";if(e.includes("last-name"))return"family-name";if(e.includes("email"))return"email";if(e.includes("phone"))return"tel-national"},StyledInput=styled.input`
	z-index: 10;

	box-sizing: border-box;
	padding: 10px;
	resize: none;

	&::-webkit-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&:-ms-input-placeholder {
		color: rgba(51, 51, 51, 0.6);
	}

	&::placeholder {
		color: rgba(51, 51, 51, 0.6);
		opacity: 1;
	}

	${({styles:e})=>e}

	${({additionalInputStyling:e})=>e}

  &.has-validation-error {
		border-color: rgba(188, 39, 25, 1);
		margin: 0px;
	}
`,TextInput=a=>{var s=a,{styles:e={},name:i,type:n="text",additionalStyles:o}=s,r=W(s,["styles","name","type","additionalStyles"]);const{color:l,fontFamily:u,fontSize:c,fontWeight:d,fontStyle:m,textDecoration:g,lineHeight:E,letterSpacing:h}=o,I={fontFamily:u,fontSize:c,fontWeight:d,fontStyle:m,textDecoration:g,lineHeight:E,letterSpacing:h};return l&&["::-webkit-input-placeholder",":-ms-input-placeholder","::placeholder"].forEach(v=>{I[`&${v}`]={color:l}}),React.createElement(StyledInput,f({autoComplete:getAutocomplete(i),name:i,type:n,styles:e,additionalInputStyling:I,onKeyDown:v=>{(v.key==="ArrowLeft"||v.key==="ArrowRight")&&(v.stopPropagation(),v.nativeEvent.stopImmediatePropagation())}},r))};var TextInput$1=withValidationMessages(TextInput,MdWarning);const identity$5="form-label",EntityInferred$n=new Entity(identity$5,{id:t.UUID,parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$9)}),t.type({id:t.UUID,identity:t.literal(identity$8)}),t.type({id:t.UUID,identity:t.literal(identity$7)}),t.type({id:t.UUID,identity:t.literal(identity$6)})]),identity:t.literal(identity$5),value:t.union([t.string,t.null]),styles:formLabelStyles},{id:void 0,value:null,parent:void 0,identity:identity$5}),entity$n=EntityInferred$n,FormLabel={entity:entity$n,identity:identity$5};function useFormLabel(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(m=>{const g=getEntityFromRef(m,e);return g?{entity:g,mergedThemeStyles:getMergedThemeStylesByEntityType(m,g,"paragraph",o)}:{}},[o,e]),{computed:u,styles:c}=react.exports.useMemo(()=>{var m;return{computed:getComputedStyles$1(l)[i],styles:(m=s==null?void 0:s.styles)==null?void 0:m[i]}},[s==null?void 0:s.styles,i,l]),d=react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a)}):{},[l,a,r]);return{computed:u,css:d,entity:s,styles:c}}const identity$4="form-list-option",identity$3="form-placeholder",EntityInferred$m=new Entity(identity$9,{id:t.UUID,identity:t.literal(identity$9),name:t.string,isRequired:t.boolean,parent:t.type({id:t.UUID,identity:t.literal(identity$A)}),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$3)}),t.type({id:t.UUID,identity:t.literal(identity$5)}),t.type({id:t.UUID,identity:t.literal(identity$4)})])),styles:formListCheckboxStyles},{id:void 0,identity:identity$9,parent:void 0,name:void 0,isRequired:!1,refs:[]}),isFormListCheckbox=e=>e.identity===identity$9,entity$m=EntityInferred$m,FormListCheckbox={entity:entity$m,identity:identity$9};function useFormListCheckbox(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}},[o]),{computed:s,styles:l}=react.exports.useMemo(()=>{var c;return{computed:getComputedStyles$1(a)[i],styles:(c=r==null?void 0:r.styles)==null?void 0:c[i]}},[r==null?void 0:r.styles,i,a]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a):{},[a]);return{entity:r,computed:s,styles:l,css:u}}const EntityInferred$l=new Entity(identity$8,{id:t.UUID,identity:t.literal(identity$8),isRequired:t.boolean,name:t.string,parent:t.type({id:t.UUID,identity:t.literal(identity$A)}),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$5)}),t.type({id:t.UUID,identity:t.literal(identity$3)}),t.type({id:t.UUID,identity:t.literal(identity$4)})])),styles:formListDropdownStyles},{id:void 0,identity:identity$8,isRequired:!1,name:void 0,parent:void 0,refs:[]}),isFormListDropdown=e=>e.identity===identity$8,entity$l=EntityInferred$l,FormListDropdown={entity:entity$l,identity:identity$8};function useFormListDropdown(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(m=>{const g=getEntityFromRef(m,e);return g?{entity:g,mergedThemeStyles:getMergedThemeStylesByEntityType(m,g,"paragraph",o)}:{}},[o,e]),{computed:u,styles:c}=react.exports.useMemo(()=>{var m;return{computed:getComputedStyles$1(l)[i],styles:(m=s==null?void 0:s.styles)==null?void 0:m[i]}},[s==null?void 0:s.styles,i,l]),d=react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a)}):{},[l,a,r]);return{entity:s,computed:u,styles:c,css:d}}const EntityInferred$k=new Entity(identity$4,{id:t.UUID,identity:t.literal(identity$4),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$9)}),t.type({id:t.UUID,identity:t.literal(identity$8)}),t.type({id:t.UUID,identity:t.literal(identity$7)})]),value:t.string,isDefault:t.boolean,label:t.union([t.string,t.null]),styles:formListOptionStyles},{id:void 0,identity:identity$4,parent:void 0,isDefault:!1,label:null,value:void 0}),entity$k=EntityInferred$k,isFormListOption=e=>e.identity===identity$4,FormListOption={entity:entity$k,identity:identity$4};function useFormListOption(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(m=>{const g=getEntityFromRef(m,e);return g?{entity:g,mergedThemeStyles:getMergedThemeStylesByEntityType(m,g,"paragraph",o)}:{}},[o,e]),{computed:u,styles:c}=react.exports.useMemo(()=>{var m;return{computed:getComputedStyles$1(l)[i],styles:(m=s==null?void 0:s.styles)==null?void 0:m[i]}},[s==null?void 0:s.styles,i,l]),d=react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a)}):{},[l,a,r]);return{entity:s,computed:u,styles:c,css:d}}const EntityInferred$j=new Entity(identity$7,{id:t.UUID,identity:t.literal(identity$7),name:t.string,isRequired:t.boolean,parent:t.type({id:t.UUID,identity:t.literal(identity$A)}),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$4)}),t.type({id:t.UUID,identity:t.literal(identity$3)}),t.type({id:t.UUID,identity:t.literal(identity$5)})])),styles:formListRadioStyles},{refs:[],id:void 0,identity:identity$7,name:void 0,isRequired:!1,parent:void 0}),isFormListRadio=e=>e.identity===identity$7,entity$j=EntityInferred$j,FormListRadio={entity:entity$j,identity:identity$7};function useFormListRadio(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}},[o,e]),{computed:s,styles:l}=react.exports.useMemo(()=>{var c;return{computed:getComputedStyles$1(a)[i],styles:(c=r==null?void 0:r.styles)==null?void 0:c[i]}},[r==null?void 0:r.styles,i,a]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a):{},[a]);return{entity:r,computed:s,styles:l,css:u}}const EntityInferred$i=new Entity(identity$3,{id:t.UUID,parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$9)}),t.type({id:t.UUID,identity:t.literal(identity$8)}),t.type({id:t.UUID,identity:t.literal(identity$7)}),t.type({id:t.UUID,identity:t.literal(identity$6)})]),identity:t.literal(identity$3),value:t.union([t.string,t.null]),styles:formPlaceholderStyles},{id:void 0,parent:void 0,value:null,identity:identity$3}),entity$i=EntityInferred$i,FormPlaceholder={entity:entity$i,identity:identity$3};function useFormPlaceholder(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(m=>{const g=getEntityFromRef(m,e);return g?{entity:g,mergedThemeStyles:getMergedThemeStylesByEntityType(m,g,"paragraph",o)}:{}},[o,e]),{computed:u,styles:c}=react.exports.useMemo(()=>{var m;return{computed:getComputedStyles$1(l)[i],styles:(m=s==null?void 0:s.styles)==null?void 0:m[i]}},[s==null?void 0:s.styles,i,l]),d=react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a)}):{},[l,a,r]);return{computed:u,css:d,entity:s,styles:c}}const EntityInferred$h=new Entity(identity$6,{id:t.UUID,identity:t.literal(identity$6),name:t.union([t.null,t.string]),isRequired:t.boolean,parent:t.type({id:t.UUID,identity:t.literal(identity$A)}),refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$3)}),t.type({id:t.UUID,identity:t.literal(identity$5)})])),size:t.union([t.literal("line"),t.literal("small"),t.literal("medium"),t.literal("large")]),validators:t.array(t.literal("email")),styles:formTextStyles},{id:void 0,name:void 0,isRequired:!1,identity:identity$6,size:void 0,parent:void 0,refs:[],validators:[]}),isFormText=e=>e.identity===identity$6,entity$h=EntityInferred$h,FormText={entity:entity$h,identity:identity$6};function useFormTextInput(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(d=>{const m=getEntityFromRef(d,e);return m?{entity:m,mergedThemeStyles:getMergedThemeStylesByEntityType(d,m,"paragraph",o)}:{}},[o,e]),{computed:u}=react.exports.useMemo(()=>({computed:getComputedStyles$1(l)[i]}),[i,l]);return{css:react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a)}):{},[l,a,r]),entity:s,computed:u}}const imageBoxToCSS=createBoxToCSS({overrides:{shadow:(e,i)=>{!i||set_1(e,[`.${CSSIdentifiers$3.FigureWrapper}`,"boxShadow"],`${i.x}px ${i.y}px ${i.blur}px ${i.color}`)},alignment:(e,i)=>{(i==null?void 0:i.horizontal)&&set_1(e,[`.${CSSIdentifiers$3.FigureWrapper}`,"alignSelf"],getAlignContent(i.horizontal))},height:(e,i)=>{i==="fill"?(set_1(e,"flex",1),unset_1(e,[`.${CSSIdentifiers$3.FigureWrapper}`,"flex"])):(unset_1(e,[`.${CSSIdentifiers$3.FigureWrapper}`,"flex"]),unset_1(e,"flex"))},corners:(e,i)=>{if(!(!i||!isObject_1(i)))for(const n of getKeys(i))set_1(e,[`.${CSSIdentifiers$3.FigureWrapper}`,camelCase_1(`border-${n}-radius`)],`${i[n]}px`)},width:(e,i,n)=>{i!=="vw"&&set_1(e,["alignItems"],"inherit !important"),n==null||n("width",getDefaultWidthHandler(i))}},cssSelector:`.${CSSIdentifiers$3.FigureWrapper}`}),imageBorderToCSS=createBorderToCSS({cssSelector:`.${CSSIdentifiers$3.FigureWrapper}`});function useImage(e,i,n,o){const{entity:r,mergedThemeStyles:a,revealAnimation:s}=n(d=>{const m=getEntityFromRef(d,e);if(!m)return{};const g=getMergedThemeStyles(d,m,o),E=m.styles[Screensizes.xl].animation;return E&&isRevealAnimation(E.animationName)?{entity:m,mergedThemeStyles:g,revealAnimation:E}:{entity:m,mergedThemeStyles:g}}),{styles:l,computed:u}=react.exports.useMemo(()=>r?{computed:getComputedStyles$1(a)[i],styles:r.styles[i]}:{computed:{},styles:{}},[r==null?void 0:r.styles,i]),c=react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{box:imageBoxToCSS,border:imageBorderToCSS,visibility:(d,m,g=Screensizes.xl)=>{visibilityToCSSByEntity(d,m,g,r)}}):{},[a]);return r==null?{entity:{},styles:l,computed:u,css:c}:{entity:r,computed:u,styles:l,css:c,revealAnimation:s}}const isBynderImage=e=>e.isExternal&&!e.isUnsplashImage;function isHalImageItem(e){return e.filesize!==void 0&&e.properties!==void 0}const isUnsplashImage=e=>e.isExternal&&e.isUnsplashImage,ImageContainerStyles=styled.img`
	width: 100%;
	height: auto;
	max-height: 100%;
	pointer-events: none;

	/* In print or screenshot mode when the image is a fallback image of video we need pointer-events */
	${({isFallbackImage:e})=>e&&Ce`
			pointer-events: auto;
		`}
	${({styles:e})=>e}
`,FigureContainerStyles=styled.figure`
	display: inline-block;
	max-width: 100%;
	width: 100%;
	min-width: 20px;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	margin: 0;
`,Container$4=styled.div`
	display: flex;
	line-height: 0;
	max-width: 100%;
	width: 100%;
	// default behavior is stretching the content so an image will take the full size of the column. In this case alignment by parent isn't important because there
	// is no space to align.
	align-items: stretch !important;

	& div.link-name-displayer {
		padding: 10px 5px;
		top: -5px;
		right: -10px;
	}

	& > a {
		display: unset;
		font-size: 0;
		max-width: inherit;
		/** align-self property is normally set on the figure element but for the cases where there is
        an anchor element in between (image with a link), we need to pass this property manually.
    */
		${({imageLinkAlignment:e})=>e&&{"align-self":e}}

		&:focus {
			position: relative;
			z-index: 1;
		}
	}

	${({styles:e})=>e}
`,ImgAndLinkNameDisplayerWrapper=styled.div`
	${({styles:e})=>e}
`,getOptimizedSourceAttributes=(e,i)=>{const n=optimizeImage({imageUrl:e,maxWidth:i,resize:!1});return{sizes:`
			(max-width: ${mapMaxWidth[ScreensizesEnum.sm]}px) 800px,
			(max-width: ${mapMaxWidth[ScreensizesEnum.md]}px) 1100px,
			(max-width: ${mapMaxWidth[ScreensizesEnum.lg]}px) 1300px,
			4000px
		`,src:n,srcSet:`
			${optimizeImage({imageUrl:e,imageWidth:800,maxWidth:i})} 800w,
			${optimizeImage({imageUrl:e,imageWidth:1100,maxWidth:i})} 1100w,
			${optimizeImage({imageUrl:e,imageWidth:1300,maxWidth:i})} 1300w,
			${n} 4000w
		`}},ImageFigureWrapper=({children:e,setRef:i=noop_1})=>React.createElement(FigureContainerStyles,{ref:i,className:CSSIdentifiers$3.FigureWrapper},e),ImageContainerWrapper=({styles:e,children:i,imageLinkAlignment:n,setRef:o=noop_1})=>React.createElement(Container$4,{className:CSSIdentifiers$3.Container,styles:e,ref:o,imageLinkAlignment:n},i),ImageViewer=({url:e,alt:i,onLoad:n,children:o,isFallbackImage:r,styles:a,revealAnimation:s})=>{const l=react.exports.useMemo(()=>getOptimizedSourceAttributes(e.href,e.width),[e.href,e.width]);return React.createElement(React.Fragment,null,s?React.createElement(RevealAnimationWrapper,{revealAnimation:s,styles:a},React.createElement(ImageContainerStyles,f({alt:i!=null?i:"",className:CSSIdentifiers$3.Image,"data-testid":"@foleon/maggie-viewer_image-component",hasLink:o!==null,isFallbackImage:r,onLoad:n,styles:a},l))):React.createElement(ImageContainerStyles,f({alt:i!=null?i:"",className:CSSIdentifiers$3.Image,"data-testid":"@foleon/maggie-viewer_image-component",hasLink:o!==null,isFallbackImage:r,onLoad:n,styles:a},l)))},renderImg=({alt:e,children:i,dataFoleonId:n,onLoad:o,renderImageLink:r,revealAnimation:a,shouldShowLinkDisplay:s,styles:l={},url:u})=>{const c=`.${CSSIdentifiers$3.FigureWrapper}`,{width:d,alignSelf:m}=l[c];if(s){const g={display:"inline-block",position:"relative",width:d};return React.createElement(ImageContainerWrapper,{styles:l},React.createElement(ImgAndLinkNameDisplayerWrapper,{styles:g},React.createElement(FigureContainerStyles,{className:CSSIdentifiers$3.FigureWrapper,"data-foleon-id":n},React.createElement(ImageViewer,{alt:e,onLoad:o,revealAnimation:a,url:u})),i))}return React.createElement(ImageContainerWrapper,{styles:l,imageLinkAlignment:m},r?r(React.createElement(FigureContainerStyles,{className:CSSIdentifiers$3.FigureWrapper,"data-foleon-id":n},React.createElement(ImageViewer,{alt:e,onLoad:o,revealAnimation:a,url:u},i))):React.createElement(FigureContainerStyles,{className:CSSIdentifiers$3.FigureWrapper,"data-foleon-id":n},React.createElement(ImageViewer,{alt:e,onLoad:o,revealAnimation:a,url:u},i)))},ChildImage=e=>renderImg(e),ImageViewerContainer=({alt:e,children:i,dataFoleonId:n,onLoad:o,renderImageLink:r,revealAnimation:a,shouldShowLinkDisplay:s,styles:l,url:u})=>{var c;return i&&React.Children.count(i)===1&&!s?React.cloneElement(i[0],(c=i[0])==null?void 0:c.props,[React.createElement(ChildImage,{alt:e!=null?e:"",dataFoleonId:n,onLoad:o,revealAnimation:a,styles:l,url:u}),[...i[0]]]):renderImg({alt:e,children:i,dataFoleonId:n,onLoad:o,renderImageLink:r,revealAnimation:a,shouldShowLinkDisplay:s,styles:l,url:u})},EntityInferred$g=new Entity(identity$p,{id:t.UUID,parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$E),t.literal(identity$B)])}),identity:t.literal(identity$p),appearance:t.literal("circle"),styles:infographicCounterCircleStyles,value:t.union([t.string,t.number]),max:t.union([t.string,t.number]),prefix:t.string,suffix:t.union([t.string,t.null]),maxWeight:t.number,maxSize:t.number,countingDuration:t.union([t.null,t.number]),weight:t.union([t.number,t.null]),size:t.union([t.number,t.null]),maxValueColor:t.union([t.string,t.null]),shownValueColor:t.union([t.string,t.null])},{id:void 0,identity:identity$p,parent:void 0,appearance:"circle",value:void 0,max:void 0,prefix:void 0,suffix:void 0,maxWeight:infographicCounterDefaultMaxSteps,maxSize:infographicCounterDefaultMaxSteps,countingDuration:null,weight:null,size:null,maxValueColor:null,shownValueColor:null}),entity$g=EntityInferred$g,InfographicCounterCircle$1={entity:entity$g,identity:identity$p},isInfographicCounterCircle=e=>e.identity===identity$p,setContainerValue=(e,i,n)=>{e.container?set_1(e.container,i,n):(e.container={},set_1(e.container,i,n))},mapLegacyValuesToStyles=e=>{var i,n,o,r,a,s;return((n=(i=e.styles[Screensizes.xl])==null?void 0:i.animation)==null?void 0:n.duration)===void 0&&e.countingDuration!=null&&setAnimationValue(e.styles[Screensizes.xl],["duration"],e.countingDuration),e.identity==="infographic-counter-number"||(((o=e.styles[Screensizes.xl].container)==null?void 0:o.backgroundColor)===void 0&&e.maxValueColor&&setContainerValue(e.styles[Screensizes.xl],["backgroundColor"],e.maxValueColor),((r=e.styles[Screensizes.xl].container)==null?void 0:r.color)===void 0&&e.shownValueColor&&setContainerValue(e.styles[Screensizes.xl],["color"],e.shownValueColor),((a=e.styles[Screensizes.xl].box)==null?void 0:a.width)===void 0&&e.weight!=null&&setBoxValue(e.styles[Screensizes.xl],["width"],`${e.weight}`),e.identity==="infographic-counter-line")||((s=e.styles[Screensizes.xl].box)==null?void 0:s.height)===void 0&&e.size!=null&&setBoxValue(e.styles[Screensizes.xl],["height"],`${e.size}`),e},getMergedThemeStylesWitLegacyValuesSupport=(e,i,n)=>getMergedThemeStyles(e,mapLegacyValuesToStyles(cloneDeep_1(i)),n),animationStylesToCSSTransformer=createAnimationToCSS({overrides:{duration:noop_1}}),boxStylesToCSSTransformer=createBoxToCSS({overrides:{height:noop_1,width:noop_1}}),containerStylesToCSSTransformer=noop_1;function useInfographicCounterCircle(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(m=>{const g=getEntityFromRef(m,e);return g?{entity:g,mergedThemeStyles:getMergedThemeStylesWitLegacyValuesSupport(m,g,o)}:{}},[o==null?void 0:o.entityStyles["infographic-counter-circle"]]),{computed:u,styles:c}=react.exports.useMemo(()=>({computed:getComputedStyles$1(l)[i],styles:s==null?void 0:s.styles[i]}),[s,l,i]),d=react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a),visibility:(m,g,E=Screensizes.xl)=>{visibilityToCSSByEntity(m,g,E,s)},container:containerStylesToCSSTransformer,box:boxStylesToCSSTransformer,animation:animationStylesToCSSTransformer}):{},[l,a,r]);return{entity:s,css:d,computed:u,styles:c}}const factors=[{name:VisibilitiesEnum.ANIMATION_IN,factor:.05}],usePrevious=e=>{const i=react.exports.useRef();return react.exports.useEffect(()=>{i.current=e},[e]),i.current},VALUE_START=0,ProgressProvider=({disableCountingAnimation:e,valueEnd:i,watchedValues:n,isVisible:o,children:r})=>{const a=react.exports.useRef(!1),s=react.exports.useRef(),[l,u]=react.exports.useState(0),[c,d]=react.exports.useState(!0),m=usePrevious(n),g=()=>(d(!1),u(VALUE_START),setTimeout(()=>{d(!0),u(i)},10));return react.exports.useEffect(()=>{if(e||!a.current||isEqual_1(m,n))return;const E=g();return()=>{clearTimeout(E)}},[n]),react.exports.useEffect(()=>{e||a.current||o&&(a.current=!0,s.current=g())},[o]),react.exports.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),e?r(i,!1,VALUE_START):r(l,c,VALUE_START)},getAriaLabel=(e,i,n,o,r)=>{const a=`${i||""}${r}${o||""}`;return`${"Data element"+(e?", "+e:"")}. ${r?"max value "+a+", ":""}value ${i||""}${n}${o||""}`},parseToInt=e=>{let i,n="";if(typeof e=="string"){const o=e.includes(","),r=e.includes("."),a=o||r;n=o?",":r?".":"",i=parseInt(a?e.replace(new RegExp(`\\${n}`,"g"),""):e)}else i=e;return{numberValue:i,separator:n}},createCountUpInstance=(e,{end:i,duration:n,separator:o="",start:r=0,decimals:a=0,useEasing:s=!1})=>new countUp_umd.exports.CountUp(e,i,{duration:n,separator:o,useEasing:s,useGrouping:!!o,startVal:r,decimalPlaces:a}),MOCK_ELEMENT={innerHTML:null},useCountUp=e=>{const{start:i,end:n}=e,[o,r]=react.exports.useState(i),a=react.exports.useRef(),s=react.exports.useRef(void 0),l=d=>{const m=d?w(f({},e),{duration:d}):e,g=createCountUpInstance(MOCK_ELEMENT,m),E=g.formattingFn;return g.formattingFn=(...h)=>{const I=E(...h);return r(I),I},g},u=d=>{a.current&&(a.current.formattingFn=()=>{});const m=l(d);return a.current=m,m},c=(d,m)=>{i===0&&n===0?r(i):u(m).update(d)};return react.exports.useEffect(()=>(s.current=window.setTimeout(()=>{u().start(()=>{clearTimeout(s.current)})},0),()=>{clearTimeout(s.current)}),[]),{countUp:o,update:c}},VIEWBOX_WIDTH=100,VIEWBOX_HEIGHT=100,VIEWBOX_HEIGHT_HALF=50,VIEWBOX_CENTER_X=50,VIEWBOX_CENTER_Y=50,Path=({counterClockwise:e,dashRatio:i,pathRadius:n,strokeWidth:o,style:r})=>React.createElement("path",{style:Object.assign({},r,getDashStyle({pathRadius:n,dashRatio:i,counterClockwise:e})),d:getPathDescription({pathRadius:n,counterClockwise:e}),strokeWidth:o,fillOpacity:0}),getPathDescription=({pathRadius:e,counterClockwise:i})=>{const n=e,o=i?1:0;return`
      M ${VIEWBOX_CENTER_X},${VIEWBOX_CENTER_Y}
      m 0,-${n}
      a ${n},${n} ${o} 1 1 0,${2*n}
      a ${n},${n} ${o} 1 1 0,-${2*n}
    `},getDashStyle=({counterClockwise:e,dashRatio:i,pathRadius:n})=>{const o=Math.PI*2*n,r=(1-i)*o;return{strokeDasharray:`${o}px ${o}px`,strokeDashoffset:`${e?-r:r}px`}},StyledDiv$7=styled.div`
	position: relative;
	width: 100%;

	${({styles:e})=>e}
`,StyledTextContainer=styled.div`
	display:flex;
`,getCircleWrapWidth=e=>`calc(100% - 2 * ${e}%)`,CircleWrap=styled.div`
	display: inline-block;
	width: ${({calculatedPadding:e})=>getCircleWrapWidth(e)};
	position: relative;
`,Circle$1=({styles:e,separator:i,value:n,minValue:o,hasAnimation:r,max:a,prefix:s,suffix:l,valueStart:u,onClick:c,disableCountingAnimation:d,isVisible:m,countingDuration:g,maxValueColor:E,shownValueColor:h,size:I,maxSize:v,weight:S,circleRatio:T=1,counterClockwise:x=!1,testId:C})=>{const A=n,{numberValue:R}=parseToInt(a),_=react.exports.useRef(!1),F=react.exports.useRef(S),N=VIEWBOX_HEIGHT_HALF/v/2*(v-I),D=(()=>r?F.current!==S?(F.current=S,!1):!0:!1)(),O={root:{},path:{stroke:h,strokeLinecap:"butt",transition:D?`stroke-dashoffset ${g/1e3}s`:"none"},trail:{stroke:E,strokeLinecap:"butt",transformOrigin:"center center",transition:D?`stroke-dashoffset ${g/1e3}s`:"none"},text:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",width:"100%",height:"100%",padding:`0 ${S}%`,top:"0",left:"0",wordBreak:"break-all",textAlign:"center"}},B=()=>VIEWBOX_HEIGHT_HALF-S/2,L=()=>(Math.min(Math.max(A,o),R)-o)/(R-o),k=B(),M=L(),{countUp:P,update:V}=useCountUp({end:A,start:u,duration:g/1e3,useEasing:!1,separator:i}),{computedCountUp:G,computedUpdate:U}=d?{computedCountUp:A,computedUpdate:noop_1}:{computedCountUp:P,computedUpdate:V};return react.exports.useEffect(()=>{if(d||!_.current)return;let z;return(A||A===0)&&(A!==u||A===0&&u===0)&&(z=setTimeout(()=>{U(A,g/1e3)},10)),()=>{z&&clearTimeout(z)}},[n,g]),react.exports.useEffect(()=>{if(d||_.current)return;let z;return m&&(_.current=!0,z=setTimeout(()=>{U(A,g/1e3)},10)),()=>{z&&clearTimeout(z)}},[m,d]),React.createElement(StyledDiv$7,{styles:e,onClick:c,"data-testid":C},React.createElement(CircleWrap,{calculatedPadding:N},isUndefined_1(n)?null:React.createElement(StyledTextContainer,null,React.createElement(StyledDiv$7,{styles:e,"data-testid":`${C}__inner-content`,style:O.text},s,G,l)),React.createElement("svg",{style:O.root,viewBox:`0 0 ${VIEWBOX_WIDTH} ${VIEWBOX_HEIGHT}`},React.createElement(Path,{counterClockwise:!x,dashRatio:T-M*T,pathRadius:k,strokeWidth:S,style:O.trail}),React.createElement(Path,{counterClockwise:x,dashRatio:M*T,pathRadius:k,strokeWidth:S,style:O.path})),React.createElement("br",null)))},StyledDiv$6=styled.div`
	width: 100%;
`,InfographicCounterCircle=({id:e,styles:i,max:n,value:o,prefix:r,suffix:a,disableCountingAnimation:s=!1,onClick:l,maxSize:u,testId:c,computed:d})=>{var T,x,C;const{viewportObserverRef:m,inView:g}=useViewportObserver({factors,shouldUpdateWhenScrollDirectionChanges:!0}),{numberValue:E,separator:h}=parseToInt(o),I=(x=(T=d.animation)==null?void 0:T.duration)!=null?x:infographicCounterDefaultCountingDuration,v=s||I===0,S=!!((C=g[VisibilitiesEnum.ANIMATION_IN])==null?void 0:C.isVisible);return React.createElement(StyledDiv$6,{id:`infographic-counter-circle-${e}`,ref:m,"aria-label":getAriaLabel("counter circular",r,o,a,n),role:"figure","data-foleon-id":e},React.createElement(ProgressProvider,{disableCountingAnimation:s,valueEnd:E,watchedValues:{animation:I,value:o},isVisible:S},(A,R,_)=>{var F,N,D,O;return React.createElement(Circle$1,{styles:i,max:n,separator:h,value:A,disableCountingAnimation:v,valueStart:_,minValue:_,hasAnimation:R,prefix:r,suffix:a,onClick:l,testId:c,countingDuration:I,maxValueColor:((F=d.container)==null?void 0:F.backgroundColor)||infographicCounterDefaultMaxValueColor,shownValueColor:((N=d.container)==null?void 0:N.color)||infographicCounterDefaultShownValueColor,weight:Number(((D=d==null?void 0:d.box)==null?void 0:D.width)||infographicCounterDefaultWeight),size:Number(((O=d==null?void 0:d.box)==null?void 0:O.height)||infographicCounterDefaultSize),maxSize:u,isVisible:S})}))},EntityInferred$f=new Entity(identity$o,{id:t.UUID,parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$E),t.literal(identity$B)])}),identity:t.literal(identity$o),appearance:t.literal("line"),styles:infographicCounterLineStyles,value:t.union([t.string,t.number]),max:t.union([t.number,t.string]),prefix:t.union([t.string,t.null]),maxWeight:t.number,suffix:t.string,countingDuration:t.union([t.null,t.number]),weight:t.union([t.number,t.null]),maxValueColor:t.union([t.string,t.null]),shownValueColor:t.union([t.string,t.null])},{id:void 0,identity:identity$o,parent:void 0,appearance:"line",value:void 0,max:void 0,prefix:void 0,suffix:void 0,countingDuration:null,maxWeight:infographicCounterLineDefaultMaxSteps,weight:null,maxValueColor:null,shownValueColor:null}),entity$f=EntityInferred$f,InfographicCounterLine$1={entity:entity$f,identity:identity$o};function useInfographicCounterLine(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(m=>{const g=getEntityFromRef(m,e);return g?{entity:g,mergedThemeStyles:getMergedThemeStylesWitLegacyValuesSupport(m,g,o)}:{}},[o==null?void 0:o.entityStyles["infographic-counter-line"]]),{computed:u,styles:c}=react.exports.useMemo(()=>({computed:getComputedStyles$1(l)[i],styles:s==null?void 0:s.styles[i]}),[s,l,i]),d=react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a),visibility:(m,g,E=Screensizes.xl)=>{visibilityToCSSByEntity(m,g,E,s)},container:containerStylesToCSSTransformer,box:boxStylesToCSSTransformer,animation:animationStylesToCSSTransformer}):{},[l,a,r]);return{entity:s,css:d,computed:u,styles:c}}const LINE_CONTAINER_HEIGHT=100,LINE_CONTAINER_WIDTH=100,StyledContainer$1=styled.div`
	display: flex;
	flex-direction: column;
	width: 100%;
`,StyledText=styled.div`
	word-break: break-all;
`,StylesMaxValueContainer=styled.div`
	display: flex;
	overflow: hidden;
	background-color: ${({maxValueColor:e})=>e};
	flex-basis: ${({weight:e})=>LINE_CONTAINER_HEIGHT/12*e}px;
	${({radiusStyles:e})=>e};
`,StyledShownValueContainer=styled.div`
	width: ${({value:e,max:i})=>e*LINE_CONTAINER_WIDTH/i}%;
	transition: ${({hasAnimation:e,countingDuration:i})=>e?"width "+i/1e3+"s":"none"};
	background-color: ${({shownValueColor:e})=>e};
	${({radiusStyles:e})=>e};
`,Line$1=e=>{const{radiusStyles:i,value:n,separator:o,hasAnimation:r,prefix:a,suffix:s,valueStart:l,onClick:u,disableCountingAnimation:c,max:d,isVisible:m,countingDuration:g,maxValueColor:E,shownValueColor:h,weight:I,testId:v}=e,S=n,{numberValue:T}=parseToInt(d),x=react.exports.useRef(!1),{countUp:C,update:A}=useCountUp({end:S,start:l,duration:g/1e3,useEasing:!1,separator:o}),{computedCountUp:R,computedUpdate:_}=c?{computedCountUp:n,computedUpdate:lodash.exports.noop}:{computedCountUp:C,computedUpdate:A};return React.useEffect(()=>{if(c||!x.current)return;let F;return(S||S===0)&&(S!==l||n===0&&l===0)&&(F=setTimeout(()=>{_(S,g/1e3)},10)),()=>{clearTimeout(F)}},[S,g]),React.useEffect(()=>{if(c||x.current)return;let F;return m&&(x.current=!0,F=setTimeout(()=>{_(S,g/1e3)},10)),()=>{clearTimeout(F)}},[m,c]),React.createElement(StyledContainer$1,{onClick:u,"data-testid":v},lodash.exports.isUndefined(S)?null:React.createElement(StyledText,{"data-testid":`${v}__inner-content`},a,R,s),React.createElement(StylesMaxValueContainer,{maxValueColor:E,weight:I,radiusStyles:i,"data-testid":`${v}__outer-bar`},React.createElement(StyledShownValueContainer,{shownValueColor:h,hasAnimation:r,value:S,radiusStyles:i,max:T,countingDuration:g,"data-testid":`${v}__inner-bar`})))},StyledDiv$5=styled.div`
	position: relative;
	width: 100%;

	${({styles:e})=>e};
`,isRadiusStyle=(e,i)=>i.toLowerCase().includes("radius"),InfographicCounterLine=e=>{var C,A,R;const{id:i,styles:n,max:o,value:r,prefix:a,suffix:s,disableCountingAnimation:l=!1,onClick:u,computed:c,testId:d}=e,m=pickBy_1(n,isRadiusStyle),g=omitBy_1(n,isRadiusStyle),{viewportObserverRef:E,inView:h}=useViewportObserver({factors,shouldUpdateWhenScrollDirectionChanges:!0}),{numberValue:I,separator:v}=parseToInt(r),S=(A=(C=c.animation)==null?void 0:C.duration)!=null?A:infographicCounterDefaultCountingDuration,T=l||S===0,x=!!((R=h[VisibilitiesEnum.ANIMATION_IN])==null?void 0:R.isVisible);return React.createElement(StyledDiv$5,{id:`infographic-counter-line-${i}`,styles:g,ref:E,"aria-label":getAriaLabel("progress bar",a,r,s,o),role:"figure","data-testid":`${d}__outer-content`,"data-foleon-id":i},React.createElement(ProgressProvider,{disableCountingAnimation:l,valueEnd:I,watchedValues:{animation:S,value:r},isVisible:x},(_,F,N)=>{var D,O,B;return React.createElement(Line$1,{radiusStyles:m,max:o,value:_,separator:v,disableCountingAnimation:T,valueStart:N,hasAnimation:F,prefix:a,suffix:s,onClick:u,countingDuration:S,maxValueColor:((D=c.container)==null?void 0:D.backgroundColor)||infographicCounterLineDefaultMaxValueColor,shownValueColor:((O=c.container)==null?void 0:O.color)||infographicCounterLineDefaultShownValueColor,weight:Number(((B=c==null?void 0:c.box)==null?void 0:B.width)||infographicCounterLineDefaultWeight),isVisible:x,testId:d})}))},EntityInferred$e=new Entity(identity$n,{id:t.UUID,parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$E),t.literal(identity$B)])}),identity:t.literal(identity$n),appearance:t.literal("number"),styles:infographicCounterNumberStyles,value:t.string,prefix:t.union([t.string,t.null]),suffix:t.union([t.string,t.null]),countingDuration:t.union([t.number,t.null])},{id:void 0,identity:identity$n,parent:void 0,appearance:"number",value:void 0,prefix:void 0,suffix:void 0,countingDuration:null}),entity$e=EntityInferred$e,InfographicCounterNumber$1={entity:entity$e,identity:identity$n};var InfographicCounterCSSIdentifiers;(function(e){e.AriaWrapper="ripley__Infographic-counter--aria-wrapper"})(InfographicCounterCSSIdentifiers||(InfographicCounterCSSIdentifiers={}));function useInfographicCounterNumber(e,i,n,o){const r=useAssetsStoreState(),{loadFonts:a}=useFontLoader(),{entity:s,mergedThemeStyles:l}=n(m=>{const g=getEntityFromRef(m,e);return g?{entity:g,mergedThemeStyles:getMergedThemeStylesWitLegacyValuesSupport(m,g,o)}:{}},[o==null?void 0:o.entityStyles["infographic-counter-number"]]),{computed:u,styles:c}=react.exports.useMemo(()=>({computed:getComputedStyles$1(l)[i],styles:s==null?void 0:s.styles[i]}),[s,l,i]),d=react.exports.useMemo(()=>l?stylesToCSSTransformer(l,{font:fontToCSS(r,a),visibility:(m,g,E=Screensizes.xl)=>{visibilityToCSSByEntity(m,g,E,s)},box:createBoxToCSS({overrides:{alignment:(m,g)=>{(g==null?void 0:g.horizontal)&&set_1(m,[`.${InfographicCounterCSSIdentifiers.AriaWrapper}`,"alignSelf"],getAlignContent(g==null?void 0:g.horizontal))}}}),animation:animationStylesToCSSTransformer}):{},[l,a,r]);return{entity:s,css:d,computed:u,styles:c}}const StyledDiv$4=styled.div`
	word-break: break-all;
`,NumberInner=({value:e,prefix:i,suffix:n,countingDuration:o,onClick:r=noop_1,disableCountingAnimation:a,isVisible:s,testId:l})=>{const u=react.exports.useRef(!1);let c=e,d="";if(isString_1(e)){const h=e.match(/,/g),I=e.match(/\./g);(h||I)&&(d=h?",":".",c=e.replace(new RegExp(`\\${d}`,"g"),""))}const{countUp:m,update:g}=useCountUp({end:Number.parseInt(c),duration:o/1e3,separator:d}),E=a?e:m;return React.useEffect(()=>{let h;return c&&(h=setTimeout(()=>{g(Number.parseInt(c),o/1e3)},10)),()=>{clearTimeout(h)}},[e,o]),React.useEffect(()=>{if(a||u.current)return;let h;return s&&(u.current=!0,h=setTimeout(()=>{g(Number.parseInt(c),o/1e3)},10)),()=>{clearTimeout(h)}},[s]),React.createElement("div",{onClick:r,className:InfographicCounterCSSIdentifiers.AriaWrapper},e&&React.createElement(StyledDiv$4,{"data-testid":l},i,E,n))},StyledDiv$3=styled.div`
	position: relative;
	width: 100%;

	${({styles:e})=>e}
`,InfographicCounterNumber=e=>{var I,v,S;const{id:i,styles:n,value:o,prefix:r,suffix:a,disableCountingAnimation:s=!1,onClick:l,computed:u,testId:c}=e,{viewportObserverRef:d,inView:m}=useViewportObserver({factors,shouldUpdateWhenScrollDirectionChanges:!0}),g=!!((I=m[VisibilitiesEnum.ANIMATION_IN])==null?void 0:I.isVisible),E=(S=(v=u==null?void 0:u.animation)==null?void 0:v.duration)!=null?S:infographicCounterDefaultCountingDuration,h=s||E===0;return React.createElement(StyledDiv$3,{id:`infographic-counter-number-${i}`,styles:n,ref:d,"data-testid":c,"aria-label":getAriaLabel("counter number",r,o,a),role:"figure","data-foleon-id":i},React.createElement(NumberInner,{value:o,prefix:r,suffix:a,onClick:l,countingDuration:E,disableCountingAnimation:h,isVisible:g,testId:`${c}__inner-content`}))},identity$2="social-login",EntityInferred$d=new Entity(identity$z,{authUrl:t.union([t.string,t.null]),id:t.UUID,identity:t.literal(identity$z),isSkippable:t.boolean,parent:t.type({id:t.UUID,identity:t.literal(identity$E)}),refs:t.array(t.type({id:t.UUID,identity:t.union([t.literal(identity$F),t.literal(identity$K),t.literal(identity$A),t.literal(identity$2),t.literal(identity$H),t.literal(identity$r)])})),status:t.union([t.null,t.boolean]),styles:leadGenStyles,value:t.union([t.string,t.null])},{authUrl:null,id:void 0,identity:identity$z,isSkippable:!1,parent:void 0,refs:[],status:null,value:null}),entity$d=EntityInferred$d,LeadGen={entity:entity$d,identity:identity$z};function useLeadGen(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{styles:s,computed:l}=react.exports.useMemo(()=>r?{computed:getComputedStyles$1(a)[i],styles:r.styles[i]}:{styles:{},computed:{}},[r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a):{},[a]);return{entity:r,computed:l,styles:s,css:u}}var GateNames;(function(e){e.FOLEON="Foleon",e.HUBSPOT="HubSpot",e.SFP="Salesforce Pardot",e.MARKETO="Marketo",e.ELOQUA="Eloqua"})(GateNames||(GateNames={}));const EntityInferred$c=new Entity(identity$2,{clientId:t.union([t.null,t.string]),clientSecret:t.union([t.null,t.string]),id:t.UUID,identity:t.literal(identity$2),parent:t.type({id:t.UUID,identity:t.literal(identity$z)}),thirdPartyKey:t.union([t.literal("facebook"),t.literal("linkedin")]),value:t.string},{clientId:null,clientSecret:null,id:void 0,identity:identity$2,parent:void 0,thirdPartyKey:void 0,value:null}),entity$c=EntityInferred$c,SocialLogin={entity:entity$c,identity:identity$2},useLeadGenQueries=e=>{const i=e(o=>{var a;const r=Object.keys(o[LeadGen.identity]||{})[0];return(a=o[LeadGen.identity])==null?void 0:a[r]}),n=e(o=>{if(!i)return!1;let r=!1,a=!1;return i.refs.forEach(s=>{var l,u;if(s.identity===SocialLogin.identity){const c=(l=o[SocialLogin.identity])==null?void 0:l[s.id];(c==null?void 0:c.value)==="enabled"&&(r=!0)}if(s.identity===Form$1.identity){const c=(u=o[Form$1.identity])==null?void 0:u[s.id];(c==null?void 0:c.styles[50].visibility)!=="none"&&(a=!0)}}),r&&a});return{leadGenItem:i,shouldRenderOr:n}},rotation=Ue`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
`,RingWrapper=styled.div`
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
`,Ring=styled.div`
	display: inline-block;
	position: relative;
	${({size:e})=>`
		width: ${e}px;
		height: ${e}px;`}
`,RingPart=styled.div`
	box-sizing: border-box;
	display: block;
	position: absolute;
	${({borderSize:e,size:i,borderColor:n})=>`
		margin: ${e}px;
		border: ${e}px solid #fff;
		width: ${i-e}px;
		height: ${i-e}px;
		border-color: ${n} transparent transparent transparent;
`};

	border-radius: 50%;
	animation: ${rotation} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;

	:nth-child(1) {
		animation-delay: -0.45s;
	}
	:nth-child(2) {
		animation-delay: -0.3s;
	}
	:nth-child(3) {
		animation-delay: -0.15s;
	}
`,Text$1=styled.p`
	font-family: 'proxima-nova', 'ProximaNova', Arial, Helvetica, sans-serif;
	font-size: ${({size:e})=>e/3}px;
	line-height: 1.5;
	color: rgba(0, 43, 72, 1);
	margin-top: 5px;
`,Loader=s=>{var l=s,{size:e,text:i,borderSize:n,className:o,color:r}=l,a=W(l,["size","text","borderSize","className","color"]);const c=r||"#fff";return react.exports.createElement(RingWrapper,null,react.exports.createElement(Ring,f({size:e,mx:2,className:o||""},a),react.exports.createElement(RingPart,{borderSize:n,size:e,borderColor:c}),react.exports.createElement(RingPart,{borderSize:n,size:e,borderColor:c}),react.exports.createElement(RingPart,{borderSize:n,size:e,borderColor:c})),i&&react.exports.createElement(Text$1,{size:e},i))};Loader.defaultProps={borderSize:2,size:24};const LoaderStyledContainer=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 11;
	background-color: rgba(255, 255, 255, 0.75);
`,Wrapper$6=styled.div`
	position: relative;
	width: 100%;

	// if gate is set to some third party CRM, styles of the lead-gen should not be visible,
	// because there is no social login elements and an additional styled container is no longer needed
	${({leadGenGate:e,styles:i})=>e&&e==="Foleon"&&!isEmpty_1(i)&&Ce`
			${i}
		`}
`,LeadGenViewerContainer=a=>{var s=a,{children:e,styles:i,showLoading:n=!0,leadGenGate:o}=s,r=W(s,["children","styles","showLoading","leadGenGate"]);const[l,u]=react.exports.useState(!1);return react.exports.useEffect(()=>{setTimeout(()=>{u(!0)},1e3)},[]),React.createElement(Wrapper$6,f({styles:i,leadGenGate:o},r),n&&!l&&(!o||o==="Foleon")&&React.createElement(LoaderStyledContainer,null,React.createElement(Loader,{text:translator.translate("Loading..."),borderSize:2,size:50,color:"#002B48"})),e)};function useSocialLogin(e,i,n){const{entity:o}=n(r=>{const a=getEntityFromRef(r,e);return a?{entity:a}:{}});return{entity:o}}function useSocialLoginQueries(e){return{authUrl:e(n=>{var a;const o=Object.keys(n[LeadGen.identity]||{})[0],r=(a=n[LeadGen.identity])==null?void 0:a[o];return(r==null?void 0:r.authUrl)||null})}}const DEFAULT_ICON_SIZE=24,colors$1={facebook:{name:"Facebook",bgColor:"#3B5998"},twitter:{name:"X",fgColor:"#ffffff",bgColor:"#000000"},linkedin:{name:"LinkedIn",bgColor:"#0077B5"},whatsapp:{name:"WhatsApp",bgColor:"#25d366"},mail:{name:"mail",bgColor:"#333333"},xing:{name:"XING",bgColor:"#005a5f"},instagram:{name:"instagram",bgColor:"#D93175"},pinterest:{name:"pinterest",bgColor:"#BD081C"},snapchat:{name:"snapchat",bgColor:"#FFFC00"},tiktok:{name:"tiktok",bgColor:"#000000"},youtube:{name:"youtube",bgColor:"#FF0000"},vimeo:{name:"vimeo",bgColor:"#1ab7ea"},globe:{name:"globe",bgColor:"#6E6E6E"},line:{name:"line",bgColor:"#00c300"},wechat:{name:"wechat",bgColor:"#09B83E"}},Facebook=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m29.4 0.3v5.9h-3.5q-1.9 0-2.6 0.8t-0.7 2.4v4.2h6.6l-0.9 6.6h-5.7v16.9h-6.8v-16.9h-5.7v-6.6h5.7v-4.9q0-4.1 2.3-6.4t6.2-2.3q3.3 0 5.1 0.3z"}))),Twitter=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"M30.4065 3.75H35.9198L23.8748 17.5167L38.0448 36.25H26.9498L18.2598 24.8883L8.31651 36.25H2.79984L15.6832 21.525L2.08984 3.75H13.4665L21.3215 14.135L30.4065 3.75ZM28.4715 32.95H31.5265L11.8065 6.87667H8.52818L28.4715 32.95Z"}))),Linkedin=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m10.8 13.9v22.2h-7.4v-22.1h7.4z m0.5-6.8q0 1.7-1.2 2.7t-3 1.1h0q-1.9 0-3-1.1t-1.1-2.7q0-1.6 1.2-2.7t3-1.1 2.9 1.1 1.2 2.7z m26 16.3v12.7h-7.4v-11.9q0-2.3-0.9-3.6t-2.8-1.4q-1.4 0-2.3 0.8t-1.5 1.9q-0.2 0.7-0.2 1.8v12.4h-7.3q0-8.9 0-14.5t0-6.6l0-1h7.3v3.2h-0.1q0.5-0.7 1-1.3t1.2-1.1 2-1 2.5-0.4q3.8 0 6.2 2.6t2.3 7.4z"}))),Whatsapp=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m25 21.7q0.3 0 2.2 1t2 1.2q0 0.1 0 0.3 0 0.8-0.4 1.7-0.3 0.9-1.6 1.5t-2.2 0.6q-1.3 0-4.3-1.4-2.2-1-3.8-2.6t-3.3-4.2q-1.6-2.3-1.6-4.3v-0.2q0.1-2 1.7-3.5 0.5-0.5 1.2-0.5 0.1 0 0.4 0t0.4 0.1q0.4 0 0.6 0.1t0.3 0.6q0.2 0.5 0.8 2t0.5 1.7q0 0.5-0.8 1.3t-0.7 1q0 0.2 0.1 0.3 0.7 1.7 2.3 3.1 1.2 1.2 3.3 2.2 0.3 0.2 0.5 0.2 0.4 0 1.2-1.1t1.2-1.1z m-4.5 11.9q2.8 0 5.4-1.1t4.5-3 3-4.5 1.1-5.4-1.1-5.5-3-4.5-4.5-2.9-5.4-1.2-5.5 1.2-4.5 2.9-2.9 4.5-1.2 5.5q0 4.5 2.7 8.2l-1.7 5.2 5.4-1.8q3.5 2.4 7.7 2.4z m0-30.9q3.4 0 6.5 1.4t5.4 3.6 3.5 5.3 1.4 6.6-1.4 6.5-3.5 5.3-5.4 3.6-6.5 1.4q-4.4 0-8.2-2.1l-9.3 3 3-9.1q-2.4-3.9-2.4-8.6 0-3.5 1.4-6.6t3.6-5.3 5.3-3.6 6.6-1.4z"}))),Mail=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m40 15.8v17.8q0 1.4-1 2.5t-2.6 1h-32.8q-1.5 0-2.6-1t-1-2.5v-17.8q1 1.1 2.3 2 8 5.5 11 7.7 1.3 0.9 2.1 1.5t2.1 1 2.5 0.6h0q1.2 0 2.5-0.6t2.1-1 2.1-1.5q3.7-2.8 11.1-7.7 1.2-0.9 2.2-1.9z m0-6.5q0 1.7-1.1 3.4t-2.7 2.7q-8.4 5.8-10.5 7.3-0.2 0.1-0.9 0.6t-1.2 0.9-1.2 0.7-1.3 0.6-1.1 0.2h0q-0.5 0-1.1-0.2t-1.3-0.6-1.2-0.7-1.2-0.9-0.9-0.6q-2.1-1.5-5.9-4.1t-4.6-3.2q-1.3-0.9-2.6-2.6t-1.2-3q0-1.8 0.9-2.9t2.7-1.2h32.8q1.5 0 2.5 1.1t1.1 2.5z"}))),Xing=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m17.8 14.9q-0.2 0.4-5.7 10.2-0.6 1-1.5 1h-5.3q-0.5 0-0.7-0.4t0-0.8l5.7-10q0 0 0 0l-3.6-6.2q-0.3-0.5-0.1-0.9 0.2-0.3 0.8-0.3h5.3q0.9 0 1.5 1z m18-14.3q0.3 0.3 0 0.8l-11.8 20.8v0.1l7.5 13.7q0.3 0.4 0.1 0.8-0.3 0.3-0.8 0.3h-5.3q-0.9 0-1.5-1l-7.5-13.8 11.8-21.1q0.6-1 1.4-1h5.4q0.5 0 0.7 0.4z"}))),Instagram=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:`M39.9,11.8c-0.1-2.1-0.4-3.6-0.9-4.9c-0.5-1.3-1.2-2.4-2.3-3.5c-1.1-1.1-2.2-1.8-3.5-2.3
					c-1.3-0.5-2.7-0.8-4.9-0.9C26.1,0,25.4,0,20,0s-6.1,0-8.2,0.1C9.6,0.2,8.2,0.6,6.9,1C5.6,1.6,4.5,2.2,3.4,3.4
					C2.2,4.5,1.6,5.6,1,6.9c-0.5,1.3-0.8,2.7-0.9,4.9C0,13.9,0,14.6,0,20c0,5.4,0,6.1,0.1,8.2c0.1,2.1,0.4,3.6,0.9,4.9
					c0.5,1.3,1.2,2.4,2.3,3.5c1.1,1.1,2.2,1.8,3.5,2.3c1.3,0.5,2.7,0.8,4.9,0.9C13.9,40,14.6,40,20,40s6.1,0,8.2-0.1
					c2.1-0.1,3.6-0.4,4.9-0.9c1.3-0.5,2.4-1.2,3.5-2.3c1.1-1.1,1.8-2.2,2.3-3.5c0.5-1.3,0.8-2.7,0.9-4.9C40,26.1,40,25.4,40,20
					S40,13.9,39.9,11.8z M36.3,28.1c-0.1,1.9-0.4,3-0.7,3.7c-0.4,0.9-0.8,1.6-1.5,2.3c-0.7,0.7-1.4,1.1-2.3,1.5
					c-0.7,0.3-1.8,0.6-3.7,0.7c-2.1,0.1-2.7,0.1-8.1,0.1s-6,0-8.1-0.1c-1.9-0.1-3-0.4-3.7-0.7c-0.9-0.4-1.6-0.8-2.3-1.5
					c-0.7-0.7-1.1-1.4-1.5-2.3c-0.3-0.7-0.6-1.8-0.7-3.7C3.6,26,3.6,25.3,3.6,20s0-6,0.1-8.1c0.1-1.9,0.4-3,0.7-3.7
					c0.4-0.9,0.8-1.6,1.5-2.3c0.7-0.7,1.4-1.1,2.3-1.5c0.7-0.3,1.8-0.6,3.7-0.7C14,3.6,14.7,3.6,20,3.6s6,0,8.1,0.1
					c1.9,0.1,3,0.4,3.7,0.7c0.9,0.4,1.6,0.8,2.3,1.5c0.7,0.7,1.1,1.4,1.5,2.3c0.3,0.7,0.6,1.8,0.7,3.7c0.1,2.1,0.1,2.7,0.1,8.1
					S36.4,26,36.3,28.1z`}),React.createElement("path",{d:`M20,9.7C14.3,9.7,9.7,14.3,9.7,20c0,5.7,4.6,10.3,10.3,10.3S30.3,25.7,30.3,20C30.3,14.3,25.7,9.7,20,9.7z
					 M20,26.7c-3.7,0-6.7-3-6.7-6.7c0-3.7,3-6.7,6.7-6.7c3.7,0,6.7,3,6.7,6.7C26.7,23.7,23.7,26.7,20,26.7z`})),React.createElement("circle",{cx:"30.7",cy:"9.3",r:"2.4"}))),Pinterest=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"M20.9,0.2C10.1,0.2,4.6,7.9,4.6,14.4c0,3.9,1.5,7.4,4.7,8.7c0.5,0.2,1,0,1.1-0.6c0.1-0.4,0.4-1.4,0.5-1.8 c0.2-0.6,0.1-0.8-0.3-1.3C9.7,18.4,9.1,17,9.1,15c0-5.8,4.3-10.9,11.2-10.9c6.1,0,9.5,3.7,9.5,8.7c0,6.6-2.9,12.1-7.2,12.1 c-2.4,0-4.2-2-3.6-4.4c0.7-2.9,2-6,2-8.1c0-1.9-1-3.4-3.1-3.4c-2.4,0-4.4,2.5-4.4,5.9c0,2.2,0.7,3.6,0.7,3.6s-2.5,10.6-2.9,12.4 c-0.9,3.7-0.1,8.2-0.1,8.7c0,0.3,0.4,0.3,0.5,0.1c0.2-0.3,3.1-3.9,4.1-7.5c0.3-1,1.6-6.3,1.6-6.3c0.8,1.5,3.1,2.8,5.6,2.8 c7.3,0,12.3-6.7,12.3-15.6C35.4,6.5,29.6,0.2,20.9,0.2"}))),Snapchat=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"M19.9,38L19.9,38c0.1,0,0.2,0,0.3,0c2.2,0,3.6-1,5-2c1-0.7,2-1.4,3.2-1.6c0.6-0.1,1.1-0.1,1.7-0.1 c0.9,0,1.6,0.1,2.3,0.2c0.4,0.1,0.6,0.1,0.7,0.1h0c0.1,0,0.1,0,0.2-0.1c0.1-0.3,0.2-0.6,0.2-0.9c0.2-0.8,0.3-1.5,0.9-1.6 c3.9-0.6,4.6-1.4,4.7-1.7c0,0,0-0.1,0-0.1c0,0,0,0,0,0c-5.9-1-8.5-6.9-8.6-7.2l0,0c-0.4-0.8-0.5-1.5-0.2-2.1 c0.5-1.1,1.8-1.5,2.7-1.8c0.2-0.1,0.4-0.1,0.5-0.2c1.4-0.6,1.5-1.1,1.5-1.2c0-0.2-0.3-0.5-0.7-0.7l0,0C34.2,17,34.1,17,33.9,17 c-0.2,0-0.3,0-0.4,0.1c-0.7,0.4-1.4,0.5-2,0.6l0,0l0,0c-0.8,0-1.3-0.4-1.4-0.5L29.9,17l0-0.2c0-0.3,0-0.7,0.1-1.1l0-0.1 c0.2-2.6,0.4-5.9-0.4-7.7C27.1,2.4,21.9,2,20.4,2l-0.1,0l0,0c0,0-0.7,0-0.7,0c-1.5,0-6.7,0.4-9.1,5.9C9.6,9.7,9.8,13,10,15.6l0,0 c0,0.4,0,0.8,0.1,1.2l0,0.2L10,17.1c-0.1,0.1-0.6,0.5-1.5,0.5c-0.6,0-1.4-0.2-2.2-0.6C6.2,17,6.1,17,6,17c-0.5,0-1.1,0.3-1.2,0.7 c-0.1,0.3,0.3,0.8,1.5,1.3C6.5,19,6.7,19,6.9,19.1c0.9,0.3,2.3,0.7,2.7,1.8c0.3,0.6,0.2,1.3-0.2,2.1l0,0c-0.1,0.3-2.7,6.2-8.6,7.2 c0,0,0,0,0,0c0,0,0,0.1,0,0.1c0.1,0.2,0.7,1.1,4.7,1.7c0.6,0.1,0.7,0.8,0.9,1.6c0.1,0.3,0.1,0.6,0.2,0.9c0,0.1,0,0.1,0.2,0.1 c0.2,0,0.5-0.1,0.7-0.1c0.6-0.1,1.3-0.3,2.3-0.3c0.5,0,1.1,0,1.7,0.1c1.2,0.2,2.2,0.9,3.2,1.6c1.4,1,2.8,2,5,2 C19.8,38,19.8,38,19.9,38L19.9,38z"}),React.createElement("path",{fill:"#000",d:"M20.4,2c1.5,0,6.7,0.4,9.1,5.9c0.8,1.8,0.6,5.1,0.4,7.7c0,0.4-0.1,0.8-0.1,1.2l0,0.2l0.1,0.1 c0,0,0.5,0.5,1.4,0.5l0,0l0,0c0.6,0,1.3-0.2,2.1-0.6c0.1-0.1,0.3-0.1,0.4-0.1c0.2,0,0.4,0,0.5,0.1l0,0c0.4,0.1,0.7,0.4,0.7,0.6 c0,0.1-0.1,0.6-1.5,1.2c-0.1,0.1-0.3,0.1-0.5,0.2c-0.9,0.3-2.3,0.7-2.7,1.8c-0.3,0.6-0.2,1.3,0.2,2.2c0.2,0.4,2.8,6.2,8.6,7.2 c0,0,0,0.1,0,0.1c-0.1,0.2-0.7,1-4.6,1.6c-0.6,0.1-0.8,0.8-0.9,1.6c-0.1,0.3-0.1,0.6-0.2,0.9c0,0.1,0,0.1-0.1,0.1c0,0,0,0,0,0l0,0 c-0.2,0-0.4,0-0.7-0.1c-0.6-0.1-1.3-0.2-2.3-0.2c-0.5,0-1.1,0-1.7,0.1c-1.2,0.2-2.2,0.9-3.2,1.6c-1.4,1-2.8,2-5,2 c-0.1,0-0.2,0-0.3,0l0,0l0,0c-0.1,0-0.1,0-0.2,0c-2.2,0-3.6-1-5-2c-1-0.7-2-1.4-3.2-1.6c-0.6-0.1-1.1-0.1-1.7-0.1 c-1,0-1.7,0.1-2.3,0.3c-0.3,0.1-0.6,0.1-0.7,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.3-0.2-0.6-0.2-0.9c-0.2-0.8-0.3-1.5-0.9-1.6 c-3.9-0.6-4.5-1.4-4.6-1.6c0,0,0-0.1,0-0.1c5.8-1,8.4-6.8,8.6-7.2c0.4-0.8,0.5-1.5,0.2-2.2c-0.5-1.1-1.8-1.5-2.7-1.8 C6.7,19,6.5,19,6.4,18.9c-1.2-0.5-1.5-0.9-1.5-1.2C4.9,17.4,5.5,17,6,17c0.1,0,0.2,0,0.3,0.1c0.8,0.4,1.5,0.6,2.2,0.6 c1,0,1.5-0.5,1.5-0.5l0.1-0.1l0-0.2c0-0.4,0-0.8-0.1-1.2C9.9,13,9.7,9.7,10.5,7.9c2.4-5.5,7.6-5.9,9.1-5.9C19.6,2.1,20.3,2,20.4,2 C20.3,2,20.3,2,20.4,2 M20.4,1.2L20.4,1.2C20.3,1.2,20.3,1.2,20.4,1.2L20.4,1.2c-0.1,0-0.7,0-0.8,0c-1.6,0-7.2,0.5-9.9,6.4 C8.8,9.6,9,13,9.2,15.7c0,0.3,0,0.7,0.1,1c-0.1,0.1-0.4,0.2-0.8,0.2c-0.5,0-1.1-0.2-1.8-0.5c-0.2-0.1-0.4-0.1-0.6-0.1 c-0.8,0-1.8,0.5-1.9,1.3c-0.1,0.6,0.1,1.4,2,2.1c0.2,0.1,0.4,0.1,0.6,0.2c0.8,0.2,1.9,0.6,2.2,1.3C9,21.6,9,22.1,8.7,22.7 c0,0,0,0,0,0c-0.1,0.2-2.5,5.8-8,6.7C0.3,29.5,0,29.9,0,30.3c0,0.1,0,0.3,0.1,0.4c0.4,1,2.1,1.7,5.3,2.1c0.1,0.1,0.2,0.6,0.3,0.9 c0.1,0.3,0.1,0.6,0.2,0.9c0.1,0.3,0.3,0.7,1,0.7c0.3,0,0.6-0.1,0.9-0.1C8.3,35.2,9,35,9.9,35c0.5,0,1,0,1.5,0.1 c1,0.2,1.9,0.8,2.9,1.5c1.4,1,3,2.1,5.5,2.1c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3,0c2.5,0,4.1-1.1,5.5-2.1c1-0.7,1.9-1.3,2.9-1.5 c0.5-0.1,1-0.1,1.5-0.1c0.9,0,1.5,0.1,2.1,0.2c0.4,0.1,0.7,0.1,0.9,0.1l0,0h0c0.5,0,0.8-0.2,0.9-0.7c0.1-0.3,0.2-0.6,0.2-0.9 c0.1-0.3,0.2-0.8,0.3-0.9c3.1-0.5,4.9-1.2,5.3-2.1c0.1-0.1,0.1-0.2,0.1-0.4c0-0.4-0.3-0.8-0.7-0.9c-5.4-0.9-7.9-6.5-8-6.7 c0,0,0,0,0,0c-0.3-0.6-0.4-1.1-0.2-1.5c0.3-0.7,1.5-1.1,2.2-1.3c0.2-0.1,0.4-0.1,0.6-0.2c1.4-0.5,2-1.2,2-2c0-0.6-0.5-1.1-1.2-1.4 l0,0c-0.2-0.1-0.5-0.2-0.8-0.2c-0.2,0-0.5,0-0.8,0.2c-0.6,0.3-1.2,0.5-1.7,0.5c-0.3,0-0.5-0.1-0.7-0.2c0-0.3,0-0.6,0.1-0.9l0-0.1 c0.2-2.7,0.4-6.1-0.5-8.1C27.6,1.7,22,1.2,20.4,1.2L20.4,1.2z"}))),Tiktok=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m33,18.28412a12.13443,12.13443 0 0 1 -7.09199,-2.26733l0,10.32403a9.38994,9.38994 0 1 1 -8.10059,-9.30445l0,5.19263a4.31054,4.31054 0 1 0 3.01714,4.11182l0,-20.18246l5.08345,0a7.00014,7.00014 0 0 0 0.10745,1.28068l0,0a7.05791,7.05791 0 0 0 3.11419,4.63403a7.01458,7.01458 0 0 0 3.87035,1.16342l0,5.04764z"}))),Youtube=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m24.7 27.8v4.7q0 1.5-0.9 1.5-0.5 0-1-0.5v-6.7q0.5-0.5 1-0.5 0.9 0 0.9 1.5z m7.5 0v1h-2v-1q0-1.5 1-1.5t1 1.5z m-21.5-4.9h2.3v-2.1h-6.9v2.1h2.3v12.7h2.3v-12.7z m6.4 12.7h2v-11h-2v8.4q-0.7 1-1.3 1-0.4 0-0.5-0.5 0-0.1 0-0.8v-8.1h-2v8.7q0 1.1 0.2 1.7 0.3 0.8 1.3 0.8 1.1 0 2.3-1.4v1.2z m9.6-3.3v-4.4q0-1.6-0.2-2.2-0.4-1.2-1.6-1.2-1.1 0-2.1 1.2v-4.9h-2v14.8h2v-1q1 1.2 2.1 1.2 1.2 0 1.6-1.2 0.2-0.6 0.2-2.3z m7.5-0.2v-0.3h-2q0 1.1-0.1 1.4-0.1 0.8-0.9 0.8-1 0-1-1.6v-1.9h4v-2.3q0-1.8-0.6-2.6-0.9-1.1-2.4-1.1-1.5 0-2.4 1.1-0.6 0.8-0.6 2.6v3.9q0 1.7 0.7 2.5 0.8 1.2 2.4 1.2 1.6 0 2.4-1.2 0.4-0.6 0.5-1.2 0-0.2 0-1.3z m-13.6-20.4v-4.7q0-1.5-0.9-1.5t-1 1.5v4.7q0 1.6 1 1.6t0.9-1.6z m16.1 16.8q0 5.2-0.6 7.8-0.3 1.3-1.3 2.2t-2.3 1q-4.1 0.5-12.4 0.5t-12.3-0.5q-1.3-0.1-2.3-1t-1.3-2.2q-0.6-2.5-0.6-7.8 0-5.2 0.6-7.8 0.3-1.3 1.3-2.2t2.3-1.1q4.1-0.4 12.3-0.4t12.4 0.4q1.3 0.2 2.3 1.1t1.3 2.2q0.6 2.5 0.6 7.8z m-22.3-28.5h2.3l-2.7 8.9v6.1h-2.2v-6.1q-0.4-1.6-1.4-4.7-0.8-2.3-1.5-4.2h2.4l1.6 5.9z m8.3 7.4v3.9q0 1.8-0.7 2.7-0.8 1.1-2.3 1.1-1.5 0-2.4-1.1-0.6-0.9-0.6-2.7v-3.9q0-1.8 0.6-2.6 0.9-1.1 2.4-1.1 1.5 0 2.3 1.1 0.7 0.8 0.7 2.6z m7.4-3.6v11.2h-2v-1.3q-1.2 1.4-2.3 1.4-1 0-1.3-0.8-0.2-0.5-0.2-1.7v-8.8h2v8.2q0 0.7 0.1 0.8 0 0.5 0.4 0.5 0.6 0 1.3-1v-8.5h2z"}))),Vimeo=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"m38.1 11.6q-0.2 5.2-7.4 14.5-7.4 9.6-12.5 9.6-3.2 0-5.4-5.9-0.9-3.5-2.9-10.7-1.6-5.9-3.5-5.9-0.4 0-2.9 1.7l-1.7-2.2q0.6-0.4 2.4-2.1t2.9-2.6q3.5-3.1 5.4-3.2 2.1-0.2 3.4 1.2t1.8 4.5q1 6.4 1.5 8.4 1.2 5.5 2.7 5.5 1.1 0 3.4-3.6 2.3-3.6 2.5-5.5 0.3-3.1-2.5-3.1-1.2 0-2.7 0.6 2.7-8.8 10.3-8.5 5.6 0.2 5.2 7.3z"}))),Globe=e=>React.createElement(IconBase,f({viewBox:"0 0 40 40"},e),React.createElement("g",null,React.createElement("path",{d:"M20,3.33A16.67,16.67,0,1,0,36.67,20,16.66,16.66,0,0,0,20,3.33Zm11.55,10H26.62a26.43,26.43,0,0,0-2.3-5.93A13.39,13.39,0,0,1,31.53,13.33ZM20,6.73a23.42,23.42,0,0,1,3.18,6.6H16.82A23.42,23.42,0,0,1,20,6.73ZM7.1,23.33a13.11,13.11,0,0,1,0-6.66h5.63A28.21,28.21,0,0,0,12.5,20a28.21,28.21,0,0,0,.23,3.33Zm1.37,3.34h4.91a26.43,26.43,0,0,0,2.3,5.93A13.34,13.34,0,0,1,8.47,26.67Zm4.91-13.34H8.47A13.34,13.34,0,0,1,15.68,7.4,26.43,26.43,0,0,0,13.38,13.33ZM20,33.27a23.42,23.42,0,0,1-3.18-6.6h6.36A23.42,23.42,0,0,1,20,33.27Zm3.9-9.94H16.1A24.52,24.52,0,0,1,15.83,20a24.26,24.26,0,0,1,.27-3.33h7.8A24.26,24.26,0,0,1,24.17,20,24.52,24.52,0,0,1,23.9,23.33Zm.42,9.27a26.43,26.43,0,0,0,2.3-5.93h4.91A13.39,13.39,0,0,1,24.32,32.6Zm2.95-9.27A28.21,28.21,0,0,0,27.5,20a28.21,28.21,0,0,0-.23-3.33H32.9a13.11,13.11,0,0,1,0,6.66Z"}))),Line=e=>React.createElement(IconBase,f({viewBox:"0 0 24 24"},e),React.createElement("g",null,React.createElement("path",{d:"M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"}))),offset=170,duration$1=1.4,colors=Ue`
  0% {
    stroke: #ffffff;
  }
  25% {
    stroke: #f5f5f5;
  }
  50% {
    stroke: #f0f8ff;
  }
  75% {
    stroke: #f5f5f5;
  }
  100% {
    stroke: #ffffff;
  }
`,dash=Ue`
  0% {
    stroke-dashoffset: ${offset};
  }
  50% {
    stroke-dashoffset: ${offset} / 4;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: ${offset};
    transform: rotate(450deg);
  }
`,rotate=Ue`
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(270deg);
  }
`,circle=Ce`
	stroke-dasharray: ${offset};
	stroke-dashoffset: 0;
	transform-origin: center;
	animation: ${colors} ${duration$1}s ease-in-out infinite, ${dash} ${duration$1}s ease-in-out infinite;
`,drawingDash=e=>Ue`
    0% {
      stroke-dashoffset: ${e};
      transform: rotate(270deg);
    }
    100% {
      stroke-dashoffset: 0;
      transform: rotate(270deg);
    }
  `,drawingCircle=(e,i)=>{const n=drawingDash(i);return Ce`
		stroke-dasharray: ${i};
		stroke-dashoffset: ${i};
		transform-origin: center;
		animation: ${colors} ${e}s ease-in-out infinite, ${n} ${e}s ease-in-out infinite;
	`},spinner=Ce`
	animation: ${rotate} ${duration$1}s linear infinite;
`,Svg=styled.svg`
	${({isEnding:e})=>!e&&spinner}
`,Circle=styled.circle`
	${({isEnding:e,timeUntilFinished:i,circleLength:n})=>e?drawingCircle(i,n):circle}
`,OpenConnectionIndicator=({size:e,isEnding:i,timeUntilFinished:n})=>{var a;const o=React.useRef(null);let r=offset;return((a=o.current)==null?void 0:a.getTotalLength)&&(r=Math.round(o.current.getTotalLength())),React.createElement(react.exports.Fragment,null,React.createElement(Svg,{isEnding:i,width:`${e}px`,height:`${e}px`,viewBox:`0 0 ${e} ${e}`,xmlns:"http://www.w3.org/2000/svg"},React.createElement(Circle,{fill:"none",isEnding:i,timeUntilFinished:n,circleLength:r,strokeWidth:`${e/11}`,strokeLinecap:"round",cx:`${e/2}`,cy:`${e/2}`,r:`${e/2*.9}`,ref:o})))};class SocialLoginWindowService{constructor(i){b(this,"_authWindow");this._authWindow=i||null}isReadyForValidationAttempt(){return this._authWindow?typeof this._authWindow.closed=="boolean"&&this._authWindow.closed:!1}hasInstance(){return!!this._authWindow}}class ThirdPartyLoginVerificationService{constructor(i){b(this,"_verificationResponse");this._verificationResponse=i||null}userHasCancelledLogin(i){return isEqual_1(typeof get_1(this._verificationResponse,["request_status",i]),"string")}userHasProvidedContactDetails(){return typeof get_1(this._verificationResponse,["id"])=="number"}}const icons={facebook:Facebook,linkedin:Linkedin},buttonText={facebook:"Sign in with Facebook",linkedin:"Sign in with LinkedIn"},windowConfig={facebook:{width:500,height:500},linkedin:{width:400,height:500}},Label=styled.div`
	display: flex;
	margin: 10px 0px;
	cursor: pointer;
	border: 1px solid darkgrey;
	background-color: ${({isFacebook:e})=>e?colors$1.facebook.bgColor:colors$1.linkedin.bgColor};
	border-radius: 2px;
`,IconWrapper=styled.div`
	display: flex;
	padding: 0px 10px;
	flex-direction: column;
	justify-content: center;
	color: white;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: darkgrey;
`,Text=styled.div`
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 14px;
	color: white;
	padding: 10px;
`,WINDOW_STATUS_POLLING_INTERVAL=200,DELAY_BEFORE_VERIFYING_SOCIAL_LOGIN=1e3,ICON_SIZE=25,MAX_RETRY_ATTEMPTS=1,DELAY_FOR_SUCCESS_FLOW=100,authorize=e=>fetch(e).then(i=>i.json());class ThirdPartyLeadGen extends react.exports.Component{constructor(i){super(i);b(this,"handleClick",(i,n)=>{const{authWindow:o}=this.state;if(o&&typeof o.closed=="boolean")return;const{height:r,width:a}=windowConfig[n],{connections:s,setConnection:l,grantDocAccess:u}=this.props;s.forEach(h=>{h&&h.close&&h.close()});const c=window.open(this.state.urls[n],"_blank",`width=${a},height=${r}`);c&&l(c),this.setState({authWindow:c,isConnecting:!0,hasErrorOnLogin:!1});const d=of({session_uid:this.state.session_uid,urls:this.state.urls}).pipe(share()),m=d.pipe(switchMap(()=>interval(WINDOW_STATUS_POLLING_INTERVAL).pipe(filter(()=>!new SocialLoginWindowService(this.state.authWindow).hasInstance()),tap(()=>{this.setState({hasPopUpIsBlockedWarning:!0}),setTimeout(()=>this.setState({hasPopUpIsBlockedWarning:!1}),5e3)})))),g=d.pipe(switchMap(h=>interval(WINDOW_STATUS_POLLING_INTERVAL).pipe(filter(()=>new SocialLoginWindowService(this.state.authWindow).isReadyForValidationAttempt()),take(1),mergeMap(()=>{const I=E(i,h.session_uid).pipe(share()),v=I.pipe(tap(()=>{this.setState({isVerifying:!0})}),delay(DELAY_BEFORE_VERIFYING_SOCIAL_LOGIN),mergeMap(T=>{if(!new ThirdPartyLoginVerificationService(T).userHasProvidedContactDetails()&&this.state.retryAttempts<MAX_RETRY_ATTEMPTS)throw T;return of(w(f({},T),{session_uid:this.state.session_uid}))}));return I.pipe(mergeMap(T=>of(T)),filter(T=>new ThirdPartyLoginVerificationService(T).userHasCancelledLogin(n)),tap(()=>{this.setState({isConnecting:!1,isVerifying:!1,retryAttempts:MAX_RETRY_ATTEMPTS})})).pipe(delay(DELAY_FOR_SUCCESS_FLOW),merge(v))}),retryWhen(I=>I.pipe(tap(()=>{const v=this.state.retryAttempts+1;this.setState({retryAttempts:v})})))))),E=(h,I)=>from(authorize(`${h}?session_uid=${I}`));g.pipe(merge(m),take(1)).subscribe(h=>{new ThirdPartyLoginVerificationService(h).userHasProvidedContactDetails()&&u(),this.setState({authWindow:null,isConnecting:!1,isVerifying:!1,retryAttempts:0})})});this.state={authWindow:null,isConnecting:!1,isVerifying:!1,retryAttempts:0,hasErrorOnLogin:!1,hasPopUpIsBlockedWarning:!1,urls:{}}}componentDidMount(){const{authUrl:i}=this.props;i&&authorize(i).then(n=>{this.setState({session_uid:n.session_uid,urls:n.urls})}).catch(n=>{this.setState({hasErrorOnLogin:!0}),console.warn(n)})}componentDidCatch(){this.setState({hasErrorOnLogin:!0})}render(){const{thirdPartyKey:i,disabled:n,authUrl:o}=this.props,{isConnecting:r}=this.state;if(n)return null;const a=icons[i];return React.createElement(Label,{isFacebook:i==="facebook",role:"presentation",onClick:()=>{!r&&this.state.urls[i]&&this.handleClick(o,i)}},React.createElement(IconWrapper,null,this.state.hasPopUpIsBlockedWarning?React.createElement(MdWarning,{size:ICON_SIZE}):r?React.createElement(OpenConnectionIndicator,{size:ICON_SIZE,timeUntilFinished:DELAY_BEFORE_VERIFYING_SOCIAL_LOGIN/1e3,isEnding:this.state.isVerifying}):React.createElement(a,{size:ICON_SIZE})),React.createElement(Text,null,this.state.hasErrorOnLogin?"Please contact support":this.state.hasPopUpIsBlockedWarning?"Please allow pop-ups":buttonText[i]))}}const Wrapper$5=styled.div`
	display: flex;
	justify-content: center;

	${({styles:e})=>!isEmpty_1(e)&&Ce`
			${e}
		`}
`,Or=({styles:e})=>React.createElement(Wrapper$5,{styles:e},React.createElement(Translate,null,"or")),SocialLoginViewer=ThirdPartyLeadGen,Wrapper$4=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 250px;
`,CRMFormLoader=()=>React.createElement(Wrapper$4,{"data-testid":"crm-form-loader"},React.createElement(Loader,{text:"Loading...",borderSize:2,size:50,color:"#002B48"})),Wrapper$3=styled.div`
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	background: rgba(216, 216, 216, 0.2);
	height: ${({height:e})=>e};
	${({styles:e})=>e};
`,Panel=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
`,MessageContainer=styled.p`
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	line-height: 1.6;
	margin-top: 10px;
	color: rgb(120, 120, 120);
`,FailedToLoadPanelSvg=()=>React.createElement("svg",{width:39,height:50,viewBox:"0 0 39 50"},React.createElement("title",null,"Broken form"),React.createElement("g",{stroke:"#B2B2B2",strokeWidth:2.025,fill:"none",fillRule:"evenodd"},React.createElement("g",{strokeLinejoin:"round"},React.createElement("path",{d:"M36.92 12.534L25.913 2H2.9v46.17h34.02z"}),React.createElement("path",{d:"M36.92 13.34H25.58V2"})),React.createElement("path",{d:"M10.19 37.463c6.204-5.164 12.395-5.164 18.571 0M22.9 18.2l6.48 6.48M29.028 18.158l-6.48 6.48M9.94 18.2l6.48 6.48M16.068 18.158l-6.48 6.48",strokeLinecap:"round"}))),FailedToLoadPanel=({message:e,height:i,dataFoleonId:n,styles:o})=>React.createElement(Wrapper$3,{height:i,"data-testid":"crm-failed-to-load-panel","data-foleon-id":n,styles:o},React.createElement(Panel,null,React.createElement(FailedToLoadPanelSvg,null)),React.createElement(MessageContainer,null,e)),crmFormWrapperStyles=`
  border-top-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  border-right-width: 0;
  width: 100%;
  position: relative;
`,checkIframeHeight=(e,i=500)=>{setTimeout(()=>{if(e){const n=parseInt(getComputedStyle(e).height);(isNaN(n)||!n)&&e.setAttribute("height","1")}},i)},SuccessMessageParagraph=styled.div`
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 2rem;

	${({paragraphStyles:e})=>e}
`,SuccessMessageWrapper=styled.div`
	display: flex;
	align-items: flex-start;
`,SuccessMessageText=styled.div`
	display: inline;
	line-height: 1.5rem;
`,defaultMapFormSuccessMessage="Thank you for filling out your information!",CustomSuccessMessage=({message:e,paragraphThemeCss:i})=>React.createElement(SuccessMessageWrapper,{"data-testid":"map-form-success-message-wrapper"},React.createElement(SuccessMessageParagraph,{paragraphStyles:i},React.createElement(MdCheckCircle,{size:"1.5rem",color:"#008a00"}),React.createElement(SuccessMessageText,null," ",e||defaultMapFormSuccessMessage," "))),Wrapper$2=styled.div`
	${()=>crmFormWrapperStyles}

	${({styles:e,isIframeLoading:i})=>i?Ce`
					display: none;
			  `:Ce`
					${e}
			  `}
`,Iframe=styled.iframe`
	border: 0;
`,EditorOverlay=styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`,POST_MESSAGE_HEIGHT_CONTEXT$1="foleon-iframe-resize",POST_MESSAGE_IFRAME_LOADED_CONTEXT$1="foleon-iframe-DOMContentLoaded",EloquaForm=({id:e,url:i,styles:n,isEditor:o=!1,onIframeFailedToLoad:r,onFormLoaded:a,children:s})=>{const l=i==="",[u,c]=React.useState(!0),d=React.useRef(u);d.current=u;const[m,g]=React.useState("0"),E=React.useRef(null),h=React.useRef(null);React.useEffect(()=>{if(!l)return g("0"),window.removeEventListener("message",E.current),E.current=v=>{var T;let S=null;try{S=JSON.parse(v.data)}catch{}isObject_1(S)&&((T=get_1(S,"location.href",void 0))==null?void 0:T.split("#")[0])===i&&((S==null?void 0:S.context)===POST_MESSAGE_IFRAME_LOADED_CONTEXT$1?(c(!1),a&&a(),checkIframeHeight(h.current)):(S==null?void 0:S.context)===POST_MESSAGE_HEIGHT_CONTEXT$1&&g(S==null?void 0:S.height))},window.addEventListener("message",E.current),c(!0),setTimeout(()=>{d.current&&(c(!1),r&&r())},1e4),()=>{window.removeEventListener("message",E.current)}},[i,l]);const I=()=>l?s:React.createElement(React.Fragment,null,React.createElement(Iframe,{ref:h,id:e,src:i,height:m,width:"100%",frameBorder:"0",allowTransparency:!0}),o&&React.createElement(EditorOverlay,{onClick:v=>{v.stopPropagation()}}));return React.createElement(React.Fragment,null,!l&&u&&React.createElement(CRMFormLoader,null),React.createElement(Wrapper$2,{isIframeLoading:l?!1:u,styles:n,"data-testid":"@foleon/maggie-viewer_map-eloqua","data-foleon-id":e},I()))},POST_MESSAGE_FORM_SUBMITTED_CONTEXT$1="foleon-form-submitted",{send:trackThis$5,TRACKING_CATEGORY:TRACKING_CATEGORY$6,TRACKING_EVENT:TRACKING_EVENT$6}=trackers.events,EloquaFormPreview=({children:e,grantDocAccess:i,hasEventsEnabled:n,id:o,isFormAlreadySubmitted:r,isPartOfLeadGen:a,landingPageUrl:s,markMAPFormAsSubmitted:l,paragraphThemeCss:u,styles:c,successMessage:d})=>{const[m,g]=React.useState(!1),[E,h]=React.useState(r||!1),I=omit_1(c,["display"]),v=()=>{const C=a?TRACKING_CATEGORY$6.LEAD_FORM:TRACKING_CATEGORY$6.FORM;trackThis$5(C,TRACKING_EVENT$6.SUBMIT_SUCCESS,"Eloqua",n),a&&i?i():(h(!0),l&&l(o))},S=function(C){let A=null;try{A=JSON.parse(C.data)}catch{}isObject_1(A)&&s&&A.context===POST_MESSAGE_FORM_SUBMITTED_CONTEXT$1&&v()};React.useEffect(()=>(window.addEventListener("message",S),()=>{window.removeEventListener("message",S)}),[]);const T=()=>{a&&trackThis$5(TRACKING_CATEGORY$6.LEAD_FORM,TRACKING_EVENT$6.SHOW,"Eloqua",n)},x=()=>{g(!0)};return E?React.createElement(CustomSuccessMessage,{message:d,paragraphThemeCss:u||{}}):m?React.createElement(FailedToLoadPanel,{height:"250px",message:"Unable to load form.",styles:I}):React.createElement(EloquaForm,{id:o,url:s,styles:I,onFormLoaded:T,onIframeFailedToLoad:x},e)},mapFormEloquaStyles=createStyles(t.partial({animation,background,border,box,margin,padding,visibility})),EntityInferred$b=new Entity(identity$i,{id:t.UUID,identity:t.literal(identity$i),landingPageUrl:t.string,parent:t.type({id:t.UUID,identity:t.literal(identity$E)}),styles:mapFormEloquaStyles,successMessage:t.union([t.string,t.null,t.undefined])},{id:void 0,identity:identity$i,landingPageUrl:void 0,parent:void 0,successMessage:void 0}),entity$b=EntityInferred$b,MapFormEloqua={entity:entity$b,identity:identity$i};function useMapFormEloqua(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{computed:s,styles:l}=react.exports.useMemo(()=>({computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]}),[r,r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}}):{},[a]);return{entity:r,css:u,computed:s,styles:l}}const StyledDiv$2=styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`,Wrapper$1=styled.div`
	${()=>crmFormWrapperStyles}

	/* form styles are applied after form is loaded because animation needs to be displayed after the form is loaded */
	${({styles:e,isFormLoading:i})=>!i&&e}

	& iframe {
		width: 100% !important;
	}
`,createScriptElement=({id:e,url:i})=>{const n=document.createElement("script");return n.src=i,e&&(n.id=e),document.body&&document.body.appendChild(n),n},HubspotForm=({id:e,portalId:i,formId:n,styles:o,onFormSubmitted:r,onFormSubmit:a,onFormReady:s,onFormFailedToLoad:l,isEditor:u=!1,hublet:c,children:d})=>{const m=n==="",g=`hubspotForm-${e}`,E=`hsEmbedFormScript-${e}`,[h,I]=React.useState(!0),v=React.useRef(h);v.current=h;const S=React.useRef(null),T=()=>{if(window.hbspt){const C=c?{region:c}:{};window.hbspt.forms.create(w(f({},C),{portalId:i,formId:n,target:`#${g}`,formInstanceId:e,onBeforeFormInit:()=>{},onFormReady:()=>{s&&s(),I(!1)},onFormSubmit:()=>{a&&a()},onFormSubmitted:()=>{r&&r()}}))}};React.useEffect(()=>{window.jQuery=$},[]),React.useEffect(()=>{if(m)return;if(S&&S.current){const A=S.current.querySelector("iframe");A&&A.remove()}if(window.hbspt){const A=document.getElementById(E);A&&(document.body&&document.body.removeChild(A),I(!0))}const C=createScriptElement({id:E,url:`https://js${c?`-${c}`:""}.hsforms.net/forms/v2.js`});return C.addEventListener("load",T,{once:!0}),I(!0),setTimeout(()=>{v.current&&(I(!1),l&&l())},6e3),()=>{C.removeEventListener("load",T),C.remove()}},[i,n,c,m]);const x=()=>m?d:React.createElement(React.Fragment,null,u&&React.createElement(StyledDiv$2,{onClick:C=>{C.stopPropagation()}}));return React.createElement(React.Fragment,null,!m&&h&&React.createElement(CRMFormLoader,null),React.createElement(Wrapper$1,{id:g,isFormLoading:m?!1:h,styles:o,ref:S,"data-testid":"@foleon/maggie-viewer_map-hubspot","data-foleon-id":e},x()))},{send:trackThis$4,TRACKING_CATEGORY:TRACKING_CATEGORY$5,TRACKING_EVENT:TRACKING_EVENT$5}=trackers.events,HubspotFormPreview=({children:e,formId:i,grantDocAccess:n,hasEventsEnabled:o,hubId:r,hublet:a,id:s,isFormAlreadySubmitted:l,isPartOfLeadGen:u,markMAPFormAsSubmitted:c,paragraphThemeCss:d,styles:m,successMessage:g})=>{const E=i==="",[h,I]=React.useState(!1),[v,S]=React.useState(l||!1),T=()=>{const _=u?TRACKING_CATEGORY$5.LEAD_FORM:TRACKING_CATEGORY$5.FORM;trackThis$4(_,TRACKING_EVENT$5.SUBMIT_SUCCESS,"HubSpot",o),u&&n?n():(S(!0),c&&c(s))},x=()=>{u&&trackThis$4(TRACKING_CATEGORY$5.LEAD_FORM,TRACKING_EVENT$5.SHOW,"HubSpot",o)},C=()=>{I(!0)},A=omit_1(m,["display"]),R=E||!h&&!!r&&!!i;return v?React.createElement(CustomSuccessMessage,{message:g,paragraphThemeCss:d||{}}):R?React.createElement(HubspotForm,{id:s,portalId:r,formId:i,onFormSubmitted:T,onFormReady:x,onFormFailedToLoad:C,styles:A,hublet:a},e):React.createElement(FailedToLoadPanel,{height:"250px",message:"Unable to load form.",styles:A})},mapFormHubSpotStyles=createStyles(t.partial({animation,background,border,box,margin,padding,visibility})),EntityInferred$a=new Entity(identity$h,{formId:t.string,id:t.UUID,identity:t.literal(identity$h),parent:t.type({id:t.UUID,identity:t.literal(identity$E)}),styles:mapFormHubSpotStyles,successMessage:t.union([t.string,t.null,t.undefined])},{formId:void 0,id:void 0,identity:identity$h,parent:void 0,successMessage:void 0}),entity$a=EntityInferred$a,MapFormHubSpot={entity:entity$a,identity:identity$h};function useMapFormHubSpot(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{computed:s,styles:l}=react.exports.useMemo(()=>({computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]}),[r,r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}}):{},[a]);return{entity:r,css:u,computed:s,styles:l}}const StyledDiv$1=styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`,Container$3=styled.div`
	${()=>crmFormWrapperStyles}

	pointer-events: ${({isEditor:e})=>e?"none":"auto"};

	/* form styles are applied after form is loaded because animation needs to be displayed after the form is loaded */
	${({styles:e,isFormLoading:i})=>!i&&e}

	& form {
		width: 100% !important;

		input {
			border: 1px solid rgba(0, 0, 0, 0.5);
			border-radius: 2px;
		}
	}
`,MarketoForm=({id:e,munchkinId:i,formId:n,baseUrl:o,styles:r,onFormSubmitted:a,onFormLoaded:s,onFormFailedToLoad:l,isEditor:u=!1,children:c})=>{const d=n===""&&o==="",m=`marketoScriptId-${e}`,[g,E]=React.useState(null),[h,I]=React.useState(!0),v=React.useCallback(({srcUrl:A,onLoad:R})=>{const _=document.createElement("script");_.src=A,_.id=m,_.onerror=()=>{I(!1),l()},_.addEventListener("load",R,{once:!0}),document.body&&document.body.appendChild(_)},[o,i,n]),S=React.useRef(null),T=React.useRef(null),x=React.useRef(!1);React.useEffect(()=>(x.current=!0,()=>{x.current=!1}),[]),React.useEffect(()=>{if(d)return;if(S&&S.current){const R=S.current.children;R.length>0&&[...R].forEach(_=>_.remove())}const A=document.getElementById(m);A&&A.remove(),I(!0),window.MktoForms2=null,v({srcUrl:`${o}/js/forms2/js/forms2.min.js`,onLoad:()=>{!x.current||(window.MktoForms2?window.MktoForms2.loadForm(o,i,n,R=>{if(!x.current){R.getFormElem().remove();return}I(!1),!R||S.current&&S.current.children.length===0?l():s&&s(),E(R)}):(l(),E(null)))}})},[o,i,n,d]),React.useEffect(()=>{g&&g.onSuccess(()=>(a&&a(),g.getFormElem().hide(),T&&T.current&&(T.current.style.display="none"),!1))},[g]);const C=()=>d?c:React.createElement(React.Fragment,null,React.createElement("form",{id:`mktoForm_${n}`,ref:S}),u&&React.createElement(StyledDiv$1,{onClick:A=>{A.stopPropagation()}}));return React.createElement(React.Fragment,null,!d&&h&&React.createElement(CRMFormLoader,null),React.createElement(Container$3,{isEditor:d?!1:u,isFormLoading:d?!1:h,ref:T,styles:r,"data-testid":"@foleon/maggie-viewer_map-marketo","data-foleon-id":e},C()))},{send:trackThis$3,TRACKING_CATEGORY:TRACKING_CATEGORY$4,TRACKING_EVENT:TRACKING_EVENT$4}=trackers.events,MarketoFormPreview=({baseUrl:e,children:i,formId:n,grantDocAccess:o,hasEventsEnabled:r,id:a,isFormAlreadySubmitted:s,isPartOfLeadGen:l,markMAPFormAsSubmitted:u,munchkinId:c,paragraphThemeCss:d,successMessage:m,styles:g})=>{const E=n===""&&e==="",[h,I]=React.useState(!1),[v,S]=React.useState(s||!1),T=()=>{const _=l?TRACKING_CATEGORY$4.LEAD_FORM:TRACKING_CATEGORY$4.FORM;trackThis$3(_,TRACKING_EVENT$4.SUBMIT_SUCCESS,"Marketo",r),l&&o?o():(S(!0),u&&u(a))},x=()=>{l&&trackThis$3(TRACKING_CATEGORY$4.LEAD_FORM,TRACKING_EVENT$4.SHOW,"Marketo",r)},C=()=>{I(!0)},A=omit_1(g,["display"]);return E||!h&&!!c&&!!n&&!!e?v?React.createElement(CustomSuccessMessage,{message:m,paragraphThemeCss:d||{}}):React.createElement(MarketoForm,{id:a,munchkinId:c,formId:n,baseUrl:e,onFormSubmitted:T,onFormLoaded:x,onFormFailedToLoad:C,styles:A},i):React.createElement(FailedToLoadPanel,{height:"250px",message:"Unable to load the form.",styles:A})},mapFormMarketoStyles=createStyles(t.partial({animation,background,border,box,margin,padding,visibility})),EntityInferred$9=new Entity(identity$g,{baseUrl:t.string,formId:t.string,id:t.UUID,identity:t.literal(identity$g),parent:t.type({id:t.UUID,identity:t.literal(identity$E)}),styles:mapFormMarketoStyles,successMessage:t.union([t.string,t.null,t.undefined])},{baseUrl:void 0,formId:void 0,id:void 0,identity:identity$g,parent:void 0,successMessage:void 0}),entity$9=EntityInferred$9,MapFormMarketo={entity:entity$9,identity:identity$g};function useMapFormMarketo(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{computed:s,styles:l}=react.exports.useMemo(()=>({computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]}),[r,r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}}):{},[a]);return{entity:r,css:u,computed:s,styles:l}}const StyledDiv=styled.div`
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: auto;
`,Wrapper=styled.div`
	${()=>crmFormWrapperStyles}

	/* form styles are applied after form is loaded because animation needs to be displayed after the form is loaded */
	${({styles:e,isFormLoading:i})=>i?Ce`
					display: none;
			  `:Ce`
					${e}
			  `}
`,POST_MESSAGE_HEIGHT_CONTEXT="foleon-iframe-resize",POST_MESSAGE_IFRAME_LOADED_CONTEXT="foleon-iframe-DOMContentLoaded",SFPForm=({id:e,url:i,styles:n,isEditor:o=!1,onFormFailedToLoad:r,onFormLoaded:a,children:s})=>{const l=i==="",[u,c]=React.useState(!0),d=React.useRef(u);d.current=u;const[m,g]=React.useState("250px"),[E,h]=React.useState({current:""}),I=React.useRef(E.current),v=x=>{I.current=x,h(x)},S=function(x){var A;let C=null;try{C=JSON.parse(x.data)}catch{}isObject_1(C)&&((A=get_1(C,"location.href",void 0))==null?void 0:A.split("#")[0])===I.current&&(C.context===POST_MESSAGE_IFRAME_LOADED_CONTEXT&&(c(!1),a&&a()),C.context===POST_MESSAGE_HEIGHT_CONTEXT&&g(C.height))};React.useEffect(()=>{if(!l){try{const x=new URL(i);x.searchParams.set("foleonId",e),v(x.toString())}catch(x){console.error(x),v(i)}return window.addEventListener("message",S),()=>{window.removeEventListener("message",S)}}},[l]),React.useEffect(()=>{l||(c(!0),setTimeout(()=>{d.current&&(c(!1),r&&r())},1e4))},[i,l]);const T=()=>l?s:React.createElement(React.Fragment,null,React.createElement("iframe",{src:I.current,height:m,width:"100%",frameBorder:"0",allowTransparency:!0,style:{border:0}}),o&&React.createElement(StyledDiv,{onClick:x=>{x.stopPropagation()}}));return React.createElement(React.Fragment,null,!l&&u&&React.createElement(CRMFormLoader,null),React.createElement(Wrapper,{isFormLoading:l?!1:u,styles:n,"data-testid":"@foleon/maggie-viewer_map-sfp","data-foleon-id":e},T()))},POST_MESSAGE_FORM_SUBMITTED_CONTEXT="foleon-form-submitted",{send:trackThis$2,TRACKING_CATEGORY:TRACKING_CATEGORY$3,TRACKING_EVENT:TRACKING_EVENT$3}=trackers.events,SFPFormPreview=({children:e,formLink:i,grantDocAccess:n,hasEventsEnabled:o,id:r,isFormAlreadySubmitted:a,isPartOfLeadGen:s,markMAPFormAsSubmitted:l,paragraphThemeCss:u,styles:c,successMessage:d})=>{const[m,g]=React.useState(!1),[E,h]=React.useState(a||!1),I=omit_1(c,["display"]),v=()=>{const C=s?TRACKING_CATEGORY$3.LEAD_FORM:TRACKING_CATEGORY$3.FORM;trackThis$2(C,TRACKING_EVENT$3.SUBMIT_SUCCESS,"Salesforce Pardot",o),s&&n?n():(h(!0),l&&l(r))},S=function(C){var R;let A=null;try{A=JSON.parse(C.data)}catch{}isObject_1(A)&&((R=get_1(A,"location.href",void 0))==null?void 0:R.split("#")[0])===i&&A.context===POST_MESSAGE_FORM_SUBMITTED_CONTEXT&&v()};React.useEffect(()=>(window.addEventListener("message",S),()=>{window.removeEventListener("message",S)}),[]);const T=()=>{g(!0)},x=()=>{s&&trackThis$2(TRACKING_CATEGORY$3.LEAD_FORM,TRACKING_EVENT$3.SHOW,"Salesforce Pardot",o)};return E?React.createElement(CustomSuccessMessage,{message:d,paragraphThemeCss:u||{}}):m?React.createElement(FailedToLoadPanel,{height:"250px",message:"Unable to load form.",dataFoleonId:r,styles:I}):React.createElement(SFPForm,{id:r,onFormFailedToLoad:T,onFormLoaded:x,styles:I,url:i},e)},mapFormSFPStyles=createStyles(t.partial({animation,background,border,box,margin,padding,visibility})),EntityInferred$8=new Entity(identity$f,{formLink:t.string,id:t.UUID,identity:t.literal(identity$f),parent:t.type({id:t.UUID,identity:t.literal(identity$E)}),styles:mapFormSFPStyles,successMessage:t.union([t.string,t.null,t.undefined])},{formLink:void 0,id:void 0,identity:identity$f,parent:void 0,successMessage:void 0}),entity$8=EntityInferred$8,MapFormSFP={entity:entity$8,identity:identity$f};function useMapFormSFP(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{computed:s,styles:l}=react.exports.useMemo(()=>({computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]}),[r,r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}}):{},[a]);return{entity:r,css:u,computed:s,styles:l}}const getLogoForMapFormProvider=e=>{const i="map-form-";return e.startsWith(i)?`https://cdn.foleon.com/assets/editor/${e.substring(i.length)}.png`:""},isLeadGen=e=>{var i,n;return(n=(i=e==null?void 0:e.options)==null?void 0:i.isLeadGen)!=null?n:!1},leadGenCSS=e=>isLeadGen(e)?{margin:"0","& > section":{minHeight:"100vh",height:"100%"}}:{};function useOverlay(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{styles:s,computed:l}=react.exports.useMemo(()=>r?{computed:getComputedStyles$1(a)[i],styles:r.styles[i]}:{styles:{},computed:{}},[r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?f(f({},stylesToCSSTransformer(a)),leadGenCSS(r)):{},[a]);return{entity:r,computed:l,styles:s,css:u}}const ContentWrapper$1=styled.div`
	${({styles:e})=>e};
	& > section {
		max-width: 100%;
	}

	& div.link-name-displayer {
		padding: 4px 4px;
		top: auto;
		right: auto;
		z-index: 1;
	}
`,OverlayViewerContainer=({styles:e,children:i,isWhitePaper:n=!1})=>{const o=n?{margin:0,background:"rgba(0, 0, 0, 0)"}:{};return React.createElement(ContentWrapper$1,{"data-testid":"editor-next_magazine-overlay_container",className:"im-overlay",styles:{"&&&":f(f({},e),o)}},i)},CloseIcon=e=>React.createElement(IconBase,f({"aria-hidden":!0,viewBox:"0 0 40 40"},e),React.createElement("defs",null,React.createElement("polygon",{id:"close-button-path",points:"32 10.4171429 29.5828571 8 20 17.5828571 10.4171429 8 8 10.4171429 17.5828571 20 8 29.5828571 10.4171429 32 20 22.4171429 29.5828571 32 32 29.5828571 22.4171429 20"}),React.createElement("filter",{x:"-11.5%",y:"-7.3%",width:"122.9%",height:"122.9%",filterUnits:"objectBoundingBox",id:"box-shadow-filter"},React.createElement("feMorphology",{radius:"0.25",operator:"dilate",in:"SourceAlpha",result:"shadowSpreadOuter1"}),React.createElement("feOffset",{dx:"0",dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),React.createElement("feGaussianBlur",{stdDeviation:"0.5",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),React.createElement("feColorMatrix",{values:"0 0 0 0 0   0 0 0 0 0   0 0 0 0 0  0 0 0 0.15 0",type:"matrix",in:"shadowBlurOuter1"}))),React.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",dangerouslySetInnerHTML:{__html:`<g id="baseline-close-24px-(1)" transform="translate(-6.000000, -7.000000)" fill-rule="nonzero">
					<g id="Group-2">
							<g id="Shape">
									<use fill="black" fill-opacity="1" filter="url(#box-shadow-filter)" xlink:href="#close-button-path"></use>
									<use fill="currentColor" fill-rule="evenodd" xlink:href="#close-button-path"></use>
							</g>
					</g>
			</g>`}})),Button=styled.button`
	color: #fff;
	position: fixed;
	top: 20px;
	right: 20px;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 9999;
	${({styles:e})=>e}
`,CloseButton=({onClick:e,styles:i})=>React.createElement(Button,{className:"close-button",styles:i,"aria-label":translator.translate("Close"),onClick:e,tabIndex:0,"data-testid":"foleon-core-portal-close-icon"},React.createElement(CloseIcon,{"aria-hidden":!0,size:27})),{send:sendEvent,TRACKING_CATEGORY:TRACKING_CATEGORY$2,TRACKING_EVENT:TRACKING_EVENT$2}=trackers.events,DEFAULT_FORM_NAME="default form",TAB_KEY=9,ESC_KEY=27,duration=300,LEFT_KEY=37,RIGHT_KEY=39,UP_KEY=38,DOWN_KEY=40,Container$2=styled.div`
	display: flex;
	opacity: 0;
	justify-content: flex-end;
`,Overlay=styled.div`
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 100%;
	background-color: rgba(55, 58, 71, 0.9);
	overflow: auto;
	z-index: 1000;
	opacity: 1;
	${({styles:e})=>e};
`,ContentContainer=styled.div`
	display: block;
	height: 100%;
	position: relative;
	min-height: 10vh;
	outline: none;
	transform: scaleX(1) scaleY(1) scaleZ(1);
	width: 100%;
	overflow: ${({viewport:e})=>e==="sm"?"visible":"auto"};
	${({styles:e})=>e};
`;class ModalPortal extends react.exports.Component{constructor(i){super(i);b(this,"content");b(this,"overlay");b(this,"focusAfterRender");b(this,"setFocusAfterRender",i=>{this.focusAfterRender=i});b(this,"setOverlayRef",i=>{this.overlay=i});b(this,"setContentRef",i=>{this.content=i});b(this,"afterClose",()=>{returnFocus(),teardownScopedFocus()});b(this,"open",()=>{this.beforeOpen(),setupScopedFocus(this.overlay),markForFocusLater(),this.setState({isOpen:!0})});b(this,"close",i=>{i.preventDefault(),i.stopPropagation(),this.willDisappear(),this.setState({isOpen:!1},this.afterClose),setTimeout(()=>{this.props.onRequestClose(i)},duration)});b(this,"focusContent",()=>this.overlay&&!this.contentHasFocus()&&this.overlay.focus());b(this,"handleKeyDown",i=>{var n,o,r;if(i.keyCode===TAB_KEY&&(scopeTab(this.overlay,i),this.overlay&&((n=document.getElementsByClassName("im-overlay")[0])==null||n.removeAttribute("tabindex"))),i.keyCode===LEFT_KEY||i.keyCode===RIGHT_KEY){if(this.props.whitePaperItem&&i.keyCode===LEFT_KEY)return;i.stopPropagation();return}if(i.keyCode===ESC_KEY){if(this.props.whitePaperItem&&!this.props.whitePaperItem.is_skippable)return;i.preventDefault(),this.requestClose(i)}if(i.keyCode===UP_KEY||i.keyCode===DOWN_KEY){const a=["input","textarea"],s=["textbox"];if(a.includes((o=i.target.nodeName)==null?void 0:o.toLowerCase())||s.includes((r=i.target.role)==null?void 0:r.toLowerCase()))return;if(this.overlay){const l=document.getElementsByClassName("im-overlay")[0];l.setAttribute("tabindex","0"),l.focus()}}});b(this,"willAppear",i=>{anime({targets:i,opacity:1,duration,easing:"easeInSine"}),anime({targets:this.overlay,scaleX:[{value:1.1,duration:0},{value:1,duration}],scaleY:[{value:1.1,duration:0},{value:1,duration}],duration,easing:"easeInSine"})});b(this,"willDisappear",()=>{anime({targets:this.overlay,opacity:0,duration,easing:"easeInSine"}),anime({targets:this.content,scaleX:.9,scaleY:.9,duration,easing:"easeInSine"})});b(this,"requestClose",i=>{if(this.props.overrideClose&&typeof this.props.onRequestClose=="function"){this.props.onRequestClose(i);return}!this.ownerHandlesClose()||(this.props.whitePaperItem&&this.props.whitePaperItem.is_skippable&&sendEvent(TRACKING_CATEGORY$2.LEAD_FORM,TRACKING_EVENT$2.SKIP,DEFAULT_FORM_NAME),this.close(i))});b(this,"ownerHandlesClose",()=>typeof this.props.onRequestClose!="undefined"&&this.props.onRequestClose!==null&&typeof this.props.onRequestClose=="function");b(this,"contentHasFocus",()=>{var i;return document.activeElement===this.overlay||((i=this.overlay)==null?void 0:i.contains(document.activeElement))});b(this,"ariaAttributes",i=>Object.keys(i).reduce((n,o)=>(n[`aria-${o}`]=i[o],n),{}));this.state={isOpen:!1},this.focusAfterRender=!1,this.content=null,this.overlay=null}componentDidMount(){this.props.isOpen&&(document.addEventListener("keydown",this.handleKeyDown,!0),this.open(),this.setFocusAfterRender(!0))}componentDidUpdate(){this.content&&this.content.scrollTo(0,0),this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1))}componentWillUnmount(){this.beforeClose(),document.removeEventListener("keydown",this.handleKeyDown,!0)}beforeOpen(){const{ariaHideApp:i,contentLabel:n}=this.props;if(add(`open-${n.replace(/[^a-z]/g,"")}`),add("open-modal"),i){const o=document.querySelectorAll("article > section");Array.from(o).forEach(r=>{hide(r)})}}beforeClose(){const{ariaHideApp:i,contentLabel:n}=this.props;if(remove(`open-${n.replace(/[^a-z]/g,"")}`),remove("open-modal"),i){const o=document.querySelectorAll("article > section");Array.from(o).forEach(r=>{show(r)})}}render(){const{styles:i,aria:n,contentLabel:o,itemStyle:r,overlayBackgroundStyle:a,overlayCloseIconStyle:s,showCurtain:l,curtainComponent:u,viewport:c,whitePaperItem:d,className:m}=this.props,g={closeIcon:d?{display:"none"}:{},portal:typeof d=="object"?{label:"modal-portal-overlay-whitepaper-override",backgroundColor:"rgba(0,0,0,0)"}:{}},E=f(f({},s),g.closeIcon);return React.createElement(Transition,{in:this.state.isOpen,onEntering:this.willAppear,onExiting:this.willDisappear,mountOnEnter:!0,unmountOnExit:!0,timeout:duration},()=>React.createElement(Container$2,{className:m},React.createElement(Overlay,{ref:this.setOverlayRef,styles:f(f({"&&":f({},a)},g.portal),i),tabIndex:-1,"aria-label":o},l&&u,React.createElement(ContentContainer,w(f({ref:this.setContentRef,viewport:c},this.ariaAttributes(n||{})),{styles:f({},r),"data-component":"f-comment-indicator-target-portal",className:"modal-content-container-scrollable"}),this.props.children),React.createElement(CloseButton,{onClick:this.requestClose,styles:E}))))}}b(ModalPortal,"defaultProps",{styles:{}});const getParentElement=e=>e();class Modal extends React.Component{constructor(i){super(i);b(this,"node");b(this,"portal");b(this,"removePortal",()=>{const i=getParentElement(this.props.parentSelector);i&&i.removeChild(this.node),this.node=null});typeof document!="undefined"&&(this.node=document.createElement("div"))}static setAppElement(i){setElement(i)}componentDidMount(){const i=getParentElement(this.props.parentSelector);i&&i.appendChild(this.node)}componentWillUnmount(){this.removePortal()}render(){const o=this.props,{portalComponent:i}=o,n=W(o,["portalComponent"]);return this.node?ReactDOM.createPortal(React.createElement(i,w(f({},n),{className:"overlay-modal"})),this.node):null}}b(Modal,"defaultProps",{isOpen:!1,ariaHideApp:!0,closeTimeoutMS:0,portalComponent:ModalPortal,shouldCloseOnOverlayClick:!0,parentSelector(){return document.getElementsByTagName("article")[0]}});const EntityInferred$7=new Entity(identity$u,{id:t.UUID,identity:t.literal(identity$u),options:t.union([t.null,t.partial({})]),parent:t.null,refs:t.array(t.union([t.type({id:t.UUID,identity:t.literal(identity$F)}),t.type({id:t.UUID,identity:t.literal(identity$a)}),t.type({id:t.UUID,identity:t.literal(identity$k)}),t.type({id:t.UUID,identity:t.literal(identity$e)})])),styles:pageStyles},{id:void 0,identity:identity$u,options:null,parent:null,refs:[]}),entity$7=EntityInferred$7,Page={entity:entity$7,identity:identity$u};function usePage(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{if(!e)return{};const d=getEntityFromRef(c,e);if(!d)return{};const m=getMergedThemeStyles(c,d,o);return{entity:d,mergedThemeStyles:m}},[o==null?void 0:o.entityStyles.page]),{styles:s,computed:l,css:u}=react.exports.useMemo(()=>r?{computed:getComputedStyles$1(a)[i],styles:r.styles[i],css:stylesToCSSTransformer(a)}:{computed:{},styles:{}},[r,a,i]);return{entity:r,styles:s,css:u,computed:l}}const mock=(e,i,n)=>new Promise((o,r)=>{setTimeout(()=>{e?o(i):r({message:"Error"})},n)}),sectionId=v4(),sectionId1=v4(),columnId=v4(),columnId2=v4(),columnId3=v4(),columnId4=v4(),rowId1=v4(),rowId2=v4(),dividerId=v4(),dividerId2=v4(),response={blocks:[{id:sectionId,value:"Section 1",identity:"block",refs:[{identity:"row",id:rowId1}],styles:{50:{spacing:{top:"12",right:"12",bottom:"12",left:"12"},border:{top:{color:"green",width:"12",style:"solid"},right:{color:"green",width:"12",style:"solid"},bottom:{color:"green",width:"12",style:"solid"},left:{color:"green",width:"12",style:"solid"}},box:{height:"vh",width:"vw"},background:{color:"rgba(247,126,126,1)"}}}},{id:sectionId1,value:"Section 2",identity:"block",refs:[{identity:"row",id:rowId2}],styles:{50:{spacing:{top:"2",right:"2",bottom:"2",left:"2"},border:{top:{color:"rgba(31,45,142,1)",width:"12",style:"solid"},right:{color:"rgba(31,45,142,1)",width:"12",style:"solid"},bottom:{color:"rgba(31,45,142,1)",width:"12",style:"solid"},left:{color:"rgba(31,45,142,1)",width:"12",style:"solid"}},box:{height:"vh",width:"vw"},background:{color:"rgba(154,12,12,1)"}}}}],rows:[{id:rowId1,value:"row1",identity:"row",parent:{identity:"block",id:sectionId},refs:[{identity:"column",id:columnId},{identity:"column",id:columnId2},{identity:"column",id:columnId3},{identity:"column",id:columnId4}],styles:{50:{grid:{gutter:"2"}}}},{id:rowId2,value:"row2",identity:"row",parent:{identity:"block",id:sectionId1},refs:[],styles:{50:{grid:{gutter:"4"}}}}],columns:[{id:columnId,value:"columnId",identity:"column",refs:[{identity:"divider",id:dividerId},{identity:"divider",id:dividerId2}],parent:{identity:"row",id:rowId1},styles:{50:{grid:{column:"4"},box:{spacing:{top:"20"},alignment:{horizontal:"left",vertical:"top"}},background:{color:"blue"}}}},{id:columnId2,value:"columnId2",identity:"column",refs:[],parent:{identity:"row",id:rowId1},styles:{50:{grid:{column:"6"},box:{alignment:{horizontal:"left",vertical:"top"}},background:{color:"purple"}}}},{id:columnId3,value:"columnId3",identity:"column",refs:[],parent:{identity:"row",id:rowId1},styles:{50:{grid:{column:"6"},box:{alignment:{horizontal:"left",vertical:"top"}},background:{color:"yellow"}}}},{id:columnId4,value:"columnId4",identity:"column",refs:[],parent:{identity:"row",id:rowId1},styles:{50:{grid:{column:"8"},box:{alignment:{horizontal:"start",vertical:"top"}},background:{color:"red"}}}}],dividers:[{id:dividerId,identity:"divider",parent:{identity:"column",id:columnId},styles:{50:{box:{width:"vw",height:"9",alignment:{horizontal:"left"}},margin:{bottom:"16"},background:{color:"rgba(247,126,126,1)"}}}},{id:dividerId2,identity:"divider",parent:{identity:"column",id:columnId},styles:{50:{box:{width:"vw",height:"2",alignment:{horizontal:"left"}},margin:{bottom:"16"},background:{color:"orange"}}}}]};class PageRemote{get(){return mock(!0,response,300)}}const pageRemote=new PageRemote,getDocumentHeight=()=>{const e=document;return Math.max(e.body.scrollHeight,e.documentElement.scrollHeight,e.body.offsetHeight,e.documentElement.offsetHeight,e.body.clientHeight,e.documentElement.clientHeight)},getScrollTop=()=>window.pageYOffset||(document.documentElement||document.body.parentNode||document.body).scrollTop,getWindowHeight=()=>window.innerHeight||(document.documentElement||document.body).clientHeight,{send:trackThis$1,TRACKING_CATEGORY:TRACKING_CATEGORY$1,TRACKING_EVENT:TRACKING_EVENT$1}=trackers.events,PageStyledContainer=styled.article`
	display: flex;
	position: relative;
	top: 0;
	width: 100%;
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	flex-direction: column;

	${({styles:e})=>e}
`,PageViewerContainer=({id:e,children:i,scrollTracking:n=!1,hasEventsEnabled:o,hasGA4Enabled:r,css:a})=>{const s=react.exports.useRef(),l=()=>{const c=getDocumentHeight(),d=getScrollTop(),m=getWindowHeight(),g=c-m;return Math.floor(d/g*100)},u=()=>{const c=l();s.current||(s.current=c);const d=s.current;[25,50,75,100].forEach(g=>{c>=g&&(s.current||0)<g&&(s.current=g)}),s.current!==d&&!isNaN(s.current)&&!r&&trackThis$1(TRACKING_CATEGORY$1.SCROLL,TRACKING_EVENT$1.DOWN,`${s.current}%`,o)};return react.exports.useEffect(()=>(n&&window.addEventListener("scroll",u),()=>{n&&window.removeEventListener("scroll",u)}),[]),React.createElement(PageStyledContainer,{key:`viewer-article-${e}`,tabIndex:-1,styles:a},i)},EntityInferred$6=new Entity(identity$k,{id:t.UUID,identity:t.literal(identity$k),parent:t.union([t.type({id:t.UUID,identity:t.literal(identity$u)}),t.type({id:t.UUID,identity:t.literal(identity$s)})]),refs:t.array(t.type({id:t.UUID,identity:t.literal(identity$I)})),styles:pageScrollStyles},{id:void 0,identity:identity$k,parent:void 0,refs:[]}),entity$6=EntityInferred$6,PageScroll={entity:entity$6,identity:identity$k};var PageScrollPosition;(function(e){e.MiddleLeft="middle-left",e.MiddleRight="middle-right",e.BottomLeft="bottom-left",e.BottomCenter="bottom-center",e.BottomRight="bottom-right"})(PageScrollPosition||(PageScrollPosition={}));const getStyleValue=(e,i,n)=>{let o=get_1(e[i],n);if(!o&&i<Screensizes.xl){for(const r of getBiggerViewports(i).reverse())if(o=get_1(e[r],n),o)break}return o},calculatePageScrollHeight=(e,i)=>{var d,m,g,E,h,I,v,S,T,x;const n={top:Number((d=getStyleValue(e,i,["border","top","width"]))!=null?d:0),bottom:Number((m=getStyleValue(e,i,["border","bottom","width"]))!=null?m:0)},o=Number((g=getStyleValue(e,i,["icon","size"]))!=null?g:DEFAULT_ICON_SIZE$1),r=getStyleValue(e,i,["icon","custom"])?DEFAULT_ICON_SIZE$1:o,a={top:Number((E=getStyleValue(e,i,["padding","top","value"]))!=null?E:0),bottom:Number((h=getStyleValue(e,i,["padding","bottom","value"]))!=null?h:0)},s={top:Number((I=getStyleValue(e,i,["states","hover","border","top","width"]))!=null?I:n.top),bottom:Number((v=getStyleValue(e,i,["states","hover","border","bottom","width"]))!=null?v:n.bottom)},l=Number((S=getStyleValue(e,i,["states","hover","icon","size"]))!=null?S:o),u=getStyleValue(e,i,["icon","custom"])?r:l,c={top:Number((T=getStyleValue(e,i,["states","hover","padding","top","value"]))!=null?T:a.top),bottom:Number((x=getStyleValue(e,i,["states","hover","padding","bottom","value"]))!=null?x:a.bottom)};return{hover:s.top+s.bottom+c.top+c.bottom+u,normal:n.top+n.bottom+a.top+a.bottom+r}},calculatePageScrollWidth=(e,i)=>{var d,m,g,E,h,I,v,S,T,x;const n={left:Number((d=getStyleValue(e,i,["border","left","width"]))!=null?d:0),right:Number((m=getStyleValue(e,i,["border","right","width"]))!=null?m:0)},o=Number((g=getStyleValue(e,i,["icon","size"]))!=null?g:DEFAULT_ICON_SIZE$1),r=getStyleValue(e,i,["icon","custom"])?DEFAULT_ICON_SIZE$1:o,a={left:Number((E=getStyleValue(e,i,["padding","left","value"]))!=null?E:0),right:Number((h=getStyleValue(e,i,["padding","right","value"]))!=null?h:0)},s={left:Number((I=getStyleValue(e,i,["states","hover","border","left","width"]))!=null?I:n.left),right:Number((v=getStyleValue(e,i,["states","hover","border","right","width"]))!=null?v:n.right)},l=Number((S=getStyleValue(e,i,["states","hover","icon","size"]))!=null?S:o),u=getStyleValue(e,i,["icon","custom"])?r:l,c={left:Number((T=getStyleValue(e,i,["states","hover","padding","left","value"]))!=null?T:a.left),right:Number((x=getStyleValue(e,i,["states","hover","padding","right","value"]))!=null?x:a.right)};return{hover:s.left+s.right+c.left+c.right+u,normal:n.left+n.right+a.left+a.right+r}},getPageScrollAlignment=(e,i)=>{var r;const n=getStyleValue(e,i,["box","alignment","vertical"]),o=getStyleValue(e,i,["box","alignment","horizontal"]);return{offset:Number((r=getStyleValue(e,i,["box","offset","value"]))!=null?r:20),position:n&&o?`${n}-${o}`:PageScrollPosition.BottomCenter}},getPageScrollIconSettings=(e,i)=>{var n,o,r;return{custom:(n=getStyleValue(e,i,["icon","custom"]))!=null?n:!1,identifier:(o=getStyleValue(e,i,["icon","identifier"]))!=null?o:DEFAULT_ICON_IDENTIFIER,hoverIdentifier:(r=getStyleValue(e,i,["states","hover","icon","identifier"]))!=null?r:null}},isPageScrollAlwaysVisible=(e,i)=>getStyleValue(e,i,["visibility"])==="always",defaultBarPosition=BarPosition.Top,pageScrollWrapperStylesToCSS=(e,i,n=defaultBarPosition,o)=>{const r=e["&:hover"]||{},a={width:e.width,height:e.height,borderRadius:e.borderRadius,"&:hover .im-scroll-down-button":e["&:hover"]},s=parseInt(`${e.width}`,10),l=parseInt(`${e.height}`,10),u=parseInt(`${r.width}`,10)||0,c=parseInt(`${r.height}`,10)||0,d={w:s<u?(u-s)/2:0,h:l<c?(c-l)/2:0},m=`${d.w+i.offset+o.left}px`,g=`calc(100% - ${s+d.w+i.offset+o.right}px)`,E=`calc(50% + ${-s/2+o.left/2-o.right/2}px)`,h=`calc(50% + ${-l/2-o.top/2+(n===BarPosition.Bottom?BAR_HEIGHT/2:-BAR_HEIGHT/2)}px)`,I=n===BarPosition.Bottom?i.offset+BAR_HEIGHT+d.h:i.offset+d.h;let v;switch(i.position){case PageScrollPosition.MiddleLeft:v={left:m,bottom:h};break;case PageScrollPosition.MiddleRight:v={left:g,bottom:h};break;case PageScrollPosition.BottomLeft:v={left:m,bottom:I};break;case PageScrollPosition.BottomRight:v={left:g,bottom:I};break;default:v={left:E,bottom:I}}return f(f({},a),v)},pageScrollIconToCSS=(e,i,n)=>{var s;const o=(l,u)=>{set_1(i,[l],u)},r=getStyleValue(e,n,["icon","custom"])?DEFAULT_ICON_SIZE$1:Number((s=getStyleValue(e,n,["icon","size"]))!=null?s:DEFAULT_ICON_SIZE$1);o("fontSize",`${r}px`),o("lineHeight",`${r}px`);const a=getStyleValue(e,n,["states","hover","icon","size"]);a&&o("&:hover",w(f({},i["&:hover"]),{fontSize:`${a}px`,lineHeight:`${a}px`}))},pageScrollSizeAndPositionToCSS=(e,i,n)=>{const o=calculatePageScrollWidth(e,n),r=calculatePageScrollHeight(e,n),a=(l,u)=>{set_1(i,[l],u)};a("width",`${o.normal}px`),a("height",`${r.normal}px`),a("marginLeft",`${-o.normal/2}px`),a("marginTop",`${-r.normal/2}px`);const s=getStyleValue(e,n,["states","hover"]);isEmpty_1(s)||a("&:hover",w(f({},i["&:hover"]),{width:`${o.hover}px`,height:`${r.hover}px`,marginLeft:`${-o.hover/2}px`,marginTop:`${-r.hover/2}px`}))};function usePageScroll(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}},[o==null?void 0:o.entityStyles["page-scroll"],e==null?void 0:e.id]),{computed:s,styles:l}=react.exports.useMemo(()=>r.styles?{computed:getComputedStyles$1(a)[i],styles:r.styles[i]}:{computed:{},styles:{}},[r.styles,a,i]),u=react.exports.useMemo(()=>{if(!a)return{};const c=stylesToCSSTransformer(a,{visibility:()=>{}});return pageScrollIconToCSS(a,c,i),pageScrollSizeAndPositionToCSS(a,c,i),c},[a,i]);return{entity:r,computed:s,styles:l,css:u}}function usePageScrollQueries(e,i,n,o){const{mergedThemeStyles:r}=n(u=>({mergedThemeStyles:getMergedThemeStyles(u,e,o)}),[e,o]),{alignment:a,alwaysVisible:s,iconSettings:l}=react.exports.useMemo(()=>({alignment:getPageScrollAlignment(r,i),alwaysVisible:isPageScrollAlwaysVisible(r,i),iconSettings:getPageScrollIconSettings(r,i)}),[r,i]);return{alignment:a,alwaysVisible:s,iconSettings:l}}function onlyPageScrollRefs(e){return e.identity===identity$k}const Arrow1=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M9.88 11L16 17.181 22.12 11 24 12.903 16 21l-8-8.097z",fillRule:"evenodd"})),Arrow2=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M8.381 12.381L16 20l7.619-7.619z",fillRule:"evenodd"})),Arrow3=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M25.873 11.122a.448.448 0 00-.615 0L16 19.994l-9.258-8.871a.448.448 0 00-.615 0 .404.404 0 000 .589l9.566 9.166a.444.444 0 00.614 0l9.566-9.167a.405.405 0 000-.59z",fillRule:"nonzero"})),Arrow4=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M26.667 16l-1.88-1.88-7.454 7.44V5.333h-2.666V21.56l-7.44-7.453L5.333 16 16 26.667z",fillRule:"evenodd"})),Arrow5=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M24.572 14.44l-.866-.91c-.3-.3-.65-.45-1.051-.45-.409 0-.755.15-1.04.45l-3.397 3.568V8.554c0-.421-.146-.785-.439-1.093-.293-.307-.64-.461-1.04-.461h-1.478c-.4 0-.748.154-1.04.461-.293.308-.44.672-.44 1.093v8.544l-3.396-3.568a1.38 1.38 0 00-1.04-.45c-.4 0-.75.15-1.05.45l-.856.91A1.546 1.546 0 007 15.545c0 .437.146.801.439 1.092l7.521 7.914c.285.3.632.449 1.04.449.4 0 .751-.15 1.051-.45l7.521-7.913c.285-.3.428-.663.428-1.092 0-.421-.143-.79-.428-1.105z",fillRule:"nonzero"})),Arrow6=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M22.955 15.063a1.2 1.2 0 01.857-.34 1.2 1.2 0 01.848.364l.017.018a1.198 1.198 0 01-.024 1.665c-2.587 2.635-5.217 5.242-7.823 7.861a.217.217 0 01-.024.029 1.213 1.213 0 01-1.71-.026l-.037-.04c-2.57-2.607-5.148-5.211-7.713-7.825a1.201 1.201 0 01-.022-1.664l.022-.023a1.21 1.21 0 011.701-.02l6.924 7.047 6.984-7.046zm-.293-7.726c.237-.23.546-.341.854-.337.309.005.615.125.848.364l.018.018a1.2 1.2 0 01-.024 1.666c-2.533 2.58-5.023 5.245-7.525 7.86l-.025.03c-.239.232-.55.345-.86.34a1.204 1.204 0 01-.85-.365c-2.483-2.61-4.957-5.233-7.437-7.85l-.02-.017a1.196 1.196 0 01-.343-.827c-.005-.3.102-.601.322-.837l.022-.022a1.21 1.21 0 011.701-.02l6.627 7.04 6.692-7.043z",fillRule:"nonzero"})),Arrow7=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M10.19 20.058c.033.057.175.296.418.732l.804 1.44c.293.51.578.98.854 1.416.553.905 1.047 1.613 1.474 2.123a5.4 5.4 0 00.83.815c.502.362 1.005.486 1.507.379.276-.074.578-.247.905-.519.175-.164.377-.37.62-.625.36-.379.862-.93 1.507-1.663l1.508-1.77c.485-.559.804-.913.963-1.061.26-.255.402-.568.418-.955.017-.378-.1-.708-.351-.996a1.317 1.317 0 00-.922-.452 1.251 1.251 0 00-.963.378c-.192.181-.56.593-1.114 1.227l-1.449 1.712c-.209-5.383.612-10.494 2.463-15.334a1.374 1.374 0 000-1.061 1.269 1.269 0 00-.729-.733 1.21 1.21 0 00-1.013 0 1.322 1.322 0 00-.704.757c-1.968 5.144-2.873 10.593-2.697 16.338l-.05-.107a39.346 39.346 0 01-.854-1.416l-.78-1.358c-.225-.42-.343-.65-.36-.708a1.323 1.323 0 00-.82-.642 1.185 1.185 0 00-.997.148c-.31.198-.51.486-.611.856-.092.404-.05.75.142 1.079z",fillRule:"nonzero"})),Arrow8=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M20.96 21.538c-.07-.161-.195-.242-.378-.242h-2.916V5.407a.39.39 0 00-.117-.292.409.409 0 00-.3-.115H14.75a.41.41 0 00-.3.115.393.393 0 00-.117.292v15.89h-2.916c-.173 0-.3.08-.377.241a.401.401 0 00.065.446l4.621 4.889a.431.431 0 00.613 0l4.556-4.889a.401.401 0 00.065-.446z",fillRule:"nonzero"})),Arrow9=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M6 10l10 12 10-12H6zm3.319 1.552H22.68L16 19.569l-6.681-8.017z",fillRule:"nonzero"})),Arrow10=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M22.79 19.468a.71.71 0 000-1.008.706.706 0 00-.994 0l-5.088 5.11V6.707a.7.7 0 00-.703-.706.709.709 0 00-.713.706V23.57l-5.078-5.111a.717.717 0 00-1.003 0 .708.708 0 000 1.008l6.292 6.32a.689.689 0 00.993 0l6.293-6.32z",fillRule:"nonzero"})),Arrow11=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M26 6.02c0 .053-10 20-10.016 19.98C15.928 25.933 5.982 6.015 6 6.008c.012-.005 2.266.963 5.008 2.15l4.987 2.158 4.978-2.158A773.854 773.854 0 0125.976 6c.013 0 .024.01.024.02z",fillRule:"evenodd"})),Arrow12=e=>React.createElement(IconBase,f({viewBox:"0 0 32 32"},e),React.createElement("path",{d:"M24.967 17.087a.43.43 0 00-.396-.257H19.87V6.417A.424.424 0 0019.44 6h-6.863a.424.424 0 00-.43.417V16.83H7.43a.429.429 0 00-.396.256.41.41 0 00.092.454l8.559 8.338a.436.436 0 00.607 0l8.583-8.337a.406.406 0 00.093-.454z",fillRule:"nonzero"})),PageScrollIcons={"arrow-1":Arrow1,"arrow-2":Arrow2,"arrow-3":Arrow3,"arrow-4":Arrow4,"arrow-5":Arrow5,"arrow-6":Arrow6,"arrow-7":Arrow7,"arrow-8":Arrow8,"arrow-9":Arrow9,"arrow-10":Arrow10,"arrow-11":Arrow11,"arrow-12":Arrow12},DefaultIcon=Arrow1,PageScrollStyledContainer=styled.div`
	position: fixed;
	z-index: 100;

	${({duration:e,offset:i})=>`
		transition: opacity ${e}ms ease-out, transform ${e}ms linear, margin ${e}ms linear;

		&.page-scroll-exit {
			opacity: 1;
			transform: translateY(0px);
		}
		&.page-scroll-exit-active {
			margin-top: -${i}px;
			opacity: 0;
			transform: translateY(${i}px);
		}
		&.page-scroll-enter {
			margin-top: -${i}px;
			opacity: 0;
			transform: translateY(${i}px);
		}
		&.page-scroll-enter-active {
			opacity: 1;
			transform: translateY(0px);
		}
	`}

	${({styles:e})=>e}
`,PageScrollButton=styled.button`
	position: absolute;
	left: 50%;
	top: 50%;
	cursor: pointer;

	&:focus {
		outline: -webkit-focus-ring-color auto 5px;
	}

	${({customIcon:e,hasCustomImage:i})=>e&&`
      background: ${i?"none !important":"unset"}; 
			overflow: hidden;

			.${CSSIdentifiers$3.Container} {
				position: absolute;
				left: 0;
				top: 0;
				width: 100%;
				height: 100%;
			}

			.${CSSIdentifiers$3.FigureWrapper} {
				margin-bottom: 0;
				height: 100%;
			}

			.${CSSIdentifiers$3.Image} {
				height: 100%;
				cursor: pointer;
				object-fit: cover;
			}
		`}

	${({styles:e})=>e}
`,ContentWrapper=({wrapper:e,children:i})=>React.createElement(React.Fragment,null,e?e(i):i),PageScrollInner=({alignment:e,barPosition:i,children:n,editorOffset:o={left:0,right:0,top:0},iconSettings:r,isAlwaysVisible:a=!1,styles:s,WrapperComponent:l,numberOfBlocks:u,inCommentsMode:c})=>{const d=react.exports.useRef(),m=react.exports.useRef(),[g,E]=react.exports.useState([]),[h,I]=react.exports.useState(!1),[v,S]=react.exports.useState(!1),[T,x]=react.exports.useState(0),C=PageScrollIcons[r.identifier]||DefaultIcon,A=L=>{const k=L.getBoundingClientRect(),M=10;return k.bottom>=M+o.top&&k.top<=(window.innerHeight||document.documentElement.clientHeight)},R=L=>{if(!L)return;const k=g.indexOf(L)===-1?0:g.indexOf(L);if(k<g.length-1){const M=g[k+1];_(M)}else _(g[k],!0)},_=(L,k=!1)=>{const P=L.getBoundingClientRect().top-o.top;k?window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"}):window.scrollBy({top:P,behavior:"smooth"})},F=()=>{d.current=g.find(A)},N=()=>{x(Math.round(Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop)))},D=i===BarPosition.Bottom?100:60,O=react.exports.useMemo(()=>pageScrollWrapperStylesToCSS(s,e,i,o),[i,o,s]);react.exports.useEffect(()=>(m.current=window.setTimeout(()=>{E(Array.from(document.body.querySelectorAll("article section")).filter(L=>window.getComputedStyle(L,null).display!=="none"))},0),window.addEventListener("scroll",N),()=>{clearTimeout(m.current),window.removeEventListener("scroll",N)}),[u]),react.exports.useEffect(()=>{let L;if(a)L=!(T+window.innerHeight>document.documentElement.scrollHeight-BOTTOM_DISAPPEAR_OFFSET);else{const k=()=>g[0].getBoundingClientRect().top>=o.top,M=()=>g[1].getBoundingClientRect().top>window.innerHeight-BOTTOM_DISAPPEAR_OFFSET-o.top;L=g.length>=2&&(k()||M())}F(),I(L)},[g,T]);const B=react.exports.useMemo(()=>Array.isArray(n)&&r.hoverIdentifier?n.filter(L=>{if(React.isValidElement(L)){const k=L.props.id===r.hoverIdentifier;return v?k:!k}return!1}):n,[v,n]);return React.createElement(CSSTransition,{classNames:"page-scroll",in:c?!0:h,mountOnEnter:!0,timeout:DURATION,unmountOnExit:!0},React.createElement(PageScrollStyledContainer,{duration:DURATION,offset:D,styles:O,onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1)},React.createElement(ContentWrapper,{wrapper:l},React.createElement(PageScrollButton,{"aria-label":"Scroll down button",className:"im-scroll-down-button","data-foleon-id":"scroll-down-button",customIcon:r.custom,hasCustomImage:!!React.Children.count(B),onClick:()=>R(d.current),styles:s},r.custom?B:React.createElement(C,{style:{verticalAlign:"top"}})))))},PageScrollViewerContainer=({alignment:e,barPosition:i,children:n,editorOffset:o={left:0,right:0,top:0},hasDisabledNavigation:r,iconSettings:a,inCommentsMode:s,isAlwaysVisible:l,isShown:u,isTransitioning:c=!1,numberOfBlocks:d,styles:m,viewport:g,WrapperComponent:E})=>{const h=r?BarPosition.Top:i;return u&&d>1&&g>Screensizes.md&&!c?React.createElement(PageScrollInner,{alignment:e,barPosition:h,editorOffset:o,iconSettings:a,isAlwaysVisible:l,styles:m,WrapperComponent:E,numberOfBlocks:d,inCommentsMode:s},n):null};function useRow(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{styles:s,computed:l}=react.exports.useMemo(()=>r?{computed:getComputedStyles$1(a)[i],styles:r.styles[i]}:{entity:{},styles:{},computed:{},css:{}},[r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>a?stylesToCSSTransformer(a):{},[a]);return{entity:r,styles:s,computed:l,css:u}}const RowStyledContainer=styled.div`
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 auto;
	min-height: 50px;
	width: 100%;
	justify-content: space-between;
	border-radius: inherit;

	${({styles:e})=>e}
`,RowViewerContainer=({styles:e,children:i,containerHeight:n,sectionScrollNavigation:o,onSetRef:r})=>n!=null?React.createElement(RowStyledContainer,{className:"im-row",styles:e,ref:r},React.Children.map(i,a=>a?React.cloneElement(a,{containerHeight:n,sectionScrollNavigation:o}):null)):React.createElement(RowStyledContainer,{className:"im-row",styles:e,ref:r},i);RowViewerContainer.defaultProps={styles:{},sectionScrollNavigation:!1};const identity$1="settings",EntityInferred$5=new Entity(identity$1,{id:t.UUID,identity:t.literal(identity$1),parent:t.null,leadGen:t.union([t.undefined,t.type({page:t.union([t.undefined,t.null,t.number]),overlay:t.union([t.undefined,t.null,t.number]),gateName:t.union([t.undefined,t.null,t.string]),gateData:t.union([t.type({eloquaLandingPageUrl:t.string}),t.type({hubspotHubId:t.string,hubspotFormId:t.string}),t.type({marketoMunchkinId:t.string,marketoBaseUrl:t.string,marketoFormId:t.string}),t.type({sfpFormLink:t.string}),t.type({})]),foleonTemplateId:t.union([t.undefined,t.null,t.number]),enabled:t.union([t.boolean,t.undefined])})])},{id:void 0,identity:identity$1,parent:null,leadGen:void 0}),entity$5=EntityInferred$5,Settings={entity:entity$5,identity:identity$1};function getSettingsFromEntitiesState(e){const i=(e==null?void 0:e.settings)||{};return Object.values(i)[0]||Settings.entity.create()}function useSettings(e){return{entity:e(n=>{var r;if(!n.settings)return null;const o=n.settings[(r=Object.keys(n.settings))==null?void 0:r[0]];return o||null})}}function useSettingsForEntity(e){return e(i=>getSettingsFromEntitiesState(i))}const EntityInferred$4=new Entity(identity$m,{id:t.UUID,parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$E),t.literal(identity$B)])}),identity:t.literal(identity$m),url:t.union([t.null,t.string]),styles:socialStyles},{id:void 0,parent:void 0,url:null,identity:identity$m}),entity$4=EntityInferred$4,Social={entity:entity$4,identity:identity$m};var CSSIdentifiers$1;(function(e){e.IconsWrapper="ripley__Social--icons-wrapper",e.Icon="ripley__Social--icon",e.IconAnchor="ripley__Social--icon-anchor"})(CSSIdentifiers$1||(CSSIdentifiers$1={}));var config=Object.freeze(Object.defineProperty({__proto__:null,get CSSIdentifiers(){return CSSIdentifiers$1}},Symbol.toStringTag,{value:"Module"}));const boxToCSS=createBoxToCSS({overrides:{alignment:(e,i)=>{(i==null?void 0:i.horizontal)&&set_1(e,"alignSelf",getAlignContent(i.horizontal))},height:(e,i)=>{set_1(e,[`.${CSSIdentifiers$1.Icon}`,"height"],`${i}px`)},width:(e,i)=>{set_1(e,[`.${CSSIdentifiers$1.Icon}`,"width"],`${i}px`)},corners:(e,i)=>{if(!(!i||!isObject_1(i)))for(const n of getKeys(i))set_1(e,[`.${CSSIdentifiers$1.Icon}`,camelCase_1(`border-${n}-radius`)],`${i[n]}px !important`),set_1(e,[`.${CSSIdentifiers$1.IconAnchor}`,camelCase_1(`border-${n}-radius`)],`${i[n]}px !important`)}},cssSelector:`.${CSSIdentifiers$1.IconsWrapper}`}),borderToCSS=createBorderToCSS({cssSelector:`.${CSSIdentifiers$1.Icon}`}),backgroundToCSS=createBackgroundToCSS({cssSelector:`.${CSSIdentifiers$1.IconsWrapper}`}),marginToCSS=createMarginToCSS({cssSelector:`.${CSSIdentifiers$1.IconsWrapper}`});function useSocial(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{computed:s,styles:l}=react.exports.useMemo(()=>r?{computed:getComputedStyles$1(a)[i],styles:r==null?void 0:r.styles[i]}:{computed:{},styles:{}},[r==null?void 0:r.styles,i]);return{css:react.exports.useMemo(()=>a?stylesToCSSTransformer(a,{border:borderToCSS,box:boxToCSS,background:backgroundToCSS,margin:marginToCSS,visibility:(c,d,m=Screensizes.xl)=>{visibilityToCSSByEntity(c,d,m,r)}}):{},[a]),entity:r,computed:s,styles:l}}var SocialPlatformEnum;(function(e){e.Facebook="facebook",e.Globe="globe",e.Googleplus="googleplus",e.Instagram="instagram",e.Mail="mail",e.Linkedin="linkedin",e.Pinterest="pinterest",e.Snapchat="snapchat",e.Tiktok="tiktok",e.Twitter="twitter",e.Vimeo="vimeo",e.Whatsapp="whatsapp",e.Xing="xing",e.Youtube="youtube"})(SocialPlatformEnum||(SocialPlatformEnum={}));const getOrderedSocialPlatforms=e=>{if(!e)return{};const{facebook:i,linkedin:n,twitter:o,instagram:r,snapchat:a,tiktok:s,pinterest:l,xing:u,youtube:c,vimeo:d,whatsapp:m,mail:g,globe:E}=e;return{facebook:i,linkedin:n,twitter:o,instagram:r,snapchat:a,tiktok:s,pinterest:l,xing:u,youtube:c,vimeo:d,whatsapp:m,mail:g,globe:E}},StyledIconLinkWrapper=styled.div`
	display: inline-block;
	border: none;
	padding: 0;
	background-color: transparent;
	font-size: 1em;
	margin: 0.5em;
`,StyledLinkIconWrapper=styled.a`
	display: block;
	overflow: hidden;
`,defaultIconStyles={padding:"0.4em",borderRadius:"4px",overflow:"visible",boxSizing:"content-box"},getIconItem=(e,i)=>{switch(e){case"facebook":return React.createElement(Facebook,f({},i));case"twitter":return React.createElement(Twitter,f({},i));case"linkedin":return React.createElement(Linkedin,f({},i));case"xing":return React.createElement(Xing,f({},i));case"whatsapp":return React.createElement(Whatsapp,f({},i));case"mail":return React.createElement(Mail,f({},i));case"pinterest":return React.createElement(Pinterest,f({},i));case"line":return React.createElement(Line,f({},i));default:throw new Error(`IconItem > social id not found ${e}`)}},SocialIcon=({styles:e,platform:i,clickHandler:n,iconSize:o,cssIdentifier:r})=>{const a=react.exports.useMemo(()=>translate("Share this page on {platform}",{platform:i.name}),[i.name]),s={className:r,style:w(f(f({},defaultIconStyles),e),{backgroundColor:i.bgColor}),color:i.fgColor||"white",size:o,"aria-hidden":!0};return React.createElement(StyledIconLinkWrapper,{"data-testid":"@foleon/maggie-viewer_icon-component"},React.createElement(StyledLinkIconWrapper,{className:CSSIdentifiers$1.IconAnchor,href:"",onClick:l=>n(i.id,l),"aria-label":a},getIconItem(i.id,s)))};SocialIcon.defaultProps={styles:{}};const StyledSocialContainer=styled.div`
	display: flex;
	position: relative;

	${({styles:e})=>e}
`,socialLink=(e,i,n)=>{switch(e){case"facebook":return`https://www.facebook.com/sharer.php?u=${i}&t=${n}`;case"twitter":return`https://x.com/share?text=${n}&url=${i}`;case"linkedin":return`https://www.linkedin.com/shareArticle?mini=true&title=${n}&url=${i}`;case"mail":return`mailto:?subject=${n}&body=${i}`;case"whatsapp":return`whatsapp://send?text=${i}`;case"xing":return`https://www.xing.com/spi/shares/new?url=${i}&title=${n}`;case"pinterest":return`http://pinterest.com/pin/create/link/?url=${i}&description=${n}`;case"line":return`https://lineit.line.me/share/ui?url=${i}&text=${n}`;default:throw new Error(`socialClickHandler > social id not found ${e}`)}},SocialViewer=({items:e,styles:i,iconSize:n=DEFAULT_ICON_SIZE,url:o,cssIdentifiers:r,isEditor:a=!1,dataFoleonId:s,hasEventsEnabled:l})=>{const u=react.exports.useCallback((d,m)=>{if(m.preventDefault(),a)return;const g=document.title,E=socialLink(d,encodeURIComponent(`${o||window.location.href}?utm_source=${d}&utm_medium=social&utm_campaign=im-share-button`),encodeURIComponent(g));if(d!=="mail"){const T=window.screen.width,x=window.screen.height,C=640,A=525,R=(T-C)/2,_=(x-A)/2,F=window.open(E,"popupwindow",`scrollbars=yes,width=${C},height=${A},top=${_},left=${R},resizable=yes`);F==null||F.focus()}else window.location.href=E;const{send:h,TRACKING_CATEGORY:I,TRACKING_EVENT:v}=trackers.events,S=l?v.CLICK:v.SHARE;h(I.SOCIAL_SHARE,S,d,l)},[o]),c=d=>d==="googleplus"?null:React.createElement(SocialIcon,w(f({key:`viewer-social-${d}`},r?{cssIdentifier:r.Icon}:{}),{platform:{id:d,name:colors$1[d].name,fgColor:colors$1[d].fgColor,bgColor:colors$1[d].bgColor},clickHandler:u,iconSize:n}));return React.createElement(StyledSocialContainer,{"data-testid":"@foleon/maggie-viewer_icons-container",styles:i,"data-foleon-id":s},React.createElement("div",f({"data-testid":"@foleon/maggie-viewer_icons-wrapper"},(r==null?void 0:r.IconsWrapper)?{className:r.IconsWrapper}:{}),e&&e.map(c)))};SocialIcon.defaultProps={styles:{}};const identity="table-row",EntityInferred$3=new Entity(identity$l,{id:t.UUID,identity:t.literal(identity$l),parent:t.type({id:t.UUID,identity:t.union([t.literal(identity$E),t.literal(identity$B)])}),refs:t.array(t.type({id:t.UUID,identity:t.literal(identity)})),styles:tableStyles,options:t.type({header:t.type({position:t.union([t.literal("none"),t.literal("top"),t.literal("top-left"),t.literal("left"),t.literal("bottom")]),styles:headerStyles}),data:t.type({styles:dataStyles}),alternate:t.type({isOn:t.boolean,alternateBy:t.union([t.literal("columns"),t.literal("rows")]),styles:alternateStyles})})},{id:void 0,identity:identity$l,parent:void 0,refs:[],options:{header:{position:"top",styles:headerBaseStyles},data:{styles:dataBaseStyles},alternate:{isOn:!1,alternateBy:"rows",styles:alternateBaseStyles}}}),entity$3=EntityInferred$3,Table$1={entity:entity$3,identity:identity$l},getTableEntityWithColumnCount=(e,i,n)=>{var l;const o=getEntityFromRef(e,i);if(!o)return{};const r=o.refs[0],s=((l=e[r.identity])==null?void 0:l[r.id]).refs.length;return{entity:o,columnCount:s,mergedThemeStyles:getMergedThemeStyles(e,o,n)}};function useTable(e,i,n,o){const{entity:r,columnCount:a,mergedThemeStyles:s}=n(d=>getTableEntityWithColumnCount(d,e,o),[o,e]),{computed:l,styles:u}=react.exports.useMemo(()=>({computed:getComputedStyles$1(s)[i],styles:r==null?void 0:r.styles[i]}),[r,i,s]),c=react.exports.useMemo(()=>s?stylesToCSSTransformer(s,{visibility:(d,m,g=Screensizes.xl)=>{visibilityToCSSByEntity(d,m,g,r)}}):{},[s,r]);return{entity:r,css:c,computed:l,columnCount:a,styles:u}}const TABLE_ROW_MAX_LENGTH=Number(ConfigURLs$1.tableRowMaxLength)||25,TABLE_COLUMN_MAX_LENGTH=Number(ConfigURLs$1.tableColumnMaxLength)||8;var HeaderCellScope;(function(e){e.row="row",e.col="col"})(HeaderCellScope||(HeaderCellScope={}));var HeaderPosition;(function(e){e.top="top",e.topLeft="top-left",e.left="left",e.bottom="bottom",e.none="none"})(HeaderPosition||(HeaderPosition={}));const isTableHeader=(e,i,n,o,r)=>n===1||o===1?!1:e===HeaderPosition.top&&i===0||e===HeaderPosition.bottom&&i===n-1||e===HeaderPosition.left&&r===0||e===HeaderPosition.topLeft&&(i===0||r===0),getHeaderCellScope=(e,i)=>e===HeaderPosition.left||e===HeaderPosition.topLeft&&i>0?HeaderCellScope.row:HeaderCellScope.col,getAlternateByRowValue=(e,i,n)=>i===1||n===1?"even":e==="top"||e==="top-left"?"odd":"even",scrollbarHeight=7,CustomScrollbar=styled.div`
	width: 100%;
	${({scrollbarHeight:e})=>`
	&::-webkit-scrollbar {
		height: ${e}px;
	}
	&::-webkit-scrollbar-track {
		box-shadow: inset 0 0 ${e}px rgba(0, 0, 0, 0.1);
		border-radius: ${e}px;
	}
	&::-webkit-scrollbar-thumb {
		box-shadow: inset 0 0 ${e}px rgba(0, 0, 0, 0.6);
		border-radius: ${e}px;
	}`}
	&::-webkit-scrollbar-button {
		display: none;
	}
`,StyledContainer=styled.div`
	width: 100%;
	position: relative;
	${({styles:e})=>e}
`,StyledTable=styled.table`
	width: 100%;
	table-layout: fixed;
	white-space: nowrap;
	border-collapse: inherit;
	border-spacing: inherit;
	/* Set text alignment to left as it is by default centered in HTML for unordered and ordered lists only inside th */
	th ul,
	th ol {
		text-align: left;
	}
	/* Remove right border for th and td elements except last child */
	th:not(:last-child),
	td:not(:last-child) {
		border-right: none;
	}
	/* Add border and background-clip styles to th elements */
	${({borderSpacing:e,borderColor:i})=>`th {    
      border: solid ${e} ${i}; 
      background-clip: padding-box;      
   }`}
	/* Add border and background-clip styles to td elements, remove top border for rows except first */
	${({borderSpacing:e,borderColor:i,numberColumns:n,numberRows:o,position:r})=>`td {    
      border: solid ${e} ${i}; 
      background-clip: padding-box;   
     ${o!==1&&r===HeaderPosition.top&&"border-top: none;}"}    
     }
     /* Remove top border for rows except first */
     tr:not(:first-child) td, tr:not(:first-child) th {
      ${o!==1&&r!==HeaderPosition.top&&"border-top: none;}"} 
     }
     /* Add border styles to first row if number of columns is 1 */
     tr:first-child td, th { 
     ${n===1&&`border: solid ${e} ${i};
				background-clip: padding-box;}`}
	}`}

	${({isAlternatingEnabled:e,alternateBy:i,alternateColor:n})=>e&&i==="columns"&&`
		td:nth-of-type(even) {
			background-color: ${n};
     }
   `}

  ${({isAlternatingEnabled:e,alternateBy:i,alternateColor:n,alternateByRowValue:o})=>e&&i==="rows"&&`
		tr:nth-child(${o}) > td {
			background-color: ${n};
		}
		`}
`,Table=({children:e,columnCount:i,entity:n,styles:o,onClick:r,testId:a})=>{var E;const g=o,{backgroundColor:s,borderSpacing:l}=g,u=W(g,["backgroundColor","borderSpacing"]),c=react.exports.useRef(null),[d,m]=react.exports.useState(0);return react.exports.useEffect(()=>{const h=c.current;h&&m(h==null?void 0:h.offsetHeight)},[c,n,typeof window!="undefined"&&document.body.offsetWidth]),react.exports.createElement(StyledContainer,{"data-foleon-id":n.id,"data-testid":a,onClick:r,styles:u},react.exports.createElement(Scrollbar,{disableTracksWidthCompensation:!0,style:{width:"100% ",height:`${d+scrollbarHeight+scrollbarHeight/2}px`},renderer:h=>{const x=h,{elementRef:I,children:v}=x,S=W(x,["elementRef","children"]),T=react.exports.Children.map(v,C=>react.exports.isValidElement(C)&&C.key==="ScrollbarsCustom-TrackX"?react.exports.cloneElement(C,{style:w(f({},C.props.style),{bottom:0,left:0,width:"100%"})}):C);return react.exports.createElement(CustomScrollbar,w(f({scrollbarHeight},S),{ref:I,className:"MyAwesomeScrollbarsHolder"}),T)}},react.exports.createElement(StyledTable,{ref:c,borderColor:s||"transparent",borderSpacing:l,isAlternatingEnabled:n.options.alternate.isOn,alternateColor:(E=n.options.alternate.styles[50].background)==null?void 0:E.color,alternateBy:n.options.alternate.alternateBy,alternateByRowValue:getAlternateByRowValue(n.options.header.position,n.refs.length,i),numberRows:n.refs.length,numberColumns:i,position:n.options.header.position},react.exports.createElement("tbody",null,e))))},tableCellStyles=createStyles(t.partial({background})),EntityInferred$2=new Entity(identity$b,{id:t.UUID,identity:t.literal(identity$b),parent:t.type({id:t.UUID,identity:t.literal(identity)}),refs:t.array(t.type({id:t.UUID,identity:t.literal(identity$H)})),styles:tableCellStyles},{id:void 0,identity:identity$b,parent:void 0,refs:[]}),entity$2=EntityInferred$2,TableCell$1={entity:entity$2,identity:identity$b},getTableCellEntityWithTableAndTheme=(e,i,n)=>{var l,u;const o=getEntityFromRef(e,i);if(!o)return{};const r=o.parent,s=((l=e[r.identity])==null?void 0:l[r.id]).parent;return{entity:o,tableEntity:(u=e[s.identity])==null?void 0:u[s.id],mergedThemeStyles:getMergedThemeStyles(e,o,n)}};function useTableCell(e,i,n,o){const{entity:r,tableEntity:a,mergedThemeStyles:s}=n(d=>getTableCellEntityWithTableAndTheme(d,e,o),[e==null?void 0:e.id,o]),{computed:l,styles:u}=react.exports.useMemo(()=>{var d;return{computed:getComputedStyles$1(s)[i],styles:(d=r==null?void 0:r.styles)==null?void 0:d[i]}},[r==null?void 0:r.styles,i,s]),c=react.exports.useMemo(()=>s?stylesToCSSTransformer(s):{},[s]);return{entity:r,tableEntity:a,computed:l,styles:u,css:c}}const TableDataCell=styled.td`
	width: 120px;
	padding: 10px 25px;
	word-break: break-word;
	background-color: ${e=>e.backgroundColor};
`,TableHeaderCell=styled.th`
	width: 120px;
	padding: 10px 25px;
	word-break: break-word;
	background-color: ${e=>e.backgroundColor};
`,TableCell=({backgroundColor:e,children:i,headerCellScope:n,isHeaderCell:o})=>o?react.exports.createElement(TableHeaderCell,{backgroundColor:e,scope:n},i):react.exports.createElement(TableDataCell,{backgroundColor:e},i),EntityInferred$1=new Entity(identity,{id:t.UUID,identity:t.literal(identity),parent:t.type({id:t.UUID,identity:t.literal(identity$l)}),refs:t.array(t.type({id:t.UUID,identity:t.literal(identity$b)}))},{id:void 0,identity,parent:void 0,refs:[]}),entity$1=EntityInferred$1,TableRow={entity:entity$1,identity};function useTableRow(e,i,n){const{entity:o}=n(r=>{const a=getEntityFromRef(r,e);return a?{entity:a}:{}},[e]);return{entity:o}}const EntityInferred=new Entity("trigger",{id:t.UUID,identity:t.literal(identity$e),parent:t.type({id:t.UUID,identity:t.literal(identity$u)}),delay:t.number,isTriggeredOnce:t.boolean,refs:t.array(t.type({id:t.UUID,identity:t.literal(identity$v)}))},{id:void 0,identity:identity$e,refs:[],parent:void 0,delay:0,isTriggeredOnce:!0}),entity=EntityInferred,Trigger={entity,identity:identity$e};var CSSIdentifiers;(function(e){e.VideoWrapper="ripley__Video--wrapper",e.FigureWrapper="ripley__Video--figure-wrapper"})(CSSIdentifiers||(CSSIdentifiers={}));const videoBoxToCSS=createBoxToCSS({overrides:{shadow:(e,i)=>{!i||set_1(e,[`.${CSSIdentifiers.FigureWrapper}`,"boxShadow"],`${i.x}px ${i.y}px ${i.blur}px ${i.color}`)},width:(e,i)=>{!i||(set_1(e,[`.${CSSIdentifiers.FigureWrapper}`,"width"],`${i}px`),set_1(e,[`.${CSSIdentifiers.FigureWrapper}`,"maxWidth"],"100%"))},alignment:(e,i,n)=>{(i==null?void 0:i.horizontal)&&(n==null||n("alignSelf",getAlignContent(i==null?void 0:i.horizontal)))}},cssSelector:`.${CSSIdentifiers.FigureWrapper}`}),videoPaddingToCSS=(e,i)=>{const n=i==="custom"?"0":"56.25%";set_1(e,[`.${CSSIdentifiers.VideoWrapper}`,"padding-bottom"],n)},videoBorderToCSS=createBorderToCSS({cssSelector:`.${CSSIdentifiers.FigureWrapper}`});createMarginToCSS({cssSelector:`.${CSSIdentifiers.FigureWrapper}`});function useVideo(e,i,n,o){const{entity:r,mergedThemeStyles:a}=n(c=>{const d=getEntityFromRef(c,e);return d?{entity:d,mergedThemeStyles:getMergedThemeStyles(c,d,o)}:{}}),{styles:s,computed:l}=react.exports.useMemo(()=>r==null?{entity:r,computed:{},styles:{}}:{computed:getComputedStyles$1(a)[i],styles:r.styles[i]},[r==null?void 0:r.styles,i]),u=react.exports.useMemo(()=>{let c={};if(a){const{provider:d}=r,m=stylesToCSSTransformer(a,{box:videoBoxToCSS,border:videoBorderToCSS,visibility:(g,E,h=Screensizes.xl)=>{visibilityToCSSByEntity(g,E,h,r)}});videoPaddingToCSS(m,d),c=m}return c},[a,r&&r.provider]);return{entity:r,styles:s,computed:l,css:u}}const VideoNotFoundBox=styled.div`
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #f1f2f4;
	width: 100%;
	aspect-ratio: 4;
	padding: 4px;

	& > *:first-child {
		color: #8a94a6;
		margin-bottom: 26px;
	}

	& .video-text-not-found {
		font-size: 14px;
		color: #8a94a6;
		font-weight: 600;
		line-height: 24px;
	}
`,Container$1=styled.div`
	width: 100%;
	display: block;

	${({style:e})=>e}

	iframe {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		${({iFrameOrVideoStyles:e})=>e}
	}

	video {
		position: relative;
		width: 100%;
		${({iFrameOrVideoStyles:e})=>e}
	}
`,VideoNotFound=()=>React.createElement(VideoNotFoundBox,null,React.createElement(MdVideocamOff,{size:45}),React.createElement("p",{className:"video-text-not-found"},"Oops! Video URL not found."),React.createElement("p",{className:"video-text-not-found"},"Please update the video URL or add a new one.")),VideoPlayerContainer=({style:e,children:i,cssIdentifier:n,iFrameOrVideoStyles:o})=>React.createElement(Container$1,{className:n,style:e,iFrameOrVideoStyles:o,"data-testid":"video-wrapper-tid"},i),getConfig=e=>({youtube:{playerVars:{showinfo:0,iv_load_policy:3,rel:0,playsinline:1,autoplay:0,modestbranding:1,controls:e?0:1,mute:0,start:0,disablekb:1}},vimeo:{playerOptions:{autopause:!1,autoplay:!1,byline:!1,portrait:!1,title:!1,dnt:!Settings$2.isAllowed(CC_OPTIONS.STATISTICS)&&!e,playsinline:!0,muted:!1,controls:!e,keyboard:!1}},file:{attributes:{preload:"auto",controls:!e,muted:!1}}}),VideoContainer=({cssIdentifier:e,height:i,iFrameOrVideoStyles:n,isBackground:o=!1,isInLightMode:r=!1,isMuted:a=!0,isPlaying:s=!1,onBuffer:l=noop_1,onEnded:u=noop_1,onError:c=noop_1,onPause:d=noop_1,onPlay:m=noop_1,shouldLoop:g=!1,shouldPlayInline:E=!1,showControls:h=!1,style:I,url:v,volume:S=0,width:T="100%",setPlayerRef:x,allowedCookies:C=!0})=>{const A=getConfig(o),R=react.exports.useRef(),_=react.exports.useRef(),[F,N]=react.exports.useState(!1),D=()=>{var k,M;if((R==null?void 0:R.current)&&((k=R==null?void 0:R.current)==null?void 0:k.wrapper)){const P=(M=R==null?void 0:R.current)==null?void 0:M.wrapper.getElementsByTagName("iframe")[0];if(P){const V=P.getAttribute("title"),G=getVideoTitleWithProvider(v,V||"");P.setAttribute("title",G)}}},O=()=>{_.current||(_.current=setTimeout(()=>{c(),N(!0)},5e3))},B=()=>{m(),_.current&&(clearTimeout(_.current),_.current=void 0)},L=k=>{R.current=k,x&&x(k)};return C?React.createElement(VideoPlayerContainer,{style:I,cssIdentifier:e,iFrameOrVideoStyles:n},F?React.createElement(VideoNotFound,null):React.createElement(ReactPlayer,{config:A,controls:h,height:i,light:r,loop:g,muted:a,onBuffer:l,onEnded:u,onError:O,onPause:d,onPlay:B,onReady:D,playing:s,playsinline:E,url:v,volume:S,width:T,wrapper:o?void 0:"div",ref:k=>k&&L(k)})):React.createElement(VideoPlayerContainer,{style:I,cssIdentifier:e,iFrameOrVideoStyles:n})};function isHalVideoItem(e){return e?"loop"in e||"duration"in e:!1}const StyledFigureWrapper=styled.div`
	display: inherit;
	flex-direction: inherit;
	align-items: inherit;
	flex: 0 0 auto;
	width: 100%;
	line-height: 0;

	${({styles:e})=>e};
`,StyledFigureContainer=styled.figure`
	display: inline-block; // needs an inline-block because of screenshot video element as in old code base
	width: 100%;
	position: relative;
	box-sizing: border-box;
	margin: 0;
	height: unset !important;
`,VideoContainerWrapper=({children:e,styles:i,setRef:n=noop_1})=>React.createElement(StyledFigureWrapper,{"data-testid":"@foleon/maggie-viewer_figure-container",styles:i,ref:n},e),VideoFigureWrapper=({children:e,setRef:i=noop_1,dataFoleonId:n})=>React.createElement(StyledFigureContainer,{"data-foleon-id":n,"data-testid":"@foleon/maggie-viewer_figure",className:CSSIdentifiers.FigureWrapper,ref:i},e),FigureWrapper=({children:e,styles:i})=>React.createElement(StyledFigureWrapper,{"data-testid":"@foleon/maggie-viewer_figure-container",styles:i},React.createElement(StyledFigureContainer,{"data-testid":"@foleon/maggie-viewer_figure",className:CSSIdentifiers.FigureWrapper},e));var DraftContentType;(function(e){e.PAGE="PAGE",e.OVERLAY="OVERLAY",e.TEMPLATE="TEMPLATE",e.THEME="THEME",e.SETTINGS="SETTINGS",e.CLIPBOARD="CLIPBOARD"})(DraftContentType||(DraftContentType={}));const findRefFromEntity=(e,i)=>{if(!e||!e.refs||!e.refs.length)return null;for(let n=0;n<e.refs.length;n++){const o=e.refs[n];if(o.identity===i)return o}return null},findRefsFromEntity=(e,i)=>{const n=[];if(!e||!e.refs)return n;for(let o=0;o<e.refs.length;o++){const r=e.refs[o];r.identity===i&&n.push(r)}return n},useStore=(e,i,n)=>n(e,i),initialStore={[Page.identity]:{},[PageScroll.identity]:{},[Overlay$1.identity]:{},[LeadGen.identity]:{},[SocialLogin.identity]:{},[Block.identity]:{},[Row.identity]:{},[Column.identity]:{},[ColumnScroll.identity]:{},[Divider.identity]:{},[Text$3.identity]:{},[TextItem$1.identity]:{},[Background.identity]:{},[Image$1.identity]:{},[Video.identity]:{},[Action.identity]:{},[Button$1.identity]:{},[Hotspot.identity]:{},[Embed$1.identity]:{},[Social.identity]:{},[Theme.identity]:{},[Trigger.identity]:{},[Form$1.identity]:{},[FormText.identity]:{},[FormListRadio.identity]:{},[FormListDropdown.identity]:{},[FormListOption.identity]:{},[FormListCheckbox.identity]:{},[FormPlaceholder.identity]:{},[FormLabel.identity]:{},[InfographicCounterNumber$1.identity]:{},[InfographicCounterLine$1.identity]:{},[InfographicCounterCircle$1.identity]:{},[MapFormEloqua.identity]:{},[MapFormHubSpot.identity]:{},[MapFormMarketo.identity]:{},[MapFormSFP.identity]:{},[Template.identity]:{},[Settings.identity]:{},[Table$1.identity]:{},[TableRow.identity]:{},[TableCell$1.identity]:{},[Property.identity]:{},[Condition.identity]:{}};function getAncestorEntity(e,i,n){var r,a;if(e.identity===i)return e;const o=e.parent&&((a=n[e.parent.identity])==null?void 0:a[(r=e.parent)==null?void 0:r.id]);return!e.parent||!o?null:o.identity===i?o:getAncestorEntity(o,i,n)}function getAncestorEntityWithMergedThemeStyles(e,i,n,o){var a;if(e.identity===i)return w(f({},e),{styles:getMergedThemeStyles(n,e,o)});const r=e.parent&&n[e.parent.identity]&&((a=n[e.parent.identity])==null?void 0:a[e.parent.id]);return!e.parent||!r?null:r.identity===i?w(f({},r),{styles:getMergedThemeStyles(n,r,o)}):getAncestorEntity(r,i,n)}const getActiveChildEntity=({state:e,parent:i,inherited:n,type:o,activeScreenSize:r})=>{var l,u;if(!i)return;const a=findRefsFromEntity(i,o);let s;if(!(!a||!a.length)){for(let c=0;c<a.length;c++){const d=a[c];if(o&&!e[o])return;const m=o&&((l=e[o])==null?void 0:l[d.id]);if(!m||!m.styles)return;const g=(u=getComputedStyles$1(m.styles))==null?void 0:u[r];if(r===Screensizes.xl&&!isNotDisplayed(g)){s=m;break}if(isExplicitlyDisplayed(m.styles[r])){s=m;break}n&&!isNotDisplayed(g)&&(s=m)}return s}},getColumnChildEntityByIdentity=e=>{switch(e){case"text":return Text$3;case"image":return Image$1;case"button":return Button$1;case"divider":return Divider;case"social":return Social;case"video":return Video;case"embed":return Embed$1;case"infographic-counter-number":return InfographicCounterNumber$1;case"infographic-counter-line":return InfographicCounterLine$1;case"infographic-counter-circle":return InfographicCounterCircle$1;case"form":return Form$1;case"table":return Table$1;case"map-form-hubspot":return MapFormHubSpot;case"map-form-sfp":return MapFormSFP;case"map-form-eloqua":return MapFormEloqua;case"map-form-marketo":return MapFormMarketo;default:console.log(`[getEntityForSidebarColumnChildIdentity]: Not implemented ${e} yet`)}},getEntityFromRef=(e,i)=>{if(!!i&&e[i==null?void 0:i.identity])return e[i.identity][i.id]};var BackgroundCSSIdentifiers;(function(e){e.BackgroundVideoContainer="ripley__BackgroundVideoContainer"})(BackgroundCSSIdentifiers||(BackgroundCSSIdentifiers={}));const backgroundWithImageVisibilityCSS=(e,i,n,o,r)=>{var s;const a=(s=o.styles[n].background)==null?void 0:s.color;switch(e){case"visible":if(n<Screensizes.xl&&(i.visibility=e,i.display="unset !important"),!r)return;a?i.backgroundImage=getBackgroundImageCSSValue(a,r):i.backgroundImage=`url(${r})`;break;default:visibilityToCSS(e,i)}},createBackgroundVideoColorOverlayStyles=e=>({content:'""',position:"absolute",top:"0px",left:"0px",right:"0px",bottom:"0px",background:e,pointerEvents:"none"}),backgroundWithVideoVisibilityCSS=(e,i,n,o,r)=>{var l,u,c,d,m,g;const a=(u=(l=o.styles[Screensizes.xl])==null?void 0:l.background)==null?void 0:u.color,s=optimizeImage({dprControl:!0,imageUrl:((g=(m=(d=(c=r==null?void 0:r._embedded)==null?void 0:c.image)==null?void 0:d._links)==null?void 0:m.image)==null?void 0:g.href)||(r==null?void 0:r.defaultFallbackImage)||"",maxWidth:1600});switch(e){case"visible":n===Screensizes.xl&&a?(i[`.${BackgroundCSSIdentifiers.BackgroundVideoContainer}::after`]=createBackgroundVideoColorOverlayStyles(a),i.backgroundImage=getBackgroundImageCSSValue(a,s)):n===Screensizes.xl?i.backgroundImage=`url(${s})`:n<=Screensizes.lg&&(i.visibility=e,i.display="unset !important",i.backgroundImage=a?getBackgroundImageCSSValue(a,s):`url(${s})`);break;default:visibilityToCSS(e,i)}},getBackgroundEntityWithImageVideoAndTheme=(e,i,n)=>{var s,l;const o=getEntityFromRef(e,i);if(!o)return{};const r=o.refs.find(({identity:u})=>u==="image"),a=o.refs.find(({identity:u})=>u==="video");return{entity:o,imageEntity:r&&o.type==="image"?(s=e[r.identity])==null?void 0:s[r.id]:null,videoEntity:a&&o.type==="video"?(l=e[a.identity])==null?void 0:l[a.id]:null,mergedThemeStyles:getMergedThemeStyles(e,o,n)}},createBackgroundEntityCSS=({imageEntity:e,videoEntity:i,mergedThemeStyles:n,getImageAsset:o,getVideoAsset:r})=>{var l,u,c,d,m;if(!n)return{};const a=((l=n[Screensizes.xl])==null?void 0:l.visibility)===void 0,s=a&&((u=n[Screensizes.md])==null?void 0:u.visibility)===void 0;if(a&&(n[Screensizes.xl].visibility="visible"),e){const g=o(e),E=optimizeImage({dprControl:!0,imageUrl:(c=g==null?void 0:g.url)!=null?c:"",maxWidth:Number(((d=e==null?void 0:e.properties)==null?void 0:d.width)||((m=g==null?void 0:g.properties)==null?void 0:m.width))});return stylesToCSSTransformer(n,{visibility:(h,I,v=Screensizes.xl)=>backgroundWithImageVisibilityCSS(h,I,v,e,E)})}if(i){s&&(n[Screensizes.md].visibility="visible");const g=r(i.assetRef);return stylesToCSSTransformer(n,{visibility:(E,h,I=Screensizes.xl)=>{backgroundWithVideoVisibilityCSS(E,h,I,i,g)}})}return{}};function useBackground(e,i,n,o){const{getVideoAsset:r,getImageAsset:a}=useAssetsStoreQueries(),{entity:s,imageEntity:l,videoEntity:u,mergedThemeStyles:c}=n(E=>getBackgroundEntityWithImageVideoAndTheme(E,e,o),[e==null?void 0:e.id,o]),{styles:d,computed:m}=react.exports.useMemo(()=>{var E;return s===null?{entity:{},styles:{},computed:{},css:{}}:{computed:getComputedStyles$1(c)[i],styles:(E=s==null?void 0:s.styles)==null?void 0:E[i]}},[s==null?void 0:s.styles,i]),g=react.exports.useMemo(()=>createBackgroundEntityCSS({imageEntity:l,videoEntity:u,getImageAsset:a,getVideoAsset:r,mergedThemeStyles:c}),[c,l,u,a,r]);return{entity:s,imageEntity:l,videoEntity:u,styles:d,computed:m,css:g}}function useActiveBackground(e,i,n,o){return o(r=>getActiveChildEntity({state:r,parent:e,inherited:i,type:"background",activeScreenSize:n}))}function useBackgroundQueries(e,i){return{isDescendantOfFirstBlock:i(o=>{var l;const r=getAncestorEntity(e,"block",o),a=getAncestorEntity(e,"page",o)||getAncestorEntity(e,"overlay",o)||getAncestorEntity(e,"template",o);if(!r||!a)return console.error("Ancestor block and/or page/overlay/template not found in state. Unable to compute isDescendantOfFirstBlock."),!1;const s=(l=a.refs)==null?void 0:l.find(u=>u&&u.identity===identity$F);return(s==null?void 0:s.id)===r.id})}}const backgroundRef=t.type({id:t.UUID,identity:t.literal(identity$C)}),onlyBackgroundRefs=e=>e.identity===identity$C,BackgroundContainerStyles=styled.div`
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	position: absolute;
	width: 100%;
	height: 100%;

	/* set overFlow to hidden so that hotspots disappear when there outside of the background. */
	overflow: hidden;

	/* this is necessary, so that background video iFrame wont hijack mouse-events */
	pointer-events: none;
	border-radius: inherit;

	/* overwrite so that our video is place correctly with padding-bottom trick */
	box-sizing: border-box;
	background-color: ${({disabled:e})=>e?"#666":"inherit"};

	/* Preferably only on iOS we want to disable backgroundAttachment because it's not supported on iOS devices.
	 * The next line will fix for all iPhones but disable it for Android, IE and Edge as well. */
	.os-ios &,
	.os-android &,
	.browser-ie &,
	.browser-edge &,
	.im-overlay {
		background-attachment: scroll !important;
	}

	${({mobileFallbackStyles:e})=>e}
	${({fallbackStyles:e})=>e}
	${({styles:e})=>e}
`,isEmptyObject=e=>Object.keys(e).length===0&&e.constructor===Object;function getScrollY(){return window.scrollY||window.pageYOffset||document.documentElement.scrollTop||0}function updateElementsPosition(e,i){e.forEach(n=>updateElementPosition(n,i))}function updateElementPosition(e,i){e.translateY=e.initialTranslateY+i*(1-e.scrollRate),setTransformValue(e)}function getVerticalCenterOffsetFromWindowVerticalCenter(e,i,n){return e+i/2-n/2}function getParallaxedHeight(e,i,n){return 5+n*.2+Math.ceil(e+(1-i)*(n-e))}function getParallaxedTop(e,i,n,o,r,a){const s=getVerticalCenterOffsetFromWindowVerticalCenter(o,e,a);return(n===!0||s!==null&&s<=0)&&r!==0?Math.ceil(o*(r-1)):Math.ceil((e-i)/2)}function getInitialTranslateY(e){const{descendantOfFirstSection:i,scrollRate:n,initialTop:o,initialHeight:r,viewportHeight:a}=e,s=getVerticalCenterOffsetFromWindowVerticalCenter(o,r,a);return(i||s!==null&&s<=0)&&n!==0||n===1||s===null?0:s*(n-1)}function setTransformValue(e){const{height:i,top:n,translateY:o,containerEl:r}=e;if(e.el==null)return;const a=`${i}px`,s=`${n}px`,l=e.el.style.height,u=e.el.style.top;if(l!==a&&e.el.style.setProperty("height",a),u!==s&&e.el.style.setProperty("top",s),r){const d=r.parentNode.getBoundingClientRect();r.style.setProperty("width",`${d.width}px`),r.style.setProperty("height",`${d.height}px`),r.style.setProperty("left",`${d.left}px`),r.style.setProperty("transform",`translate3d(0px, ${d.top}px, 0px)`)}e.el.style.setProperty("transform",`translate3d(0px, ${o}px, 0px)`)}function areCSSVariablesSupported(){return typeof window!="undefined"&&window.CSS!==void 0&&typeof window.CSS.supports=="function"&&window.CSS.supports("--fake-var","0")}function setParallaxItemValues(e,i){var r;e.cssVariablesSupported=areCSSVariablesSupported();const n=typeof innerHeight!="undefined"?innerHeight():0;i!=null&&(e.getParallaxItemOptions=i);const o=e.getParallaxItemOptions();e.el=o.ref==null?null:o.ref.current,e.containerEl=o.containerEl,!(e.el==null||e.containerEl==null)&&(e.scrollRate=o.scrollRate,e.initialHeight=e.containerEl.clientHeight,e.initialTop=e.containerEl.parentNode.getBoundingClientRect().top+getScrollY(),e.initialOffsetTop=((r=o.containerEl)==null?void 0:r.offsetTop)||0,e.descendantOfFirstSection=o.descendantOfFirstSection==null?!1:o.descendantOfFirstSection,e.initialTranslateY=getInitialTranslateY({initialTop:e.initialTop,initialHeight:e.initialHeight,scrollRate:e.scrollRate,descendantOfFirstSection:e.descendantOfFirstSection,viewportHeight:n}),e.translateY=e.initialTranslateY,e.height=getParallaxedHeight(e.initialHeight,e.scrollRate,n),e.top=getParallaxedTop(e.initialHeight,e.height,e.descendantOfFirstSection,e.initialTop,e.scrollRate,n))}class ParallaxItem{constructor(i){b(this,"el");b(this,"containerEl");b(this,"instanceId");b(this,"scrollRate");b(this,"initialTranslateY");b(this,"translateY");b(this,"initialHeight");b(this,"initialTop");b(this,"initialOffsetTop");b(this,"top");b(this,"height");b(this,"descendantOfFirstSection");b(this,"getParallaxItemOptions");b(this,"cssVariablesSupported");b(this,"id");b(this,"index");setParallaxItemValues(this,i)}update(){setParallaxItemValues(this,void 0)}}const defaultParallaxScrollRate=1;function handleRequestAnimationFrame(){this.updateWhenScrollHeightChanged(),this.scrollY=getScrollY(),updateElementsPosition(this._parallaxItems,this.scrollY),window.requestAnimationFrame(this.handleRequestAnimationFrame)}class ParallaxController{constructor(){b(this,"_parallaxItems");b(this,"scrollY");b(this,"ticking");b(this,"initiated");b(this,"lastIosInnerHeight");b(this,"handleRequestAnimationFrame");b(this,"scrollContainer");b(this,"prevScrollContainerScrollHeight");b(this,"_addParallaxItem",i=>{i.index=this._parallaxItems.length,this._parallaxItems.push(i),this.update()});b(this,"createParallaxItem",i=>{const n=i();let o=this._parallaxItems.find(r=>r.el===get_1(n,["ref","current"]));return o===void 0&&(o=new ParallaxItem(i),this._addParallaxItem(o)),o});b(this,"removeParallaxItem",i=>{const n=this._parallaxItems.findIndex(o=>o.el===i);n!==-1&&this._parallaxItems.splice(n,1)});b(this,"updateWhenScrollHeightChanged",()=>{if(!this.scrollContainer){const i=document.querySelector("#app");this.scrollContainer=i&&i.firstChild}(!this.prevScrollContainerScrollHeight||this.scrollContainer&&this.scrollContainer.scrollHeight!==this.prevScrollContainerScrollHeight)&&(this.update(),this.prevScrollContainerScrollHeight=this.scrollContainer&&this.scrollContainer.scrollHeight)});b(this,"update",()=>{!this._parallaxItems||this._parallaxItems.length===0||(this._parallaxItems.forEach(i=>{i.update()}),updateElementsPosition(this._parallaxItems,getScrollY()))});b(this,"handleResize",()=>{var o,r,a;const i=(a=(r=(o=platform)==null?void 0:o.os)==null?void 0:r.family)==null?void 0:a.toLowerCase();if(i==="ios"||i==="android"||i==="windows phone")return;const n=innerHeight&&innerHeight(0);window.innerHeight!==n?n!==this.lastIosInnerHeight&&(this.update(),this.lastIosInnerHeight=n):(this.lastIosInnerHeight=0,this.update())});b(this,"cleanup",()=>{window.removeEventListener("resize",this.handleResize,!1)});this._parallaxItems=[],this.scrollY=getScrollY(),this.ticking=!1,this.initiated=!1,this.handleRequestAnimationFrame=handleRequestAnimationFrame.bind(this),window.addEventListener("resize",this.handleResize,!1),this.handleRequestAnimationFrame()}}const ParallaxContext=React.createContext({}),{Provider:ContextProvider}=ParallaxContext;class ParallaxProvider extends React.Component{constructor(i){super(i);b(this,"parallaxController");typeof window=="undefined"||(this.parallaxController=new ParallaxController)}componentDidUpdate(i){const{viewportSize:n,isSaving:o,isTransitioning:r}=this.props,{viewportSize:a,isSaving:s}=i;(s===!0&&o===!1||n!==a&&a!=null)&&setTimeout(this.parallaxController.update),r!==!0&&i.isTransitioning===!0&&this.parallaxController.update()}componentWillUnmount(){this.parallaxController.cleanup()}render(){const{children:i}=this.props;return React.createElement(ContextProvider,{value:{parallaxController:this.parallaxController}},i)}}const{Consumer:ContextConsumer}=ParallaxContext,Container=styled.div`
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
	will-change: transform;
`,ParallaxConsumerWrapper=styled.div`
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
`;class Parallax extends React.Component{constructor(i){super(i);b(this,"containerEl");b(this,"item");b(this,"parallaxItemOptions");b(this,"ref");b(this,"parallaxTransform");b(this,"state");b(this,"getParallaxItemOptions",()=>this.parallaxItemOptions);b(this,"setParallaxItem",(i,n)=>{var d;if(this.parallaxController===null)return;const o=((d=this.parallaxController)==null?void 0:d.scrollY)||0,r=this.containerEl,a={ref:this.ref,containerEl:r,scrollRate:n.scrollRate,descendantOfFirstSection:n.descendantOfFirstSection},{scrollRate:s,descendantOfFirstSection:l}=i;if(this.ref===null||this.ref.current===null)return;const u=this.parallaxController instanceof ParallaxController;if(this.parallaxController===void 0||isEmptyObject(this.parallaxController)||!u)return;const c={ref:this.ref,containerEl:r,scrollRate:s,descendantOfFirstSection:l};if(this.item&&this.item!==null){if(isEqual_1(a,c))return;this.parallaxItemOptions=c,this.item.update(),setTimeout(()=>updateElementPosition(this.item,o));return}this.parallaxItemOptions=c,this.item=this.parallaxController.createParallaxItem(this.getParallaxItemOptions),setTimeout(()=>updateElementPosition(this.item,o))});b(this,"setRef",i=>{this.state.initialItemSet===!1&&this.setState({initialItemSet:!0}),this.ref.current=i});this.parallaxTransform="",this.ref=React.createRef(),this.state={initialItemSet:!1},this.setParallaxItem(i,{scrollRate:1,descendantOfFirstSection:!1})}componentDidUpdate(i){this.setParallaxItem(this.props,i)}componentWillUnmount(){var i,n;this.item!==null&&((n=this.parallaxController)==null||n.removeParallaxItem((i=this.item)==null?void 0:i.el))}get parallaxController(){return this.props.parallaxController}render(){const{children:i}=this.props;return React.createElement(ParallaxConsumerWrapper,null,React.createElement(Container,{className:"parallax-consumer",ref:n=>this.containerEl=n},React.cloneElement(React.Children.only(i),{setParallaxRef:this.setRef})))}}b(Parallax,"defaultProps");class ParallaxConsumer extends React.Component{render(){return React.createElement(ContextConsumer,null,({parallaxController:i})=>React.createElement(Parallax,w(f({},this.props),{parallaxController:i}),this.props.children))}}function getParallaxScrollRate(e){const i=get_1(e,["parallaxScrollRate"]);return i?parseFloat(`${i}`):defaultParallaxScrollRate}const withParallaxConsumer=e=>{class i extends React.Component{constructor(o){super(o)}render(){const o=getParallaxScrollRate(this.props);if(o===defaultParallaxScrollRate)return React.createElement(e,f({},this.props));const r=get_1(this.props,["descendantOfFirstSection"]),a={scrollRate:o,descendantOfFirstSection:r==null?!1:r};return React.createElement(ParallaxConsumer,f({},a),React.createElement(e,f({},this.props)))}}return i},fallbackMobileShow={opacity:1,transition:"opacity 500ms linear 0ms"},BackgroundImage=({styles:e,setParallaxRef:i=noop_1})=>{const[n,o]=react.exports.useState({});return react.exports.useEffect(()=>{const r=setTimeout(()=>{o(e)},0);return()=>clearTimeout(r)},[e]),React.createElement(BackgroundContainerStyles,{ref:i,className:"viewer-background",fallbackStyles:fallbackMobileShow,styles:n,disabled:!1,show:!0})},BackgroundImageWithParallax=withParallaxConsumer(BackgroundImage),BackgroundImageViewerContainer=({styles:e,scrollRate:i,descendantOfFirstBlock:n,disableParallax:o})=>i===void 0||i==="1"||o?React.createElement(BackgroundImage,{styles:e}):React.createElement(BackgroundImageWithParallax,{parallaxScrollRate:i,descendantOfFirstSection:n,styles:e}),{send:trackThis,TRACKING_CATEGORY,TRACKING_EVENT}=trackers.events,defaultState={movementsPaused:!1,handlePause:()=>{},toggleGifFreeze:()=>{}},AccessibilityContext=react.exports.createContext(defaultState),AccessibilityProvider=({children:e,hasEventsEnabled:i,hasGA4Enabled:n})=>{const[o,r]=react.exports.useState(!1),a=(c,d)=>{const m=document.createElement(c);return d(m),m},s=react.exports.useCallback(c=>{const{width:d,height:m}=c,g=a("canvas",I=>{I.width=d,I.height=m});let E;const h=()=>{g.getContext("2d").drawImage(c,0,0,d,m);for(let I=0;I<c.attributes.length;I++)E=c.attributes[I],E.name!=='"'&&g.setAttribute(E.name,E.value);g.classList.add("canvas-gif"),g.style.position="absolute",c.parentNode.insertBefore(g,c)};c.complete?(h(),c.style.visibility="hidden"):c.addEventListener("load",h,!0)},[]),l=react.exports.useCallback(()=>{var c,d;if(typeof document!="undefined")if(o){const m=Array.from(document.images);m.map((g,E)=>{var h;((h=g.parentElement)==null?void 0:h.id)==="foleon-logo-anchor"&&m.splice(E,1)}),[].slice.apply(m).map(s)}else{const m=document.getElementsByClassName("canvas-gif");for(;m.length>0;){const g=(c=m[0].parentNode)==null?void 0:c.querySelector("img");g&&(g.style.visibility=""),(d=m[0].parentNode)==null||d.removeChild(m[0])}}},[s,o]);react.exports.useEffect(()=>{l()},[l,o]);const u=react.exports.useCallback(c=>{c.stopPropagation(),i&&n&&(o?trackThis(TRACKING_CATEGORY.AUTOPLAY_ACCESSIBILITY,TRACKING_EVENT.ENABLE,"Autoplay videos / GIFS",i):trackThis(TRACKING_CATEGORY.AUTOPLAY_ACCESSIBILITY,TRACKING_EVENT.DISABLE,"Autoplay videos / GIFS",i)),r(!o)},[r,o]);return React.createElement(AccessibilityContext.Provider,{value:{movementsPaused:o,handlePause:u,toggleGifFreeze:l}},e)};function useAccessibility(){return react.exports.useContext(AccessibilityContext)}function useIsServer(){const[e,i]=react.exports.useState(!0);return react.exports.useEffect(()=>{i(!1)},[]),e}const createStylesForVideoIFrame=({isWiderThanAspectRatio:e,calculatedVideoWidth:i,calculatedVideoHeight:n,containerHeight:o,disabled:r})=>{const a={};return r&&(a.display="none"),f({position:"absolute !important",height:e?`${n}px !important`:"100% !important",bottom:"0px !important",width:e?"100% !important":`${i}px !important`,left:e?"0px !important":"50%",marginLeft:e?"0px !important":`-${i/2}px !important`,top:"0px !important",marginTop:e?`-${(n-o)/2}px !important`:"0px !important",pointerEvents:"none"},a)},BackgroundVideoImage=({styles:e})=>React.createElement(BackgroundContainerStyles,{disabled:!1,className:"viewer-background video",show:!0,styles:e}),videoViewportFactors=[{name:VisibilitiesEnum.SCREEN_MIN,factor:.075},{name:VisibilitiesEnum.SCREEN_FULL,factor:.9}],ImageOrVideoContainer=styled.div`
	visibility: ${({visibility:e})=>e};
	opacity: ${({opacity:e})=>e};
	transition: opacity 0.4s, visibility 0.4s;
`,BackgroundVideo=({aspectRatio:e,disabled:i,handleVideoIsFinishedPlaying:n,options:o,styles:r,url:a,volume:s})=>{const{viewportObserverRef:l,inView:u,htmlNode:c}=useViewportObserver({factors:videoViewportFactors,shouldUpdateWhenScrollDirectionChanges:!0}),[d,m]=react.exports.useState();react.exports.useEffect(()=>{o.backgroundVideoLoopDisabled||d==null||d.seekTo(0)},[o.backgroundVideoLoopDisabled]);const g=react.exports.useCallback(()=>{o.backgroundVideoLoopDisabled&&n(!0)},[n,o.backgroundVideoLoopDisabled]),{width:E,height:h}=useResizeDetector({targetRef:{current:c}}),I=E&&h?E/h>e:!1,v=E?E/e:null,S=h?h*e:null,T=v!==null&&S!==null,x=react.exports.useMemo(()=>h&&T?createStylesForVideoIFrame({isWiderThanAspectRatio:I,calculatedVideoWidth:S,calculatedVideoHeight:v,containerHeight:h,disabled:i}):{},[I,S,v,h,T,i]),C=isVisible(VisibilitiesEnum.SCREEN_MIN,u),[A,R]=react.exports.useState(!1),{movementsPaused:_}=useAccessibility();return react.exports.useEffect(()=>{R(!_&&C&&T)},[T,C,_,R]),React.createElement(BackgroundContainerStyles,{className:"viewer-background",disabled:i,ref:l,show:!0,styles:r},E&&h&&React.createElement(VideoContainer,{cssIdentifier:BackgroundCSSIdentifiers.BackgroundVideoContainer,height:h,iFrameOrVideoStyles:x,isBackground:!0,isInLightMode:!1,isMuted:o.backgroundVideoSoundDisabled,isPlaying:A,onEnded:g,shouldLoop:!o.backgroundVideoLoopDisabled,shouldPlayInline:!0,showControls:!1,style:{position:"absolute"},url:a,volume:s,width:E,setPlayerRef:m}))},BackgroundVideoViewerContainer=({aspectRatio:e=1.78,disabled:i=!1,options:n={backgroundVideoSoundDisabled:!1,backgroundVideoLoopDisabled:!1},styleSize:o,styles:r,url:a,volume:s,shouldRenderVideoFallbackImage:l})=>{const u=useIsServer(),[c,d]=react.exports.useState(!1),[m,g]=react.exports.useState(!1);react.exports.useEffect(()=>{n.backgroundVideoLoopDisabled||d(!1)},[n.backgroundVideoLoopDisabled]);const E=c||u||o<Screensizes.lg||l,{movementsPaused:h}=useAccessibility();if(react.exports.useEffect(()=>{h?g(!0):setTimeout(()=>{g(!1)},400)},[h]),E)return React.createElement(BackgroundVideoImage,{styles:r});const I=omit_1(r,["backgroundImage","backgroundPosition"]);return React.createElement(React.Fragment,null,isYoutubeVideoUrl(a)&&React.createElement(ImageOrVideoContainer,{opacity:m?1:0,visibility:m?"visible":"hidden"},React.createElement(BackgroundVideoImage,{styles:r})),React.createElement(ImageOrVideoContainer,{opacity:isYoutubeVideoUrl(a)&&m?0:1,visibility:isYoutubeVideoUrl(a)&&m?"hidden":"visible"},React.createElement(BackgroundVideo,{aspectRatio:e,disabled:i,url:a,handleVideoIsFinishedPlaying:d,options:n,styles:I,volume:s})))},withParallaxProvider=e=>{class i extends React.Component{render(){const s=this.props,{isSaving:o,viewport:r}=s,a=W(s,["isSaving","viewport"]);return React.createElement(ParallaxProvider,{isTransitioning:this.props.isTransitioning||!1,isSaving:o==null?!1:o,viewportSize:r},React.createElement(e,f({},a)))}}return i};function useClipboard(e){return{entity:e(n=>{if(!n.clipboard)return null;const o=Object.keys(n.clipboard);if(!o||o.length<1)return null;const r=n.clipboard[o[0]];return r||null})}}const ValidatorMap={[Block.identity]:Block.entity,[Page.identity]:Page.entity,[Overlay$1.identity]:Overlay$1.entity,[Row.identity]:Row.entity,[Column.identity]:Column.entity,[ColumnScroll.identity]:ColumnScroll.entity,[Divider.identity]:Divider.entity,[Text$3.identity]:Text$3.entity,[TextItem$1.identity]:TextItem$1.entity,[Background.identity]:Background.entity,[Image$1.identity]:Image$1.entity,[Video.identity]:Video.entity,[Action.identity]:Action.entity,[Button$1.identity]:Button$1.entity,[Hotspot.identity]:Hotspot.entity,[Embed$1.identity]:Embed$1.entity,[Social.identity]:Social.entity,[SocialLogin.identity]:SocialLogin.entity,[Theme.identity]:Theme.entity,[Form$1.identity]:Form$1.entity,[FormText.identity]:FormText.entity,[FormListRadio.identity]:FormListRadio.entity,[FormListDropdown.identity]:FormListDropdown.entity,[FormListOption.identity]:FormListOption.entity,[FormListCheckbox.identity]:FormListCheckbox.entity,[FormPlaceholder.identity]:FormPlaceholder.entity,[FormLabel.identity]:FormLabel.entity,[Trigger.identity]:Trigger.entity,[InfographicCounterCircle$1.identity]:InfographicCounterCircle$1.entity,[InfographicCounterLine$1.identity]:InfographicCounterLine$1.entity,[InfographicCounterNumber$1.identity]:InfographicCounterNumber$1.entity,[LeadGen.identity]:LeadGen.entity,[MapFormEloqua.identity]:MapFormEloqua.entity,[MapFormHubSpot.identity]:MapFormHubSpot.entity,[MapFormMarketo.identity]:MapFormMarketo.entity,[MapFormSFP.identity]:MapFormSFP.entity,[PageScroll.identity]:PageScroll.entity,[Property.identity]:Property.entity,[Condition.identity]:Condition.entity,[Template.identity]:Template.entity,[Settings.identity]:Settings.entity};function mergeDraft(e,i){for(const n in i){const o=i[n];for(const r in o){const a=o[r];e[n]||(e[n]={}),e[n][r]=a}}}function extractEntityPathArr(e){return e.path.slice(0,2)}function stringifyEntityPath(e){return e.join(".")}function makeUniqueStringFromIdentityAndId(e,i){return e+"."+i}class Validator{reduceEntityPaths(i,n){const o=extractEntityPathArr(n);if(o.length<2)throw new Error(`Invalid patch path: ${JSON.stringify(n.path)}. Patches must target specific entities.`);const r=stringifyEntityPath(o);return i.find(a=>a===r)?i:[...i,r]}validateEntities(i,n){const o=[];return n.forEach(r=>{const a=get_1(i,r);if(!a)throw new Error(`Invalid entity path provided for validation: ${JSON.stringify(r)}.`);const s=ValidatorMap[a.identity];o.push(s.val(a))}),o}validate(i,n){return this.validateEntities(i,n.reduce(this.reduceEntityPaths,[]))}validateState(i,n,o=!1,r=!1){var u,c,d;const a=[],s={};let l=!1;for(const m in i){const g=i[m];for(const E in g){const h=(u=i[m])==null?void 0:u[E],I=h&&ValidatorMap[h.identity],v=I==null?void 0:I.val(h);if((v==null?void 0:v.isErr())&&(n==null||n(v,h),a.push(v)),o&&((c=h==null?void 0:h.refs)==null||c.forEach(S=>{const T=makeUniqueStringFromIdentityAndId(S.identity,S.id);if(s[T]){const x=err([{path:[S.identity,S.id],expected:"this element to be referenced only once",got:"this element is referenced more than once"}]);n==null||n(x,h),a.push(x)}else s[T]=!0;if(!i[S.identity][S.id]){const x=err([{path:[S.identity,S.id],expected:"element to exist",got:i[S.identity][S.id]}]);n==null||n(x,h),a.push(x)}})),(h==null?void 0:h.identity)===Table$1.identity){const S=h.refs.length;if(!(S&&S<=TABLE_ROW_MAX_LENGTH)){const x=err([{path:[h.identity,h.id],expected:`table elements can have between 1 and ${TABLE_ROW_MAX_LENGTH} rows`,got:`${S} table rows`,type:ErrorType.WRONG_LENGTH}]);n==null||n(x,h),a.push(x)}}if((h==null?void 0:h.identity)===TableRow.identity){const S=h.refs.length;if(!(S&&S<=TABLE_COLUMN_MAX_LENGTH)&&!l){l=!0;const x=err([{path:[h.identity,h.id],expected:`table elements can have between 1 and ${TABLE_COLUMN_MAX_LENGTH} columns`,got:`${S} table columns`,type:ErrorType.WRONG_LENGTH}]);n==null||n(x,h),a.push(x)}}if(r){const S=(d=h==null?void 0:h.parent)==null?void 0:d.identity;if(S){const T=i[S];if((h==null?void 0:h.parent)&&T&&!T[h.parent.id]){const x=err([{path:[S,h.parent.id],expected:`to exist because it is referenced as parent of element with identity ${h.identity.toUpperCase()} and id ${h.id}`,got:T[h.parent.id],type:ErrorType.PARENT_MISSING}]);n==null||n(x,h),a.push(x)}if((h==null?void 0:h.parent)&&T&&T[h.parent.id]){const x=T[h.parent.id];if(!(x==null?void 0:x.refs.some(C=>C.id===h.id))){const C=err([{path:[h.identity,h.id],expected:`to exist in refs of it's parent ${S.toUpperCase()} and id ${h.parent.id}`,got:T[h.parent.id]}]);n==null||n(C,h),a.push(C)}}}}}}return a}}const FlexGrowContainer=styled.div`
	flex: 1;
	width: 100%;
	display: ${({flex:e})=>e!==1?"none":"inline-block"} !important;
`,ConfigURLs={apiURL:typeof window!="undefined"?localStorage.getItem("X-Api-Override")||{}.ENV_API_URL:{}.ENV_API_URL,authURL:typeof window!="undefined"?localStorage.getItem("X-Auth-Override")||{}.ENV_AUTH_URL:{}.ENV_AUTH_URL,dashboardURL:typeof window!="undefined"?localStorage.getItem("X-Portal-Override")||{}.ENV_DASHBOARD_URL:{}.ENV_DASHBOARD_URL,t2Url:typeof window!="undefined"?localStorage.getItem("X-T2-Override")||{}.ENV_T2_URL:{}.ENV_T2_URL,betaUrl:typeof window!="undefined"?localStorage.getItem("X-Beta-Override")||{}.ENV_BETA_URL:{}.ENV_BETA_URL};let token;const getAccessToken=()=>token||(typeof window!="undefined"&&window.localStorage?window.localStorage.getItem("X-EN-ACCESS-TOKEN"):void 0),setAccessToken=e=>{token=e},instance=axios.create({baseURL:`${ConfigURLs.apiURL}/`,headers:{Authorization:`Bearer ${getAccessToken()}`}});instance.interceptors.request.use(e=>{const n=`Bearer ${getAccessToken()}`;return e.headers.Authorization!==n&&(e.headers.Authorization=n),e});instance.interceptors.response.use(e=>e,async e=>{if(e.response&&e.response.status===401&&!e.config._retry)try{const i=await axios.get(`${ConfigURLs.authURL}/token/refresh`,{withCredentials:!0,headers:{"Content-Type":"application/json; charset=UTF-8",Accept:"application/json"}});return setAccessToken(i.data.access_token),axios(w(f({},e.config),{_retry:!0,headers:w(f({},e.config.headers||{}),{Authorization:`Bearer ${i.data.access_token}`})}))}catch{return e}return e});const getAssetSource=(e,i,n="todo.cdn.instantmagazine.com",o=!1)=>{const r=i||typeof location!="undefined"&&location.origin;if(!r)return e;if((e==null?void 0:e.indexOf("."))===0)return`${r}${o?"/":""}${e.replace(/^\.(\.+\/)+/,"")}`;if(i&&e.indexOf(n)!==-1){const a=e.split("/").slice(3);return`${r}${o?"/":""}${a.join("/")}`}return e},createAssetsUrl=(e,i)=>{const{assetsPrefix:n,basepath:o}=e;if(!i)return i;const r=n!=null?n:o;return getAssetSource(i,r)},collectFoleonImageAssetsURLsFromStore=e=>Object.values(e||{}).reduce((i,n)=>(n==null?void 0:n.provider)==="foleon"&&(n==null?void 0:n.assetRef)?[...i,n.assetRef]:i,[]),collectExternalImageAssetsFromStore=e=>Object.values(e||{}).reduce((i,n)=>(n==null?void 0:n.provider)!=="foleon"&&(n==null?void 0:n.url)?[...i,n]:i,[]),collectImageAssetsURLsFromThemeStore=e=>{const i=Object.values(e||{})[0],n=[];return(i==null?void 0:i.navigation.logo.assetRef)&&n.push(i.navigation.logo.assetRef),(i==null?void 0:i.navigation.favicon.assetRef)&&n.push(i.navigation.favicon.assetRef),n},collectVideoAssetsURLsFromStore=e=>Object.values(e||{}).reduce((i,n)=>(n==null?void 0:n.assetRef)?[...i,n.assetRef]:i,[]),getUnigueAssetUrls=e=>Array.from(new Set(e)),collectFontAssetsFromStore=e=>Object.values(e||{}).reduce((i,n)=>[...i,...Object.values((n==null?void 0:n.styles)||{}).reduce((o,r)=>{var a,s;return((a=r==null?void 0:r.font)==null?void 0:a.assetRef)?[...o,(s=r==null?void 0:r.font)==null?void 0:s.assetRef]:o},[])],[]),collectFontAssetsFromTextStore=e=>Object.values(e||{}).reduce((i,n)=>[...i,...Object.keys((n==null?void 0:n.styleMap)||{}).reduce((o,r)=>{var a,s;return((s=(a=n==null?void 0:n.styleMap)==null?void 0:a[r])==null?void 0:s.assetRef)?[...o,n.styleMap[r].assetRef]:o},[])],[]),collectFontAssetsFromButtonStore=e=>Object.values(e||{}).reduce((i,n)=>[...i,...Object.values((n==null?void 0:n.styles)||{}).reduce((o,r)=>{var a,s;return((a=r==null?void 0:r.font)==null?void 0:a.assetRef)?[...o,(s=r==null?void 0:r.font)==null?void 0:s.assetRef]:o},[]),...Object.keys((n==null?void 0:n.styleMap)||{}).reduce((o,r)=>{var a,s;return((s=(a=n==null?void 0:n.styleMap)==null?void 0:a[r])==null?void 0:s.assetRef)?[...o,n.styleMap[r].assetRef]:o},[])],[]),collectFontAssetsFromThemeStore=e=>{const i=e==null?void 0:e[Object.keys(e)[0]];return(i==null?void 0:i.entityStyles)?[...Object.keys(i.navigation.bar).reduce((n,o)=>{var r,a;return((a=(r=i.navigation.bar[o])==null?void 0:r.font)==null?void 0:a.assetRef)?[...n,i.navigation.bar[o].font.assetRef]:n},[]),...Object.keys(i.entityStyles).reduce((n,o)=>{var r;return[...n,...Object.keys((r=i.entityStyles)==null?void 0:r[o]).map(a=>{var s,l,u;return(u=(l=(s=i.entityStyles)==null?void 0:s[o][a])==null?void 0:l.font)==null?void 0:u.assetRef}).filter(a=>a)]},[]),...i.activatedFonts.map(({assetRef:n})=>n)]:[]},defaultAssetData={images:{},videos:{},externalImages:{},fonts:{}},getAllAssets=async(e,i,n)=>{async function o(r,a){return n.get(r).then(async s=>{var l,u;return a._embedded[i].push(...s.data._embedded[i]),((l=s.data._links.next)==null?void 0:l.href)?await o((u=s.data._links.next)==null?void 0:u.href,a):a})}return n.get(getAssetRefCollection(e)).then(async r=>{var a,s;return((a=r.data._links.next)==null?void 0:a.href)?await o((s=r.data._links.next)==null?void 0:s.href,r.data):r.data}).catch(()=>({_embedded:{[i]:[]}}))},getAssetRefCollection=e=>{const i=e[0].split("/");return i.pop(),`${i.join("/")}?${lib.stringify({filter:[{field:"id",type:"in",values:e.map(o=>o.split("/").pop())}]},{arrayFormat:"indices"})}`},fetchAssetDataForEntities=async(e,i,n=f({},defaultAssetData))=>{const o=getUnigueAssetUrls([...e.image?collectFoleonImageAssetsURLsFromStore(e.image||{}):[],...e.theme?collectImageAssetsURLsFromThemeStore(e.theme||{}):[]]).filter(m=>!n[AssetsCategories.images][m]),r=collectExternalImageAssetsFromStore(e.image||{}),a=getUnigueAssetUrls(collectVideoAssetsURLsFromStore(e.video||{})).filter(m=>!n[AssetsCategories.videos][m]),s=[...e.theme?collectFontAssetsFromThemeStore(e.theme):[],...e.button?collectFontAssetsFromButtonStore(e.button):[],...e["text-item"]?collectFontAssetsFromStore(e["text-item"]):[],...e.text?collectFontAssetsFromTextStore(e.text):[],...e["infographic-counter-line"]?collectFontAssetsFromStore(e["infographic-counter-line"]):[],...e["infographic-counter-circle"]?collectFontAssetsFromStore(e["infographic-counter-circle"]):[],...e["infographic-counter-number"]?collectFontAssetsFromStore(e["infographic-counter-number"]):[]],l=[...Array.from(new Set(s.filter(m=>m.includes("foleon"))))],u=[...o.map(m=>()=>i.get(m).then(async g=>{const E=mapHalImage(g.data);return{id:m,result:E,category:AssetsCategories.images}}).catch(g=>(console.log(g),{id:"",result:null,category:AssetsCategories.images}))),...a.map(m=>()=>i.get(m).then(async g=>{const E=await mapVideo(g);return{id:m,result:E,category:AssetsCategories.videos}}).catch(g=>(console.log(g),{id:"",result:null,category:AssetsCategories.videos})))],c=r.map(m=>{var g;return{id:(g=m.url)!=null?g:"",result:{properties:f({},m.properties),url:m.url},category:AssetsCategories.externalImages}}).reduce((m,g)=>w(f({},m),{[g.category]:w(f({},m[g.category]),{[g.id]:g.result})}),n),d=new _default({concurrency:4});try{return[...await d.addAll(u),...l.length>0?await getAllAssets(l,"font",i).then(E=>E._embedded.font.map(h=>{const I=mapCustomFont(h);return{id:h._links.self.href,result:I,category:AssetsCategories.fonts}})):[]].reduce((E,h)=>h.id?w(f({},E),{[h.category]:w(f({},E[h.category]),{[h.id]:h.result})}):E,c)}catch(m){return console.log(m),c}};var index=Object.freeze(Object.defineProperty({__proto__:null,get DevToolsTabEnum(){return DevToolsTabEnum},DevToolContainer,DevToolProvider,useDevToolDispatch,useIsInDebugMode,WithResizeListener,doesStringContainHtmlTags,extractHeaderCode,range,scopeTab,get TRANSLATIONS(){return TRANSLATIONS},setLanguage,translate,translator,getComputedStyles:getComputedStyles$1,Screensizes,get ScreensizesEnum(){return ScreensizesEnum},mapMaxWidth,mapMediaQueries,mapStyleSizeToMaxWidth,mapStyleSizeToMediaQueries,orderedMediaQueries,orderedStyleSizes,screensizesSortedDesc,setBackgroundValue,getAccessToken,instance,setAccessToken,get AssetsCategories(){return AssetsCategories},AssetsStoreProvider,isImageAsset,isVideoAsset,useAssetsStoreActions,useAssetsStoreQueries,useAssetsStoreState,mapHalImage,mapVideo,createAssetsUrl,collectExternalImageAssetsFromStore,collectFoleonImageAssetsURLsFromStore,collectFontAssetsFromButtonStore,collectFontAssetsFromStore,collectFontAssetsFromTextStore,collectFontAssetsFromThemeStore,collectImageAssetsURLsFromThemeStore,collectVideoAssetsURLsFromStore,defaultAssetData,fetchAssetDataForEntities,isVimeoVideoUrl,isYoutubeVideoUrl,AccessibilityProvider,useAccessibility,BeckyDataProvider,useBeckyData,isCSSGradient,Fetch,formatDisplayPrice,getPublicationTimestamp,getUrl,SIDES_DISPLAY_ORDER,isNum,isFloat,isNumOrFloat,remToPxNum,pxNumToRemVal,emToPxNum,pxNumToEmVal,pxToNum,numToPxVal:numToPxVal$1,vwValToPxNum,pxNumToVwVal,vhValToPxNum,pxNumToVhVal,vwNumToPxNum,pxNumToVwNum,vhNumToPxNum,pxNumToVhNum,pxNumToFontSizeVal,cssSizeValToNumWithUnit,anyCssSizeValToPxNum,anyFontSizeValToPxNum,getCheckedCssSizeValue,pxNumToCssSizeValWithUnit,isValidRemVal,isValidEmVal,isValidPxVal,isValidVwVal,isValidVhVal,isValidCssSizeVal,throwErrorOnInvalidCssSizeVal,throwErrorOnInvalidEmVal,throwErrorOnInvalidRemVal,throwErrorOnInvalidPxVal,throwErrorOnInvalidVwVal,throwErrorOnInvalidVhVal,throwErrorOnInvalidPxNum,hasSameUnit,getUnitType,useFeaturedImage,useFeaturedImages,validateImageSSR,getFormsFromDraft,useEffectWithoutInitial,get RipleyEnvironment(){return RipleyEnvironment},isDev,isProd,userHasSupportedBrowser,buildExternalLink,buildUTMExternalLink,clearInternalLinks,isAnchorUrl,isContactUrl,isExternalUrl,isRelativeUrl,VALID_SECURE_URL,linkRegExpValidator,getEncodedSpaces,lineBreaksRegex,blacklistedLineBreaks,blacklistedWhitespacesRegex,whitelistedSpacesRegex,getLimitStatusColor,getKeys,Entity,createStyles,ok,err,get HTTP_STATUS(){return HTTP_STATUS},isValidJsonObject,IsAnyObject,Type,UUID,Account:account,Address:address,License:license,Payment:payment,Preset:preset,Privilege:privilege,Project:project,Publication:publication,Store:store$1,User:user,get HalPropertiesEnum(){return HalPropertiesEnum},get AccountEnum(){return AccountEnum},get ActionEnum(){return ActionEnum},get ArticleEnum(){return ArticleEnum},get AssetsEnum(){return AssetsEnum},get EntityEnum(){return EntityEnum},get FormEnum(){return FormEnum},get FormInputListOptions(){return FormInputListOptions},get InfographicCounterEnum(){return InfographicCounterEnum},get ItemEnum(){return ItemEnum},get LegacyEnum(){return LegacyEnum},get MagazineEnum(){return MagazineEnum},get TextEnum(){return TextEnum},get VirtualFormEnum(){return VirtualFormEnum},get VirtualItemEnum(){return VirtualItemEnum},allEntityIdentifiers,getIdentityForNode,getIdentity,isIdentityFromHalNode,Gtm:gtm,Icon:icon$1,Tether:tether,t,setRenderingConfig,getRenderingConfig,ConfigURLs:ConfigURLs$1,getBiggerViewports,getSmallerViewports,getMediaQueriesDescForVP,getMediaQueriesAscForVP,get ActionTypeKeys(){return ActionTypeKeys},Action,IsExternalUrlOptions,IsPageOptions,IsBlockOptions,IsOverlayOptions,IsCookieOptions,IsCloseOverlayOptions,createBuildUtilsRouteMap,useActions,actionTypes,actionRef,onlyActionRefs,Background,useBackground,BackgroundImageViewerContainer,BackgroundVideoViewerContainer,withParallaxConsumer,withParallaxProvider,useActiveBackground,useBackgroundQueries,backgroundRef,onlyBackgroundRefs,optimizeImage,getBackgroundImageCSSValue,Block,identity:identity$F,useBlock,BlockViewerContainer,useBlockQueries,onlyBlockRefs,setTriggerContentAnimationOnce,Button:Button$1,useButton,buttonBaseStyles,secondaryButtonBaseStyles,buttonBoxToCSS,ButtonViewerContainer,ButtonAlignmentContainer,useClipboard,Clipboard,Column,useColumn,useColumnQueries,balanceColumnGrid,columnGridSize:gridSize,ColumnViewerContainer,ColumnScroll,useColumnScroll,ColumnScrollViewerContainer,conditionIdentity:identity$a,get ConditionTypeKeys(){return ConditionTypeKeys},get ConditionActionKeys(){return ConditionActionKeys},conditionRef,Condition,useConditions,get ConditionRuleType(){return ConditionRuleType},get ConditionRuleGroupType(){return ConditionRuleGroupType},IsConditionP13NOptions,onlyConditionRefs,createRule,createRuleGroup,parseRule,parseRuleGroup,isRule,isRuleGroup,getPropertyIDs,isConditionMet,Divider,useDivider,DividerViewer,Embed:Embed$1,useEmbed,CodeEmbedViewer:CodeEmbed,get EmbedCSSIdentifiers(){return EmbedCSSIdentifiers},EmbedFigureContainer,EmbedViewer:Embed,get DraftContentType(){return DraftContentType},findRefFromEntity,findRefsFromEntity,useStore,initialStore,getAncestorEntity,getAncestorEntityWithMergedThemeStyles,getActiveChildEntity,getColumnChildEntityByIdentity,getEntityFromRef,Form:Form$1,useForm,FormField,DEFAULT_FORM_NAME:DEFAULT_FORM_NAME$1,FormViewerContainer:Form,Label:FormLabelViewer,OptionItem,Select:Select$1,RadioGroup:RadioGroup$1,RadioItem,CheckboxGroup:CheckboxGroup$1,CheckboxItem,TextArea:TextArea$1,TextInput:TextInput$1,FormLabel,useFormLabel,FormLabelViewer,FormListCheckbox,isFormListCheckbox,useFormListCheckbox,FormListDropdown,isFormListDropdown,useFormListDropdown,isFormListOption,FormListOption,useFormListOption,isFormListRadio,FormListRadio,useFormListRadio,FormPlaceholder,useFormPlaceholder,FormText,isFormText,useFormTextInput,Hotspot,useHotspot,useHotspotQueries,calculateHotspotPosition,HotspotViewer,HotspotViewerContainer,DefaultHotspot,getHoverImageIdentifier,Image:Image$1,useImage,get ImageCSSIdentifiers(){return CSSIdentifiers$3},ImageViewerContainer,ImageFigureWrapper,ImageViewer,ImageContainerWrapper,isBynderImage,isHalImageItem,isUnsplashImage,InfographicCounterCircle:InfographicCounterCircle$1,isInfographicCounterCircle,useInfographicCounterCircle,InfographicCounterCircleViewer:InfographicCounterCircle,infographicCounterCircleBaseStyles,InfographicCounterLine:InfographicCounterLine$1,useInfographicCounterLine,InfographicCounterLineViewer:InfographicCounterLine,infographicCounterLineBaseStyles,InfographicCounterNumber:InfographicCounterNumber$1,useInfographicCounterNumber,InfographicCounterNumberViewer:InfographicCounterNumber,infographicCounterNumberBaseStyles,infographicCounterDefaultCountingDuration,infographicCounterDefaultSize,infographicCounterDefaultWeight,infographicCounterDefaultMaxValueColor,infographicCounterDefaultShownValueColor,infographicCounterDefaultMaxSteps,infographicCounterLineDefaultWeight,infographicCounterLineDefaultMaxValueColor,infographicCounterLineDefaultShownValueColor,infographicCounterLineDefaultMaxSteps,LeadGen,useLeadGen,get GateNames(){return GateNames},useLeadGenQueries,LeadGenViewerContainer,SocialLogin,useSocialLogin,Or,SocialLoginViewer,useSocialLoginQueries,EloquaFormViewer:EloquaFormPreview,EloquaForm,MapFormEloqua,useMapFormEloqua,HubspotFormViewer:HubspotFormPreview,HubspotForm,MapFormHubSpot,useMapFormHubSpot,MarketoFormViewer:MarketoFormPreview,MarketoForm,MapFormMarketo,useMapFormMarketo,SFPFormViewer:SFPFormPreview,SFPForm,MapFormSFP,useMapFormSFP,getLogoForMapFormProvider,CRMFormLoader,FailedToLoadPanel,crmFormWrapperStyles,checkIframeHeight,defaultMapFormSuccessMessage,CustomSuccessMessage,OverlayViewerContainer,ModalViewerContainer:Modal,ModalPortal,Overlay:Overlay$1,useOverlay,isLeadGen,Page,usePage,Remote:pageRemote,PageViewerContainer,getDocumentHeight,getScrollTop,getWindowHeight,PageScroll,usePageScroll,PageScrollViewerContainer,PAGE_SCROLL_DEFAULT_ICON_SIZE:DEFAULT_ICON_SIZE$1,DefaultIcon,PageScrollIcons,usePageScrollQueries,onlyPageScrollRefs,propertyIdentity:identity$y,get PropertyTypeKeys(){return PropertyTypeKeys},propertyRef,Property,useProperties,IsPropertyP13NOptions,onlyPropertyRefs,Row,useRow,RowViewerContainer,Settings,useSettings,useSettingsForEntity,getSettingsFromEntitiesState,Social,useSocial,socialIconColors:colors$1,DEFAULT_ICON_SIZE,Facebook,Globe,Instagram,Line,Linkedin,Mail,Pinterest,Snapchat,Tiktok,Twitter,Vimeo,Whatsapp,Xing,Youtube,SocialViewerConfig:config,SocialViewer,get SocialPlatformEnum(){return SocialPlatformEnum},getOrderedSocialPlatforms,Table:Table$1,useTable,TABLE_ROW_MAX_LENGTH,TABLE_COLUMN_MAX_LENGTH,get HeaderCellScope(){return HeaderCellScope},get HeaderPosition(){return HeaderPosition},isTableHeader,getHeaderCellScope,getAlternateByRowValue,TableViewerContainer:Table,TableCell:TableCell$1,useTableCell,TableCellViewerContainer:TableCell,TableRow,useTableRow,Template,useTemplate,Text:Text$3,useText,useTextComputedProps,FILL_CHILDREN_SELECTOR,isListType,isTableType,overrideTextShadow,overrideTextBackgroundFill,overrideTextBackgroundColor,isSameLevel,isLevelUp,isLevelDown,groupListItemsIntoAnArray,TextViewerContainer,CustomInlineComponent,TextItem:TextItem$1,textItemBoxToCSS,textItemStyles,textItemStylesAll,textItemBaseStylesAll,useTextItem,textItemTypes,textItemSubType,textItemRef,onlyTextItemRefs,convertToJsonTreeWithInlineStyles,convertToReactTreeWithInlineStyles,substr,textLinkStyles,textLinkBaseStyles,TextItemViewerContainer,Theme,hasStates,useTheme,useThemeForEntity,getMergedThemeStyles,getThemeStylesByIdentity,getMergedThemeStylesByEntityType,getThemeFromEntitiesState,useNavigator,Trigger,Video,useVideo,get VideoCSSIdentifiers(){return CSSIdentifiers},VideoContainer,FigureWrapper,VideoContainerWrapper,VideoFigureWrapper,isHalVideoItem,container,Container:Container$5,setContainerValue,animation,setAnimationValue,ANIMATION_DELAY,GLOBAL_ANIMATION_CLASS,createAnimationToCSS,animationToCSS,blockAnimationToCSS,sharedAnimationsCSS,defaultAnimations,revealAnimations,isRevealAnimation,buildAnimationKeyframes,hasGroupedBorderValues,border,setBorderValue,createBorderToCSS,borderToCSS:borderToCSS$1,createBorderSpacingToCSS,borderSpacingToCSS,setBorderSpacingValue,borderSpacing,box,getDefaultWidthHandler,createBoxToCSS,boxToCSS:boxToCSS$1,getTextAlign,getJustifyContent,getAlignContent,setBoxValue,getIsFullHeight,getIsFullWidth,colorToCSS,setColorValue,setColorHoveValue,color,coordinates,setCoordinatesValue,fontToCSS,setFontValue,font,grid,setGridValue,icon,setIconValue,createMarginToCSS,marginToCSS:marginToCSS$1,setMarginValue,margin,marginSides,hasGroupedMarginValues,order,setOrderValue,createPaddingToCSS,paddingToCSS,setPaddingValue,padding,paddingSides,hasGroupedPaddingValues,setStateStyleValue,getStates,states,States:States$1,stylesToCSSTransformer,visibilityToCSS,visibilityToCSSByEntity,setVisibilityValue,isNotDisplayed,isExplicitlyDisplayed,isDisplayed,visibility,mergeDraft,Validator,Font,googleFonts,systemFonts,createFontFaceString,createFontFaceStylesheetForCustomFonts,generateCombinedGoogleCDNUrl,FontLoaderProvider,useFontLoader,FlexGrowContainer,get BarPosition(){return BarPosition},BAR_HEIGHT,get PageArrowsPlacement(){return PageArrowsPlacement},get SneakPreviewType(){return SneakPreviewType},get PageOverviewType(){return PageOverviewType},PAGE_DESCRIPTION_LENGTH,getBarOffset,trackers,get AnalyticsPlatform(){return AnalyticsPlatform},VIEWER_BAR_HEIGHT,getTopBasedOnViewerBarVisibility,getTopCssValue,isViewerHost,PERSONALIZE,PREVIEW,REVIEW_LEGACY,REVIEW,isPersonalizingDoc,isPreviewingDoc,isReviewingDoc,getHasTopBar},Symbol.toStringTag,{value:"Module"}));export{BAR_HEIGHT as $,ANSWER as A,Block$1 as B,COOKIE_NAME as C,Text$4 as D,initialStore$1 as E,Action as F,useAssetsStoreActions as G,getEntityFromRef as H,Image$2 as I,ActionTypeKeys as J,useIsInDebugMode as K,Screensizes as L,Modal as M,mapStyleSizeToMaxWidth as N,Overlay$1 as O,Page as P,useBackground as Q,RipleyEnvironment$1 as R,Settings$2 as S,TRANSLATIONS as T,useBackgroundQueries as U,useVideo as V,useAssetsStoreQueries as W,BackgroundVideoViewerContainer as X,BackgroundImageViewerContainer as Y,HTTP_STATUS as Z,BarPosition as _,setLanguage as a,useInfographicCounterCircle as a$,getScrollTop as a0,RipleyEnvironment as a1,trackers as a2,useImage as a3,useActions as a4,IsOverlayOptions as a5,useAccessibility as a6,ImageViewerContainer as a7,IsBlockOptions as a8,IsPageOptions as a9,getTextAlign as aA,useLeadGenQueries as aB,useDivider as aC,DividerViewer as aD,useEmbed as aE,EmbedFigureContainer as aF,Embed as aG,CodeEmbed as aH,useFormListCheckbox as aI,useFormLabel as aJ,FormField as aK,CheckboxGroup$1 as aL,useFormListOption as aM,CheckboxItem as aN,useFormListDropdown as aO,useFormPlaceholder as aP,FormLabelViewer as aQ,Select$1 as aR,OptionItem as aS,useFormListRadio as aT,RadioGroup$1 as aU,RadioItem as aV,useFormTextInput as aW,TextArea$1 as aX,TextInput$1 as aY,useForm as aZ,Form as a_,IsExternalUrlOptions as aa,buildUTMExternalLink as ab,IsCloseOverlayOptions as ac,useHotspot as ad,useHotspotQueries as ae,HotspotViewerContainer as af,HotspotViewer as ag,useText as ah,onlyTextItemRefs as ai,TextViewerContainer as aj,groupListItemsIntoAnArray as ak,FlexGrowContainer as al,useTextItem as am,TextItem$1 as an,useProperties as ao,createBuildUtilsRouteMap as ap,convertToReactTreeWithInlineStyles as aq,mapStyleSizeToMediaQueries as ar,ButtonViewerContainer as as,TextItemViewerContainer as at,IsCookieOptions as au,isAnchorUrl as av,isContactUrl as aw,isExternalUrl as ax,isRelativeUrl as ay,useButton as az,STATUS as b,trackers$2 as b$,InfographicCounterCircle as b0,useInfographicCounterLine as b1,InfographicCounterLine as b2,useInfographicCounterNumber as b3,InfographicCounterNumber as b4,getLogoForMapFormProvider$1 as b5,EloquaFormPreview as b6,HubspotFormPreview as b7,MarketoFormPreview as b8,SFPFormPreview as b9,CSSIdentifiers as bA,VideoContainer as bB,useColumn as bC,useColumnQueries as bD,useThemeForEntity as bE,ColumnViewerContainer as bF,useColumnScroll as bG,useRow as bH,RowViewerContainer as bI,useBlock as bJ,useActiveBackground as bK,BlockViewerContainer as bL,useOverlay as bM,OverlayViewerContainer as bN,getTopBasedOnViewerBarVisibility$1 as bO,usePageScroll as bP,usePageScrollQueries as bQ,usePage as bR,PageScrollViewerContainer as bS,withParallaxProvider as bT,onlyBlockRefs as bU,onlyPageScrollRefs as bV,PageViewerContainer as bW,isLeadGen as bX,isCSSGradient as bY,SocialPlatformEnum$1 as bZ,translator$1 as b_,useSocialLogin as ba,useSocialLoginQueries as bb,SocialLoginViewer as bc,useLeadGen as bd,findRefFromEntity as be,Form$1 as bf,GateNames as bg,LeadGenViewerContainer as bh,Or as bi,useMapFormEloqua as bj,useMapFormHubSpot as bk,useMapFormMarketo as bl,useMapFormSFP as bm,useSocial as bn,SocialViewer as bo,CSSIdentifiers$1 as bp,useTableCell as bq,TableCell as br,useTableRow as bs,isTableHeader as bt,getHeaderCellScope as bu,useTable as bv,Table as bw,VideoContainerWrapper as bx,VideoFigureWrapper as by,ImageViewer as bz,CC_OPTIONS as c,BarPosition$1 as c0,getOrderedSocialPlatforms$1 as c1,PageOverviewType$1 as c2,PAGE_DESCRIPTION_LENGTH$1 as c3,Fetch$1 as c4,useFeaturedImages$1 as c5,optimizeImage$1 as c6,BAR_HEIGHT$1 as c7,SneakPreviewType$1 as c8,PageArrowsPlacement$1 as c9,useFeaturedImage$1 as ca,VIEWER_BAR_HEIGHT$1 as cb,getHasTopBar$1 as cc,WithResizeListener$1 as cd,getBarOffset$1 as ce,Block as cf,Background as cg,useNavigator as ch,isReviewingDoc$1 as ci,translator as cj,DATA_COOKIE_CONSENT as ck,extractHeaderCode as cl,GLOBAL_ANIMATION_CLASS$1 as cm,buildAnimationKeyframes$1 as cn,getRenderingConfig$1 as co,mapMediaQueries as cp,isReviewingDoc as cq,BeckyDataProvider as cr,AssetsStoreProvider as cs,FontLoaderProvider as ct,AccessibilityProvider as cu,isPersonalizingDoc as cv,index as cw,addEventListener as d,COOKIE_CONSENT_EVENT as e,dispatch as f,useTheme as g,getThemeStylesByIdentity as h,stylesToCSSTransformer as i,useFontLoader as j,useAssetsStoreState as k,fontToCSS as l,mapMediaQueries$1 as m,needCookieConsentMessage as n,isCookieExpired as o,getRenderingConfig as p,Action$1 as q,removeEventListener as r,scopeTab$1 as s,translate as t,useBeckyData as u,collectExternalImageAssetsFromStore$1 as v,Screensizes$1 as w,ANIMATION_DELAY$1 as x,isRevealAnimation$1 as y,defaultAssetData$1 as z};
