'+(n?o:Jt(o,!0))+`
`:""+(n?o:Jt(o,!0))+`
`}blockquote({tokens:e}){return`${this.parser.parse(e)}`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`
${this.parser.parseInline(e)}
`}table(e){let t="",n="";for(let o=0;o${Jt(e,!0)}
`}br(e){return"An error occurred:
"+Jt(n.message+"",!0)+"";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},hr=new wy;function Pe(e,t){return hr.parse(e,t)}Pe.options=Pe.setOptions=function(e){return hr.setOptions(e),Pe.defaults=hr.defaults,ly(Pe.defaults),Pe};Pe.getDefaults=Wl;Pe.defaults=gr;Pe.use=function(...e){return hr.use(...e),Pe.defaults=hr.defaults,ly(Pe.defaults),Pe};Pe.walkTokens=function(e,t){return hr.walkTokens(e,t)};Pe.parseInline=hr.parseInline;Pe.Parser=vn;Pe.parser=vn.parse;Pe.Renderer=Xi;Pe.TextRenderer=Ql;Pe.Lexer=bn;Pe.lexer=bn.lex;Pe.Tokenizer=Ji;Pe.Hooks=bo;Pe.parse=Pe;Pe.options;Pe.setOptions;Pe.use;Pe.walkTokens;Pe.parseInline;vn.parse;bn.lex;const FI="Bricsys NV",HI="https://images.ctfassets.net/26961o1141cc/2hLiWdkXpy3PXACkUsubz6/717c918d233dca4051309475b68e426f/fallback-meta-image.png",zI="2ojP3NfaAzGDUSI6W9bvTf",WI="zHJ77D51LUJFgZEjSHVk6",qI="7zWEzf7rkuAjeUqe3qZLmN",GI="2IWDa50jdkB9YFtac5Em3m",VI="1UtKBzWYae5gXbcpSGn0g5",lx="https://help.bricsys.com",KI="https://www.bricsys.com/common/releasenotes.jsp?i=",YI={storeConfigurator:"/store/bricscad/configurator",store:"/store/bricscad",developerResources:"/developer-resources",download:"/bricscad-download",downloadCommunicator:"/communicator-download",contactSales:"/contact-sales"},JI="modal_id",XI="reseller_id",QI=800,ZI=1e3,eM=`window._vwo_code || (function() {var account_id=1065957, version=2.1, settings_tolerance=2000, hide_element='body', hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;', /* DO NOT EDIT BELOW THIS LINE */ f=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={nonce:v&&v.nonce,use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}v&&t.setAttribute('nonce',v.nonce);d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var n=this.getSettings(),i=d.createElement('script'),r=this;t=t||{};if(n){i.textContent=n;d.getElementsByTagName('head')[0].appendChild(i);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200||o.status===304){_vwo_code.addScript({text:o.responseText})}else{_vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}_vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){_vwo_code.finish();stT.removeItem(cK)},e);var t;if(this.hide_element()!=='body'){t=d.createElement('style');var n=this.hide_element(),i=n?n+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=i;else t.appendChild(d.createTextNode(i));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var i=d.createElement('div');i.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;display: block !important;';i.setAttribute('id','_vis_opt_path_hides');i.classList.add('_vis_hide_layer');t.parentNode.insertBefore(i,t.nextSibling)}var o=window._vis_opt_url||d.URL,s='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(o)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:s})}else{this.load(s+'&x=true')}}};w._vwo_code=code;code.init();})();`,ux={link({href:e,title:t,text:n}){const o=Ze().public.baseUrl,i=!e.startsWith(o),a=e.includes(lx)||i?'target="_blank"':"";return`${n}`},image({href:e,text:t}){const n=`${e}?fm=webp`;return`${t}`}},fx=new wy({renderer:ux,breaks:!0}),Sy=nm("globalStore",()=>{const{$contentful:e}=$e(),t=he(null),n=he(!1),r=he({}),o=he(!1),i=he(""),s=he(""),a=he(""),c=he(void 0),u=he(void 0),l=async()=>{const[h,g,m]=await Promise.all([e.entry("1h2IELDw8bAoylA5FA1I1H"),e.entry("1h2IELDw8bAoylA5FA1I1H",{locale:"en-US"}),e.entry("2lW5fVVGU6v3FJZAot9N8R")]),y=await Ey(h,g);t.value=y??{},u.value=m?.fields??{}},f=()=>e.entries({content_type:"webCustomComponent","fields.componentName":"global notification bar",include:5}).catch(()=>null),d=h=>[...h].sort((g,m)=>g?.fields?.isPromoRelated!==m?.fields?.isPromoRelated?m?.fields?.isPromoRelated??!1?1:-1:g?.fields?.showOnAllPages!==m?.fields?.showOnAllPages?m?.fields?.showOnAllPages??!1?1:-1:new Date(m?.sys?.updatedAt??"").getTime()-new Date(g?.sys?.updatedAt??"").getTime());return{globalMessages:t,hasDownloaded:n,downloadVersion:r,appIsMounted:o,currentPageTitle:i,currentPageName:s,currentPageId:a,globalNotificationBars:c,ariaLabels:u,fetchGlobalMessages:l,getGlobalNotificationBars:async()=>{const h=await f();if(!h?.items)return;const g={};for(const m of h.items){const y=m?.fields?.references??[],b=y.filter(O=>O?.sys?.contentType?.sys?.id==="webNotificationBar");if(b.length===0)continue;const w=d(b)[0],_=b.filter(O=>O?.fields?.showOnAllPages);_.length>0&&(g.showAll=d(_)[0]);const A=y.filter(O=>O?.sys?.contentType?.sys?.id==="webPage");for(const O of A){const x=O?.fields?.urlPermalink;x&&(g[x]=w)}}c.value=g}}});function tM(e,t){const n=e?.fields.components?.filter(r=>r?.sys.contentType.sys.id===t)??[];return n.length>1?n:n[0]??null}function nM(e){return e.sys.contentType.sys.id}const rM=async e=>{const{$contentful:t}=$e();if(!e)return console.log("No generic entry provided");const n=e.sys.id,r=await t.entry(n,{locale:"en-US"});return r?Ey(e,r):console.log("No english entry found")},Ey=(e,t)=>{const n=e.fields?.data??{},r=t.fields?.data??{};if(!n||!r)return console.error("One or both entries are missing data");const o={...n};for(const i in r)Object.hasOwn(n,i)||(o[i]=r[i]);return o};let vc=null;const dx=({environment:e="master",previewApi:t=!0}={})=>{if(!vc){const n=Ze(),r={space:n.public.contentfulSpaceId,environment:e??"master",accessToken:t?n.public.contentfulPreviewToken:n.public.contentfulAccessToken,host:t?"preview.contentful.com":"cdn.contentful.com"};vc=CR(r)}return vc},oM=async(e,t,n)=>{const r=n.map(a=>hx(a,e,t)),i=(await Promise.all(r)).map(a=>a.items).flat(),s=px(i);return mx(s,n)},px=e=>[...new Map(e?.map(t=>[t.sys.id,t])).values()],hx=(e,t,n)=>{const{$contentful:r}=$e();return r.entries({...n,[`fields.${e}[match]`]:t})},mx=(e,t)=>e?.filter(n=>t.some(r=>n.fields[r])),ky=async(e,t)=>{if(!e){console.warn("No DOM element found for entry");return}try{const n=await fx.parse(t),r=RO.sanitize(n,{ADD_TAGS:["wistia-player"],ADD_ATTR:["target","media-id","aspect"]});e.innerHTML=r}catch(n){console.error("Error parsing markdown content:",n)}},Ty=(e,t)=>{if(!t.fields){console.warn("No fields found in updated data");return}return e.includes("copy")?t.fields?.banner?.fields?.columns?.[0]?.fields?.[e.replace("copy-","")]:t.fields[e]},gx=(e,t)=>{const n=_y(t),r=Ty(t,e);typeof r=="string"&&ky(n,r)},yx=(e,t,n)=>{const r=[];try{const o=cy.subscribe({data:e,locale:n,callback:i=>gx(i,t)});r.push(o)}catch(o){console.error("Error setting up live preview:",o)}},_y=e=>{const{currentPageId:t}=Ho(Sy());return document.querySelector(`.contentful-entry-id-${t.value}.contentful-field-id-${e}`)},bx=(e,t)=>{if(!e?.fields)return;const n=_y(t);if(!n)return;const r=Ty(t,e);if(typeof r=="string")try{ky(n,r)}catch(o){console.error(`Error updating content for entry, field ${t}:`,o)}},iM=e=>{const{currentPageId:t}=Ho(Sy());return`contentful-entry-id-${t.value} contentful-field-id-${e}`},sM=e=>{const t=["title","excerpt","body","intro","copy-super-title","copy-title","copy-subtitle","copy-description"];if(e?.fields?.relatedPosts)for(const s in e?.fields?.relatedPosts)delete e?.fields?.relatedPosts?.[s]?.fields?.relatedPosts;if(!(Ze().public.runtimeEnv==="development"))return;const{currentLocale:o}=Ho(Rl()),i=Im(o.value);cy.init({locale:i}),t.forEach(s=>{bx(e,s),yx(e,s,i)})},vx=De({name:"contentful",parallel:!0,setup(){const e=Ze(),{currentLocale:t}=Ho(Rl()),n=()=>Im(t.value),r=e.public.runtimeEnv==="development",o=dx({environment:e.public.contentfulEnv,previewApi:r}).withoutUnresolvableLinks;return{provide:{contentful:{asset(s,a={}){return o.getAsset(s,a)},assets(s={}){return o.getAssets(s)},contentType(s){return o.getContentType(s)},entry(s,a={}){return o.getEntry(s,{locale:n(),...a})},entries(s={}){return o.getEntries({locale:n(),...s})},getPage(s){return o.getEntry(s)},space(){return o.getSpace()},locales(){return o.getLocales()},sync(s={}){return o.sync(s)}}}}}}),Ot={addEventListeners(e,t,n){for(let r=0,o=t.length;r