!function(e){function t(t){for(var o,i,l=t[0],s=t[1],c=t[2],d=0,u=[];d(void 0===this.instance&&console.error(`${this.name} has not been initialized!`),this.instance),this.set=e=>{void 0!==this.instance&&console.error(`${this.name} has already been initialized!`),this.instance=e}}}("X.IFeatures");const s={gt:(e,t,n,o,r)=>(function(e,t,n,o,r){return"function"==typeof n?function(e,t,n,o,r){let a=n+1;for(;t<=n;){const i=t+n>>>1;r(e[i],o)>0?(a=i,n=i-1):t=i+1}return a}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t,n):function(e,t,n,o){let r=n+1;for(;t<=n;){const a=t+n>>>1;e[a]>o?(r=a,n=a-1):t=a+1}return r}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)})(e,t,n,o,r),ge:(e,t,n,o,r)=>(function(e,t,n,o,r){return"function"==typeof n?function(e,t,n,o,r){let a=n+1;for(;t<=n;){const i=t+n>>>1;r(e[i],o)>=0?(a=i,n=i-1):t=i+1}return a}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t,n):function(e,t,n,o){let r=n+1;for(;t<=n;){const a=t+n>>>1;e[a]>=o?(r=a,n=a-1):t=a+1}return r}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)})(e,t,n,o,r),lt:(e,t,n,o,r)=>(function(e,t,n,o,r){return"function"==typeof n?function(e,t,n,o,r){let a=t-1;for(;t<=n;){const i=t+n>>>1;r(e[i],o)<0?(a=i,t=i+1):n=i-1}return a}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t,n):function(e,t,n,o){let r=t-1;for(;t<=n;){const a=t+n>>>1;e[a](function(e,t,n,o,r){return"function"==typeof n?function(e,t,n,o,r){let a=t-1;for(;t<=n;){const i=t+n>>>1;r(e[i],o)<=0?(a=i,t=i+1):n=i-1}return a}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t,n):function(e,t,n,o){let r=t-1;for(;t<=n;){const a=t+n>>>1;e[a]<=o?(r=a,t=a+1):n=a-1}return r}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)})(e,t,n,o,r),eq:(e,t,n,o,r)=>(function(e,t,n,o,r){return"function"==typeof n?function(e,t,n,o,r){for(;t<=n;){const a=t+n>>>1,i=r(e[a],o);if(0===i)return a;i<=0?t=a+1:n=a-1}return-1}(e,void 0===o?0:0|o,void 0===r?e.length-1:0|r,t,n):function(e,t,n,o){for(;t<=n;){const r=t+n>>>1,a=e[r];if(a===o)return r;a<=o?t=r+1:n=r-1}return-1}(e,void 0===n?0:0|n,void 0===o?e.length-1:0|o,t)})(e,t,n,o,r)};class c{constructor(){this.maxUsedIndex=0,this.freeIndices=new Array}releaseIndex(e){const t=s.ge(this.freeIndices,e,(e,t)=>e{for(const e of this.eventEntries.iter())null!==e&&this.tickCount%e.framePeriod==0&&e.func();++this.tickCount},e.setInterval(this.onTick,16)}add(e,t){return this.eventEntries.add({func:e,framePeriod:t})}remove(e){return this.eventEntries.remove(e)}}const u=e=>{l.set({err:e.err,fs:e.fs,timeEvents:e.timeEvents,log:e.log,path:e.path,rimraf:e.rimraf,tick:void 0===e.tick||!1===e.tick||void 0===e.timeEvents?void 0:new d(e.timeEvents)})},h=(e,...t)=>l.get().err(e,...t),p={},f=e=>{const t=p[e.extension],n=void 0===t?void 0:t[e.key];if(void 0===n){const t=`The item { extension: ${e.extension}, key: ${e.key} } does not exist in XRef!`;throw h(t),t}return n},g="XTheme",v=((e,t)=>Object.keys(t).reduce((t,n)=>(t[n]={extension:e,key:n},t),{}))(g,{reducer:{}}),y=(e,t)=>Object.keys(e).reduce((n,o)=>{const r=e[o],a=t(r,o);return n[o]=a,n},{});var b;!function(e){e[e.Color=0]="Color",e[e.ColorMapping=1]="ColorMapping",e[e.Font=2]="Font",e[e.Number=3]="Number"}(b||(b={}));const x=(e,t)=>{return[y(t,(t,n)=>({type:b.Color,moduleName:e,itemKey:n})),t]},w=(e,t)=>{const n=y(t,(t,n)=>({type:b.ColorMapping,moduleName:e,itemKey:n})),o=y(t,(e,t)=>"string"==typeof e?n[e]:e);return[n,o]},E=(e,t)=>y(e,e=>{const n={};for(;e.type!==b.Color;){if(void 0===n[e.moduleName]&&(n[e.moduleName]={}),void 0!==n[e.moduleName][e.itemKey])return h(`ColorMapping seen multiple times in chain: ${JSON.stringify(e)}`),"rgb(0, 0, 0);";n[e.moduleName][e.itemKey]=!0,e=t[e.moduleName].colorMapping[e.itemKey]}return(e=>void 0===e.a?`rgb(${e.r}, ${e.g}, ${e.b})`:`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`)(t[e.moduleName].color[e.itemKey])}),k=(e,t)=>{const n=y(t,(t,n)=>({type:b.Font,moduleName:e,itemKey:n})),o=y(t,(e,t)=>"string"==typeof e.basedOn?Object.assign({},e,{basedOn:n[e.basedOn]}):e);return[n,o]},$=(e,t)=>y(e,e=>((e,t)=>{let n=[],o=e;for(;o;)n.push(o),o=o.basedOn?t[o.basedOn.moduleName].font[o.basedOn.itemKey]:void 0;n=n.reverse();const r={};for(const e of n)Object.assign(r,e);const a=e=>void 0!==e?`${e} `:"",i=a(r.fontStyle),l=a(r.fontVariant),s=a(r.fontWeight),c=a(r.fontStretch),m=a(r.fontSize),d=r.fontFamily;return`${i}${l}${s}${c}${m}${void 0===r.lineHeight?"":`/${r.lineHeight} `}${void 0===d?"":d}`})(e,t)),C=(e,t)=>{const n=y(t,(t,n)=>({type:b.Number,moduleName:e,itemKey:n})),o=y(t,(e,t)=>"string"==typeof e?n[e]:e);return[n,o]},M=(e,t)=>y(e,e=>{const n={};for(;"object"==typeof e;){const o=e;if(void 0===n[o.moduleName]&&(n[o.moduleName]={}),void 0!==n[o.moduleName][o.itemKey])return h(`NumberRef seen multiple times in chain: ${JSON.stringify(o)}`),0;n[o.moduleName][o.itemKey]=!0,e=t[o.moduleName].number[o.itemKey]}return e}),O=e=>y(e,t=>({color:E(t.colorMapping,e),font:$(t.font,e),number:M(t.number,e)})),S=(e,t,n)=>({r:e,g:t,b:n}),I=(e,t,n,o)=>({r:e,g:t,b:n,a:o}),N=(e,t,n,o)=>({color:e,colorMapping:t,font:n,number:o}),j=(e,t)=>e[t.moduleName].color[t.itemKey],B=(e,t)=>e[t.moduleName].font[t.itemKey],R=(e,t)=>e[t.moduleName].number[t.itemKey],D={new:(e,t)=>({key:e,value:t}),typeString:(e,t)=>`${e} ${t}`,typeKey:(e,t)=>({key:`${t} ${e.key}`,value:e.value}),mapValue:(e,t)=>({key:e.key,value:t(e.value)}),mapValues:(e,t)=>e.map(e=>D.mapValue(e,t))},T="XModule",A=(e=>(t,n)=>({type:D.typeString(e,t),new:n}))(T),K=A("InstallExtension",e=>({type:K.type,payload:e})),F={fromXModuleState:e=>e.modules[g].state,mapTheme:e=>F.fromXModuleState(e).theme,new:()=>({themeSource:{},theme:{}}),fromTheme:e=>({themeSource:e,theme:O(e)})},H=(e,t)=>{switch(e.type){case K.type:{const{payload:n}=e;if(n.targetModuleName!==g)return t;const o=n,r=Object.assign({},t.themeSource,{[o.fromModuleName]:o.theme});return Object.assign({},t,{themeSource:r,theme:O(r)})}default:return t}};var V=n(21);const z="DevevShell",W=S(12,13,14),[L,G]=x(z,{pureWhite:S(255,255,255),lightestGrey:S(171,178,177),lighterGrey:S(71,75,82),lightGrey:S(59,63,68),lightishGrey:S(47,50,55),grey:S(40,42,47),darkishGrey:S(33,35,39),darkGrey:S(26,27,30),darkerGrey:S(19,20,22),darkestGrey:W,pureBlack:S(0,0,0),transparentDarkestGrey:((e,t)=>Object.assign({},e,{a:t}))(W,.8),flatGrey:S(50,51,52),bluishGrey:S(39,46,53),transparent:I(0,0,0,0)}),[U,_]=w(z,{foregroundColor:L.lightestGrey,primaryBackgroundColor:L.darkGrey,secondaryBackgroundColor:L.darkishGrey,tertiaryBackgroundColor:L.grey,hoverBackgroundColor:L.lightishGrey,selectionBackgroundColor:L.lightGrey,buttonColor:L.bluishGrey,iconButtonColor:L.lightestGrey,inputColor:L.flatGrey,scrollbarColor:L.transparentDarkestGrey,separatorColor:L.pureWhite,transparent:L.transparent}),[P,X]=k(z,{base:{fontFamily:"consolas"},normal:{basedOn:"base",fontSize:"16px"},bold:{basedOn:"normal",fontWeight:"bold"}}),[J,Z]=C(z,{scrollbarThickness:25,smallBorderRadius:5,commonMargin:15,smallPadding:5,paddingToContainerEdge:"smallPadding",commonButtonWidth:180,commonButtonHeight:30,commonCheckBoxSize:20,commonCheckBoxCheckSize:18,arrowWidthHeight:10}),q={color:L,colorMapping:U,font:P,number:J},Q=N(G,_,X,Z),Y=()=>({modules:{},multiReducers:[]}),ee=A("SetState",e=>({type:ee.type,state:e})),te=(e,t)=>({state:e,reducer:t}),ne=Object.assign({},A("Multi",(...e)=>ne.fromArray(e)),{fromArray:e=>({type:ne.type,actions:e})}),oe=(e,t,n)=>{switch(e.type){case K.type:{const{payload:n}=e;if(n.targetModuleName===T){const e=n;t=Object.assign({},t,{modules:void 0===e.module?t.modules:Object.assign({},t.modules,{[e.fromModuleName]:e.module}),multiReducers:void 0===e.multiReducer?t.multiReducers:[...t.multiReducers,e.multiReducer]})}break}case ee.type:{const{state:n}=e;t=n;break}}const o=Object.assign({},t,{modules:Object.assign({},t.modules)});for(const r of Object.keys(t.modules)){const{state:a,reducer:i}=t.modules[r];if(void 0===i)continue;const l=f(i)(e,a,t.modules,n);o.modules[r]=te(l,i)}for(const r of t.multiReducers){const t=f(r);o.modules=t(e,o.modules,n)}return o},re=(e,t=Y(),n)=>{if(e.type===ne.type){const o=e;for(const e of o.actions){const o=e;if(void 0!==o.type)t=oe(o,t,n);else{t=oe(e(t),t,n)}}return t}return oe(e,t,n)},ae=e=>Object.entries(e).reduce((e,[t,n])=>(e.push(D.new(t,n)),e),[]),ie=(e,t)=>Object.entries(e).reduce((e,[n,o])=>{const r=t(n,o);return e[n]=r,e},{}),le=e=>e,se=(e,t)=>t,ce=(e,t,n,o)=>{const r={targetModuleName:e,fromModuleName:t};for(const e of Object.keys(o)){const a=n[e],i=o[e];switch(a.type){case"Item":case"OptionalItem":r[e]=i;break;case"KeyedItem":case"OptionalKeyedItem":r[e]=D.typeKey(D.new(e,i),t);break;case"Items":case"OptionalItems":r[e]=i;break;case"KeyedItems":case"OptionalKeyedItems":r[e]=ae(i).map(e=>D.typeKey(e,t))}}return r},me=(e,t,n)=>{const o={};for(const r of Object.keys(n)){const a=t[r],i=n[r];switch(a.type){case"Item":case"OptionalItem":break;case"KeyedItem":case"OptionalKeyedItem":o[r]=D.typeString(e,r);break;case"Items":case"OptionalItems":break;case"KeyedItems":case"OptionalKeyedItems":o[r]=ie(i,t=>D.typeString(e,t))}}return o},de=(e,t)=>({payload:(n,o)=>{const r=se(0,o);return ce(e,n,t,r)},payloadAndRegistry:(n,o)=>{const r=se(0,o);return[ce(e,n,t,r),me(n,t,r)]}}),ue=le({module:{type:"OptionalItem"},multiReducer:{type:"OptionalItem"}}),he=de(T,ue).payload(g,{module:te(F.new(),v.reducer)}),pe=le({theme:{type:"Item"}}),fe=de(g,pe),ge="DevevComFrontend",[ve,ye]=x(ge,{red:S(241,91,80),green:S(64,182,73),blue:S(27,167,223),mediumGreen:S(30,98,29),lightOrange:S(247,215,110),lessTransparentBlack:I(5,5,5,.5),transparentBlack:I(5,5,5,.9)}),[be,xe]=w(ge,{red:ve.red,green:ve.green,blue:ve.blue,compellingArrowColor:ve.lightOrange,reallyCompellingButtonColor:ve.mediumGreen,buttonForeground:q.color.pureWhite,bannerColor:ve.transparentBlack,overlayColor:ve.lessTransparentBlack}),[we,Ee]=k(ge,{base:{fontFamily:"Arial Rounded MT Bold"},normal:{basedOn:"base",fontSize:"16px"},h1:{basedOn:"base",fontSize:"24px"},biggerH1:{basedOn:"base",fontSize:"32px"}}),[ke,$e]=C(ge,{bannerPadding:7.5,largeBorderRadius:10,paddingToPanelEdge:15,smallMargin:5}),Ce={color:ve,colorMapping:be,font:we,number:ke},Me=N(ye,xe,Ee,$e),Oe=fe.payload(ge,{theme:Me}),Se=()=>{let e=Y();return e=re(ne.new(K.new(he),K.new(fe.payload(z,{theme:Q})),K.new(Oe)),e),V.b((e,t)=>re(t,e),e,"__REDUX_DEVTOOLS_EXTENSION__"in window?window.__REDUX_DEVTOOLS_EXTENSION__():void 0)},Ie=n(45);var Ne=n(14),je=n(1);const Be=(e,...t)=>o.useMemo(()=>e(...t),t);var Re,De=n(32);!function(e){e[e.Add=0]="Add",e[e.Override=1]="Override"}(Re||(Re={}));const Te={apply:(e,t,n)=>{switch(e=void 0===e?Re.Add:e){case Re.Add:return void 0===t?n:void 0===n?t:`${t} ${n}`;case Re.Override:return n}return t},memoizeApply:()=>Object(De.a)(Te.apply),addFn:()=>Re.Override,overrideFn:()=>Re.Override,use:(e,t,n)=>o.useMemo(()=>Te.apply(e,t,n),[e,t,n])};var Ae,Ke;!function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch"}(Ae||(Ae={})),function(e){e.Start="flex-start",e.Center="center",e.End="flex-end",e.Stretch="stretch",e.SpaceAround="space-around",e.SpaceBetween="space-between",e.SpaceEvenly="space-evenly",e.Left="left",e.Right="right"}(Ke||(Ke={}));const Fe=()=>({match:(e,t)=>t[e](),matchOrElse:(e,t,n)=>{const o=t[e];return void 0===o?n():o()}});var He;!function(e){e.Top="Top",e.Bottom="Bottom",e.Left="Left",e.Right="Right"}(He||(He={}));const Ve=Fe(),ze={arrow:(e,t,n,o)=>je.a` ${ze.svgFill(e,t||q.colorMapping.foregroundColor)}; ${ze.minWidth(e,o||q.number.arrowWidthHeight)}; ${ze.minHeight(e,n||q.number.arrowWidthHeight)}; `,background:(e,t)=>je.a`background-color: ${j(e,t)};`,button:(e,t=q.font.normal,n=q.colorMapping.foregroundColor,o=q.colorMapping.buttonColor,r=q.number.smallBorderRadius,a=q.number.commonButtonHeight,i=q.number.commonButtonWidth)=>{const l=null===o?"":`${j(e,o)}`,s=null===r?"":`${R(e,r)}px`,c=null===a?"":`${R(e,a)}px`,m=null===i?"":`${R(e,i)}px`;return je.a` ${ze.removeBorderOutline()}; ${ze.text(e,t,n)}; ${ze.centerContent()}; background-color: ${l}; border-radius: ${s}; cursor: pointer; min-height: ${c}; min-width: ${m}; `},centerContent:()=>je.a` display: flex; align-items: center; justify-content: center; `,horizList:(e=Ae.Center,t=Ke.Start,n=!1)=>je.a` display: ${n?"inline-flex":"flex"}; align-items: ${e}; justify-content: ${t}; `,input:(e,t=q.font.normal,n=q.colorMapping.foregroundColor,o=q.colorMapping.inputColor,r,a)=>{const i=void 0===r?"":`${R(e,r)}px`,l=void 0===a?`${e.DevevShell.number.paddingToContainerEdge}px ${e.DevevShell.number.paddingToContainerEdge}px`:null===a?void 0:`${R(e,a)}px ${R(e,a)}px`;return je.a` ${ze.text(e,t,n,"text")}; ${ze.removeBorderOutline()}; background-color: ${j(e,o)}; min-width: ${i}; padding: ${l}; `},minHeight:(e,t)=>{const n=R(e,t);return je.a` min-height: ${n}px; `},minWidth:(e,t)=>{const n=R(e,t);return je.a` min-width: ${n}px; `},pad:(e,t)=>{const n=R(e,t);return je.a`padding: ${n}px`},removeBorderOutline:()=>je.a`border: none;outline: none;`,snapFlexItem:e=>Ve.match(e,{Top:()=>je.a`margin-bottom: auto;`,Bottom:()=>je.a`margin-top: auto;`,Left:()=>je.a`margin-right: auto;`,Right:()=>je.a`margin-left: auto;`}),stretchAbsolute:()=>je.a` position:absolute; ${ze.stretchAbsoluteHorizontal()}; ${ze.stretchAbsoluteVertical()}; `,stretchAbsoluteHorizontal:()=>je.a`left:0;right:0;`,stretchAbsoluteVertical:()=>je.a`top:0;bottom:0;`,stretchRelative:()=>je.a` position:relative; ${ze.stretchRelativeHorizontal()}; ${ze.stretchRelativeVertical()}; `,stretchRelativeVertical:()=>je.a`height:100%;max-height:100%;`,stretchRelativeHorizontal:()=>je.a`width:100%;max-width:100%;`,text:(e,t,n,o="none",r=!0)=>{const a=B(e,t),i="string"==typeof n?n:j(e,n);return je.a` user-select: ${o}; font: ${a}; color: ${i}; ${r?void 0:"white-space: nowrap;"} `},vertList:(e=Ae.Stretch,t=Ke.Start,n=!1)=>je.a` display: ${n?"inline-flex":"flex"}; flex-direction: column; align-items: ${e}; justify-content: ${t}; `,verticalSelector:(e,t=q.font.normal,n=q.colorMapping.foregroundColor,o=q.colorMapping.secondaryBackgroundColor)=>{const r=B(e,t),a=j(e,n),i=j(e,o);return je.a` background-color: ${i}; color: ${a}; display: flex; flex-direction: column; font: ${r}; overflow: auto; `},selectorItem:e=>{const t=e?"pointer":"";return je.a` ${ze.removeBorderOutline()}; cursor: ${t}; `},verticalSelectorItemContainer:(e,t,n,o=q.colorMapping.selectionBackgroundColor,r=q.colorMapping.hoverBackgroundColor)=>{const a=j(e,o),i=j(e,r),l=`${e.DevevShell.number.paddingToContainerEdge}px ${e.DevevShell.number.paddingToContainerEdge}px`,s=n?a:void 0,c=n?"":je.a`&:hover { background-color: ${i} }`;return je.a` ${ze.selectorItem(t)}; ${c} background-color: ${s}; padding: ${l}; `},treeArrowContainer:(e,t)=>je.a` align-items: center; display: flex; margin-right: ${e.DevevShell.number.smallPadding}px; justify-content: flex-end; min-width: ${(t+1)*e.DevevShell.number.commonMargin}px; `,svgFill:(e,t)=>{const n=j(e,t);return je.a` fill: ${n}; `}},We=(e,t,n,o,r)=>{const a=void 0===o||!1===o?"none":"text";return t=void 0===t?q.font.normal:t,n=void 0===n?q.colorMapping.foregroundColor:n,ze.text(e,t,n,a,r)},Le=(e,t,n,o,r,a,i)=>{const l=Be(We,n,o,r,a,i);return Te.use(e,l,t)},Ge=e=>{const t=Le(e.classNameMode,e.className,e.theme,e.font,e.color,e.userSelect,e.wrap);return o.createElement("span",{style:e.style,className:t},e.children)},Ue=e=>{const t=a.b(e=>F.mapTheme(e));return o.createElement(Ge,Object.assign({},e,{theme:t}))},_e=e=>{const t=Le(e.classNameMode,e.className,e.theme,e.font,e.color,e.userSelect,e.wrap);return o.createElement("label",{style:e.style,className:t,htmlFor:e.htmlFor},e.children)},Pe=e=>{const t=a.b(e=>F.mapTheme(e));return o.createElement(_e,Object.assign({},e,{theme:t}))};var Xe;!function(e){e.Horizontal="Horizontal",e.Vertical="Vertical"}(Xe||(Xe={}));const Je=Fe(),Ze=(e,t,n,o)=>{const r=void 0===e?Xe.Horizontal:e;return Je.match(r,{Horizontal:()=>ze.horizList(t,n,o),Vertical:()=>ze.vertList(t,n,o)})},qe=e=>{const t=Be(Ze,e.orientation,e.align,e.justify,e.inline),n=Te.use(e.classNameMode,t,e.className);return o.createElement("div",{className:n,onMouseDown:e.onMouseDown,ref:e.innerRef,style:e.style},e.children)};var Qe;!function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(Qe||(Qe={}));Fe();const Ye=(e,...t)=>o.useMemo(()=>e(...t),t),et=(e,t,n,o,r,a,i)=>ze.button(e,t,n,o,r,a,i),tt=(e,t)=>n=>{n.button===Qe.Left&&e&&e(n),t&&n.preventDefault()},nt=e=>{const t=Be(et,e.theme,e.font,e.foreground,e.background,e.borderRadius,e.minHeight,e.minWidth),n=Te.use(e.classNameMode,t,e.className),r=Ye(tt,e.action,e.preventDefault);return o.createElement("button",{style:e.style,className:n,onMouseDown:r},e.children)},ot=e=>{const t=a.b(e=>F.mapTheme(e));return o.createElement(nt,Object.assign({},e,{theme:t}))},rt=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 103.05 102.82"},e),o.createElement("title",null,"logo_shape"),o.createElement("path",{d:"M75.26,59,52.45,98.48a2.82,2.82,0,0,1-4.88,0L24.76,59a2.82,2.82,0,0,1,2.44-4.23H72.82A2.82,2.82,0,0,1,75.26,59Z",transform:"translate(1.52 1.52)",fill:"#183319",stroke:"#40b649",strokeMiterlimit:"10",strokeWidth:"2.82"}),o.createElement("circle",{cx:"23.95",cy:"24.24",r:"22.54",fill:"#630d0d",stroke:"#f15b50",strokeMiterlimit:"10",strokeWidth:"2.82"}),o.createElement("rect",{x:"55.42",y:"1.41",width:"46.22",height:"45.09",rx:"2.82",fill:"#22205f",stroke:"#1ba7df",strokeMiterlimit:"10",strokeWidth:"2.82"})),at=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 390 83.9"},e),o.createElement("title",null,"logo_text"),o.createElement("path",{d:"M215.15,2l-24.91,57.4L165.33,2a3.37,3.37,0,0,0-3.08-2h-5.49a3.35,3.35,0,0,0-3.08,4.69l33.48,77.14a3.35,3.35,0,0,0,6.16,0L226.79,4.64A3.35,3.35,0,0,0,223.71,0h-5.48A3.35,3.35,0,0,0,215.15,2Z",transform:"translate(-0.11 0.05)",fill:"#40b649"}),o.createElement("path",{d:"M78,80.49V3.3A3.36,3.36,0,0,1,81.37,0h53.69a3.35,3.35,0,0,1,3.36,3.35v5a3.35,3.35,0,0,1-3.36,3.35H89.76V36.86h38.59a3.36,3.36,0,0,1,3.36,3.36v3.35a3.36,3.36,0,0,1-3.36,3.36H89.76V72.1h45.3a3.35,3.35,0,0,1,3.36,3.35v5a3.35,3.35,0,0,1-3.36,3.35H81.37A3.36,3.36,0,0,1,78,80.49Z",transform:"translate(-0.11 0.05)",fill:"#1ba7df"}),o.createElement("path",{d:"M28.64,0C52.13,0,60.52,16.73,60.52,41.89s-8.39,42-31.88,42H3.47A3.35,3.35,0,0,1,.11,80.49V3.3A3.34,3.34,0,0,1,3.47,0ZM48.77,41.89c0-30.2-13.1-30.2-20.13-30.2H11.86V72.1H28.64C35.67,72.1,48.77,72.1,48.77,41.89Z",transform:"translate(-0.11 0.05)",fill:"#f15b50"}),o.createElement("path",{d:"M378.18,2l-24.91,57.4L328.36,2a3.35,3.35,0,0,0-3.08-2h-5.49a3.36,3.36,0,0,0-3.08,4.69l33.48,77.14a3.35,3.35,0,0,0,6.16,0L389.83,4.64A3.36,3.36,0,0,0,386.75,0h-5.49A3.35,3.35,0,0,0,378.18,2Z",transform:"translate(-0.11 0.05)",fill:"#40b649"}),o.createElement("path",{d:"M240.29,80.49V3.3A3.35,3.35,0,0,1,243.65,0h53.69A3.35,3.35,0,0,1,300.7,3.3v5a3.35,3.35,0,0,1-3.36,3.35H252V36.86h38.59A3.36,3.36,0,0,1,294,40.22v3.35a3.36,3.36,0,0,1-3.36,3.36H252V72.1h45.3a3.35,3.35,0,0,1,3.36,3.35v5a3.35,3.35,0,0,1-3.36,3.35H243.65A3.35,3.35,0,0,1,240.29,80.49Z",transform:"translate(-0.11 0.05)",fill:"#1ba7df"})),it=e=>je.a` background-color: ${e.DevevShell.color.primaryBackgroundColor}; margin-right: 0px; min-height: 100%; min-width: 100%; position: absolute; `,lt=()=>ze.snapFlexItem(He.Right),st=(e,t)=>`rgba${e.slice(3,e.length-1)}, ${t})`,ct=e=>{const{theme:t}=e;return o.createElement("div",{style:{backgroundColor:t.DevevComFrontend.color.bannerColor,minWidth:"100%",position:"fixed",top:"0px"}},o.createElement(qe,{className:ze.stretchRelative(),orientation:Xe.Vertical},o.createElement(qe,{className:ze.pad(t,Ce.number.bannerPadding)},o.createElement(rt,{height:40}),e.children),o.createElement("div",{style:{backgroundColor:st(t.DevevShell.color.foregroundColor,.5),height:1,width:"100%"}})))},mt=(e,t,n)=>({email:e,description:t,isSubscribed:n}),dt=(e,t,...n)=>{((e,t)=>o.useEffect(()=>e?e.add(t):void 0,[e,t]))(e,Ye(t,...n))},ut={newKeyMapDef:e=>e,newMappedKeys:e=>e((e,t,n,o)=>[e,t,n,o]),compileMappedKeys:e=>e.reduce((e,t)=>{const[n,o,r,a]=t;return void 0===e[n]&&(e[n]={}),void 0===e[n][o]&&(e[n][o]={}),void 0===e[n][o][r]&&(e[n][o][r]=[]),e[n][o][r].push(a),e},{}),funcMap:(e,t)=>{const n=t,o={};for(const[t,r]of Object.entries(n)){const n=e[t];if(void 0!==n)for(const[e,t]of Object.entries(r)){const r=n[e];if(void 0!==r)for(const[e,n]of Object.entries(t)){const t=r[e];if(void 0!==t&&void 0!==n)for(const e of t)void 0===o[e]&&(o[e]=[]),o[e].push(n)}}}return o},useFuncMap:(e,t)=>{const n=t[e];if(void 0===n)return!1;for(const e of n)e();return!0},map:(e,t,n)=>ut.useFuncMap(t,ut.funcMap(e,n))},ht=()=>({maxUnusedIndex:0,freeIndices:[]}),pt=(e,t)=>{if(te===t);if(-1===n)return e;{const t=[...e.freeIndices];return t.splice(n,1),Object.assign({},e,{freeIndices:t})}}{let n=e.maxUnusedIndex;const o=[...e.freeIndices];for(;n{const t=e.length,n=[];let o=0;for(const t of e)null===t&&n.push(o),o++;return n.reverse(),{maxUnusedIndex:t,freeIndices:n}},gt=(e,t)=>{const n=[...e.freeIndices],o=s.ge(e.freeIndices,t,(e,t)=>e{if(0===e.freeIndices.length)return[{maxUnusedIndex:e.maxUnusedIndex+1,freeIndices:[]},e.maxUnusedIndex];{const t=[...e.freeIndices],n=t.pop();return[{maxUnusedIndex:e.maxUnusedIndex,freeIndices:t},n]}},yt={new:()=>({indexer:ht(),items:[]}),add:(e,t)=>{const[n,o]=vt(e.indexer),r=[...e.items];return r[o]=t,[{indexer:n,items:r},o]},any:e=>e.indexer.freeIndices.length!==e.items.length,first:e=>{let t=0;for(const n of yt.iter(e)){if(null!==n)return[t,n];++t}},fromArray:e=>({items:e,indexer:ft(e)}),createAdd:(e,t)=>{const[n,o]=vt(e.indexer),r=[...e.items];return r[o]=t(o),[{indexer:n,items:r},o]},remove:(e,t)=>{const n=gt(e.indexer,t),o=[...e.items];return o[t]=null,{indexer:n,items:o}},set:(e,t,n)=>{const o=[...(e=((e,t)=>{const n=pt(e.indexer,t);if(n===e.indexer)return e;{const t=[...e.items];for(const e of n.freeIndices)t[e]=null;return Object.assign({},e,{items:t,indexer:n})}})(e,t)).items];return o[t]=n,Object.assign({},e,{items:o})},get:(e,t)=>(e=>null===e?void 0:e)(e.items[t]),length:e=>e.items.length,iter:e=>e.items,transform:(e,t)=>{const n=new Array;for(let o of e.items)null!==o&&(o=t(o)),n.push(o);return Object.assign({},e,{items:n})}},bt={new:()=>({components:{},xPanelStates:yt.new(),xWindowStates:yt.new(),inputMappedKeys:{},mappedKeys:{},return:void 0}),fromXModuleState:e=>e.modules[z].state,mapMappedKeys:e=>bt.fromXModuleState(e).mappedKeys},xt=(e,t,n,o,r,a)=>ze.input(e,t,n,o,r,a),wt=(e,t,n,o,r)=>a=>{o(a),null!==a&&(e&&a.focus(),void 0!==t&&(a.value=t),n&&(a.style.width=`${a.value.length+1}ch`),r&&(r.value=a.value))},Et=(e,t,n)=>o=>{t&&(ut.map(t,o.key,{DevevShell:{Common:{Activate:e?()=>e(o):void 0}}}),n&&n(o))},kt=(e,t,n)=>o=>{t&&(o.currentTarget.style.width=`${o.currentTarget.value.length+1}ch`),n&&(n.value=o.currentTarget.value),void 0!==e&&e(o)},$t=e=>()=>{e&&e.focus()},Ct=(e,t)=>n=>{e&&(e.value=n,t&&(t.value=n))},Mt=e=>{const{action:t,autoFocus:n,background:r,children:a,className:i,classNameMode:l,focus:s,font:c,foreground:m,initialValue:d,mappedKeys:u,minWidth:h,onBlur:p,onInput:f,onKeyDown:g,onMouseDown:v,padding:y,resizeToText:b,setText:x,style:w,text:E,theme:k}=e,$=Be(xt,k,c,m,r,h,y),C=Te.use(l,$,i),[M,O]=o.useState(null),S=Ye(wt,n,d,b,O,E),I=Ye(Et,t,u,g),N=Ye(kt,f,b,E);return dt(s,$t,M),dt(x,Ct,M,E),o.createElement("input",{id:e.id,className:C,onBlur:p,onChange:e.onChange,onInput:N,onKeyDown:I,onMouseDown:v,ref:S,style:w},a)},Ot=e=>{const[t,n]=a.b(t=>[!1===e.useKeyMap?void 0:bt.mapMappedKeys(t),F.mapTheme(t)]);return o.createElement(Mt,Object.assign({},e,{mappedKeys:t,theme:n}))},St=(e,t=q.number.commonCheckBoxSize,n=q.number.smallBorderRadius,o=q.colorMapping.inputColor)=>je.a` width: ${R(e,t)}px; height: ${R(e,t)}px; background-color: ${j(e,o)}; border-radius: ${null===n?void 0:R(e,n)}px; display: flex; align-items: center; justify-content: center; border: unset; outline: none; padding: unset; position: relative; `,It=(e,t=q.colorMapping.foregroundColor,n=q.number.commonCheckBoxSize)=>`\n far fa-check\n ${je.a` color: ${j(e,t)}; display: none; font-size: ${.9*R(e,n)}px; pointer-events:none; position: absolute; `}\n `,Nt=()=>je.a` margin: unset; padding: unset; position: absolute; opacity: 0; width: 100%; height: 100%; &:checked + i { display: initial; } `,jt=e=>{const t=Be(St,e.theme,e.size,e.borderRadius),n=Te.use(e.classNameMode,t,e.className),r=Be(It,e.theme,e.foreground,e.size);return o.createElement("div",{className:n,style:e.style},o.createElement("input",{id:e.id,className:Nt(),type:"checkbox",defaultChecked:!0,onChange:e.onChange}),o.createElement("i",{className:r}))},Bt=e=>{const t=a.b(e=>F.mapTheme(e));return o.createElement(jt,Object.assign({},e,{theme:t}))},Rt=e=>je.a` ${ze.pad(e,Ce.number.paddingToPanelEdge)}; background-color: ${e.DevevShell.color.primaryBackgroundColor}; border-radius: ${e.DevevComFrontend.number.largeBorderRadius}px; max-width: 80%; `,Dt=e=>je.a` ${ze.centerContent()}; background-color: ${e.DevevComFrontend.color.overlayColor}; position: fixed; min-width: 100%; min-height: 100%; `,Tt=e=>o.createElement(Ot,Object.assign({},e,{useKeyMap:!1})),At=e=>{const{theme:t,hideDownloadOverlay:n}=e,[r,a]=o.useState(void 0),i=o.useCallback(e=>a(e.target.value),[]),[l,s]=o.useState(void 0),c=o.useCallback(e=>s(e.target.value),[]),[m,d]=o.useState(!0),u=o.useCallback(e=>d(e.target.checked),[]),h=o.useCallback(()=>{if(void 0===r)return;const e=new XMLHttpRequest;e.open("POST","https://api.devev.com/write-sign-up-data");const t=mt(r,void 0===l?"":l,m);e.send(JSON.stringify(t)),n()},[r,l,m,n]);return o.createElement("div",{className:Dt(t)},o.createElement(qe,{className:Rt(t),orientation:Xe.Vertical},o.createElement(Ue,{font:Ce.font.h1,style:{alignSelf:"center",marginBottom:t.DevevShell.number.commonMargin}},"Download Devev"),o.createElement(qe,{style:{marginBottom:t.DevevShell.number.commonMargin}},o.createElement(Pe,{htmlFor:"email",wrap:!1,style:{marginRight:t.DevevShell.number.commonMargin},font:Ce.font.normal},"Email Address:"),o.createElement(Tt,{id:"email",font:Ce.font.normal,style:{width:"100%"},onChange:i})),o.createElement(Pe,{htmlFor:"what to do",font:Ce.font.normal,style:{marginBottom:t.DevevComFrontend.number.smallMargin}},"(Optional) Tell us what you'd like to do with Devev:"),o.createElement(Tt,{id:"what to do",font:Ce.font.normal,style:{marginBottom:t.DevevShell.number.commonMargin},onChange:c}),o.createElement(qe,{style:{marginBottom:t.DevevShell.number.commonMargin}},o.createElement(Bt,{id:"subscribe",style:{marginRight:t.DevevShell.number.commonMargin},onChange:u}),o.createElement(Pe,{htmlFor:"subscribe",font:Ce.font.normal},"I'd like to subscribe to additional updates!")),o.createElement(Ue,{font:Ce.font.normal,style:{marginBottom:t.DevevShell.number.commonMargin}},"This information is collected to help us improve Devev. A download link will be sent to you via email. We will only send additional mail if you check the subscribe box."),o.createElement(qe,{className:ze.snapFlexItem(He.Right)},o.createElement(ot,{action:h,foreground:Ce.colorMapping.buttonForeground,font:Ce.font.normal,background:Ce.colorMapping.reallyCompellingButtonColor,style:{marginRight:t.DevevShell.number.commonMargin}},"Submit"),o.createElement(ot,{action:e.hideDownloadOverlay,font:Ce.font.normal},"Close"))))},Kt=e=>{const t=a.b(e=>F.mapTheme(e));return o.createElement(At,Object.assign({},e,{theme:t}))},Ft=(e,t)=>je.a` align-items: center; background-color: ${t?j(e,t):void 0}; display: flex; justify-content: center; min-height: 300px; min-width: 100%; `,Ht=(e,t)=>je.a` color: ${j(e,t)}; font-size: 150px; `,Vt=e=>je.a` border-top: 1px solid ${e.DevevShell.color.foregroundColor}; padding-top: 2px; `,zt=e=>o.createElement(Ue,Object.assign({font:Ce.font.normal},e)),Wt=e=>{const{height:t,style:n}=e,r=t||100,a=.84*r,i=.37*r;return o.createElement(qe,{justify:Ke.Center,style:Object.assign({},n,{height:"min-content"})},o.createElement(rt,{height:r,style:{marginRight:i}}),o.createElement(at,{height:a}))},Lt=e=>o.createElement(zt,Object.assign({className:Vt(e.theme)},e)),Gt=e=>{const{className:t,font:n,style:r}=e;return o.createElement(ot,{className:t,action:e.onClick,font:n,foreground:Ce.colorMapping.buttonForeground,background:Ce.colorMapping.reallyCompellingButtonColor,style:Object.assign({},r,{minWidth:"auto",padding:7.5})},"Download Devev")},Ut=e=>{const{theme:t}=e,[n,r]=o.useState(!1),a=Ye(()=>()=>r(!0)),i=Ye(()=>()=>r(!1));return o.createElement("div",{className:it(t)},o.createElement(ct,{theme:t},o.createElement(Gt,{font:Ce.font.normal,className:lt(),onClick:a})),n?o.createElement(Kt,{hideDownloadOverlay:i}):void 0,o.createElement(qe,{align:Ae.Center,orientation:Xe.Vertical,style:{minWidth:"100%"}},o.createElement(Wt,{style:{marginTop:110,width:"100%"}}),o.createElement(zt,{font:Ce.font.biggerH1,style:{marginTop:35}},"Development Evolved"),o.createElement(qe,{justify:Ke.Center,style:{height:"min-content",marginTop:80,minWidth:"100%"}},o.createElement(qe,{style:{marginRight:75},orientation:Xe.Vertical},o.createElement("div",{style:{marginBottom:35}},o.createElement(Lt,{theme:t},"Make programs without programming")),o.createElement("div",null,o.createElement(Lt,{theme:t},"Drag and drop editor"))),o.createElement(qe,{orientation:Xe.Vertical},o.createElement("div",{style:{marginBottom:35}},o.createElement(Lt,{theme:t},"Import existing code, no changes required")),o.createElement("div",null,o.createElement(Lt,{theme:t},"Run. Refactor. Repeat.")))),o.createElement("div",{className:Ft(t,q.colorMapping.secondaryBackgroundColor),style:{marginTop:80}},o.createElement(qe,{orientation:Xe.Vertical,style:{marginLeft:50,marginRight:150,minWidth:600,width:600}},o.createElement(zt,{style:{marginBottom:5},font:Ce.font.h1},"Flow charts as code"),o.createElement(zt,null,"Devev programs are flow charts which run from start to finish. Flow charts can be embedded and reused in other flow charts so you never have to build the same thing twice.")),o.createElement("img",{src:"img/devev.png",style:{height:250,marginRight:50}})),o.createElement("div",{className:Ft(t)},o.createElement("i",{className:`fab fa-js-square ${Ht(t,Ce.colorMapping.red)}`,style:{marginLeft:50,marginRight:75}}),o.createElement("i",{className:`fab fa-npm ${Ht(t,Ce.colorMapping.blue)}`,style:{marginRight:75}}),o.createElement("i",{className:`fab fa-node ${Ht(t,Ce.colorMapping.green)}`,style:{marginRight:150}}),o.createElement(qe,{orientation:Xe.Vertical,style:{marginRight:50,minWidth:600,width:600}},o.createElement(zt,{style:{marginBottom:5},font:Ce.font.h1},"A world of existing libraries"),o.createElement(zt,null,"Devev can import functions from TypeScript and JavaScript. This means you can tap into the power of existing libraries rather than building everything from scratch. Devev imports these libraries raw so no changes are necessary to use a library with Devev."))),o.createElement("div",{className:Ft(t,q.colorMapping.secondaryBackgroundColor)},o.createElement(qe,{orientation:Xe.Vertical,style:{marginLeft:50,marginRight:150,minWidth:600,width:600}},o.createElement(zt,{style:{marginBottom:5},font:Ce.font.h1},"Built for you"),o.createElement(zt,null,"We're working on Devev every day and we'd love to know how we can make it better for you! If you have a specific project or use-case in mind let us know if you need any new functionality and we will help you get there.")),o.createElement("i",{className:`fas fa-arrow-alt-right ${Ht(t,Ce.colorMapping.compellingArrowColor)}`,style:{marginRight:20,fontSize:60}}),o.createElement(Gt,{font:Ce.font.h1,style:{marginRight:20},onClick:a}),o.createElement("i",{className:`fas fa-arrow-alt-left ${Ht(t,Ce.colorMapping.compellingArrowColor)}`,style:{marginRight:50,fontSize:60}}))))},_t=()=>{const e=a.b(e=>F.mapTheme(e));return o.createElement(Ut,{theme:e})},Pt=e=>{const t=(e=>e.substr(1).split("&").map(e=>e.split("=")).reduce((e,[t,n])=>(e[decodeURIComponent(t)]=decodeURIComponent(n),e),{}))(e),n=t.email,o=t.who;if(void 0!==n&&void 0!==o)return{email:n,who:o}},Xt=(e,t)=>({email:e,who:t}),Jt=e=>{const{theme:t}=e,n=o.useMemo(()=>({minWidth:"100%"}),[]),r=o.useMemo(()=>({marginTop:80}),[]),a=o.useMemo(()=>({marginTop:100}),[]);return(e=>o.useEffect(e,[]))(()=>{const t=void 0===e.location||void 0===e.location.search?void 0:e.location.search;if(void 0===t)return;const n=Pt(t);if(void 0===n)return;const o=new XMLHttpRequest;o.open("POST","https://api.devev.com/verify-account");const r=Xt(n.email,n.who);o.send(JSON.stringify(r))}),o.createElement("div",{className:it(t)},o.createElement(ct,{theme:t}),o.createElement(qe,{align:Ae.Center,orientation:Xe.Vertical,style:n},o.createElement(Ue,{font:Ce.font.h1,style:a},"Thank you for verifying your account!"),o.createElement(Ue,{font:Ce.font.normal,style:r},o.createElement("a",{href:"https://download.devev.com/Devev-Setup-0.1.0.exe"},"Click here")," to download the installer.")))},Zt=e=>{const t=a.b(e=>F.mapTheme(e));return o.createElement(Jt,Object.assign({},e,{theme:t}))};n(43),n(44);const qt=document.getElementById("root"),Qt=(()=>(u({log:console.log,err:console.error,path:{basename:Ie.baseName,dirname:Ie.dirname,isAbsolute:Ie.isAbsolute,join:Ie.join,relative:Ie.relative},timeEvents:{setInterval:setInterval.bind(window),clearInterval:clearInterval.bind(window),setTimeout:setTimeout.bind(window),clearTimeout:clearTimeout.bind(window)},tick:!1}),((e,t)=>{for(const{extension:n,key:o}of Object.values(e)){void 0===p[n]&&(p[n]={});const e=p[n];if(void 0!==e[o]){h(`The { extension: ${n}, key: ${o} } has already been added to XRef! It will be overridden.`)}e[o]=t[o]}})(v,{reducer:H}),Se()))();r.render(o.createElement(i.a,null,o.createElement(a.a,{store:Qt},o.createElement(()=>o.createElement(Ne.c,null,o.createElement(Ne.a,{path:"/",component:_t,exact:!0}),o.createElement(Ne.a,{path:"/verify",component:Zt,exact:!0})),null))),qt)}});